A detection system and method based on high-frequency spectrum analysis and edge AI

By using high-frequency spectrum analysis and an edge AI detection system to dynamically adjust spectrum suppression and time domain resolution, the signal attenuation and network model determination delay caused by terminal oxidation in photovoltaic DC circuits are solved, thereby improving the response speed and system stability of circuit breaker protection.

CN123136298APending Publication Date: 2026-11-20HANGZHOU TAGENO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The high-frequency characteristics of the photovoltaic DC circuit are attenuated due to physical oxidation of the connection terminals. Traditional full-band gain compensation can easily amplify the inverter switching harmonic noise floor, causing fluctuations in the network model's decision probability and delaying the circuit breaker protection response of the edge control node.

Method used

A detection system based on high-frequency spectrum analysis and edge AI is adopted. Through waveform acquisition module, asynchronous hot tracking module, spectrum mask reconstruction module and edge dynamic slicing module, the spectrum suppression and temporal resolution are dynamically adjusted to improve the judgment speed of the network model.

Benefits of technology

It effectively compensates for signal characteristic distortion caused by terminal aging, shortens the output time of circuit breaker protection signals, and ensures the operational stability and timeliness of photovoltaic equipment under complex operating conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123136298A_ABST
    Figure CN123136298A_ABST
Patent Text Reader

Abstract

This invention provides a detection system and method based on high-frequency spectrum analysis and edge AI. The method includes: continuously receiving the current waveform of a photovoltaic DC branch and performing a short-time Fourier transform according to a set sliding window overlap ratio to extract a frequency domain amplitude matrix; receiving temperature values ​​reported by a wireless temperature measurement node at a preset period and integrating them to obtain thermal aging weights representing the degree of oxidation of the connection terminals; generating a spectrum suppression mask based on the thermal aging weights, using the spectrum suppression mask to weaken the high-frequency band values ​​in the frequency domain amplitude matrix and simultaneously increasing the input weights of the mid-frequency band values, outputting a reconstructed feature matrix; and feeding the reconstructed feature matrix into a network model for forward inference, dynamically increasing the sliding window overlap ratio as the thermal aging weights increase to accelerate the generation of a circuit breaker protection signal. This invention effectively compensates for the feature signal distortion caused by terminal aging, improves the accuracy of arc fault identification, and increases the response speed of circuit breaker protection actions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of DC arc fault detection technology for photovoltaic systems, and in particular to a software system and method based on high-frequency spectrum analysis and edge AI. Background Technology

[0002] The DC branch of a photovoltaic (PV) power generation system poses a risk of DC arcing during long-term outdoor operation. When arcing occurs in the DC circuit, it generates broadband high-frequency electromagnetic signals. Collecting high-frequency current signals from the line and converting them to the time-frequency domain for feature extraction, combined with a classification network model to determine the presence of an arc, is a conventional approach to safety protection of PV DC branches. Due to the complexity of actual operating conditions, the metal connection terminals of PV systems are subjected to the combined effects of high current transmission heat and alternating day-night temperature variations, making their contact surfaces prone to oxidation and degradation. This oxidation alters the local equivalent distributed capacitance parameters of the contact surface, resulting in frequency-dependent low-pass filtering attenuation of high-frequency abnormal signals flowing through the connection terminals.

[0003] To address high-frequency attenuation and distortion of electromagnetic signals caused by terminal degradation, traditional compensation logic tends to employ global gain amplification covering the entire frequency band to combat waveform fading. In this data processing operation, the switching frequency harmonic noise generated by the photovoltaic grid-connected inverter during power conversion is easily amplified proportionally. This indiscriminate amplification increases the inverter's inherent background interference, alters the original data characteristic base, and hinders the extraction of clean features from the edge control node.

[0004] Due to the fading of the transmission channel caused by the physical aging of the terminals, the natural attenuation and deformation of the effective carrier over a wide bandwidth will cause fluctuations in the floating-point number of the decision posterior probability output by the classification model during a single forward inference. To ensure the anti-interference capability of the equipment under complex electromagnetic backgrounds, it is usually required that the model classification threshold within the control node remain constant. Under the condition of fluctuating model decision probabilities, the monitoring system often needs to consume a longer natural time span to accumulate multiple consecutive arc-pulling judgment results that meet the requirements of the defense action. This increased judgment time delays the feedback process of the circuit breaker protection mechanism, restricting the ability of the edge control equipment to promptly disconnect abnormal circuits in the early stages of a fault. Summary of the Invention

[0005] The purpose of this invention is to provide a detection system and method based on high-frequency spectrum analysis and edge AI to solve the technical problems in the prior art where high-frequency characteristics of photovoltaic DC circuits are attenuated due to physical oxidation of connection terminals and conventional full-band gain compensation easily amplifies the inverter switching harmonic noise floor. At the same time, it solves the technical problem that abnormal feature deformation caused by this leads to fluctuations in the network model's judgment probability, resulting in delayed response of the edge control node's circuit breaker protection.

[0006] To achieve the above objectives, the present invention provides the following technical solution: A detection system based on high-frequency spectrum analysis and edge AI includes: The waveform acquisition module is configured to continuously receive the current waveform of the photovoltaic DC branch and perform a short-time Fourier transform according to the set sliding window overlap ratio to extract the frequency domain amplitude matrix. The asynchronous thermal tracking module is configured to receive temperature values ​​reported by wireless temperature measurement nodes according to a preset period, and integrate the temperature values ​​stored in a specified time period to obtain the thermal aging weight representing the degree of oxidation of the connection terminal. The spectrum mask reconstruction module is configured to generate a spectrum suppression mask based on the thermal aging weights, use the spectrum suppression mask to weaken the high-frequency band values ​​in the frequency domain amplitude matrix and simultaneously increase the input weights of the mid-frequency band values, and output a reconstructed feature matrix. The edge dynamic slicing module is configured to feed the reconstructed feature matrix into the network model to perform forward inference, and dynamically increase the sliding window overlap ratio when the thermal aging weight increases, thereby accelerating the generation of circuit breaker protection signals when the network model outputs the arc category by relying on the improved temporal resolution.

[0007] Optionally, the waveform acquisition module has a digital bandpass filter logic embedded in the front end. The digital bandpass filter logic is configured to filter out the switching frequency harmonic noise generated by the inverter in the current waveform and extract an effective carrier in the range of 30kHz to 100kHz to send to the subsequent operation link.

[0008] Optionally, the network model is generated by training with a mixture of normal operation waveforms and arc fault waveforms. The network model is deployed in the static random access memory of the microprocessor, and the hidden layers of the network model use dedicated dimension convolution kernels to extract temporal evolution patterns.

[0009] Optionally, the system is configured with a cloud-based federated optimization module, which is configured to aggregate the original waveform segments that trigger the circuit breaker signal and upload them to a remote server for error detection review. When the system receives a weight update package from the remote server, it uses the weight update package to perform a hot memory replacement on the locally deployed network model.

[0010] Optionally, before activating the network model, the edge dynamic slicing module performs a total energy summation on the reconstructed feature matrix using a discrete energy integration algorithm, and only opens the data channel for inputting data to the network model when the total energy summation value exceeds a set energy threshold.

[0011] Optionally, the mathematical processing of the asynchronous thermal tracking module to obtain the thermal aging weight includes: extracting the abnormal temperature set that exceeds the preset temperature threshold from the temperature values ​​received within the specified time period, performing area integration on the time axis for the abnormal temperature set to obtain the overall accumulated heat, removing the low-frequency drift component caused by the diurnal temperature difference, and setting the remaining net integral as the thermal aging weight.

[0012] Optionally, the mapping logic of the spectrum mask reconstruction module is as follows: the higher the value of the thermal aging weight, the greater the suppression coefficient generated for the high frequency band above 80kHz, and the higher the amplification factor allocated for the mid frequency band from 30kHz to 50kHz.

[0013] Optionally, the edge dynamic slicing module is further configured to generate the circuit breaker protection signal when the network model outputs the arc category multiple times in a row; and the edge dynamic slicing module keeps the internal classification threshold constant of the network model constant, and increases the number of frequency domain amplitude matrices generated in equal time intervals by increasing the sliding window overlap ratio.

