Self-adaptive video detection method for spectrum analyzer

Through the adaptive video detection method, the signal segmentation and detection data processing of the spectrum analyzer are used to automatically judge the signal and select the appropriate detection method, which solves the problem of the spectrum analyzer switching detection methods during multi-parameter measurement, and improves measurement efficiency and accuracy. sex.

CN118604445APending Publication Date: 2024-09-06CHENGDU WEIPIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410346658.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-25
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing spectrum analyzers need to frequently switch between different detection modes when measuring multiple parameters alternately, resulting in complex user operations and low efficiency.

Method used

The adaptive video detection method is used to automatically determine the presence or absence of the signal by segmenting the video signal. Peak detection is used when there is a signal, and other detection methods (such as negative peak value, average value, RMS, sampling) are used when there is no signal. , to avoid switching of detection modes.

Benefits of technology

It achieves accurate display of signal power, reduces noise errors, improves test efficiency, eliminates the need for users to frequently switch detection modes, and adapts to different signal and noise environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118604445A
    Figure CN118604445A
Patent Text Reader

Abstract

The invention discloses a self-adaptive video detection method for a frequency spectrograph. The method comprises the following steps: carrying out orthogonal digital down-conversion on a digital intermediate frequency signal; modulo operation is carried out on the baseband signal I and the baseband signal Q which are obtained through down-conversion; segmenting the video signal; performing video detection on the data collection units to obtain peak detection data and other detection data of each data collection unit; identifying the peak detection data, and judging whether the peak detection data is a signal or not; taking the peak detection data as detection data for display in response to the peak detection data being a signal; in response to the peak detection data being not a signal, other detection data is used as detection data for display. Whether a signal exists in a video or not is automatically judged, peak detection is adopted under the condition that the signal exists, other detection modes are adopted under the condition that no signal exists, and switching of the detection modes is not needed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of video detection, and in particular relates to an adaptive video detection method for a spectrum analyzer. Background Art

[0002] Until the mid-1970s, spectrum analyzer displays were purely analog. The displayed trace showed the continuously changing signal envelope with no information loss. But analog displays had their own disadvantages, the main problem being the long sweep times required to process narrow resolution bandwidths. In extreme cases, the displayed trace became a slowly moving spot on a cathode ray tube (CRT) screen, with no actual trace. So, the long sweep time made the display meaningless.

[0003] In the mid-1970s, digital circuits were developed and soon used in spectrum analyzers. Once a trace is digitized and stored in memory, it is permanently available for display. It becomes simple to refresh the display at a flicker-free rate without blurring or fading the image.

[0004] However, there is still a problem with digital display, that is, after the frequency span SPAN, frequency resolution bandwidth RBW, video bandwidth VBW and other parameters are set, the number of data points of the original video signal obtained after digital signal processing is certain, and in general, the number of data points may be relatively large. However, due to the limitation of display resolution, or the user does not need to obtain all the original video data, it is necessary to determine what value should be used to represent each displayed data point. No matter how many data points we use on the display, each data point must be able to represent a signal that appears in a certain frequency range. Using a certain value to represent a signal that appears in a certain frequency range is called video detection technology.

[0005] At present, there are many conventional video detection technologies, and each detection method has certain application scenarios. For example, when we are concerned about signal power, we generally use peak detection, but its disadvantage is that the displayed noise is significantly greater than the actual noise level; when we are concerned about noise power, we generally use RMS detection, but its disadvantage is that the signal display power will have errors, or even fail to display the signal. Therefore, users need to select a detection method according to specific measurement requirements. When multiple parameters are measured alternately, they need to switch back and forth between multiple detection methods. Summary of the invention

[0006] In order to solve the problem that the existing method needs to switch different detection modes when alternately measuring multiple parameters, the present invention provides an adaptive video detection method for a spectrum analyzer, which automatically determines whether the video has a signal, uses peak detection when there is a signal, and uses other detection modes when there is no signal, without the need to switch the detection mode.

