CN109459614A - A kind of spectrum analyzer and its method for searching for signal - Google Patents

A kind of spectrum analyzer and its method for searching for signal Download PDF

Info

Publication number
CN109459614A
CN109459614A CN201811496516.4A CN201811496516A CN109459614A CN 109459614 A CN109459614 A CN 109459614A CN 201811496516 A CN201811496516 A CN 201811496516A CN 109459614 A CN109459614 A CN 109459614A
Authority
CN
China
Prior art keywords
signal
frequency
module
spectrum analyzer
main control
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
CN201811496516.4A
Other languages
Chinese (zh)
Other versions
CN109459614B (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.)
Shenzhen Siglent Technologies Co Ltd
Original Assignee
Shenzhen Siglent Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Siglent Technologies Co Ltd filed Critical Shenzhen Siglent Technologies Co Ltd
Priority to CN201811496516.4A priority Critical patent/CN109459614B/en
Publication of CN109459614A publication Critical patent/CN109459614A/en
Application granted granted Critical
Publication of CN109459614B publication Critical patent/CN109459614B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/16Spectrum analysis; Fourier analysis

Landscapes

  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • General Physics & Mathematics (AREA)
  • Other Investigation Or Analysis Of Materials By Electrical Means (AREA)

Abstract

A kind of spectrum analyzer and its method for searching for signal, the spectrum analyzer includes attenuation module, oscillator, frequency mixing module, ADC module, main control module and display module, oscillator generates swept-frequency signal under the control of main control module, with the entire signal frequency range within the scope of scanning survey;The initial attenuation degree that main control module configures attenuation module is minimal attenuation degree, and it is detected using the digital medium-frequency signal that the maximum RBW of spectrum analyzer exports ADC module as initial value, judge whether spectrum analyzer occurs power overflow, the signal detected is recorded when power overflow does not occur and reduces RBW, it rescans and is detected, and the signal that record detects, until RBW is adjusted to minimum;Increase the dough softening when power overflow occurs and rescan, until power overflow no longer occurs.All signals in measurement range can be detected in the case where resolution bandwidth and the dough softening allow, and the multifrequency point search of signal is realized, so as to meet the needs of complex application context.

Description

A kind of spectrum analyzer and its method for searching for signal
Technical field
The present invention relates to spectrum analyzer technical fields, and in particular to a kind of spectrum analyzer and its side for searching for signal Method.
Background technique
Spectrum analyzer is the instrument for studying electric signal spectrum structure, can show that the frequency spectrum of input signal is special in frequency domain Property, it can be used for the signals such as the signal distortion to circuit systems such as amplifier, filters, percentage modulation frequency stability, spectral purity Parameter measures, and is the common tool of electronic product research and development, production, inspection etc., and application is very extensive.
Spectrum analyzer is mainly used to be observed signal and analyze, and the signal in input spectrum analyzer has pre- prophet Road, also having can not know in advance, have plenty of signal required for engineer, and some is then undesirable signal, or Person is the signal having an impact to research and development of products, in practical applications, these signals can be referred to as to unknown signaling, but either Which kind of signal in these signals, engineer generally requires to search the signal by spectrum analyzer, further to it It is analyzed.Currently, using the method for spectrum analyzer search unknown signaling are as follows: spectrum analyzer is in maximum input attenuation situation It is lower to be swept wide scanning entirely, if detecting signal in this process, the parameter of the signal is recorded, and be automatically set as best Parameter show state, then terminate process;If signal is not detected in this process, it is gradually reduced attenuator, Zhi Daoqi The dough softening reaches minimum, and during the dough softening reduces, the every reduction of the dough softening is once just swept under current attenuation degree entirely Width scanning records the parameter of the signal and is automatically set as optimal parameter and show if detecting signal in scanning process State;If signal is also not detected when the dough softening of attenuator is reduced to minimum, resolution bandwidth is gradually turned down (Resolution Bandwidth, RBW), until RBW reaches minimum, in this process, RBW often turns down primary just current Wide scanning is swept under RBW entirely, if detecting signal in scanning process, the parameter of the signal is recorded and is automatically set as most Good parameter shows state, otherwise it is assumed that without signal and terminating process in search range.
When carrying out unknown signaling search using current method, as long as searching signal just terminates process, it can only search for To a unique signal, and it is prominent signal, is not able to satisfy the demand of complex application context.
Summary of the invention
A kind of method that the application provides spectrum analyzer and its searches for signal, is searched with being able to carry out the multifrequency point of signal Rope obtains all signals in measurement range, meets the needs of complex application context.
According in a first aspect, provide a kind of spectrum analyzer in a kind of embodiment, including attenuation module, oscillator, mixing Module, AD conversion unit, main control module and display module;
Attenuation module is used to the power attenuation of input signal under the control of main control module be to adapt to spectrum analyzer Power;
Oscillator under the control of main control module for generating the swept-frequency signal of frequency shift, within the scope of scanning survey Entire signal frequency range;
Signal after frequency mixing module is used to decay attenuation module is mixed with the swept-frequency signal that oscillator generates, and is obtained Intermediate-freuqncy signal;
Analog-to-digital conversion module is used to the intermediate-freuqncy signal that frequency mixing module generates being converted to digital medium-frequency signal, and by the number Word intermediate-freuqncy signal is exported to main control module;
The initial attenuation degree that main control module is used to configure attenuation module is minimal attenuation degree, and with the maximum of spectrum analyzer Resolution bandwidth is that initial value detects in measurement range to the digital medium-frequency signal, whether judges spectrum analyzer Power overflow occurs, the signal detected is recorded when power overflow does not occur and reduces resolution bandwidth, control oscillation is thought highly of Then entire signal frequency range within the scope of new scanning survey re-starts signal detection and records the signal detected, Zhi Daofen Resolution bandwidth is adjusted to minimum;When power overflow occurs, main control module, which increases the dough softening of attenuation module and controls oscillation, thinks highly of Entire signal frequency range within the scope of new scanning survey, is adjusted to maximum until power overflow or the dough softening no longer occurs;
Display is used to show all signals of main control module record.
According to second aspect, a kind of method of spectrum analyzer search signal is provided in a kind of embodiment, comprising:
It is the configuration of minimal attenuation degree by the initial attenuation degree of attenuation module, is with the maximum resolution bandwidth of spectrum analyzer Initial value detects digital medium-frequency signal in measurement range, and the digital medium-frequency signal is that input signal and frequency sweep are believed Number mixing after obtain;
Judge whether spectrum analyzer occurs power overflow;
When power overflow does not occur, records the signal detected and reduce resolution bandwidth, again in measurement range Entire signal frequency range be scanned, then re-start signal detection and record the signal that detects, until resolution bandwidth It is adjusted to minimum;
When power overflow occurs, increase the dough softening of attenuation module and again to the entire signal frequency range in measurement range It is scanned, is adjusted to maximum until power overflow or the dough softening no longer occurs.
According to above-described embodiment spectrum analyzer and its search for signal method, spectrum analyzer do not occur power overflow When out, reduces resolution bandwidth and be scanned again, detect and record the signal detected in measurement range again, until Resolution bandwidth is adjusted to minimum;And when power overflow occurs, increases the dough softening of attenuation module and be scanned again, until Power overflow no longer occurs or the dough softening is adjusted to maximum.Due to that can be detected in the case where resolution bandwidth and the dough softening allow All signals in measurement range realize the multifrequency point search of signal, so as to meet the needs of complex application context.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of the spectrum analyzer of an embodiment of the present invention;
Fig. 2 is the flow chart that the spectrum analyzer of an embodiment of the present invention searches for the method for signal;
Fig. 3 is the flow chart that the spectrum analyzer of another embodiment of the present invention searches for the method for signal;
Fig. 4 is the structural schematic diagram of the spectrum analyzer of another embodiment of the present invention;
Fig. 5 is the flow chart that the spectrum analyzer of another embodiment of the invention searches for the method for signal.
Specific embodiment
Below by specific embodiment combination attached drawing, invention is further described in detail.In some cases, originally Apply for relevant some operations there is no display in the description or describe, this is the core quilt in order to avoid the application Excessive description is flooded, and to those skilled in the art, these relevant operations, which are described in detail, not to be necessary, he Relevant operation can completely be understood according to the general technology knowledge of description and this field in specification.
It is formed respectively in addition, feature described in this description, operation or feature can combine in any suitable way Kind embodiment.Meanwhile each step in method description or movement can also can be aobvious and easy according to those skilled in the art institute The mode carry out sequence exchange or adjustment seen.
Herein referred signal, if being the unknown signaling to be searched for without specified otherwise.
For spectrum analyzer, the power limited of acceptable input signal, and in the dough softening of attenuator maximum When, the power of acceptable input signal reaches maximum, therefore, usually scans since the maximum attenuation degree of attenuator, to protect Protect the safety of spectrum analyzer.That is, under equal conditions, the dough softening of attenuator is bigger, spectrum analyzer can be connect The power for the input signal received is bigger, but bottom at this time make an uproar (i.e. ambient noise) it is higher, make it possible to detect signal minimum Power boundary is bigger, and the minimum signal that can be detected is bigger;Otherwise it also sets up.
Meanwhile the minimum power of spectrum analyzer signal that can be detected is also limited, is 0 and frequency in the dough softening of attenuator When the resolution bandwidth (RBW) of spectrum analysis instrument is minimum, the power of detectable signal reaches minimum.It is exactly, in equal conditions Under, the value of RBW is smaller, and frequency resolution is higher, and bottom at this time is made an uproar lower, and the minimum power boundary for the signal that can be detected is smaller, But the time of signal processing is longer;Otherwise it also sets up.
In addition, under equal conditions, the frequency domain of scanning is wider, and sweep time is longer for spectrum analyzer;And The frequency domain of scanning is narrower, and sweep time is shorter.
In embodiments of the present invention, spectrum analyzer decays to input signal using minimal attenuation degree as initial value, declines Signal after subtracting is mixed with the swept-frequency signal that oscillator generates, and obtains intermediate-freuqncy signal;It then is initial with maximum resolution bandwidth Value, detects the intermediate-freuqncy signal in measurement range.When power overflow occurs for spectrum analyzer, increase attenuation module The dough softening is simultaneously scanned again, is adjusted to maximum until power overflow or the dough softening no longer occurs;When spectrum analyzer does not occur The signal detected is recorded when power overflow and reduces resolution bandwidth, scanning is re-started, then again in measurement range It carries out signal detection and records the signal detected, until resolution bandwidth is adjusted to minimum.The institute in measurement range is obtained with this There is signal, then shows these signals.
Embodiment one:
Present embodiments provide a kind of spectrum analyzer, structural schematic diagram referring to Fig. 1, mainly include attenuation module 11, Oscillator 12, frequency mixing module 13, analog-to-digital conversion module 14, main control module 15 and display module 16.Wherein, attenuation module 11 is used for It by the power attenuation of input signal is the power for adapting to spectrum analyzer under the control of main control module 15;Oscillator 12 is used for The swept-frequency signal of frequency shift is generated, under the control of main control module 15 with the entire signal frequency range within the scope of scanning survey;It is mixed Signal after frequency module 13 is used to decay attenuation module 11 is mixed with the swept-frequency signal that oscillator 12 generates, and obtains intermediate frequency Signal;Analog-to-digital conversion module 14 is used to the intermediate-freuqncy signal that frequency mixing module 13 generates being converted to digital medium-frequency signal, and by the number Word intermediate-freuqncy signal is exported to main control module 15;The initial attenuation degree that main control module 15 is used to configure attenuation module 11 is minimal attenuation Degree, and using the maximum resolution bandwidth of spectrum analyzer as initial value, analog-to-digital conversion module 14 is exported in measurement range Digital medium-frequency signal is detected, and judges whether spectrum analyzer occurs power overflow, and power does not occur in spectrum analyzer and overflows The signal detected is recorded when out and reduces resolution bandwidth, and control oscillator 12 rescans the entire signal in measurement range Then frequency range carries out signal detection in measurement range and records the signal detected, again until resolution bandwidth is adjusted to most It is small;When power overflow occurs for spectrum analyzer, main control module 15 is also used to increase the dough softening of attenuation module 11 and controls vibration The entire signal frequency range that device 12 rescans in measurement range is swung, is adjusted to maximum until power overflow or the dough softening no longer occurs; Display module 16 is used to show all signals that main control module 15 records.
In actual application, which further includes alarm device 17, which is used in frequency spectrum point When the dough softening of analyzer generation power overflow and attenuator 11 has been adjusted to maximum, abnormality alarming signal is issued to prompt user's function Rate overload, the alarm device 17 such as can be the combination of indicator light, buzzer or indicator light and buzzer, can pass through finger Show that lamp is bright, buzzer beeps or the combination of the two is as abnormality alarming signal, to prompt user's spectrum analyzer It is abnormal that power overload occurs.
Based on spectrum analyzer shown in FIG. 1, the present embodiment provides a kind of method of spectrum analyzer search signal, streams Referring to fig. 2, this method may include steps of journey figure:
Step 101: configuration initial attenuation degree and resolution bandwidth.
Main control module 15 configures the minimal attenuation degree of attenuation module 11 to the initial attenuation degree of attenuation module 11, by frequency spectrum The maximum resolution band width configuration of analyzer is the initial resolution bandwidth of spectrum analyzer.
Step 102: starting scanning.
After having configured the dough softening and resolution bandwidth, main control module 15 controls the starting scanning of oscillator 12, makes oscillator 12 are scanned within the scope of search rate, generate the swept-frequency signal of frequency shift.
Step 103: digital medium-frequency signal is detected.
It after input signal input spectrum analyzer, first passes through attenuation module 11 and decays, the signal after decaying can be with The swept-frequency signal that oscillator 12 generates is mixed in frequency mixing module 13, intermediate-freuqncy signal is obtained, using analog-to-digital conversion module 14 are converted to input main control module 15 after digital medium-frequency signal.Main control module 15 detects the digital medium-frequency signal, sees Whether there is signal in search amplitude range.Wherein, search rate range and search amplitude range are the measurement model of spectrum analyzer It encloses.
Step 104: judging whether that power overflow occurs.
Main control module 15 judges whether spectrum analyzer occurs power overflow simultaneously, if power overflow occurs, terminates frequency Scanning when secondary for spectrum analysis instrument, executes step 105;If power overflow does not occur, 107 are thened follow the steps.
Step 105: judging whether the dough softening is maximum attenuation degree.
Main control module 15 judge the current dough softening of attenuation module 11 whether be attenuation module 11 maximum attenuation degree, if It is to terminate process;If it is not, executing step 106.
Step 106: increasing the dough softening.
When main control module 15 judges that the current dough softening of spectrum analyzer is spent less than the maximum attenuation of attenuation module 11, increase The current dough softening of spectrum analyzer then proceedes to execute step 102.
Step 107: recording the signal detected.
When main control module 15 judges that power overflow does not occur for spectrum analyzer, the useful signal detected is recorded, that is, is recorded Meet the signal of search amplitude range.
Step 108: judging whether resolution bandwidth is minimum resolution bandwidth.
After main control module 15 records the signal detected, judge whether the current resolution bandwidth of spectrum analyzer is most Small resolution bandwidth, if it is not, thening follow the steps 109;If so, obtaining all signals in measurement range at this time, step is executed 110。
Step 109: reducing resolution bandwidth.
When main control module 15 judges that the current resolution bandwidth of spectrum analyzer is not minimum resolution bandwidth, reduces and differentiate Rate bandwidth, continues to execute step 102.
Step 110: display signal.
All signals in measurement range are sent to display module 16 and shown by main control module 15.
Spectrum analyzer provided in this embodiment and its method for searching for signal can permit in resolution bandwidth and the dough softening Perhaps all signals in measurement range are detected in the case where, the multifrequency point search of signal are realized, can satisfy complicated applications field The demand of scape.
Embodiment two:
For the input signal of input spectrum analyzer, user is only concerned signal itself sometimes, is then only concerned sometimes wherein Interference signal, and be estimated that interference signal quantity do not exceed some value, believe in this way, user can estimate out accordingly Number quantity, in this, as preset signals quantity.
The present embodiment is that (N is more than or equal to 1 to spectrum analyzer configuration preset signals quantity N on the basis of example 1 Integer), so that spectrum analyzer searches out N number of signal in measurement range.
Specifically, main control module 15 is also used to receive the preset signals quantity N of user setting, main control module 15 is in judgement frequency When power overflow does not occur for spectrum analysis instrument, judge whether the quantity of the signal detected is less than N, when the quantity of the signal detected The signal detected is recorded when less than N and reduces resolution bandwidth, then re-start detection and records the signal detected, directly To detecting that N number of signal or resolution bandwidth be adjusted to minimum.
Based on this, the present embodiment provides the method for another spectrum analyzer search signal, flow chart, should referring to Fig. 3 Method may include steps of:
Step 201: obtaining preset signals quantity.
User can estimate the quantity of signal in advance, using the discreet value as preset signals quantity N, or it is straight according to demand Meet setting preset signals quantity N;The preset signals quantity N of the acquisition user setting of main control module 15.
Step 202: configuration initial attenuation degree and resolution bandwidth.
For used spectrum analyzer, remember that its workable maximum RBW is max_rbw, which is spectrum analyzer The configurable eigenvalue provided remembers that its minimal attenuation degree (i.e. the minimal attenuation degree of attenuation module 11) is min_Att, and min_ Att=0.Min_Att=0 is allocated to attenuation module 11 by the main control module 15 of spectrum analyzer, and spectrum analyzer is arranged and works as Preceding resolution bandwidth cur_Rbw is max_rbw.It is exactly cur_Rbw=max_rbw, current dough softening cur_Att is Cur_Att=min_Att=0.
Step 203: starting scanning.
The measurement range of spectrum analyzer includes search amplitude range (min_Pow to max_Pow) and search rate range (min_Freq to max_Freq), min_Pow are minimum search amplitude, and max_Pow is maximum search amplitude, and min_Freq is most Small search rate, max_Freq are maximum search frequency.The measurement range can by user according to specific application scenarios come into Row estimates determination, if user does not estimate, which is the intrinsic effective range of spectrum analyzer used.
After having configured the dough softening and resolution bandwidth, main control module 15 controls the starting scanning of oscillator 12, makes oscillator 12 are scanned within the scope of search rate, generate the swept-frequency signal of frequency shift.
Step 204: digital medium-frequency signal is detected.
The detailed process that main control module 15 detects digital medium-frequency signal can be found in step 103.
Step 205: judging whether that power overflow occurs.
Main control module 15 judges whether spectrum analyzer occurs power overflow simultaneously, when power overflow occurs, executes step Rapid 206~step 208;When power overflow does not occur, execute step 209 and its later the step of.
Step 206: judging whether the dough softening is less than maximum attenuation degree.
Main control module 15 judges the current dough softening of spectrum analyzer when judging that power overflow occurs for spectrum analyzer Whether (i.e. the current dough softening of attenuation module 11) is less than the maximum attenuation degree of attenuation module 11, in current dough softening cur_ Att, which is less than when the maximum attenuation is spent, executes step 207, no to then follow the steps 208.Wherein, maximum workable for spectrum analyzer The dough softening is the settable eigenvalue that spectrum analyzer provides, and can be denoted as max_Att.
Step 207: increasing the dough softening.
Main control module 15 judge cur_Att be less than max_Att when, increase cur_Att, using increase after the dough softening as The current dough softening cur_Att of spectrum analyzer, and keep cur_Rbw constant, it re-execute the steps 203 and its step later Suddenly.In one embodiment, main control module 15 can increase cur_Att by dichotomy, specifically: seek (cur_Att+ Max_Att value)/2 takes its approximation, and cur_Att is then switched to the value or the approximation.
Step 208: abnormality alarming.
When main control module 15 judges that cur_Att is greater than or equal to max_Att, control alarm device 17 issues abnormality alarming Signal is to prompt user power to overload.
Step 209: judging whether the quantity of the signal detected is less than preset signals quantity.
Main control module 15 when judging that power overflow does not occur for spectrum analyzer, judge the signal detected quantity whether Less than N, if being less than, 210 are thened follow the steps to step 211;It is no to then follow the steps 212.
Step 210: judging whether resolution bandwidth is greater than minimum resolution bandwidth.
Main control module 15 judges current resolution bandwidth cur_ when the quantity for the signal for judging to detect is less than N Whether Rbw is greater than the minimum resolution bandwidth min_rbw of spectrum analyzer, if more than thening follow the steps 211, otherwise executing step Rapid 212.Wherein, min_rbw is the intrinsic characteristic of spectrum analyzer, can be determined according to minimum search amplitude min_Pow, is had Body, spectrum analyzer generally requires bottom to make an uproar less than min_Pow, can determine that bottom is made an uproar with this, is then made an uproar and found according to the bottom Corresponding RBW is as min_rbw.
Step 211: reducing resolution bandwidth.
Main control module 15 reduces cur_Rbw when judging that cur_Rbw is greater than min_rbw, with the resolution belt after reduction The wide resolution bandwidth cur_Rbw current as spectrum analyzer, and keep cur_Att constant, it is held since step 203 again Row.In one embodiment, main control module 15 can reduce cur_Rbw by dichotomy, specifically: seek (cur_Rbw+ Min_rbw value)/2 takes its approximation, and cur_Rbw is then switched to the value or the approximation.
Step 212: display signal.
Main control module 15 stops detection when the quantity for the signal for judging to detect is greater than or equal to N, records at this time All signals are the signal of preset quantity, that is, the letter of preset quantity that spectrum analyzer searches in measurement range Number;Alternatively, main control module 15 stops detection when judging that cur_Rbw is less than or equal to min_rbw, what is recorded at this time is all Signal is the signal that spectrum analyzer searches in measurement range.At this point, these signals that main control module 15 will search Display module 16 is sent to be shown.
Spectrum analyzer provided in this embodiment and its method for searching for signal, can be by user according to specific applied field Scape estimates the quantity of unknown signaling, by the way that preset signals quantity N is arranged, the feelings that can allow in resolution bandwidth and the dough softening Under condition, the N number of signal for meeting search amplitude range is searched out of search rate, and this N number of signal is all shown, The multiple spot search for realizing signal, meets user and needs to multiple signals while the demand assessed.
Embodiment three:
In practical applications, it for signal to be searched, can generally be estimated, for example, lower than a certain decibel of signal Interference power of typically no actual influence or signal to be searched for system is not generally possible to be higher than some value, because It has been protected for the input terminal of spectrum analyzer;Moreover, signal be all it is active, can usually be estimated according to application scenarios The frequency range that signal or interference occur out.Based on this, carry out signal estimate when, can estimate signal search amplitude range and Search rate range obtains preset search amplitude range and preset search rate range to get default measurement range is arrived, and In this, as the measurement range of spectrum analyzer.
On the basis of embodiment one or embodiment two, spectrum analyzer can carry out signal in default measurement range Search, specifically, main control module 15 obtain user setting default measurement range, that is, obtain preset search amplitude range and in advance If search rate range, then, main control module 15 control oscillator 12 be scanned within the scope of preset search rate, produce The swept-frequency signal of raw frequency shift, and the swept-frequency signal is input to frequency mixing module 13;Main control module 15 receives analog-to-digital conversion When the digital medium-frequency signal that module 14 exports, which is detected, searches out and meets preset search amplitude All signals of range, or it is to seek out N number of signal for meeting preset search amplitude range, which is preset signals quantity.
Based on this, before executing step 101 or step 201, spectrum analyzer, which first carries out, obtains default measurement range Step, specifically:
User can estimate signal according to specific application scenarios, and obtaining its search amplitude range, (min_Pow is extremely Max_Pow) and search rate range (min_Freq to max_Freq) is to get to preset search amplitude range and preset searching Rope frequency range, and spectrum analyzer is configured in this, as default measurement range, at this point, the master control mould of spectrum analyzer Block 15 receives the default measurement range of user setting, and default measurement range set by user is determined as final measurement range.
In practical application, if user does not estimate, the effective survey that spectrum analyzer used is intrinsic of main control module 15 Amount range is determined as final measurement range.
Spectrum analyzer provided in this embodiment and its method for searching for signal, spectrum analyzer can obtain user setting Search amplitude range and search rate range, to limit spectrum analyzer only in the search amplitude range and search rate range Interior search signal effectively reduces so as to greatly save the time that spectrum analyzer searches for waste in inactive area Duration is searched for, the efficiency of search useful signal is accelerated.
Example IV:
Based on the spectrum analyzer of embodiment one, two or three, the present embodiment provides another spectrum analyzer, structure is shown It is intended to referring to fig. 4, unlike embodiment one, two or three, spectrum analyzer provided in this embodiment further includes frequency counting Module 18, the frequency counting module 18 are obtained for carrying out frequency counting one by one to all signals that main control module 15 detects Signal list after frequency counting.At this moment, main control module 15 is also used to obtain amplitude peak, the maximum of signal in the signal list Frequency and minimum frequency, then using the amplitude peak as reference amplitude and using the maximum frequency and minimum frequency as with reference to frequency Rate determines the waveform display parameters of signal;The waveform display parameters that display module 16 then is used to be determined according to main control module 15 Show the signal in signal list.
Spectrum analyzer based on shown in Fig. 4, the present embodiment provides another spectrum analyzer search signal method, Flow chart may include steps of referring to Fig. 5, this method:
Step 301: obtaining default measurement range and preset signals quantity.
User can estimate signal according to specific application scenarios, obtain preset search amplitude range and preset Search rate range, and spectrum analyzer is configured in this, as default measurement range;Meanwhile user can be evaluated whether signal Quantity, or according to demand directly be arranged preset signals quantity N.The main control module 15 of spectrum analyzer obtains user setting Default measurement range and preset signals quantity.
Step 302: determining the range of resolution bandwidth and the dough softening.
Main control module 15 determines spectrum analyzer according to the parameter of spectrum analyzer and the default measurement range got Maximum resolution bandwidth max_rbw and maximum attenuation degree max_Att, and minimum resolution bandwidth min_rbw and minimum are declined Degree of subtracting min_Att is denoted as 0 respectively, obtains resolution bandwidth and the permitted range of the dough softening.
Step 303: configuration initial attenuation degree and resolution bandwidth.
Step 304: starting scanning.
Step 305: digital medium-frequency signal is detected.
Step 306: judging whether that power overflow occurs.
Main control module 15 judges whether spectrum analyzer occurs power overflow, when power overflow occurs, executes step 307 To step 309;When power overflow does not occur for spectrum analyzer, execute step 310 and its later the step of.
Step 307: judging whether the dough softening is less than maximum attenuation degree.
Main control module 15 executes step 308 when judging that current dough softening cur_Att is spent less than maximum attenuation, otherwise holds Row step 309.
Step 308: increasing the dough softening.
Step 309: abnormality alarming.
Step 310: judging whether the quantity of the signal detected is less than preset signals quantity.
Main control module 15 when judging that power overflow does not occur for spectrum analyzer, judge the signal detected quantity whether Less than N, if being less than, 311 are thened follow the steps, otherwise directly executes step 313 to step 315.
Step 311: judging whether resolution bandwidth is greater than minimum resolution bandwidth.
Main control module 15 judges whether current resolution bandwidth cur_Rbw is greater than the minimum resolution band of spectrum analyzer Wide min_rbw, if more than, then follow the steps 312, it is no to then follow the steps 313 to step 315.
Step 312: reducing resolution bandwidth.
The detailed process of 303~step 312 of above-mentioned steps can be found in the process of same steps in embodiment two.
Step 313: frequency counting.
Main control module 15 when the quantity for judging the signal detected is greater than or equal to N, sweep by spectrum analyzer stopping It retouches, it is believed that the signal of preset signals quantity has been searched in default measurement range;Alternatively, main control module 15 is being judged When cur_Rbw is less than or equal to min_rbw, spectrum analyzer stops scanning, and all signals recorded at this time are frequency spectrum point Analyzer presets all signals in measurement range, that is, spectrum analyzer presets the signal searched in measurement range at this. At this moment, frequency counting module 18 carries out frequency counting to all signals detected one by one, the signal train after obtaining frequency counting Table.Wherein, these all signals detected or the signal of preset signals quantity are to meet preset search amplitude range (the signal of min_Pow to max_Pow).
Is done by zero to it and sweeps width, remembers it when executing frequency counting for each of these signals for searching signal Frequency is f_peak, remembers that the actual frequency of the signal is f_true.Both since f_peak is generally unequal with f_true, then Signal f_mixer after mixing is the tone signal (i.e. sinusoidal signal) that a frequency is (f_peak-f_true).Frequency Counting module 18 can calculate f_mixer in two phases of neighbouring sample point (sampling period of note signal f_mixer is Ts) Place value θ (n) and θ (n-1), for example calculated using cordic algorithm (Coordinate Rotation Digital calculation method).And in numeric field In, the relationship of phase and frequency is differential relationship, which may be expressed as: f_mixer=(θ (n)-θ (n-1))/(2* π * Ts), When obtaining the size of f_mixer, the value of f_true is just f_true=f_peak-f_mixer, is equivalent to and passes through frequency change Signal frequency is compensated, the precise frequencies of signal have thus been obtained.In this way, greatly improving the frequency essence of signal Degree.
Step 314: determining the waveform display parameters of signal.
Frequency counting module 18 is carrying out frequency counting to the signal searched one by one, the signal train after obtaining frequency counting After table, main control module 15 obtains amplitude peak, maximum frequency and the minimum frequency of signal in the signal list, then most with this It is significantly used as reference amplitude, and using the maximum frequency and minimum frequency as reference frequency, determines that the waveform of signal is shown Parameter.
Specifically, if only one signal in the signal list, when the frequency of the signal is determined as waveform display Centre frequency;If having multiple signals in the signal list, when being greater than minimum frequency and be less than maximum frequency as waveform display Frequency sweeping ranges.
Step 315: display signal.
After main control module 15 determines waveform display parameters, which is sent to display module 16, is made Display module 16 shows the signal in signal list according to the waveform display parameters.
Specifically, centre frequency or frequency sweeping ranges that display module 16 is determined according to main control module 15, to signal Signal in list is scanned, and is carried out mark label in the position where each signal, be can be and carry out to its peak position Label, and its frequency and amplitude are showed in the form of numerical listing, for example, obtained numerical listing can be as shown in table 1:
Table 1
Signal label Frequency Amplitude
1 750.6267MHz -84.13dBm
2 747.9866MHz -84.38dBm
3 752.2667MHz -84.96dBm
4 754.1066MHz -85.64dBm
5 747.8800MHz -86.12dBm
Spectrum analyzer provided in this embodiment and its method for searching for signal, are searching the institute in default measurement range After having signal or the signal of preset quantity, frequency counting can be carried out one by one to the signal that these are searched, pass through frequency counting One zero can be carried out in the frequency point near signal and sweep the wide period, to obtain the accurate frequency point of the signal, greatly improve and search The frequency accuracy for the signal that rope arrives.Compared with original scheme, the scheme of the present embodiment can be fast in user's regions of interest Speed searches more, the higher signal of precision, can satisfy the demand of complex application context, has higher practical valence Value.
Embodiment five:
Any embodiment in one to four based on the above embodiment, main control module 15 increase the dough softening or subtract in execution executing When the step of small resolution bandwidth, it can be carried out using the method for dichotomy.It is exactly that main control module 15 can pass through dichotomy Reduce the current resolution bandwidth of spectrum analyzer, likewise, it is current to increase attenuation module 11 by dichotomy The dough softening.Specifically, in one embodiment, main control module 15 be specifically used for spectrum analyzer do not occur power overflow and When the quantity of the signal detected is less than preset signals quantity, judge whether current resolution bandwidth is greater than spectrum analyzer Minimum resolution bandwidth reduces currently when current resolution belt is wider than the minimum resolution bandwidth according to dichotomy Resolution bandwidth, the resolution for keeping the current dough softening constant, current as spectrum analyzer using the resolution bandwidth after reduction Rate bandwidth, the digital medium-frequency signal exported to analog-to-digital conversion module 14 detect, and continue the signal that record detects.Equally , main control module 15 judges whether the current dough softening is less than and declines also particularly useful for when power overflow occurs for spectrum analyzer The maximum attenuation degree for subtracting module 11 increases attenuation module according to dichotomy when the current dough softening is less than the maximum attenuation and spends The 11 current doughs softening, and examined according to the digital medium-frequency signal that current resolution bandwidth exports analog-to-digital conversion module 14 It surveys, and continues the signal that record detects.
In practical application, main control module 15 can according to default measurement range or the intrinsic gauging range of spectrum analyzer, It is first utilized respectively dichotomy and calculates each regulation stall when increasing the dough softening and reducing resolution bandwidth to get adjusting is arrived Sequence list is stored in the form of array, sequence list when increasing the dough softening can be denoted as table_Att, will be reduced resolution ratio Sequence list when bandwidth is denoted as table_Rbw.When increasing the dough softening (executing step 106,207 or 308), if current decaying Spending cur_Att is n-th of value (i.e. cur_Att=table_Att [n]) in table_Att, then stores according to table_Att Sequential adjustment attenuator, its (n+1)th value is assigned to cur_Att, that is, the dough softening after increasing is cur_Att=table_ Att[n+1].Likewise, when reducing resolution bandwidth (executing step 109,211 or 312), if current resolution bandwidth Cur_Rbw is n-th of value (i.e. cur_Rbw=table_Rbw [n]) in table_Rbw, then according to table_Rbw storage Its (n+1)th value is assigned to cur_Rbw by sequential adjustment resolution bandwidth, that is, the resolution bandwidth after reducing is cur_Rbw= table_Rbw[n+1].Wherein, the sequential storage of resolution bandwidth from big to small is pressed in table_Rbw, by declining in table_Att The sequential storage of degree of subtracting from small to large.
Spectrum analyzer provided in this embodiment and its method for searching for signal are reducing resolution bandwidth or are increasing decaying It when spending, can be realized using the method for dichotomy, so as to substantially reduce the number of search signal, further reduce and search The duration of rope signal.
It will be understood by those skilled in the art that all or part of function of various methods can pass through in above embodiment The mode of hardware is realized, can also be realized by way of computer program.When function all or part of in above embodiment When being realized by way of computer program, which be can be stored in a computer readable storage medium, and storage medium can To include: read-only memory, random access memory, disk, CD, hard disk etc., it is above-mentioned to realize which is executed by computer Function.For example, program is stored in the memory of equipment, when executing program in memory by processor, can be realized State all or part of function.In addition, when function all or part of in above embodiment is realized by way of computer program When, which also can store in storage mediums such as server, another computer, disk, CD, flash disk or mobile hard disks In, through downloading or copying and saving into the memory of local device, or version updating is carried out to the system of local device, when logical When crossing the program in processor execution memory, all or part of function in above embodiment can be realized.
Use above specific case is illustrated the present invention, is merely used to help understand the present invention, not to limit The system present invention.For those skilled in the art, according to the thought of the present invention, can also make several simple It deduces, deform or replaces.