[0014] Optionally, the asynchronous hot tracking module runs in a low-priority task scheduler within the system software stack, while the waveform acquisition module and the edge dynamic slicing module are mounted in a high-priority hardware interrupt service routine triggered by the direct memory access controller.

[0015] The present invention also provides a method based on high-frequency spectrum analysis and edge AI, applicable to the detection system based on high-frequency spectrum analysis and edge AI as described in any one of the first aspects, the method comprising the following steps: S1. Continuously receive the current waveform of the photovoltaic DC branch and perform short-time Fourier transform according to the set sliding window overlap ratio to extract the frequency domain amplitude matrix. S2. Receive temperature values ​​reported by wireless temperature measurement nodes according to a preset cycle, and integrate the temperature values ​​stored in a specified time period to obtain the thermal aging weight representing the degree of oxidation of the connection terminal. S3. Generate a spectrum suppression mask based on the thermal aging weights, use the spectrum suppression mask to weaken the high-frequency band values ​​in the frequency domain amplitude matrix and simultaneously increase the input weights of the mid-frequency band values, and output the reconstructed feature matrix. S4. The reconstructed feature matrix is ​​fed into the network model to perform forward inference, and when the thermal aging weight increases, the sliding window overlap ratio is dynamically increased. The improved temporal resolution accelerates the generation of the circuit breaker protection signal when the network model outputs the arcing category.

[0016] The present invention has achieved the following beneficial effects: This invention integrates the temperature values ​​reported by temperature measurement nodes over time using an asynchronous thermal tracking module to derive thermal aging weights reflecting the degree of physical oxidation of the connection terminals. This quantifies the degradation state of the underlying physical circuitry and constructs a corresponding spectral suppression mask. While avoiding global gain amplification that increases inverter noise floor, it increases the input weight of mid-frequency features, compensating for the distortion of effective signal features caused by terminal aging. To address the fluctuations in network model recognition probability caused by physical transmission channel fading, this invention maintains a constant classification threshold constant within the network model to ensure normal anti-interference capability. Based on the increasing trend of the thermal aging weights, it dynamically increases the sliding window overlap ratio of the extracted waveform and increases the number of frequency domain feature matrices generated within a uniform natural time span by improving time domain resolution. This adjustment mechanism increases the throughput frequency of the microprocessor executing the model's forward inference, compensates for the lag caused by fluctuations in single classification probabilities through the accumulation of judgments within a high-density timescale, shortens the objective physical time required for the system to achieve multiple consecutive arc-pulling actions, and ensures the timeliness and operational stability of the circuit breaker protection signal output of photovoltaic equipment under long-term service conditions.

[0017] Other features and advantages of the invention will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description and the accompanying drawings.

[0018] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description

[0019] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings: Figure 1 This is a structural diagram of the detection system module in an embodiment of the present invention; Figure 2 This is a flowchart illustrating the data processing workflow of the waveform acquisition module in this embodiment of the invention. Figure 3 This is a flowchart illustrating the calculation of thermal aging weights by the asynchronous thermal tracking module in an embodiment of the present invention. Figure 4This is a flowchart illustrating the generation of the reconstructed feature matrix by the spectral mask reconstruction module in an embodiment of the present invention. Figure 5 This is a control flowchart for the forward inference and output circuit breaker protection of the edge dynamic slicing module in an embodiment of the present invention; Figure 6 This is a flowchart illustrating the operation of a method based on high-frequency spectrum analysis and edge AI in an embodiment of the present invention. Detailed Implementation

[0020] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit the present invention.

[0021] like Figure 1 As shown, this embodiment discloses a detection system based on high-frequency spectrum analysis and edge AI. The detection system is deployed in an edge computing control node on the photovoltaic DC combiner box or inverter side, configured to perform feature extraction and circuit breaker protection determination logic through local data acquisition and computation. The detection system's logical functional architecture includes a waveform acquisition module, an asynchronous hot-state tracking module, a spectrum mask reconstruction module, and an edge dynamic slicing module. The system's underlying layer relies on an embedded real-time operating system to provide task scheduling mechanisms and memory management and allocation services. Each functional module uses shared memory data segments, message queues, and task scheduling status flags within the operating system to realize the flow of data frame sequences and the sequential allocation of computational parameters. The shared memory area within the system is configured to be divided into a read-only configuration variable area, a dynamic data cache queue area, and a global status record area to support data read / write consistency under multi-task concurrent scheduling.

[0022] like Figure 2 As shown, in this embodiment, the system is equipped with the waveform acquisition module, which is configured to continuously receive the current waveform of the photovoltaic DC branch and perform short-time Fourier transform according to the set sliding window overlap ratio to extract the frequency domain amplitude matrix.

[0023] Abnormal broadband electromagnetic signals caused by arc faults in photovoltaic DC branches exhibit cross-band energy distribution characteristics in the time-frequency space. By employing short-time Fourier transform to map the one-dimensional time-domain discrete current sequence to the two-dimensional time-frequency domain, the evolution characteristics of the signal energy along the time axis can be obtained. The set sliding window overlap ratio determines the number of discrete sampling points shared between adjacent truncation analysis windows; this ratio parameter is related to the system's time-domain analysis resolution and the data throughput of the system performing matrix transformation calculations.

[0024] The waveform acquisition module configures a contiguous block of physical addresses in memory as a circular data buffer queue to continuously receive high-frequency discrete current sequences acquired and output by the front-end analog-to-digital converter peripheral. The waveform acquisition module sets a data truncation window with a fixed sampling point length and cyclically performs data sliding truncation along the discrete current sequence according to a set step length. The numerical parameter of this step length is calculated by subtracting the data overlap length corresponding to the set sliding window overlap ratio from the total sampling length of the data truncation window. After each data truncation window sliding truncation operation, the system extracts a set of local one-dimensional waveform data frames.

[0025] For each extracted one-dimensional waveform data frame, the waveform acquisition module invokes window function smoothing logic. The module performs element-wise weighted multiplication of each discrete value within the one-dimensional waveform data frame with the window function coefficient sequence pre-stored in read-only memory. This weighted calculation reduces the numerical jumps at the beginning and end of the local one-dimensional waveform data frame, suppressing spectral leakage effects in subsequent discrete frequency domain transformations. After the weighted calculation is complete, the waveform acquisition module invokes the Discrete Fast Fourier Transform algorithm to process the current weighted one-dimensional waveform data frame. The system obtains the real and imaginary parts of each discrete frequency node through complex iterative operations. The microprocessor then squares the real and imaginary parts respectively, adds the squared real and imaginary parts, and calculates the square root to obtain the absolute amplitude magnitude of each discrete frequency node, thereby generating a one-dimensional frequency domain amplitude vector corresponding to the current time sliding window.

[0026] As the data truncation window continuously slides across the time series, the waveform acquisition module sequentially generates multiple one-dimensional frequency domain amplitude vectors in chronological order and feeds them into a designated two-dimensional memory matrix block for column-wise matrix concatenation. After multiple truncations and discrete fast Fourier transforms, the system constructs a frequency domain amplitude matrix with row and column indices in memory. The row indices of this frequency domain amplitude matrix correspond to specific discrete frequency components, and the column indices correspond to specific time series sliding slices. The element values ​​at each coordinate position within the matrix represent the signal amplitude energy parameters at the intersection nodes of a specific time series and a specific frequency discrete component.

[0027] The waveform acquisition module has a built-in digital bandpass filter logic. The digital bandpass filter logic is configured to filter out the switching frequency harmonic noise generated by the inverter in the current waveform and extract an effective carrier in the range of 30kHz to 100kHz to send to the subsequent operation link.

[0028] During power conversion, the high-frequency pulse-width modulation (PWM) of the internal power devices in a photovoltaic grid-connected inverter generates periodic pulsating ripples on the DC-side cables. The energy of this type of switching frequency harmonic noise is mainly concentrated at the reference switching frequency and its lower harmonic bands. Directly inputting a full-band signal into the time-frequency conversion link introduces background interference into the generated frequency domain amplitude matrix. Simultaneously, higher-frequency electromagnetic signals exhibit natural attenuation due to cable parasitic inductance and stray capacitance, and are easily coupled with external radio frequency noise. By isolating specified frequency bands through software filtering logic and establishing specific characteristic observation windows, the data scale fed into the time-frequency conversion network can be controlled.

