A photovoltaic inverter residual current test generating device with self-diagnosis function

By designing a photovoltaic inverter residual current test generating device with self-diagnosis function, calculating the current change diagram, adjusting the resistance value and calibrating the current detector, the problem of low photovoltaic inverter detection accuracy is solved and a more accurate and reliable Current detection.

CN118091235BActive Publication Date: 2024-08-27DONGGUAN JUNXI INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311828047.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2024-08-27
Estimated Expiration
2043-12-28

AI Technical Summary

Technical Problem

Existing photovoltaic inverters have low residual current detection accuracy and poor flexibility, and cannot accurately reflect the actual situation.

Method used

Design a photovoltaic inverter residual current test generation device with self-diagnosis function. Calculate the preset current value and resistance value through the acquisition module, draw the current change graph, compare the actual and preset graphs, and adjust the resistance value to determine the residual current threshold. , and the current detector is calibrated through the processing module to ensure measurement accuracy.

Benefits of technology

It improves the accuracy and accuracy of photovoltaic inverter residual current detection, monitors alarm status in real time, enhances the dynamic adjustment capability of the system, and ensures the reliability and stability of current detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118091235B
    Figure CN118091235B
Patent Text Reader

Abstract

The present invention relates to the field of testing and measurement, and in particular to a photovoltaic inverter residual current test generating device with a self-diagnosis function, the device comprising: an acquisition module acquires a number of preset current values, calculates a number of preset resistance values ​​and detects the corresponding actual current values, draws a current change graph, overlaps and compares it with the preset current graph, and calculates and acquires the actual resistance value; a determination module detects the alarm state of the photovoltaic inverter when the adjustable test resistance is adjusted, if the alarm acquires the marked resistance value, compares the actual current value corresponding to the previous resistance value and the marked resistance value, and determines the photovoltaic inverter residual current detection threshold; a processing module calibrates the current detector to be diagnosed by adjusting the constant current output of the reference source, and adjusts the constant voltage output to diagnose and calibrate the resistor to be diagnosed; a detection module detects the residual current in the branch to be diagnosed, and determines the safety of the branch to be diagnosed. The present invention improves the accuracy of the actual residual current detection of the photovoltaic inverter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of testing and measurement, and in particular to a photovoltaic inverter residual current testing and generating device with a self-diagnosis function. Background Art

[0002] The photovoltaic inverter is a very important device in the photovoltaic system. Its main function is to convert the direct current generated by the photovoltaic components into alternating current. In addition, the inverter also undertakes important functions such as detecting the operating status of components, power grids, and cables, communicating with the outside world, and system security management.

[0003] The patent document with Chinese patent publication number CN115618261A discloses a method for identifying leakage in photovoltaic access distribution network based on NCA and SSA-KELM, and the steps include: collecting residual current data under different states of photovoltaic access distribution network; extracting features of the collected residual current data; preprocessing the extracted features; screening the preprocessed features using NCA based on nearest component analysis; training the kernel extreme learning machine KELM model using the screened features and optimizing the parameters of the KELM model using the sparrow search algorithm SSA, thereby obtaining the SSA-KELM leakage identification model; inputting the residual current feature sample to be tested into the SSA-KELM model for output category recognition, thereby obtaining the leakage type of the sample to be tested.

[0004] In the prior art, residual current detection of photovoltaic inverters is generally achieved by switching between two fixed resistors, which has the problems of poor detection accuracy and flexibility, resulting in that the detection results cannot accurately reflect the actual residual current detection situation of the photovoltaic inverter. Summary of the invention

[0005] To this end, the present invention provides a photovoltaic inverter residual current test generating device with a self-diagnosis function, which can solve the problem of low accuracy in detecting the actual residual current of the photovoltaic inverter.

[0006] To achieve the above object, the present invention provides a photovoltaic inverter residual current test generating device with self-diagnosis function, comprising:

[0007] an acquisition module, used to acquire a plurality of preset current values ​​within the initial current range, calculate and acquire a plurality of preset resistance values, detect actual current values ​​corresponding to the plurality of preset resistance values, draw a current change graph according to the plurality of preset resistance values ​​and the plurality of actual current values, compare the current change graph with the preset current graph for overlap, calculate an actual overlap deviation value according to the comparison result, compare and analyze the result with the preset overlap deviation value, and calculate and acquire the actual resistance value;

[0008] A determination module, connected to the acquisition module, for detecting the alarm state of the photovoltaic inverter when the adjustable test resistor is adjusted according to a number of actual resistance values, and if the photovoltaic inverter alarms, marking the actual resistance value at this time, acquiring the marked resistance value, comparing the actual current value corresponding to the previous resistance value adjacent to the marked resistance value with the actual current value corresponding to the marked resistance value, and determining the photovoltaic inverter residual current detection threshold value according to the comparison result;

[0009] A processing module, used for connecting a reference source in the branch to be diagnosed, calibrating the current detector to be diagnosed by adjusting the constant current output of the reference source, and diagnosing and calibrating each resistor to be diagnosed in the branch to be diagnosed by adjusting the reference source to output a constant voltage after the calibration of the current detector to be diagnosed is completed;

[0010] The detection module is connected to the processing module and is used to connect the photovoltaic inverter to the branch to be diagnosed, detect the residual current in the branch to be diagnosed, and determine the safety of the residual current in the branch to be diagnosed.

[0011] Furthermore, the acquisition module includes a recording unit and an acquisition unit, wherein:

[0012] The recording unit is connected to the preset current detector, and is used to obtain a plurality of preset current values ​​within the initial current range, and calculate a plurality of preset resistance values ​​of the adjustable test resistor in the test circuit according to the plurality of preset current values, and detect the actual current values ​​corresponding to the plurality of preset resistance values ​​through the preset current detector, and record the preset current values, the preset resistance values ​​and the actual current values ​​in one-to-one correspondence;