Claims (10)

1. a kind of spectrum analyzer, which is characterized in that including attenuation module, oscillator, frequency mixing module, analog-to-digital conversion module, master Control module and display module;
Attenuation module is used under the control of main control module be the function for adapting to spectrum analyzer by the power attenuation of input signal Rate;
Oscillator under the control of main control module for generating the swept-frequency signal of frequency shift, with entire within the scope of scanning survey Signal frequency range;
Signal after frequency mixing module is used to decay attenuation module is mixed with the swept-frequency signal that oscillator generates, and obtains intermediate frequency Signal;
Analog-to-digital conversion module is used to be converted to the intermediate-freuqncy signal that frequency mixing module generates digital medium-frequency signal, and will be in the number Frequency signal is exported to main control module;
The initial attenuation degree that main control module is used to configure attenuation module is minimal attenuation degree, and is differentiated with the maximum of spectrum analyzer Rate bandwidth is initial value, detects in measurement range to the digital medium-frequency signal, judges whether spectrum analyzer occurs Power overflow records the signal detected when power overflow does not occur and reduces resolution bandwidth, and control oscillator is swept again The entire signal frequency range in measurement range is retouched, signal detection is then re-started and records the signal detected, until resolution ratio Bandwidth is adjusted to minimum;When power overflow occurs, main control module increases the dough softening of attenuation module and controls oscillator to be swept again The entire signal frequency range in measurement range is retouched, is adjusted to maximum until power overflow or the dough softening no longer occurs;
Display module is used to show all signals of main control module record.
2. spectrum analyzer as described in claim 1, which is characterized in that the main control module is also used to receive user setting Preset signals quantity, the main control module judge the signal detected when judging that power overflow does not occur for spectrum analyzer Whether quantity is less than the preset signals quantity, the record inspection when the quantity of the signal detected is less than the preset signals quantity The signal that measures simultaneously reduces resolution bandwidth, and control oscillator rescans the entire signal frequency range in measurement range, then weighs It is new to carry out signal detection and record the signal detected, until the signal or resolution bandwidth that detect preset signals quantity are adjusted to It is minimum.
3. spectrum analyzer as claimed in claim 2, which is characterized in that the main control module is specifically used in spectrum analyzer Power overflow does not occur and when the quantity of signal detected is less than preset signals quantity, whether judges current resolution bandwidth Greater than the minimum resolution bandwidth of spectrum analyzer, when current resolution belt is wider than the minimum resolution bandwidth, root Reduce current resolution bandwidth according to dichotomy, and control the entire signal frequency range that oscillator rescans in measurement range, so It is detected afterwards according to the digital medium-frequency signal that the resolution bandwidth after reduction exports analog-to-digital conversion module and continues record inspection The signal measured.
4. spectrum analyzer as described in claim 1, which is characterized in that the main control module is specifically used in spectrum analyzer When power overflow occurs, judge whether the current dough softening of attenuation module is less than the maximum attenuation degree of attenuation module, in decay mode When the current dough softening of block is spent less than the maximum attenuation, the current dough softening of attenuation module is increased according to dichotomy, and control Oscillator rescans the entire signal frequency range in measurement range, then according to current resolution bandwidth to analog-to-digital conversion module The digital medium-frequency signal of output is detected and is continued the signal that record detects.
5. spectrum analyzer according to any one of claims 1 to 4, which is characterized in that the spectrum analyzer further includes Frequency counting module;
The frequency counting module obtains frequency counting for carrying out frequency counting one by one to all signals that main control module records Signal list afterwards;
The main control module is also used to obtain amplitude peak, maximum frequency and the minimum frequency of signal in the signal list, with The amplitude peak determines signal as reference amplitude and using the maximum frequency and the minimum frequency as reference frequency Waveform display parameters;
The display module is specifically used for showing the signal in the signal list according to the waveform display parameters.
6. spectrum analyzer as described in claim 1, which is characterized in that the measurement range is default measurement set by user Range, or the intrinsic gauging range for spectrum analyzer;The measurement range includes search amplitude range and search rate range.
7. a kind of method of spectrum analyzer search signal characterized by comprising
The initial attenuation degree for configuring attenuation module is minimal attenuation degree, is initial with the maximum resolution bandwidth of spectrum analyzer Value, detects digital medium-frequency signal in measurement range, and the digital medium-frequency signal is that input signal and swept-frequency signal are mixed It is obtained after frequency;
Judge whether spectrum analyzer occurs power overflow;
When power overflow does not occur, records the signal detected and reduce resolution bandwidth, again to whole in measurement range A signal frequency range is scanned, and is then re-started signal detection and is recorded the signal detected, until resolution bandwidth is adjusted to It is minimum;
When power overflow occurs, increases the dough softening of attenuation module and the entire signal frequency range in measurement range is carried out again Scanning, is adjusted to maximum until power overflow or the dough softening no longer occurs.
8. the method for claim 7, which is characterized in that after judging that power overflow does not occur for spectrum analyzer, institute State method further include:
Judge whether the quantity of the signal detected is less than preset signals quantity;
When the quantity of the signal detected is less than the preset signals quantity, records the signal detected and reduce resolution belt Width is again scanned the entire signal frequency range in measurement range, then re-starts signal detection and records and detects Signal, until the signal or resolution bandwidth that detect preset signals quantity are adjusted to minimum.
9. the method for claim 7, which is characterized in that the reduction resolution bandwidth is to be reduced currently according to dichotomy Resolution bandwidth;
The dough softening for increasing attenuation module is to increase the current dough softening of attenuation module according to dichotomy.
10. the method as described in any one of claim 7 to 9, which is characterized in that the method also includes:
Frequency counting is carried out one by one to all signals detected, the signal list after obtaining frequency counting;
Amplitude peak, maximum frequency and the minimum frequency for obtaining signal in the signal list, using the amplitude peak as ginseng It examines amplitude and determines the waveform display parameters of signal using the maximum frequency and the minimum frequency as reference frequency;
The signal in the signal list is shown according to the waveform display parameters.
CN201811496516.4A 2018-12-07 2018-12-07 Spectrum analyzer and signal searching method thereof Active CN109459614B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811496516.4A CN109459614B (en) 2018-12-07 2018-12-07 Spectrum analyzer and signal searching method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811496516.4A CN109459614B (en) 2018-12-07 2018-12-07 Spectrum analyzer and signal searching method thereof