[0029] The digital bandpass filter logic is implemented in the software code segment using a differential iterative algorithm for an infinite-length unit impulse response digital filter. During the system boot initialization phase, the lower cutoff frequency parameter of this digital bandpass filter logic is configured to be 30kHz, and the upper cutoff frequency parameter to be 100kHz.

[0030] The pre-calculated feedforward and feedback coefficient matrices are derived based on the prototype function of an infinite-long unit impulse response (IIR) digital filter (such as a Butterworth or Chebyshev polynomial). To meet the real-time requirements of fixed-point arithmetic in edge microprocessors, during the system configuration phase, normalized poles in the analog domain are extracted based on a set lower limit of 30kHz and an upper limit of 100kHz. Subsequently, the system frequency is pre-distorted using the bilinear transform method to discretize and map the analog transfer function to... The domain generates a universally applicable rational fractional transfer function: ; In the formula, The filter order selected based on the stopband attenuation requirements (e.g., configured as second to sixth order). The molecule feedforward coefficient represents the input weights of the current and historical input signals; The feedback coefficient in the denominator represents the feedback weight of the historical output signal; Let be the rational fractional transfer function of the digital filter; for Complex variables in transformation; and The integer summation index is used. The calculated coefficient matrix is ​​quantized and converted to a fixed-point number format, then pre-stored as system constants in the microprocessor's non-volatile memory. During differential iteration, the microprocessor directly addresses and retrieves the pre-defined feedforward and feedback coefficients for multiplication and accumulation, eliminating the need for complex pole finding online and ensuring the determinism and versatility of high-frequency digital filtering on edge computing nodes.

[0031] After receiving the discrete current sequence generated from the original current waveform, the waveform acquisition module sequentially feeds the data into the digital bandpass filter logic. The microprocessor, according to the preset filter difference equation, extracts the current input data sampling points, historically registered input data sampling points in the buffer queue, and historically registered output data sampling points, and performs multiplication and accumulation operations in conjunction with the pre-calculated feedforward and feedback coefficient matrices. Through continuous iterative calculation, the fundamental frequency and low-order harmonic components of the inverter switching frequency below 30kHz are attenuated by the digital stopband, and random ambient noise above 100kHz is synchronously filtered out. The digital bandpass filter logic continuously writes the sequence samples output by the filtered code into an independent effective carrier buffer block. The data truncation window length addressing, sliding operation, and short-time Fourier transform steps in the waveform acquisition module all use the sequence extracted from this effective carrier buffer block as the direct input data source, terminating the subsequent transmission of the original discrete sequence containing full-band information.

[0032] like Figure 3 As shown in this embodiment, the system is equipped with the asynchronous thermal tracking module. The asynchronous thermal tracking module is configured to receive temperature values ​​reported by wireless temperature measurement nodes according to a preset period, and integrate the temperature values ​​remaining in a specified time period to obtain the thermal aging weight representing the degree of oxidation of the connection terminal.

[0033] The metal connection terminals of photovoltaic DC branches are subjected to alternating power current transmission and ambient temperature variations over long periods, making them prone to physical degradation of the oxide layer on the contact surface. An increase in the physical oxide layer leads to an increase in the static contact resistance of the terminals, which manifests as a change in the parallel capacitance distribution parameters in the equivalent parasitic circuit. This change in physical material parameters will have a frequency-dependent low-pass filtering attenuation effect on the high-frequency electromagnetic signals flowing through the connection terminals. Mapping the temperature values ​​acquired by distributed wireless temperature measurement nodes into a thermal accumulation index over a time span provides a fundamental environmental parameter at the software algorithm level for evaluating the channel distortion characteristics caused by the degradation of the physical material of the line.

[0034] The asynchronous thermal tracking module deploys a background timed task thread in the operating system. This timed task thread calls the system's asynchronous serial communication interface at a fixed preset period to receive data packets sent by wireless temperature measurement nodes located around the physical connection terminals. Considering that the physical time constant of photovoltaic high-current terminal heating is typically on the order of minutes, and to prevent frequent asynchronous serial communication from preempting the high-priority arc detection bus bandwidth of the edge microprocessor, the fixed preset period is hard-coded in the engineering configuration. minutes to Integer values ​​between minutes (preferred in this embodiment are configured as follows) (minutes). This value can fully capture the slow thermal drift of the environment and terminals, while avoiding the unnecessary waste of system resources.

[0035] The asynchronous thermal tracing module parses the data packet to extract the real temperature value and appends an absolute timestamp currently maintained by the operating system to the extracted temperature value. Subsequently, the system encapsulates the timestamped temperature value into a structure node and stores it in an allocated dynamic doubly linked circular list queue. The asynchronous thermal tracing module periodically compares the timestamp of the first record node in the queue with the latest absolute timestamp. When the calculated difference is greater than the specified time interval, the system calls a memory reclamation instruction to release the memory space occupied by the first record node and remove its pointer. This linked list maintenance operation ensures that the discrete temperature sequence time remaining in the queue corresponds to the observation boundary of the specified time interval.

[0036] Combining the diurnal cycle of photovoltaic power plants with the physical heating characteristics of terminal blocks, the duration of the specified time period is fixed at 24 hours during system initialization to fully cover a daily cycle of ambient temperature. When extracting the low-frequency envelope baseline, the average time window parameter greater than the electrical heating time constant is specifically set to 1 hour. This value is a priori tuned based on the physical time constant (typically 15 to 25 minutes) for standard copper terminal blocks to reach thermal equilibrium under a rated current step. Approximately 2.5 to 4 times this physical time constant is used as the moving average window, thereby accurately filtering out millisecond-level electromagnetic interference and minute-level cloud cover temperature drops in mathematical calculations, purifying and extracting a reliable low-frequency environmental envelope.

[0037] The mathematical processing steps for obtaining the thermal aging weight by the asynchronous thermal tracking module include: extracting the abnormal temperature set that exceeds the preset temperature threshold from the temperature values ​​received within the specified time period; performing area integration on the time axis for the abnormal temperature set to obtain the overall accumulated heat; removing the low-frequency drift component caused by the diurnal temperature difference; and setting the remaining net integral as the thermal aging weight.

[0038] The asynchronous thermal tracking module sequentially traverses all record nodes in the doubly linked circular list queue, comparing the temperature value of each node with a preset temperature threshold fixed in the configuration file. This preset temperature threshold is set based on the allowable temperature rise constant of the terminal under rated load. For temperature values ​​exceeding this preset temperature threshold, the asynchronous thermal tracking module performs a subtraction operation to obtain the excess difference parameter between the value and the preset temperature threshold. The system writes this excess difference parameter and its corresponding node timestamp into a linear array to generate the abnormal temperature set.

[0039] Subsequently, the asynchronous thermal tracking module invokes discrete trapezoidal geometric integral logic to process the abnormal temperature set. The microprocessor sequentially extracts the timestamp parameters of two adjacent nodes in the abnormal temperature set according to their indices, calculates their absolute time difference, and sets this absolute time difference as the integration time step. Simultaneously, the microprocessor reads the out-of-limit difference parameters of the two adjacent nodes and calculates their arithmetic mean. The microprocessor multiplies the integration time step with the arithmetic mean to obtain the local integral trapezoidal area value between the adjacent nodes. The system successively accumulates all the calculated local integral trapezoidal area values ​​into a floating-point sum variable; the final accumulated value after traversal represents the overall accumulated heat within the specified time period.

[0040] Simultaneously, to eliminate the slow fluctuations in the background temperature caused by outdoor natural environmental meteorological conditions, the asynchronous thermal tracking module reads the full temperature value sequence from the linked list queue and calls a multi-period moving average low-pass filtering algorithm to perform smooth convolution calculation on the sequence. The module extracts a low-frequency envelope baseline reflecting the diurnal temperature alternation cycle by setting a mean time window parameter greater than the electrical heating time constant. For this low-frequency envelope baseline sequence, the asynchronous thermal tracking module applies the same over-limit difference extraction instruction and discrete trapezoidal geometric integration operation as described above to obtain the low-frequency drift component caused by the periodic changes in the environmental common-mode temperature. The microprocessor executes a subtraction operation instruction to subtract the low-frequency drift component from the total accumulated heat, obtaining the remaining net integral after environmental compensation. Finally, the system substitutes this remaining net integral as an independent variable parameter into a preset linear mapping equation to calculate a floating-point constant within a closed interval constrained to 0.0 to 1.0, and updates this floating-point constant to the global state variable area of ​​the operating system, setting it as a thermal aging weight representing the degree of oxidative degradation. The mathematical expression for the linear linear mapping equation in one variable that performs this transformation is: ; In the formula: Represents the mapped thermal aging weight; This represents the remaining net points after environmental compensation. This represents the lower limit of initial heat accumulation due to degradation; This represents the critical upper limit of heat accumulation. The physical benchmark for the preset temperature threshold is the sum of the maximum safe steady-state temperature rise allowed at the terminals of the photovoltaic grid-connected inverter under full load operation and the highest ambient temperature recorded in the local area over the years, which is hard-coded as 80℃ in the system firmware. Parameter Defined as the initial degradation heat accumulation lower limit for nonlinear bias caused by the high-frequency parasitic capacitance of the trigger terminal, parameter Defined as the critical heat accumulation limit when the contact resistance exceeds the national standard safety margin of 3.0mΩ due to the deep oxidation of the contact surface plating. These two parameters are a priori adjusted by measuring the resistance step point obtained from the high-temperature accelerated aging test in a constant temperature and humidity chamber for the same batch of tin-plated copper terminals.

[0041] The specific extraction steps and parameter conversion logic for the aforementioned prior tuning are as follows: Based on a standard accelerated aging equivalent model (such as the Arrhenius thermal accelerated model), metal connection terminals of the same batch are placed in a set constant temperature and humidity accelerated aging environment (e.g., an ambient temperature range of 85℃ to 105℃), and a rated DC bias current is applied across the terminals. During this process, the static contact resistance of the terminal contact surface is monitored simultaneously. When a nonlinear jump point is observed where the contact resistance exceeds the initial reference resistance by a first preset percentage (e.g., 50%), the corresponding accelerated aging time is recorded. When the contact resistance continues to rise and reaches the preset safety margin critical resistance value (e.g., 3.0mΩ), record the corresponding accelerated aging time. Subsequently, using the temperature stress acceleration coefficient of the aforementioned accelerated aging equivalent model, the acceleration time under constant high temperature conditions was determined. and The mapping is converted to the equivalent degradation time at a preset temperature threshold under actual operating conditions, and then substituted into the system's time-axis area integration algorithm to obtain the corresponding trapezoidal geometric integral reference area sum. The system uses this conversion result as a benchmark to... The corresponding total integral area is configured as the lower limit of initial deterioration heat accumulation. ,Will The corresponding total integral area is configured as the critical heat accumulation limit. This establishes an objective quantitative mapping between the oxidation process of underlying physical materials and the mathematical integration of software.

[0042] Using this with and The instruction's bidirectional limiting function accurately maps the irreversible oxidation physical process to linearly convergent software control parameters, effectively avoiding the hardware risk of floating-point memory overflow induced by edge control nodes when handling integral out-of-bounds operations.

[0043] like Figure 4 As shown, in this embodiment, the system is equipped with the spectrum mask reconstruction module. The spectrum mask reconstruction module is configured to generate a spectrum suppression mask based on the thermal aging weight, use the spectrum suppression mask to weaken the high-frequency band values ​​in the frequency domain amplitude matrix and simultaneously increase the input weight of the mid-frequency band values, and output a reconstructed feature matrix.

[0044] When the thermal aging weight parameter, which indicates the degree of physical oxidation of the terminals, increases, the high-frequency abnormal signals flowing through the branch will suffer attenuation and distortion. If a global gain amplification logic covering all effective carriers is used to compensate for the high-frequency attenuation loss, the residual switching noise of the inverter near the 30kHz boundary will also be amplified proportionally by the system, which changes the original background characteristics of the extracted data. By dynamically setting the frequency-varying gain allocation algorithm based on the thermal aging weight, nonlinear numerical intervention compensation is performed for a specific frequency band.

[0045] The mapping logic of the spectrum mask reconstruction module is as follows: the higher the value of the thermal aging weight, the greater the suppression coefficient generated for the high frequency band above 80kHz, and the higher the amplification factor allocated for the mid frequency band from 30kHz to 50kHz.

[0046] The spectrum mask reconstruction module reads the thermal aging weight parameters of the current system from the global state variable area. The system initializes and allocates a one-dimensional floating-point array in dynamic memory. The length dimension of this array is equal to the frequency column dimension of the frequency domain amplitude matrix. This array is configured as a spectrum suppression mask sequence.

[0047] Based on the index correspondence of the discrete frequency distribution in the frequency domain amplitude matrix, the microprocessor divides the one-dimensional floating-point array into three computational operation segments. For the first array index region mapping the high-frequency band from 80kHz to 100kHz, the microprocessor calls the inverse proportional calculation equation, using the current thermal aging weight as the input variable, and calculates a floating-point number whose value is strictly less than scalar 1 as the suppression coefficient, which is then filled into this segment. The closer the thermal aging weight value is to the upper limit, the lower the floating-point value of the suppression coefficient output converges. For the second array index region mapping the mid-frequency band from 30kHz to 50kHz, the microprocessor calls the forward proportional calculation equation, using the thermal aging weight as the input variable, and calculates a floating-point number whose value is greater than scalar 1 as the amplification factor, which is then filled into this segment according to the address. The larger the thermal aging weight value, the larger the generated amplification factor output. For the third array index region that maps the 50kHz to 80kHz transition frequency band, the microprocessor calls the cubic spline polynomial interpolation algorithm, using the boundary point values ​​of the first and second array index regions as the interpolation reference, to calculate and generate smooth transition coefficient parameters and fill them into the array.

[0048] For the mid-frequency band, the microprocessor performs first-generation algebraic operations: ; In the formula, The amplification factor allocated for the 30kHz to 50kHz mid-frequency band; For thermal aging weight; frequency increase slope The value is between 0.4 and 0.8. The upper limit is strictly controlled by the amplitude of the maximum switching noise floor of the inverter's insulated gate bipolar transistor in this frequency band, ensuring that even if the thermal aging weight reaches the extreme value of 1.0, the residual noise floor after compensation boost will still not trigger the activation level of the network model.

[0049] For high-frequency bands, perform second-generation algebraic operations: ; In the formula, This refers to the suppression coefficients generated for high-frequency bands above 80kHz; For thermal aging weights; high-frequency voltage drop slope The value is configured to 0.3 to 0.5 to compensate for the high-frequency low-pass fading bias caused by the equivalent parallel capacitance of the terminal oxide layer. When performing cubic spline interpolation, the boundary conditions of the third array index region are forcibly bound to... The value at 50kHz and The value at 80kHz is used, and the first derivative at both ends is constrained to be zero. This asymmetric gain strategy based on frequency band partitioning and slope clamping avoids the over-excitation of effective frequency bands and the amplification of noise floor in redundant frequency bands caused by uniform compensation across the entire frequency band. This allows the processor to complete channel reconstruction within the safe boundary using only basic multiply-accumulate and lookup table interpolation instructions.

[0050] After the parameter assignment process is completed, the microprocessor uses a control loop to sequentially read each one-dimensional vector block along the time axis in the frequency domain amplitude matrix transmitted by the waveform acquisition module. The microprocessor performs Hadamard product element-wise multiplication of the amplitude scalar recorded within each one-dimensional vector block with the floating-point coefficients corresponding to the same frequency index position in the spectral suppression mask. The system then sequentially arranges and stores the new amplitude scalars generated by this multiplication calculation into a pre-allocated new matrix address space, thereby completing the correction control of the original feature basis dimension and combining the results to output the reconstructed feature matrix.

