Resonance frequency tracking method for NV color center current measurement probe and current measurement system

By obtaining the correspondence between the current value of the non-NV color center probe and the reference current value, the resonant frequency of the NV color center probe is estimated, and the microwave signal frequency is adjusted to reduce the frequency deviation. This solves the problem of insufficient response speed of the NV color center current sensor under transient conditions and realizes fast and accurate current measurement.

CN123136169APending Publication Date: 2026-11-20SOUTHERN POWER GRID SENSING TECHNOLOGY (GUANGDONG) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611198070.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-07
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing NV color center current sensors struggle to achieve accurate measurement quickly under transient conditions of instantaneous current changes, and frequency sweeping or locking takes a long time, resulting in insufficient response speed.

Method used

By acquiring the current value of the non-NV color center probe, the current state is determined, and based on the correspondence between the reference current value and the observed resonant frequency, the resonant frequency of the NV color center probe is estimated. The microwave signal frequency is adjusted to reduce the frequency deviation, a correspondence is constructed, the true resonant frequency is quickly fitted, and the tracking time is shortened.

Benefits of technology

The response speed of the NV color center probe under transient conditions has been improved, enabling fast and accurate current measurement and reducing the time required for resonant frequency tracking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123136169A_ABST
    Figure CN123136169A_ABST
Patent Text Reader

Abstract

The application relates to a resonance frequency tracking method of an NV color center current measurement probe and a current measurement system, and relates to the technical field of current measurement. The method comprises the following steps: acquiring an NV color center probe current value measured by an NV color center probe for a to-be-measured target, and determining a current state in a current measurement period; in the case that the current state is a transient state, determining a first estimated resonance frequency based on the NV color center probe current value and a corresponding relationship between a reference current value and an observed resonance frequency; and based on the first estimated resonance frequency, adjusting the frequency of a microwave signal applied to an NV color center in an NV color center probe, so that the frequency deviation amount between the frequency of the microwave signal and the real resonance frequency of the NV color center in the NV color center probe satisfies a preset deviation condition. By adopting the method, the response speed of the NV color center probe can be improved in the transient state, and thus the accurate measurement of the current can be quickly realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of current measurement technology, and in particular to a method for tracking the resonant frequency of an NV color center current measurement probe, a current measurement system, a device for tracking the resonant frequency of an NV color center current measurement probe, a computer device, a computer-readable storage medium, and a computer program product. Background Technology

[0002] Current measurement is a core component of power system monitoring, relay protection, energy metering, and fault diagnosis. With the deepening of the construction of new power systems, the high proportion of new energy integration, and the widespread application of power electronic equipment, power systems are becoming increasingly complex, placing higher demands on the accuracy of current measurement.

[0003] Among related technologies, NV color center current sensors, which rely on the principle of optical detection magnetic resonance, are widely used due to their advantages such as high measurement accuracy and strong anti-interference. However, their current measurement depends on the tracking of the resonant frequency through frequency sweeping or frequency locking. Frequency sweeping or frequency locking takes a long time and is difficult to respond accurately under transient conditions of instantaneous current changes, thus making it difficult to quickly achieve accurate current measurement. Summary of the Invention

[0004] Based on this, it is necessary to address the aforementioned technical problem of difficulty in quickly achieving accurate measurement under transient conditions by providing a resonant frequency tracking method, current measurement system, resonant frequency tracking device, computer equipment, computer-readable storage medium, and computer program product for NV color center current measurement probes that can improve the response speed of NV color center probes under transient conditions and thus quickly achieve accurate current measurement.

[0005] In a first aspect, this application provides a method for tracking the resonant frequency of an NV color core current measurement probe, including:

[0006] Obtain the non-NV color center probe current value measured against the target in the current measurement cycle, and determine the current state in the current measurement cycle; the non-NV color center probe is a probe other than the NV color center probe.

[0007] When the current state is transient, a first estimated resonance frequency is determined based on the current value of the non-NV color center probe and the correspondence between the reference current value and the observed resonance frequency. The correspondence between the reference current value and the observed resonance frequency is obtained based on the observation of the true resonance frequency of the NV color center in the NV color center probe under different reference environments. Different reference environments have different environmental conditions, and the environmental conditions include at least the reference current.

[0008] Based on the first estimated resonance frequency, the frequency of the microwave signal applied to the NV color center in the NV color center probe is adjusted so that the frequency deviation between the frequency of the microwave signal and the actual resonance frequency of the NV color center in the NV color center probe meets the preset deviation condition.

[0009] Secondly, this application also provides a current measurement system, comprising:

[0010] Non-NV color center probe; the non-NV color center probe is a probe other than the NV color center probe.

[0011] The NV color center probe;

[0012] The decision unit is used to acquire the non-NV color center probe current value measured by the non-NV color center probe against the target in the current measurement cycle, and determine the current state in the current measurement cycle; when the current state is transient, based on the non-NV color center probe current value and the correspondence between the reference current value and the observed resonance frequency, a first estimated resonance frequency is determined; the correspondence between the reference current value and the observed resonance frequency is based on the observation of the true resonance frequency of the NV color center in the NV color center probe under different reference environments, and different reference environments have different environmental conditions, the environmental conditions including at least the reference current;

[0013] The control unit is configured to apply a microwave signal to the NV color center within the NV color center probe, so that the NV color center probe responds to the target under test and outputs a corresponding fluorescence signal in response to the microwave signal; when the current state is transient, based on the first estimated resonant frequency, the frequency of the microwave signal applied to the NV color center within the NV color center probe is adjusted so that the frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center within the NV color center probe meets a preset deviation condition;

[0014] The decision unit is further configured to determine, based on the current microwave frequency of the microwave signal and the correspondence between the reference current value and the observed resonant frequency, the NV color center probe current value measured by the NV color center probe for the target under test in the current measurement period; and based on the NV color center probe current value, determine the target current value of the target under test in the current measurement period.

[0015] Thirdly, this application also provides a resonant frequency tracking device for an NV color core current measurement probe, comprising:

[0016] The current acquisition module is used to acquire the non-NV color center probe current value measured by the non-NV color center probe against the target under test during the current measurement cycle; the non-NV color center probe is a probe other than the NV color center probe.

[0017] The state determination module is used to determine the current state within the current measurement cycle;

[0018] The frequency fitting module is used to determine a first estimated resonance frequency based on the current value of the non-NV color center probe and the correspondence between the reference current value and the observed resonance frequency when the current state is transient. The correspondence between the reference current value and the observed resonance frequency is obtained based on the observation of the true resonance frequency of the NV color center in the NV color center probe under different reference environments. Different reference environments have different environmental conditions, and the environmental conditions include at least the reference current.

[0019] The frequency adjustment module is used to adjust the frequency of the microwave signal applied to the NV color center in the NV color center probe based on the first estimated resonant frequency, so that the frequency deviation between the frequency of the microwave signal and the actual resonant frequency of the NV color center in the NV color center probe meets a preset deviation condition.

[0020] Fourthly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the resonant frequency tracking method of the NV color core current measurement probe.

[0021] Fifthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the resonant frequency tracking method of the NV color core current measurement probe.

[0022] Sixthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps in the resonant frequency tracking method of the NV color core current measurement probe.

[0023] The aforementioned resonant frequency tracking method, current measurement system, resonant frequency tracking device, computer equipment, computer-readable storage medium, and computer program product for NV color center current measurement probes first acquire the non-NV color center probe current value measured against the target in the current measurement cycle to determine the current state in the current measurement cycle; the non-NV color center probe is a probe other than the NV color center probe; then, when the current state is transient, a first estimated resonant frequency is determined based on the non-NV color center probe current value and the correspondence between the reference current value and the observed resonant frequency; the correspondence between the reference current value and the observed resonant frequency is obtained based on the observation of the true resonant frequency of the NV color center within the NV color center probe under different reference environments, where different reference environments have different environmental conditions, including at least the reference current; next, based on the first estimated resonant frequency, the frequency of the microwave signal applied to the NV color center within the NV color center probe is adjusted so that the frequency deviation between the microwave signal frequency and the true resonant frequency of the NV color center within the NV color center probe meets a preset deviation condition. Thus, by observing the true resonant frequency of the NV center within the NV center probe under different reference environments with varying reference currents, a correspondence between the reference current value and the observed resonant frequency can be established. Based on the non-NV center probe current value measured against the target in the current measurement cycle, and the established correspondence between the reference current value and the observed resonant frequency, a first estimated resonant frequency for fitting the true resonant frequency of the NV center within the NV center probe can be quickly determined under the target. Based on the first estimated resonant frequency, adjusting the frequency of the microwave signal applied to the NV center within the NV center probe can shorten the measurement time. The small resonant frequency tracking range reduces the time required for resonant frequency tracking. Compared with the frequency sweeping or frequency locking schemes in traditional resonant frequency tracking methods, the resonant frequency tracking method of the NV color center current measurement probe based on the above process can quickly determine the first estimated resonant frequency used to fit the true resonant frequency of the NV color center in the NV color center probe based on the correspondence between the reference current value and the observed resonant frequency. Based on the first estimated resonant frequency, the resonant frequency tracking range can be narrowed, thereby reducing the time required for resonant frequency tracking. Therefore, the response speed of the NV color center probe under transient current changes is improved, thus quickly realizing accurate current measurement. Attached Figure Description

[0024] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only one embodiment of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 This is a schematic diagram of the architecture of a current measurement system in one embodiment;

[0026] Figure 2 This is a flowchart illustrating the resonant frequency tracking method of an NV color core current measurement probe in one embodiment.

[0027] Figure 3 This is a flowchart illustrating the steps for determining the current state in one embodiment;

[0028] Figure 4 This is a flowchart illustrating the transient current measurement process in one embodiment;

[0029] Figure 5 This is a flowchart illustrating the steady-state current measurement process in one embodiment;

[0030] Figure 6 This is a structural block diagram of the resonant frequency tracking device for an NV color core current measurement probe in one embodiment;

[0031] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0032] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0033] It is understood that terms such as "first" and "second" in this application are used only to distinguish similar objects and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. The term "connection" in the embodiments of this application refers to various connection methods, such as direct or indirect connections, to achieve communication between devices; this application does not impose any limitations on this.

[0034] It is understandable that "at least one" refers to one or more, while "multiple" refers to two or more.

[0035] When used herein, the singular forms of “a,” “an,” and “the” may also include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising / including” or “having,” etc., specify the presence of the stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not preclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. Meanwhile, the term “and / or” as used in this specification includes any and all combinations of the associated listed items.

[0036] The resonant frequency tracking method for the NV color core current measurement probe provided in this application embodiment can be applied to, for example... Figure 1 The current measurement system shown is further described as an NV color center quantum multi-probe collaborative current measurement system. This system measures the current value of the target object periodically; exemplarily, the measurement period is recommended to be 10–50 μs. See also... Figure 1 The system includes a non-NV color center probe, an NV color center probe, a control unit, a decision unit, and an analog-to-digital processing unit. Both the non-NV and NV color center probes are used to measure current. Furthermore, there is at least one non-NV and one NV color center probe, and their numbers can be the same or different. Non-NV color center probes include, but are not limited to, traditional probes that operate based on classical electromagnetic or magnetoresistive effects, such as tunnel magnetoresistance (TMR) probes, anisotropic magnetoresistance (AMR) probes, giant magnetoresistance (GMR) probes, Hall probes, fluxgate magnetometer probes, Rogowski coil probes, and current transformer (CT) probes. (See also...) Figure 1 The non-NV color center probe is connected to the decision unit through the analog-to-digital processing unit, and the control unit is connected to both the decision unit and the NV color center probe.

[0037] For example, the NV center probe includes a diamond NV center sensor chip, a photoexcitation and fluorescence collection assembly, and a bias magnet. The diamond NV center sensor chip uses high-purity diamond single-crystal material, and nitrogen vacancy defect centers (NV centers) are introduced into the diamond lattice through ion implantation or chemical vapor deposition (CVD) growth processes. The NV center concentration is preferably selected to be 10-1. 15 ~10 17 cm -3To balance fluorescence signal intensity and spin coherence time, diamond chips can be fabricated into bulk, thin film, or nanopillar structures. Furthermore, NV color centers are located along the diamond... <111> Crystal orientation is used to utilize the Zeeman splitting characteristic in a specific direction to achieve magnetic field vector measurement. The photoexcitation and fluorescence collection assembly includes an excitation source, optical filters and dichroic mirrors, and a photodetector. The excitation source uses a green laser diode (LD) or light-emitting diode (LED) with a wavelength of 520~532nm, and the output light power is optimized in the range of 1~100mW according to the NV color center concentration. The optical filter and dichroic mirror assembly is used to guide the excitation light into the diamond chip and separate the red fluorescence (wavelength 630~800 nm) emitted by the NV color centers. The photodetector uses a silicon photodiode (Si-PD) or an avalanche photodiode (APD) to convert the photofluorescence signal output by the NV color center probe into an electrofluorescence signal. The bias magnet uses a permanent magnet (such as a samarium cobalt or neodymium iron boron magnet) or an electromagnetic coil. A bias magnetic field of known strength (typically 1~100mT) is applied to the NV color center region, causing Zeeman splitting of the |±1> spinon energy levels of the NV color center to determine the current measurement operating point and distinguish the direction of the magnetic field. Furthermore, a solid-state spin system for the NV color center probe can be used as an alternative. The diamond NV color center can be replaced with diamond SiV color centers, GeV color centers, silicon carbide SiC color centers, hexagonal boron nitride h-BN color centers, etc., as long as magnetic field / current sensing can be achieved through resonant frequency shift and the demodulation time is significantly longer than the response time of traditional probes.