[0013] The acquisition unit is connected to the recording unit, draws a current change diagram according to the preset resistance values ​​and the actual current values, compares the current change diagram with the preset current diagram for overlap, calculates the actual overlap deviation value according to the comparison result, compares and analyzes the actual overlap deviation value with the preset overlap deviation value, and calculates and obtains the actual resistance value.

[0014] Furthermore, the acquisition unit includes a drawing subunit, a coincidence subunit, a calculation subunit and a comparison subunit, wherein:

[0015] The drawing subunit is used to establish a rectangular coordinate system with the resistance value as the horizontal coordinate and the current value as the vertical coordinate, draw the preset resistance value and the corresponding actual current value in the form of points in the rectangular coordinate system, connect two adjacent points, and obtain the current change diagram;

[0016] The overlap subunit is connected to the drawing subunit and is used to compare the overlap between the current change graph and the preset current graph;

[0017] The calculation subunit is connected to the overlap subunit, and is used to calculate the total area of ​​any point on the current change diagram within a certain range, and the overlap area of ​​any point within a certain range and the corresponding point on the preset current diagram within a certain range, and calculate the actual overlap deviation value according to the overlap area and the total area;

[0018] The comparison subunit is connected to the calculation subunit, and is used to calculate a first adjustment coefficient according to the overlap region area and the total area when the actual overlap deviation value is less than or equal to the preset overlap deviation value, and adjust several preset resistance values ​​according to the first adjustment coefficient to obtain several actual resistance values.

[0019] Furthermore, the comparison subunit also includes, when the actual overlap deviation value is greater than the preset overlap deviation value, performing fault detection on the preset current detector and repairing the fault or replacing the preset current detector, re-detecting the current corresponding to the adjustable test resistor at several preset resistance values, comparing the detected current value with the preset current value, calculating a second adjustment coefficient, adjusting several of the preset resistance values ​​according to the second adjustment coefficient, and obtaining several actual resistance values.

[0020] Furthermore, the determination module includes a comparison unit and a threshold determination unit, wherein:

[0021] The comparison unit is used to calculate the difference between the actual current value corresponding to the previous resistance value adjacent to the marked resistance value and the actual current value corresponding to the marked resistance value to obtain a first current difference, and compare the first current difference with a preset current difference to obtain a current difference comparison result;

[0022] The threshold determination unit is connected to the comparison unit, and is used to use the actual current value corresponding to the marking resistance value as the detection threshold of the residual current of the photovoltaic inverter when the first current difference is less than or equal to the preset current difference, and when the first current difference is greater than the preset current difference, select the middle value of the resistance between the previous resistance value and the marking resistance value as the first observed resistance value, determine the alarm state of the photovoltaic inverter, and determine the determination result of the detection threshold of the residual current of the photovoltaic inverter according to the alarm state.

[0023] Furthermore, the threshold determination unit includes an alarm subunit and a non-alarm subunit, wherein:

[0024] The alarm subunit is used to calculate the second current difference between the first observed resistance value and the actual current value corresponding to the previous resistance value when the photovoltaic inverter alarms, and compare the second current difference with the preset current difference. If the second current difference is less than or equal to the preset current difference, the actual current value corresponding to the first observed resistance value is used as the detection threshold of the residual current of the photovoltaic inverter;

[0025] The non-alarm sub-unit is used to select the middle value of the first observed resistance value and the marked resistance value as the second observed resistance value when the photovoltaic inverter has no alarm, and determine the alarm state of the photovoltaic inverter. If an alarm occurs, the alarm sub-unit works repeatedly to determine the detection threshold of the residual current of the photovoltaic inverter. If no alarm occurs, the middle value of the second observed resistance value and the marked resistance value continues to be selected as the third observed resistance value until the alarm of the photovoltaic inverter stops, and the alarm sub-unit works repeatedly to determine the detection threshold of the residual current of the photovoltaic inverter.

[0026] Further, the processing module includes a detector calibration unit and a resistance calibration unit, wherein:

[0027] The detector calibration unit is used to calibrate the current detector to be diagnosed by outputting a constant current through a reference source;

[0028] The resistance calibration unit is connected to the detector calibration unit and is used for outputting a constant voltage through a reference source to diagnose and calibrate the resistor to be diagnosed.

[0029] Further, the detector calibration unit includes a constant current output subunit, a constant current recording subunit and a detector calibration subunit, wherein:

[0030] The constant current output subunit is used to output a first constant current value, a second constant current value and a third constant current value through the reference source;

[0031] The constant current recording subunit is connected to the constant current output subunit, and is used to record several detection current values ​​of the current detector to be diagnosed at the first constant current value, the second constant current value and the third constant current value respectively within a preset time period;

[0032] The detector calibration subunit is connected to the constant current recording subunit, and is used to draw the first change graph, the second change graph and the third change graph of the current detector to be diagnosed at the first constant current value, the second constant current value and the third constant current value respectively according to the plurality of detected current values, draw constant current straight lines in the first change graph, the second change graph and the third change graph respectively, observe the actual number of points distributed on both sides of the constant current straight line in the first change graph, the second change graph and the third change graph, and if the actual number is greater than the preset number, calibrate the current detector to be diagnosed.

[0033] Further, the resistance calibration unit includes a resistance diagnosis subunit and a resistance calibration subunit, wherein:

[0034] The resistor diagnosis subunit is used to photograph the outer surface of the resistor to be diagnosed by an image acquisition device, and to determine whether the resistor to be diagnosed is damaged by analyzing the photographed image. If not damaged, the resistance value of the resistor to be diagnosed in the branch to be diagnosed is detected by a resistance detector, and the detection result is compared with the standard resistance value. If the detection result is not equal to the standard resistance value, the resistor to be diagnosed is faulty.

[0035] The resistance calibration subunit is used to detect, within a preset time period, a number of transmission currents of the resistor to be diagnosed at the first constant voltage value, the second constant voltage value and the third constant voltage value respectively through a calibrated current detector to be diagnosed, and to determine the actual value of the resistance in the branch to be diagnosed according to the number of transmission currents and the first constant voltage value, the second constant voltage value and the third constant voltage value respectively, and to compare the actual value of the resistance with the standard resistance value. When the actual value of the resistance is not equal to the standard resistance value, the resistor to be diagnosed is calibrated.