[0051] like Figure 5 As shown, in this embodiment, the system is configured with the edge dynamic slicing module. The edge dynamic slicing module is configured to send the reconstructed feature matrix into the network model to perform forward inference, and dynamically increase the sliding window overlap ratio when the thermal aging weight increases, thereby accelerating the generation of circuit breaker protection signal when the network model outputs the arc category by relying on the improved temporal resolution.

[0052] Before activating the network model, the edge dynamic slicing module uses a discrete energy integration algorithm to perform overall energy summation on the reconstructed feature matrix. Only when the overall energy summation value exceeds a set energy threshold is the data channel for inputting data into the network model opened.

[0053] The energy threshold constant used to determine anomalous transitions abandons static empirical values ​​and instead employs a dynamic baseline recall mechanism. During the standby period at night when the photovoltaic strings have no DC power output, the edge computing node drives the front-end analog-to-digital peripherals to collect the time-frequency characteristic matrix of dark current background noise. The mean energy value within the matrix is ​​calculated through a double loop, and then multiplied by a drift-prevention safety factor of 1.5 to 1.8 on this baseline. This value is then dynamically written into a register to rewrite the new threshold constant. This operation removes thermal noise drift interference from the sensor conditioning circuit caused by the large temperature difference between day and night in the natural environment from the underlying signal layer, ensuring that only active time slices containing real high-frequency abrupt energy distributions can occupy the limited bus bandwidth of the microprocessor to perform network inference.

[0054] Feature extraction operations in neural network models have a continuous hardware resource consumption cycle. During the stable operation phase of a photovoltaic system without abnormal events, the reconstructed feature matrix mainly contains steady-state thermal noise energy and background white noise. If the network model is forced to perform matrix operations in every sliding time slice, the computational core will be idle. By introducing pre-gating control logic based on the summation of matrix element scalar energy, active periods containing energy jump parameters can be separated.

[0055] After the system flag detects that the reconstructed feature matrix is ​​ready, the edge dynamic slicing module suspends the transmission state of the network model and invokes the discrete energy integration algorithm. The microprocessor reads all discrete floating-point elements contained within the reconstructed feature matrix through a nested row and column double loop structure. For each read floating-point element value, the microprocessor performs a square calculation to extract dimensional data reflecting the instantaneous power density and continuously adds the results of each square calculation to an accumulation register variable. After the matrix traversal is completed, the final value remaining in the accumulation register variable is confirmed as the total energy summation value of the reconstructed feature matrix. The edge dynamic slicing module extracts a pre-fixed set energy threshold constant and performs a comparison judgment logic with the total energy summation value. If the total energy summation value is less than or equal to the set energy threshold, the system determines that there are no abnormal electromagnetic feature transitions in the current time slice. The edge dynamic slicing module keeps the data bus channel of the network model in a blocked state and executes a memory cleanup instruction to destroy the data space occupied by the current reconstructed feature matrix. If the sum of the total energy values ​​is greater than the set energy threshold, the edge dynamic slicing module modifies the memory access control permissions, opens the data channel for inputting data into the network model, maps the base address of the data segment of the reconstructed feature matrix into the network model, and activates the network model to carry out the forward inference step of feature extraction.

[0056] The network model is generated by training with a mixture of normal operation waveforms and arc fault waveforms. The network model is deployed in the static random access memory of the microprocessor, and the hidden layers of the network model use dedicated dimension convolution kernels to extract the temporal evolution rules.

[0057] The network model was trained using a mixed dataset of normal operation waveforms from conventional inverter switching and measured arc fault waveforms. After pruning and parameter bit-width quantization, the network model was transformed into a low-level executable file adapted to the edge computing control node architecture. During system startup and initialization, the microprocessor reads the network model file from external memory and directly loads it into a partitioned area of ​​its on-chip integrated static random access memory (SRAM). The physical architecture of SRAM supports single-instruction-cycle random read / write operations, reducing system bus wait times and data exchange latency when the microprocessor extracts network weights and tensor features.

[0058] In the code structure design of the network model, the convolutional operators of its hidden layers are configured as dedicated-dimensional convolutional kernels. The parameter matrix of this dedicated-dimensional convolutional kernel is arranged in an asymmetric geometric structure. On the one-dimensional row parameter scale of the frequency axis of the feature matrix reconstructed from the matching input, the dedicated-dimensional convolutional kernel is set to a single-frequency node parameter width; on the one-dimensional column parameter scale of the time axis of the feature matrix reconstructed from the matching input, the dedicated-dimensional convolutional kernel is set to cover the time series span of multiple consecutive truncated frames.

[0059] During forward inference tensor computation, this dedicated-dimensional convolutional kernel performs sliding window extraction and multiply-accumulate operations only along a unidirectional time axis on the data surface of the reconstructed feature matrix. This structure restricts the feature fusion behavior of different frequency channels on hidden network nodes, controlling the network model to extract the discontinuous oscillation pattern of energy features within a single independent physical frequency band over time.

[0060] Under the tensor flow mapping of forward inference in the network model, if the input reconstructed feature matrix has Each frequency discrete channel and Each time-sliding slice, the physical tensor of the dedicated dimension convolution kernel is forcibly constrained by the code to be... The flattened geometric shape. The frequency axis dimension is limited to an absolute scalar of 1, forcibly cutting off the cross-coupling multiplication and addition of adjacent characteristic frequency bands in shallow network nodes, thus blocking multi-band misfitting induced by broadband common-mode radio interference; the time axis span... The configuration uses odd-numbered scalars of 5 to 7 to precisely align with the typical microsecond-level physical cycle of high-frequency intermittent flickering in the plasma channel during the initial stage of photovoltaic DC arc ignition. This physical orientation clipping mechanism effectively avoids redundant weight parameters in traditional two-dimensional image convolution calculations and reduces the memory addressing and data exchange latency of on-chip static random access memory.

[0061] Considering the limitations of on-chip computing power and limited static random access memory (SRAM) capacity of photovoltaic edge node microprocessors, the network model in this embodiment adopts a lightweight one-dimensional convolutional neural network (1D-CNN) architecture. Specifically, the network model consists of an input layer, three stacked hidden layers, and one fully connected layer. Each hidden layer contains, in sequence, a 1×K dedicated dimension convolutional layer, a batch normalization layer, a ReLU activation function layer, and a max pooling layer with a stride of 2. The number of feature channels output by the first to third hidden layers is strictly limited to 8, 16, and 32, respectively, to gradually extract deep high-frequency energy oscillation time-series combination features while controlling the memory usage of the edge chip. The feature map after three pooling dimensionality reductions is flattened and fed into the network model. The subsequent fully connected layer outputs a decision posterior probability floating-point number, representing the confidence parameter that the target waveform segment belongs to the fault arcing category.

[0062] The edge dynamic slicing module is further configured to generate the circuit breaker protection signal when the network model outputs the arc category multiple times in a row; and the edge dynamic slicing module keeps the internal classification threshold constant of the network model constant, and increases the number of frequency domain amplitude matrices generated in equal time intervals by increasing the sliding window overlap ratio.

[0063] The system's control execution logic requires control nodes to arrive at consistent arcing category parameters across multiple time-decision phases to prevent transient electromagnetic interference from causing single-instance recognition probability exceedances that could trigger device activation. When connection terminals are subjected to physical attenuation of channel filtering due to oxidation and increased thermal aging weights, broadband deformation and fading of the physical signal can cause oscillations in the floating-point posterior probability calculated by the network model in a single inference. Under these recognition fluctuations caused by physical transmission attenuation, reducing the network model's internal classification threshold constant will lower the system's inherent anti-interference robustness barrier, inducing false circuit disconnections under normal conditions. Therefore, the internal classification threshold constant must remain unchanged throughout its entire lifecycle.

[0064] The edge computing control node maintains a continuous state counter in its memory. After each forward inference operation of the network model and the output of a floating-point posterior probability, the microprocessor compares this floating-point number with a fixed internal classification threshold constant in the system code. If the floating-point number is greater than or equal to the internal classification threshold constant, the system increments the memory address of the continuous state counter by one; if the floating-point number is less than the internal classification threshold constant, reset data is written to the memory address of the continuous state counter.