[0038] For example, the spatial relationship between the non-NV color center probe and the measured current should ensure that the sensitive axis direction of the non-NV color center probe is consistent with the direction of the magnetic field generated by the measured current or has a definite geometric mapping relationship. The analog-to-digital processing unit includes a signal conditioning circuit and an analog-to-digital converter (ADC). The signal conditioning circuit is used to condition the voltage signal output by the non-NV color center probe, and the ADC is used to perform analog-to-digital conversion on the signal-conditioned voltage signal. For scenarios that require measuring a large current range, a programmable gain amplifier (PGA) can be set in the signal conditioning circuit to adapt to different ranges. The resolution of the ADC is preferably not less than 16 bits, and the sampling rate is not less than 100 kS / s to ensure accurate capture of transient current waveforms.

[0039] For example, the control unit includes a microwave frequency synthesizer, a fluorescence signal processor, and a PID (Proportional-Integral-Derivative) controller. The microwave frequency synthesizer applies a microwave signal to the NV color center within the NV color center probe. The fluorescence signal processor modulates, locks-in amplifies, filters, and demodulates the fluorescence signal to extract the frequency deviation between the microwave signal frequency and the true resonant frequency of the NV color center within the NV color center probe. The frequency-locking controller calculates the frequency adjustment of the microwave signal based on a PID control algorithm, using the frequency deviation as input. For example, the PID control algorithm includes, but is not limited to, standard PID, fuzzy PID, and adaptive PID. Furthermore, the PID control algorithm can be replaced by PI (Proportional-Integral) control, model predictive control (MPC), or active disturbance rejection control (ADRC), etc. The microwave frequency synthesizer is also used to adjust the frequency of the microwave signal applied to the NV color center probe based on the frequency adjustment command issued by the decision unit or the frequency adjustment amount calculated by the frequency locking controller. The control unit can be implemented in hardware based on platforms such as Field Programmable Gate Array (FPGA), Digital Signal Processor (DSP), Microcontroller Unit (MCU), or System on Chip (SoC). FPGA is recommended as the core control platform, utilizing its high-speed parallel processing capabilities and deterministic timing characteristics to achieve low-latency execution of microwave frequency control and demodulation algorithms. The FPGA, in conjunction with a high-speed digital-to-analog converter (DAC), constitutes a complete digital frequency locking control system.

[0040] For example, the decision-making unit can be implemented using high-performance MCUs, DSPs, FPGAs, or SoCs. Platforms with hardware floating-point units (FPUs) are recommended to meet the real-time requirements of the algorithm under transient conditions. Data communication between the decision-making unit and the control unit is achieved via a high-speed serial bus or parallel bus.

[0041] The non-NV color center probe is used to output a corresponding voltage signal in response to the target under test (corresponding current environment); the analog-to-digital processing unit is used to perform analog-to-digital conversion processing on the voltage signal output by the non-NV color center probe to obtain the initial current value measured by the non-NV color center probe for the target under test; the decision unit is used to determine the non-NV color center probe current value measured by the non-NV color center probe for the target under test based on the initial current value measured by the non-NV color center probe for the target under test.

[0042] It should be noted that the NV color center of the NV color center probe has a linear operating region. Within this linear operating region, the resonant frequency of the NV color center is related to the magnetic field generated by the measured current. Therefore, if the true resonant frequency of the NV color center is known, the magnetic field generated by the measured current can be inferred, and the measured current can be calculated in reverse. However, the true resonant frequency of the NV color center is difficult to measure directly and can usually only be observed, with the observed resonant frequency regarded as its true resonant frequency. Frequency sweeping or frequency locking schemes are typically used to observe the resonant frequency of the NV color center and thus achieve resonant frequency tracking. Frequency sweeping involves applying microwaves of different frequencies to the NV color center within the full frequency range or a desired frequency range, while simultaneously acquiring the electrical signals of the fluorescence signals output by the NV color center probe to plot an ODMR spectrum (Optically Detected Magnetic Resonance, where the horizontal axis represents microwave frequency and the vertical axis represents fluorescence intensity). The frequency corresponding to the depression in the ODMR spectrum is then considered the true resonant frequency. Frequency locking, on the other hand, involves extracting the frequency of the microwave signal from the fluorescence signal output by the NV color center probe and determining the frequency deviation between it and the true resonant frequency of the NV color center within the probe. A PID closed-loop frequency locking algorithm is then used to control this deviation. When the frequency deviation is sufficiently small, the microwave frequency can be considered the true resonant frequency.

[0043] The control unit is used to apply a microwave signal to the NV color center in the NV color center probe and to adjust the frequency of the microwave signal so that the frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center in the NV color center probe meets a preset deviation condition; the NV color center probe is used to output a corresponding fluorescence signal in response to the target under test (corresponding current environment) and the microwave signal; the decision unit is also used to determine the NV color center probe current value measured by the NV color center probe for the target under test based on the current microwave frequency of the microwave signal.

[0044] The decision unit is used to acquire the non-NV color center probe current value measured by the non-NV color center probe against the target in the current measurement cycle, and to determine the current state in the current measurement cycle. The non-NV color center probe is any probe other than the NV color center probe. When the current state is transient, a first estimated resonance frequency is determined based on the non-NV color center probe current value and the correspondence between the reference current value and the observed resonance frequency. The correspondence between the reference current value and the observed resonance frequency is based on the observation of the true resonance frequency of the NV color center within the NV color center probe under different reference environments. Different reference environments have different environmental conditions, including at least the reference current.

[0045] The control unit is used to adjust the frequency of the microwave signal applied to the NV color center in the NV color center probe based on the first estimated resonance frequency, so that the frequency deviation between the frequency of the microwave signal and the actual resonance frequency of the NV color center in the NV color center probe meets the preset deviation condition.

[0046] In one embodiment, such as Figure 2 As shown, a resonant frequency tracking method for an NV color core current measurement probe is provided, which can be applied to... Figure 1 Taking the current measurement system shown as an example, the method includes the following steps:

[0047] Step S202: Obtain the non-NV color center probe current value measured by the non-NV color center probe for the target under test in the current measurement cycle, and determine the current state in the current measurement cycle.

[0048] The target to be measured refers to the object on which the current to be measured is located, including but not limited to the environment, circuits, lines, systems, and equipment.

[0049] Non-NV color center probes include, but are not limited to, traditional probes that rely on classical electromagnetic or magnetoresistive effects, such as tunnel magnetoresistive probes, anisotropic magnetoresistive probes, giant magnetoresistive probes, Hall effect probes, fluxgate magnetoresistive probes, Rogowski coil probes, and current inductance probes. The current value of a non-NV color center probe is the current value measured by the probe against the target object within the current measurement cycle.

[0050] The current state refers to the state of the target under test within the current measurement cycle; the current state can be any one of steady state, transient state, or transitional state. Transient state refers to a state of sudden current change, steady state refers to a state of relatively stable current, and transitional state refers to a state between transient and steady state.

[0051] In this step, firstly, the decision unit obtains the non-NV color center probe current values ​​measured by the non-NV color center probes against the target under test within the current measurement cycle. Furthermore, the decision unit can store these non-NV color center probe current values ​​for later retrieval. For example, when there are multiple non-NV color center probes, the decision unit takes the average of the non-NV color center probe current values ​​from each probe. Then, based on the non-NV color center probe current values, the decision unit determines the current state within the current measurement cycle in steady-state, transient, and transitional states. Furthermore, the decision unit can store these current states for later retrieval.

[0052] Step S204: When the current state is transient, the first estimated resonance frequency is determined based on the non-NV color center probe current value and the correspondence between the reference current value and the observed resonance frequency.

[0053] The correspondence between the reference current value and the observed resonant frequency is used to record the mapping relationship between different reference current values ​​and different observed resonant frequencies. Furthermore, the correspondence between the reference current value and the observed resonant frequency is a pre-calibrated If mapping relationship. This correspondence is based on the observation of the true resonant frequency of the NV color center within the NV color center probe under different reference environments. Different reference environments have different environmental conditions, which include at least the reference current; furthermore, the environmental conditions also include the reference temperature.

[0054] In this embodiment, the decision-making unit and the control unit adjust the frequency of the microwave signal applied to the NV color center within the NV color center probe based on the current state and employ a frequency adjustment strategy corresponding to the current state. This ensures that the frequency deviation between the microwave signal frequency and the true resonant frequency of the NV color center within the NV color center probe meets a preset deviation condition, thereby achieving resonance frequency tracking of the NV color center within the NV color center probe. For example, based on the current state, the decision-making unit issues a corresponding instruction to the control unit, causing the control unit to adjust the frequency of the microwave signal applied to the NV color center within the NV color center probe using a frequency adjustment strategy corresponding to the current state. Exemplarily, in this step, firstly, the decision-making unit substitutes the non-NV color center probe current value measured by the non-NV color center probe for the target under test within the current measurement cycle into the correspondence between the reference current value and the observed resonant frequency to determine the observed resonant frequency corresponding to the non-NV color center probe current value. That is, in the correspondence between the reference current value and the observed resonant frequency, the decision-making unit queries the observed resonant frequency corresponding to the non-NV color center probe current value. Then, the decision-making unit determines this observed resonant frequency corresponding to the non-NV color center probe current value as the first estimated resonant frequency.

[0055] Step S206: Based on the first estimated resonant frequency, adjust the frequency of the microwave signal applied to the NV color center in the NV color center probe so that the frequency deviation between the frequency of the microwave signal and the actual resonant frequency of the NV color center in the NV color center probe meets the preset deviation condition.

[0056] The frequency deviation meets the preset deviation condition, which means that the frequency deviation is small. For example, the preset deviation condition includes a preset deviation threshold. The frequency deviation meets the preset deviation condition, which means that the frequency deviation is less than or equal to the deviation threshold.

[0057] In this embodiment, the decision unit, based on the current state, employs a frequency adjustment strategy corresponding to the current state to adjust the frequency of the microwave signal applied to the NV color center within the NV color center probe. This ensures that the frequency deviation between the microwave signal frequency and the true resonant frequency of the NV color center within the probe meets a preset deviation condition, thereby achieving resonance frequency tracking of the NV color center within the probe. For example, based on the current state, the decision unit issues a corresponding command to the control unit, causing the control unit to adjust the frequency of the microwave signal applied to the NV color center within the probe using a frequency adjustment strategy corresponding to the current state. Exemplarily, in this step, the decision unit issues a frequency adjustment command carrying a first estimated resonant frequency to the control unit, causing the control unit to adjust the frequency of the microwave signal using the first estimated resonant frequency as a reference for frequency sweeping and / or frequency locking. For example, the frequency of the microwave signal is adjusted within a certain frequency range determined based on the first estimated resonant frequency, ensuring that the frequency deviation between the microwave signal frequency and the true resonant frequency of the NV color center within the probe meets the preset deviation condition.

[0058] In the above-mentioned method for tracking the resonant frequency of the NV color center current measurement probe, firstly, the current value of the non-NV color center probe measured by the non-NV color center probe against the target in the current measurement cycle is obtained to determine the current state in the current measurement cycle; the non-NV color center probe is a probe other than the NV color center probe; then, when the current state is transient, based on the non-NV color center probe current value and the correspondence between the reference current value and the observed resonant frequency, a first estimated resonant frequency is determined; the correspondence between the reference current value and the observed resonant frequency is obtained based on the observation of the true resonant frequency of the NV color center in the NV color center probe under different reference environments, and different reference environments have different environmental conditions, including at least the reference current; next, based on the first estimated resonant frequency, the frequency of the microwave signal applied to the NV color center in the NV color center probe is adjusted so that the frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center in the NV color center probe meets the preset deviation condition. Thus, by observing the true resonant frequency of the NV center within the NV center probe under different reference environments with varying reference currents, a correspondence between the reference current value and the observed resonant frequency can be established. Based on the non-NV center probe current value measured against the target in the current measurement cycle, and the established correspondence between the reference current value and the observed resonant frequency, a first estimated resonant frequency for fitting the true resonant frequency of the NV center within the NV center probe can be quickly determined under the target. Based on the first estimated resonant frequency, adjusting the frequency of the microwave signal applied to the NV center within the NV center probe can shorten the measurement time. The small resonant frequency tracking range reduces the time required for resonant frequency tracking. Compared with the frequency sweeping or frequency locking schemes in traditional resonant frequency tracking methods, the resonant frequency tracking method of the NV color center current measurement probe based on the above process can quickly determine the first estimated resonant frequency used to fit the true resonant frequency of the NV color center in the NV color center probe based on the correspondence between the reference current value and the observed resonant frequency. Based on the first estimated resonant frequency, the resonant frequency tracking range can be narrowed, thereby reducing the time required for resonant frequency tracking. Therefore, the response speed of the NV color center probe under transient current changes is improved, thus quickly realizing accurate current measurement.

[0059] In one embodiment, the steps in any embodiment of this application, based on the non-NV color center probe current value and the correspondence between the reference current value and the observed resonance frequency, to determine the first estimated resonance frequency, include the following steps: determining the observed resonance frequency corresponding to the non-NV color center probe current value based on the correspondence between the reference current value and the observed resonance frequency; and obtaining the first estimated resonance frequency based on the observed resonance frequency corresponding to the non-NV color center probe current value.

[0060] The steps in any embodiment of this application, which adjust the frequency of the microwave signal applied to the NV color center in the NV color center probe based on the first estimated resonance frequency, include the following steps: determining a target frequency range with the first estimated resonance frequency as the midpoint of the range and a preset floating range as the range range; adjusting the frequency of the microwave signal within the target frequency range to adjust the frequency of the microwave signal to the target frequency.

[0061] The preset floating range is determined when determining the correspondence between the reference current value and the observed resonant frequency.

[0062] Among them, the frequency deviation between the target frequency and the true resonant frequency of the NV color center in the NV color center probe is less than or equal to the deviation threshold.

[0063] In this embodiment, firstly, the decision unit substitutes the non-NV color center probe current value measured by the non-NV color center probe for the target under test within the current measurement cycle into the correspondence between the reference current value and the observed resonant frequency to determine the observed resonant frequency corresponding to the non-NV color center probe current value. That is, in the correspondence between the reference current value and the observed resonant frequency, the decision unit queries the observed resonant frequency corresponding to the non-NV color center probe current value. Then, the decision unit determines the observed resonant frequency corresponding to the non-NV color center probe current value as the first estimated resonant frequency, and uses the first estimated resonant frequency as the midpoint of the interval and a preset floating range as the interval range to determine the target frequency interval. For example, assuming the first estimated resonant frequency is... The preset floating range is Therefore, the target frequency range is Next, the control unit adjusts the frequency of the microwave signal within the target frequency range to adjust the frequency of the microwave signal to a target frequency where the frequency deviation between the microwave signal and the true resonant frequency of the NV color center in the NV color center probe is less than or equal to the deviation threshold.

[0064] In this embodiment, the approximate range of the true resonant frequency of the NV color center (target frequency range) can be preliminarily determined based on the current value of the non-NV color center probe. Based on this approximate range, a smaller resonant frequency tracking range can be defined. Compared with the frequency sweeping or frequency locking schemes in traditional resonant frequency tracking schemes, the resonant frequency tracking range is reduced, thereby reducing the time required for resonant frequency tracking. This improves the response speed of the NV color center probe under transient current changes, making up for the deficiency of the NV color center probe in responding quickly and accurately under instantaneous current changes, and thus quickly achieving accurate current measurement.

[0065] In one embodiment, the steps in any embodiment of this application, which involve adjusting the frequency of a microwave signal within a target frequency range to adjust the frequency of the microwave signal to the target frequency, include the following steps: adjusting the frequency of the microwave signal to a first estimated resonant frequency; determining a first frequency deviation between the first estimated resonant frequency and the actual resonant frequency of the NV center within the NV center probe based on the fluorescence signal output by the NV center probe in response to the target and the microwave signal at the first estimated resonant frequency; and adjusting the frequency of the microwave signal within the target frequency range based on the first frequency deviation, with the goal of reducing the frequency deviation between the frequency of the microwave signal and the actual resonant frequency of the NV center within the NV center probe, to adjust the frequency of the microwave signal to the target frequency.

[0066] In this embodiment, the decision-making unit and the control unit track the resonant frequency within the target frequency range through PID closed-loop frequency locking. The decision-making unit sends a frequency adjustment command carrying the first estimated resonant frequency (i.e., the midpoint of the target frequency range) to the control unit; the control unit adjusts the frequency of the microwave signal to the first estimated resonant frequency; the decision-making unit extracts the first frequency deviation between the first estimated resonant frequency and the actual resonant frequency of the NV color center in the NV color center probe from the fluorescence signal output by the NV color center probe in response to the target (corresponding current environment) and the microwave signal at the first estimated resonant frequency, and sends the first frequency deviation to the control unit; the control unit uses the first frequency deviation as the input of the PID closed-loop frequency locking control algorithm, with the goal of reducing the frequency deviation between the frequency of the microwave signal and the actual resonant frequency of the NV color center in the NV color center probe, and executes the PID closed-loop frequency locking control algorithm within the target frequency range to adjust the frequency of the microwave signal within the target frequency range, thereby adjusting the frequency of the microwave signal to the target frequency.

[0067] For example, the frequency hopping time of the control unit (the time to adjust the frequency of the microwave signal to the first estimated resonant frequency) should be controlled within 1 μs.

[0068] In this embodiment, since the first estimated resonant frequency is already quite close to the true resonant frequency (with an error of within 1000°C), the frequency is relatively close to the actual resonant frequency. Within the target frequency range, the PID closed-loop frequency locking algorithm can converge to the true resonant frequency within a few iterations (typically <30μs). Furthermore, by using frequency hopping (adjusting the microwave signal frequency to the first estimated resonant frequency) + local frequency locking (executing the PID closed-loop frequency locking algorithm within the target frequency range), resonant frequency tracking can be achieved quickly. Compared to traditional frequency sweeping or frequency locking schemes, the time required for resonant frequency tracking can be reduced from tens to hundreds of milliseconds to tens of microseconds. This improves the response speed of the NV color center probe under transient current changes, compensating for the NV color center probe's difficulty in responding quickly and accurately under transient current changes, thus enabling rapid and accurate current measurement.

[0069] In one embodiment, the steps in any embodiment of this application, which involve adjusting the frequency of a microwave signal within a target frequency range to adjust the frequency of the microwave signal to the target frequency, include: using the target frequency range as the adjustment starting point and a first preset step size as the adjustment step size, adjusting the frequency of the microwave signal to different first frequencies within the target frequency range, and acquiring the fluorescence signals output by the NV color center probe in response to the target and the microwave signals at each of the first frequencies; obtaining a first fluorescence intensity spectrum of the NV color center probe in the target frequency range based on the fluorescence signals output by the NV color center probe at each of the first frequencies; determining a second estimated resonance frequency based on the first fluorescence intensity spectrum; adjusting the frequency of the microwave signal to the second estimated resonance frequency; determining a second frequency deviation between the second estimated resonance frequency and the actual resonance frequency of the NV color center within the NV color center probe based on the fluorescence signals output by the NV color center probe in response to the target and the second estimated resonance frequency; and adjusting the frequency of the microwave signal to the target frequency based on the second frequency deviation, with the goal of reducing the frequency deviation between the frequency of the microwave signal and the actual resonance frequency of the NV color center within the NV color center probe.

[0070] In this embodiment, the decision-making unit and the control unit track the resonant frequency through coarse frequency sweep and PID closed-loop frequency locking within the target frequency range.

[0071] In the coarse frequency sweep stage: the decision unit uses the target frequency range as the starting point for adjustment and a relatively long first preset step size, such as 500 kHz / step, to adjust the frequency of the microwave signal to different first frequencies within the target frequency range. Simultaneously, it acquires the fluorescence signals output by the NV color center probe in response to the target under test (corresponding current environment) and the microwave signal at each first frequency. Then, it plots the first fluorescence intensity spectrum (ODMR spectrum) of the NV color center probe in the target frequency range. Next, the decision unit finds the depression position on the first fluorescence intensity spectrum and determines the frequency corresponding to the depression position as the second estimated resonance frequency.

[0072] In the PID closed-loop frequency locking stage: the decision unit sends a frequency adjustment command carrying the second estimated resonant frequency to the control unit; the control unit adjusts the frequency of the microwave signal to the second estimated resonant frequency; the decision unit extracts the second frequency deviation between the second estimated resonant frequency and the actual resonant frequency of the NV color center in the NV color center probe from the fluorescence signal output by the NV color center probe in response to the target (corresponding current environment) and the microwave signal at the second estimated resonant frequency, and sends the second frequency deviation to the control unit; the control unit uses the second frequency deviation as the input of the PID closed-loop frequency locking algorithm, with the goal of reducing the frequency deviation between the frequency of the microwave signal and the actual resonant frequency of the NV color center in the NV color center probe, and executes the PID closed-loop frequency locking algorithm within the target frequency range to adjust the frequency of the microwave signal within the target frequency range, thereby adjusting the frequency of the microwave signal to the target frequency.

[0073] In this embodiment, on the one hand, since the target frequency range is much smaller than the full frequency range or the expected resonant frequency range in the traditional frequency sweeping scheme, the coarse frequency sweep within the target frequency range can significantly reduce the time required for frequency sweeping compared to the traditional frequency sweeping scheme; on the other hand, since the target frequency range is already quite close to the true resonant frequency (with an error within...), Within the target frequency range, the PID closed-loop frequency locking algorithm can converge to the true resonant frequency within a few iterations (typically <30μs). Furthermore, by using coarse frequency hopping + local frequency locking within the target frequency range (executing the PID closed-loop frequency locking algorithm based on the second estimated resonant frequency obtained from the coarse frequency sweep), resonant frequency tracking can be achieved quickly. Compared to traditional frequency sweeping or frequency locking schemes, the time required for resonant frequency tracking can be compressed from tens to hundreds of milliseconds to tens of microseconds. This improves the response speed of the NV color center probe under transient current changes, compensating for the NV color center probe's difficulty in responding quickly and accurately under transient current changes, thus enabling rapid and accurate current measurement.

[0074] In one embodiment, the steps in any embodiment of this application, which involve adjusting the frequency of a microwave signal within a target frequency range to bring the microwave signal to the target frequency, include the following steps: using the target frequency range as the starting point and a second preset step size as the adjustment step size, adjusting the frequency of the microwave signal to different second frequencies within the target frequency range, and acquiring the fluorescence signals output by the NV color center probe in response to the target and the microwave signals at each second frequency; obtaining the second fluorescence intensity spectrum of the NV color center probe in the target frequency range based on the fluorescence signals output by the NV color center probe at each second frequency; determining the third estimated resonance frequency based on the second fluorescence intensity spectrum; and adjusting the frequency of the microwave signal to the third estimated resonance frequency to bring the microwave signal to the target frequency.

[0075] The second preset step size is smaller than the first preset step size.

[0076] In this embodiment, the decision-making unit and the control unit achieve resonance frequency tracking through rapid linear frequency sweep within the target frequency range. The decision-making unit uses the target frequency range as the adjustment starting point and a relatively short second preset step size as the adjustment step size to adjust the frequency of the microwave signal to different second frequencies within the target frequency range. Simultaneously, it acquires the fluorescence signals output by the NV color center probe in response to the target (corresponding current environment) and the microwave signals at each second frequency, and then plots the second fluorescence intensity spectrum (ODMR spectrum) of the NV color center probe within the target frequency range. Next, the decision-making unit locates a depression position on the second fluorescence intensity spectrum and determines the frequency corresponding to this depression position as the third estimated resonance frequency. Then, the decision-making unit sends a frequency adjustment command carrying the third estimated resonance frequency to the control unit. The control unit adjusts the frequency of the microwave signal to the third estimated resonance frequency to adjust the frequency of the microwave signal to the target frequency, that is, it determines the third estimated resonance frequency as the target frequency for adjustment.

[0077] In this embodiment, since the target frequency range is much smaller than the full frequency range or expected resonant frequency range in traditional frequency sweeping schemes, the coarse frequency sweep within the target frequency range can significantly reduce the time required for frequency sweeping compared to traditional frequency sweeping schemes. Furthermore, by sweeping within the target frequency range, resonant frequency tracking can be achieved quickly. Compared to traditional frequency sweeping or frequency locking schemes, the time required for resonant frequency tracking can be compressed from tens to hundreds of milliseconds to tens of microseconds. This improves the response speed of the NV color center probe under transient current changes, compensating for the NV color center probe's difficulty in responding quickly and accurately under transient current changes, thereby achieving rapid and accurate current measurement.

[0078] In one embodiment, the decision-making unit and the control unit track the resonant frequency through any one of the following methods: PID closed-loop frequency locking within the target frequency range, coarse frequency sweep within the target frequency range, and PID closed-loop frequency locking or fast linear frequency sweep within the target frequency range.

[0079] In one embodiment, the correspondence between the reference current value and the observed resonant frequency in any embodiment of this application is obtained through the following steps: for each reference environment, in the reference environment, the observed resonant frequency of the NV color center in the NV color center probe is obtained, and the reference current value measured by the non-NV color center probe for the reference environment is obtained; based on the observed resonant frequency and the reference current value in each reference environment, the correspondence between the reference current value and the observed resonant frequency is determined.

[0080] In this embodiment, during the initial deployment of the current measurement system, it is necessary to place the current measurement system in different reference environments to calibrate the correspondence between the reference current value and the observed resonant frequency. For each reference environment, the observed resonant frequency of the NV color center within the NV color center probe is obtained using a frequency sweeping scheme or a frequency locking scheme, and the reference current value measured by the non-NV color center probe for the reference environment is also obtained. Then, the observed resonant frequency and reference current value under different reference environments are fitted to determine the correspondence between the reference current value and the observed resonant frequency.

[0081] For example, a standard current of known amplitude is fed into the current measurement system. The amplitude of the standard current needs to be based on the full-scale range of the current measurement system (e.g., 0~5000A) and increased in increments of a certain step size (e.g., every 50A). At each current step, after the current stabilizes (stabilization criterion: current fluctuation amplitude <0.05% and lasting for more than 1 second), the reference current value measured by the non-NV color center probe and the observed resonant frequency of the NV color center in the NV color center probe are recorded, resulting in a set of (reference current value, observed resonant frequency) data pairs. Then, for all (reference current value, observed resonant frequency) data pairs, a polynomial fitting or linear interpolation method is used to fit the current-resonant frequency mapping relationship, resulting in a current-resonant frequency mapping function, a current-resonant frequency mapping curve, or a current-resonant frequency mapping table, thereby obtaining the correspondence between the reference current value and the observed resonant frequency. Furthermore, the above steps can be repeated at different temperatures to compensate for the influence of temperature changes on the zero-field splitting constant D of the NV color center.