[0007] The purpose of the present invention is achieved through the following technical solutions:

[0008] The present invention discloses a method for adaptive video detection of a spectrum analyzer, comprising the following steps:

[0009] Performing orthogonal digital down-conversion on the digital intermediate frequency signal to obtain an in-phase baseband signal I and a quadrature baseband signal Q;

[0010] Performing a modulo operation on the baseband signal I and the baseband signal Q to obtain a video signal S;

[0011] Segmenting the video signal to obtain at least 101 data collection units;

[0012] Performing video detection on the data collection unit to obtain peak detection data and other detection data of each data collection unit, wherein the other detection data is at least one of negative peak detection data, average detection data, RMS detection data and sampling detection data;

[0013] Identifying the peak detection data to determine whether the peak detection data is a signal;

[0014] In response to the peak detection data being a signal, using the peak detection data as detection data for display;

[0015] In response to the peak detection data not being a signal, the other detection data is used as detection data for display.

[0016] Compared with the prior art, the present invention has at least the following advantages and beneficial effects:

[0017] The present invention segments the video signal and determines whether there is a signal based on the peak detection data of each data collection unit obtained by the segmentation. When there is a signal, the peak detection data is used, and when there is no signal, other detection methods are used. This method not only realizes the accurate display of signal power, but also can be combined with other detection methods. When there is only noise, any other detection method can be used, and the user does not need to test and switch the detection method back and forth. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1Flow chart of the method of the present invention. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0021] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0022] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0023] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0024] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, or the positions or positional relationships in which the product of the invention is usually placed when in use, or the positions or positional relationships commonly understood by those skilled in the art, which are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0025] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0026] like Figure 1 As shown, the first aspect of the present invention discloses a method for adaptive video detection of a spectrum analyzer, which includes steps S01 to S07.

[0027] Step S01, performing orthogonal digital down-conversion on the digital intermediate frequency signal to obtain an in-phase roadbed band signal I and an orthogonal roadbed band signal Q, that is, converting the intermediate frequency signal into an in-phase roadbed band signal I and an orthogonal roadbed band signal Q that are orthogonal to each other.

[0028] Step S02: performing a modulo operation on the baseband signal I and the baseband signal Q to obtain a video signal S.

[0029] in,

[0030] Step S03: segment the video signal to obtain at least 101 data collection units.

[0031] Specifically, the method for segmenting the video signal is as follows: segmenting the video signal according to a frequency range to obtain at least 101 data collection units with a frequency range of ΔF, wherein:

[0032]

[0033] Where SPAN is the set frequency range, and N is the number of display points. SPAN can be a frequency range set by the user or a frequency range preset in advance.

[0034] ΔF is the frequency range of each segment data collection unit, and is also the frequency resolution of the spectrum analyzer under this setting.

[0035] Step S04, performing video detection on the data collection unit to obtain peak detection data and other detection data of each data collection unit, wherein the other detection data is at least one of negative peak detection data, average detection data, RMS detection data and sampling detection data.

[0036] Specifically, the peak detection data of each data collection unit can be obtained by obtaining the maximum value of each video data in each data collection unit.

[0037] The negative peak detection data of each data collection unit can be obtained by finding the minimum value of each video data in each data collection unit.

[0038] The average value of each data collection unit is detected. m It can be obtained by calculating the average value of each video data in each data collection unit.

[0039]

[0040] In the formula, xi is the i-th original video data in the data collection unit, and N is the number of original video data in the data collection unit.

[0041] RMS detection data D of each data collection unit r It can be obtained by calculating the root mean square of each video data in each data collection unit.

[0042]

[0043] The sampling detection data of each data collection unit can be sampled at a fixed position through system preset, or randomly sampled.

[0044] Step S05: Identify the peak detection data to determine whether the peak detection data is a signal.