[0065] The internal classification threshold constant is the decision probability level after normalization processing of the network model output layer. By balancing the noise tolerance of the system to the high-frequency pulse ripple generated during the normal power switching of the grid-connected inverter, and aligning with the minimum fault arcing energy characteristic response specified in the DC arc detection industry safety standard, this threshold constant is a priori calibrated and hard-coded as a fixed floating-point number 0.85 in the software code. This ensures the basic anti-interference robustness of the system while maintaining a high confidence activation level for real arc fault characteristics.

[0066] Based on this, the microprocessor reads the cumulative value of the continuous state counter in each loop phase to see if it reaches the preset limit of the continuous multiple judgment constant. The setting of this continuous multiple judgment constant limit strictly relies on the rigid physical requirements of the circuit breaking action time limit in the photovoltaic DC arc protection standard (such as UL1699B): according to the standard specification, the total time from the ignition of the DC circuit arc to the complete disconnection of the circuit by the edge control node shall not exceed 2.5 seconds. Under the actual operating conditions of this embedded system, after deducting the inherent delay of the mechanical disconnection and physical arc extinguishing of the actuator (such as DC trip unit or circuit breaker) (usually about 50 milliseconds), the maximum safe time window allocated to the pure software logic verification is 2.45 seconds. Because the complete computation cycle for the microprocessor to receive the effective carrier sequence, perform a short-time Fourier transform, and complete one forward inference of the network model is approximately 25 milliseconds under the set data truncation window length and the baseline 50% sliding window overlap ratio, in order to achieve the highest density of effective decision accumulation within the maximum safe time window of 2.45 seconds, the specific integer value of the consecutive decision constant limit is strictly calibrated and configured to be 98 times (i.e., the total software time window of 2.45 seconds divided by the single calculation time of 0.025 seconds). When the cumulative value of the continuous state counter reaches the above limit, the underlying interface module is triggered to modify the logic output level of the physical pin terminal, thereby generating a circuit breaker protection signal for the external hardwire.

[0067] The edge dynamic slicing module is internally configured with a monitoring thread that periodically reads the hot aging weight values ​​updated by the asynchronous hot tracking module. When the hot aging weight value is determined to exceed the normal baseline value, indicating channel degradation, the edge dynamic slicing module triggers a control execution command to the operating system. This command maintains a constant lock on the internal classification threshold constant in the network model comparison code segment, preventing it from being overwritten by the program. Simultaneously, the edge dynamic slicing module modifies the memory configuration of the waveform acquisition stage, updating and overwriting the sliding window overlap ratio parameter, which calculates the step length constant, with a higher numerical ratio.

[0068] The parameter update and overwrite mechanism is controlled by a discrete ladder lookup table addressing triggered by a state machine. This applies to the weighting of the metal terminal's health (i.e., thermal aging). When the value is less than 0.3, the system's fixed reference sliding window overlap ratio is 50%. If the value falls within the 0.3 to 0.7 range, the state machine will overwrite the overlap ratio to 75%; if Exceeding the severe degradation threshold of 0.7, the overlap ratio directly rises to the limit of 87.5% permitted by the underlying direct memory access controller communication. The non-overlapping data step spans corresponding to these three discrete ratios are equivalent to 1 / 2, 1 / 4, and 1 / 8 of the total length of the truncated window, respectively. The microprocessor's arithmetic logic unit directly calls the unsigned right shift instruction by one, two, or three bits in a single clock cycle to quickly calculate the updated memory address offset, effectively avoiding the high bus latency of edge chips handling floating-point division. This stepped time-domain slicing encryption enables a two- to four-fold explosive increase in the number of feature matrix frames extracted within the same physical absolute time. Faced with the decision drop caused by the physical attenuation of the channel leading to the model's posterior confidence approaching the internal classification threshold constant in a single identification, the system uses a multiplied increase in the inference tensor throughput to fill the low-confidence window. While maintaining a constant anti-interference defense decision index, it accelerates the accumulation of the continuous state counter, ensuring that the photovoltaic grid-connected node issues a deterministic circuit breaker action within an extremely short delay.

[0069] Since the data output rate and preset truncation length of the pre-amplifier conversion stage remain constant in the program logic, the abrupt increase in the sliding window overlap ratio parameter reduces the step length of the time-domain offset span for data extraction. This increases the total number of local one-dimensional waveform data frames extracted by the waveform acquisition module along the current sequence within the same natural time span, and sends a larger number and higher density of one-dimensional frequency domain amplitude vectors to subsequent conversion links. After matrix concatenation, the frame rate of the reconstructed feature matrix generated by the system increases accordingly. As the scale of computational tensor samples provided to the network model per unit physical time increases, the cumulative execution frequency of the microprocessor executing the network model classification inference judgment also doubles year-on-year. By increasing the base number of total test frequencies for judgments within dense time scales, even if some judgment calculation frames do not reach the fixed internal classification threshold constant due to physical attenuation, the system can still, within the allowable time delay specification limit, rely on the accumulation of the total number of judgments to prompt the continuous state counter to approach the limit of the continuous multiple judgment constant more quickly and finally reach the standard, compensating for the oscillation loss of the judgment parameters and accelerating the generation of deterministic output of the circuit breaker protection signal.

[0070] In this embodiment, the system is configured with the cloud federated optimization module. The cloud federated optimization module is configured to summarize the original waveform segments that trigger the circuit breaker protection signal and upload them to the remote server for error judgment review. When it receives the weight update package sent by the remote server, it uses the weight update package to perform memory hot replacement on the locally deployed network model.

[0071] The cloud-based federated optimization module allocates a circular recall buffer in the edge node memory, configured with a circular write code mechanism. This circular recall buffer continuously stores the latest raw discrete digital current sequence generated by system sampling. When a system pin logic control state flips and outputs a circuit breaker protection signal, the module captures this control state flag and immediately issues a forced lock command, suspending data writing and overwriting permissions to the circular recall buffer. Based on the system's absolute timestamp parameter at the moment of the circuit breaker event, the module extracts current time-domain data blocks within a preset time range before and after the event from the buffer, constructing the raw waveform segment. This is combined with the inherent limitations of the DC trip unit... milliseconds to The mechanical interruption delay in milliseconds, and the physical evolution period of the arc from ignition to extinction, the preset specific time range is specifically defined as: before the absolute timestamp of the circuit breaker event is extracted. Instantly triggered The data in seconds forms a total span of The time-domain data block is defined in seconds. This precise time window ensures that during cloud-based error review, the background state before arc initiation, the high-frequency transition state of arc pulling, and the zero-current state characteristics after the circuit breaker mechanism's action are fully acquired. Subsequently, the cloud-based federated optimization module calls the transmission protocol assembly component to encapsulate the original waveform segment and related parameters such as the thermal aging weight variables at the fault occurrence node into a structured data packet with a checksum, and uploads it to the remote server for recording using the communication protocol.

[0072] After receiving the data, the remote server platform deploys an analysis model to perform a misjudgment feature review analysis on the uploaded data containing interference characteristics. The analysis model employs a deep one-dimensional convolutional neural network (such as a multi-scale 1D-CNN with residual connections) with multi-scale temporal receptive fields. The input data channel parameters of this analysis model are consistent with those of the edge device, and its hidden layers are configured with multiple parallel one-dimensional temporal convolutional kernels of different time widths. Specifically, the parallel one-dimensional temporal convolutional kernels contain three parallel convolutional branches, with their time widths set to [specific values ​​to be filled in]. , , The discrete sampling step size. The feature tensors output by these three parallel branches are fused through a concatenation layer and then, via skip connections, cross intermediate network nodes to directly perform an element-wise add operation with the original frequency domain matrix data at the input. This explicit residual topology flow ensures that the cloud-based analysis model extracts multi-scale high-frequency electromagnetic transition features without losing the original low-frequency noise floor distribution baseline of the photovoltaic inverter. The data flow logic is as follows: the uploaded original waveform segment is generated into a frequency domain matrix according to the aforementioned system logic and then input into the analysis model. Using temporal convolution kernels of different scales, the common-mode distribution features of environmental background fluctuations and inverter periodic switching ripples are extracted in parallel within a wider temporal receptive field. The arc detection probability is calculated at the output to accurately distinguish between real arc ignition characteristics and disordered radio frequency interference.