[0036] Furthermore, the detection module observation unit and the residual current analysis unit, wherein:

[0037] The observation unit is used to observe whether the photovoltaic inverter alarms, and at the same time observe the residual current value detected by the calibrated current detector to be diagnosed;

[0038] The residual current analysis unit is connected to the observation unit, and is used to analyze the change trend of the residual current within a preset time period when the photovoltaic inverter alarms and the residual current value is less than the detection threshold of the residual current of the photovoltaic inverter. If the change trend is different from the preset change trend, the branch to be diagnosed has a fault, and the fault is repaired for the branch to be diagnosed.

[0039] Compared with the prior art, the beneficial effects of the present invention are that, by setting an acquisition module to obtain a preset resistance value through a preset current value calculation, it is convenient for subsequent analysis of the actual current value and timely adjustment of the preset resistance value, thereby improving the accuracy and precision of the measurement; by setting a determination module to adjust the adjustable test resistance according to the actual resistance value, the alarm state of the photovoltaic inverter is monitored in real time, thereby improving the dynamic adjustment capability of the system; by comparing the actual current value corresponding to the previous resistance value adjacent to the marked resistance value and the actual current value corresponding to the marked resistance value, the residual current detection threshold of the photovoltaic inverter is determined, thereby providing a reference for subsequent current detection; by setting a processing module, the current detector in the branch to be diagnosed is calibrated to ensure that it accurately measures the current; at the same time, by adjusting the reference source for constant voltage output, each resistor in the branch to be diagnosed is diagnosed and calibrated, thereby improving the reliability and stability of the resistor; by setting a detection module, the photovoltaic inverter can be connected to the branch to be diagnosed, and the residual current therein can be detected, thereby ensuring the safety of the branch to be diagnosed, thereby providing a guarantee for the normal operation of the branch to be diagnosed.

[0040] In particular, by setting up a recording unit, the preset current value, the preset resistance value and the actual current value are recorded one by one, which provides a complete and accurate data basis for subsequent data analysis and processing. The acquisition unit can draw a current change graph according to the preset resistance value and the actual current value, so that the current change during the adjustment of the adjustable resistor can be intuitively understood, providing an accurate basis for subsequent similarity judgment. By comparing the overlap of the current change graph with the preset current graph, the actual overlap deviation value is calculated, and the difference between the current change graph and the preset current graph is quantitatively evaluated. The actual overlap deviation value is compared and analyzed with the preset overlap deviation value to determine whether the preset resistance value needs to be adjusted. The deviation between the current change graph and the preset current graph is corrected by adjusting the preset resistance value, thereby obtaining a more accurate actual resistance value.

[0041] In particular, a rectangular coordinate system is established by drawing a subunit, and a current change graph is drawn, so that the current value corresponding to the adjustable resistor corresponding to different resistances can be intuitively observed, so that the current change in the process of adjusting the adjustable resistor can be intuitively understood, and the current change graph is overlapped and compared with the preset current graph by setting an overlap subunit to evaluate the degree of deviation between the actual current graph and the preset current graph, so as to provide a basis for the subsequent calibration of the actual current graph, and the total area, the overlap area and the actual overlap deviation value are calculated by the calculation subunit to quantitatively evaluate the difference between the current change graph and the preset current graph, so that the judgment of the difference between the current change graph and the preset current change graph is intuitive and accurate, and the first adjustment coefficient is calculated by the comparison subunit, and several preset resistance values ​​are adjusted, and the preset resistance values ​​are adjusted to correct the deviation of the current change graph and the preset current graph, so that the actual resistance value obtained meets expectations, which helps to improve the accuracy and reliability of obtaining the actual resistance value.

[0042] In particular, when the actual coincidence deviation value is greater than the preset coincidence deviation value, fault detection is performed on the preset current detector and the fault is repaired or the preset current detector is replaced, thereby ensuring the accuracy and reliability of current detection, avoiding measurement errors caused by equipment failure, and improving the reliability and service life of the equipment. By re-detecting the current corresponding to the adjustable test resistor at several preset resistance values, the real-time nature of the current detection result is ensured, and the accuracy of the current detection result is guaranteed. The detected current value is compared with the preset current value, and the second adjustment coefficient is calculated, thereby ensuring the real-time nature and accuracy of the adjustment parameters and improving the accuracy of obtaining the actual resistance value.

[0043] In particular, by setting an alarm subunit to calculate the second current difference and compare it with the preset current difference as the current threshold of the residual current of the photovoltaic inverter, the current threshold of the residual current of the photovoltaic inverter is determined according to actual conditions, so that the result of the current threshold is determined accurately and comprehensively, and by setting the middle value of the selected resistance as the second observed resistance value, the alarm state of the photovoltaic inverter is determined. When there is no alarm, the observed resistance value and the detection threshold are gradually adjusted to achieve more accurate current detection and threshold adjustment, which helps to improve the performance and safety of the photovoltaic inverter.

[0044] In particular, by setting a constant current output subunit to provide a stable current input to the current detector through a reference source, the accuracy and consistency in the subsequent detection process are ensured, so that the calibration result of the current detector is accurate. By setting a constant current recording subunit to record the actual detection result of the current detector to be diagnosed within a preset time period, an accurate data basis is provided for the subsequent drawing of a change graph, so that the change graph is accurately drawn. By setting a detector calibration subunit to draw a change graph, a constant current straight line is drawn in the change graph, and the actual number of points distributed on both sides of the constant current straight line in the change graph is observed to judge the performance of the current detector to be diagnosed. If the actual number is greater than the preset number, the current detector is calibrated to ensure the accuracy and reliability of the current detector and improve the reliability and precision of the test circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A structural block diagram of a photovoltaic inverter residual current test generating device with self-diagnosis function provided by an embodiment of the present invention;

