CN102455383B - Frequency spectrum data processing method, device and spectrum analyzer - Google Patents
Frequency spectrum data processing method, device and spectrum analyzer Download PDFInfo
- Publication number
- CN102455383B CN102455383B CN201010530603.4A CN201010530603A CN102455383B CN 102455383 B CN102455383 B CN 102455383B CN 201010530603 A CN201010530603 A CN 201010530603A CN 102455383 B CN102455383 B CN 102455383B
- Authority
- CN
- China
- Prior art keywords
- spectrum
- spectrum data
- result
- source
- stored
- 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.)
- Active
Links
- 238000001228 spectrum Methods 0.000 title claims abstract description 159
- 238000003672 processing method Methods 0.000 title abstract description 6
- 238000000034 method Methods 0.000 claims abstract description 29
- 230000003595 spectral effect Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012804 iterative process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000010183 spectrum analysis Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Spectrometry And Color Measurement (AREA)
Abstract
The embodiment of the present invention provides a kind of frequency spectrum data processing method, device and spectrum analyzer, and the method includes: obtain source frequency spectrum data;According to default parameter, described source frequency spectrum data is carried out frequency spectrum computing, the frequency spectrum computing that the operation result prestored is overlapped.By the embodiment of the present invention, it is applicable to the situation that operand changes, especially can meet and frequency spectrum data is iterated or the demand of superposition.
Description
Technical Field
The invention relates to the field of spectrum analyzers, in particular to a method and a device for processing spectrum data and a spectrum analyzer.
Background
From the relationship with a Personal Computer (PC), spectrum analyzers generally take two forms: one is that the spectrum analyzer is built into the PC, and exists as a part of the PC, and the function of the spectrum analyzer can be realized by means of resources (e.g., a display, a keyboard, etc.) of the PC.
The other type is an embedded instrument, the spectrum analyzer is provided with a set of systems (such as a display screen, a keyboard, a power supply and the like) to realize all functions of the spectrum analyzer, and the operation of the PC on the spectrum analyzer is realized by transmitting control commands. The implementation mode is based on the basic functions of the spectrum analyzer, and the spectrum analyzer performs spectrum analysis by means of powerful resources of a PC (personal computer) through a command set of a programmable Instrument Standard for programmable instruments and a driver of a Virtual Instrument Software Architecture (VISA) as a medium.
Currently, spectrum analyzers provide many operations on source spectral lines, such as ClearWrite, MaxHold, MinHold, VideoAverage, PowerAverage, Freeze, and so on. As shown in fig. 1, these operations are performed on source spectral lines, and the operation results are displayed on a display in a Trace manner according to the change of source data.
However, in the process of implementing the invention, the inventor finds that the prior art has the following defects: the operation object is fixed, only the source data can be used as the object for operation, and the method is not suitable for the situation that the operation object is changed; particularly, in the increasingly widespread application of spectrum analyzers, iteration or superposition operations need to be performed on spectrum data, and the current spectrum operation method of the spectrum analyzer cannot meet the requirements.
Disclosure of Invention
The embodiment of the invention provides a method and a device for processing spectrum data and a spectrum analyzer, and aims to enable the spectrum data operation of the spectrum analyzer to be suitable for the situation that an operation object changes, and particularly meet the requirement of performing iteration or superposition operation on the spectrum data.
In order to achieve the above object, an embodiment of the present invention provides a method for processing spectrum data, which is applied to a spectrum analyzer, and the method includes:
acquiring source frequency spectrum data;
performing spectrum operation on the source spectrum data according to preset parameters and/or performing superposed spectrum operation on prestored operation results; and the pre-stored operation result is obtained by performing one or more times of iterative operation on the source frequency spectrum data.
The embodiment of the invention also provides a frequency spectrum data operation device, which is applied to a frequency spectrum analyzer and comprises:
an acquisition unit configured to acquire source spectrum data;
the operation unit is used for performing spectrum operation on the source spectrum data according to preset parameters and/or performing superposed spectrum operation on prestored operation results; and the pre-stored operation result is obtained by performing one or more times of iterative operation on the source frequency spectrum data.
The embodiment of the invention also provides a spectrum analyzer, which comprises the spectrum data processing device.
The method and the device have the advantages that the frequency spectrum data are operated by configuring the operation parameters, so that the method and the device are suitable for the condition that the operation object changes, and particularly can meet the requirement of iterative or superposition operation on the frequency spectrum data.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
FIG. 1 is a schematic diagram of Trace operation of a prior art spectrum analyzer;
FIG. 2 is a flow chart of a method for processing spectrum data according to an embodiment of the present invention;
fig. 3 is another flowchart of a spectrum data processing method according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating an example of an operation parameter table according to an embodiment of the present invention;
FIG. 5 is an example schematic of an iterative process of an embodiment of the present invention;
FIG. 6 is an example schematic of a result display of an embodiment of the present invention;
fig. 7 is a schematic diagram of a configuration of a spectrum data processing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic diagram of another configuration of the spectrum data processing apparatus according to the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in further detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
Fig. 2 is a flowchart of a spectrum data processing method according to an embodiment of the present invention.
As shown in fig. 2, the method includes:
step 201, acquiring source spectrum data;
step 202, performing spectrum operation on the source spectrum data according to preset parameters and/or performing superposed spectrum operation on prestored operation results; and the pre-stored operation result is obtained by performing one or more times of iterative operation on the source frequency spectrum data.
When step 201 is performed, the spectrum analyzer may set a sweep interval in advance, and acquire the completed spectrum data, for example, the spectrum data may be acquired every 5 seconds.
When step 202 is implemented, after the spectrum analyzer acquires the primary source spectrum data, the spectrum analyzer may perform spectrum operation on the source spectrum data according to preset parameters, where the preset parameters may include: ClearWrite, MaxHold, MinHold, VideoAverage, PowerAverage, Freeze, or a combination thereof. But is not limited thereto, and the specific parameters may be determined according to actual conditions.
For example, after acquiring the source spectrum data O2, the spectrum analyzer may perform MaxHold operations on the source spectrum data O2: MaxHold (O2), after performing the spectral operation, the result of the operation may be stored.
In addition, the spectrum analyzer can also perform superposed spectrum operation on the pre-stored operation result according to the preset parameters.
For example, the spectrum analyzer may also perform a superimposed spectrum operation on a result MaxHold (O1) of a pre-stored MaxHold operation on the source spectrum data O1: VideoAverage (MaxHold (O1)). Thus, the spectrum analyzer can obtain more various operation results.
When step 202 is performed, the pre-stored operation result may be an operation result obtained by performing one or more operations on the source spectrum data, and may be, for example, MaxHold (O1) or VideoAverage (MaxHold (O1)). But is not limited thereto, and the specific embodiment may be determined according to actual circumstances.
The embodiments described above show that the operation of the spectrum data by configuring the operation parameters can be applied to the situation where the operation object changes, and particularly can meet the requirement of performing iterative or superposition operation on the spectrum data.
Fig. 3 is another flowchart of a spectrum data processing method according to an embodiment of the present invention. Further description is given below on the basis of the above embodiments, and repeated descriptions are omitted.
As shown in fig. 3, the method includes:
in step 301, a spectrum analyzer obtains source spectrum data.
And 302, performing spectrum operation on the source spectrum data according to preset parameters and/or performing superposed spectrum operation on a prestored operation result.
Step 303, the spectrum analyzer displays the result of the spectrum operation.
The spectrum analyzer stores 304 the results of the spectral operation for subsequent operations.
When step 302 is performed, the preset parameters may be preset through a parameter table. FIG. 3 is a diagram of an example of a parameter table.
As shown in fig. 4, three parameters may be preset: MaxHold, MinHold, VideoAvg; the operation object of MaxHold is source spectrum data origin, the operation object of VideoAvg is MaxHold, and the operation object of MinHold is VideoAvg. But not limited thereto, specific parameters and parameter settings may be determined according to actual conditions.
When step 302 is implemented, performing a spectrum operation on an operation result according to a preset parameter, which may specifically include: if the pre-stored operation result is empty, returning empty data; and if the pre-stored operation result is not empty, performing superposed spectrum operation on the operation result according to the parameters.
In specific implementation, step 303 and step 304 have no strict order relationship, and step 303 or step 304 may be executed first, which may be determined according to actual situations.
The steps are an operation process after the spectrum analyzer acquires the primary source spectrum data, and a multi-iteration process of the spectrum data operation can be formed through the steps.
Fig. 5 is a schematic diagram of an example of a multiple iteration process of the spectrum data operation, and as shown in fig. 5, the number of iterations is 3. The above process is explained in detail by way of example below on the basis of fig. 4 and 5.
In this example, operation a in fig. 5 may be set to MaxHold, operation B to VideoAvg, and operation C to MinHold; the parameter settings may be as shown in fig. 4.
After the source spectrum data O1 is acquired, the spectrum analyzer may first perform MaxHold operation on the source spectrum data O1 to obtain an operation result MaxHold (O1), and may display and store the operation result. At this time, since the operands of VideoAvg and MinHold are null, null data is returned.
After the source spectrum data O2 is acquired, MaxHold operation may be performed on the source spectrum data O2 to obtain an operation result MaxHold (O2), and the operation result may be displayed and stored. Furthermore, the stored MaxHold (O1) may be subjected to a VideoAvg operation to obtain an operation result VideoAvg (MaxHold (O1)), and the operation result may be displayed and stored. At this time, since the operation target of MinHold is null, null data is returned.
After the source spectrum data O3 is acquired, MaxHold operation may be performed on the source spectrum data O3 to obtain an operation result MaxHold (O3), and the operation result may be displayed and stored. The stored MaxHold (O2) may be subjected to a VideoAvg operation, resulting in an operation result VideoAvg (MaxHold (O2)), which may be displayed and stored. Furthermore, the stored VideoAvg (MaxHold (O1)) may be subjected to MinHold operation to obtain an operation result MinHold (VideoAvg (MaxHold (O1))), and the operation result may be displayed and stored.
Fig. 6 is a graph showing the results of the above-described operations performed by the spectrum analyzer. As can be seen from fig. 6, the spectrum analyzer can obtain more various operation results.
As can be seen from the above embodiments, the operation of the spectrum data by configuring the operation parameters is applicable to the situation where the operation object changes; the method can particularly meet the requirement of iterative or superposition operation on the frequency spectrum data.
An embodiment of the present invention further provides a spectrum data processing apparatus, which is applied to a spectrum analyzer, and fig. 7 is a schematic diagram of a configuration of the spectrum data processing apparatus according to the embodiment of the present invention.
As shown in fig. 7, the apparatus includes: an acquisition unit 701 and an arithmetic unit 702; wherein,
the obtaining unit 701 is configured to obtain source spectrum data;
the operation unit 702 is configured to perform a spectrum operation on the source spectrum data according to a preset parameter and/or perform a spectrum operation on a pre-stored operation result.
In one embodiment, the preset parameters may include: ClearWrite, MaxHold, MinHold, VideoAverage, PowerAverage, Freeze, or a combination thereof.
Fig. 8 is a schematic diagram of another configuration of the spectrum data calculation apparatus according to the embodiment of the present invention. As shown in fig. 8, the apparatus may further include: a display unit 803;
the display unit 803 is used to display the result of the spectrum operation.
As shown in fig. 8, the apparatus may further include: a storage unit 804;
the storage unit 804 is used for storing the result of the spectrum operation for subsequent operations.
In one embodiment, the operation unit 802 is specifically configured to: if the pre-stored operation result is empty, returning empty data; and if the pre-stored operation result is not empty, performing superposed spectrum operation on the operation result according to the parameters.
The above-mentioned spectrum data processing apparatus may be integrated in a spectrum analyzer as a part of the spectrum analyzer; or can be used as a device connected with a spectrum analyzer. The specific implementation can be determined according to actual conditions.
An embodiment of the present invention further provides a spectrum analyzer, including: the spectrum data processing device is described above.
The components of the apparatus of this embodiment are respectively used to implement the steps of the method of the foregoing embodiment, and since the steps have been described in detail in the method embodiment, no further description is given here.
As can be seen from the above embodiments, the operation of the spectrum data by configuring the operation parameters is applicable to the situation where the operation object changes; the method can particularly meet the requirement of iterative or superposition operation on the frequency spectrum data.
It will be further appreciated by those of ordinary skill in the art that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (9)
1. A method for processing spectral data, applied to a spectrum analyzer, the method comprising:
acquiring source frequency spectrum data;
performing spectrum operation on the source spectrum data according to preset parameters, and performing superposed spectrum operation on prestored operation results; and the pre-stored operation result is obtained by performing one or more times of iterative operation on the source frequency spectrum data.
2. The method according to claim 1, wherein after performing a spectrum operation on the source spectrum data according to a preset parameter and performing a spectrum operation on a pre-stored operation result, the method further comprises: and displaying the result of the frequency spectrum operation.
3. The method for processing spectrum data according to claim 1, wherein after performing spectrum operation on the source spectrum data according to a preset parameter and/or performing spectrum operation on a pre-stored operation result, the method further comprises: storing the result of the spectral operation for subsequent operations.
4. The method for processing spectrum data according to claim 1, wherein the spectrum operation for superimposing the pre-stored operation results specifically comprises:
if the pre-stored operation result is empty, returning empty data;
and if the pre-stored operation result is not empty, performing superposed spectrum operation on the operation result according to the parameters.
5. A spectrum data processing apparatus applied to a spectrum analyzer, the apparatus comprising:
an acquisition unit configured to acquire source spectrum data;
the operation unit is used for performing spectrum operation on the source spectrum data according to preset parameters and performing superposed spectrum operation on prestored operation results; and the pre-stored operation result is obtained by performing one or more times of iterative operation on the source frequency spectrum data.
6. The spectrum data processing apparatus according to claim 5, characterized in that the apparatus further comprises:
and the display unit is used for displaying the result of the frequency spectrum operation.
7. The spectrum data processing apparatus according to claim 5, characterized in that the apparatus further comprises:
and the storage unit is used for storing the result of the frequency spectrum operation for subsequent operation.
8. The spectrum data processing apparatus according to claim 5, wherein the arithmetic unit is specifically configured to:
if the pre-stored operation result is empty, returning empty data;
and if the pre-stored operation result is not empty, performing superposed spectrum operation on the operation result according to the parameters.
9. A spectrum analyzer, the spectrum analyzer comprising: spectral data processing apparatus as claimed in any of claims 5 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010530603.4A CN102455383B (en) | 2010-11-03 | 2010-11-03 | Frequency spectrum data processing method, device and spectrum analyzer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010530603.4A CN102455383B (en) | 2010-11-03 | 2010-11-03 | Frequency spectrum data processing method, device and spectrum analyzer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102455383A CN102455383A (en) | 2012-05-16 |
CN102455383B true CN102455383B (en) | 2016-12-07 |
Family
ID=46038798
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010530603.4A Active CN102455383B (en) | 2010-11-03 | 2010-11-03 | Frequency spectrum data processing method, device and spectrum analyzer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102455383B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1062793A (en) * | 1990-12-25 | 1992-07-15 | 能源部电力科学研究院 | Fast signal spectrum analytical method |
US5291426A (en) * | 1991-02-27 | 1994-03-01 | The Perkin-Elmer Corporation | Method of correcting spectral data for background |
CN1932534A (en) * | 2005-09-02 | 2007-03-21 | 特克特朗尼克国际销售有限责任公司 | Data processing method for spectrum analyzer |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02281155A (en) * | 1989-04-24 | 1990-11-16 | Fujitsu Ltd | Spectrum analyser |
KR100572670B1 (en) * | 2004-08-31 | 2006-04-24 | 심관식 | A method for estimating parameter of time series data by fourier transform |
-
2010
- 2010-11-03 CN CN201010530603.4A patent/CN102455383B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1062793A (en) * | 1990-12-25 | 1992-07-15 | 能源部电力科学研究院 | Fast signal spectrum analytical method |
US5291426A (en) * | 1991-02-27 | 1994-03-01 | The Perkin-Elmer Corporation | Method of correcting spectral data for background |
CN1932534A (en) * | 2005-09-02 | 2007-03-21 | 特克特朗尼克国际销售有限责任公司 | Data processing method for spectrum analyzer |
Also Published As
Publication number | Publication date |
---|---|
CN102455383A (en) | 2012-05-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9202021B2 (en) | License verification method and apparatus, and computer readable storage medium storing program therefor | |
CN107943683B (en) | Test script generation method and device, electronic equipment and storage medium | |
CN109086606B (en) | Program vulnerability mining method, device, terminal and storage medium | |
CN105224456A (en) | A kind of test script generates methods, devices and systems | |
WO2015012961A1 (en) | Extending programmable measurement device functionality | |
US20150286374A1 (en) | Embedded System User Interface Design Validator | |
CN102455383B (en) | Frequency spectrum data processing method, device and spectrum analyzer | |
US9881398B2 (en) | Trend dynamic sensor imaging using contour maps to visualize multiple trend data sets in a single view | |
JP2008186206A (en) | Programmable logic controller support device | |
EP3301529A1 (en) | Method and apparatus for displaying monitoring information | |
US10969407B2 (en) | Soft front panel for concurrent radio frequency measurements | |
JP2018060421A (en) | Information generation system, device, method, and program | |
US20140039826A1 (en) | Measurement System Results Queue For Improved Performance | |
US9332450B2 (en) | Unit testing and analysis of multiple UUTs | |
CN108027962A (en) | A kind of image processing method, electronic equipment and storage medium | |
CN105335657B (en) | A kind of program bug detection method and device | |
JP2010266329A (en) | Digital oscilloscope | |
CN111710347A (en) | Audio data analysis method, electronic device and storage medium | |
JP2007199019A (en) | Display control device | |
JP7485571B2 (en) | Interference wave database input device, interference wave measuring device, and program | |
JP5650261B2 (en) | Measurement control device | |
CN118312731A (en) | Method, device, equipment and medium for detecting environmental network noise | |
JP2009181549A (en) | Coverage measurement unit, coverage measurement method, and coverage measurement program | |
US20130289947A1 (en) | Test system and method for generating industrial design of electronic device | |
US20130221891A1 (en) | Motor driver having built in self test function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |