Inverter automatic timing method, medium and system
Through the collaborative work of the collector and cloud platform, the standard time of the inverter is automatically calculated and calibrated, which solves the time error of the inverter when migrating the time zone and the cumbersome problems during manual calibration, and achieves the accuracy and convenience of the inverter time.
Patent Information
- Application Number
- CN202510441967.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-09
- Publication Date
- 2025-07-08
AI Technical Summary
Existing inverters have problems of error and cumbersome operation during time calibration, especially when migrating to different time zones, it is easy to cause time deviations and errors are prone to occur during manual calibration.
The inverter operation status information is obtained through the collector, uploaded to the cloud platform for analysis, and calculated the inverter standard time based on the cloud platform's time zone information and the system's current time, and automatically calibrated the time.
The accuracy of inverter time and convenience of calibration are achieved, and errors and cumbersome processes of manual operation are avoided.
Smart Images

Figure CN120276230A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of inverter control, and particularly to an automatic time calibration method, medium and system for an inverter. Background Art
[0002] An inverter is a converter that can convert direct current electrical energy (batteries, accumulators) into fixed-frequency and fixed-voltage or frequency-modulated and voltage-regulated alternating current (generally 220V, 50Hz sine wave).
[0003] In related technologies, when calibrating the time of an inverter, it is mostly through factory time setting or manual time calibration; that is, when the inverter leaves the factory, the time of the inverter is set according to the standard time zone, and when the time needs to be calibrated, the technician manually calibrates the time during installation. It can be understood that through the factory time setting method, when the inverter is moved to different time zones, time deviation will occur; while through the manual time calibration method, the operation is cumbersome and the time is easily inaccurate due to human error or omission. Summary of the Invention
[0004] The technical problem to be solved by the present invention is: to provide an automatic time calibration method, medium and system for an inverter, which can automatically calibrate the time of the inverter to ensure the accuracy of the inverter time; at the same time, improve the convenience of inverter time calibration.
[0005] To solve the above technical problem, the first technical solution adopted by the present invention is:
[0006] An automatic time calibration method for an inverter, comprising the following steps: a collector acquires the operating state information of the inverter, and packs the operating state information into a reported data and sends it to a cloud platform; the cloud platform acquires the current inverter time based on the reported data, and parses the IP address corresponding to the reported data to obtain the time zone information of the collector; acquires the cloud platform time zone information and the current system time; calculates the standard time of the inverter according to the time zone information of the collector, the cloud platform time zone information and the current system time; determines whether the inverter needs to be time-calibrated according to the current inverter time and the standard time of the inverter, and when the judgment result is yes, calibrates the inverter according to the standard time of the inverter.
[0007] In some embodiments, before the cloud platform acquires the current inverter time based on the reported data, it further includes: judging whether the collector is reporting for the first time according to the reported data; if not, directly parsing the reported data to obtain the operating state information of the inverter.
[0008] In some embodiments, if it is determined according to the reported data that the collector is reporting for the first time, the reported data is parsed to obtain the collector serial number and the inverter serial number; it is determined whether the collector and the inverter are in a bound relationship according to the collector serial number and the inverter serial number; if so, the reported data is directly parsed to obtain the inverter operating status information.
[0009] In some embodiments, if the collector and the inverter are not in a bound relationship, the bound relationship between the collector and the original inverter is deleted, and the bound relationship between the collector and this inverter is established.
[0010] In some embodiments, determining whether the inverter needs to be time-calibrated according to the current inverter time and the inverter standard time includes: calculating the difference between the current inverter time and the inverter standard time; determining whether the difference is less than a preset difference threshold; if so, it is considered that the inverter does not need to be time-calibrated.
[0011] In some embodiments, after time-calibrating the inverter according to the inverter standard time, it further includes: determining whether the time-calibration operation is successful; if not, determining whether the current failure count is greater than or equal to a preset count threshold; if the current failure count is less than the preset count threshold, increment the historical failure count by 1 and perform the time-calibration operation again; if the current failure count is greater than or equal to the preset count threshold, generate a time-calibration failure message and send the time-calibration failure message to relevant personnel.
[0012] The second technical solution provided by the present invention is:
[0013] A computer-readable storage medium, on which an inverter automatic time-calibration program is stored, and when the inverter automatic time-calibration program is executed by a processor, the inverter automatic time-calibration method as described above is implemented.
[0014] The third technical solution provided by the present invention is:
[0015] An inverter automatic time-calibration system, including: a collector, the collector is used to obtain the inverter operating status information and package the operating status information into reported data and send it to the cloud platform; a cloud platform, the cloud platform is used to obtain the current inverter time based on the reported data and parse the IP address corresponding to the reported data to obtain the time zone information of the collector; the cloud platform is further used to calculate the inverter standard time according to the time zone information of the collector, the time zone information of the cloud platform and the current system time; the cloud platform is further used to determine whether the inverter needs to be time-calibrated according to the current inverter time and the inverter standard time, and when the judgment result is yes, time-calibrate the inverter according to the inverter standard time.
[0016] In some embodiments, the system further includes a judgment module, which is configured to judge whether the collector is reporting for the first time according to the reported data, and directly parse the reported data to obtain the inverter operation status information when the judgment result is negative.
[0017] In some embodiments, the judgment module is further configured to parse the reported data to obtain the collector serial number and the inverter serial number when judging that the collector is reporting for the first time according to the reported data; the judgment module is further configured to judge whether the collector and the inverter are in a bound relationship according to the collector serial number and the inverter serial number, and directly parse the reported data to obtain the inverter operation status information when the judgment result is positive.
[0018] The beneficial effects of the present invention are as follows: for the inverter automatic time calibration method provided by the present invention, first, the collector obtains the inverter operation status information and packs the operation status information into reported data and sends it to the cloud platform; then, the cloud platform obtains the current inverter time based on the reported data and parses the IP address corresponding to the reported data to obtain the time zone information of the collector; then, obtain the cloud platform time zone information and the current system time; then, calculate the inverter standard time according to the time zone information of the collector, the cloud platform time zone information and the current system time; then, judge whether the inverter needs to be time-calibrated according to the current inverter time and the inverter standard time, and when the judgment result is positive, time-calibrate the inverter according to the inverter standard time; thereby realizing automatic time calibration of the inverter, ensuring the accuracy of the inverter time, and at the same time, improving the convenience of inverter time calibration. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a schematic flowchart of an inverter automatic time calibration method provided by an embodiment of the present invention;
[0020] Figure 2 It is a schematic flowchart of an inverter automatic time calibration method provided by another embodiment of the present invention;
[0021] Figure 3 It is a schematic block diagram of an inverter automatic time calibration system provided by another embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0022] The embodiments of the present invention will be described in detail below. The examples of the embodiments are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the drawings are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.
[0023] The automatic time calibration method of the inverter according to the embodiments of the present invention will be described below with reference to the accompanying drawings.
[0024] Please refer to Figure 1 , Figure 1 which is a schematic flowchart of the automatic time calibration method of the inverter according to the embodiments of the present invention. As shown in Figure 1 , the automatic time calibration method of the inverter includes the following steps:
[0025] S101, the collector acquires the operating state information of the inverter, and packs the operating state information into reporting data and sends it to the cloud platform.
[0026] As an example, first, the collector periodically acquires the operating state information of the inverter (such as power generation amount, real-time operating state, etc.), and packs the acquired information into reporting data and uploads it to the cloud platform.
[0027] S102, the cloud platform obtains the current inverter time based on the reporting data, and parses the IP address corresponding to the reporting data to obtain the time zone information of the collector.
[0028] In some embodiments, before the cloud platform obtains the current inverter time based on the reporting data, it further includes: judging whether the collector is reporting for the first time according to the reporting data; if not, directly parsing the reporting data to obtain the operating state information of the inverter.
[0029] That is to say, in order to reduce the computing power consumed for calibrating the inverter and avoid calibrating the time every time the reporting data sent by the collector is received. First, when the reporting data is received, the reporting data is parsed to judge whether the collector is reporting for the first time currently; if not, it means that the inverter does not need to be calibrated currently, and the reporting data is directly parsed to obtain the operating state information of the inverter, and then the process ends without calibrating the time.
[0030] It should be noted that when the installer changes the installation method of the collector and connects the collector to other inverters, the first report after the reconnection is the first report.
[0031] In some embodiments, if it is judged according to the reporting data that the collector is reporting for the first time, the reporting data is parsed to obtain the collector serial number and the inverter serial number; it is judged whether the collector and the inverter are in a bound relationship according to the collector serial number and the inverter serial number; if so, the reporting data is directly parsed to obtain the operating state information of the inverter.
[0032] In some embodiments, if the collector and the inverter are not in a bound relationship, the bound relationship between the collector and the original inverter is deleted, and the bound relationship between the collector and this inverter is established.
[0033] That is, to further prevent the inability to automatically calibrate the time due to a change in the connection method between the collector and the inverter; after determining that the current report is the first report, the reported data is parsed to obtain the collector serial number and the inverter serial number; and the relevant database is queried based on the collector serial number and the inverter serial number to determine whether the current collector and the inverter are in a bound relationship; if so, it means that the inverter does not need to be calibrated at present, and the reported data is directly parsed to obtain the inverter operation status information and then the process ends; if not, the binding relationship between the collector and the original inverter is deleted, and the binding relationship between the collector and this inverter is established. Then, the inverter is automatically calibrated.
[0034] S103, obtain the cloud platform time zone information and the current system time.
[0035] S104, calculate the inverter standard time based on the collector time zone information, the cloud platform time zone information, and the current system time.
[0036] As an example, first, the cloud platform obtains the current inverter time based on the reported data, parses the IP address in the collector request, and parses the current region where the collector is located according to the parsed IP address; then, the collector time zone information is obtained by converting according to the current region information of the collector. Then, obtain the time zone where the cloud platform is located and the current system time; then, the standard time of the time zone where the inverter is currently located can be calculated based on the collector time zone information, the time zone where the cloud platform is located, and the current system time, and this time is used as the inverter standard time.
[0037] S105, determine whether the inverter needs to be calibrated based on the current inverter time and the inverter standard time, and when the judgment result is yes, calibrate the inverter according to the inverter standard time.
[0038] In some embodiments, determining whether the inverter needs to be calibrated based on the current inverter time and the inverter standard time includes: calculating the difference between the current inverter time and the inverter standard time; determining whether the difference is less than a preset difference threshold; if so, it is considered that the inverter does not need to be calibrated.
[0039] As an example, first, calculate the difference between the current inverter time and the inverter standard time; then, determine whether the difference is less than 5S; if so, it is considered that the inverter does not need to be calibrated, and the current calibration process ends; if not, calibrate the inverter according to the inverter standard time.
[0040] In some embodiments, after calibrating the inverter according to the inverter standard time, the following steps are further included: determining whether the calibration operation is successful; if not, determining whether the current number of failure times is greater than or equal to a preset number threshold; if the current number of failure times is less than the preset number threshold, incrementing the historical number of failure times by 1 and performing the calibration operation again; if the current number of failure times is greater than or equal to the preset number threshold, generating a calibration failure message and sending the calibration failure message to relevant personnel.
[0041] As an example, after determining that the inverter needs to be calibrated, a calibration instruction is issued; if the calibration is successful, the calibration mark in the inverter file is modified to "calibrated" and the current reported data is discarded; if the calibration fails or times out, it is determined whether the current number of failure times exceeds 3; if it does not exceed, the number of failure times is incremented by 1 and the calibration instruction is issued again; if it exceeds, a calibration failure warning message is generated and the calibration failure warning message is sent to the platform operation and maintenance personnel by email.
[0042] As a specific embodiment of the present invention, as Figure 2 shown, the inverter automatic calibration method provided by the present invention includes the following steps:
[0043] S201, the collector acquires the inverter operation status information and packs the operation status information into reported data and sends it to the cloud platform.
[0044] S202, determining whether the collector is reporting for the first time according to the reported data; if so, executing step S205; if not, executing step S203.
[0045] S203, directly parsing the reported data to obtain the inverter operation status information.
[0046] S204, storing the inverter operation status information and ending the process.
[0047] S205, parsing the reported data to obtain the collector serial number and the inverter serial number.
[0048] S206, determining whether the collector and the inverter are in a bound relationship according to the collector serial number and the inverter serial number; if so, executing step S203; if not, executing step S207.
[0049] S207, deleting the binding relationship between the collector and the original inverter and establishing a binding relationship between the collector and the inverter.
[0050] S208, the cloud platform obtains the current inverter time based on the reported data and parses the IP address corresponding to the reported data to obtain the time zone information of the collector.
[0051] S209, Obtain the time zone information of the cloud platform and the current system time.
[0052] S210, Calculate the standard time of the inverter based on the time zone information of the collector, the time zone information of the cloud platform, and the current system time.
[0053] S211, Calculate the difference between the current inverter time and the standard time of the inverter.
[0054] S212, Determine whether the difference is less than the preset difference threshold; if yes, execute step S203; if no, execute step S213.
[0055] S213, Send a time calibration instruction.
[0056] S214, Obtain the time calibration feedback information.
[0057] S215, Determine whether the time calibration operation is successful according to the time calibration feedback information; if yes, execute step S216; if no, execute step S217.
[0058] S216, End the time calibration process.
[0059] S217, Determine whether the number of failure times is greater than the preset number threshold; if no, execute step S218; if yes, execute step S219.
[0060] S218, Increment the number of failure times by 1 and return to step S213.
[0061] S219, Generate a time calibration failure message and send the time calibration failure message to relevant personnel.
[0062] In summary, according to the inverter automatic time calibration method of the embodiments of the present invention, first, the collector obtains the operating state information of the inverter and packs the operating state information into reported data and sends it to the cloud platform; then, the cloud platform obtains the current inverter time based on the reported data and resolves the IP address corresponding to the reported data to obtain the time zone information of the collector; then, obtain the time zone information of the cloud platform and the current system time; then, calculate the standard time of the inverter according to the time zone information of the collector, the time zone information of the cloud platform, and the current system time; then, determine whether the inverter needs to be time-calibrated according to the current inverter time and the standard time of the inverter, and when the judgment result is yes, time-calibrate the inverter according to the standard time of the inverter; thereby realizing automatic time calibration of the inverter, ensuring the accuracy of the inverter time, and at the same time, improving the convenience of inverter time calibration.
[0063] An embodiment of the present invention also provides a computer-readable storage medium, on which an inverter automatic time calibration program is stored. When the inverter automatic time calibration program is executed by a processor, the inverter automatic time calibration method described above is implemented.
[0064] An embodiment of the present invention also provides an inverter automatic time calibration system, as Figure 3 shown. The inverter automatic time calibration system includes a collector 10 and a cloud platform 20.
[0065] Among them, the collector 10 is used to obtain the inverter operation status information and package the operation status information into reported data and send it to the cloud platform;
[0066] The cloud platform 20 is used to obtain the current inverter time based on the reported data and parse the IP address corresponding to the reported data to obtain the time zone information of the collector;
[0067] The cloud platform 20 is also used to calculate the inverter standard time according to the time zone information of the collector, the time zone information of the cloud platform, and the current system time;
[0068] The cloud platform 20 is also used to determine whether the inverter needs to be time-calibrated according to the current inverter time and the inverter standard time, and when the judgment result is yes, calibrate the inverter according to the inverter standard time.
[0069] In some embodiments, the system further includes a judgment module (not shown in the figure). The judgment module is used to judge whether the collector is reporting for the first time according to the reported data, and when the judgment result is no, directly parse the reported data to obtain the inverter operation status information.
[0070] In some embodiments, the judgment module is also used to parse the reported data to obtain the collector serial number and the inverter serial number when judging that the collector is reporting for the first time according to the reported data; the judgment module is also used to judge whether the collector and the inverter are in a binding relationship according to the collector serial number and the inverter serial number, and when the judgment result is yes, directly parse the reported data to obtain the inverter operation status information.
[0071] It should be noted that the above description of the inverter automatic time calibration method also applies to this inverter automatic time calibration system and will not be elaborated here.
[0072] It should be noted that the logic and / or steps represented in the flowchart or described in other ways herein, for example, can be considered as a definite sequence list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or in combination with these instruction execution systems, apparatuses, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in combination with an instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of the computer-readable medium include the following: an electrical connection part with one or more wirings (electronic device), a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or other suitable processing as necessary, and then stored in a computer memory.
[0073] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
[0074] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.
[0075] In the description of the present invention, it should be understood that the orientation or positional relationship indicated by the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention.
[0076] In addition, the terms "first" and "second" are only used for descriptive purposes and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise specifically and clearly defined.
[0077] In the present invention, unless otherwise clearly specified and defined, the terms "mounted", "connected", "coupled", "fixed", etc. should be construed in a broad sense. For example, it may be a fixed connection, a detachable connection, or integrated; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the internal communication of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0078] In the present invention, unless otherwise clearly specified and defined, the first feature being "on" or "under" the second feature may be that the first and second features are in direct contact, or the first and second features are indirectly in contact through an intermediate medium. Moreover, the first feature being "above", "over" and "on top of" the second feature may be that the first feature is directly above or obliquely above the second feature, or merely indicates that the first feature has a higher horizontal height than the second feature. The first feature being "under", "beneath" and "underneath" the second feature may be that the first feature is directly below or obliquely below the second feature, or merely indicates that the first feature has a lower horizontal height than the second feature.
[0079] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as a limitation of the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. An automatic time calibration method for an inverter, characterized in that, Including the following steps: The collector acquires the operating status information of the inverter, and packs the operating status information into reported data and sends it to the cloud platform; The cloud platform obtains the current inverter time based on the reported data, and resolves the IP address corresponding to the reported data to obtain the time zone information of the collector; Obtain the cloud platform time zone information and the current system time; Calculate the standard inverter time according to the time zone information of the collector, the cloud platform time zone information, and the current system time; Judge whether the inverter needs to be calibrated according to the current inverter time and the standard inverter time, and when the judgment result is yes, calibrate the inverter according to the standard inverter time.
2. The automatic time calibration method of the inverter according to claim 1, characterized in that, Before the cloud platform obtains the current inverter time based on the reported data, it further includes: Judge whether the collector is reporting for the first time according to the reported data; If not, directly parse the reported data to obtain the operating status information of the inverter.
3. The inverter automatic time calibration method according to claim 2, characterized in that, If it is judged that the collector is reporting for the first time according to the reported data, parse the reported data to obtain the collector serial number and the inverter serial number; Judge whether the collector and the inverter are in a binding relationship according to the collector serial number and the inverter serial number; If so, directly parse the reported data to obtain the operating status information of the inverter.
4. The inverter automatic time calibration method according to claim 3, wherein, If the collector and the inverter are not in a binding relationship, delete the binding relationship between the collector and the original inverter, and establish the binding relationship between the collector and this inverter.
5. The inverter automatic time calibration method according to claim 1, characterized in that, Judging whether the inverter needs to be calibrated according to the current inverter time and the standard inverter time includes: Calculate the difference between the current inverter time and the standard inverter time; Judge whether the difference is less than a preset difference threshold; If so, it is considered that the inverter does not need to be calibrated.
6. The inverter automatic time calibration method according to claim 1, characterized in that, After calibrating the inverter according to the standard inverter time, it further includes: Judge whether the calibration operation is successful; If not, judge whether the current failure times are greater than or equal to a preset number threshold; If the current failure times are less than the preset number threshold, increment the historical failure times by 1 and perform the calibration operation again; If the current failure times are greater than or equal to the preset number threshold, generate a calibration failure message and send the calibration failure message to relevant personnel.
7. A computer-readable storage medium, characterized in that, Stored thereon is an inverter automatic calibration program, and when the inverter automatic calibration program is executed by a processor, it implements the inverter automatic calibration method according to any one of claims 1-6.
8. An inverter automatic time calibration system, characterized in that, Including: A collector, which is used to acquire the operating status information of the inverter, and pack the operating status information into reported data and send it to the cloud platform; A cloud platform, which is used to obtain the current inverter time based on the reported data, and resolve the IP address corresponding to the reported data to obtain the time zone information of the collector; The cloud platform is further used to calculate the standard inverter time according to the time zone information of the collector, the cloud platform time zone information, and the current system time; The cloud platform is also used to determine whether the inverter needs to be time-calibrated according to the current inverter time and the inverter standard time, and when the judgment result is yes, calibrate the inverter according to the inverter standard time.
9. The inverter automatic time calibration system according to claim 8, wherein, It further includes a judgment module, which is used to judge whether the collector is reporting for the first time according to the reported data, and when the judgment result is no, directly analyze the reported data to obtain the inverter operation status information.
10. The inverter automatic time calibration system according to claim 9, wherein, The judgment module is also used to analyze the reported data to obtain the collector serial number and the inverter serial number when judging that the collector is reporting for the first time according to the reported data; The judgment module is also used to judge whether the collector and the inverter are in a bound relationship according to the collector serial number and the inverter serial number, and when the judgment result is yes, directly analyze the reported data to obtain the inverter operation status information.