[0046] Figure 2 A flow chart of determining a photovoltaic inverter residual current detection threshold value for a photovoltaic inverter residual current test generating device with a self-diagnosis function provided by an embodiment of the present invention;

[0047] Figure 3 A second structural block diagram of a photovoltaic inverter residual current test generating device with self-diagnosis function provided by an embodiment of the present invention;

[0048] Figure 4 A third structural block diagram of a photovoltaic inverter residual current test and generation device with self-diagnosis function provided in an embodiment of the present invention.

[0049] Figure 5 A schematic diagram of a photovoltaic inverter residual current test and generation device with self-diagnosis function provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0050] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0051] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.

[0052] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.

[0053] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0054] See also Figure 1 As shown, an embodiment of the present invention provides a photovoltaic inverter residual current test generating device with a self-diagnosis function, the device comprising:

[0055] An acquisition module 10 is used to acquire a plurality of preset current values ​​within the initial current range, and to calculate and acquire a plurality of preset resistance values, detect actual current values ​​corresponding to the plurality of preset resistance values, draw a current change graph according to the plurality of preset resistance values ​​and the plurality of actual current values, compare the current change graph with the preset current graph for overlap, calculate an actual overlap deviation value according to the comparison result, and compare and analyze the result with the preset overlap deviation value, so as to calculate and acquire the actual resistance value;

[0056] A determination module 20, connected to the acquisition module, is used to detect the alarm state of the photovoltaic inverter when the adjustable test resistor is adjusted according to a number of actual resistance values. If the photovoltaic inverter alarms, the actual resistance value at this time is marked, the marked resistance value is obtained, and the actual current value corresponding to the previous resistance value adjacent to the marked resistance value is compared with the actual current value corresponding to the marked resistance value, and the residual current detection threshold of the photovoltaic inverter is determined according to the comparison result;

[0057] The processing module 30 is used to connect a reference source to the branch to be diagnosed, and calibrate the current detector to be diagnosed by adjusting the constant current output of the reference source. When the calibration of the current detector to be diagnosed is completed, the reference source is adjusted to output a constant voltage to diagnose and calibrate each resistor to be diagnosed in the branch to be diagnosed;

[0058] The detection module 40 is connected to the processing module and is used to connect the photovoltaic inverter to the branch to be diagnosed, detect the residual current in the branch to be diagnosed, and determine the safety of the residual current in the branch to be diagnosed.

[0059] Specifically, the test circuit in the embodiment of the present invention includes an adjustable test resistor, a photovoltaic inverter and a preset current detector, the adjustable test resistor is connected to the input end of the photovoltaic inverter, and the preset current detector is connected to the output end of the photovoltaic inverter.

[0060] Specifically, the embodiment of the present invention sets an acquisition module to obtain a preset resistance value by calculating a preset current value, so as to facilitate subsequent analysis of the actual current value and timely adjustment of the preset resistance value, thereby improving the accuracy and precision of the measurement; sets a determination module to adjust the adjustable test resistance according to the actual resistance value, so that the alarm state of the photovoltaic inverter is monitored in real time, thereby improving the dynamic adjustment capability of the system; determines the residual current detection threshold of the photovoltaic inverter by comparing the actual current value corresponding to the previous resistance value adjacent to the marked resistance value and the actual current value corresponding to the marked resistance value, thereby providing a reference for subsequent current detection; sets a processing module to calibrate the current detector in the branch to be diagnosed, thereby ensuring that it accurately measures the current; at the same time, by adjusting the reference source to output a constant voltage, diagnoses and calibrates each resistor in the branch to be diagnosed, thereby improving the reliability and stability of the resistor; sets a detection module to connect the photovoltaic inverter to the branch to be diagnosed, and detects the residual current therein, thereby ensuring the safety of the branch to be diagnosed, thereby providing a guarantee for the normal operation of the branch to be diagnosed.

[0061] See also Figure 3 As shown, the acquisition module 10 includes a recording unit 11 and an acquisition unit 12, wherein:

[0062] The recording unit 11 is connected to a preset current detector, and is used to obtain a plurality of preset current values ​​within the initial current range, and calculate a plurality of preset resistance values ​​of an adjustable test resistor in a test circuit according to the plurality of preset current values, and detect actual current values ​​corresponding to the plurality of preset resistance values ​​through the preset current detector, and record the preset current values, the preset resistance values ​​and the actual current values ​​in one-to-one correspondence;

[0063] The acquisition unit 12 is connected to the recording unit 11, draws a current change graph according to the preset resistance values ​​and the actual current values, compares the current change graph with the preset current graph for overlap, calculates the actual overlap deviation value according to the comparison result, compares and analyzes the actual overlap deviation value with the preset overlap deviation value, and calculates and obtains the actual resistance value.

[0064] Specifically, the preset current diagram in the embodiment of the present invention is a preset current diagram drawn according to the plurality of preset current values ​​and the plurality of resistance values;

[0065] Calculating a plurality of preset resistance values ​​of an adjustable test resistor in a test circuit according to a plurality of the preset current values ​​includes dividing a preset voltage of the test circuit by the preset current value to obtain a preset resistance value.

[0066] Specifically, the embodiment of the present invention records the preset current value, the preset resistance value and the actual current value in one-to-one correspondence by setting a recording unit 11, thereby providing a complete and accurate data basis for subsequent data analysis and processing. The acquisition unit 12 can draw a current change graph according to the preset resistance value and the actual current value, so that the current change during the adjustment of the adjustable resistor can be intuitively understood, providing an accurate basis for subsequent similarity judgment, and by comparing the current change graph with the preset current graph, calculating the actual overlap deviation value, quantitatively evaluating the difference between the current change graph and the preset current graph, comparing and analyzing the actual overlap deviation value with the preset overlap deviation value, determining whether the preset resistance value needs to be adjusted, and correcting the deviation between the current change graph and the preset current graph by adjusting the preset resistance value, thereby obtaining a more accurate actual resistance value.

[0067] See also Figure 4 As shown, the acquisition unit 12 includes a drawing subunit 121, a coincidence subunit 122, a calculation subunit 123 and a comparison subunit 124.