[0082] For example, when constructing the correspondence between reference current values ​​and observed resonant frequencies, machine learning regression models such as artificial neural networks, support vector regression, and Gaussian process regression can also be used. When the relationship is influenced by multiple factors and presents a complex nonlinear mapping, data-driven machine learning methods have better predictive accuracy.

[0083] In this embodiment, the current-resonance frequency relationship of the current measurement system can be calibrated by using different reference environments. On the one hand, this facilitates the rapid and accurate adjustment of the frequency of the microwave signal applied to the NV color center in the NV color center probe, thereby enabling rapid and accurate tracking of the resonance frequency and improving the response speed of the NV color center probe under transient conditions. On the other hand, it facilitates the rapid and accurate back-calculation of the current value measured by the NV color center probe based on the current microwave frequency.

[0084] In one embodiment, the steps in any embodiment of this application, namely, obtaining the observed resonant frequency of the NV color center in the NV color center probe and obtaining the reference current value measured by the non-NV color center probe in the reference environment, include the following steps: obtaining the observed resonant frequency of the NV color center in the NV color center probe multiple times in the reference environment, and obtaining the reference current value measured by the non-NV color center probe in the reference environment multiple times.

[0085] The steps in any embodiment of this application, which determine the correspondence between the reference current value and the observed resonance frequency based on the observed resonance frequency and the reference current value in each reference environment, include the following steps: for each reference environment, determining the target observed resonance frequency in the reference environment based on the observed resonance frequency obtained multiple times in the reference environment, determining the target reference current value in the reference environment based on the reference current value obtained multiple times in the reference environment; and determining the correspondence between the reference current value and the observed resonance frequency based on the target observed resonance frequency and the target reference current value in each reference environment.

[0086] In this embodiment, each current step is measured repeatedly (e.g., 3 to 5 times) and the average value is used to construct the correspondence between the reference current value and the observed resonant frequency, so as to reduce the impact of random noise on the calibration accuracy.

[0087] For example, in each reference environment, the reference current value of the non-NV color center probe and the observed resonant frequency of the NV color center in the NV color center probe are acquired multiple times; then, the average value of the acquired reference current value is taken as the target reference current value in that reference environment, and the average value of the acquired observed resonant frequency is taken as the target observed resonant frequency in that reference environment; then, based on the target observed resonant frequency and the target reference current value in each reference environment, the correspondence between the reference current value and the observed resonant frequency is determined.

[0088] In this embodiment, by repeatedly measuring each current step multiple times and taking the average value to construct the correspondence between the reference current value and the observed resonant frequency, the influence of random noise on the calibration accuracy can be reduced, the calibration accuracy can be improved, and thus the accuracy of current measurement based on the correspondence between the reference current value and the observed resonant frequency can be improved.

[0089] In one embodiment, the application further includes the following steps: determining error information of the correspondence between the reference current value and the observed resonance frequency based on the observed resonance frequency obtained multiple times under each reference environment and the reference current value obtained multiple times; and determining a preset floating range based on the error information.

[0090] The preset floating range is used to determine the target frequency range, which is used to adjust the frequency of the microwave signal to the target frequency. The frequency deviation between the target frequency and the true resonant frequency of the NV color center in the NV color center probe is less than or equal to the deviation threshold.

[0091] In this embodiment, while constructing the correspondence between the reference current value and the observed resonance frequency based on the observed resonance frequency and the reference current value obtained multiple times under each reference environment, the root mean square error of the observed resonance frequency obtained multiple times under each reference environment can also be determined based on the observed resonance frequency and the reference current value obtained multiple times under each reference environment, and a preset floating range can be determined based on the root mean square error. For example, it is recommended that the preset floating range be 2 to 3 times the root mean square error to ensure that the real resonance frequency position is covered with high confidence (>99%).

[0092] In this embodiment, by using the observed resonant frequencies and reference current values ​​obtained multiple times under various reference environments, a preset floating range for defining the target frequency range can also be determined.

[0093] In one embodiment, resonant frequency tracking in the transition state is achieved using PID closed-loop frequency locking.

[0094] In one embodiment, the resonant frequency tracking in the transition state (i.e., the process of adjusting the frequency of the microwave signal applied to the NV color center probe) is similar to the process in the transient state, and will not be described again.

[0095] In one embodiment, after determining the current state in the current measurement cycle in any embodiment of this application, the steps further include the following steps: when the current state is in a steady state, based on the fluorescence signal output by the NV color center probe in response to the target under test and the microwave signal in the current measurement cycle, determine the third frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center in the NV color center probe; with the goal of reducing the third frequency deviation, adjust the frequency of the microwave signal so that the third frequency deviation is less than or equal to the deviation threshold.

[0096] In this embodiment, the decision unit adjusts the frequency of the microwave signal applied to the NV color center probe based on the current state and adopts a frequency adjustment strategy corresponding to the current state, so that the frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center probe meets the preset deviation condition, thereby realizing the tracking of the resonant frequency of the NV color center probe. For example, based on the current state, the decision unit issues a corresponding instruction to the control unit, so that the control unit adopts a frequency adjustment strategy corresponding to the current state to adjust the frequency of the microwave signal applied to the NV color center probe. For example, when the current state is steady, the decision unit tracks the resonant frequency by locking the frequency based on a PID closed-loop frequency locking control algorithm. The decision unit extracts the third frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center in the NV color center probe from the fluorescence signal output by the NV color center probe in response to the target (corresponding current environment) and the microwave signal, and sends the third frequency deviation to the control unit. The control unit uses the third frequency deviation as the input of the PID closed-loop frequency locking control algorithm, and adjusts the frequency of the microwave signal within the target frequency range with the goal of reducing the third frequency deviation, so that the third frequency deviation is less than or equal to the deviation threshold.

[0097] In this embodiment, under steady state, the third frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center in the NV color center probe can dynamically track the resonant frequency, thereby ensuring the measurement accuracy of the NV color center probe and thus ensuring the accuracy of the current measurement.

[0098] In one embodiment, the step of determining the current state in the current measurement cycle in any embodiment of this application includes the following steps: determining the current change rate information based on the current value of the non-NV color center probe and the historical non-NV color center probe current values ​​measured by the non-NV color center probe for the target under test in historical measurement cycles; and determining the current state in the current measurement cycle based on the current change rate information.

[0099] The historical measurement period is the measurement period preceding the current measurement period.

[0100] Among them, the historical non-NV color center probe current value is the current value obtained by the non-NV color center probe for the target under test within the historical measurement period.

[0101] Among them, the current change rate information is used to characterize how fast the current changes, for example, the absolute value of the current change rate.

[0102] In this embodiment, firstly, the decision unit acquires historical non-NV color center probe current values ​​measured against the target within historical measurement cycles. Based on the non-NV color center probe current values, historical non-NV color center probe current values, and the cycle duration of the measurement cycle, it calculates the current change rate from the historical measurement cycle to the current measurement cycle and takes its absolute value to obtain the current change speed information from the historical measurement cycle to the current measurement cycle. Then, based on the current change speed information and a preset current change speed threshold, the decision unit determines the current state within the current measurement cycle in steady state, transient state, and transition state. Furthermore, the decision unit can also store the current state for later retrieval.

[0103] For example, the non-NV color center probe is recorded in the first... The non-NV color center probe current value obtained from each measurement cycle is... The duration of the measurement period is denoted as . Therefore, the decision-making unit calculates the value from the first... The measurement cycle to the first Information on the rate of change of current over each measurement cycle:

[0104] (Formula 1)

[0105] in, For from the first The measurement cycle to the first Information on the rate of change of current over each measurement cycle.

[0106] In some embodiments, to improve the noise immunity of current change rate information, one or a combination of the following improvements may be adopted:

[0107] (1) Differential method after low-pass filtering, first for Apply a first-order IIR (1st-order InfiniteImpulse Response Low-Pass Filter) low-pass filter, as shown in Equation 2:

[0108] (Formula 2)

[0109] in, The filter time constant is typically 50~200μs; then the filtered... Calculate the difference to obtain This scheme can effectively suppress the interference of high-frequency noise on the calculation of current change rate information.

[0110] (2) Multi-point center difference method: This method uses the non-NV color center probe current values ​​from multiple measurement cycles to perform higher-order precision numerical differential calculations, such as the five-point center difference method shown in Formula 3:

[0111] (Formula 3)

[0112] This scheme can effectively suppress random noise while ensuring time accuracy.

[0113] (3) Sliding window linear regression method: In the sliding window data set consisting of the current measurement cycle and multiple historical measurement cycles before it, perform univariate linear regression on the non-NV color center probe current value and time in the sliding window data set. The regression slope is the estimated value of the current change rate information. It is recommended to take 5 to 20 measurement cycles for the sliding window length. For ease of calculation, the incremental recursive least squares formula can be used for updating.

[0114] In this embodiment, the current state can be determined based on the rate of change of the current, thereby improving the accuracy of the state determination.

[0115] In one embodiment, the steps in any embodiment of this application for determining the current state within the current measurement cycle based on the current change rate information include the following steps: if the current change rate information is greater than or equal to a first current change rate threshold, determine the current state as transient; if the current change rate information is less than the first current change rate threshold and greater than a second current change rate threshold, determine the current state as transitional; if the current change rate information is less than or equal to the second current change rate threshold, determine the current state as steady state.

[0116] The second current change rate threshold is less than the first current change rate threshold. For example, the first current change rate threshold should be greater than the maximum change rate that may occur under normal load. The second current change rate threshold is recommended to be 0.1% to 1% of the rated current change rate information, corresponding to the allowable normal load fluctuation range.

[0117] In this embodiment, the decision unit combines the current change rate information, a first current change rate threshold, and a second current change threshold to determine the current state within the current measurement cycle. If the current change rate information is greater than or equal to the first current change rate threshold, the current state is determined to be transient; if the current change rate information is less than the first current change rate threshold but greater than the second current change rate threshold, the current state is determined to be transitional; and if the current change rate information is less than or equal to the second current change rate threshold, the current state is determined to be steady-state.

[0118] For example, when the historical current state in the historical measurement period is different from the current state in the current measurement period, the decision unit sends a control mode switching command corresponding to the current state to the control unit, so that the control unit adopts the control mode corresponding to the current state to control the frequency of the microwave signal applied to the NV color center probe. For example, when switching from other current states to transient states, the decision unit sends a frequency hopping mode switching command to the control unit, so that the control unit adopts the frequency hopping mode to control the frequency of the microwave signal applied to the NV color center probe. When switching from other current states to steady state, the decision unit sends a closed-loop frequency locking mode switching command to the control unit, so that the control unit adopts the closed-loop frequency locking mode to control the frequency of the microwave signal applied to the NV color center probe.

[0119] In this embodiment, the current state can be determined based on the rate of change of the current, thereby improving the accuracy of the state determination.

[0120] In one embodiment, after determining the current change rate information in any embodiment of this application, the steps further include: if the current change rate information is greater than or equal to the mutation threshold, incrementing the first count; if the current change rate information is less than the mutation threshold, resetting the first count to the initial value of the first count.

[0121] In any embodiment of this application, after the current change rate information is greater than or equal to the first current change rate threshold, the following step is further included: if the first count is greater than or equal to the first count threshold, the current state is determined to be transient.

[0122] The abrupt change threshold is greater than the second current change rate threshold but less than the first current change rate threshold. For example, the abrupt change threshold is dynamically determined based on the real-time estimated current noise level; for instance, the moving standard deviation of the current change rate information is continuously calculated during steady-state conditions. , mutation threshold set up ,in, and A configurable scaling factor. For the rated current, when When increased (corresponding to high noise environment). Automatically increase to reduce the probability of false triggering, when When reduced (in a low-noise environment). To improve detection sensitivity, the sensitivity can be appropriately reduced.

[0123] The first count is used to record the number of consecutive measurement cycles in which the rate of change of current is greater than or equal to the abrupt change threshold.

[0124] Wherein, the first initial count value is less than the first count threshold; for example, it is recommended that the first count threshold be 3 to 5, and the first initial count value be 0.

[0125] In this embodiment, to effectively suppress false triggering of transient states caused by noise and interference, a multi-point debouncing strategy is adopted for transient state determination. A first count is set to record the duration or number of current abrupt changes. After calculating the current change rate information, if the current change rate information is greater than or equal to the abrupt change threshold, the first count is incremented, for example, by incrementing the first count. Further, the first count is incremented by 1. If the current change rate information is less than the abrupt change threshold, the first count is reset to its initial value, for example, by clearing the first count to 0. When determining the state, if the current change rate information is greater than or equal to the first current change rate threshold and the first count is greater than or equal to the first count threshold, that is, if the current change rate information is greater than or equal to the first current change rate threshold for multiple measurement cycles, the current state is determined to be transient.

[0126] Furthermore, it is recommended that the first current change rate threshold be 1.5 to 3 times the sudden change threshold to ensure that after entering the transient state under the multi-point debouncing strategy, it can stably remain in the transient state without immediately regressing.

[0127] In this embodiment, the first counting method can effectively suppress the false triggering of transients caused by noise and interference, and greatly improve the robustness and reliability of current measurement in complex electromagnetic environments.