Publications (2)

Publication Number Publication Date
CN109459614A true CN109459614A (en) 2019-03-12
CN109459614B CN109459614B (en) 2021-02-09

Family

ID=65612804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811496516.4A Active CN109459614B (en) 2018-12-07 2018-12-07 Spectrum analyzer and signal searching method thereof

Country Status (1)

Country Link
CN (1) CN109459614B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111313965A (en) * 2020-02-21 2020-06-19 国网河南省电力公司电力科学研究院 Intelligent substation optical fiber link testing method and device
TWI705251B (en) * 2019-12-30 2020-09-21 財團法人工業技術研究院 Sensing system and sensing signal measuring method thereof
CN113419111A (en) * 2021-08-24 2021-09-21 深圳市鼎阳科技股份有限公司 Spectrum analyzer and signal scanning method for same
US11579176B2 (en) 2019-12-30 2023-02-14 Industrial Technology Research Institute Sensing system and sensing signal measuring method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1226006A (en) * 1997-10-27 1999-08-18 株式会社爱德万测试 Measuring method using spectrum analyzer
CN101251573A (en) * 2008-02-29 2008-08-27 东南大学 Automatic testing method for mixer third order inter-modulation distortion of radio-frequency tuner chip
CN102109553A (en) * 2009-12-25 2011-06-29 北京普源精电科技有限公司 Digital spectrum analyzer and method for fast positioning of measuring signals
CN103439575A (en) * 2013-08-28 2013-12-11 成都盟升科技有限公司 Method for unknown signal automatic search for spectrum analyzer
EP3139191A1 (en) * 2015-09-07 2017-03-08 Electronics and Telecommunications Research Institute Apparatus and method for detecting nonlinear magnetic particle based on single excitation coil
CN106597098A (en) * 2016-11-09 2017-04-26 深圳市鼎阳科技有限公司 Data processing method and device for spectrum analyzer
CN108303735A (en) * 2018-01-30 2018-07-20 单新建 The earthquake deformation acquisition methods of subband interferometry based on optimized parameter setting

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1226006A (en) * 1997-10-27 1999-08-18 株式会社爱德万测试 Measuring method using spectrum analyzer
CN101251573A (en) * 2008-02-29 2008-08-27 东南大学 Automatic testing method for mixer third order inter-modulation distortion of radio-frequency tuner chip
CN102109553A (en) * 2009-12-25 2011-06-29 北京普源精电科技有限公司 Digital spectrum analyzer and method for fast positioning of measuring signals
CN103439575A (en) * 2013-08-28 2013-12-11 成都盟升科技有限公司 Method for unknown signal automatic search for spectrum analyzer
EP3139191A1 (en) * 2015-09-07 2017-03-08 Electronics and Telecommunications Research Institute Apparatus and method for detecting nonlinear magnetic particle based on single excitation coil
CN106597098A (en) * 2016-11-09 2017-04-26 深圳市鼎阳科技有限公司 Data processing method and device for spectrum analyzer
CN108303735A (en) * 2018-01-30 2018-07-20 单新建 The earthquake deformation acquisition methods of subband interferometry based on optimized parameter setting

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI705251B (en) * 2019-12-30 2020-09-21 財團法人工業技術研究院 Sensing system and sensing signal measuring method thereof
US11579176B2 (en) 2019-12-30 2023-02-14 Industrial Technology Research Institute Sensing system and sensing signal measuring method thereof
CN111313965A (en) * 2020-02-21 2020-06-19 国网河南省电力公司电力科学研究院 Intelligent substation optical fiber link testing method and device
CN113419111A (en) * 2021-08-24 2021-09-21 深圳市鼎阳科技股份有限公司 Spectrum analyzer and signal scanning method for same
CN113419111B (en) * 2021-08-24 2021-11-02 深圳市鼎阳科技股份有限公司 Spectrum analyzer and signal scanning method for same