[0068] The drawing subunit 121 is used to establish a rectangular coordinate system with the resistance value as the horizontal coordinate and the current value as the vertical coordinate, draw the preset resistance value and the corresponding actual current value in the form of points in the rectangular coordinate system, connect two adjacent points, and obtain the current change diagram;

[0069] The overlap subunit 122 is connected to the drawing subunit 121, and is used to compare the overlap between the current change diagram and the preset current diagram;

[0070] The calculation subunit 123 is connected to the overlap subunit 122, and is used to calculate the total area of ​​any point on the current change diagram within a certain range, and the overlap area of ​​any point within a certain range and the corresponding point on the preset current diagram within a certain range, and calculate the actual overlap deviation value according to the overlap area and the total area;

[0071] The comparison subunit 124 is connected to the calculation subunit 123, and is used to calculate a first adjustment coefficient according to the overlap area area and the total area when the actual overlap deviation value is less than or equal to the preset overlap deviation value, and adjust the plurality of preset resistance values ​​according to the first adjustment coefficient to obtain a plurality of actual resistance values.

[0072] Specifically, the certain range in the embodiment of the present invention is a range included by 1 / 2 of the horizontal distance between two adjacent points of the point translated in the positive direction of the horizontal coordinate and in the negative direction of the horizontal coordinate respectively;

[0073] The actual overlap deviation value is calculated according to the overlap area and the total area, and the actual overlap deviation value is the actual overlap deviation value=|total area-overlap area|;

[0074] The preset overlap deviation value is 1 / 20 of the overlap area;

[0075] The first adjustment coefficient is calculated according to the overlapping area and the total area: assuming that the overlapping area is S1 and the total area is S2, the first adjustment coefficient K1 is K1=S1 / S2;

[0076] The actual resistance values ​​are obtained as follows: assuming that the preset resistance value is R1, the actual resistance value R1' is R1'=K1×R1.

[0077] Specifically, the embodiment of the present invention establishes a rectangular coordinate system through the drawing subunit 121, and draws a current change graph, so that the current value corresponding to the adjustable resistor corresponding to different resistances can be intuitively observed, so that the current change in the process of adjusting the adjustable resistor can be intuitively understood, and the current change graph is overlapped and compared with the preset current graph by setting an overlap subunit to evaluate the degree of deviation between the actual current graph and the preset current graph, so as to provide a basis for the subsequent calibration of the actual current graph, and the total area, the overlap area and the actual overlap deviation value are calculated by the calculation subunit 123 to quantitatively evaluate the difference between the current change graph and the preset current graph, so that the judgment of the difference between the current change graph and the preset current change graph is intuitive and accurate, and the first adjustment coefficient is calculated by the comparison subunit 124, and several preset resistance values ​​are adjusted, and the preset resistance values ​​are adjusted to correct the deviation of the current change graph and the preset current graph, so that the actual resistance value obtained meets expectations, which helps to improve the accuracy and reliability of obtaining the actual resistance value.

[0078] Specifically, the comparison subunit 124 also includes, when the actual overlap deviation value is greater than the preset overlap deviation value, performing fault detection on the preset current detector and repairing the fault or replacing the preset current detector, re-detecting the current corresponding to the adjustable test resistor at several preset resistance values, comparing the detected current value with the preset current value, calculating a second adjustment coefficient, adjusting several of the preset resistance values ​​according to the second adjustment coefficient, and obtaining several actual resistance values.

[0079] Specifically, in the embodiment of the present invention, the detected current value is assumed to be I2, and the preset current value is I1, then the second adjustment coefficient K2 is K2=I2 / I1;

[0080] The actual resistance values ​​are obtained as follows: assuming that the preset resistance value is R1, the actual resistance value R1' is R1'=K2×R1.

[0081] Specifically, the embodiment of the present invention ensures the accuracy and reliability of current detection by performing fault detection on a preset current detector and repairing the fault or replacing the preset current detector when the actual overlap deviation value is greater than the preset overlap deviation value, thereby avoiding measurement errors caused by equipment failures and improving the reliability and service life of the equipment. By re-detecting the current corresponding to the adjustable test resistor at several preset resistance values, the real-time nature of the current detection result is ensured, and the accuracy of the current detection result is guaranteed. The detected current value is compared with the preset current value, and the second adjustment coefficient is calculated, thereby ensuring the real-time nature and accuracy of the adjustment parameters and improving the accuracy of obtaining the actual resistance value.

[0082] Specifically, the determination module includes a comparison unit and a threshold determination unit, wherein:

[0083] The comparison unit is used to calculate the difference between the actual current value corresponding to the previous resistance value adjacent to the marked resistance value and the actual current value corresponding to the marked resistance value to obtain a first current difference, and compare the first current difference with a preset current difference to obtain a current difference comparison result;

[0084] The threshold determination unit is connected to the comparison unit, and is used to use the actual current value corresponding to the marking resistance value as the detection threshold of the residual current of the photovoltaic inverter when the first current difference is less than or equal to the preset current difference, and when the first current difference is greater than the preset current difference, select the middle value of the resistance between the previous resistance value and the marking resistance value as the first observed resistance value, determine the alarm state of the photovoltaic inverter, and determine the determination result of the detection threshold of the residual current of the photovoltaic inverter according to the alarm state.

[0085] Specifically, the preset current difference in the embodiment of the present invention is 1A.

[0086] Specifically, the embodiment of the present invention obtains the first current difference by setting a comparison unit, provides an accurate data basis for subsequent difference comparison, compares the first current difference with the preset current difference, and obtains the current difference comparison result, which is helpful to evaluate the performance of the residual current threshold of the photovoltaic inverter. The detection threshold of the residual current of the photovoltaic inverter is determined by the threshold determination unit according to the current difference comparison result, which can accurately evaluate the performance and status of the photovoltaic inverter, and adjust the detection threshold according to the difference in current difference and take corresponding measures to deal with abnormal situations, which helps to improve the reliability and safety of the photovoltaic inverter.