[0128] In one embodiment, after determining the current change rate information in any embodiment of this application, the steps further include: if the current change rate information is less than or equal to a second current change rate threshold, incrementing the second count; if the current change rate information is greater than the second current change rate threshold, resetting the second count to the initial value of the second count.

[0129] In any embodiment of this application, after the current change rate information is less than or equal to the second current change rate threshold, the following steps are further included: if the second count is greater than or equal to the second count threshold, the current state is determined to be steady state; the initial value of the second count is less than the second count threshold.

[0130] The second counter is used to record the number of consecutive measurement cycles in which the current change rate information is less than or equal to the second current change rate threshold.

[0131] Wherein, the second initial count value is less than the second count threshold; for example, it is recommended that the second count threshold be 5 to 10, and the second initial count value be 0.

[0132] In this embodiment, to prevent premature entry into a steady state, a second counter is set up to record the duration or number of times the current stabilizes. After calculating the current rate of change information, if the current rate of change information is less than or equal to a second current rate of change threshold, the second counter is incremented, for example, by incrementing the second counter by 1. If the current rate of change information is greater than the second current rate of change threshold, the second counter is reset to its initial value, for example, by clearing the second counter to 0. When determining the state, if the current rate of change information is less than or equal to the second current rate of change threshold and the second counter is greater than or equal to the second counter threshold, that is, if the current rate of change information is less than or equal to the second current rate of change threshold for multiple measurement cycles, the current state is determined to be in a steady state.

[0133] In this embodiment, the second counting method can effectively prevent premature entry into steady state, greatly improving the robustness and reliability of current measurement in complex electromagnetic environments.

[0134] In one embodiment, the transition between states follows these rules:

[0135] (1) Entering a transient state: in If the first count is greater than or equal to the first count threshold, then enter a transient state;

[0136] (2) Transient state → Transitional state: In the transient state, In this case, it enters a transition state;

[0137] (3) Transition state → Steady state: In the transition state, And if the second count is greater than or equal to the second count threshold, it enters a steady state;

[0138] (4) Steady state → Transient state: Under steady state, in If the first count is greater than or equal to the first count threshold, then enter a transient state;

[0139] (5) Transition state → transient state: In the transition state, If the first count is greater than or equal to the first count threshold, the system enters a transient state.

[0140] In one embodiment, the steps in any embodiment of this application, after adjusting the frequency of the microwave signal applied to the NV color center in the NV color center probe based on the first estimated resonant frequency, so that the frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center in the NV color center probe meets a preset deviation condition, or, in any embodiment of this application, after adjusting the frequency of the microwave signal with the goal of reducing the third frequency deviation, so that the third frequency deviation is less than or equal to the deviation threshold, further include the following steps: obtaining the current microwave frequency of the microwave signal; determining the current value corresponding to the current microwave frequency based on the correspondence between the reference current value and the observed resonant frequency and the current microwave frequency; obtaining the NV color center probe current value measured by the NV color center probe for the target under test in the current measurement cycle based on the current value corresponding to the current microwave frequency; and determining the target current value of the target under test in the current measurement cycle based on the NV color center probe current value.

[0141] Among them, the NV color center probe current value is the current value measured by the NV color center probe for the target under test within the current measurement cycle.

[0142] In this embodiment, the decision unit obtains the current microwave frequency of the microwave signal, substitutes the current microwave frequency into the correspondence between the reference current value and the observed resonant frequency, and determines the reference current value corresponding to the current microwave frequency. That is, it queries the reference current value corresponding to the current microwave frequency in the correspondence between the reference current value and the observed resonant frequency. Then, the decision unit determines the reference current value corresponding to the current microwave frequency as the NV color center probe current value measured by the NV color center probe for the target under test in the current measurement period. For example, when there are multiple NV color center probes, the decision unit takes the average value of the NV color center probe current values ​​of each NV color center probe. Then, the decision unit determines the NV color center probe current value measured by the NV color center probe for the target under test in the current measurement period as the target current value of the target under test in the current measurement period. Alternatively, it combines the NV color center probe current value measured by the NV color center probe for the target under test in the current measurement period with the non-NV color center probe current value measured by the non-NV color center probe for the target under test in the current measurement period to determine the target current value of the target under test in the current measurement period.

[0143] In this embodiment, by using the pre-calibrated correspondence between the reference current value and the observed resonant frequency, the NV color center probe current value measured by the NV color center probe can be quickly deduced based on the current microwave frequency. This allows for the rapid and accurate determination of the target current value of the target under test within the current measurement period, thereby improving the accuracy of current measurement.

[0144] In one embodiment, the step of determining the target current value of the target under test in the current measurement cycle based on the NV color center probe current value includes the following steps: determining a first fusion weight of the non-NV color center probe current value and a second fusion weight of the NV color center probe current value; and fusing the non-NV color center probe current value and the NV color center probe current value based on the first fusion weight and the second fusion weight to obtain the target current value.

[0145] In the transient state, the first fusion weight is greater than the second fusion weight. In other words, in the transient state, the current value of the non-NV color center probe measured by the non-NV color center probe is the primary factor, and the current value of the NV color center probe measured by the NV color center probe is the secondary factor. In some embodiments, in the transient state, the first fusion weight is 1 and the second fusion weight is 0. In other words, in the transient state, it completely depends on the current value of the non-NV color center probe measured by the non-NV color center probe.

[0146] In this scenario, when the current is in a steady state, the second fusion weight is greater than the first fusion weight. In other words, in a steady state, the NV color center probe current value measured by the NV color center probe is the primary factor, while the non-NV color center probe current value measured by the non-NV color center probe is secondary. In some embodiments, in a steady state, the second fusion weight is 1 and the first fusion weight is 0. In other words, in a steady state, the system relies entirely on the NV color center probe current value measured by the NV color center probe.

[0147] The sum of the first fusion weight and the second fusion weight is fixed. The second fusion weight is negatively correlated with the absolute value of the current change rate information. That is, the larger the absolute value of the current change rate information, the smaller the second fusion weight (obtained by the NV color center probe), and the more dependent it is on the measurement of the non-NV color center probe. Conversely, the smaller the absolute value of the current change rate information, the larger the second fusion weight (obtained by the NV color center probe), and the more dependent it is on the measurement of the NV color center probe. In this way, under transient conditions, by focusing on the current value of the non-NV color center probe, the advantage of the non-NV color center probe in quickly capturing transient changes in current can be fully utilized, thus compensating for the deficiency of the NV color center probe in quickly achieving accurate measurement under instantaneous current changes. Under steady conditions, by focusing on the current value of the NV color center probe, the advantages of the NV color center probe in high measurement accuracy and strong anti-interference can be fully utilized, thus compensating for the drift defect of the non-NV color center probe.

[0148] In this step, the decision unit dynamically allocates a first fusion weight and a second fusion weight of the non-NV color center probe current value and the NV color center probe current value based on the current change rate information. Then, based on the first fusion weight and the second fusion weight of the non-NV color center probe current value and the NV color center probe current value, the decision unit performs a weighted summation of the non-NV color center probe current value and the NV color center probe current value to obtain the target current value of the target under test in the current measurement cycle.

[0149] For example, the decision unit uses a fusion weight calculation formula to calculate the first fusion weight of the non-NV color center probe current value and the second fusion weight of the NV color center probe current value. The fusion weight calculation formula is defined as a negative correlation function between the second fusion weight and the absolute value of the current change rate information.

[0150] In some embodiments, the fusion weight calculation formula may adopt one or a combination of the following schemes:

[0151] (1) The linear transition weight function as shown in Formula 4:

[0152] (Formula 4)

[0153] in, This is the first current change rate threshold among the preset current change rate thresholds. The second current change rate threshold is a preset current change rate threshold, and the first current change rate threshold is greater than the second current change rate threshold. The second fusion weight is [weight], and the first fusion weight is [weight]. .

[0154] (2) The S-shaped smoothing weight function as shown in Formula 5:

[0155] (Formula 5)

[0156] in, For steepness parameter, The larger the value, the steeper the transition in Formula 5. The smaller the value, the smoother the transition in formula 5. It is recommended to use a value of 4 to 10.

[0157] (3) Use the hyperbolic tangent (tanh) weighting function as shown in Formula 6:

[0158] (Formula 6)

[0159] (4) Use the polynomial smoothing weight function as shown in Formula 7:

[0160] (Formula 7)

[0161] By using the above-mentioned fusion weight calculation formula, the first fusion weight and the second fusion weight can be smoothly transitioned under different current change rate information, thereby achieving a smooth and continuous transition of the final output target current value, avoiding hard switching of other systems, devices or equipment connected to the current measurement system, and thus avoiding signal jumps or oscillations caused by hard switching.

[0162] For example, the decision-making unit calculates the target value at the following formula 8. Target current value within each measurement cycle:

[0163] (Formula 8)

[0164] in, For the target to be tested in the first The target current value within each measurement cycle; For the NV color center probe at the first The NV color center probe current value obtained by measuring the target within one measurement cycle.

[0165] In this embodiment, on the one hand, the fusion weights of the non-NV color center probe current value and the NV color center probe current value are dynamically allocated based on the current change rate information. This allows for the dynamic combination of the advantages of both types of probes in current measurement (the advantage of non-NV color center probes in quickly capturing transient changes in current and the advantages of NV color center probes in high measurement accuracy and strong anti-interference capability), thereby improving the accuracy of current measurement. On the other hand, in transient conditions, by focusing on the non-NV color center probe current value, the advantage of non-NV color center probes in quickly capturing transient changes in current can be fully utilized, compensating for the deficiency of NV color center probes in quickly achieving accurate measurement when current changes instantaneously. In steady conditions, by focusing on the NV color center probe current value, the advantages of NV color center probes in high measurement accuracy and strong anti-interference capability can be fully utilized, compensating for the drift defect of non-NV color center probes, thereby improving the accuracy of current measurement.

[0166] In one embodiment, the step of obtaining the non-NV color center probe current value measured by the non-NV color center probe against the target under test in the current measurement cycle includes the following steps: obtaining the voltage signal output by the non-NV color center probe in response to the target under test in the current measurement cycle; determining the initial current value measured by the non-NV color center probe against the target under test in the current measurement cycle based on the voltage signal; and correcting the initial current value based on the drift correction parameter corresponding to the non-NV color center probe to obtain the non-NV color center probe current value.

[0167] In this embodiment, non-NV color center probes generally suffer from gain drift and offset drift. Therefore, the decision unit ensures the measurement accuracy of the non-NV color center probe through drift correction. First, the analog-to-digital processing unit between the decision unit and the non-NV color center probe acquires the voltage signal output by the non-NV color center probe in response to the target (corresponding current environment) during the current measurement cycle, and converts the voltage signal into the corresponding current value to obtain the initial current value measured by the non-NV color center probe for the target during the current measurement cycle. Then, the decision unit corrects the initial current value based on the drift correction parameters corresponding to the non-NV color center probe to obtain the non-NV color center probe current value.

[0168] In this embodiment, the gain drift and zero drift of the non-NV color center probe can be corrected by the drift correction parameters, thereby ensuring the measurement accuracy of the non-NV color center probe and thus ensuring the accuracy of the current measurement.

[0169] In one embodiment, after obtaining the non-NV color center probe current value in any embodiment of this application, the steps further include: when the current state is steady, updating the drift correction parameter corresponding to the non-NV color center probe based on the NV color center probe current value measured for the target under test in the current measurement cycle, to obtain the updated drift correction parameter; and correcting the non-NV color center probe current value based on the updated drift correction parameter to obtain the corrected non-NV color center probe current value.

[0170] In this embodiment, since gain drift and zero drift have a cumulative effect, the decision unit can also update the drift correction parameters online. When the current state is steady, the decision unit utilizes the advantages of the high measurement accuracy and strong anti-interference capability of the NV color center probe. Using the NV color center probe current value measured against the target in the current measurement cycle as a reference, it updates the drift correction parameters corresponding to the non-NV color center probe, obtaining the updated drift correction parameters. Then, based on the updated drift correction parameters, it corrects the non-NV color center probe current value measured against the target in the current measurement cycle, obtaining the corrected non-NV color center probe current value measured against the target in the current measurement cycle.

[0171] In this embodiment, based on the advantages of the NV color center probe in terms of high measurement accuracy and strong anti-interference capability under steady state, the drift correction parameters are updated online using the NV color center probe current value measured against the target in the current measurement cycle as a reference. This can correct the gain drift and zero drift generated by the non-NV color center probe during long-term operation, improve the accuracy of drift correction, and thus ensure the measurement accuracy of the non-NV color center probe, thereby ensuring the accuracy of current measurement.

[0172] In one embodiment, the drift correction parameters include at least a gain correction factor and a zero offset.

[0173] The steps in any embodiment of this application, which update the drift correction parameters corresponding to the non-NV color center probe based on the NV color center probe current value measured for the target under test in the current measurement cycle, to obtain the updated drift correction parameters, include the following steps: obtaining a set of updated data pairs based on the NV color center probe current value and the non-NV color center probe current value in the current measurement cycle; if the time interval between the current time and the historical update time is greater than or equal to the time interval threshold, updating the gain correction coefficient and the zero-point offset based on each updated data pair obtained between the historical update time and the current time, to obtain the updated gain correction coefficient and the updated zero-point offset; and obtaining the updated drift correction parameters based on the updated gain correction coefficient and the updated zero-point offset.

[0174] Wherein, the historical update time is the historical time when the drift correction parameters were updated; for example, the historical update time is the time when the drift correction parameters were last updated.

[0175] In this embodiment, under steady-state conditions, the decision unit continuously collects the NV color center probe current value and the non-NV color center probe current value within each measurement cycle, obtaining a set of corresponding updated data pairs, and periodically updates the drift correction parameters. When the time interval between the current moment and the historical update moment is greater than or equal to the time interval threshold, the decision unit, based on the updated data pairs obtained between the historical update moment and the current moment, aims to reduce the difference between the NV color center probe current value and the non-NV color center probe current value in each updated data pair. It employs the following algorithms: Recursive Least Squares (RLS), Recursive Weighted Least Squares (RWLS) Kalman Filter, Least Mean Square (LMS) Adaptive Filter, Sliding Mode Observer, Extended Kalman Filter (EKF), and Unscented Kalman Filter (UKF). The optimal values ​​of the gain correction coefficient and zero offset are estimated online using at least one online parameter estimation algorithm such as filter or particle filter to obtain the updated gain correction coefficient and updated zero offset, and the updated gain correction coefficient and updated zero offset are determined as the updated drift correction parameters.

[0176] For example, the RLS recursive formula is as follows:

[0177] Set parameter vector ,in, This is the gain correction factor. The zero-point offset is; the observation vector is Reference value In the first During the step, as shown in Formula 9, the prediction error is calculated. Update the gain vector Update parameter vector Update the covariance matrix :

[0178] (Formula 9)

[0179] in, For the forgetting factor, a value of 0.95 to 0.99 is recommended. The smaller the value, the greater its weight on recent data, and the faster it can track drift changes.

[0180] In this embodiment, based on the advantages of the NV color center probe in terms of high measurement accuracy and strong anti-interference capability under steady state, the drift correction parameters are updated online using the NV color center probe current value measured against the target in the current measurement cycle as a reference. This can correct the gain drift and zero drift generated by the non-NV color center probe during long-term operation, improve the accuracy of drift correction, and thus ensure the measurement accuracy of the non-NV color center probe, thereby ensuring the accuracy of current measurement.

[0181] In one embodiment, the updated drift correction parameters include at least the updated gain correction factor and the updated zero offset.

[0182] The steps in any embodiment of this application, which correct the non-NV color center probe current value based on the updated drift correction parameters to obtain the corrected non-NV color center probe current value, include the following steps: calculating the product of the non-NV color center probe current value and the updated gain correction coefficient; calculating the sum of the product and the updated zero-point offset to obtain the corrected non-NV color center probe current value.

[0183] In this embodiment, under steady state, the decision unit calculates the non-NV color center probe in the first... Corrected non-NV color center probe current values ​​obtained from measurements of the target within a measurement cycle:

[0184] (Formula 10)

[0185] in, For non-NV color center probes in the first The corrected non-NV color center probe current value obtained by measuring the target within a measurement cycle.

[0186] In this embodiment, the updated gain correction coefficient and the updated zero-point offset can correct the gain drift and zero-point drift of the non-NV color center probe, thereby ensuring the measurement accuracy of the non-NV color center probe and thus ensuring the accuracy of current measurement.

[0187] In one embodiment, before determining the first fusion weight of the non-NV color center probe current value and the second fusion weight of the NV color center probe current value in any embodiment of this application, the following step is further included: determining the corrected current change rate information based on the corrected non-NV color center probe current value and the historical non-NV color center probe current value measured by the non-NV color center probe for the target under test in the historical measurement period.

[0188] The steps in any embodiment of this application to determine the first fusion weight of the non-NV color center probe current value and the second fusion weight of the NV color center probe current value include the following steps: determining the first fusion weight of the non-NV color center probe current value and the second fusion weight of the NV color center probe current value based on the corrected current change rate information.

[0189] The steps in any embodiment of this application, which involve fusing the non-NV color center probe current value and the NV color center probe current value based on the first fusion weight and the second fusion weight to obtain the target current value, include the following steps: fusing the corrected non-NV color center probe current value and the NV color center probe current value based on the first fusion weight and the second fusion weight to obtain the target current value of the target to be measured.

[0190] In this embodiment, under steady state, after obtaining the corrected non-NV color center probe current value, the corrected non-NV color center probe current value is used for calculation when determining the fusion weight and the target current value to ensure the accuracy of the current measurement.

[0191] First, based on the corrected non-NV color center probe current value and the historical non-NV color center probe current values ​​measured against the target within the historical measurement period, the decision unit recalculates the current change rate information from the historical measurement period to the current measurement period, thus obtaining the corrected current change rate information from the historical measurement period to the current measurement period. For example, the decision unit uses the corrected non-NV color center probe current value... Substitute at least one of Formula 1, Formula 2, Formula 3, and Formula 4 to calculate the corrected current change rate information. .

[0192] Then, the decision unit uses the corrected non-NV color center probe current value. The calculated corrected rate of change of current, The first fusion weight and the second fusion weight of the non-NV color center probe current value are dynamically allocated and corrected.

[0193] Next, the decision unit performs a weighted summation of the corrected non-NV color center probe current value and the NV color center probe current value based on the first fusion weight and the second fusion weight of the corrected non-NV color center probe current value to obtain the target current value of the target under test in the current measurement cycle. For example, the decision unit uses... Substitute into Formula 8 to calculate the target current value. .

[0194] In this embodiment, under steady state, after obtaining the corrected non-NV color center probe current value, the accuracy of current measurement can be further improved by using the corrected non-NV color center probe current value to determine the fusion weight and the target current value.

[0195] In one specific embodiment, another application for, for example Figure 1 The current measurement method of the current measurement system shown measures the current value of the target object periodically. The current measurement process in each measurement cycle includes the following steps:

[0196] Step 1: Obtain the voltage signal output by the non-NV color center probe in response to the target under test during the current measurement cycle; based on the voltage signal, determine the initial current value measured by the non-NV color center probe for the target under test during the current measurement cycle; based on the drift correction parameters corresponding to the non-NV color center probe, correct the initial current value to obtain the non-NV color center probe current value.

[0197] Step 2: Based on the current value of the non-NV color center probe and the historical non-NV color center probe current values ​​measured against the target in the historical measurement period, determine the current change rate information.

[0198] Step 3: If the current change rate information is greater than or equal to the first current change rate threshold, determine the current state as transient and proceed to steps 4 to 7; if the current change rate information is less than the first current change rate threshold and greater than the second current change rate threshold, determine the current state as transitional and proceed to steps 8 to 11; if the current change rate information is less than or equal to the second current change rate threshold, determine the current state as steady state and proceed to steps 12 to 19.

[0199] Wherein, the second current change rate threshold is less than the first current change rate threshold; steps 1 to 3 above are as follows: Figure 3 As shown.

[0200] Step 4: When the current state is transient, based on the correspondence between the reference current value and the observed resonant frequency, determine the fitted resonant frequency of the NV color center in the NV color center probe. Based on the fitted resonant frequency, adjust the frequency of the microwave signal applied to the NV color center in the NV color center probe so that the frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center in the NV color center probe meets the preset deviation condition.

[0201] Step 5: Obtain the current microwave frequency of the microwave signal; determine the reference current value corresponding to the current microwave frequency based on the correspondence between the reference current value and the observed resonant frequency; obtain the NV color center probe current value based on the reference current value corresponding to the current microwave frequency; and determine the NV color center probe current value measured by the NV color center probe for the target under test in the current measurement cycle based on the current state.

[0202] Step 6: Based on the current change rate information, determine the first fusion weight of the non-NV color center probe current value and the second fusion weight of the NV color center probe current value.

[0203] Step 7: Based on the first fusion weight and the second fusion weight, fuse the non-NV color center probe current value and the NV color center probe current value to obtain the target current value of the target under test in the current measurement cycle.

[0204] Among them, steps 4 to 7 above are as follows Figure 4 As shown.

[0205] Step 8: When the current state is in a transient state, similar to the transient case, based on the correspondence between the reference current value and the observed resonant frequency, determine the fitted resonant frequency of the NV color center within the NV color center probe. Based on the fitted resonant frequency, adjust the frequency of the microwave signal applied to the NV color center within the NV color center probe so that the frequency deviation between the microwave signal frequency and the true resonant frequency of the NV color center within the NV color center probe meets the preset deviation condition. Alternatively, use PID closed-loop frequency locking to adjust the frequency of the microwave signal applied to the NV color center within the NV color center probe so that the frequency deviation between the microwave signal frequency and the true resonant frequency of the NV color center within the NV color center probe meets the preset deviation condition.

[0206] Step 9: Obtain the current microwave frequency of the microwave signal; determine the reference current value corresponding to the current microwave frequency based on the correspondence between the reference current value and the observed resonant frequency; obtain the NV color center probe current value based on the reference current value corresponding to the current microwave frequency; and determine the NV color center probe current value measured by the NV color center probe for the target under test in the current measurement cycle based on the current state.

[0207] Step 10: Based on the current change rate information, determine the first fusion weight of the non-NV color center probe current value and the second fusion weight of the NV color center probe current value.

[0208] Step 11: Based on the first fusion weight and the second fusion weight, fuse the non-NV color center probe current value and the NV color center probe current value to obtain the target current value of the target under test in the current measurement cycle.

[0209] Step 12: Under steady-state current conditions, based on the fluorescence signal output by the NV color center probe in response to the target and microwave signal during the current measurement cycle, determine the frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center in the NV color center probe.

[0210] Step 13: With the goal of reducing the frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center in the NV color center probe, adjust the frequency of the microwave signal so that the frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center in the NV color center probe meets the preset deviation condition.

[0211] Step 14: Obtain the current microwave frequency of the microwave signal; determine the reference current value corresponding to the current microwave frequency based on the correspondence between the reference current value and the observed resonant frequency; obtain the NV color center probe current value based on the reference current value corresponding to the current microwave frequency.

[0212] Step 15: Based on the NV color center probe current value measured for the target under test in the current measurement cycle, update the drift correction parameters corresponding to the non-NV color center probes to obtain the updated drift correction parameters.

[0213] Step 16: Based on the updated drift correction parameters, correct the non-NV color center probe current value to obtain the corrected non-NV color center probe current value.

[0214] Step 17: Based on the corrected non-NV color center probe current value and the historical non-NV color center probe current values ​​measured by the non-NV color center probe for the target under test within the historical measurement period, determine the corrected current change rate information.

[0215] Step 18: Based on the corrected current change rate information, determine the first fusion weight of the corrected non-NV color center probe current value and the second fusion weight of the NV color center probe current value.

[0216] Step 19: Based on the first fusion weight and the second fusion weight, fuse the corrected non-NV color center probe current value and the NV color center probe current value to obtain the target current value of the target to be measured.

[0217] Among them, steps 12 to 19 above are as follows Figure 5 As shown.

[0218] In this embodiment, as Figure 1The internal connections of the current measurement system are as follows: The NV color center probe is connected to the control unit via optical fiber or free-space optical path to transmit NV fluorescence signals; the NV color center probe is connected to the microwave output port of the control unit via coaxial cable or microwave transmission line to transmit microwave signals; the electrical signal output of the non-NV color center probe is connected to the analog / digital input port of the decision unit after passing through the analog-to-digital processing unit (signal conditioning circuit and ADC); the decision unit and the control unit communicate bidirectionally via a high-speed digital interface, with the former sending frequency adjustment commands carrying microwave frequency settings and control mode switching commands for each state, and the latter returning the current microwave frequency and frequency lock status (such as lock / unlock flag) to the former; the output of the decision unit serves as the final current measurement output of the entire system and can be connected to subsequent protection devices, metering equipment, or substation monitoring systems via digital communication interfaces or analog interfaces.

[0219] In this embodiment, as Figure 1 The data flow within the current measurement system shown is as follows:

[0220] (1) Current data stream of non-NV color center probe: Non-NV color center probe → Analog-to-digital processing unit → Decision unit. This data stream has the shortest transmission delay (microsecond level) and is used for transient detection and fast frequency prediction.

[0221] (2) Current data stream of NV color center probe: NV color center probe → control unit → decision unit. This data stream provides high-precision frequency-locked current values.

[0222] (3) Control command flow: Decision unit → Control unit. Includes frequency adjustment commands carrying microwave frequency settings and control mode switching commands for each state.

[0223] (4) Final output data stream: Decision unit → Downstream system. The output data is the final current value after processing by the fusion algorithm.

[0224] In this embodiment, an integrated closed-loop collaborative control of "transient fast frequency locking -> steady-state precise tracking -> online drift correction" is realized. Its collaborative working mechanism is reflected in the following aspects:

[0225] First, frequency locking provides a basis for correction: In steady-state mode, high-precision resonant frequency tracking achieved through PID closed-loop frequency locking control can obtain high-precision current values ​​corresponding to the NV color center probe. These high-precision current values ​​are used as reference standards for online estimation of drift correction parameters for non-NV color center probes. The higher the frequency locking accuracy, the better the drift correction accuracy.

[0226] Second, the calibration improves the accuracy of frequency locking: the current value output by the non-NV color center probe after online drift correction has higher steady-state accuracy. This correction value is used for the state determination of the next cycle and the tracking of the resonant frequency under transient conditions. The more accurate the correction parameters are, the faster and more accurate the tracking of the resonant frequency under transient conditions will be, forming a virtuous cycle.