[0045] Specifically, first obtain the average value P of the noise power corresponding to the peak detection data of the first L and / or last L data collection units of the peak detection data. n , where L is a natural number greater than or equal to 1; then calculate the power corresponding to the peak detection data and the average value P n ratio Th; finally, identification is performed based on the ratio. When the ratio is greater than or equal to a preset threshold, the peak detection data is determined to be a signal. When the ratio is less than the preset threshold, the peak detection data is determined not to be a signal.

[0046] The peak detection data of each data collection unit is the point to be identified. In this step, the power of the point to be identified is recorded as P. The ratio of the power of the point to be identified to the average noise power of the nearby peak detection data is calculated to determine whether it is a signal.

[0047]

[0048] P j is the noise power corresponding to the peak detection data.

[0049] The peak detection data of each data collection unit must be identified and judged using this step. When it is the first data collection unit, the average value P n The calculation of only needs to calculate the average value of the noise power corresponding to the peak detection data of the last L data collection units; when it is the last data collection unit, the average value P n The calculation of only needs to calculate the average value of the noise power corresponding to the peak detection data of the first L data collection units.

[0050] like It is determined that the peak detection data is a signal.

[0051] Th is a threshold that can be adjusted according to the recognition probability. The smaller Th is, the higher the probability of signal recognition is, but the probability of noise being recognized as a signal is also higher. That is, if Th is too small, it is easy to mistakenly judge noise as a signal, and if it is too large, it is easy to mistakenly judge a signal as noise. Preferably, the preset threshold is greater than or equal to 4 and less than or equal to 8.

[0052] Step S06: Response step.

[0053] In response to the peak detection data being a signal, the peak detection data is used as detection data for display; in response to the peak detection data being not a signal, the other detection data is used as detection data for display.

[0054] Step S07: sending the detection data for display to a display buffer and then displaying it on a display interface.

[0055] By adopting the above method, it is possible to determine whether the frequency point is a signal in real time based on the power ratio of the signal to the noise. The peak detection data is used at the signal frequency point to accurately measure the signal power. Sampling, averaging, RMS and other detection methods are used at other frequencies, and the noise level can be displayed in the corresponding detection method, thereby improving the test efficiency.

[0056] To facilitate the understanding of this solution, the following is an example:

[0057] Taking peak detection + RMS detection as an example, when there is a signal in the frequency segment, the signal peak is displayed, and when there is noise in the frequency segment, the RMS power of the noise is displayed. Automatic identification of signal / noise can be achieved, and different detection data can be displayed.

[0058] Assume that the frequency range SPAN set by the user is 1000MHz; the resolution bandwidth RBW = video bandwidth VBW = 100kHz, i.e. 0.1MHz; the number of display points N is 1001, and the sampling rate after digital down-conversion is 5 times of RBW. The number of points of I and Q data obtained in step 1 is

[0059] M=1000MHz / 0.1MHz×5=50000.

[0060] Then find the modulus of 50,000 I and Q data, the formula is

[0061]

[0062] After finding the modulus, the original video data is obtained, and the number of points of the original video data is M=50000.

[0063] Since the number of display points is 1001, and the number of points of the original video data is 50000, it is necessary to extract the original data within a certain frequency range. The calculation formula for each frequency range is:

[0064]

[0065] Therefore, the frequency resolution of the spectrum analyzer under this setting is 1MHz. The corresponding data extraction multiple is:

[0066]

[0067] That is, only one point is extracted from every 50 points of the original video data to represent the data of the frequency point. How to extract depends on the different detection methods. Here we take peak detection and RMS detection as examples. According to the above calculation, every 50 original data is a data collection unit.

[0068] Then, peak detection is performed on the original video data, that is, the maximum value of each data collection unit is selected as the extraction value to obtain 1001 peak detection data.

[0069] Synchronously, the original video data is subjected to RMS detection, and the calculation formula for the RMS extraction value of each data collection unit is:

[0070]