[0087] Specifically, the threshold determination unit includes an alarm subunit and a non-alarm subunit, wherein:

[0088] The alarm subunit is used to calculate the second current difference between the first observed resistance value and the actual current value corresponding to the previous resistance value when the photovoltaic inverter alarms, and compare the second current difference with the preset current difference. If the second current difference is less than or equal to the preset current difference, the actual current value corresponding to the first observed resistance value is used as the detection threshold of the residual current of the photovoltaic inverter;

[0089] The non-alarm sub-unit is used to select the middle value of the first observed resistance value and the marked resistance value as the second observed resistance value when the photovoltaic inverter has no alarm, and determine the alarm state of the photovoltaic inverter. If an alarm occurs, the alarm sub-unit works repeatedly to determine the detection threshold of the residual current of the photovoltaic inverter. If no alarm occurs, the middle value of the second observed resistance value and the marked resistance value continues to be selected as the third observed resistance value until the alarm of the photovoltaic inverter stops, and the alarm sub-unit works repeatedly to determine the detection threshold of the residual current of the photovoltaic inverter.

[0090] Specifically, the embodiment of the present invention calculates the second current difference by setting an alarm sub-unit, and compares it with the preset current difference as the current threshold of the residual current of the photovoltaic inverter, and determines the current threshold of the residual current of the photovoltaic inverter according to actual conditions, so that the result of the current threshold is accurately and comprehensively determined, and the alarm state of the photovoltaic inverter is determined by setting a non-alarm sub-unit to select the middle value of the resistance as the second observed resistance value, and when there is no alarm, the observed resistance value and the detection threshold are gradually adjusted to achieve more accurate current detection and threshold adjustment, which helps to improve the performance and safety of the photovoltaic inverter.

[0091] Specifically, the processing module includes a detector calibration unit and a resistance calibration unit, wherein:

[0092] The detector calibration unit is used to calibrate the current detector to be diagnosed by outputting a constant current through a reference source;

[0093] The resistance calibration unit is connected to the detector calibration unit and is used for outputting a constant voltage through a reference source to diagnose and calibrate the resistor to be diagnosed.

[0094] Specifically, the detector calibration unit includes a constant current output subunit, a constant current recording subunit and a detector calibration subunit, wherein:

[0095] The constant current output subunit is used to output a first constant current value, a second constant current value and a third constant current value through the reference source;

[0096] The constant current recording subunit is connected to the constant current output subunit, and is used to record several detection current values ​​of the current detector to be diagnosed at the first constant current value, the second constant current value and the third constant current value respectively within a preset time period;

[0097] The detector calibration subunit is connected to the constant current recording subunit, and is used to draw the first change graph, the second change graph and the third change graph of the current detector to be diagnosed at the first constant current value, the second constant current value and the third constant current value respectively according to the plurality of detected current values, draw constant current straight lines in the first change graph, the second change graph and the third change graph respectively, observe the actual number of points distributed on both sides of the constant current straight line in the first change graph, the second change graph and the third change graph, and if the actual number is greater than the preset number, calibrate the current detector to be diagnosed to obtain a calibrated current detector.

[0098] Specifically, the preset number in the embodiment of the present invention is 3;

[0099] The first constant current value is 5A, the second constant current value is 10A, and the first constant current value is 15A;

[0100] The current detector to be diagnosed can be calibrated by adjusting the calibration knob of the current detector or using computer software. During the calibration process, it is necessary to continuously adjust the calibration knob or the parameters on the software interface until the actual number of points distributed on both sides of the constant current straight line in the change graph is close to the preset number.

[0101] Specifically, the embodiment of the present invention provides a stable current input to the current detector through a reference source by setting a constant current output subunit, thereby ensuring the accuracy and consistency in the subsequent detection process, so that the calibration result of the current detector is accurate. The constant current recording subunit is set to record the actual detection result of the current detector to be diagnosed within a preset time period, providing an accurate data basis for the subsequent drawing of the change graph, so that the change graph is accurately drawn. The change graph is drawn by setting the detector calibration subunit, and a constant current straight line is drawn in the change graph. The actual number of points distributed on both sides of the constant current straight line in the change graph is observed to judge the performance of the current detector to be diagnosed. If the actual number is greater than the preset number, the current detector is calibrated to ensure the accuracy and reliability of the current detector and improve the reliability and precision of the test circuit.

[0102] Specifically, the resistance calibration unit includes a resistance diagnosis subunit and a resistance calibration subunit, wherein:

[0103] The resistor diagnosis subunit is used to photograph the outer surface of the resistor to be diagnosed by an image acquisition device, and to determine whether the resistor to be diagnosed is damaged by analyzing the photographed image. If not damaged, the resistance value of the resistor to be diagnosed in the branch to be diagnosed is detected by a resistance detector, and the detection result is compared with the standard resistance value. If the detection result is not equal to the standard resistance value, the resistor to be diagnosed is faulty.

[0104] The resistance calibration subunit is used to detect, within a preset time period, a number of transmission currents of the resistor to be diagnosed at the first constant voltage value, the second constant voltage value and the third constant voltage value respectively through a calibrated current detector to be diagnosed, and to determine the actual value of the resistance in the branch to be diagnosed according to the number of transmission currents and the first constant voltage value, the second constant voltage value and the third constant voltage value respectively, and to compare the actual value of the resistance with the standard resistance value. When the actual value of the resistance is not equal to the standard resistance value, the resistor to be diagnosed is calibrated.

[0105] Specifically, in the embodiment of the present invention, the first constant voltage value is 5V, the second constant voltage value is 10V, and the third constant voltage value is 15V;

[0106] The standard resistance value is determined according to the production standard of each resistor;

[0107] The resistor can be calibrated by using computer software. During the calibration process, the parameters on the software interface need to be continuously adjusted until the actual value of the resistor is equal to the standard resistance value.

[0108] Specifically, the embodiment of the present invention sets a resistance diagnosis subunit to photograph and analyze the outer surface of the resistor to be diagnosed, judges whether the resistor to be diagnosed is damaged, and preliminarily judges whether the resistor to be diagnosed is damaged, thereby improving the efficiency of the damage judgment process; if the resistor to be diagnosed is not damaged, the detection result is compared with the standard resistance value to accurately judge the fault condition of the resistor to be diagnosed, thereby improving the comprehensiveness of the fault judgment of the resistor to be diagnosed, and providing a basis for subsequent calibration; by setting a resistance calibration subunit to obtain a number of transmission currents within a preset time period, the actual value of the resistor is calculated and compared with the standard resistance value, and the resistor to be diagnosed is calibrated according to the actual measurement result, thereby improving the accuracy of obtaining the actual resistance value.

[0109] Specifically, the detection module observation unit and the residual current analysis unit, wherein:

[0110] The observation unit is used to observe whether the photovoltaic inverter alarms, and at the same time observe the residual current value detected by the calibrated current detector to be diagnosed;

[0111] The residual current analysis unit is connected to the observation unit, and is used to analyze the change trend of the residual current within a preset time period when the photovoltaic inverter alarms and the residual current value is less than the detection threshold of the residual current of the photovoltaic inverter. If the change trend is different from the preset change trend, the branch to be diagnosed has a fault, and the fault is repaired for the branch to be diagnosed.

[0112] Specifically, in the embodiment of the present invention, if the residual current value gradually increases, it may be caused by circuit overheating or component failure.

[0113] Specifically, the embodiment of the present invention helps to discover potential problems in a timely manner and take corresponding measures by setting an observation unit to observe the alarm status of the photovoltaic inverter and the residual current value detected by the calibrated current detector in real time. By setting a residual current analysis unit to analyze the changing trend of the residual current within a preset time period, it helps to identify potential faults in the circuit and issue early warnings. When an abnormality is found, the fault can be repaired in a timely manner, which helps to improve the stability and reliability of the circuit.

[0114] See also Figure 5 The figure shows a schematic diagram of a photovoltaic inverter residual current test generating device with a self-diagnosis function provided in an embodiment of the present invention. The photovoltaic inverter residual current test generating device with a self-diagnosis function in an embodiment of the present invention is divided into two branches, one is a test branch, and the other is a self-diagnosis branch, which is selected by a SW_T switch.

[0115] The input end is connected to the PV voltmeter through SW_T and switched to the test branch. When the test branch performs the residual current detection function test, the residual current in the test branch is changed by adjusting the number of series resistors (R1, R2, ... Rn). At the same time, real-time current is monitored through the current detector. The resistance is dynamically adjusted through the adaptive algorithm to ensure that the current is stable within the test setting range, and the size of the current is continuously adjusted until the photovoltaic inverter has a residual current abnormal alarm.

[0116] The input terminal is connected to the reference source through SW_T and switched to the self-diagnosis branch. The reference source can provide high-precision constant voltage or constant current output. The constant current output can calibrate the current detector to ensure that after the current detector is calibrated, each resistor is diagnosed and calibrated through constant voltage. Once the calibration is completed, the calibration parameters are written into the memory of the logic control unit to facilitate compensation during testing.

[0117] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

[0118] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A photovoltaic inverter residual current test generating device with self-diagnosis function, characterized in that: include: An acquisition module is used to acquire a number of preset current values ​​within the initial current range, and to calculate and acquire a number of preset resistance values, detect actual current values ​​corresponding to the number of preset resistance values, draw a current change graph according to the number of preset resistance values ​​and the number of actual current values, compare the current change graph with the preset current graph for overlap, calculate an actual overlap deviation value according to the comparison result, and compare and analyze it with the preset overlap deviation value, and calculate and acquire the actual resistance value; The acquisition module includes a recording unit and an acquisition unit, wherein: The recording unit is connected to the preset current detector, and is used to obtain a plurality of preset current values ​​within the initial current range, and calculate a plurality of preset resistance values ​​of the adjustable test resistor in the test circuit according to the plurality of preset current values, and detect the actual current values ​​corresponding to the plurality of preset resistance values ​​through the preset current detector, and record the preset current values, the preset resistance values ​​and the actual current values ​​in one-to-one correspondence; The acquisition unit is connected to the recording unit, draws a current change diagram according to the preset resistance values ​​and the actual current values, compares the current change diagram with the preset current diagram, calculates the actual overlap deviation value according to the comparison result, compares and analyzes the actual overlap deviation value with the preset overlap deviation value, and calculates and obtains the actual resistance value; The acquisition unit includes a drawing subunit, a coincidence subunit, a calculation subunit and a comparison subunit, wherein: The drawing subunit is used to establish a rectangular coordinate system with the resistance value as the horizontal coordinate and the current value as the vertical coordinate, draw the preset resistance value and the corresponding actual current value in the form of points in the rectangular coordinate system, connect two adjacent points, and obtain the current change diagram; The overlap subunit is connected to the drawing subunit and is used to compare the overlap between the current change graph and the preset current graph; The calculation subunit is connected to the overlap subunit, and is used to calculate the total area of ​​any point on the current change diagram within a certain range, and the overlap area of ​​any point within a certain range and the corresponding point on the preset current diagram within a certain range, and calculate the actual overlap deviation value according to the overlap area and the total area; The comparison subunit is connected to the calculation subunit, and is used to calculate a first adjustment coefficient according to the overlap region area and the total area when the actual overlap deviation value is less than or equal to the preset overlap deviation value, and adjust the preset resistance values ​​according to the first adjustment coefficient to obtain a plurality of actual resistance values; The comparison subunit further includes, when the actual overlap deviation value is greater than the preset overlap deviation value, performing fault detection on the preset current detector and repairing the fault or replacing the preset current detector, re-detecting the current corresponding to the adjustable test resistor at several preset resistance values, comparing the detected current value with the preset current value, calculating a second adjustment coefficient, adjusting the several preset resistance values ​​according to the second adjustment coefficient, and obtaining several actual resistance values; A determination module, connected to the acquisition module, for detecting the alarm state of the photovoltaic inverter when the adjustable test resistor is adjusted according to a number of actual resistance values, and if the photovoltaic inverter alarms, marking the actual resistance value at this time, acquiring the marked resistance value, comparing the actual current value corresponding to the previous resistance value adjacent to the marked resistance value with the actual current value corresponding to the marked resistance value, and determining the photovoltaic inverter residual current detection threshold value according to the comparison result; The determination module includes a comparison unit and a threshold determination unit, wherein: The comparison unit is used to calculate the difference between the actual current value corresponding to the previous resistance value adjacent to the marked resistance value and the actual current value corresponding to the marked resistance value to obtain a first current difference, and compare the first current difference with a preset current difference to obtain a current difference comparison result; The threshold determination unit is connected to the comparison unit, and is used to use the actual current value corresponding to the marked resistance value as the detection threshold of the residual current of the photovoltaic inverter when the first current difference is less than or equal to the preset current difference, and when the first current difference is greater than the preset current difference, select the middle value of the resistance between the previous resistance value and the marked resistance value as the first observed resistance value, determine the alarm state of the photovoltaic inverter, and determine the determination result of the detection threshold of the residual current of the photovoltaic inverter according to the alarm state; The threshold determination unit includes an alarm subunit and a non-alarm subunit, wherein: The alarm subunit is used to calculate the second current difference between the first observed resistance value and the actual current value corresponding to the previous resistance value when the photovoltaic inverter alarms, and compare the second current difference with the preset current difference. If the second current difference is less than or equal to the preset current difference, the actual current value corresponding to the first observed resistance value is used as the detection threshold of the residual current of the photovoltaic inverter; The non-alarm subunit is used to select the middle value of the first observed resistance value and the marked resistance value as the second observed resistance value when the photovoltaic inverter has no alarm, determine the alarm state of the photovoltaic inverter, if an alarm occurs, repeat the work of the alarm subunit to determine the detection threshold of the residual current of the photovoltaic inverter, if no alarm occurs, continue to select the middle value of the second observed resistance value and the marked resistance value as the third observed resistance value until the alarm of the photovoltaic inverter stops, repeat the work of the alarm subunit to determine the detection threshold of the residual current of the photovoltaic inverter; A processing module, used for connecting a reference source in the branch to be diagnosed, calibrating the current detector to be diagnosed by adjusting the constant current output of the reference source, and diagnosing and calibrating each resistor to be diagnosed in the branch to be diagnosed by adjusting the reference source to output a constant voltage after the calibration of the current detector to be diagnosed is completed; The detection module is connected to the processing module and is used to connect the photovoltaic inverter to the branch to be diagnosed, detect the residual current in the branch to be diagnosed, and determine the safety of the residual current in the branch to be diagnosed.