[0227] Third, unified control process: frequency locking and calibration are not two independent asynchronous processes, but are executed in a certain order within the same measurement cycle. This compact collaborative design ensures the consistency of data and timing between the two processes, avoiding data misalignment and calibration lag caused by asynchronous processing.

[0228] Therefore, the method proposed in this embodiment produces the following significant technical effects:

[0229] First, a complete heterogeneous dual-probe collaborative working system architecture was established for the first time. By organically integrating NV color center probes (high steady-state accuracy) and non-NV color center probes (transient fast response) at the three levels of physical connection, data interaction and control logic, the division of responsibilities and information complementarity between "speed" and "accuracy" were realized in the time domain, fundamentally overcoming the inherent contradiction that a single type of sensor cannot simultaneously take into account transient speed and steady-state accuracy.

[0230] Secondly, by cleverly utilizing the current value obtained by the non-NV color center probe for rapid measurement, the most time-consuming "full-range microwave frequency sweep" step in the traditional solution is completely bypassed. With a simple, efficient, and low-cost resonant frequency tracking strategy, the equivalent frequency locking acquisition time of the NV color center probe is compressed from hundreds of microseconds or more in the traditional solution to tens of microseconds, which is an improvement of at least one order of magnitude. Compared with the prediction solution based on extrapolation of historical data, it does not rely entirely on historical frequency locking data and still has high reliability even in transient scenarios where the current changes drastically, fundamentally ensuring the response speed under the worst case.

[0231] Third, for the first time, a collaborative working mechanism was realized for rapid frequency locking of NV color center probes and online drift correction of non-NV color center probes. After rapidly locking the frequency and obtaining the current value in transient mode, it smoothly transitions to steady-state mode. Using the high-precision frequency locking result of NV color center probes as a reference standard, the zero-point drift and gain drift of non-NV color center probes are continuously estimated and corrected in real time during normal online operation. This collaborative working mechanism breaks the control paradigm of separating frequency locking and correction in traditional schemes and creatively establishes a two-way enhanced closed loop in which "frequency locking provides the basis for correction and correction improves the accuracy of frequency locking".

[0232] Fourth, it achieves adaptive state discrimination and automatic switching; using current change as the state switching criterion, it defines the switching conditions between states and the timing relationship between steps through clear rules, enabling the current measurement system to autonomously select the optimal measurement strategy under complex and ever-changing power system conditions.

[0233] Fifth, an adaptive weighted fusion algorithm driven by the rate of current change ensures the continuity and smoothness of the output signal throughout the entire time domain; smooth, continuous, and oscillation-free adjustment of the fusion weights is achieved within the transition interval between transient and steady states. Compared with traditional hard switching or fixed-rate gradual transition schemes, the weight change rate is adaptively matched with the current change rate—the weight transition is fast when the change is rapid (ensuring response speed), and slow when the change is slow (ensuring smoothness), fundamentally avoiding output signal jumps and oscillations. Combined with anti-oscillation protection measures such as hysteresis logic, low-pass filtering, and mode confirmation time, the control stability and output quality of the current measurement system are guaranteed at multiple levels, including signal processing, logic control, and time constraints.

[0234] Sixth, a complete system data flow and control flow architecture was defined; the transmission paths of the current data flow of non-NV color center probes, the current data flow of NV color center probes, the control command flow, and the final output data flow were clarified, ensuring the determinism and real-time performance of data transmission when multiple modules work together.

[0235] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0236] Based on the same inventive concept, this application also provides a current measurement system for implementing the resonant frequency tracking method of the NV color center current measurement probe described above. The solution provided by this system is similar to the implementation described in the above method; therefore, the specific limitations in one or more current measurement system embodiments provided below can be found in the limitations of the resonant frequency tracking method of the NV color center current measurement probe described above, and will not be repeated here.

[0237] In one embodiment, such as Figure 1 As shown, a current measurement system is provided, including: a non-NV color center probe, an NV color center probe, a decision unit, and a control unit.

[0238] Among them, non-NV color center probes are probes other than NV color center probes.

[0239] The decision unit is used to acquire the non-NV color center probe current value measured by the non-NV color center probe against the target in the current measurement cycle, and determine the current state in the current measurement cycle; when the current state is transient, based on the non-NV color center probe current value and the correspondence between the reference current value and the observed resonant frequency, the first estimated resonant frequency is determined; the correspondence between the reference current value and the observed resonant frequency is obtained based on the observation of the true resonant frequency of the NV color center in the NV color center probe under different reference environments, and different reference environments have different environmental conditions, including at least the reference current.

[0240] The control unit is used to apply a microwave signal to the NV color center in the NV color center probe so that the NV color center probe responds to the target and outputs a corresponding fluorescence signal; when the current state is transient, the frequency of the microwave signal applied to the NV color center in the NV color center probe is adjusted based on the first estimated resonant frequency so that the frequency deviation between the frequency of the microwave signal and the actual resonant frequency of the NV color center in the NV color center probe meets the preset deviation condition.

[0241] The decision unit is also used to determine the NV color center probe current value measured by the NV color center probe for the target under test in the current measurement cycle, based on the current microwave frequency of the microwave signal and the correspondence between the reference current value and the observed resonant frequency; and to determine the target current value of the target under test in the current measurement cycle based on the NV color center probe current value.

[0242] In one embodiment, the control unit is further configured to, when the current state is steady, adjust the microwave signal based on the fluorescence signal output by the NV color center probe in response to the target and the microwave signal during the current measurement cycle, so that the frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center in the NV color center probe is less than or equal to the deviation threshold.

[0243] In one embodiment, the decision unit is further configured to determine a first fusion weight and a second fusion weight of the non-NV color center probe current value and the NV color center probe current value; when the current state is transient, the first fusion weight is greater than the second fusion weight, and when the current state is steady, the second fusion weight is greater than the first fusion weight; based on the first fusion weight and the second fusion weight, the non-NV color center probe current value and the NV color center probe current value are fused to obtain the target current value of the target under test in the current measurement cycle.

[0244] In one embodiment, the NV color center probe is used to output a corresponding fluorescence signal in response to the target under test and the microwave signal.

[0245] The decision unit is also used to determine the NV color center probe current value based on the current microwave frequency of the microwave signal.

[0246] In one embodiment, see [reference] Figure 1 The non-NV color center probe is connected to the decision unit via an analog-to-digital processing unit.

[0247] Non-NV color center probes are used to respond to the voltage signal output by the target under test.

[0248] The analog-to-digital processing unit is used to perform analog-to-digital conversion on the voltage signal output by the non-NV color center probe to obtain the initial current value measured by the non-NV color center probe for the target under test in the current measurement cycle.

[0249] The decision unit is also used to determine the current value of the non-NV color center probe based on the initial current value.

[0250] In one embodiment, the decision unit includes a state determination subunit, a transient subunit, a steady-state subunit, and a transitional subunit. The state determination subunit is used to execute steps related to state determination, the transient subunit is used to execute steps in the transient state, the steady-state subunit is used to execute steps in the steady state, and the transitional subunit is used to execute steps in the transitional state.

[0251] In one embodiment, such as Figure 1The internal connections of the current measurement system are as follows: The NV color center probe is connected to the control unit via optical fiber or free-space optical path to transmit NV fluorescence signals; the NV color center probe is connected to the microwave output port of the control unit via coaxial cable or microwave transmission line to transmit microwave signals; the electrical signal output of the non-NV color center probe is connected to the analog / digital input port of the decision unit after passing through the analog-to-digital processing unit (signal conditioning circuit and ADC); the decision unit and the control unit communicate bidirectionally via a high-speed digital interface, with the former sending frequency adjustment commands carrying microwave frequency settings and control mode switching commands for each state, and the latter returning the current microwave frequency and frequency lock status (such as lock / unlock flag) to the former; the output of the decision unit serves as the final current measurement output of the entire system and can be connected to subsequent protection devices, metering equipment, or substation monitoring systems via digital communication interfaces or analog interfaces.

[0252] In one embodiment, such as Figure 1 The data flow inside the current measurement system shown is as follows: (1) Current data flow of non-NV color center probe: non-NV color center probe → analog-to-digital processing unit → decision unit. This data flow has the shortest transmission delay (microsecond level) and is used for transient detection and fast frequency estimation; (2) Current data flow of NV color center probe: NV color center probe → control unit → decision unit. This data flow provides high-precision frequency-locked current value; (3) Control command flow: decision unit → control unit, which includes frequency adjustment commands carrying microwave frequency setting values ​​and control mode switching commands in each state; (4) Final output data flow: decision unit → downstream system. The output data is the final current value after processing by the fusion algorithm.

[0253] Based on the same inventive concept, this application also provides a resonant frequency tracking device for an NV color center current measuring probe to implement the resonant frequency tracking method of the NV color center current measuring probe described above. The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations of one or more embodiments of the resonant frequency tracking device for an NV color center current measuring probe provided below can be found in the limitations of the resonant frequency tracking method for the NV color center current measuring probe described above, and will not be repeated here.

[0254] In one embodiment, such as Figure 6 As shown, a resonant frequency tracking device for an NV color center current measurement probe is provided, comprising: a current acquisition module 602, a state determination module 604, a frequency fitting module 606, and a frequency adjustment module 608, wherein:

[0255] The current acquisition module 602 is used to acquire the non-NV color center probe current value measured by the non-NV color center probe against the target in the current measurement cycle; the non-NV color center probe is a probe other than the NV color center probe.

[0256] The status determination module 604 is used to determine the current status within the current measurement cycle.

[0257] The frequency fitting module 606 is used to determine the first estimated resonance frequency based on the non-NV color center probe current value and the correspondence between the reference current value and the observed resonance frequency when the current state is transient. The correspondence between the reference current value and the observed resonance frequency is obtained based on the observation of the true resonance frequency of the NV color center in the NV color center probe under different reference environments. Different reference environments have different environmental conditions, and the environmental conditions include at least the reference current.

[0258] The frequency adjustment module 608 is used to adjust the frequency of the microwave signal applied to the NV color center in the NV color center probe based on the first estimated resonant frequency, so that the frequency deviation between the frequency of the microwave signal and the actual resonant frequency of the NV color center in the NV color center probe meets the preset deviation condition.

[0259] In one embodiment, the frequency fitting module 606 is further configured to determine the observed resonance frequency corresponding to the non-NV color center probe current value based on the correspondence between the reference current value and the observed resonance frequency; and to obtain a first estimated resonance frequency based on the observed resonance frequency corresponding to the non-NV color center probe current value.

[0260] In one embodiment, the frequency adjustment module 608 is further configured to determine a target frequency range with the first estimated resonant frequency as the midpoint of the range and a preset floating range as the range range; the preset floating range is determined when determining the correspondence between the reference current value and the observed resonant frequency; within the target frequency range, the frequency of the microwave signal is adjusted to adjust the frequency of the microwave signal to the target frequency; the frequency deviation between the target frequency and the actual resonant frequency of the NV color center in the NV color center probe is less than or equal to the deviation threshold.

[0261] In one embodiment, the frequency adjustment module 608 is further configured to adjust the frequency of the microwave signal within a target frequency range to adjust the frequency of the microwave signal to the target frequency, including: adjusting the frequency of the microwave signal to a first estimated resonant frequency; determining a first frequency deviation between the first estimated resonant frequency and the actual resonant frequency of the NV center in the NV center probe based on the fluorescence signal output by the NV center probe in response to the microwave signal of the target and the first estimated resonant frequency; and adjusting the frequency of the microwave signal within the target frequency range based on the first frequency deviation, with the goal of reducing the frequency deviation between the frequency of the microwave signal and the actual resonant frequency of the NV center in the NV center probe, to adjust the frequency of the microwave signal to the target frequency.

[0262] In one embodiment, the frequency adjustment module 608 is further configured to adjust the frequency of the microwave signal within a target frequency range to adjust the frequency of the microwave signal to the target frequency, including: using the target frequency range as the adjustment starting point and a first preset step size as the adjustment step size, adjusting the frequency of the microwave signal to different first frequencies within the target frequency range, and acquiring the fluorescence signals output by the NV color center probe in response to the target and the microwave signals at each of the first frequencies; obtaining a first fluorescence intensity spectrum of the NV color center probe in the target frequency range based on the fluorescence signals output by the NV color center probe at each of the first frequencies; determining a second estimated resonance frequency based on the first fluorescence intensity spectrum; adjusting the frequency of the microwave signal to the second estimated resonance frequency; determining a second frequency deviation between the second estimated resonance frequency and the actual resonance frequency of the NV color center within the NV color center probe based on the fluorescence signals output by the NV color center probe in response to the target and the second estimated resonance frequency; and adjusting the frequency of the microwave signal to the target frequency based on the second frequency deviation, with the goal of reducing the frequency deviation between the frequency of the microwave signal and the actual resonance frequency of the NV color center within the NV color center probe.

[0263] In one embodiment, the frequency adjustment module 608 is further configured to adjust the frequency of the microwave signal to different second frequencies within the target frequency range, using the target frequency range as the adjustment starting point and a second preset step size as the adjustment step size; and acquire the fluorescence signals output by the NV color center probe in response to the target and the microwave signals at each second frequency; obtain the second fluorescence intensity spectrum of the NV color center probe in the target frequency range based on the fluorescence signals output by the NV color center probe at each second frequency; determine the third estimated resonance frequency based on the second fluorescence intensity spectrum; and adjust the frequency of the microwave signal to the third estimated resonance frequency to adjust the frequency of the microwave signal to the target frequency.

[0264] In one embodiment, the resonant frequency tracking device of the NV color center current measurement probe further includes a relationship calibration module, which is used to acquire the observed resonant frequency of the NV color center in the NV color center probe in each reference environment, and to acquire the reference current value measured by the non-NV color center probe in the reference environment; and to determine the correspondence between the reference current value and the observed resonant frequency based on the observed resonant frequency and the reference current value in each reference environment.

[0265] In one embodiment, the relationship calibration module is further configured to acquire the observed resonant frequency of the NV color center in the NV color center probe multiple times under a reference environment, and to acquire the reference current value measured by the non-NV color center probe under the reference environment multiple times.

[0266] The relationship calibration module is also used to determine the target observed resonance frequency in each reference environment based on the observed resonance frequency acquired multiple times in the reference environment, and to determine the target reference current value in the reference environment based on the reference current value acquired multiple times in the reference environment; and to determine the correspondence between the reference current value and the observed resonance frequency based on the target observed resonance frequency and the target reference current value in each reference environment.

[0267] In one embodiment, the relationship calibration module is further configured to determine error information of the correspondence between the reference current value and the observed resonance frequency based on the observed resonance frequency and the reference current value obtained multiple times under various reference environments; and to determine a preset floating range based on the error information; the preset floating range is used to determine the target frequency range, the target frequency range is used to adjust the frequency of the microwave signal to the target frequency, and the frequency deviation between the target frequency and the true resonance frequency of the NV color center in the NV color center probe is less than or equal to the deviation threshold.

[0268] In one embodiment, the frequency adjustment module 608 is further configured to, when the current state is steady, determine a third frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center in the NV color center probe based on the fluorescence signal output by the NV color center probe in response to the target under test and the microwave signal in the current measurement cycle; and adjust the frequency of the microwave signal with the goal of reducing the third frequency deviation so that the third frequency deviation is less than or equal to the deviation threshold.

[0269] In one embodiment, the current acquisition module 602 is further configured to acquire the current microwave frequency of the microwave signal; determine the current value corresponding to the current microwave frequency based on the correspondence between the reference current value and the observed resonant frequency and the current microwave frequency; and obtain the NV color center probe current value measured by the NV color center probe for the target under test in the current measurement cycle according to the current value corresponding to the current microwave frequency.

[0270] The resonant frequency tracking device of the NV color center current measurement probe also includes a target current determination module, which is used to determine the target current value of the target under test in the current measurement cycle based on the NV color center probe current value.

[0271] In one embodiment, the target current determination module is further configured to determine a first fusion weight and a second fusion weight of the non-NV color center probe current value and the NV color center probe current value; and to fuse the non-NV color center probe current value and the NV color center probe current value based on the first fusion weight and the second fusion weight to obtain the target current value.

[0272] The resonant frequency tracking devices of the aforementioned NV color core current measurement probe can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware within or independently of the processor in a computer device, or stored in software within the computer device's memory, allowing the processor to call and execute the corresponding operations of each module.

[0273] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computational and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through WiFi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a resonant frequency tracking method for an NV color core current measurement probe.

[0274] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0275] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0276] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above-described method embodiments.

[0277] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.

[0278] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0279] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0280] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for tracking the resonant frequency of an NV color core current measurement probe, characterized in that, The method includes: Obtain the non-NV color center probe current value measured against the target in the current measurement cycle, and determine the current state in the current measurement cycle; the non-NV color center probe is a probe other than the NV color center probe. When the current state is transient, a first estimated resonance frequency is determined based on the current value of the non-NV color center probe and the correspondence between the reference current value and the observed resonance frequency. The correspondence between the reference current value and the observed resonance frequency is obtained based on the observation of the true resonance frequency of the NV color center in the NV color center probe under different reference environments. Different reference environments have different environmental conditions, and the environmental conditions include at least the reference current. Based on the first estimated resonance frequency, the frequency of the microwave signal applied to the NV color center in the NV color center probe is adjusted so that the frequency deviation between the frequency of the microwave signal and the actual resonance frequency of the NV color center in the NV color center probe meets the preset deviation condition.

2. The method according to claim 1, characterized in that, The determination of the first estimated resonance frequency based on the non-NV color center probe current value and the correspondence between the reference current value and the observed resonance frequency includes: Based on the correspondence between the reference current value and the observed resonance frequency, the observed resonance frequency corresponding to the non-NV color center probe current value is determined. Based on the observed resonance frequency corresponding to the current value of the non-NV color center probe, the first estimated resonance frequency is obtained. The step of adjusting the frequency of the microwave signal applied to the NV color center probe based on the first estimated resonant frequency includes: The target frequency range is determined by taking the first estimated resonance frequency as the midpoint of the interval and a preset floating range as the interval range; the preset floating range is determined when determining the correspondence between the reference current value and the observed resonance frequency. Within the target frequency range, the frequency of the microwave signal is adjusted to bring it to the target frequency; the frequency deviation between the target frequency and the true resonant frequency of the NV color center in the NV color center probe is less than or equal to the deviation threshold.

3. The method according to claim 2, characterized in that, The step of adjusting the frequency of the microwave signal within the target frequency range to bring the frequency of the microwave signal to the target frequency includes: Adjust the frequency of the microwave signal to the first estimated resonant frequency; Based on the fluorescence signal output by the NV color center probe in response to the microwave signal of the target under test and the first estimated resonance frequency, a first frequency deviation between the first estimated resonance frequency and the actual resonance frequency of the NV color center in the NV color center probe is determined. Based on the first frequency deviation, with the goal of reducing the frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center in the NV color center probe, the frequency of the microwave signal is adjusted within the target frequency range to adjust the frequency of the microwave signal to the target frequency.

4. The method according to claim 2, characterized in that, The step of adjusting the frequency of the microwave signal within the target frequency range to bring the frequency of the microwave signal to the target frequency includes: Using the target frequency range as the starting point and the first preset step size as the adjustment step size, the frequency of the microwave signal is adjusted to different first frequencies within the target frequency range, and the fluorescence signal output by the NV color center probe in response to the target under test and the microwave signal of each of the first frequencies is obtained. Based on the fluorescence signals output by the NV color center probe at each of the first frequencies of the microwave signals, the first fluorescence intensity spectrum of the NV color center probe in the target frequency range is obtained. Based on the first fluorescence intensity spectrum, the second estimated resonance frequency is determined; The frequency of the microwave signal is adjusted to the second estimated resonant frequency; Based on the fluorescence signal output by the NV color center probe in response to the microwave signal of the target under test and the second estimated resonance frequency, a second frequency deviation between the second estimated resonance frequency and the actual resonance frequency of the NV color center in the NV color center probe is determined. Based on the second frequency deviation, the frequency of the microwave signal is adjusted to the target frequency by reducing the frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center in the NV color center probe.

5. The method according to claim 2, characterized in that, The step of adjusting the frequency of the microwave signal within the target frequency range to bring the frequency of the microwave signal to the target frequency includes: Using the target frequency range as the starting point and the second preset step size as the adjustment step size, the frequency of the microwave signal is adjusted to different second frequencies within the target frequency range, and the fluorescence signal output by the NV color center probe in response to the target under test and the microwave signal of each second frequency is obtained. Based on the fluorescence signals output by the NV color center probe at each of the second frequencies of the microwave signal, the second fluorescence intensity spectrum of the NV color center probe in the target frequency range is obtained; Based on the second fluorescence intensity spectrum, the third estimated resonance frequency is determined; The frequency of the microwave signal is adjusted to the third estimated resonant frequency, so as to adjust the frequency of the microwave signal to the target frequency.

6. The method according to any one of claims 1 to 5, characterized in that, The correspondence between the reference current value and the observed resonant frequency is obtained through the following steps: For each reference environment, the observed resonant frequency of the NV color center in the NV color center probe is obtained in the reference environment, and the reference current value measured by the non-NV color center probe for the reference environment is obtained. Based on the observed resonant frequency and the reference current value under each of the aforementioned reference environments, the correspondence between the reference current value and the observed resonant frequency is determined.

7. The method according to claim 6, characterized in that, The step of obtaining the observed resonant frequency of the NV color center within the NV color center probe under the reference environment, and obtaining the reference current value measured by the non-NV color center probe under the reference environment, includes: In the reference environment, the observed resonant frequency of the NV color center in the NV color center probe is obtained multiple times, and the reference current value measured by the non-NV color center probe in the reference environment is obtained multiple times. The step of determining the correspondence between the reference current value and the observed resonance frequency based on the observed resonance frequency and the reference current value under each of the aforementioned reference environments includes: For each reference environment, based on the observed resonance frequency acquired multiple times in the reference environment, the target observed resonance frequency in the reference environment is determined, and based on the reference current value acquired multiple times in the reference environment, the target reference current value in the reference environment is determined. Based on the target observed resonance frequency and the target reference current value under each of the aforementioned reference environments, the correspondence between the reference current value and the observed resonance frequency is determined.

8. The method according to claim 7, characterized in that, The method further includes: Error information for determining the correspondence between the reference current value and the observed resonance frequency based on the observed resonance frequency obtained multiple times under various reference environments and the reference current value obtained multiple times. Based on the error information, a preset floating range is determined; the preset floating range is used to determine the target frequency range, the target frequency range is used to adjust the frequency of the microwave signal to the target frequency, and the frequency deviation between the target frequency and the true resonant frequency of the NV color center in the NV color center probe is less than or equal to the deviation threshold.

9. The method according to claim 1, characterized in that, After determining the current state within the current measurement cycle, the method further includes: When the current state is in a steady state, based on the fluorescence signal output by the NV color center probe in response to the target under test and the microwave signal during the current measurement cycle, a third frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center in the NV color center probe is determined. With the goal of reducing the third frequency deviation, the frequency of the microwave signal is adjusted so that the third frequency deviation is less than or equal to the deviation threshold.

10. The method according to any one of claims 1 to 5, characterized in that, The method further includes: Obtain the current microwave frequency of the microwave signal; Based on the correspondence between the reference current value and the observed resonant frequency and the current microwave frequency, determine the current value corresponding to the current microwave frequency; Based on the current value corresponding to the current microwave frequency, the NV color center probe current value measured by the NV color center probe for the target under test during the current measurement cycle is obtained; Based on the current value of the NV color center probe, the target current value of the target under test within the current measurement cycle is determined.

11. The method according to claim 10, characterized in that, Determining the target current value of the target under test within the current measurement cycle based on the NV color center probe current value includes: Determine the first fusion weight of the non-NV color center probe current value and the second fusion weight of the NV color center probe current value; Based on the first fusion weight and the second fusion weight, the non-NV color center probe current value and the NV color center probe current value are fused to obtain the target current value.

12. A current measurement system, characterized in that, include: Non-NV color center probe; the non-NV color center probe is a probe other than the NV color center probe. The NV color center probe; The decision unit is used to acquire the non-NV color center probe current value measured by the non-NV color center probe against the target in the current measurement cycle, and determine the current state in the current measurement cycle; when the current state is transient, based on the non-NV color center probe current value and the correspondence between the reference current value and the observed resonance frequency, a first estimated resonance frequency is determined; the correspondence between the reference current value and the observed resonance frequency is based on the observation of the true resonance frequency of the NV color center in the NV color center probe under different reference environments, and different reference environments have different environmental conditions, the environmental conditions including at least the reference current; The control unit is configured to apply a microwave signal to the NV color center within the NV color center probe, so that the NV color center probe responds to the target under test and outputs a corresponding fluorescence signal in response to the microwave signal; when the current state is transient, based on the first estimated resonant frequency, the frequency of the microwave signal applied to the NV color center within the NV color center probe is adjusted so that the frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center within the NV color center probe meets a preset deviation condition; The decision unit is further configured to determine the NV color center probe current value measured by the NV color center probe for the target under test in the current measurement cycle based on the current microwave frequency of the microwave signal and the correspondence between the reference current value and the observed resonant frequency. Based on the current value of the NV color center probe, the target current value of the target under test within the current measurement cycle is determined.

13. The system according to claim 12, characterized in that, The control unit is further configured to, when the current state is in a steady state, adjust the microwave signal based on the fluorescence signal output by the NV color center probe in response to the target under test and the microwave signal during the current measurement cycle, so that the frequency deviation between the frequency of the microwave signal and the true resonant frequency of the NV color center in the NV color center probe is less than or equal to the deviation threshold.

14. A resonant frequency tracking device for an NV color core current measurement probe, characterized in that, The device includes: The current acquisition module is used to acquire the non-NV color center probe current value measured by the non-NV color center probe against the target under test during the current measurement cycle; the non-NV color center probe is a probe other than the NV color center probe. The state determination module is used to determine the current state within the current measurement cycle; The frequency fitting module is used to determine a first estimated resonance frequency based on the current value of the non-NV color center probe and the correspondence between the reference current value and the observed resonance frequency when the current state is transient. The correspondence between the reference current value and the observed resonance frequency is obtained based on the observation of the true resonance frequency of the NV color center in the NV color center probe under different reference environments. Different reference environments have different environmental conditions, and the environmental conditions include at least the reference current. The frequency adjustment module is used to adjust the frequency of the microwave signal applied to the NV color center in the NV color center probe based on the first estimated resonant frequency, so that the frequency deviation between the frequency of the microwave signal and the actual resonant frequency of the NV color center in the NV color center probe meets a preset deviation condition.

15. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 11.

16. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 11.

17. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 11.