Reactance optical probing magnetic resonance mapping calibration method, system, and storage medium
By processing the multi-physics parameters of ultra-high voltage reactors and generating optically detected magnetic resonance spectra, the problem of inaccurate calibration in existing technologies has been solved, and accurate calibration of partial discharge intensity, local magnetic disturbance and transient temperature rise has been achieved, providing a low-cost online monitoring method.
Patent Information
- Application Number
- CN202611601104.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-16
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies cannot effectively and accurately calibrate the partial discharge intensity, local magnetic disturbance, and transient temperature rise of ultra-high voltage reactors using optically detected magnetic resonance methods, and existing simulation methods suffer from the problem of pseudo-intermediate splitting peaks.
By acquiring the multiphysics parameters of the reactor, performing coordinate transformation and solving the spin Hamiltonian, effective transitions are screened, photodetector magnetic resonance spectral lines are generated, and a forward mapping model and a reverse identification model are constructed to realize the mapping between multiphysics parameters and spectral line characteristic parameters.
It enables accurate calibration of partial discharge intensity, local magnetic disturbance and transient temperature rise of UHV reactors, eliminates pseudo-intermediate splitting peaks, and provides a physically interpretable and low-cost online monitoring method.
Smart Images

Figure CN123136502A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of ultra-high voltage reactor monitoring and state quantum sensing technology, specifically involving a reactor optical detection magnetic resonance mapping calibration method, system and storage medium. Background Technology
[0002] The optically detected magnetic resonance spectral lines of diamond nitrogen-vacancy color centers are influenced by the combined effects of magnetic fields, electric fields, stress, and temperature: the magnetic field causes Zeeman level splitting, temperature causes resonance center drift, and the electric field and stress cause level mixing and transverse splitting. Weak partial discharges inside ultra-high voltage reactors often simultaneously induce local electric field distortion, pulsed magnetic fields, transient temperature rises, and changes in insulation stress.
[0003] Among the existing nitrogen-vacancy color center modeling techniques, one type calculates the microscopic energy levels of nitrogen-vacancy color centers using quantum chemical methods, which is computationally expensive and lacks an engineering mapping between the results and observable spectral lines under discharge scenarios; the other type uses photodetector magnetic resonance to calibrate a single physical quantity such as magnetic field or temperature.
[0004] Furthermore, existing photodetector magnetic resonance simulation methods superimpose all contributions from quantum state transitions, leading to the appearance of pseudo-intermediate splitting peaks in simulated spectra that do not exist in actual measurements. Therefore, a photodetector magnetic resonance mapping calibration method for reactors is needed, which can forward predict spectral characteristics from multi-physics parameters and backward identify partial discharge intensity, local magnetic perturbation, and transient temperature rise from measured spectral characteristics. Summary of the Invention
[0005] The purpose of this invention is to provide a reactor photodetector magnetic resonance mapping calibration method, system, and storage medium that can both predict spectral features from multiple physical field parameters in the positive direction and identify partial discharge intensity, local magnetic disturbance, and transient temperature rise from measured spectral features in the reverse direction, providing a physically interpretable and low-cost calibration method for online monitoring of partial discharge in reactors.
[0006] To achieve the above objectives, this invention proposes a method for calibrating a reactor using optical detection magnetic resonance mapping. The method includes: acquiring multi-physics parameters of the electric field, magnetic field, temperature field, and stress field of the reactor or its equivalent defect structure under partial discharge, temperature rise, or electro-magnetic-thermal coupling conditions, wherein the multi-physics parameters are acquired under laboratory conditions; transforming the electric field, magnetic field, and stress field from the laboratory coordinate system to the local coordinate system of each orientation of the diamond nitrogen-vacancy color center through coordinate transformation, obtaining the axial component, transverse component, and tensor component of the corresponding nitrogen-vacancy color center orientation, and using the equivalent temperature of the area adjacent to the sensitive volume of the nitrogen-vacancy color center in the temperature field as the temperature parameter; and constructing a temperature-dependent zero-field splitting term and plugging term for each nitrogen-vacancy color center orientation. The ground-state spin Hamiltonian of the Mann term, electric field, or stress coupling term is determined; the ground-state spin Hamiltonian is solved to obtain the eigenstates and eigenlevels; based on the overlap weight between the spin-projected 0 state and the eigenstates after optical initialization, transitions from the spin-projected 0 state to the spin-projected ±1 state that can cause a decrease in fluorescence intensity are selected as effective transitions; and the resonance frequencies of each effective transition are determined based on the eigenlevels; photodetector magnetic resonance spectra are generated using the effective transitions and the resonance frequencies, and spectral characteristic parameters are extracted; the mapping relationship between the multi-physics parameters and the spectral characteristic parameters is calibrated using control experimental samples, and a forward mapping model and a reverse identification model are constructed, wherein the forward mapping model includes a physically transparent mapping layer and a residual correction layer.
[0007] In one optional implementation, the multiphysics parameters are derived from finite element simulation, measured sensor data, equivalent electrode test data, or a combination thereof; the partial discharge conditions include one or more of needle-to-needle discharge, needle-to-plate discharge, insulation failure discharge, partial discharge at the oil-paper interface, and repetitive weak discharge; the electro-magnetic-thermal coupling conditions include one or more of the following: discharge current-induced magnetic field and local temperature rise occurring simultaneously, local electric field distortion and heat accumulation at the oil-paper interface occurring simultaneously, and pulse magnetic disturbance and slow temperature drift superimposed by repetitive weak discharge.
[0008] In one optional implementation, the coordinate transformation includes: determining the crystal orientation of the diamond wafer and the probe mounting posture; establishing a first rotation matrix from the laboratory coordinate system to the crystal coordinate system; establishing a second rotation matrix from the crystal coordinate system to the local coordinate system of each nitrogen-vacancy color center orientation; rotating the electric field vector and magnetic field vector in the laboratory coordinate system sequentially through the first rotation matrix and the second rotation matrix to obtain the electric field and magnetic field in the local coordinate system of the nitrogen-vacancy color center orientation, and decomposing them into axial components along the nitrogen-vacancy color center axis and transverse components perpendicular to the axis; and transforming the stress tensor to the local coordinate system of the nitrogen-vacancy color center orientation through a similarity transformation of the composite matrix of the first rotation matrix and the second rotation matrix.
[0009] In one optional implementation, the ground-state spin Hamiltonian is defined by spin-projected 0 state, spin-projected +1 state, and spin-projected... A 3×3 matrix with a 1-state basis; the temperature-dependent zero-field splitting term is linearly determined by the zero-field splitting frequency and temperature sensitivity coefficient at the reference temperature, or by a piecewise temperature function or an empirical temperature function; the Zeeman term includes the spin projection +1 state and spin projection caused by the axial magnetic field of the nitrogen vacancy color center. The first-state energy level shifts in the opposite direction; the electric field or stress coupling term includes energy level mixing and transverse splitting caused by transverse electric field or stress.
[0010] In one optional implementation, the screening includes: calculating the spin-projected 0 state, the spin-projected +1 state, and the spin-projected... The overlap weight between the 1-state basis and the intrinsic states is calculated; transitions between the intrinsic states are considered as candidate transitions, and the transition matrix elements of each candidate transition in the microwave field polarization direction are calculated; if the overlap weight between the initial state of the candidate transition and the optically initialized spin projection 0 state is greater than a preset threshold, and the intensity of the transition matrix element can cause a decrease in fluorescence intensity, then it is determined to be a valid transition; the spin projection +1 state and the spin projection +1 state are excluded. Transitions between states 1 and other transitions that do not participate in changes in fluorescence readout intensity.
[0011] In one optional implementation, generating the optically detected magnetic resonance spectral line includes: superimposing a line shape function at the resonance frequency of each effective transition to obtain a superposition result, wherein the line shape function is a Lorentz function, a Gaussian function, a Voigt function, or an empirical function based on the measured linewidth; setting a background baseline based on the superposition result, determining the depth of each resonance depression according to the spectral line contrast, and adding random fluctuations according to the noise level to generate the optically detected magnetic resonance spectral line.
[0012] In one optional implementation, the extraction of spectral feature parameters includes: performing baseline normalization and smoothing noise reduction on the photodetector magnetic resonance spectrum to obtain a preprocessed spectrum; determining two effective resonance depressions from the preprocessed spectrum using the second derivative, local minimum search, or nonlinear least squares fitting; using the average center frequency of the two effective resonance depressions as the resonance center, the difference in center frequencies of the two effective resonance depressions as the peak split, the decrease in the lowest point of the two effective resonance depressions relative to the baseline as the peak depth, the frequency width at half-peak depth as the linewidth, and the ratio of peak depth to baseline intensity to determine the spectral contrast, thereby obtaining the spectral feature parameters.
[0013] In one optional implementation, the establishment of the control test sample includes: acquiring background spectral lines under partial discharge-free conditions, determining initial values for baseline, linewidth, and contrast, and forming a discharge-free baseline sample; changing the magnetic field amplitude and direction under standard magnetic field conditions, simultaneously recording magnetic field parameters and photodetector magnetic resonance spectral lines, forming a standard magnetic field sample, and calibrating the coefficient between the axial magnetic field and interpeak splitting based on the discharge-free baseline sample; changing the temperature and recording the control temperature under controllable temperature rise conditions, simultaneously recording temperature parameters and photodetector magnetic resonance spectral lines, forming a controllable temperature rise sample, and calibrating the coefficient between the axial magnetic field and interpeak splitting based on the discharge-free baseline sample. The coefficient between the baseline sample and the resonance center drift is calibrated. Under partial discharge conditions, ultra-high frequency partial discharge pulses, discharge voltages, discharge time windows, and photodetector magnetic resonance spectra are simultaneously acquired to form partial discharge control samples. The relationship between discharge intensity, discharge repetition rate, or discharge time window and the differential mode frequency shift characteristics of the spectral lines is calibrated by combining the coefficient between the axial magnetic field and the interpeak splitting coefficient and the coefficient between the temperature and the resonance center drift. The no-discharge baseline sample, the standard magnetic field sample, the controllable temperature rise sample, and the partial discharge control sample constitute the control test sample.
[0014] In one optional implementation, the training process for the parameters of the residual correction layer includes: obtaining training data from the discharge-free baseline sample, the standard magnetic field sample, the controllable temperature rise sample, and the partial discharge control sample; performing baseline subtraction, frequency normalization, abnormal spectral line removal, and operating condition label encoding on the training data to obtain a training sample set; constructing a loss function based on the training sample set, the loss function including spectral feature mean square error, physical monotonicity constraint, and parameter range constraint; and optimizing the loss function using least squares, adaptive moment estimation optimization, or Bayesian hyperparameter search to determine the parameters of the residual correction layer.
[0015] In one optional implementation, the validity of the forward mapping model and the reverse identification model is verified. The validity verification includes one or more of the following: calculating the root mean square residual between the predicted spectrum and the measured spectrum; if the root mean square residual exceeds three times the standard deviation of the discharge-free baseline noise, the spectrum residual check is deemed unsuccessful, and the linewidth, contrast, or background noise parameters are updated; checking whether the interpeak splitting increases monotonically when the standard magnetic field increases, and whether the resonance center drifts in the direction of temperature sensitivity when the controllable temperature rise increases; if not satisfied, the monotonicity check of the characteristic parameters is deemed unsuccessful; checking whether the physical quantities obtained by inversion are within the training calibration range; if they exceed the range, the reliability is reduced; repeatedly collecting no less than three sets of spectra under the same operating condition and calculating the coefficient of variation of the characteristic parameters; if the coefficient of variation exceeds a preset threshold, supplementary calibration is required; matching the differential mode frequency shift time window with the UHF partial discharge pulse time and matching the common mode drift with the control temperature curve at the same time base, and outputting the time consistency check result.
[0016] In an optional implementation, the reactor photodetector magnetic resonance mapping calibration method further includes: outputting a forward mapping model, a reverse identification model, an inversion parameter set, and a credibility evaluation result for identifying the reactor's partial discharge intensity, local magnetic disturbance, or transient temperature rise; the credibility evaluation result is obtained based on the validity verification, and when the inverted physical quantity exceeds the training calibration range or the coefficient of variation of the feature parameter exceeds a preset threshold, a low credibility prompt is output and supplementary calibration is required.
[0017] In one optional implementation, both the forward mapping model and the reverse identification model include the physically transparent mapping layer and the residual correction layer; the physically transparent mapping layer realizes the bidirectional mapping between multi-physics parameters and spectral line characteristic parameters according to the physical rules of coordinate transformation, ground state spin Hamiltonian solution and effective transition screening; the residual correction layer is used to correct linewidth, peak depth or background noise deviation; the reverse identification model is used to invert partial discharge intensity, local magnetic disturbance or transient temperature rise based on the measured spectral line characteristic parameters.
[0018] In one optional implementation, the forward mapping model and the reverse identification model further include a feature normalization layer, wherein the feature normalization layer, the physically transparent mapping layer, and the residual correction layer are connected in series; the inputs of the forward mapping model include nitrogen vacancy color center orientation numbers, axial magnetic field, transverse magnetic field, temperature, temperature rise rate, axial electric field, transverse electric field, and operating condition labels; the inputs of the reverse identification model include measured spectral line feature parameters; the residual correction layer is a piecewise linear lookup table or a fully connected network with 1 to 3 hidden layers.
[0019] In one alternative implementation, when generating the optically detected magnetic resonance spectral lines, the zero-field splitting term parameters and line shape parameters are corrected using the measured double-dip spectral lines of the packaged system as a reference sample, so that the resonance center is located at approximately 2.867 GHz and the two branch resonance dips are located at approximately 2.862 GHz and 2.872 GHz.
[0020] On the other hand, this invention proposes a reactor photodetector magnetic resonance mapping calibration system, comprising: a sensing unit, including a diamond nitrogen-vacancy color center probe, a laser source, a microwave sweep source, and a photodetector, used for optical initialization, microwave driving, and fluorescence detection of the reactor or its equivalent defect structure to obtain the measured photodetector magnetic resonance spectrum; a field parameter acquisition unit, used for acquiring the electric field, magnetic field, temperature field, and stress field multi-physics field parameters of the reactor or its equivalent defect structure under partial discharge, temperature rise, or electro-magnetic-thermal coupling conditions; and a coordinate transformation unit, used for transforming the electric field, magnetic field, and stress field in the laboratory coordinate system to the local coordinate system of each orientation of the diamond nitrogen-vacancy color center, obtaining the axial component, transverse component, and tensor component respectively, and converting the nitrogen-vacancy color center sensitive body... The system employs several methods: 1) The equivalent temperature of the adjacent location is used as the temperature parameter; 2) Hamiltonian unit is used to construct the ground-state spin Hamiltonian for each nitrogen-vacancy color center orientation, including temperature-dependent zero-field splitting terms, Zeeman terms, and electric field or stress coupling terms, and solve for the eigenstates and eigenlevels; 3) Transition screening unit is used to screen effective transitions based on the overlap weight between the optically initialized spin-projected 0-state and the eigenstates, and determine the resonance frequency of each effective transition based on the eigenlevels; 4) Spectral line generation and feature extraction unit is used to generate photodetector magnetic resonance spectra using the effective transitions and the resonance frequencies, and extract spectral line feature parameters; 5) Calibration and mapping unit is used to calibrate the mapping relationship between multi-physics parameters and the spectral line feature parameters using control experimental samples, and construct a forward mapping model and a reverse identification model.
[0021] On the other hand, the present invention also proposes a computer storage medium storing a computer program, which, when executed by a processor, implements the above-mentioned reactor photodetector magnetic resonance mapping calibration method.
[0022] The beneficial technical effects of this invention are as follows: This invention accurately maps the electric field, magnetic field, and stress field to the local coordinate system of each orientation of the nitrogen vacancy color center through coordinate transformation, overcoming the shortcomings of existing technologies that do not consider the orientation dependence characteristics of multi-orientation systems; based on the effective transition selection of the overlap weight between the spin projection 0 state and the eigenstate after optical initialization, it eliminates the pseudo intermediate splitting peaks that do not exist in the measured spectrum in existing simulation methods, making the simulated spectrum highly consistent with the measured spectrum; furthermore, it constructs a forward mapping model and a reverse identification model with a physically transparent mapping layer and a residual correction layer, which can forward predict spectral features from multi-physics parameters and reverse identify partial discharge intensity, local magnetic disturbance, and transient temperature rise from measured spectral features without the need for large-scale training and a large amount of labeled data of black-box neural networks, thus realizing the unified calibration of multiple physical quantities under electro-magnetic-thermal coupling conditions. It has strong physical interpretability and low calibration cost, providing an engineering-usable calibration method for online monitoring of partial discharge in reactors. Attached Figure Description
[0023] Figure 1A flowchart of a reactor photodetector magnetic resonance mapping calibration method provided in an embodiment of the present invention; Figure 2 This is a schematic diagram illustrating the transformation from the laboratory coordinate system to different NV orientation coordinate systems in a reactor photodetector magnetic resonance mapping calibration method provided in an embodiment of the present invention. Figure 3 This is a schematic diagram of the ground state spin Hamiltonian solution and fluorescence readout related transition screening of the reactor photodetector magnetic resonance mapping calibration method provided in an embodiment of the present invention. Figure 4 This is a schematic diagram of ODMR spectral feature extraction for a reactor photodetector magnetic resonance mapping calibration method provided in an embodiment of the present invention; Figure 5 The flowchart shows the calibration process of the forward mapping model and the reverse identification model of the reactor optical detection magnetic resonance mapping calibration method provided in an embodiment of the present invention. Figure 6 The spectral parameter card diagram for ODMR mapping calibration of the computational reactor optical detection magnetic resonance mapping calibration method provided in an embodiment of the present invention shows the measured frequency, linewidth, contrast and radio frequency range used to constrain the spectral line generation model; Figure 7 This is a schematic diagram of the mapping matrix from external field features to ODMR features for a reactor optical detection magnetic resonance mapping calibration method provided in an embodiment of the present invention. The row direction represents external field features such as axial magnetic field, transverse magnetic field, temperature, transverse electric field and stress, the column direction represents spectral line features such as resonance center, interpeak splitting, linewidth and contrast, and the matrix elements represent the influence relationship between the corresponding external field features and the spectral line features. Detailed Implementation
[0024] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0025] Example 1: Reactor Optical Detection Magnetic Resonance Mapping Calibration Method Reference Figure 1 This embodiment provides a method for calibrating the optical detection magnetic resonance mapping of a reactor, including the following steps: Step S101: Obtain the multiphysics parameters of the electric field, magnetic field, temperature field, and stress field of the reactor or its equivalent defect structure under partial discharge, temperature rise, or electro-magnetic-thermal coupling conditions.
[0026] The multi-physics parameters obtained by this invention include the external electric field, magnetic field and temperature field parameters of the UHV reactor or its equivalent defect structure under partial discharge, temperature rise or the coupling of the two conditions. The coupling conditions include one or more of the following: the discharge current-induced magnetic field and the local temperature rise occur simultaneously; the local electric field distortion and the heat accumulation at the oil-paper interface occur simultaneously; and the pulse magnetic disturbance caused by repetitive weak discharge and the slow temperature drift are superimposed.
[0027] Equivalent defect structures refer to discharge structures used in tests or simulations to equivalently simulate internal insulation defects in reactors. These include needle-needle discharge structures, needle-plate discharge structures, and discharge model structures containing insulation damage or oil-paper interfaces.
[0028] The multiphysics parameters also include the stress field. The electric and magnetic fields are determined by the external field distribution under partial discharge conditions of the reactor; the temperature field is characterized by the equivalent temperature near the sensitive volume of the nitrogen vacancy color center; the stress field includes the stress distribution generated by the reactor insulation structure under the action of discharge energy deposition and temperature rise, and is given in the form of an equivalent tensor field. Furthermore, the multiphysics parameters are derived from finite element simulation, measured sensor data, equivalent electrode test data, or a combination thereof; the partial discharge conditions include one or more of the following: needle-to-needle discharge, needle-to-plate discharge, insulation failure discharge, partial discharge at the oil-paper interface, and repetitive weak discharge; the electro-magnetic-thermal coupling conditions include one or more of the following: discharge current-induced magnetic field and local temperature rise occurring simultaneously, local electric field distortion and heat accumulation at the oil-paper interface occurring simultaneously, and pulse magnetic disturbance and slow temperature drift superimposed by repetitive weak discharge.
[0029] The electro-magnetic-thermal coupling condition of this invention refers to a condition in which electric, magnetic, and temperature fields coexist and interact, including but not limited to: the simultaneous occurrence of magnetic field induced by discharge current and local temperature rise; the simultaneous occurrence of local electric field distortion and heat accumulation at the oil-paper interface; and the superposition of pulsed magnetic disturbances caused by repetitive weak discharges and slow temperature drift. Under such conditions, the electric field mainly affects energy level mixing and transverse splitting, the magnetic field mainly affects Zeeman splitting, and the temperature mainly affects the zero-field splitting frequency and resonance center. The contributions of these three factors to the optically detected magnetic resonance spectral lines are superimposed and need to be addressed simultaneously within a unified calibration framework.
[0030] Step S102: Through coordinate transformation, the electric field, magnetic field and stress field in the laboratory coordinate system are transformed to the local coordinate system of each orientation of the diamond nitrogen vacancy color center, and the axial component, transverse component and tensor component of the corresponding nitrogen vacancy color center orientation are obtained respectively. The equivalent temperature of the position near the sensitive volume of the nitrogen vacancy color center in the temperature field is used as the temperature parameter.
[0031] Determine the diamond crystal plane orientation and the set of NV (Nitrogen-Vacancy) color center orientations. Establish a coordinate transformation matrix based on the crystal plane normal, probe mounting orientation, and laboratory coordinate system. Convert the electric field vector, magnetic field vector, and equivalent stress tensor in the laboratory coordinate system into axial components, transverse components, and tensor components in each NV orientation coordinate system. For example... Figure 2 As shown, xL, yL, and zL represent the laboratory coordinate axes, and NV1 to NV4 represent the four types of usable NV axes in diamond.
[0032] Furthermore, the coordinate transformation includes the following steps: Step S1021: Determine the crystal orientation of the diamond wafer and the probe mounting posture, and establish the first rotation matrix from the laboratory coordinate system to the crystal coordinate system.
[0033] Step S1022: Establish a second rotation matrix from the crystal coordinate system to the local coordinate system of the orientation of each nitrogen vacancy color center.
[0034] Step S1023: Rotate the electric field vector and magnetic field vector in the laboratory coordinate system through the first rotation matrix and the second rotation matrix in two stages to obtain the electric field and magnetic field in the local coordinate system of the nitrogen vacancy color center orientation, and decompose them into axial components along the nitrogen vacancy color center axis and transverse components perpendicular to the axis.
[0035] Step S1024: For the stress tensor, the coordinates are transformed to the local coordinate system of the nitrogen vacancy color center orientation by a similarity transformation of the composite matrix of the first rotation matrix and the second rotation matrix.
[0036] Among them,
[111] crystal orientation,
[100] crystal orientation or other crystal orientation diamond refers to the orientation of the surface normal or cut crystal plane of the diamond sensing wafer relative to the crystal coordinate system; for each NV orientation n i First, establish the rotation matrix R from the laboratory coordinate system to the crystal coordinate system based on the crystal orientation of the wafer and the mounting posture of the probe. LC Then, based on the NV orientation n i Establish the rotation matrix R from the crystal coordinate system to the i-th NV orientation coordinate system. CNi The magnetic field B in the laboratory coordinate system L and electric field E L Convert to B Ni =R CNi R LC B L E Ni =R CNi R LC E L and B Ni and E Ni It is decomposed into an axial component along the NV axis and a transverse component perpendicular to the NV axis; for the stress or equivalent tensor field Q L Then through Q Ni =R CNi R LC Q L (R CNi R LC ) T Perform tensor coordinate transformation.
[0037] Understandably, for coordinate transformations, the subscript L represents the laboratory coordinate system, the subscript C represents the crystal coordinate system, and the subscript Ni represents the coordinate system for the orientation of the i-th nitrogen vacancy color center; ni This represents the axial unit vector of the i-th nitrogen vacancy color center.
[0038] The crystal orientation of a diamond sensor wafer (such as
[111] orientation,
[100] orientation or other crystal orientations) refers to the orientation of the wafer surface normal or cut crystal plane relative to the crystal coordinate system; the four equivalent axes of the nitrogen vacancy color centers in diamond are distributed along the
[111] family equivalent crystal orientations, and the specific orientation is determined by the wafer crystal orientation and the probe mounting posture.
[0039] The coordinate transformation employs a two-stage rotation: the first-stage rotation establishes the first rotation matrix R from the laboratory coordinate system to the crystal coordinate system based on the crystal orientation of the wafer and the mounting posture of the probe. LC This is used to transform field quantities measured in the laboratory coordinate system to the crystal coordinate system; the second-order rotation is based on the nitrogen vacancy color center axis n. i Establish a second rotation matrix R from the crystal coordinate system to the coordinate system of the i-th nitrogen vacancy color center orientation. CNi This is used to further transform the field quantity in the crystal coordinate system to the nitrogen vacancy color center orientation coordinate system.
[0040] For the two vector fields, electric and magnetic: Let the magnetic field B in the laboratory coordinate system... L and electric field E L sequentially through the first rotation matrix R LC and the second rotation matrix R CNi Two-stage rotations yield the magnetic field B in the coordinate system of the i-th nitrogen vacancy color center orientation. Ni =R CNi ·R LC ·B L and electric field E Ni =R CNi ·R LC ·E L Then B Ni and E Ni Projecting the nitrogen vacancy color center along its axis yields the axial component, while the projection perpendicular to this axis is the transverse component.
[0041] For the stress tensor or equivalent strain Q L The tensor is a second-order quantity, and its coordinate transformation adopts the similarity transformation form of the composition matrix, i.e., Q. Ni =(R CNi ·R LC )·Q L ·(R CNi ·R LC ) T The superscript T in the formula indicates transpose.
[0042] For the temperature field: temperature is a scalar, has no directionality, requires no coordinate transformation, and the equivalent temperature of the location near the sensitive volume of the nitrogen vacancy color center is directly used as the temperature parameter.
[0043] Step S103: Construct a ground-state spin Hamiltonian for each nitrogen vacancy color center orientation, including temperature-dependent zero-field splitting terms, Zeeman terms, and electric field or stress coupling terms.
[0044] For each NV orientation, a three-level ground state spin Hamiltonian is constructed. To ensure that D(T), the Zeeman coefficient, and the electric field or stress coupling coefficient are all in frequency units, the Hamiltonian is written as H / h below. It includes the zero-field splitting term D(T) determined by temperature T, the Zeeman term determined by the NV axial magnetic field and the transverse magnetic field, the zero-field splitting correction term caused by the axial electric field or equivalent strain, and the transverse coupling term caused by the transverse electric field or equivalent strain.
[0045] Furthermore, the ground-state spin Hamiltonian is represented by spin-projected 0 state, spin-projected +1 state, and spin-projected... 1-state basis The matrix; the temperature-dependent zero-field splitting term is linearly determined by the zero-field splitting frequency and temperature sensitivity coefficient at the reference temperature, or by a piecewise temperature function or an empirical temperature function; the Zeeman term includes the spin projection +1 state and spin projection caused by the axial magnetic field of the nitrogen vacancy color center. The first-state energy level shifts in the opposite direction; electric field or stress coupling terms include energy level mixing and transverse splitting caused by transverse electric field or stress.
[0046] In an ordered base Under these conditions, the temperature-dependent zero-field splitting term shifts together with the axial electric field or equivalent effect term. and Energy level; axial magnetic field makes and The energy level shifts in the opposite direction, and the transverse magnetic field causes... respectively with and Coupling occurs (i.e., energy level mixing is induced); transverse electric field or equivalent effect strain causes and Coupling occurs and lateral splitting occurs.
[0047] In an ordered basis, the ground-state spin Hamiltonian can be written as: ; Where, Δ z =d∥E z +M z ;Λ⊥=-Π x -iΠ y ; Π x =d⊥E x +M x ; Π y =d⊥E y +M y Ex E y and E z For the electric field components in the corresponding NV orientation coordinate system; M x M y and M z The effective frequency coupling quantity is obtained by projecting the stress tensor or equivalent variable tensor transformed to this coordinate system. and These are the axial and transverse electric field coupling coefficients, respectively; h is Planck's constant; γ e S is the electron gyromagnetic ratio expressed in units of frequency. x S y and S z It is a spin-1 operator. can be The piecewise temperature function or empirical temperature function is used to determine the temperature, where... Reference temperature The zero-field splitting frequency, This represents the temperature sensitivity coefficient. The sign conventions for different coordinate axes and coupling coefficients can be equivalently absorbed into Π. x Π y or In the definition.
[0048] Equivalently, the above formula The matrix form is as follows: .
[0049] In the above expression, the transverse electric field or equivalent strain is only through coupling and ; and The non-diagonal coupling between them is caused by the transverse magnetic field B x B y This matrix is generated. It satisfies the Hermitian property.
[0050] Step S104: Solve for the ground state spin Hamiltonian to obtain the eigenstates and eigenlevels.
[0051] Eigenvalue decomposition is performed on the ground-state spin Hamiltonian to obtain eigenlevels and eigenstates. The eigenlevels are the energy eigenvalues of the Hamiltonian matrix, and the eigenstates are the corresponding eigenvectors.
[0052] Step S105: Based on the overlap weight between the spin-projected 0 state and the intrinsic state after optical initialization, select the transitions from the spin-projected 0 state to the spin-projected ±1 state that can cause a decrease in fluorescence intensity as effective transitions; and determine the resonance frequency of each effective transition based on the intrinsic energy level.
[0053] Combination Figure 3As shown, based on the readout mechanism of population dominance of the ms=0 state after optical initialization and fluorescence decrease caused by microwave driving, effective transition contributions related to the transitions from the ms=0 state to the ms=+1 state and from the ms=0 state to the ms=-1 state are screened. The ms=0 state, ms=+1 state and ms=-1 state represent the ground state spin components with spin quantum numbers projected along the NV axis as 0, +1 and -1, respectively.
[0054] Furthermore, the screening process includes the following steps: Step S1051: Calculate the spin projection 0 state, the spin projection +1 state, and the spin projection The overlap weight between the 1-state basis and the eigenstate.
[0055] Step S1052: Take the transitions between eigenstates as candidate transitions and calculate the transition matrix elements of each candidate transition in the microwave field polarization direction.
[0056] Step S1053: If the overlap weight between the initial state of the candidate transition and the spin-projected 0 state after optical initialization is greater than a preset threshold, and the intensity of the transition matrix element can cause a decrease in fluorescence intensity, then it is determined to be a valid transition; exclude the spin-projected +1 state and the spin-projected +1 state. Transitions between states 1 and other transitions that do not participate in changes in fluorescence readout intensity.
[0057] When selecting transition contributions, the overlap weight of each eigenstate with the ground states ms=0, ms=+1, and ms=-1 is first calculated, and then the transition matrix element corresponding to the microwave field polarization direction is calculated. When the overlap weight of the initial state of a certain transition with the optically initialized ms=0 state is greater than a preset threshold, and the intensity of the matrix element of the transition can cause a decrease in optically detected magnetic resonance (ODMR) fluorescence, it is considered as a valid transition contribution. Pairwise transition contributions of quantum states that do not participate in the fluorescence readout intensity change are excluded, and only ground state-related transitions that start from the optically initialized ground state population and contribute to the decrease in ODMR fluorescence are retained, in order to avoid generating pseudo intermediate splitting peaks that are inconsistent with actual experiments.
[0058] Step S106: Generate optically detected magnetic resonance spectral lines using effective transitions and resonance frequencies and extract spectral line characteristic parameters.
[0059] like Figure 4 As shown, ODMR spectral lines are generated based on the selected effective transition contributions. The resonance frequency, peak depth, linewidth, and background baseline of each effective transition are superimposed according to Lorentz, Gaussian, or Voigt line types. One or more characteristic parameters among resonance center, peak splitting, peak depth, linewidth, frequency shift, and spectral contrast are extracted from the generated or measured spectral lines.
[0060] When generating ODMR spectra, the resonance frequency corresponding to each retained transition is superimposed with a line shape function, which can be a Lorentz line shape, Gaussian line shape, Voigt line shape, or an empirical line shape based on the measured linewidth. Spectral line contrast, background baseline, and noise level parameters are introduced. Spectral line feature extraction includes: baseline normalization and smoothing noise reduction of the spectral lines; determining two effective resonance depressions using second derivatives, local minima search, or nonlinear least squares fitting; taking the average of the center frequencies of the two depressions as the resonance center; taking the difference between the center frequencies of the two depressions as the peak split; taking the decrease in the lowest point of the depression relative to the baseline as the peak depth; taking the frequency width at half-peak depth as the linewidth; and calculating the spectral line contrast based on the ratio of peak depth to baseline intensity.
[0061] Furthermore, generating optically detected magnetic resonance spectral lines includes the following steps: Step S1061: Superimpose a line-shape function at the resonant frequency of each effective transition to obtain the superposition result. The line-shape function is a Lorentz function, a Gaussian function, a Voigt function, or an empirical function based on the measured linewidth.
[0062] Step S1062: Based on the superposition results, set the background baseline, determine the depth of each resonance depression according to the spectral contrast, add random fluctuations according to the noise level, and generate optically detected magnetic resonance spectral lines.
[0063] Background ODMR spectra were acquired under no partial discharge conditions, and initial values of baseline, linewidth, and contrast were determined. Under standard magnetic field conditions, the magnetic field amplitude and direction were changed to calibrate the coefficient between the NV axial magnetic field and interpeak splitting. Under controlled temperature rise conditions, the temperature was changed and the control temperature was recorded to calibrate the coefficient between temperature and resonance center drift. Under partial discharge conditions, UHF partial discharge pulses, discharge voltages, discharge time windows, and ODMR spectra were acquired simultaneously to calibrate the relationship between discharge intensity, discharge repetition rate, or discharge time window and differential mode frequency shift characteristics. The samples were then divided into training, validation, and test sets. The model parameters were adjusted using the validation set, and the calibration error and confidence level were output using the test set.
[0064] Further, the extraction of spectral line feature parameters includes the following steps: Step S1063: Baseline normalization and smoothing noise reduction are performed on the optically detected magnetic resonance spectral lines to obtain the preprocessed spectral lines.
[0065] Step S1064: Use the second derivative, local minimum search, or nonlinear least squares fitting to determine two effective resonance depressions from the preprocessed spectral lines.
[0066] Step S1065: The average center frequency of the two effective resonance depressions is taken as the resonance center, the difference between the center frequencies of the two effective resonance depressions is taken as the peak split, the decrease in the lowest point of the two effective resonance depressions relative to the baseline is taken as the peak depth, the frequency width at half the peak depth is taken as the linewidth, and the spectral contrast is determined by the ratio of peak depth to baseline intensity, thus obtaining the spectral characteristic parameters.
[0067] Step S107: Use the control test samples to calibrate the mapping relationship between multi-physics parameters and spectral characteristic parameters, and construct a forward mapping model and a reverse identification model. The forward mapping model includes a physically transparent mapping layer and a residual correction layer.
[0068] Combination Figure 5 As shown, training and validation samples are established through standard magnetic field, controlled temperature rise, and partial discharge control experiments. The mapping relationship between external electric field, magnetic field, and temperature field parameters and ODMR spectral characteristic parameters is calibrated. The calibration includes one or more of the following: physical coefficient calibration, lookup table calibration, and transparent residual correction model calibration. The system outputs a forward mapping model, a reverse identification model, a lookup table, an inversion parameter set, and a reliability evaluation result for identifying reactor partial discharge intensity, local magnetic disturbance, or transient temperature rise.
[0069] The physically transparent mapping layer refers to a mapping layer that calculates spectral features step-by-step according to physical rules of coordinate transformation, ground-state spin Hamiltonian construction and solution, effective transition screening, spectral line generation and feature extraction, and can provide spectral line features without training. The residual correction layer is used to compensate for engineering deviations such as linewidth, peak depth and background noise, and its number of parameters is much smaller than that of a black-box neural network. The two are connected in series to form a mapping model, so that the intermediate quantities of the model (axial components, transverse components, tensor components, eigenlevels, effective transition resonance frequencies, spectral line feature parameters) all have clear physical meanings, and the interpretability and traceability are better than those of the black-box model that directly maps the external field to spectral lines.
[0070] Furthermore, the establishment of the control sample includes the following steps: Step S1071: Acquire background spectral lines under partial discharge-free conditions, determine the initial values of baseline, linewidth, and contrast, and form a discharge-free baseline sample.
[0071] Step S1072: Under standard magnetic field conditions, change the magnetic field amplitude and direction, simultaneously record the magnetic field parameters and optically detected magnetic resonance spectral lines to form a standard magnetic field sample, and calibrate the coefficient between the axial magnetic field and the interpeak splitting based on the discharge-free baseline sample.
[0072] Step S1073: Change the temperature and record the control temperature under the controllable temperature rise condition, simultaneously record the temperature parameters and photodetector magnetic resonance spectral lines to form a controllable temperature rise sample, and calibrate the coefficient between temperature and resonance center drift based on the discharge-free baseline sample.
[0073] Step S1074: Under partial discharge conditions, simultaneously acquire ultra-high frequency partial discharge pulses, discharge voltages, discharge time windows, and photodetector magnetic resonance spectra to form partial discharge control samples. Combine the coefficients between the axial magnetic field and interpeak splitting, as well as the coefficients between temperature and resonance center drift, to calibrate the relationship between discharge intensity, discharge repetition rate, or discharge time window and the differential mode frequency shift characteristics of the spectral lines.
[0074] The control test samples consist of a no-discharge baseline sample, a standard magnetic field sample, a controllable temperature rise sample, and a partial discharge control sample.
[0075] Furthermore, the training process for the parameters of the residual correction layer includes the following steps: Step S1075: Obtain training data from the no-discharge baseline sample, standard magnetic field sample, controllable temperature rise sample, and partial discharge control sample.
[0076] Step S1076: Perform baseline subtraction, frequency normalization, abnormal spectral line removal, and operating condition label encoding on the training data to obtain the training sample set.
[0077] Step S1076: Construct a loss function based on the training sample set. The loss function includes the mean square error of spectral features, physical monotonicity constraint, and parameter range constraint.
[0078] Step S1078: Optimize the loss function using least squares, adaptive moment estimation optimization, or Bayesian hyperparameter search to determine the parameters of the residual correction layer.
[0079] The mapping model includes a forward mapping model and a reverse identification model. The forward mapping model is used to predict ODMR spectral features based on given external field parameters, while the reverse identification model is used to invert the partial discharge induced magnetic field, equivalent discharge intensity, or transient temperature rise based on the measured ODMR spectral features. The mapping model adopts a structure consisting of a physically transparent mapping layer, a feature normalization layer, and a residual correction layer connected in series. The input layer includes NV orientation number, axial magnetic field, transverse magnetic field, temperature, temperature rise rate, axial electric field, transverse electric field, and operating condition label. The physically transparent mapping layer outputs the initial spectral features according to the coordinate transformation, Hamiltonian solution, and spectral line generation rules of claims 3 to 6. The residual correction layer... The training algorithm uses a 1- to 3-layer fully connected network or a piecewise linear lookup table to correct linewidth, peak depth, and background noise bias. Training data is derived from standard magnetic field, controlled temperature rise, discharge-free baseline, and partial discharge control experiments. Before training, baseline subtraction, frequency normalization, abnormal spectral line removal, and operating condition label encoding are performed. The loss function includes the mean square error of spectral features, physical monotonicity constraints, and range constraints. The optimization algorithm employs least squares, Adam, or Bayesian hyperparameter search. The preferred learning rate is 1e4 to 1e2, the preferred batch size is 16 to 128, and the preferred number of training epochs is 100 to 1000, or the algorithm can be stopped early if the validation error does not decrease for a preset number of consecutive epochs. The validity of the forward mapping model and the reverse recognition model is verified, and the validity verification includes one or more of the following: Calculate the root mean square residual between the predicted spectral line and the measured spectral line. If the root mean square residual exceeds three times the standard deviation of the noise at the discharge-free baseline, the spectral line residual check is deemed unsuccessful, and the linewidth, contrast, or background noise parameters are updated.
[0080] Check whether the interpeak splitting increases monotonically when the standard magnetic field increases, and whether the resonance center drifts in the direction of temperature sensitivity when the controllable temperature rise increases. If these conditions are not met, the monotonicity check of the characteristic parameters is deemed unsuccessful.
[0081] Check whether the physical quantities obtained by inversion are within the training calibration range; if they are outside the range, reduce the reliability.
[0082] For the same operating condition, at least three sets of spectral lines should be repeatedly collected and the coefficient of variation of characteristic parameters should be calculated. If the coefficient of variation exceeds the preset threshold, supplementary calibration is required.
[0083] The differential mode frequency shift time window is matched with the UHF partial discharge pulse time using the same time base, and the common mode drift is matched with the reference temperature curve using the same time base. The time consistency check results are then output.
[0084] The reactor optical detection magnetic resonance mapping calibration method also includes: outputting a forward mapping model, a reverse identification model, an inversion parameter set, and a credibility evaluation result for identifying the reactor's partial discharge intensity, local magnetic disturbance, or transient temperature rise; the credibility evaluation result is obtained based on validity verification, and when the physical quantity obtained by inversion exceeds the training calibration range or the coefficient of variation of the characteristic parameter exceeds the preset threshold, a low credibility prompt is output and supplementary calibration is required.
[0085] Both the forward mapping model and the reverse identification model include a physically transparent mapping layer and a residual correction layer. The physically transparent mapping layer realizes the bidirectional mapping between multi-physics parameters and spectral line characteristic parameters according to the physical rules of coordinate transformation, ground state spin Hamiltonian solution and effective transition screening. The residual correction layer is used to correct linewidth, peak depth or background noise deviation. The reverse identification model is used to invert partial discharge intensity, local magnetic disturbance or transient temperature rise based on the measured spectral line characteristic parameters.
[0086] The forward mapping model and the reverse recognition model also include a feature normalization layer, and the feature normalization layer, the physical transparency mapping layer and the residual correction layer are connected in series. The input of the forward mapping model includes the orientation number of nitrogen vacancy color centers, axial magnetic field, transverse magnetic field, temperature, temperature rise rate, axial electric field, transverse electric field and operating condition label. The input of the reverse recognition model includes the measured spectral line feature parameters. The residual correction layer is a piecewise linear lookup table or a fully connected network with 1 to 3 hidden layers.
[0087] The forward mapping answers the question of "how the ODMR spectrum should change given the discharge field and temperature rise conditions," while the reverse identification answers the question of "what the corresponding local magnetic disturbance and temperature rise state is given the measured ODMR spectrum characteristics." Through this bidirectional mapping, the present invention can link quantum sensing measurement results with reactor state quantities, providing fundamental parameters for subsequent common-mode-differential-mode inversion, hierarchical early warning, and multi-physical quantity confirmation.
[0088] In generating the optically detected magnetic resonance spectral lines, the measured double-dip spectral lines of the packaged system are used as a reference sample to correct the zero-field splitting term parameters and line shape parameters, so that the resonance center is located at approximately 2.867 GHz and the two branch resonance dips are located at approximately 2.862 GHz and 2.872 GHz.
[0089] Combination Figure 6 As shown, the optically detected magnetic resonance spectrum is constrained using the measured double-dip spectrum of the packaged system as a reference sample. The reference sample includes: a resonance center frequency of approximately 2.867 GHz, two branch resonance frequencies of approximately 2.862 GHz and 2.872 GHz, a peak depth or contrast of approximately 1.3% to 1.5%, and a full width at half maximum (FWHM) of approximately 5.4 MHz to 5.8 MHz; an RF link operating range covering 0.48 GHz to 7.05 GHz; and a partial discharge test voltage of 13 kV to 19 kV.
[0090] This invention does not focus on multi-reference quantum chemical calculations of materials, nor does it require the construction of NV color center clusters, selection of active spaces, or the execution of CASSCF / NEVPT2 calculations. Instead, it focuses on the ground-state spin Hamiltonian and fluorescence readout-related transitions during the sensor's operation.
[0091] Unlike CTK-Net-based weak magnetic field black-box prediction, this invention uses coordinate transformation, Hamiltonian solution, and spectral feature generation as a physically transparent mapping layer, and only uses a residual correction layer to compensate for engineering noise. Unlike NV temperature imaging methods, this invention does not only invert temperature based on D value, but also simultaneously processes the electric field, magnetic field, and temperature-coupled external field under partial discharge of the reactor. Unlike quantum current transformer simulation testing, this invention does not take the conductor rod current as a single object, but establishes a verifiable mapping for the partial discharge time window, differential mode frequency shift, and common mode drift of reactor insulation defects.
[0092] Example 2 This invention proposes a reactor optical detection magnetic resonance mapping calibration system, comprising: a sensing unit, a field parameter acquisition unit, a coordinate transformation unit, a Hamiltonian unit, a transition screening unit, a spectral line generation and feature extraction unit, and a calibration and mapping unit.
[0093] The sensing unit includes a diamond nitrogen-vacancy color center probe, a laser source, a microwave sweep frequency source, and a photodetector, which are used to perform optical initialization, microwave driving, and fluorescence detection on the reactor or its equivalent defect structure to obtain the measured optical detection magnetic resonance spectrum.
[0094] The field parameter acquisition unit is used to acquire the multi-physics field parameters of electric field, magnetic field, temperature field and stress field of reactor or its equivalent defect structure under partial discharge, temperature rise or electro-magnetic-thermal coupling conditions.
[0095] The coordinate transformation unit is used to transform the electric field, magnetic field and stress field in the laboratory coordinate system to the local coordinate system of each orientation of the diamond nitrogen-vacancy color center, and obtain the axial component, transverse component and tensor component respectively, and use the equivalent temperature of the location near the sensitive volume of the nitrogen-vacancy color center as the temperature parameter.
[0096] Hamiltonian units are used to construct the ground-state spin Hamiltonian for each nitrogen vacancy color center orientation, including temperature-dependent zero-field splitting terms, Zeeman terms, electric field or stress coupling terms, and solve for the eigenstates and eigenlevels.
[0097] The transition screening unit is used to screen effective transitions based on the overlap weight between the spin projection 0 state and the intrinsic state after optical initialization, and to determine the resonance frequency of each effective transition based on the intrinsic energy level.
[0098] The spectral line generation and feature extraction unit is used to generate optically detected magnetic resonance spectral lines and extract spectral line feature parameters using effective transitions and resonance frequencies.
[0099] The calibration and mapping unit is used to calibrate the mapping relationship between multi-physics parameters and spectral line characteristic parameters using control test samples, and to construct a forward mapping model and a reverse identification model.
[0100] The sensing unit includes a diamond nitrogen-vacancy center probe, a laser source, a microwave sweep source, and a photodetector. The laser source is used to optically initialize the nitrogen-vacancy center, concentrating its ground-state spin population in the spin-projected 0 state. The microwave sweep source applies a microwave field within a preset frequency band to drive transitions from the spin-projected 0 state to the spin-projected ±1 state. The photodetector collects the fluorescence intensity of the nitrogen-vacancy center, thereby obtaining the measured photodetector magnetic resonance (PDMR) spectral lines. This invention is not dependent on a specific brand or structure of nitrogen-vacancy center quantum sensing device; as long as the PDMR spectral lines or observation signals related to the PDMR resonance frequency can be obtained, the method of this invention can be implemented.
[0101] Application Examples This embodiment uses the ODMR double-concave spectral lines obtained by the system after encapsulation in the technical report as the benchmark sample. The external field input, Hamiltonian solution, fluorescence readout related transition screening and spectral feature extraction are cross-verified, so that the mapping calibration is not a purely theoretical formula, but an engineering model constrained by measurable spectral line parameters.
[0102] The effective operating range of the RF source, microwave antenna, and matched transmission link covers 0.48 GHz to 7.05 GHz, covering the operating frequency band near the NV color center at 2.87 GHz and providing margins for frequency sweeping, modulation, and locking. This data supports the setting of candidate frequencies, spectral line generation, and calibration ranges in this invention. The observable characteristics and data sources of ODMR mapping calibration are shown in Table 1.
[0103] Table 1. Observable features and data sources of ODMR mapping calibration
[0104] 1. Acquisition of the external field and coordinate transformation.
[0105] A finite element model of the needle-needle or needle-plate partial discharge structure is established, or the electric field, magnetic field and temperature field data around the discharge area are obtained by actual measurement sensors. The coupling conditions include the synchronous occurrence of magnetic field induced by discharge current and temperature rise, the synchronous occurrence of local electric field distortion and heat accumulation at the oil-paper interface, and the superposition of pulse magnetic disturbance and slow temperature drift generated by repetitive weak discharge. For the vector field, the diamond wafer is first determined to be
[111] ,
[100] or other crystal orientations. The
[111] crystal orientation and the
[100] crystal orientation represent the cutting orientation of the diamond wafer normal relative to the crystal coordinate system, respectively. Then, the rotation matrix from the laboratory coordinate system to the crystal coordinate system is established according to the probe installation posture, and the orientation coordinate matrix is established for the four types of NV orientations. The magnetic field and electric field in the laboratory coordinate system are projected to each NV orientation coordinate system to obtain the axial component and the transverse component. For the temperature field, the equivalent temperature of the NV sensitive volume or the adjacent position of the sensitive area is selected as the input of D(T). For the stress or equivalent tensor field, the form RQR^T is used to transform to the NV orientation coordinate system through the corresponding rotation matrix.
[0106] 2. Hamiltonian construction and transition screening.
[0107] Taking the ground-state spin triplet of the NV color center as the object, a 3×3 ground-state spin Hamiltonian is constructed under the substrates of ms=0, ms=+1, and ms=-1, where ms represents the projected quantum number of electron spin along the NV axis. The Hamiltonian includes a zero-field splitting term, a Zeeman term, and an electric field or equivalent effect coupling term. The D in the zero-field splitting term varies with temperature and can be a linear temperature coefficient near room temperature or a piecewise empirical function. The Zeeman term is calculated based on the axial and transverse magnetic fields of the NV, and the electric field coupling term is calculated based on the axial electric field, transverse electric field, or equivalent effect. After solving for the eigenlevels and eigenstates, the overlap weights of each eigenstate with the ground-state components of ms=0, ms=+1, and ms=-1 are calculated first, and then the transition matrix elements are calculated based on the polarization direction of the microwave field. Not all pairwise transitions of quantum states are included in the ODMR spectrum; instead, based on the optical initialization and fluorescence readout process, only the relevant transitions originating from the ms=0 ground-state population that lead to a decrease in fluorescence intensity are retained. This can avoid the appearance of false intermediate peaks in the simulated spectrum that do not match the actual measurements.
[0108] 3. ODMR spectral line generation and feature extraction.
[0109] A spectral line shape function is set for the retained transition contributions; the line shape can be Lorentz, Gaussian, or Voigt. ODMR spectra are generated by superimposing the resonance frequency, peak depth, linewidth, and background baseline for each transition, and features such as resonance center, peak splitting, peak depth, linewidth, frequency shift, and spectral contrast are extracted. Specifically, the spectral lines are first baseline-normalized and smoothed for noise reduction. Then, two effective resonance depressions are determined through local minima search or nonlinear least-squares fitting. The average frequency of the two depression centers is the resonance center; the difference between the two depression center frequencies is the peak splitting; the decrease in the lowest point of the depression relative to the baseline is the peak depth; the frequency width at half-peak depth is the linewidth; and the ratio of peak depth to baseline intensity is the spectral contrast. Partial discharge-induced magnetic fields are mainly reflected as peak splitting or differences in frequency characteristics; temperature changes are mainly reflected as resonance center drift; and changes in electric field or stress can manifest as transverse splitting or changes in spectral line morphology. Figure 7 The mapping matrix from external field characteristics to optically detected magnetic resonance spectral characteristics is shown. From this mapping matrix, it can be seen that: changes in the axial and transverse magnetic fields mainly reflect changes in interpeak splitting and differential mode shift. The axial magnetic field directly alters the Zeeman splitting amount, while the transverse magnetic field affects the relative positions of the two branch resonance depressions through energy level mixing. Temperature changes mainly reflect resonance center drift and common-mode drift, with the two branch resonance depressions exhibiting a unidirectional shift. Changes in the transverse electric field or stress mainly reflect changes in transverse splitting and spectral line morphology, manifested as a decrease in spectral contrast or depression broadening. When multiple external fields act simultaneously, the changes in spectral characteristics are the result of the superposition of the above correspondences. This mapping matrix is used to select the external field adjustment amount for calibration experiments; that is, by changing a single external field and observing the changes in the corresponding spectral line characteristics, the independent contributions of each external field are separated, thus providing a basis for the calibration of each coefficient.
[0110] 4. Calibration and reverse identification.
[0111] Background ODMR spectra were acquired under no-discharge conditions to establish a system baseline. Under standard magnetic field conditions, the amplitude and direction of the magnetic field were varied to calibrate the relationship between peak splitting and magnetic field components. Under controlled temperature rise conditions, the temperature was varied to calibrate the relationship between resonance center drift and temperature rise. Under partial discharge conditions, UHF partial discharge signals and ODMR spectra were simultaneously acquired to calibrate the relationship between discharge time window, discharge intensity or repetition rate, and spectral differential mode characteristics. Training samples consisted of standard magnetic field samples, controlled temperature rise samples, no-discharge baseline samples, and partial discharge control samples. Preprocessing included baseline subtraction, frequency normalization, abnormal spectral line removal, and condition label encoding. The mapping model included an input layer, a feature normalization layer, a physically transparent mapping layer, a residual correction layer, and an output layer. The residual correction layer was a 1-3 layer fully connected network or a piecewise linear lookup table. The loss function included the mean square error of spectral features, physical monotonicity constraints, and parameter range constraints. The optimization algorithm employed least squares, Adam, or Bayesian hyperparameter search. After calibration, the forward mapping model can be used to simulate the ODMR spectral response under different defect conditions, while the reverse identification model can be used to invert local magnetic disturbances and temperature rise based on the measured spectral characteristics.
[0112] 5. Validity check.
[0113] The model output undergoes spectral residual checks, characteristic parameter monotonicity checks, physical quantity range constraint checks, repeatability checks under the same operating conditions, and time consistency checks. If the residual between the predicted and measured spectra exceeds three times the standard deviation of the discharge-free baseline noise, the linewidth, contrast, or background noise parameters are updated. If the standard magnetic field increases but the interpeak splitting does not increase monotonically, or the controllable temperature rise increases but the resonance center does not drift in the direction of temperature sensitivity, the current calibration is deemed unqualified. If the inverted magnetic field, temperature, or discharge intensity exceeds the experimental calibration range, a low confidence warning is output, and additional calibration points are requested. At least three sets of ODMR spectra are repeatedly acquired under the same operating condition, and the coefficient of variation of characteristic parameters is calculated. For partial discharge samples, the differential mode frequency shift time window is matched with the UHF partial discharge pulse time, and the common mode drift is matched with the control temperature curve. Through the above steps, it can be ensured that the mapping model is not simply a stack of theoretical formulas, but a usable calibration model mutually constrained by the reactor discharge experimental data.
[0114] Example 3 The present invention also proposes a computer storage medium storing a computer program, which, when executed by a processor, implements any of the methods described herein.
[0115] The above results are qualitative descriptions, and their specific manifestations vary depending on the hardware platform, model scale, and business distribution. The above embodiments are merely examples for clear illustration and are not intended to limit the implementation methods. Those skilled in the art can make other variations or modifications based on the above description. It is neither necessary nor possible to exhaustively list all possible implementation methods here. However, obvious variations or modifications derived therefrom are still within the scope of protection of this invention.
[0116] 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. This 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 methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory, programmable read-only memory, electrically programmable read-only memory, electrically erasable programmable read-only memory, or flash memory. Volatile memory may include random access memory or external cache memory.
Claims
1. A method for calibrating a reactor using optical detection magnetic resonance mapping, characterized in that, include: The multi-physics parameters of electric field, magnetic field, temperature field and stress field of reactor or its equivalent defect structure under partial discharge, temperature rise or electro-magnetic-thermal coupling conditions are obtained, and the multi-physics parameters are obtained under laboratory conditions. By transforming the coordinates, the electric field, magnetic field and stress field in the laboratory coordinate system are transformed to the local coordinate system of each orientation of the diamond nitrogen vacancy color center, and the axial component, transverse component and tensor component of the corresponding nitrogen vacancy color center orientation are obtained respectively. The equivalent temperature of the position near the sensitive volume of the nitrogen vacancy color center in the temperature field is used as the temperature parameter. For each of the nitrogen vacancy color center orientations, a ground-state spin Hamiltonian is constructed, which includes temperature-dependent zero-field splitting terms, Zeeman terms, and electric field or stress coupling terms. Solving for the ground state spin Hamiltonian yields the eigenstates and eigenlevels; Based on the overlap weight between the spin-projected 0 state and the intrinsic state after optical initialization, transitions from the spin-projected 0 state to the spin-projected ±1 state that can cause a decrease in fluorescence intensity are selected as effective transitions; and the resonance frequency of each effective transition is determined based on the intrinsic energy level. The effective transition and the resonance frequency are used to generate optically detected magnetic resonance spectral lines and extract spectral line characteristic parameters. The mapping relationship between multi-physics parameters and spectral characteristic parameters is determined using control test samples, and a forward mapping model and a reverse identification model are constructed. The forward mapping model includes a physically transparent mapping layer and a residual correction layer.
2. The reactor optical detection magnetic resonance mapping calibration method according to claim 1, characterized in that, The multiphysics parameters are derived from finite element simulation, measured sensor data, equivalent electrode test data, or a combination thereof; the partial discharge conditions include one or more of the following: needle-to-needle discharge, needle-to-plate discharge, insulation failure discharge, partial discharge at the oil-paper interface, and repetitive weak discharge; the electro-magnetic-thermal coupling conditions include one or more of the following: discharge current-induced magnetic field and local temperature rise occurring simultaneously, local electric field distortion and heat accumulation at the oil-paper interface occurring simultaneously, and pulse magnetic disturbance and slow temperature drift caused by repetitive weak discharge superimposed.
3. The reactor optical detection magnetic resonance mapping calibration method according to claim 1, characterized in that, The coordinate transformation includes: Determine the crystal orientation of the diamond wafer and the probe mounting orientation, and establish the first rotation matrix from the laboratory coordinate system to the crystal coordinate system; Establish a second rotation matrix from the crystal coordinate system to the local coordinate system of the orientation of each nitrogen vacancy color center; The electric field vector and magnetic field vector in the laboratory coordinate system are rotated in two stages by the first rotation matrix and the second rotation matrix to obtain the electric field and magnetic field in the local coordinate system of the nitrogen vacancy color center orientation, and decomposed into axial components along the nitrogen vacancy color center axis and transverse components perpendicular to the axis. For the stress tensor, it is transformed to the local coordinate system of the nitrogen vacancy color center orientation through a similarity transformation of the composite matrix of the first rotation matrix and the second rotation matrix.
4. The reactor optical detection magnetic resonance mapping calibration method according to claim 1, characterized in that, The ground state spin Hamiltonian is defined by spin-projected 0 state, spin-projected +1 state, and spin-projected... A 3×3 matrix with a 1-state basis; the temperature-dependent zero-field splitting term is linearly determined by the zero-field splitting frequency and temperature sensitivity coefficient at the reference temperature, or by a piecewise temperature function or an empirical temperature function; the Zeeman term includes the spin projection +1 state and spin projection caused by the axial magnetic field of the nitrogen vacancy color center. The first-state energy level shifts in the opposite direction; the electric field or stress coupling term includes energy level mixing and transverse splitting caused by transverse electric field or stress.
5. The reactor optical detection magnetic resonance mapping calibration method according to claim 1, characterized in that, The filtering includes: Calculate the spin-projected 0 state, the spin-projected +1 state, and the spin-projected... The overlap weight between the 1-state basis and the eigenstate; The transitions between the eigenstates are taken as candidate transitions, and the transition matrix elements of each candidate transition are calculated in the microwave field polarization direction. If the overlap weight between the initial state of the candidate transition and the optically initialized spin projection 0 state is greater than a preset threshold, and the intensity of the transition matrix element can cause a decrease in fluorescence intensity, then it is determined to be a valid transition; the spin projection +1 state and the spin projection ... Transitions between states 1 and other transitions that do not participate in changes in fluorescence readout intensity.
6. The reactor optical detection magnetic resonance mapping calibration method according to claim 1, characterized in that, The generated optically detected magnetic resonance spectral lines include: A line-shape function is superimposed at the resonant frequency of each effective transition to obtain the superposition result. The line-shape function is a Lorentz function, a Gaussian function, a Voigt function, or an empirical function based on the measured linewidth. Based on the superposition results, a background baseline is set, the depth of each resonance depression is determined according to the spectral line contrast, and random fluctuations are added according to the noise level to generate the optically detected magnetic resonance spectral lines.
7. The reactor optical detection magnetic resonance mapping calibration method according to claim 1, characterized in that, The extracted spectral line feature parameters include: Baseline normalization and smoothing noise reduction were performed on the optically detected magnetic resonance spectral lines to obtain the preprocessed spectral lines. Two effective resonance depressions are determined from the preprocessed spectral lines using second derivatives, local minima search, or nonlinear least squares fitting. The average center frequency of the two effective resonance depressions is taken as the resonance center, the difference between the center frequencies of the two effective resonance depressions is taken as the peak split, the decrease in the lowest point of the two effective resonance depressions relative to the baseline is taken as the peak depth, the frequency width at half-peak depth is taken as the linewidth, and the spectral contrast is determined by the ratio of peak depth to baseline intensity, thus obtaining the spectral characteristic parameters.
8. The reactor optical detection magnetic resonance mapping calibration method according to claim 1, characterized in that, The establishment of the control test sample includes: Background spectral lines were collected under no partial discharge conditions to determine the initial values of baseline, linewidth and contrast, thus forming a no-discharge baseline sample. Under standard magnetic field conditions, the magnetic field amplitude and direction are changed, and the magnetic field parameters and optically detected magnetic resonance spectral lines are recorded simultaneously to form a standard magnetic field sample. Based on the discharge-free baseline sample, the coefficient between the axial magnetic field and the interpeak splitting is calibrated. Under controllable temperature rise conditions, the temperature is changed and the control temperature is recorded. Temperature parameters and photodetector magnetic resonance spectral lines are recorded simultaneously to form a controllable temperature rise sample. The coefficient between temperature and resonance center drift is calibrated based on the discharge-free baseline sample. Under partial discharge conditions, ultra-high frequency partial discharge pulses, discharge voltages, discharge time windows, and photodetector magnetic resonance spectra are simultaneously acquired to form partial discharge control samples. The relationship between discharge intensity, discharge repetition rate, or discharge time window and differential mode frequency shift characteristics of the spectrum is calibrated by combining the coefficient between the axial magnetic field and interpeak splitting and the coefficient between the temperature and resonance center drift. The discharge-free baseline sample, the standard magnetic field sample, the controllable temperature rise sample, and the partial discharge control sample constitute the control test sample.
9. The reactor optical detection magnetic resonance mapping calibration method according to claim 8, characterized in that, The training process for the parameters of the residual correction layer includes: Training data were obtained from the discharge-free baseline sample, the standard magnetic field sample, the controllable temperature rise sample, and the partial discharge control sample; The training data is subjected to baseline subtraction, frequency normalization, abnormal spectral line removal, and operating condition label encoding to obtain a training sample set; A loss function is constructed based on the training sample set, and the loss function includes mean square error of spectral features, physical monotonicity constraint and parameter range constraint; The loss function is optimized using least squares, adaptive moment estimation optimization, or Bayesian hyperparameter search to determine the parameters of the residual correction layer.
10. The reactor optical detection magnetic resonance mapping calibration method according to claim 8, characterized in that, The validity of the forward mapping model and the reverse recognition model is verified, and the validity verification includes one or more of the following: Calculate the root mean square residual between the predicted spectral line and the measured spectral line. If the root mean square residual exceeds three times the standard deviation of the noise at the discharge-free baseline, the spectral line residual check is deemed to have failed, and the linewidth, contrast, or background noise parameters are updated. Check whether the interpeak splitting increases monotonically when the standard magnetic field increases, and whether the resonance center drifts in the direction of temperature sensitivity when the controllable temperature rise increases. If these conditions are not met, the monotonicity check of the characteristic parameters is deemed to have failed. Check whether the physical quantities obtained from the inversion are within the training calibration range; if they are outside the range, reduce the confidence level. For the same working condition, at least 3 sets of spectral lines are repeatedly collected and the coefficient of variation of characteristic parameters is calculated. If the coefficient of variation exceeds the preset threshold, additional calibration is required. The differential mode frequency shift time window is matched with the UHF partial discharge pulse time using the same time base, and the common mode drift is matched with the reference temperature curve using the same time base. The time consistency check results are then output.
11. The reactor optical detection magnetic resonance mapping calibration method according to claim 10, characterized in that, Also includes: Outputs a forward mapping model, a reverse identification model, an inversion parameter set, and a credibility evaluation result for identifying partial discharge intensity, local magnetic disturbance, or transient temperature rise in reactors. The credibility evaluation result is obtained based on the validity verification. When the physical quantity obtained by inversion exceeds the training calibration range or the coefficient of variation of the feature parameter exceeds a preset threshold, a low credibility prompt is output and supplementary calibration is required.
12. The reactor optical detection magnetic resonance mapping calibration method according to claim 1, characterized in that, Both the forward mapping model and the reverse identification model include the physically transparent mapping layer and the residual correction layer. The physically transparent mapping layer realizes the bidirectional mapping between multi-physics parameters and spectral line characteristic parameters according to the physical rules of coordinate transformation, ground state spin Hamiltonian solution and effective transition screening. The residual correction layer is used to correct linewidth, peak depth or background noise deviation. The reverse identification model is used to invert partial discharge intensity, local magnetic disturbance or transient temperature rise based on the measured spectral line characteristic parameters.
13. The reactor optical detection magnetic resonance mapping calibration method according to claim 12, characterized in that, The forward mapping model and the reverse recognition model further include a feature normalization layer, and the feature normalization layer, the physically transparent mapping layer, and the residual correction layer are connected in series. The input of the forward mapping model includes nitrogen vacancy color center orientation number, axial magnetic field, transverse magnetic field, temperature, temperature rise rate, axial electric field, transverse electric field, and operating condition label. The input of the reverse recognition model includes measured spectral line feature parameters. The residual correction layer is a piecewise linear lookup table or a fully connected network with 1 to 3 hidden layers.
14. The reactor optical detection magnetic resonance mapping calibration method according to claim 1, characterized in that, When generating the optically detected magnetic resonance spectral lines, the zero-field splitting term parameters and line shape parameters are corrected using the measured double-dip spectral lines of the packaged system as a reference sample, so that the resonance center is located at approximately 2.867 GHz and the two branch resonance dips are located at approximately 2.862 GHz and 2.872 GHz.
15. A reactor optical detection magnetic resonance mapping calibration system, characterized in that, include: The sensing unit, including a diamond nitrogen-vacancy color center probe, a laser source, a microwave sweep frequency source, and a photodetector, is used to perform optical initialization, microwave driving, and fluorescence detection on the reactor or its equivalent defect structure in order to obtain the measured optical detection magnetic resonance spectrum. The field parameter acquisition unit is used to acquire the electric field, magnetic field, temperature field and stress field multi-physics field parameters of the reactor or its equivalent defect structure under partial discharge, temperature rise or electro-magnetic-thermal coupling conditions; The coordinate transformation unit is used to transform the electric field, magnetic field and stress field in the laboratory coordinate system to the local coordinate system of each orientation of the diamond nitrogen vacancy color center, and obtain the axial component, transverse component and tensor component respectively, and use the equivalent temperature of the position near the sensitive volume of the nitrogen vacancy color center as the temperature parameter. Hamiltonian unit is used to construct the ground state spin Hamiltonian for each nitrogen vacancy color center orientation, including temperature-dependent zero-field splitting terms, Zeeman terms, electric field or stress coupling terms, and solve for the eigenstates and eigenlevels. A transition screening unit is used to screen effective transitions based on the overlap weight between the spin projection 0 state after optical initialization and the intrinsic state, and to determine the resonance frequency of each effective transition based on the intrinsic energy level. The spectral line generation and feature extraction unit is used to generate optically detected magnetic resonance spectral lines and extract spectral line feature parameters using the effective transition and the resonance frequency. The calibration and mapping unit is used to calibrate the mapping relationship between the multi-physics parameters and the spectral line characteristic parameters using control test samples, and to construct a forward mapping model and a reverse identification model.
16. A computer storage medium, characterized in that, The device contains a computer program that, when executed by a processor, implements the reactor photodetector magnetic resonance mapping calibration method according to any one of claims 1 to 14.