2. The photovoltaic inverter residual current test generating device with self-diagnosis function according to claim 1 is characterized in that: The processing module includes a detector calibration unit and a resistance calibration unit, wherein: The detector calibration unit is used to calibrate the current detector to be diagnosed by outputting a constant current through a reference source; The resistance calibration unit is connected to the detector calibration unit and is used for outputting a constant voltage through a reference source to diagnose and calibrate the resistor to be diagnosed.

3. The photovoltaic inverter residual current test generating device with self-diagnosis function according to claim 2, characterized in that: The detector calibration unit includes a constant current output subunit, a constant current recording subunit and a detector calibration subunit, wherein: The constant current output subunit is used to output a first constant current value, a second constant current value and a third constant current value through the reference source; The constant current recording subunit is connected to the constant current output subunit, and is used to record several detection current values ​​of the current detector to be diagnosed at the first constant current value, the second constant current value and the third constant current value respectively within a preset time period; The detector calibration subunit is connected to the constant current recording subunit, and is used to draw the first change graph, the second change graph and the third change graph of the current detector to be diagnosed at the first constant current value, the second constant current value and the third constant current value respectively according to the plurality of detected current values, draw constant current straight lines in the first change graph, the second change graph and the third change graph respectively, observe the actual number of points distributed on both sides of the constant current straight line in the first change graph, the second change graph and the third change graph, and if the actual number is greater than the preset number, calibrate the current detector to be diagnosed.

4. The photovoltaic inverter residual current test generating device with self-diagnosis function according to claim 3 is characterized in that: The resistance calibration unit includes a resistance diagnosis subunit and a resistance calibration subunit, wherein: The resistor diagnosis subunit is used to photograph the outer surface of the resistor to be diagnosed by an image acquisition device, and to determine whether the resistor to be diagnosed is damaged by analyzing the photographed image. If not damaged, the resistance value of the resistor to be diagnosed in the branch to be diagnosed is detected by a resistance detector, and the detection result is compared with the standard resistance value. If the detection result is not equal to the standard resistance value, the resistor to be diagnosed is faulty. The resistance calibration subunit is used to detect, within a preset time period, a number of transmission currents of the resistor to be diagnosed at the first constant voltage value, the second constant voltage value and the third constant voltage value respectively through a calibrated current detector to be diagnosed, and to determine the actual value of the resistance in the branch to be diagnosed according to the number of transmission currents and the first constant voltage value, the second constant voltage value and the third constant voltage value respectively, and to compare the actual value of the resistance with the standard resistance value. When the actual value of the resistance is not equal to the standard resistance value, the resistor to be diagnosed is calibrated.

5. The photovoltaic inverter residual current test generating device with self-diagnosis function according to claim 4, characterized in that: The detection module includes an observation unit and a residual current analysis unit, wherein: The observation unit is used to observe whether the photovoltaic inverter alarms, and at the same time observe the residual current value detected by the calibrated current detector to be diagnosed; The residual current analysis unit is connected to the observation unit, and is used to analyze the change trend of the residual current within a preset time period when the photovoltaic inverter alarms and the residual current value is less than the detection threshold of the residual current of the photovoltaic inverter. If the change trend is different from the preset change trend, the branch to be diagnosed has a fault, and the fault is repaired for the branch to be diagnosed.