YTF tuning method, drive device, tuning equipment, spectrum analyzer system and storage medium for spectrum analyzer
After the spectrometer completes the previous frequency scan, the YTF tuning frequency is first configured to be greater than the frequency start value of the next scan, and then configured to be less than the frequency start value of the next scan, and gradually approaches the frequency start value of the next scan, which solves the problem of long tuning time of the spectrometer YTF and unstable signal, and achieves fast and accurate scanning of the spectrum meter.
Patent Information
- Application Number
- CN202510572507.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-06
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2045-05-06
AI Technical Summary
The YTF tuning method of the existing spectrum meter has the problems of long tuning demagnetization time, low accuracy, and unstable signal amplitude when the tuning demagnetization and the next frame scan are connected.
After the spectrometer completes the previous frequency sweep, first configure the YTF tuning frequency to be greater than the frequency start value of the next scan, and then configure it to be less than the frequency start value of the next scan, and then gradually approach the frequency start value of the next scan according to the preset frequency configuration strategy, and configure it multiple times until it is stable.
The waiting time of the YTF tuning process is shortened, the impact of hysteresis and transient effects is reduced, the accuracy and stability of the spectrum meter scanning is ensured, and the stability of the spectrum meter scanning speed and signal amplitude are improved.
Smart Images

Figure CN120085062B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic measuring instruments, and in particular to a YTF tuning method, a driving device, a YTF tuning device, a spectrum analyzer system, and a storage medium for a spectrum analyzer. Background Art
[0002] A spectrum analyzer (or spectrum analyzer) is an instrument used to measure the spectral characteristics of a signal, analyzing its distribution in the frequency domain, including frequency, amplitude, phase, and other information. It has a wide range of applications in communications, electronics, aerospace, scientific research, and other fields. Modern spectrum analyzers often exhibit significant image responses when measuring high-frequency signals, which can interfere with the analyzer's performance. Therefore, common spectrum analyzers often utilize a YIG tunable bandpass filter (YTF) as a front-end option. Leveraging its excellent tuning frequency range, it pre-selects and filters high-frequency input signals, effectively suppressing image responses and associated spurious signals.
[0003] However, as a magnetic component, YTF exhibits significant hysteresis, causing its tuning frequency to always lag behind the configured voltage. In practical applications, it has been found that after a spectrum analyzer completes a RF segment or frame scan, the YTF tuning frequency often fluctuates significantly. If the analyzer proceeds directly to the next frame scan, the YTF's hysteresis directly affects the analyzer's scanning frequency. This hysteresis makes it difficult to match the YTF's tuning frequency with the analyzer's scanning frequency, impacting the analyzer's scanning speed and accuracy.
[0004] Therefore, before the spectrum analyzer begins scanning the next frame, the YTF tuning frequency of the spectrum analyzer needs to be tuned to the spectrum analyzer's scanning frequency. Traditional tuning methods require significant changes to the tuning frequency during the tuning process, which can lead to overcharging due to the hysteresis effect. This causes the tuning frequency to take a long time to stabilize, lengthening the tuning cycle. Furthermore, the excessive waiting time and hysteresis effect can cause unstable signal amplitude at the beginning of the next frame scan, seriously affecting the scanning speed and accuracy. Summary of the Invention
[0005] The present application provides a YTF tuning method, a driving device, a YTF tuning device, a spectrum analyzer system and a storage medium for a spectrum analyzer, which can solve the technical problems of the existing YTF tuning method of the spectrum analyzer, such as long tuning and demagnetization time, low accuracy, and unstable signal amplitude caused by the connection between tuning and demagnetization and the next frame scanning.
[0006] In a first aspect, an embodiment of the present application provides a YTF tuning method for a spectrum analyzer, comprising:
[0007] After the spectrum analyzer completes a previous frequency scan and before starting a next frequency scan, configuring the YTF tuning frequency of the spectrum analyzer to a first value; wherein the first value is greater than a frequency starting value of the next scan;
[0008] After being configured to the first value, the YTF tuning frequency is configured to a second value again after the YTF tuning frequency is stabilized; wherein the second value is smaller than the frequency starting value of the next scan;
[0009] After being configured to the second value, after the YTF tuning frequency stabilizes again, the YTF tuning frequency is configured multiple times according to the configured frequency obtained according to the preset frequency configuration strategy until the YTF tuning frequency reaches the frequency starting value of the next scan; wherein, the configured frequency obtained according to the preset frequency configuration scheme gradually approaches the frequency starting value of the next scan.
[0010] In some embodiments, the first value is a YTF tuning frequency value corresponding to the maximum frequency of the spectrum analyzer, and the second value is 0.
[0011] In some embodiments, the preset frequency configuration strategy includes at least one of a static configuration strategy based on a mapping relationship between the configuration frequency and the number of configurations and a dynamic configuration strategy based on a functional relationship between the configuration frequency and the number of configurations;
[0012] Furthermore, the change rate of the configured frequency obtained according to the preset frequency configuration strategy changes from fast to slow.
[0013] In some embodiments, the change rate of the configuration frequency satisfies: the configuration frequency changes in steps from large to small at the same time interval;
[0014] Alternatively, the configuration frequency changes at the same step by first short and then long time intervals.
[0015] In some embodiments, the configuration frequency changes in steps from large to small at the same time interval as follows: the step of each configuration frequency is calculated based on a nonlinear function determined by the frequency starting value of the next scan, the total number of configurations, and the configuration sequence number of this time, and the configuration time interval is T / B ;
[0016] in, T is the total configuration time, B is the total number of configurations.
[0017] In some embodiments, the configuration frequency changes at the same step according to the time interval of first short and then long: the step of each configuration frequency is A / B,The configuration time interval is calculated based on the nonlinear function determined by the total ,configuration time, the total configuration times and the current configuration sequence number;
[0018] in, A The starting frequency value for the next scan.
[0019] In some embodiments, the nonlinear function includes at least one of an exponential function, a logarithmic function, and a quadratic function.
[0020] In a second aspect, an embodiment of the present application provides a driving device for tuning a spectrum analyzer YTF, comprising:
[0021] A first configuration module is configured to configure the YTF tuning frequency of the spectrum analyzer to a first value after the spectrum analyzer completes a previous frequency scan and before starting a next frequency scan; wherein the first value is greater than a frequency starting value of the next scan;
[0022] A second configuration module is configured to configure the YTF tuning frequency to a second value after the YTF tuning frequency is stabilized after being configured to the first value; wherein the second value is smaller than a frequency starting value for the next scan;
[0023] The third configuration module is used to, after being configured to the second value, wait for the YTF tuning frequency to stabilize again, and then configure the YTF tuning frequency multiple times according to the configuration frequency obtained according to the preset frequency configuration scheme until the YTF tuning frequency reaches the frequency starting value of the next scan; wherein, the configuration frequency obtained according to the preset frequency configuration scheme gradually approaches the frequency starting value of the next scan.
[0024] In some embodiments, the first value is a YTF tuning frequency value corresponding to the maximum frequency of the spectrum analyzer, and the second value is 0.
[0025] In a third aspect, an embodiment of the present application provides a YTF tuning device, including a housing, a communication interface, and a memory and a processor disposed in the housing;
[0026] The communication interface is used to connect to a device to be YTF tuned or a spectrum analyzer;
[0027] The memory is used to store computer-executed programs or instructions; the processor is used to execute the computer-executed programs or instructions to implement the YTF tuning method as described in any embodiment of the first aspect.
[0028] In a fourth aspect, an embodiment of the present application provides a spectrum analyzer system, comprising a spectrum analyzer, and a driving device connected to the spectrum analyzer via a connection interface;
[0029] The spectrum analyzer includes at least a radio frequency input module, a mixing and local oscillator processing module, an intermediate frequency processing module, and a detection and display module; the radio frequency input module is used to obtain an input signal; the mixing and local oscillator processing module is used to mix input signals of different frequencies with local oscillator signals to generate corresponding intermediate frequency signals; the intermediate frequency processing module includes at least a YIG tunable bandpass filter; the intermediate frequency processing module is used to perform gain amplification and filtering on the intermediate frequency signal; the detection and display module is used to perform detection processing on the intermediate frequency signal after intermediate frequency processing, convert it into a DC or video signal for output and display;
[0030] The driving device is connected to the YIG tunable bandpass filter through the connection interface; the driving device includes at least a memory and a processor; the memory is used to store programs or instructions executed by a computer; the processor is used to execute the computer-executed program or instructions to implement the YTF tuning method as described in any embodiment of the first aspect.
[0031] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the spectrum analyzer YTF tuning method as described in any embodiment of the first aspect is implemented.
[0032] The YTF tuning method for a spectrum analyzer provided by an embodiment of the present application, as well as a driving device, a YTF tuning device, and a spectrum analyzer system for implementing the tuning method, are as follows: after the spectrum analyzer completes the previous frequency scan and before starting the next frequency scan, the YTF tuning frequency of the spectrum analyzer is first configured to a first value greater than the frequency starting value of the next scan; after the YTF tuning frequency is stabilized, the YTF tuning frequency is again configured to a second value less than the frequency starting value of the next scan to accurately cover the frequency range of the subsequent scan of the spectrum analyzer; after the YTF tuning frequency is stabilized again, a series of frequency starting values toward the next scan obtained according to a preset frequency configuration strategy gradually approach the configured frequency, and the YTF tuning frequency is configured multiple times until the YTF tuning frequency reaches the frequency starting value of the next scan, thereby ensuring that the spectrum analyzer can smoothly perform the next frequency scan. The gradual approximation configuration scheme proposed in the present application has a small frequency adjustment each time, which saves the waiting time of the YTF tuning process and solves the problem of connecting the YTF tuning demagnetization process with the start of the next scan; at the same time, it also allows the YTF to have sufficient time to respond, reduces the influence of frequency mutation or frequency offset caused by transient effects and hysteresis effects, and ensures the accuracy and stability of the spectrum analyzer output.
[0033] In addition, the present application also provides a computer-readable storage medium, which has the same beneficial effects as the above-mentioned spectrum analyzer YTF tuning method. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0035] Figure 1 The present invention provides a flowchart of a YTF tuning method for a spectrum analyzer according to an embodiment of the present invention.
[0036] Figure 2 A flowchart of a method for calculating configuration frequency provided by one embodiment of the present application.
[0037] Figure 3 A flowchart of a method for calculating configuration frequency provided in another embodiment of the present application.
[0038] Figure 4 This is a tuning frequency curve diagram obtained by calculating different nonlinear functions provided in an embodiment of the present application.
[0039] Figure 5 A schematic diagram of the structure of a driving device for YTF tuning of a spectrum analyzer provided in one embodiment of the present application.
[0040] Figure 6 This is a schematic diagram of the interface of a YTF tuning device provided for one embodiment of the present application.
[0041] Figure 7 This is a schematic diagram of the structure of a spectrum analyzer system provided by an embodiment of the present application.
[0042] The above drawings illustrate specific embodiments of the present application, which will be described in more detail below. These drawings and the textual description are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0043] The present invention will be further described in detail below by means of specific embodiments in conjunction with the accompanying drawings. Similar elements in different embodiments are numbered with associated similar elements. In the following embodiments, many detailed descriptions are provided to enable the present application to be better understood. However, those skilled in the art will readily appreciate that some of the features may be omitted in different circumstances, or may be replaced by other elements, materials, or methods. In some cases, some operations related to the present application are not shown or described in the specification. This is to avoid the core portion of the present application being overwhelmed by excessive descriptions, and for those skilled in the art, it is not necessary to describe these related operations in detail. They will fully understand the related operations based on the description in the specification and the general technical knowledge in the art.
[0044] In addition, the features, operations, or characteristics described in the specification may be combined in any appropriate manner to form various embodiments. Furthermore, the steps or actions in the method description may be reordered or adjusted in a manner readily apparent to those skilled in the art. Therefore, the various sequences in the specification and drawings are provided solely for the purpose of clearly describing a particular embodiment and are not intended to be mandatory, unless otherwise specified.
[0045] The terms "first," "second," and so on, in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein. Furthermore, the objects distinguished by "first," "second," and so on generally refer to a class and do not limit the number of objects. For example, the first object can be one or more. Furthermore, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship. The terms "connection" and "coupling" used in this application, unless otherwise specified, include both direct and indirect connections (couplings).
[0046] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0047] Figure 1 This is a flow chart of a YTF tuning method for a spectrum analyzer provided in one embodiment of the present application. YTF tuning of a spectrum analyzer is a delicate and orderly process, which aims to ensure that the spectrum analyzer can be accurately and stably tuned to the target frequency when performing frequency scanning. Figure 1 As shown, the YTF tuning method of the spectrum analyzer provided in this embodiment specifically includes the following steps:
[0048] Step S110 : After the spectrum analyzer completes the previous frequency scan and before starting the next frequency scan, configure the YTF tuning frequency of the spectrum analyzer to a first value; wherein the first value is greater than the frequency starting value of the next scan.
[0049] Understandably, YIG tunable bandpass filters (YTFs) are widely used in the RF front-end of spectrum analyzers. These filters, made of magnetic materials, exhibit hysteresis, causing the frequency response to lag behind the tuning current during spectrum analyzer tuning, severely impacting the YTF's tuning speed and accuracy. The YTF's tuning speed, accuracy, and tracking stability significantly impact the overall sweep speed and signal amplitude stability. Therefore, to ensure the sweep speed and amplitude accuracy and stability of the spectrum analyzer, it is necessary to reconfigure the YTF's tuning frequency after the previous frequency sweep and before the next. This calibrates the frequency response and compensates for frequency drift caused by temperature, aging, or hysteresis.
[0050] In this embodiment, before the spectrum analyzer begins its next frequency sweep, the YTF tuning frequency of the spectrum analyzer is first set to a first value that is greater than the starting frequency value of the next sweep. This initial parameter configuration, which is greater than the starting frequency value of the next sweep, ensures that the spectrum analyzer's YTF filter covers the frequency range of the next sweep. This also provides the YTF with an initial "overtuned" state, ensuring sufficient adjustment margin during subsequent tuning. It also helps speed up tuning and reduce the time required for frequency stabilization.
[0051] In some embodiments, after the spectrum analyzer completes the previous frequency scan and before starting the next frequency scan, the first value of the YTF tuning frequency of the spectrum analyzer is initially configured to be the maximum value of the YTF tuning frequency, that is, the spectrum analyzer is configured to the YTF tuning frequency value corresponding to the maximum frequency.
[0052] Configuring the YTF to the maximum tuning frequency ensures that the filter covers the maximum frequency range for which it was designed, helping to accurately adjust to any desired frequency point during subsequent tuning. If the initial tuning frequency is set too low, some high-frequency signals may not be covered, resulting in a limited measurement range. Selecting the maximum tuning frequency during configuration avoids this frequency limitation.
[0053] The YIG (yttrium iron garnet) device in a YTF filter may exhibit hysteresis during frequency tuning, meaning that the frequency change lags behind changes in the control voltage or magnetic field. By initially setting the tuning frequency to its maximum value, the YIG device's magnetic domains are fully aligned, eliminating the frequency offset caused by hysteresis and ensuring accurate tuning during subsequent frequency tuning. Furthermore, the resonant frequency of a YIG device drifts with temperature. Setting the tuning frequency to its maximum value and waiting for stabilization allows the device to reach thermal equilibrium at its highest frequency. Tuning in thermal equilibrium reduces frequency offset due to temperature fluctuations and improves tuning stability.
[0054] Step S120: After being configured to the first value, the YTF tuning frequency is configured to the second value again after it is stabilized; wherein the second value is smaller than the starting value of the frequency for the next scan.
[0055] After the YTF is configured to the maximum tuning frequency, the YTF (internal YIG device) may produce transient responses due to magnetic domain rearrangement, resulting in frequency instability. Waiting for the YTF tuning frequency to stabilize allows the magnetic domains to fully align, eliminating these transient effects and reducing the influence of hysteresis and temperature drift to ensure frequency accuracy. After eliminating hysteresis, the tuning process is more linear, facilitating precise frequency control.
[0056] YTF tuning frequency stability means that during the tuning process of the YIG tuned bandpass filter, its output frequency can be maintained within a relatively stable range and is not significantly affected by external factors (such as temperature changes, power supply fluctuations, load changes, etc.).
[0057] After the YTF tuning frequency is configured to the first value and stabilizes, it is reconfigured to the second value. The first value is greater than the starting frequency value for the next scan, and the second value is less than the starting frequency value for the next scan. This fully covers the frequency range of the spectrum analyzer's next scan, ensuring the YTF operates properly across the entire frequency range. Reconfiguring the YTF tuning frequency to a value less than the starting frequency value for the next scan also prepares the spectrum analyzer for the next scan, reduces transient effects at the start of the scan, and improves scan stability. Furthermore, during the tuning process from a high value to a low value, residual hysteresis in the YIG device can be further eliminated, helping to improve tuning accuracy and linearity.
[0058] In some embodiments, after being configured to the first value and stabilizing, the second value of the spectrum analyzer YTF tuning frequency is configured to be the minimum value of the YTF tuning frequency. In some cases, the minimum value of the YTF tuning frequency is 0, which generally corresponds to no magnetic field or a minimum magnetic field state.
[0059] Configuring the spectrum analyzer's YTF tuning frequency, first to its maximum value and then to its minimum value, ensures proper operation of the YTF across the entire frequency range, helping to accurately cover the desired frequency range in subsequent sweeps. In some cases, setting the tuning frequency to 0 allows for testing the YTF's response at low frequencies (even DC). This may help eliminate residual magnetic field effects within the YTF and provide insights into its low-frequency performance, such as insertion loss and out-of-band rejection.
[0060] It should be noted that, in practice, YTF tuning is required before each scan of a spectrum analyzer to ensure scanning speed and accuracy. When frequency tuning is performed using this embodiment, the first and second values during each tuning process are fixed. That is, the first and second values configured in steps S110 and S120 of the YTF tuning method are fixed each time the YTF tuning method is executed. Therefore, to ensure coverage of the entire frequency range, the first value is the YTF tuning frequency corresponding to the maximum frequency configured for the spectrum analyzer, and the second value is 0.
[0061] Step S130: After being configured to the second value, the YTF tuning frequency is stabilized again, and the YTF tuning frequency is configured multiple times according to the configuration frequency obtained according to the preset frequency configuration strategy until the YTF tuning frequency reaches the frequency starting value of the next scan; wherein, the configuration frequency obtained according to the preset frequency configuration scheme gradually approaches the frequency starting value of the next scan.
[0062] During the YTF tuning process of the spectrum analyzer, after configuring the first value and the second value, if the tuning frequency is directly configured to the starting frequency value of the next scan, the tuning frequency will change significantly. At this time, the YTF may be overcharged due to the hysteresis effect. Then, after configuring it to the starting frequency value of the next scan, it will still take a long time for the tuning frequency to stabilize. If the waiting time is too long, the signal amplitude of the starting part of the scan will be unstable due to the hysteresis effect, which will seriously affect the speed and accuracy of the scan.
[0063] Therefore, in this embodiment, after the YTF tuning frequency is configured to the second value and stabilized again, the YTF tuning frequency is configured multiple times according to the configuration frequency obtained by the preset configuration strategy until the YTF tuning frequency reaches the frequency starting value of the next scan. The process of configuring the tuning frequency multiple times is a process of gradually approaching the frequency starting value of the next scan. Specifically, after the YTF tuning frequency is configured to the second value and stabilized again, a series of configuration frequencies that gradually approach the frequency starting value of the next scan are generated according to the preset frequency configuration strategy, and the YTF tuning frequency is configured to these values in turn, and the frequency is waited for to stabilize after each configuration, and the above steps are repeated until the YTF tuning frequency reaches the frequency starting value of the next scan. Through multiple configurations and adjustments, the tuning frequency of the YTF will eventually accurately reach the frequency starting value of the next scan, thereby ensuring that the spectrum analyzer can smoothly perform the next frequency scan.
[0064] Compared with the direct configuration scheme of directly configuring the frequency to the starting value of the next scan after being configured to the second value, the step-by-step approximation configuration scheme proposed in this embodiment has a smaller frequency adjustment each time, and the YTF has sufficient time to respond, which reduces the transient effect and avoids the frequency mutation that may cause the YTF output to be unstable; the step-by-step approximation configuration scheme also makes the YIG magnetic domains gradually arranged, reduces the hysteresis effect, and avoids the influence of the frequency offset caused by the hysteresis effect on the tuning accuracy; at the same time, because the YTF can work stably at each frequency point, it avoids overload of the YIG device, reduces the stress of the YIG device, and extends the life of the equipment.
[0065] In summary, the spectrum analyzer YTF tuning method provided in this embodiment configures the YTF tuning frequency of the spectrum analyzer to a first value greater than the frequency starting value of the next scan after the spectrum analyzer completes the previous frequency scan and before starting the next frequency scan; after the YTF tuning frequency stabilizes, the YTF tuning frequency is configured again to a second value less than the frequency starting value of the next scan to accurately cover the frequency range of subsequent scans of the spectrum analyzer; after the YTF tuning frequency stabilizes again, a series of frequency starting values toward the next scan obtained according to a preset frequency configuration strategy gradually approach the configured frequency, and the YTF tuning frequency is configured multiple times until the YTF tuning frequency reaches the frequency starting value of the next scan, thereby ensuring that the spectrum analyzer can smoothly perform the next frequency scan.
[0066] The progressive approximation configuration scheme proposed in this embodiment has a smaller frequency adjustment each time, which saves the waiting time of the YTF tuning process and solves the connection problem between the YTF tuning and demagnetization process and the start of the next scan; at the same time, it also allows the YTF sufficient time to respond, reduces the impact of frequency mutations or frequency offsets caused by transient effects and hysteresis effects, and ensures the accuracy and stability of the spectrum analyzer output.
[0067] In some embodiments, the preset frequency configuration strategy includes at least one of a static configuration strategy based on a mapping relationship between the configuration frequency and the number of configurations and a dynamic configuration strategy based on a functional relationship between the configuration frequency and the number of configurations; and the rate of change of the configuration frequency obtained according to the preset frequency configuration strategy changes from fast to slow.
[0068] It can be understood that the static configuration strategy is based on the mapping relationship between the configuration frequency and the number of configurations. Specifically, a series of fixed frequency point values are pre-set, and the YTF tuning frequency is configured in sequence according to these frequency point values. The static configuration is simple to implement and has a small amount of calculation. It is suitable for situations where the frequency range is small or the accuracy requirements are not high. The dynamic configuration strategy is based on the functional relationship between the configuration frequency and the number of configurations. The next frequency point value is calculated in real time, and then the YTF tuning frequency is configured in sequence according to the calculated frequency point values. Under normal circumstances, a lookup table of the mapping relationship between the configuration frequency and the number of configurations can be established, which is also convenient for verification during the configuration process. The dynamic configuration strategy has higher flexibility and accuracy, and is suitable for situations where high-precision approach to the target frequency is required. In some cases, when the accuracy requirements are not high, a static configuration strategy can be selected, and when the accuracy requirements are high, a dynamic configuration strategy can be selected.
[0069] In this embodiment, regardless of the static configuration strategy and / or the dynamic configuration strategy, in the process of configuring the YTF tuning frequency, the obtained configuration frequency gradually approaches the configuration frequency to the frequency starting value of the next scan, and its rate of change changes from fast to slow. That is to say, in the process of the configuration frequency gradually approaching the frequency starting value of the next scan, when the frequency starting value of the next scan is far away, the rate of change of the configuration frequency is fast, and it can quickly approach the target; when the frequency starting value of the next scan is close, the rate of change of the configuration frequency changes from fast to slow, and the configuration accuracy can be better controlled. The rate of change of the configuration frequency is defined as the step of the configuration frequency divided by the time interval, that is, the difference between the frequency of the Nth configuration and the frequency of the N-1th configuration divided by the time interval between the Nth configuration and the N-1th configuration.
[0070] In some embodiments, the rate of change of the configured frequency may be a change in steps from large to small at the same time interval; or a change in the same step at first short and then long time intervals.
[0071] The configured frequency changes in decreasing steps at the same time interval. This means that the configured frequency is adjusted in decreasing steps (i.e., the frequency delta) at the same time interval. Each frequency adjustment has the same time interval, and the frequency delta gradually decreases. In the initial stage, large steps are used to quickly approach the target frequency. In subsequent stages, the step size is gradually reduced to improve approximation accuracy and ensure stability, ultimately achieving a change in the configured frequency rate from fast to slow.
[0072] The configured frequency changes at the same step, first at short intervals and then at longer intervals. That is, the configured frequency is adjusted at the same step, first at short intervals and then at longer intervals. Each frequency change is the same, but the frequency adjustment intervals gradually increase. In the initial phase, the target frequency is quickly approached with short intervals. In subsequent phases, the intervals are gradually increased to improve approximation accuracy and ensure stability, ultimately achieving a gradual change in the configured frequency rate from fast to slow.
[0073] In general, the frequency change rate can be adjusted from fast to slow using either a step change strategy or a time interval change strategy. The step change strategy achieves a smooth approximation by gradually decreasing the frequency change, making it suitable for applications with small frequency ranges and low precision requirements. The time interval change strategy achieves a smooth approximation by gradually increasing the adjustment interval, making it suitable for applications with large frequency ranges and high precision requirements. By properly setting initial parameters, real-time monitoring and adjustment, and recording and analyzing data, you can ensure that the YTF operates stably at every frequency point, providing accurate and reliable results for subsequent scanning and measurement.
[0074] For the static configuration strategy, you only need to follow the above two methods, and pre-set a series of fixed frequency point values in steps from large to small at the same time interval, or in the same step at short then long time intervals. Then, configure the YTF tuning frequency multiple times according to these frequency point values, gradually approaching the frequency starting value of the next scan until the YTF tuning frequency reaches the frequency starting value of the next scan.
[0075] For the dynamic configuration strategy, it is necessary to follow the above two methods to determine the functional relationship between the configuration frequency and the number of configurations, and then calculate the next frequency point value in real time according to the determined functional relationship, and then configure the YTF tuning frequency in sequence according to the calculated frequency point value.
[0076] Figure 2 This is a flow chart of a method for calculating configuration frequency provided by an embodiment of the present application. Figure 2 As shown, the method for calculating the configuration frequency provided in this embodiment is applied to the case where the configuration frequency changes in a step from large to small at the same time interval, and specifically includes the following steps:
[0077] Step S210: Obtain the frequency starting value, total number of configurations, and total configuration time for the next scan.
[0078] In a spectrum analyzer, parameters such as the frequency start value, total number of tuning frequency configurations, and total configuration time can be set by the user based on actual needs. The frequency start value is the frequency point at which the spectrum analyzer begins measurement. The user can select an appropriate starting value based on the frequency range of the signal to be measured. During the frequency tuning process, the total number of configurations refers to the total number of times the spectrum analyzer needs to change its tuning frequency to cover the entire measurement range. The user can indirectly influence the number of tuning frequency configurations by setting parameters such as the measurement range and resolution bandwidth. The total configuration time refers to the total time required for the spectrum analyzer to complete all configurations (including tuning frequency, gain setting, filter selection, etc.) from the time the measurement is started.
[0079] Step S220: Determine the configuration time interval according to the total number of configurations and the total configuration time.
[0080] In some embodiments, the time interval between each configuration may be T / B ,in, T is the total configuration time, B is the total number of configurations.
[0081] The starting frequency of the scan is generally determined by the spectrum analyzer's frequency point. The total number of configurations is determined based on the application scenario and accuracy requirements. If the total number of configurations is too small, the configuration accuracy curve will be insufficiently accurate, failing to effectively mitigate overcharging effects. If the total number of configurations is too large, the configuration itself will be time-consuming. In a preferred embodiment, the total number of configurations can be set between 200 and 500.
[0082] Step S230: Construct a nonlinear function of the configuration frequency obtained each time according to the frequency starting value of the next scan and the total number of configurations.
[0083] Step S240: Calculate and obtain the configuration frequency of each configuration according to the nonlinear function.
[0084] In other words, when the configuration frequency changes from large to small steps at the same time interval, the step of each configuration frequency is calculated based on the nonlinear function determined by the frequency starting value of the next scan, the total number of configurations and the configuration sequence number of this time. At this time, the fixed configuration time interval is set. In some cases, the time interval of each configuration can be set to T / B .
[0085] In some embodiments, the nonlinear function includes at least one of an exponential function, a logarithmic function, and a quadratic function. In some embodiments, if the nonlinear function for configuring the frequency is an exponential function, a nonlinear function for each obtained configuration frequency can be constructed based on the starting frequency value of the next scan, the total number of configurations, and the current configuration sequence number: f( x )= A ×(1- e -x / B ) / (1- e -1 ),in, f ( x ) is the configuration frequency of each configuration, x The configuration sequence number, 1≤ x ≤ B , thereby obtaining the configuration frequency each time.
[0086] In some embodiments, if the nonlinear function of the configuration frequency is a logarithmic function, a nonlinear function of the configuration frequency obtained each time may be constructed based on the starting frequency value of the next scan, the total number of configurations, and the configuration sequence number of this time: f ( x ) = A× ( ln [( e- 1) x+B ] -lnB ),in, f ( x ) is the configuration frequency of each configuration, x The configuration sequence number, 1≤ x ≤ B , thereby obtaining the configuration frequency each time.
[0087] In some embodiments, if the nonlinear function of the configuration frequency is selected as a quadratic function, a nonlinear function of the configuration frequency obtained each time may be constructed based on the starting frequency value of the next scan, the total number of configurations, and the configuration sequence number of this time: f ( x ) = -Ax 2 / B 2 +2Ax / B ,in, f ( x ) is the configuration frequency of each configuration, x The configuration sequence number, 1≤ x ≤ B , thereby obtaining the configuration frequency each time.
[0088] Figure 3 This is a flow chart of a method for calculating configuration frequency provided by another embodiment of the present application. Figure 3 As shown, the method for calculating the configuration frequency provided in this embodiment is applied to the case where the configuration frequency changes at the same step according to a short-to-long time interval, and specifically includes the following steps:
[0089] Step S310: Obtain the frequency starting value, total number of configurations, and total configuration time for the next scan.
[0090] Step S320: Determine the configuration step according to the frequency starting value of the next scan and the total number of configurations.
[0091] In some embodiments, the frequency step determined for each configuration is A / B ,in, A is the starting frequency value for the next scan, B is the total number of configurations.
[0092] Step S330: Construct a nonlinear function of the configuration frequency obtained each time according to the total number of configurations and the total configuration time.
[0093] Step S340: Calculate and obtain the configuration frequency of each configuration according to the nonlinear function.
[0094] In other words, when the configuration frequency changes at the same step according to the time interval from short to long, the time interval of each configuration is calculated based on the nonlinear function determined by the total configuration time, the total number of configurations and the configuration sequence number. At this time, a fixed configuration frequency step is set. In some cases, the step of each configuration frequency can be set to A / B .
[0095] In some embodiments, the nonlinear function includes at least one of an exponential function, a logarithmic function, and a quadratic function.
[0096] In some embodiments, if the nonlinear function of the configuration frequency is selected as an exponential function, a nonlinear function of the configuration frequency obtained each time can be constructed based on the starting value of the frequency of the next scan, the total number of configurations, and the sequence number of the current configuration: t ( x ) =T× ( e x / B -1 ) / ( e-1 ),in, t ( x ) is the configuration frequency of each configuration, x The configuration sequence number, 1≤ x ≤ B , thereby obtaining the configuration frequency each time.
[0097] In some embodiments, if the nonlinear function of the configuration frequency is a logarithmic function, a nonlinear function of the configuration frequency obtained each time may be constructed based on the starting frequency value of the next scan, the total number of configurations, and the configuration sequence number of this time: t ( x )=T ×( lneB- [ ln ( 1-e ) x+eB ]),in, t ( x ) is the configuration frequency of each configuration, x The configuration sequence number, 1≤ x ≤ B , thereby obtaining the configuration frequency each time.
[0098] In some embodiments, if the nonlinear function of the configuration frequency is selected as a quadratic function, a nonlinear function of the configuration frequency obtained each time may be constructed based on the starting frequency value of the next scan, the total number of configurations, and the configuration sequence number of this time: t ( x ) =Tx 2 / B 2 ,in, t ( x ) is the configuration frequency of each configuration, x The configuration sequence number, 1≤ x ≤ B , thereby obtaining the configuration frequency each time.
[0099] In some embodiments, if the nonlinear function of the selected configuration frequency is a spliced function of at least two of the exponential function, the logarithmic function and the quadratic function, then the technical effect of any of the above-mentioned embodiments can be achieved as long as the frequency tuning curve after splicing satisfies the change rate from fast to slow, and a series of frequency starting values toward the next scan obtained through the preset frequency configuration strategy gradually approach the configuration frequency, and the YTF tuning frequency is configured multiple times until the YTF tuning frequency reaches the frequency starting value of the next scan, thereby saving the waiting time of the YTF tuning process, solving the connection problem between the YTF tuning and demagnetization process and the start of the next scan, and ensuring that the spectrum analyzer can smoothly perform the next frequency scan.
[0100] Figure 4 This is a tuning frequency curve obtained by calculating different nonlinear functions provided in one embodiment of the present application. Figure 4As shown, the four curves represent the tuning frequency curves obtained by calculating the exponential function, logarithmic function, quadratic function and splicing function respectively. It can be seen that the strategy of configuring the tuning frequency multiple times makes the YTF tuning process smoother, and the suppression of the YTF hysteresis effect is more obvious. Each frequency adjustment is small, and the YTF has enough time to respond, which reduces the transient effect and avoids the frequency mutation that may cause the YTF output to be unstable; the gradual approximation configuration scheme also makes the YIG magnetic domains gradually arranged, reduces the hysteresis effect, and avoids the influence of the frequency offset caused by the hysteresis effect on the tuning accuracy; at the same time, since the YTF can work stably at each frequency point, the overload of the YIG device is avoided, the stress of the YIG device is reduced, and the equipment life is extended.
[0101] Figure 5 This is a schematic diagram of the structure of a driving device for YTF tuning of a spectrum analyzer provided by an embodiment of the present application. Figure 5 As shown, the driving device provided in this embodiment acts on the spectrum analyzer to achieve tuning of the YTF of the spectrum analyzer. The driving device provided in this embodiment includes at least a first configuration module 510 , a second configuration module 520 and a third configuration module 530 .
[0102] In this embodiment, the first configuration module 510 is used to configure the YTF tuning frequency of the spectrum analyzer to a first value after the spectrum analyzer completes the previous frequency scan and before starting the next frequency scan; wherein the first value is greater than the frequency starting value of the next scan.
[0103] The second configuration module 520 is used to configure the YTF tuning frequency to a second value after the YTF tuning frequency is configured to the first value and stabilizes; wherein the second value is smaller than the frequency starting value of the next scan.
[0104] The third configuration module 530 is used to configure the YTF tuning frequency multiple times according to the configuration frequency obtained by the preset frequency configuration scheme after the YTF tuning frequency is configured to the second value and stabilizes again, until the YTF tuning frequency reaches the frequency starting value of the next scan; wherein the configuration frequency gradually approaches the frequency starting value of the next scan.
[0105] It should be noted that the specific principles and execution processes of each module in the driving device for YTF tuning of the spectrum analyzer provided in the above embodiment are the same as the YTF tuning method of the spectrum analyzer shown in any of the above embodiments. Please refer to the corresponding parts of the YTF tuning method provided in any of the above embodiments. To avoid repetition, they will not be described here.
[0106] In this embodiment, through the proposed step-by-step approximation configuration scheme, each frequency adjustment is small, which saves the waiting time of the YTF tuning process and solves the connection problem between the YTF tuning and demagnetization process and the start of the next scan; at the same time, it also allows the YTF to have sufficient time to respond, reducing the impact of frequency mutations or frequency offsets caused by transient effects and hysteresis effects, and ensuring the accuracy and stability of the spectrum analyzer output.
[0107] In some embodiments, the driving device for tuning the spectrum analyzer YTF provided in the above embodiments further includes a tuning frequency calculation module 540 .
[0108] The tuning frequency calculation module 540 is configured to calculate each configured frequency according to a preset configuration strategy. The preset frequency configuration strategy includes at least one of a static configuration strategy based on a mapping relationship between the configured frequency and the number of configurations, and a dynamic configuration strategy based on a functional relationship between the configured frequency and the number of configurations. Furthermore, the rate of change of the configured frequency obtained according to the preset frequency configuration strategy changes from fast to slow.
[0109] In some embodiments, the rate of change of the configured frequency may be a change in steps from large to small at the same time interval; or a change in the same step at first short and then long time intervals.
[0110] In some embodiments, when the configuration frequency changes in steps from large to small at the same time interval, the step of each configuration frequency is calculated based on the nonlinear function determined by the frequency starting value of the next scan, the total number of configurations and the configuration sequence number of this time. At this time, a fixed configuration time interval is set. In some cases, the time interval of each configuration can be set to T / B .
[0111] In some embodiments, when the configuration frequency changes at the same step according to the time interval of first short and then long, the time interval of each configuration is calculated based on the nonlinear function determined by the total configuration time, the total number of configurations and the sequence number of this configuration. At this time, a fixed configuration frequency step is set. In some cases, the step of each configuration frequency can be set to A / B .
[0112] In some embodiments, the nonlinear function includes at least one of an exponential function, a logarithmic function, and a quadratic function.
[0113] In the drive device for YTF tuning of a spectrum analyzer provided in any of the above embodiments, each of the above modules can be implemented using a hardware device consisting of a processor and memory. Specifically, each of the above modules is stored in the memory as a program unit, and the processor executes the program unit stored in the memory to implement the YTF tuning process. The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be provided, and image security hardening can be achieved by adjusting kernel parameters.
[0114] Figure 6 This is a schematic diagram of the structure of a YTF tuning device according to an embodiment of the present application. Figure 6 As shown, the YTF tuning device provided by this embodiment at least includes a housing 610 , a communication interface 620 , and a memory 630 and a processor 640 disposed in the housing.
[0115] The communication interface 620 is configured to connect to a device or a spectrum analyzer to be YTF tuned. The memory 630 is configured to store computer-executable programs or instructions. The processor 640 is configured to execute the computer-executable programs or instructions to implement the YTF tuning method described in any of the above embodiments.
[0116] The processor 640 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. A computer-readable storage medium includes a computer-readable storage medium such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0117] In some embodiments, the memory 630 may be independent or integrated with the processor 640 .
[0118] Figure 7 This is a schematic diagram of the structure of a spectrum analyzer system provided by an embodiment of the present application. Figure 7 As shown, a spectrum analyzer system provided by this embodiment includes a spectrum analyzer 710 and a driving device 730 connected to the spectrum analyzer via a connection interface 720 .
[0119] The spectrum analyzer 710 includes at least a radio frequency input module 7101, a mixing and local oscillator processing module 7102, an intermediate frequency (IF) processing module 7103, and a detection and display module 7104. The RF input module 7101 is used to acquire input signals; the mixing and local oscillator processing module 7102 is used to mix input signals of different frequencies with the local oscillator signal to generate corresponding intermediate frequency (IF) signals; the IF processing module 7103 includes at least a YIG tunable bandpass filter for amplifying and filtering the IF signal; and the detection and display module 7104 is used to detect the IF signal after IF processing, convert it into a DC signal or video signal for output and display.
[0120] The drive device 730 is connected to the YIG tunable bandpass filter in the intermediate frequency processing module 7103 via a connection interface for frequency tuning. In some embodiments, the drive device 730 may be the drive device for YTF tuning of a spectrum analyzer described in any of the above embodiments, including a first configuration module, a second configuration module, a third configuration module, and a tuning frequency calculation module. In other embodiments, the drive device 730 may also include a memory and a processor; the memory is used to store computer-executable programs or instructions, and the processor is used to execute the computer-executable programs or instructions to implement the YTF tuning method described in any of the above embodiments.
[0121] The present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the tuning method embodiment of the spectrum analyzer YTF described in any of the above embodiments are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0122] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0123] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above embodiments can be implemented by hardware or by computer program. When all or part of the functions in the above embodiments are implemented by computer program, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above functions can be implemented. In addition, when all or part of the functions in the above embodiments are implemented by computer program, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and saved in the memory of the local device by downloading or copying, or the system of the local device is updated. When the program in the memory is executed by the processor, all or part of the functions in the above embodiments can be implemented.
[0124] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can make several simple deductions, modifications or substitutions based on the ideas of the present invention without departing from the scope of protection of the purpose of the present application and the claims. All of these are within the protection of the present application.
Claims
1. A YTF tuning method for a spectrum analyzer, characterized in that: include: After the spectrum analyzer completes a previous frequency scan and before starting a next frequency scan, configuring the YTF tuning frequency of the spectrum analyzer to a first value; wherein the first value is a YTF tuning frequency value corresponding to the maximum frequency configured for the spectrum analyzer; After being configured to the first value, the YTF tuning frequency is configured to a second value again after the YTF tuning frequency is stabilized; wherein the second value is 0; After being configured to the second value, after the YTF tuning frequency stabilizes again, the YTF tuning frequency is configured multiple times according to the configured frequency obtained by the preset frequency configuration strategy until the YTF tuning frequency reaches the frequency starting value of the next scan; wherein, the configured frequency obtained according to the preset frequency configuration strategy gradually approaches the frequency starting value of the next scan.
2. The YTF tuning method of a spectrum analyzer according to claim 1, wherein: The preset frequency configuration strategy includes at least one of a static configuration strategy based on a mapping relationship between the configuration frequency and the number of configurations and a dynamic configuration strategy based on a functional relationship between the configuration frequency and the number of configurations; Furthermore, the change rate of the configured frequency obtained according to the preset frequency configuration strategy changes from fast to slow.
3. The YTF tuning method of a spectrum analyzer according to claim 2, wherein: The change rate of the configured frequency satisfies: the configured frequency changes in a step from large to small at the same time interval; or the configured frequency changes in the same step at a time interval that is first short and then long.
4. The YTF tuning method of a spectrum analyzer according to claim 3, wherein: The configuration frequency changes in steps from large to small at the same time interval: the step of each configuration frequency is calculated based on a nonlinear function determined by the frequency starting value of the next scan, the total number of configurations and the configuration sequence number of this time, and the configuration time interval is T / B; Where T is the total configuration time and B is the total number of configurations.
5. The YTF tuning method of a spectrum analyzer according to claim 3, characterized in that: The configuration frequency changes at the same step according to a short-to-long time interval: the step of each configuration frequency is A / B, and the configuration time interval is calculated based on a nonlinear function determined by the total configuration time, the total number of configurations, and the current configuration sequence number; Where A is the starting frequency value for the next scan.
6. The YTF tuning method of a spectrum analyzer according to claim 4 or 5, characterized in that: The nonlinear function includes at least one of an exponential function, a logarithmic function, and a quadratic function.
7. A driving device for YTF tuning of a spectrum analyzer, characterized in that: include: A first configuration module is configured to configure the YTF tuning frequency of the spectrum analyzer to a first value after the spectrum analyzer completes a previous frequency scan and before starting a next frequency scan; wherein the first value configures the spectrum analyzer to a YTF tuning frequency value corresponding to a maximum frequency; A second configuration module is configured to configure the YTF tuning frequency to a second value after the YTF tuning frequency is configured to the first value and stabilizes; wherein the second value is 0; The third configuration module is used to, after being configured to the second value, wait for the YTF tuning frequency to stabilize again, and then configure the YTF tuning frequency multiple times according to the configuration frequency obtained according to the preset frequency configuration strategy until the YTF tuning frequency reaches the frequency starting value of the next scan; wherein, the configuration frequency obtained according to the preset frequency configuration strategy gradually approaches the frequency starting value of the next scan.
8. A YTF tuning device, characterized in that: It includes a housing, a communication interface, and a memory and a processor arranged in the housing; The communication interface is used to connect to a device to be YTF tuned or a spectrum analyzer; The memory is used to store programs or instructions executed by the computer; The processor is configured to execute the program or instruction executed by the computer to implement the YTF tuning method according to any one of claims 1 to 6.
9. A spectrum analyzer system, characterized in that: It includes a spectrum analyzer and a driving device connected to the spectrum analyzer via a connection interface; The spectrum analyzer includes at least a radio frequency input module, a frequency mixing and local oscillator processing module, an intermediate frequency processing module, and a detection and display module; the radio frequency input module is used to obtain an input signal; the frequency mixing and local oscillator processing module is used to mix input signals of different frequencies with local oscillator signals to generate corresponding intermediate frequency signals; the intermediate frequency processing module includes at least a YIG tunable bandpass filter; The intermediate frequency processing module is used to perform gain amplification and filtering on the intermediate frequency signal; the detection and display module is used to perform detection on the intermediate frequency signal after intermediate frequency processing, convert it into a DC or video signal for output and display; The driving device is connected to the YIG tunable bandpass filter through the connection interface; the driving device includes at least a memory and a processor; the memory is used to store programs or instructions executed by a computer; the processor is used to execute the programs or instructions executed by the computer to implement the YTF tuning method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the YTF tuning method according to any one of claims 1 to 6 when executed by a processor.
Citation Information
Patent Citations
Signal scanning method of spectrum analyzer and spectrum analyzer
CN111929499A
Rapid high-precision tuning method for YTF of frequency spectrograph
CN116184021A