[0073] When the cloud verification confirms that the original waveform segment belongs to a erroneous action of an edge node, the system marks it as a negative sample label of the normal state and merges it into the misclassified negative sample set. The remote server, for this negative sample set, retrieves the mirror parameter layer corresponding to the edge 1D-CNN network structure, specifically using the binary cross-entropy loss function to calculate the error between the arc judgment probability output by the cloud and the true negative sample label. The system uses the Adaptive Moment Estimation (Adam) optimization algorithm to perform error backpropagation to update the mirror layer parameters. To ensure the smoothness of parameter hot replacement during the transition from the large cloud model to the lightweight edge model, and to prevent drastic oscillations in the underlying classification constant, the initial learning rate parameter of the Adam algorithm is conservatively configured as follows: to The weights are adjusted to achieve smooth convergence. After the network model loss converges, the updated quantization parameter matrix is ​​extracted to generate the weight update package.

[0074] Subsequently, the remote server will recompile and repackage the fully connected and convolutional layer quantization parameters obtained after the calculation converges, and send the weight update package containing incremental data to the local device.

[0075] After receiving the weight update packet and passing the first and last anti-tampering verification, the local system's communication monitoring process sequentially writes the extracted network weight parameter matrix into the reserved idle parameter address block of the on-chip static random access memory. While the local monitoring system maintains real-time current analysis without going offline, the cloud-based federated optimization module resides in the underlying idle gap monitoring probe. The monitoring probe reads the throughput status of the computation bus executed by the network model. When it detects that the forward inference calculation of the reconstructed feature matrix from the previous time slice has just finished outputting, and the next feature tensor newly extracted and spliced ​​by the waveform generation pipeline is still in the system idle gap waiting to enter the bus cycle, the microprocessor instantly executes the code overwrite control instruction. The memory base address index variable in the network module, which instructs the hidden layer and computation nodes to read weight data, is forcibly modified and redirected from the original old parameter storage area base address to the base address of the just-loaded spare parameter address block. This achieves the hot-swap replacement of network weight memory for the edge inference parameter model within the extremely short physical bus intervals of the smoothly alternating system monitoring cycles.

[0076] In this embodiment, the asynchronous hot tracking module runs in the low-priority task scheduler within the system software stack, while the waveform acquisition module and the edge dynamic slicing module are mounted in the highest-priority hardware interrupt service routine triggered by the direct memory access controller.

[0077] In the microprocessor environment of edge computing control nodes, wireless temperature message transmission and long-term integral loops spanning multiple days are long-cycle computational tasks that may experience congestion due to communication link limitations. Meanwhile, the determination of abnormal states, waveform capture, conversion, derivation, and gating calculations require millisecond-level deterministic feedback control. If these processes are interleaved within a single parallel execution pipeline, asynchronous communication waiting will monopolize the processor's clock cycle, leading to blind spots in high-speed security monitoring defenses.

[0078] Based on the task resource allocation and management mechanism of the real-time operating system, the system kernel executes configuration code to set the program scheduling priority architecture. The call entries for all code functions in the waveform acquisition module (discrete sequence multiplication and windowing, Fast Fourier Transform time-frequency two-dimensional matrix concatenation), the spectrum mask reconstruction module (gain correction and dot product operations), and the edge dynamic slicing module (network derivation feature separation logic) are all mapped, solidified, and mounted by the kernel controller to the execution memory stack area of ​​the highest-priority hardware interrupt service routine triggered by the direct memory access controller. In contrast, the asynchronous hot-state tracing module's tasks—environmental radio frequency wireless message protocol verification and decomposition, digital baseline smoothing of massive nodes within a long window, trapezoidal geometric step area calculation, and floating-point summation and accumulation—are slowly executed in the control polling thread of a low-priority task scheduler, as configured by the system kernel.

[0079] Under this task isolation scheduling mechanism, when the microprocessor is not in the state range where the analog-to-digital converter hardware is not at the output trigger edge, the system background allocates execution resource slices from the resource allocation pool to steadily execute complex node temperature discrete parameter integral calculation loops. When the direct memory access controller completes the sampling waveform acquisition action of the set length and generates a control pulse level, this physical pulse level instantly triggers the highest priority hardware interrupt service routine. The system kernel forcibly suspends and blocks the temperature calculation operation currently being executed in the low-priority task scheduler, and packs the current processor-related variables and pointers into the memory isolation protection stack register for storage. The microprocessor then jumps to the hardware interrupt entry point to execute the high-efficiency high-frequency matrix slice analysis and network inference judgment process. After the analysis loop determines that no open circuit instruction is generated and safely exits the hardware interrupt entry point, the system controller performs environment context pop and context restoration operations. It retrieves the previously saved environment variable state pointer to control the return to the suspension point, seamlessly resets the processor context, and continues to take over the subsequent unfinished low-priority slow-varying temperature parameter processing steps. This mechanism ensures that the timing monitoring and processing link has priority access to the processing bus at the microprocessor control bus level, cutting off the obstruction caused by uncontrollable radio frequency states affecting the determination of core waveform characteristics.

[0080] Based on the same inventive concept, this embodiment also discloses a method based on high-frequency spectrum analysis and edge AI. This method is applied to the aforementioned detection system based on high-frequency spectrum analysis and edge AI. The method relies on the system architecture of edge computing control nodes for instruction execution. For example... Figure 6 As shown, the method includes the following steps: S1. Continuously receive the current waveform of the photovoltaic DC branch and perform short-time Fourier transform according to the set sliding window overlap ratio to extract the frequency domain amplitude matrix. The analog-to-digital converter peripheral generates a discrete waveform current sequence. This sequence is then input into a memory data buffer queue using a direct memory access controller. The microprocessor calculates the required step offset address constant for waveform extraction by subtraction based on the sliding window overlap ratio parameter and a predefined data truncation window total length constant. The microprocessor executes a read pointer shift operation according to this step offset address constant, iteratively extracting local one-dimensional waveform data frames from the queue and performing element-wise weighted multiplication using a stored window function sequence. The weighted and smoothed waveform data frames are input to the microprocessor's arithmetic unit, where a fast Fourier transform operation is invoked to perform address position reversal interleaving and complex butterfly iteration. The real and imaginary magnitudes of the effective signal frequency components are calculated, and the corresponding discrete absolute amplitudes are derived. These are then combined to generate a one-dimensional frequency domain amplitude vector. A set of multi-dimensional vectors generated progressively over time is concatenated and assembled to output a frequency domain amplitude matrix containing two-dimensional time-frequency parameters. Before this extraction, the system is configured to use digital bandpass filter logic to perform differential multiplication and addition operations on discrete equations with a lower limit of 30kHz and an upper limit of 100kHz as the parameter reference, in order to eliminate high-frequency operations of the inverter and redundant frequency band fluctuations caused by the environment.

[0081] S2. Receive temperature values ​​reported by wireless temperature measurement nodes according to a preset cycle, and integrate the temperature values ​​stored in a specified time period to obtain the thermal aging weight representing the degree of oxidation of the connection terminal. The system periodically drives the physical asynchronous communication serial receiving interface to extract temperature values ​​contained in the messages sent by the wireless temperature measurement nodes. The microprocessor adds an absolute timestamp to the data and assembles it into a node, then inputs it into a circular linked list; simultaneously, it detects the time difference between the head and tail of the queue to clean up overdue records in real time and maintain data within the specified time period. The system reads parameters from the sequence and subtracts a preset temperature threshold to generate an abnormal temperature set. Then, it calls trapezoidal integral logic to substitute parameters into the discrete sequence, obtains the local integral result, and accumulates it to output the overall accumulated heat. The microprocessor synchronously calls a multi-period moving average low-pass filtering algorithm to generate a temperature difference envelope baseline, and repeats the same integral calculation to obtain the low-frequency drift component; the two are subtracted to obtain the remaining net integral after removing disturbances from natural environmental parameters, which is then substituted into a univariate linear mapping equation to obtain the thermal aging weight reflecting the degree of oxidation.