Also Published As

Publication number Publication date
CN109459614B (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN109459614A (en) A kind of spectrum analyzer and its method for searching for signal
CN101155423B (en) Spectrum sensing algorithm and method
US8872504B2 (en) Method for automatically setting frequency span in a spectrum analyzer
JP2010509874A (en) System and method for detecting the presence of a transmission signal in a wireless channel
JP6505348B1 (en) Radiation disturbance measurement method and radiation disturbance measurement system
WO2008010608A2 (en) Signal analyzer and method for signal analysis
CN102868402A (en) Test method for testing main performance indices of analog-to-digital converter (ADC)
CN111046541A (en) Self-adaptive solving method and system for engine fundamental frequency vibration amplitude along with change of rotating speed
JP2005292147A (en) Method and device for improving dynamic range and measurement accuracy of spectrum and/or network-analyzing measurement device
CN103823177A (en) Performance detecting method and system for filter based on window function design
JP2007509333A (en) Method and apparatus for measuring radio interference level using frequency tracking
CN116125178A (en) Comprehensive determination method and system for electromagnetic radiation blocking effect of frequency-using equipment
CN116609422A (en) Bearing ring crack defect detection method, system and computer readable storage medium based on frequency-selective pulse eddy current
CN107783084B (en) Constant false alarm detection and data processing platform
US5119017A (en) Bandwidth analysis system and method
CN110208588B (en) Digital oscilloscope, method for measuring baud chart and readable storage medium
JP2662406B2 (en) Data collection device for partial discharge measurement device
CN104821821B (en) Phase-locked receive loop parameter determines method and parameter calculator
CN107783089B (en) Unit average selection small threshold detection platform
CN107783097B (en) Target pairing and data processing platform
CN112924415B (en) Data processing method and system for laser methane telemetering equipment
Liguori et al. Improving and qualifying spectrum analysis made by digital scopes
CN109142864B (en) Fast radio detection method based on frequency spectrum
JP2004219252A (en) System for automatically measuring performance of wireless device
CN113138318B (en) Phase jitter test method and system

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
CB02 Change of applicant information

Address after: 518000, 3 floors of 4 workshops and 1-3 floors of 5 office buildings of Antongda industrial plant, 68 District, Xingdong community, Xin'an street, Bao'an District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen dingyang Technology Co.,Ltd.

Address before: 518000 3rd floor, building 4, Antongda Industrial Park, liuxiansan Road, 68 District, Bao'an District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN CITY SIGLENT TECHNOLOGIES Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant