Method and device for determining number of parallel devices, inverter and medium
By receiving and matching the phase information of the inverter, the number of parallel devices is automatically determined, solving the flexibility and cost problems caused by manual dial switches in the existing technology, achieving accurate and flexible determination of the number of devices in the inverter system, and improving load balancing and output voltage stability.
Patent Information
- Application Number
- CN202410593893.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-08-23
AI Technical Summary
The determination of the number of devices in the existing inverter parallel system relies on manual dip switches, which results in inflexibility and increased hardware costs, affecting load balancing and output voltage stability.
By receiving the phase information of the target inverter, matching the current phase information, determining the data information of the inverter, and automatically determining the number of parallel devices based on this information, using the phase information to distinguish the inverters, and filtering out devices with inverter output. Count the number of devices connected in parallel.
It achieves accurate and automatic determination of the number of devices and parallel devices without adding additional hardware, which improves the flexibility and reliability of the system and reduces hardware and labor costs.
Smart Images

Figure CN118539775A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of inverters, and in particular to a method, a device, an inverter and a medium for determining the number of parallel devices. Background Art
[0002] Inverter parallel technology is a method of connecting multiple inverters together. Through parallel operation, the utilization rate and quality of electric energy can be effectively improved, and the performance and reliability of the system can be further improved. The accuracy of the number of devices online in the parallel system and how many can be put into the parallel system directly affects the load current sharing effect and the stability of the output voltage.
[0003] The prior art generally uses a manual dial switch to determine the number of devices, which not only increases the hardware cost, but also requires manual setting of the manual dial switch, which is inflexible. Summary of the invention
[0004] The present invention provides a method, a device, an inverter and a medium for determining the number of parallel devices, so as to realize automatic determination of the number of online devices and the number of parallel devices in an inverter system.
[0005] According to a first aspect of the present invention, a method for determining the number of parallel devices is provided, which is applied to an inverter and includes:
[0006] receiving phase information of a target inverter;
[0007] In response to the phase information matching the current phase information, determining first data information of a first inverter in the target inverter;
[0008] Based on the first data information, determining second data information of a second inverter having an inverter output in the first inverter;
[0009] The number of parallel devices in the inverter system is determined based on the second data information.
[0010] According to a second aspect of the present invention, there is provided a device for determining the number of parallel devices, which is applied to an inverter and includes:
[0011] An information receiving module, used for receiving phase information of a target inverter;
[0012] a first determining module, configured to determine first data information of a first inverter in the target inverter in response to the phase information matching the current phase information;
[0013] A second determining module, configured to determine, based on the first data information, second data information of a second inverter having an inverter output in the first inverter;
[0014] The third determination module is used to determine the number of parallel devices in the inverter system based on the second data information.
[0015] According to a third aspect of the present invention, there is provided an inverter, the inverter comprising:
[0016] at least one processor; and
[0017] a memory communicatively connected to the at least one processor; wherein,
[0018] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for determining the number of parallel devices described in any embodiment of the present invention.
[0019] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining the number of parallel devices described in any embodiment of the present invention when executed.
[0020] The technical solution of the embodiment of the present invention is applied to the inverter through the method, including: receiving the phase information of the target inverter; in response to the phase information matching the current phase information, determining the first data information of the first inverter in the target inverter; based on the first data information, determining the second data information of the second inverter with inverter output in the first inverter; and determining the number of parallel devices in the inverter system based on the second data information. The inverters are distinguished by the phase information, and based on the distinguished first data information of the first inverter, the second inverter with inverter output is determined and screened out, and the number of parallel devices is determined by the second data information of the second inverter. The accuracy of the determination of the number of devices and the number of parallel devices is guaranteed, and the determination can be achieved without adding additional hardware devices.
[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1is a flow chart of a method for determining the number of parallel devices provided according to Embodiment 1 of the present invention;
[0024] Figure 2 is a flow chart of a method for determining the number of parallel devices provided according to Embodiment 2 of the present invention;
[0025] Figure 3 is an example flow chart of a method for determining the number of parallel devices provided according to Embodiment 2 of the present invention;
[0026] Figure 4 is a schematic diagram of the structure of a device for determining the number of parallel devices provided according to Embodiment 3 of the present invention;
[0027] Figure 5 It is a schematic diagram of the structure of an inverter implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] Embodiment 1
[0031] Figure 1 A flowchart of a method for determining the number of parallel devices is provided for the first embodiment of the present invention. This embodiment is applicable to the determination of the number of devices in a parallel inverter system. The method can be executed by a device for determining the number of parallel devices. The device for determining the number of parallel devices can be implemented in the form of hardware and / or software. The device for determining the number of parallel devices can be configured in an inverter. Figure 1 As shown, the method includes:
[0032] S110: Receive phase information of a target inverter.
[0033] In this embodiment, the target inverter can be understood as other inverters in an inverter system with the local inverter, and the inverter system can be a parallel inverter system. The inverters in the parallel inverter system can be connected by bus, and the data of each inverter can be transmitted through the bus. Phase information can be understood as information used to characterize the corresponding phase of the target inverter itself, for example, it can be represented by a phase value, and the phase value is used to distinguish the numerical value of the phase corresponding to other inverters, and the phase of other inverters can be determined by this, for example, 01 corresponds to phase A.
[0034] Specifically, the inverter may receive the phase information sent by other target inverters in the inverter system through a bus or other means.
[0035] S120 . In response to the phase information matching the current phase information, determine first data information of a first inverter in the target inverter.
[0036] In this embodiment, the current phase information can be understood as the phase information corresponding to the phase of the local inverter. The first inverter can be understood as the target inverter in the same phase as the local inverter. The first data information can be understood as data information used to characterize the first inverter's own information and preliminary counting results.
[0037] Specifically, since many inverters can be connected in parallel in the parallel inverter system, the inverter can first determine the first inverter that is consistent with the current phase information of the local inverter based on the phase information of each target inverter, and poll and count each first inverter to determine the first data information of the first inverter.
[0038] S130. Determine, based on the first data information, second data information of a second inverter having an inverter output in the first inverter.
[0039] In this embodiment, the second inverter can be understood as the first inverter with inverter output. The second data information can be understood as data information used to characterize the inverter information with inverter output and the corrected counting result.
[0040] Specifically, the inverter may screen out the second inverter having an inverter output from the first inverter based on the first data information, and then correct the counting result in the first data information based on the number of the second inverters to obtain the second data information.
[0041] S140. Determine the number of parallel devices in the inverter system based on the second data information.
[0042] In this embodiment, the inverter system may be understood as a system including a plurality of inverters, and each inverter may be connected in series or in parallel. The number of parallel devices may be understood as the number of devices in parallel in the inverter system.
[0043] Specifically, in order to improve reliability, the inverter can record the result obtained from the second data information, and again determine the first inverter and poll to obtain the second data information of this polling, and compare the second data information obtained multiple times, and determine the number of parallel devices in the inverter system after repeated verification.
[0044] The technical solution of the embodiment of the present invention is applied to the inverter through the method, including: receiving the phase information of the target inverter; in response to the phase information matching the current phase information, determining the first data information of the first inverter in the target inverter; based on the first data information, determining the second data information of the second inverter with inverter output in the first inverter; and determining the number of parallel devices in the inverter system based on the second data information. The inverters are distinguished by the phase information, and based on the distinguished first data information of the first inverter, the second inverter with inverter output is determined and screened out, and the number of parallel devices is determined by the second data information of the second inverter. The accuracy of the determination of the number of devices and the number of parallel devices is guaranteed, and the determination can be achieved without adding additional hardware devices.
[0045] Embodiment 2
[0046] Figure 2 This is a flow chart of a method for determining the number of parallel devices provided in Embodiment 2 of the present invention. This embodiment is a further refinement of the above embodiment. Figure 2 As shown, the method includes:
[0047] S201. Receive phase information of a target inverter.
[0048] S202: In response to the phase information matching the current phase information, obtaining the determined historical number of online devices and the historical number of parallel devices.
[0049] In this embodiment, the historical number of online devices can be understood as the number of online devices determined by the last first inverter polled last time, and the first polling is 0. The historical number of parallel devices can be understood as the number of parallel devices determined by the last first inverter polled last time, and the first polling is 0.
[0050] Specifically, the number of online devices and the number of parallel devices obtained for each polling of the first inverter may be saved, for example, n pollings may be saved, etc. The inverter may obtain the determined historical number of online devices and the historical number of parallel devices in the corresponding storage medium.
[0051] S203: poll each first inverter in the target inverter, update the historical number of online devices and the historical number of parallel devices, and obtain the number of intermediate online devices and the number of parallel devices to be determined.
[0052] In this embodiment, the number of intermediate online devices can be understood as the number of inverter devices that are online in the local phase without being filtered. The number of parallel devices to be determined can be understood as the number of parallel devices that have not been corrected.
[0053] Specifically, the inverter can poll each first inverter when the phase of the first inverter is consistent with the local phase. Each polling updates the historical number of online devices and the historical number of parallel devices to obtain an intermediate number of online devices representing the number of online devices. Since it is not determined whether the first inverter is connected in parallel this time, the number of parallel devices to be determined to be corrected is obtained.
[0054] Further, based on the above embodiment, the historical number of online devices and the historical number of parallel devices may be updated, and the steps of obtaining the number of intermediate online devices and the number of parallel devices to be determined may be refined as follows:
[0055] If the historical number of online devices is greater than the preset maximum parallel number, the historical number of online devices and the historical number of parallel devices are cleared to obtain the initial number of online devices and the initial number of parallel devices; based on the number of the first inverter, the initial number of online devices and the initial number of parallel devices are respectively accumulated to obtain the intermediate number of online devices and the number of parallel devices to be determined; otherwise, based on the number of the first inverter, the historical number of online devices and the historical number of parallel devices are respectively accumulated to obtain the intermediate number of online devices and the number of parallel devices to be determined.
[0056] In this embodiment, the preset maximum parallel number can be understood as the maximum number of devices that can be connected, which is used to determine whether all devices have been polled. The initial number of online devices can be understood as the number of intermediate online devices after being reset to zero. The initial number of parallel devices can be understood as the number of intermediate parallel devices after being reset to zero.
[0057] Specifically, the inverter can compare the historical number of online devices with the preset maximum parallel number. When the historical number of online devices is greater than the preset maximum parallel number, it indicates that all devices have been polled, and the historical number of online devices and the historical number of parallel devices are cleared to obtain the initial number of online devices and the initial number of parallel devices. The inverter can add one to the initial number of online devices and the initial number of parallel devices, respectively, to obtain the intermediate number of online devices and the number of parallel devices to be determined, that is, the first time to restart polling. When the historical number of online devices is less than or equal to the preset maximum parallel number, it indicates that all devices have not been polled, and the inverter can add one to the historical number of online devices and the historical number of parallel devices, respectively, to obtain the intermediate number of online devices and the number of parallel devices to be determined.
[0058] S204: Use the device ID, the inverter state flag, the number of intermediate online devices, and the number of parallel devices to be determined of the first inverter as first data information of the first inverter.
[0059] In this embodiment, the device ID can be understood as a unique identifier for distinguishing different inverter devices. The inverter status flag can be understood as a flag indicating whether the first inverter has normal inverter output, which is used to determine the number of parallel devices that can participate in the parallel system, for example, 1 for yes and 0 for no.
[0060] Specifically, the inverter may use the device ID, the inverter state flag, the number of intermediate online devices, and the number of parallel devices to be determined of the first inverter polled this time as the first data information of the first inverter.
[0061] S205: If the number of intermediate online devices meets the first appearance condition, the device ID is recorded in the first device ID information.
[0062] In this embodiment, the first device ID information can be understood as the first device used to indicate the start of polling. The first occurrence condition can be understood as a condition for determining whether it is the first polling, for example, the number of intermediate devices can be 1.
[0063] Specifically, if the number of intermediate online devices meets the first appearance condition (whether it is 1), the inverter can record the device ID into the first device ID information.
[0064] S206: Taking the number of parallel devices to be determined as the number of historical parallel devices, taking the number of intermediate online devices as the number of historical online devices, and returning to the step of determining the first data information.
[0065] Specifically, when the first occurrence condition is met, the inverter may use the to-be-determined number of parallel devices as the historical number of parallel devices, the intermediate number of online devices as the historical number of online devices, and return to the step of determining the first data information.
[0066] S207. Otherwise, if the inverter state flag indicates that there is an inverter output, the number of parallel devices to be determined is used as the number of intermediate parallel devices.
[0067] In this embodiment, the number of intermediate parallel devices can be understood as the number of unfiltered inverter devices in parallel at the local phase. Since inverter failure may occur, the number of intermediate parallel devices can be less than or equal to the number of intermediate online devices.
[0068] Specifically, if the first occurrence condition is not met, the inverter can determine whether there is an inverter output through the inverter state flag bit, for example, if it is 1, there is an inverter output, and if it is 0, there is no inverter output. If there is an inverter output, it corresponds to that the second inverter can be connected in parallel, and the number of parallel devices to be determined is used as the number of intermediate parallel devices.
[0069] S208. Otherwise, the number of parallel devices to be determined is reduced by one to obtain the number of intermediate parallel devices.
[0070] Specifically, if the first occurrence condition is not met and the inverter state flag indicates that there is no inverter output, corresponding to the other inverters being unable to be connected in parallel, the number of parallel devices to be determined is reduced by one to obtain the number of intermediate parallel devices.
[0071] S209: Use the number of intermediate parallel devices and the number of intermediate online devices as second data information of the second inverter with inverter output.
[0072] Specifically, the inverter may use the number of intermediate parallel devices and the number of intermediate online devices as the second data information of the second inverter having inverter output.
[0073] S210: Obtain the first determined device ID information.
[0074] Specifically, since polling needs to record a start mark, the determined first device ID information can be saved in a storage medium, and the inverter can obtain the first device ID information from the storage medium.
[0075] S211: If the device ID of the second inverter is the same as the first device ID information, count the number of repetitions to obtain the number of device filtering times.
[0076] In this embodiment, the number of device filtering times can be understood as the number of times used to record the completion of a whole polling.
[0077] Specifically, the inverter may compare the device ID with the first device ID information. When the two are the same, a whole polling is completed. The inverter may count the number of repetitions to obtain the number of device filtering times.
[0078] S212. Otherwise, the number of intermediate online devices is used as the number of historical online devices, the number of intermediate parallel devices is used as the number of historical online devices, and the process returns to the first data information determination step.
[0079] Specifically, if the device ID is different from the first device ID information, it corresponds to that all first inverters have not been polled yet, then the number of intermediate online devices is taken as the number of historical online devices, the number of intermediate parallel devices is taken as the number of historical online devices, and the first data information determination step is returned to continue polling.
[0080] S213: Compare the device filtering times with a preset filtering times threshold to obtain a comparison result.
[0081] In this embodiment, the comparison result can be understood as a result used to characterize the relationship between the number of device filtering times and a preset filtering times threshold.
[0082] Specifically, the inverter may compare the device filtering times with a preset filtering times threshold, determine the magnitude relationship between the device filtering times and the preset filtering times threshold, and use the magnitude relationship as the comparison result.
[0083] S214. Determine the number of parallel devices in the inverter system according to the comparison result, the number of intermediate online devices, and the number of intermediate parallel devices.
[0084] Specifically, when the comparison result is that the number of device filtering times is less than the preset filtering times threshold, the number obtained at this time is inaccurate, and polling needs to be continued. If it is greater than or equal to, a secondary judgment is required through the number of intermediate online devices and the number of intermediate parallel devices to determine the final number of online devices and the final number of parallel devices under this phase.
[0085] Further, based on the above embodiment, the step of determining the number of parallel devices in the inverter system according to the comparison result, the number of intermediate online devices and the number of intermediate parallel devices can be refined as follows:
[0086] If the comparison result is less than, the number of intermediate online devices is taken as the number of historical online devices, the number of intermediate parallel devices is taken as the number of historical parallel devices, and the step of receiving the data ID information is returned; otherwise, the historical online device number set and the historical parallel device number set under the threshold of the continuous preset filtering times are obtained; if the number of intermediate online devices is consistent with the number in the historical online device number set and the number of intermediate parallel devices is consistent with the number in the historical parallel device number set, the number of intermediate online devices is taken as the final number of online devices in the local phase, and the number of intermediate parallel devices is taken as the final number of parallel devices; otherwise, the step of determining the first data information is returned.
[0087] In this embodiment, since new inverters are added or exited during the polling judgment process, the data may be obtained with a lag and cannot truly reflect the number of machines in the system in real time, a preset filtering time threshold can be set. The preset filtering time threshold can be understood as the number of repeated determinations set to ensure data reliability.
[0088] In this embodiment, the historical online device quantity set can be understood as including the historical online device quantity determined under the continuous preset filtering number threshold (such as 3). The historical parallel device quantity set can be understood as including the historical parallel device quantity determined under the continuous preset filtering number threshold (such as 3).
[0089] Specifically, if the comparison result is that the number of device filtering times is less than the preset filtering times threshold, the number at this time is inaccurate, and the inverter can use the number of intermediate online devices as the number of historical online devices, and the number of intermediate parallel devices as the number of historical parallel devices, and return to the step of receiving the data ID information. If the comparison result is that the number of device filtering times is greater than or equal to the preset filtering times threshold, the inverter can obtain the historical online device number set and the historical parallel device number set under the continuous preset filtering times threshold in the storage medium. If the number of intermediate online devices is consistent with the number in the historical online device number set and the number of intermediate parallel devices is consistent with the number in the historical parallel device number set, the number of intermediate online devices is used as the final number of online devices under the local phase, and the number of intermediate parallel devices is used as the final number of parallel devices; if they are inconsistent, the number is inaccurate, and the step of determining the first data information is returned.
[0090] The technical solution of the embodiment of the present invention can distinguish the number of online devices and the number of parallel devices in different phases through phase information, and obtain the number of online devices in the system by polling and reading the number of different devices in the system through the first data information transmitted by the bus, and then determine the second inverter with inverter output in combination with the inverter status flag, and judge the number of parallel devices that can be connected in parallel in the system. By counting the number of device filtering times and comparing it with the preset filtering number threshold, the reliability and accuracy of obtaining the number of devices in different states of the system are guaranteed, and the automatic determination of the number of devices is realized, so as to evenly distribute the active and reactive power of the subsequent parallel system. At the same time, the method is very flexible and can be determined without adding additional hardware equipment, saving hardware costs and labor costs.
[0091] For example, in order to facilitate understanding of the quantity determination step of the present invention, a specific example is used for illustration. Figure 3 This is an example flow chart of a method for determining the number of parallel devices provided in Embodiment 2 of the present invention, such as Figure 3 As shown, the steps may be:
[0092] S301, receiving phase information of a target inverter and performing polling;
[0093] S302: Determine whether the phase information is consistent with the current phase information. If yes, jump to step S303; if no, jump to step S301;
[0094] S303, the number of historical online devices OnlineNum> the preset maximum parallel number Max? If yes, jump to step S304, if no, jump to step S305;
[0095] S304, set OnlineNum=0, set ParalNum=0;
[0096] S305, OnlineNum increases by 1, ParalNum increases by 1;
[0097] S306, OnlineNum=1? If yes, jump to step S307, if no, jump to step S308;
[0098] S307, using the device ID as the first device ID FristDeviceID;
[0099] S308, Inversion state flag bit EallowParalFlag = 0? If yes, jump to step S309, if no, jump to step S310;
[0100] S309,ParalNum is reduced by 1;
[0101] S310, DeviceID=FristDeviceID? If yes, jump to step S311, if no, jump to step S301;
[0102] S311, the device filtering times DeviceFiltCnt increases by 1;
[0103] S312, DeviceFiltCnt<3 (preset filtering times threshold)? If yes, jump to step S313, if no, jump to step S314;
[0104] S313, record OnlineNum and ParalNum;
[0105] S314, OnlineNum = three historical OnlineNums in the OnlineNum set and ParalNum = three historical ParalNums in the ParalNum set? If yes, jump to step S315, if no, jump to step S301;
[0106] S315. Get the final OnlineNum and final ParalNum.
[0107] Embodiment 3
[0108] Figure 4 This is a schematic diagram of a structure of a device for determining the number of parallel devices provided in Embodiment 3 of the present invention. Figure 4 As shown, the device comprises:
[0109] An information receiving module 41, used to receive phase information of a target inverter;
[0110] A first determination module 42, configured to determine first data information of a first inverter in the target inverter in response to the phase information matching the current phase information;
[0111] A second determining module 43 is used to determine, based on the first data information, second data information of a second inverter having an inverter output in the first inverter;
[0112] The third determination module 44 is configured to determine the number of parallel devices in the inverter system based on the second data information.
[0113] The technical solution of the embodiment of the present invention is applied to the inverter through the method, including: receiving the phase information of the target inverter; in response to the phase information matching the current phase information, determining the first data information of the first inverter in the target inverter; based on the first data information, determining the second data information of the second inverter with inverter output in the first inverter; and determining the number of parallel devices in the inverter system based on the second data information. The inverters are distinguished by the phase information, and based on the distinguished first data information of the first inverter, the second inverter with inverter output is determined and screened out, and the number of parallel devices is determined by the second data information of the second inverter. The accuracy of the determination of the number of devices and the number of parallel devices is guaranteed, and the determination can be achieved without adding additional hardware devices.
[0114] Further, the first determining module 42 includes:
[0115] A quantity acquisition unit, used to acquire the determined historical online device quantity and historical parallel device quantity;
[0116] A quantity determination unit, configured to poll each first inverter in the target inverter, update the historical number of online devices and the historical number of parallel devices, and obtain the number of intermediate online devices and the number of parallel devices to be determined;
[0117] An information determination unit is used to use the device ID, the inverter state flag, the number of intermediate online devices and the number of parallel devices to be determined of the first inverter as the first data information of the first inverter.
[0118] Furthermore, the quantity determination unit is specifically used for:
[0119] If the historical number of online devices is greater than the preset maximum number of parallel devices, the historical number of online devices and the historical number of parallel devices are reset to zero to obtain the initial number of online devices and the initial number of parallel devices;
[0120] Based on the number of first inverters, the initial number of online devices and the initial number of parallel devices are respectively accumulated to obtain the number of intermediate online devices and the number of parallel devices to be determined;
[0121] Otherwise, the historical number of online devices and the historical number of parallel devices are accumulated based on the number of the first inverters to obtain the number of intermediate online devices and the number of parallel devices to be determined.
[0122] Furthermore, the first data information includes a device ID, an inverter state flag, the number of intermediate online devices, and the number of parallel devices to be determined. Accordingly, the second determination module 43 is specifically used for:
[0123] If the number of intermediate online devices meets the first appearance condition, the device ID is recorded in the first device ID information;
[0124] Taking the to-be-determined number of parallel devices as the historical number of parallel devices, taking the intermediate number of online devices as the historical number of online devices and returning to the step of determining the first data information;
[0125] Otherwise, if the inverter state flag bit indicates that there is an inverter output, the number of parallel devices to be determined is used as the number of intermediate parallel devices;
[0126] Otherwise, subtract one from the number of parallel devices to be determined to obtain the number of intermediate parallel devices;
[0127] The number of the intermediate parallel devices and the number of the intermediate online devices are used as second data information of the second inverter having an inverter output.
[0128] Further, the second data information includes the number of intermediate parallel devices and the number of intermediate online devices. Accordingly, the third determination module 44 includes:
[0129] An information acquisition unit, used to acquire the first determined device ID information;
[0130] A first determining unit, configured to count the number of repetitions to obtain the number of device filtering times if the device ID of the second inverter is the same as the first device ID information;
[0131] A second determining unit, configured to otherwise use the number of intermediate online devices as the number of historical online devices, use the number of intermediate parallel devices as the number of historical online devices, and return to the determination step of the first data information;
[0132] A third determination unit is used to compare the device filtering times with a preset filtering times threshold to obtain a comparison result;
[0133] The fourth determining unit is used to determine the number of parallel devices in the inverter system according to the comparison result, the number of the intermediate online devices and the number of the intermediate parallel devices.
[0134] The fourth determining unit is specifically used for:
[0135] If the comparison result is less than, the intermediate online device number is used as the historical online device number, the intermediate parallel device number is used as the historical parallel device number, and the step of determining the first data information is returned; otherwise,
[0136] Obtain a historical online device quantity set and a historical parallel device quantity set under the preset filtering number threshold continuously;
[0137] If the number of intermediate online devices is consistent with the number in the historical online device number set and the number of intermediate parallel devices is consistent with the number in the historical parallel device number set, the number of intermediate online devices is used as the number of online devices in the inverter system, and the number of intermediate parallel devices is used as the number of parallel devices in the inverter system;
[0138] Otherwise, return to the step of determining the first data information.
[0139] The apparatus for determining the number of parallel devices provided in the embodiment of the present invention can execute the method for determining the number of parallel devices provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0140] Embodiment 4
[0141] Figure 5A schematic diagram of the structure of an inverter 50 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0142] like Figure 5 As shown, the inverter 50 includes at least one processor 51, and a memory connected to the at least one processor 51, such as a read-only memory (ROM) 52, a random access memory (RAM) 53, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 51 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 52 or the computer program loaded from the storage unit 58 to the random access memory (RAM) 53. In the RAM 53, various programs and data required for the operation of the inverter 50 can also be stored. The processor 51, the ROM 52, and the RAM 53 are connected to each other through a bus 54. An input / output (I / O) interface 55 is also connected to the bus 54.
[0143] Multiple components in the inverter 50 are connected to the I / O interface 55, including: an input unit 56, such as a keyboard, a mouse, etc.; an output unit 57, such as various types of displays, speakers, etc.; a storage unit 58, such as a disk, an optical disk, etc.; and a communication unit 59, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 59 allows the inverter 50 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0144] The processor 51 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 51 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 51 executes the various methods and processes described above, such as a method for determining the number of parallel devices.
[0145] In some embodiments, the method for determining the number of parallel devices may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 58. In some embodiments, part or all of the computer program may be loaded and / or installed on the inverter 50 via the ROM 52 and / or the communication unit 59. When the computer program is loaded into the RAM 53 and executed by the processor 51, one or more steps of the method for determining the number of parallel devices described above may be performed. Alternatively, in other embodiments, the processor 51 may be configured to execute the method for determining the number of parallel devices in any other appropriate manner (e.g., by means of firmware).
[0146] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0147] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0148] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0149] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0150] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0151] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0152] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0153] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for determining the number of parallel devices, characterized in that: Applied to inverters, including: receiving phase information of a target inverter; In response to the phase information matching the current phase information, determining first data information of a first inverter in the target inverter; Based on the first data information, determining second data information of a second inverter having an inverter output in the first inverter; The number of parallel devices in the inverter system is determined based on the second data information.
2. The method according to claim 1, characterized in that: The determining of first data information of a first inverter in the target inverter includes: Obtain the confirmed historical number of online devices and historical number of parallel devices; Polling each first inverter in the target inverter, updating the historical number of online devices and the historical number of parallel devices, and obtaining the number of intermediate online devices and the number of parallel devices to be determined; The device ID, the inverter state flag, the number of intermediate online devices and the number of parallel devices to be determined of the first inverter are used as the first data information of the first inverter.
3. The method according to claim 2, characterized in that The updating of the historical number of online devices and the historical number of parallel devices to obtain the number of intermediate online devices and the number of parallel devices to be determined includes: If the historical number of online devices is greater than the preset maximum number of parallel devices, the historical number of online devices and the historical number of parallel devices are reset to zero to obtain the initial number of online devices and the initial number of parallel devices; Based on the number of first inverters, the initial number of online devices and the initial number of parallel devices are respectively accumulated to obtain the number of intermediate online devices and the number of parallel devices to be determined; Otherwise, the historical number of online devices and the historical number of parallel devices are accumulated based on the number of the first inverters to obtain the number of intermediate online devices and the number of parallel devices to be determined.
4. The method according to claim 1, characterized in that: The first data information includes a device ID, an inverter state flag, the number of intermediate online devices, and the number of parallel devices to be determined. The second data information of the second inverter having an inverter output in the first inverter is determined based on the first data information, including: If the number of intermediate online devices meets the first appearance condition, the device ID is recorded in the first device ID information; Taking the to-be-determined number of parallel devices as the historical number of parallel devices, taking the intermediate number of online devices as the historical number of online devices and returning to the step of determining the first data information; Otherwise, if the inverter state flag bit indicates that there is an inverter output, the number of parallel devices to be determined is used as the number of intermediate parallel devices; Otherwise, subtract one from the number of parallel devices to be determined to obtain the number of intermediate parallel devices; The number of the intermediate parallel devices and the number of the intermediate online devices are used as second data information of the second inverter having an inverter output.
5. The method according to claim 1, characterized in that The second data information includes the number of intermediate parallel devices and the number of intermediate online devices, and determining the number of parallel devices in the inverter system based on the second data information includes: Get the first device ID information that has been determined; If the device ID of the second inverter is the same as the first device ID information, the number of repetitions is counted to obtain the number of device filtering times; Otherwise, the number of intermediate online devices is used as the number of historical online devices, the number of intermediate parallel devices is used as the number of historical online devices, and the process returns to the step of determining the first data information; Compare the device filtering times with a preset filtering times threshold to obtain a comparison result; The number of parallel devices in the inverter system is determined according to the comparison result, the number of the intermediate online devices and the number of the intermediate parallel devices.
6. The method according to claim 5, characterized in that Determining the number of parallel devices in the inverter system according to the comparison result, the number of intermediate online devices and the number of intermediate parallel devices includes: If the comparison result is less than, the intermediate online device number is used as the historical online device number, the intermediate parallel device number is used as the historical parallel device number, and the step of determining the first data information is returned; otherwise, Obtain a historical online device quantity set and a historical parallel device quantity set under the preset filtering number threshold continuously; If the number of intermediate online devices is consistent with the number in the historical online device number set and the number of intermediate parallel devices is consistent with the number in the historical parallel device number set, the number of intermediate online devices is used as the number of online devices in the inverter system, and the number of intermediate parallel devices is used as the number of parallel devices in the inverter system; Otherwise, return to the step of determining the first data information.
7. A device for determining the number of parallel devices, characterized in that: Applied to inverters, including: An information receiving module, used for receiving phase information of a target inverter; a first determining module, configured to determine first data information of a first inverter in the target inverter in response to the phase information matching the current phase information; A second determining module, configured to determine, based on the first data information, second data information of a second inverter having an inverter output in the first inverter; The third determination module is used to determine the number of parallel devices in the inverter system based on the second data information.
8. The device according to claim 7, characterized in that The first determining module comprises: A quantity acquisition unit, used to acquire the determined historical online device quantity and historical parallel device quantity; A quantity determination unit, configured to poll each first inverter in the target inverter, update the historical number of online devices and the historical number of parallel devices, and obtain the number of intermediate online devices and the number of parallel devices to be determined; An information determination unit is used to use the device ID, the inverter state flag, the number of intermediate online devices and the number of parallel devices to be determined of the first inverter as the first data information of the first inverter.
9. An inverter, characterized in that: The inverter comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the method for determining the number of parallel devices according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining the number of parallel devices according to any one of claims 1 to 6 when executed.