[0082] S3. Generate a spectrum suppression mask based on the thermal aging weights, use the spectrum suppression mask to weaken the high-frequency band values ​​in the frequency domain amplitude matrix and simultaneously increase the input weights of the mid-frequency band values, and output the reconstructed feature matrix. The system extracts the currently updated and maintained hot aging weight state parameters from memory. For the high-frequency band affected by the capacitive poles of the physical channel, the inverse proportional calculation equation is called to configure the suppression coefficient; for the mid-frequency interval operation segment, the forward proportional calculation equation is called to output the amplification factor; for the transition frequency band between the two, a continuous spline function is called to fill the boundary. The constants generated in all intervals are combined and stored as a one-dimensional spectral suppression mask sequence. The microprocessor-controlled arithmetic structure spans the sequence region vector of each specific time in the frequency domain amplitude matrix, executes the scalar multiplication logic of the parameter matching terms one by one, and forms the calibration of the physical loss attenuation offset; then updates and maps the corrected matrix to another register segment, and combines them to form the final transmitted reconstructed feature matrix.

[0083] S4. The reconstructed feature matrix is ​​fed into the network model to perform forward inference, and when the thermal aging weight increases, the sliding window overlap ratio is dynamically increased. The improved temporal resolution accelerates the generation of the circuit breaker protection signal when the network model outputs the arcing category.

[0084] Before feeding the reconstructed feature matrix into the network model for forward inference, the system initiates a pre-interception judgment operation: the control module extracts the instantaneous energy density of each element distributed in the feature matrix and sums the overall energy, then compares it with an internally set energy threshold. For active samples whose summation value exceeds the set energy threshold, access is granted, and they are sent into the network model deployed in static random access memory. Relying on the parameters within the network model, a unidirectional progressive cross-sequence-specific dimension convolutional kernel inference operation is performed along the time axis to generate a decision posterior probability floating-point number and pass it forward. The system compares the decision posterior probability floating-point number with an internal classification threshold constant. If it reaches or exceeds the threshold, the continuous state counter is incremented by one. When the increase in the thermal aging weight is detected and a line degradation flag is triggered, the system locks the internal classification threshold constant to keep it constant and triggers an overwrite operation to expand the sliding window overlap ratio parameter, thereby increasing the number of frequency domain amplitude matrices generated within equal time intervals. By significantly increasing the frequency of judgments, the accumulation of the continuous state counter within the microprocessor is accelerated, enabling it to quickly meet the compliance requirements of multiple consecutive judgments, and thereby activating the state reversal output operation of the circuit breaker protection signal.

[0085] Furthermore, within this main architecture, the cloud-based federated optimization module synchronously uploads the original waveform segment that triggers the circuit breaker signal to the remote server for error correction review. After obtaining the latest weight update package, it utilizes the idle intervals of the system bus to perform base address transformation, completing the memory hot-swap operation for network weights. The aforementioned matrix truncation calculation, frequency domain generation, and network inference judgment logic are all mounted in the highest-priority hardware interrupt service routine triggered by the direct memory access controller to ensure extremely fast response; while the time-consuming physical temperature data integration operation is performed in the system's low-priority task scheduler to avoid causing blockage interference in the core judgment channel.

[0086] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

Claims

1. A detection system based on high-frequency spectrum analysis and edge AI, characterized in that, include: The waveform acquisition module is configured to continuously receive the current waveform of the photovoltaic DC branch and perform a short-time Fourier transform according to the set sliding window overlap ratio to extract the frequency domain amplitude matrix. The asynchronous thermal tracking module is configured to receive temperature values ​​reported by wireless temperature measurement nodes according to a preset period, and integrate the temperature values ​​stored in a specified time period to obtain the thermal aging weight representing the degree of oxidation of the connection terminal. The spectrum mask reconstruction module is configured to generate a spectrum suppression mask based on the thermal aging weights, use the spectrum suppression mask to weaken the high-frequency band values ​​in the frequency domain amplitude matrix and simultaneously increase the input weights of the mid-frequency band values, and output a reconstructed feature matrix. The edge dynamic slicing module is configured to feed the reconstructed feature matrix into the network model to perform forward inference, and dynamically increase the sliding window overlap ratio when the thermal aging weight increases, thereby accelerating the generation of circuit breaker protection signals when the network model outputs the arc category by relying on the improved temporal resolution.

2. The detection system based on high-frequency spectrum analysis and edge AI according to claim 1, characterized in that, The waveform acquisition module has a built-in digital bandpass filter logic. The digital bandpass filter logic is configured to filter out the switching frequency harmonic noise generated by the inverter in the current waveform and extract an effective carrier in the range of 30kHz to 100kHz to send to the subsequent operation link.

3. The detection system based on high-frequency spectrum analysis and edge AI according to claim 2, characterized in that, The network model is generated by training with a mixture of normal operation waveforms and arc fault waveforms. The network model is deployed in the static random access memory of the microprocessor, and the hidden layers of the network model use dedicated dimension convolution kernels to extract the temporal evolution rules.

4. The detection system based on high-frequency spectrum analysis and edge AI according to claim 3, characterized in that, The system is equipped with a cloud-based federated optimization module. The cloud-based federated optimization module is configured to aggregate the original waveform segments that trigger the circuit breaker protection signal and upload them to a remote server for error judgment review. When it receives the weight update package sent by the remote server, it uses the weight update package to perform a memory hot replacement on the locally deployed network model.

5. The detection system based on high-frequency spectrum analysis and edge AI according to claim 1, characterized in that, Before activating the network model, the edge dynamic slicing module uses a discrete energy integration algorithm to perform overall energy summation on the reconstructed feature matrix. Only when the overall energy summation value exceeds a set energy threshold is the data channel for inputting data into the network model opened.

6. The detection system based on high-frequency spectrum analysis and edge AI according to claim 1, characterized in that, The mathematical processing steps for obtaining the thermal aging weight by the asynchronous thermal tracking module include: extracting the abnormal temperature set that exceeds the preset temperature threshold from the temperature values ​​received within the specified time period; performing area integration on the time axis for the abnormal temperature set to obtain the overall accumulated heat; removing the low-frequency drift component caused by the diurnal temperature difference; and setting the remaining net integral as the thermal aging weight.

7. The detection system based on high-frequency spectrum analysis and edge AI according to claim 6, characterized in that, The mapping logic of the spectrum mask reconstruction module is as follows: the higher the value of the thermal aging weight, the greater the suppression coefficient generated for the high frequency band above 80kHz, and the higher the amplification factor allocated for the mid frequency band from 30kHz to 50kHz.

8. The detection system based on high-frequency spectrum analysis and edge AI according to claim 1, characterized in that, The edge dynamic slicing module is further configured to generate the circuit breaker protection signal when the network model outputs the arc category multiple times in a row; and the edge dynamic slicing module keeps the internal classification threshold constant of the network model constant, and increases the number of frequency domain amplitude matrices generated in equal time intervals by increasing the sliding window overlap ratio.

9. The detection system based on high-frequency spectrum analysis and edge AI according to claim 1, characterized in that, The asynchronous hot tracking module runs in the low-priority task scheduler within the system software stack, while the waveform acquisition module and the edge dynamic slicing module are mounted in the highest-priority hardware interrupt service routine triggered by the direct memory access controller.

10. A method based on high-frequency spectrum analysis and edge AI, characterized in that, The method, applied to the detection system based on high-frequency spectrum analysis and edge AI as described in any one of claims 1 to 9, comprises the following steps: S1. Continuously receive the current waveform of the photovoltaic DC branch and perform short-time Fourier transform according to the set sliding window overlap ratio to extract the frequency domain amplitude matrix. S2. Receive temperature values ​​reported by wireless temperature measurement nodes according to a preset cycle, and integrate the temperature values ​​stored in a specified time period to obtain the thermal aging weight representing the degree of oxidation of the connection terminal. S3. Generate a spectrum suppression mask based on the thermal aging weights, use the spectrum suppression mask to weaken the high-frequency band values ​​in the frequency domain amplitude matrix and simultaneously increase the input weights of the mid-frequency band values, and output the reconstructed feature matrix. S4. The reconstructed feature matrix is ​​fed into the network model to perform forward inference, and when the thermal aging weight increases, the sliding window overlap ratio is dynamically increased. The improved temporal resolution accelerates the generation of the circuit breaker protection signal when the network model outputs the arcing category.