[0071] where x i For the i-th original video data in the data collection unit, 1001 RMS detection data are obtained.

[0072] Then, starting from the first point, record the peak detection data of each point as P i , and calculate the average noise before and after this point.

[0073] The average noise is calculated as:

[0074]

[0075] Where P n That is the average noise power. Here, the data of the first 8 points and the last 8 points are averaged. is the average value of the noise power of the 8 peak detection data before the point to be identified, It is the average value of the noise power of the 8 peak detection data after the point to be identified.

[0076] Next, calculate the peak power P and average power P n If

[0077]

[0078] If the point to be identified is a signal, the peak power P of the point is sent to the "adaptive detection data", otherwise, the RMS detection data is sent to the "adaptive detection data". Finally, 1001 "adaptive detection data" are formed.

[0079] Adopting the adaptive detection method of peak detection + RMS detection, peak detection can be used at the signal frequency point, and RMS detection can be used at the frequency point with only noise.

[0080] Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for adaptive video detection of a spectrum analyzer, characterized in that: The following steps are involved: Performing orthogonal digital down-conversion on the digital intermediate frequency signal to obtain an in-phase baseband signal I and a quadrature baseband signal Q; Performing a modulo operation on the baseband signal I and the baseband signal Q to obtain a video signal S; Segmenting the video signal to obtain at least 101 data collection units; Performing video detection on the data collection unit to obtain peak detection data and other detection data of each data collection unit, wherein the other detection data is at least one of negative peak detection data, average detection data, RMS detection data and sampling detection data; Identifying the peak detection data to determine whether the peak detection data is a signal; In response to the peak detection data being a signal, using the peak detection data as detection data for display; In response to the peak detection data not being a signal, the other detection data is used as detection data for display.

2. The method for adaptive video detection for a spectrum analyzer according to claim 1, characterized in that: The segmenting of the video signal comprises: The video signal is segmented according to a frequency range to obtain at least 101 data collection units with a frequency range of ΔF, wherein: Where SPAN is the set frequency range and N is the number of display points.

3. The method for adaptive video detection for a spectrum analyzer according to claim 1, characterized in that: The performing video detection on the data collection unit comprises: The maximum value of each video data in each data collection unit is obtained to obtain the peak detection data of each data collection unit.

4. The method for adaptive video detection for a spectrum analyzer according to claim 1, characterized in that: The performing video detection on the data collection unit comprises: The minimum value of each video data in each data collection unit is obtained to obtain the negative peak detection data of each data collection unit.

5. The method for adaptive video detection for a spectrum analyzer according to claim 1, characterized in that: The performing video detection on the data collection unit comprises: The average value of each video data in each data collection unit is calculated to obtain the average value detection data of each data collection unit.

6. The method for adaptive video detection for a spectrum analyzer according to claim 1, characterized in that: The performing video detection on the data collection unit comprises: The root mean square of each video data in each data collection unit is calculated to obtain the RMS detection data of each data collection unit.

7. The method for adaptive video detection for a spectrum analyzer according to claim 1, characterized in that: The identifying of the peak detection data to determine whether the peak detection data is a signal includes: obtaining an average value P of the noise power corresponding to the peak detection data of the first L and / or the last L data collection units of the peak detection data. n , where L is a natural number greater than or equal to 1; Calculate the power corresponding to the peak detection data and the average value P n The ratio of In response to the ratio being greater than or equal to a preset threshold, determining that the peak detection data is a signal; In response to the ratio being less than a preset threshold, it is determined that the peak detection data is not a signal.

8. The method for adaptive video detection for a spectrum analyzer according to claim 7, characterized in that: The preset threshold is greater than or equal to 4 and less than or equal to 8.

9. The method for adaptive video detection for a spectrum analyzer according to claim 1, characterized in that: The peak detection data is used as detection data for display, or the other detection data is used as detection data for display, and then further includes: The detection data for display is sent to a display buffer and then displayed on a display interface.