Frequency converter station number determination method, device and equipment based on frequency converter keyboard

Through the inverter keyboard communication and connection with all inverters, a random delay time is generated to determine the inverter site number, which solves the problems of low efficiency and high cost of inverter keyboard allocation, and realizes efficient and low-cost inverter site number determination.

CN120498230APending Publication Date: 2025-08-15SHENZHEN INVT ELECTRIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510693330.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-27
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

In the prior art, the provisioning efficiency of the inverter keyboard is low and the cost is high, resulting in an increase in on-site provisioning time and the waste of multiple inverter keyboards.

Method used

Communication and connection with all inverters through the inverter keyboard, receive the handshake data frames sent by the main inverter, generate a random delay time, determine the target corresponding to the minimum delay time, send the slave inverter, and send the slave station number to the main inverter through a communication connection method to the inverter keyboard, and automatically determine the inverter site number.

Benefits of technology

It improves the allocation efficiency, reduces the number of inverter keyboards, simplifies operation difficulty, and reduces the cost of inverter keyboards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120498230A_ABST
    Figure CN120498230A_ABST
Patent Text Reader

Abstract

The invention discloses a frequency converter station number determination method, device and equipment based on a frequency converter keyboard, and relates to the technical field of frequency converter control. The frequency converter keyboard is in communication connection with any one of all the frequency converters, the frequency converters are in communication connection, only one frequency converter keyboard is arranged on hardware, and the cost of the frequency converter keyboard is saved. When a handshake data frame is issued for the first time, all station numbers are the same, and 1 is added to each slave station number for distinguishing the station number of the master frequency converter; and when the handshake data frame is not issued for the first time, the determined station numbers of the slave frequency converter and the master frequency converter which are not determined are distinguished. And sending the slave station number of the current target slave frequency converter corresponding to the minimum delay time to the master frequency converter, and filling the slave station number into the determined station number to realize cyclic comparison when the next handshake data frame is issued. And sending the master station number and the slave station numbers to a frequency converter keyboard through a communication connection mode between frequency converter systems. The blending time is shortened and the blending operation difficulty is simplified in the blending process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of frequency converter control, and in particular to a method, device and equipment for determining a frequency converter site number based on a frequency converter keyboard. Background Art

[0002] To facilitate inverter control by inverter operators, each inverter typically comes with a corresponding inverter keypad. This uses a common or custom communication protocol for data transmission with the inverter, and specific inverter functions are implemented through set function codes. All inverters have the same parameters, such as the site number, before deployment. To distinguish between different inverters, all inverter keypads must be configured with the corresponding inverter parameters during the deployment process. This requires repeated deployment operations. If the inverters are located far apart, on-site deployment undoubtedly increases adaptation time and the cost of multiple inverter keypads.

[0003] Therefore, how to improve the deployment efficiency and reduce the cost of the inverter keyboard is an urgent problem that needs to be solved by those skilled in the art. Summary of the Invention

[0004] The object of the present invention is to provide a method, device and equipment for determining a frequency converter site number based on a frequency converter keyboard, so as to solve the problem of high deployment efficiency and high cost of the frequency converter keyboard.

[0005] To solve the above technical problems, the present invention provides a method for determining an inverter site number based on an inverter keyboard, which is applied to a slave inverter of an inverter system, wherein each inverter is communicatively connected to another inverter; the inverter keyboard of the inverter system is communicatively connected to any one of the inverters; the method comprises:

[0006] Receive the current handshake data frame sent by the master inverter. If the slave station number of the current slave inverter is the same as the determined station number of the master inverter, add 1 to each slave station number and generate a random number as the delay time.

[0007] Determine the current target slave inverter corresponding to the minimum delay time, send the slave station number of the current target slave inverter to the master inverter, fill the slave station number of the current target slave inverter into the determined station number to send the next handshake data frame, update the current slave inverter, until the slave station number of the slave inverter is determined; so that the master station number of the master inverter and the slave station number of the slave inverter are sent to the inverter keyboard through a communication connection to determine the inverter station number.

[0008] On the one hand, after determining the current target slave inverter and before sending the slave station number of the current target slave inverter to the master inverter, the method further includes:

[0009] When the minimum delay time is reached, if there is no data transmission on the communication bus between the inverters, the slave station number of the current target slave inverter is sent to the inverter via the communication bus; the response flag of the current target slave inverter is increased by 1, and the response flags of other slave inverters except the current target slave inverter are continuously increased by 1 if they are non-zero; if the response flags of other slave inverters are zero, they are not changed;

[0010] Alternatively, when the minimum delay time is reached, if there is data transmission on the communication bus between the inverters, the response flag of the current target slave inverter will not be changed, and the data transmission status in the communication bus between the inverters will be detected according to the preset time interval until the slave station number of the current target slave inverter is sent to the master inverter.

[0011] On the other hand, the current update process of the slave inverter includes:

[0012] When receiving the preset secondary handshake data frame sent by the master inverter, if the offline slave inverter does not respond, it is determined that the offline slave inverter has been disconnected, and the remaining slave inverters except the current target slave inverter and the offline slave inverter are updated as the current slave inverters;

[0013] Alternatively, when a new slave inverter is connected to the inverter system and the response flag of the new slave inverter exists, the site number is added to the new slave inverter; and the remaining slave inverters except the current target slave inverter are used as the current slave inverters.

[0014] On the other hand, the master station number of the master inverter and the slave station number of the slave inverter are sent to the inverter keyboard through a communication connection to determine the inverter station number, including:

[0015] The master station number of the master inverter and the slave station number of the slave inverter are sent to the slave inverter through the communication connection between the inverters;

[0016] The master station number of the master inverter and the slave station number of the slave inverter stored in any inverter are sent to the inverter keyboard through the communication connection method between the inverter keyboard and any inverter; wherein, the bus corresponding to the communication connection method between each inverter and the bus corresponding to the communication connection method between the inverter keyboard and any inverter are different.

[0017] To solve the above technical problems, the present invention further provides a method for determining an inverter site number based on an inverter keyboard, which is applied to a main inverter of an inverter system, wherein each inverter is communicatively connected to another inverter; the inverter keyboard of the inverter system is communicatively connected to any one of the inverters; the method comprises:

[0018] Sending the current handshake data frame to the slave inverter so that when the slave station number of the current slave inverter is the same as the determined station number of the master inverter, each slave station number is increased by 1 and a random number is generated as the delay time; determining the current target slave inverter corresponding to the minimum delay time;

[0019] Receive the slave station number of the current target slave inverter and fill it into the determined site number, send the next handshake data frame, update the current slave inverter, until the slave station number of the slave inverter is determined; so that the master station number of the master inverter and the slave station number of the slave inverter are sent to the inverter keyboard through a communication connection to determine the inverter site number.

[0020] On the one hand, when the minimum delay time is multiple, the method further includes:

[0021] When it is detected that there is no data transmission on the communication bus between the inverters, obtaining the timeout time of the master inverter; wherein the timeout time is greater than each delay time;

[0022] When the timeout period is reached, determining that the data transmission of the communication bus is abnormal;

[0023] When the next handshake data frame is sent, the previous frame response error of the next handshake data frame is marked and sent to each slave inverter, so that the slave inverters with response flags of 1 in the current slave inverters are set to 0, and a random number is regenerated as the delay time to determine the minimum delay time.

[0024] On the other hand, after determining the slave station numbers of all slave inverters, it also includes:

[0025] Obtaining the timeout period of the main frequency converter;

[0026] Sending a preset handshake data frame, and if there is no response from each slave inverter within the timeout period, it is determined that the slave station number of each slave inverter has been determined;

[0027] Control the master inverter to send the handshake completion data frame to record the determined site number for each slave inverter.

[0028] To solve the above technical problems, the present invention further provides a method for determining an inverter site number based on an inverter keyboard, which is applied to an inverter system in which each inverter is communicatively connected; the inverter keyboard of the inverter system is communicatively connected to any one of the inverters; the method comprises:

[0029] Control the master inverter to send the current handshake data frame to the slave inverter;

[0030] Controlling the slave inverter to increase each slave station number by 1 when the slave station number of the current slave inverter is the same as the determined station number of the master inverter, and generating a random number as a delay time; determining the current target slave inverter corresponding to the minimum delay time, and sending the slave station number of the current target slave inverter to the master inverter;

[0031] Controlling the master frequency converter to fill the slave station number of the current target slave frequency converter into the determined station number to send the next handshake data frame;

[0032] Control the slave inverter to update the current slave inverter until the slave station number of the slave inverter is determined;

[0033] The master station number of the master inverter and the slave station number of the slave inverter are sent to the inverter keyboard through a communication connection to determine the inverter station number.

[0034] To solve the above technical problems, the present invention further provides a device for determining a frequency converter site number based on a frequency converter keyboard, which is applied to a slave frequency converter of a frequency converter system, wherein each frequency converter is communicatively connected to another frequency converter; the frequency converter keyboard of the frequency converter system is communicatively connected to any one of the frequency converters; the device comprises:

[0035] The receiving module is used to receive the current handshake data frame sent by the master inverter, and when the slave station number of the current slave inverter is the same as the determined station number of the master inverter, add 1 to each slave station number and generate a random number as a delay time;

[0036] The first sending module is used to determine the current target slave inverter corresponding to the minimum delay time, so as to send the slave station number of the current target slave inverter to the master inverter, fill the slave station number of the current target slave inverter into the determined station number to send the next handshake data frame, and update the current slave inverter until the slave station number of the slave inverter is determined; so as to send the master station number of the master inverter and the slave station number of the slave inverter to the inverter keyboard through a communication connection to determine the inverter station number.

[0037] In order to solve the above technical problems, the present invention further provides a device for determining a frequency converter site number based on a frequency converter keyboard, comprising:

[0038] memory for storing computer programs;

[0039] The processor is configured to implement the steps of the method for determining the inverter site number based on the inverter keyboard when executing the computer program.

[0040] To solve the above technical problems, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for determining the inverter site number based on the inverter keyboard are implemented.

[0041] The present invention provides a method for determining an inverter site number based on an inverter keyboard. First, the method is applied to a slave inverter of an inverter system, wherein the inverter system includes an inverter keyboard and multiple inverters. The inverter keyboard of the inverter system is communicatively connected to any one of all the inverters; any one of all the inverters can be connected to improve flexibility. The inverters are communicatively connected to each other through such a connection relationship of the inverter system. In hardware, there is only one inverter keyboard. Compared with conventional technical solutions in which each inverter is configured with a corresponding inverter keyboard, the cost of the inverter keyboard is saved. Second, the method receives the current handshake data frame sent by the master inverter. If the current slave inverter's own slave station number is the same as the station number determined by the master inverter, the slave station number is incremented by 1. During the adaptation process, all inverters share the same site number. Therefore, when the handshake data frame is first sent, all site numbers are the same. Each slave station number is incremented by 1 to distinguish it from the master inverter's site number. When the handshake data frame is not sent for the first time, this is used to distinguish undetermined slave inverters from the master inverter's confirmed site number, facilitating the subsequent determination of slave inverters with undetermined slave numbers. A random number is generated as the delay time for each slave inverter, facilitating the subsequent determination of the current target slave inverter based on the delay time parameter. Third, the slave station number of the current target slave inverter corresponding to the minimum delay time is sent to the master inverter to determine its slave station number. Simultaneously, the slave station number of the current target slave inverter is added to the confirmed site number, enabling a cyclic comparison when the next handshake data frame is sent. The current slave inverter is also updated to facilitate the determination of the slave number of the next target slave inverter beyond the current one. Fourth, after determining the slave station numbers of all slave inverters, the master station number and each slave station number are sent to the inverter keypad via the inverter system's inter-inverter communication link. Leveraging internal communication between the inverters, this system automatically determines the station numbers of all inverters through a round-robin comparison. This reduces the time and effort required to manually configure parameters for each inverter. Furthermore, while reducing the number of inverter keypads required, the station number parameters for all inverters are centralized on a single inverter keypad, facilitating subsequent comparison of inverter parameters and status.

[0042] In addition, the present invention also provides a method for determining the inverter site number based on an inverter keyboard applied to a master inverter of an inverter system, a method for determining the inverter site number based on an inverter keyboard applied to an inverter system, an inverter site number determination device, equipment and medium based on an inverter keyboard, which have the same beneficial effects as the above-mentioned method for determining the inverter site number based on an inverter keyboard applied to a slave inverter of an inverter system. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present invention, the following is a brief introduction to the drawings required for use in 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 any creative work.

[0044] Figure 1 A flowchart of a method for determining an inverter site number based on an inverter keyboard of a slave inverter of an inverter system provided by an embodiment of the present invention;

[0045] Figure 2 A schematic structural diagram of a frequency converter system provided by an embodiment of the present invention;

[0046] Figure 3 A schematic diagram of the format of a handshake data frame provided by an embodiment of the present invention;

[0047] Figure 4 A schematic diagram of the format of a response data frame from a frequency converter to a master frequency converter provided in an embodiment of the present invention;

[0048] Figure 5 A flow chart of communication between a frequency converter keyboard and each frequency converter provided by an embodiment of the present invention;

[0049] Figure 6 A processing flow chart of a slave frequency converter provided by an embodiment of the present invention;

[0050] Figure 7 A flowchart of a method for determining an inverter site number based on an inverter keyboard of a main inverter of an inverter system provided by an embodiment of the present invention;

[0051] Figure 8 A processing flow chart of a main frequency converter provided by an embodiment of the present invention;

[0052] Figure 9 A flowchart of a method for determining an inverter site number based on an inverter keyboard, which is applied to an inverter system, provided in an embodiment of the present invention;

[0053] Figure 10A flow chart for establishing a communication bus between a master inverter and a slave inverter provided by an embodiment of the present invention;

[0054] Figure 11 A structural diagram of a device for determining a station number of a frequency converter based on a frequency converter keyboard and applied to a slave frequency converter of a frequency converter system provided by an embodiment of the present invention;

[0055] Figure 12 A structural diagram of a device for determining a frequency converter station number based on a frequency converter keyboard and applied to a main frequency converter of a frequency converter system provided by an embodiment of the present invention;

[0056] Figure 13 A structural diagram of a device for determining a frequency converter station number based on a frequency converter keyboard, which is applied to a frequency converter system, provided by an embodiment of the present invention;

[0057] Figure 14 This is a structural diagram of a device for determining a frequency converter site number based on a frequency converter keyboard provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0058] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present invention.

[0059] The core of the present invention is to provide a method, device and equipment for determining the inverter site number based on the inverter keyboard to solve the problems of high deployment efficiency and high inverter keyboard cost.

[0060] In order to enable those skilled in the art to better understand the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0061] In situations where a frequency converter is required, in order to allow equipment users to operate the frequency converter, each frequency converter is generally equipped with a frequency converter keypad as standard. The frequency converter keypad is equipped with buttons such as run, stop, shift, addition and subtraction, menu switching, confirmation, and shortcut keys. Data is transmitted with the frequency converter using internationally accepted or manufacturer-defined communication protocols. The manufacturer also defines a set of function codes, and the operator can set the corresponding function codes to achieve specific functions. Currently, many high-end frequency converter products have internal communication based on buses such as Ethernet, Controller Area Network (CAN), 485, and Serial Peripheral Interface (SPI) for user convenience. In addition, to enable coordinated control, the internal communication connection is normally established after the frequency converter is started, and multiple frequency converter devices can continuously exchange data.

[0062] The conventional technical solution is that each of the multiple inverters is equipped with a keyboard as standard, and the user controls each inverter through each keyboard to perform parameter setting, start and stop, etc. Configuring an inverter keyboard for each inverter increases user costs, and each inverter needs to be debugged using the inverter keyboard to correspond to the parameters such as the site number of each inverter, which makes debugging cumbersome. In the event of an accident, simultaneous shutdown is impossible, resulting in some inverters still in normal operation, which will affect the normal operation of other products. When it is necessary to compare inverter parameters, the parameters of each inverter can only be exported through each keyboard, and compared one by one through other tools, which is cumbersome to use. The inverter site number determination method based on the inverter keyboard provided by the present invention can solve the above technical problems.

[0063] Figure 1 A flowchart of a method for determining an inverter site number based on an inverter keyboard of a slave inverter in an inverter system provided by an embodiment of the present invention, wherein each inverter is connected to each other in communication; the inverter keyboard of the inverter system is connected to any one of the inverters in communication; Figure 1 As shown, the method includes:

[0064] S11: Receive the current handshake data frame sent by the master inverter. If the slave station number of the current slave inverter is the same as the determined station number of the master inverter, add 1 to each slave station number and generate a random number as the delay time.

[0065] S12: Determine the current target slave inverter corresponding to the minimum delay time, send the slave station number of the current target slave inverter to the master inverter, fill the slave station number of the current target slave inverter into the determined station number to send the next handshake data frame, update the current slave inverter, until the slave station number of the slave inverter is determined; so that the master station number of the master inverter and the slave station number of the slave inverter can be sent to the inverter keyboard through the communication connection method to determine the inverter station number.

[0066] Specifically, Figure 2 A schematic diagram of the structure of a frequency converter system provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the inverter system includes an inverter keyboard and multiple inverters. The inverter keyboard of the inverter system is communicatively connected to any one of the inverters; the inverter here can be any one, that is, it can be a master inverter or a slave inverter. The inverters are communicatively connected with each other. It should be noted that the communication connection here can be a hard-wired connection (direct connection through a physical cable) or a port connection, etc., which is not limited here. The communication connection method between the inverters and the communication connection method between the inverter keyboard and any inverter can be the same or different. In the case where the two communication connection methods are the same, if it is a bus connection, the bus connection between the inverters and the bus connection between the inverter keyboard and any inverter can be the same or different, which is not limited here and can be set according to actual conditions.

[0067] It should be noted that if the two buses are the same, then no bus protocol conversion is required between the inverter keyboard and any inverter, or between inverters, and the inverter keyboard can be used as the execution entity. If the two buses are different, the bus transmission requirements between inverters are higher, which leads to higher bus costs. To consider bus costs and transmission requirements, a lower-cost bus can be used between the inverter keyboard and any inverter, while a higher-cost bus can be used between inverters to balance bus costs.

[0068] In the inverter system, each inverter has a function code indicating the station number of the inverter. The function code can be automatically configured through the internal communication bus or manually modified after the internal communication bus is established.

[0069] Receive the current handshake data frame sent by the master inverter. The inverter system includes slave inverters and master inverters. The master inverter sends the current handshake data frame to all slave inverters. The current slave inverter here is the number of slave inverters updated at any time when the handshake data frame is sent. That is to say, the current number of slave inverters is less than or equal to the number of all slave inverters.

[0070] The master inverter's confirmed site number is carried with each handshake data frame sent. When the handshake data frame is first sent, its confirmed site number is the confirmed site number among all inverters. When used for the first time, the master inverter's site number is determined to be 1, so the confirmed site number is 1. Note that, conventionally, during the initial deployment process, all inverters have the same site number, which is 1. In this embodiment, after distinguishing which is the master inverter and which is the slave inverter, it is determined that the master inverter's site number does not change. There is a clear distinction between the master inverter's site number and the confirmed site number. The master inverter's site number does not change. The confirmed site number is for the currently confirmed site number, including the master inverter's site number and the site number determined by the slave inverter.

[0071] When the handshake data frame is first sent, the site number of all inverters is the same, that is, the site number of the master inverter is 1, and the confirmed site number is 1. The current slave inverter here refers to all slave inverters. When the current slave inverter's own slave number is the same as the confirmed site number of the master inverter, the slave number of all slave inverters is increased by 1, which becomes 2. The random number generated here is based on the time t1 of the slave inverter responding to the master inverter's frame data length, and a random number of 0-t1 / 2 is generated. The random number generated by each slave inverter is used as the delay time.

[0072] The minimum delay time is found in each delay time, so that the slave inverter with the minimum delay time is used as the current target slave inverter. The purpose is to send the slave station number (2) of the current target slave inverter to the master inverter. The sending here means that the current target slave inverter responds to the master inverter. The response process increases the response flag of the data frame of the current target slave inverter by 1. At this time, the master inverter fills the slave station number (2) into the determined station number, and then sends the next handshake data frame to update the current slave inverter. The sending here corresponds to that all slave inverters can receive the handshake data frame, but the previous target slave inverter that has responded to the master inverter in the previous handshake data frame is skipped when the current handshake data frame is sent, and only its own response flag is increased by 1, and no response is given to the master inverter. Therefore, this operation requires updating the current slave inverter, that is, excluding the remaining slave inverters except the previous target slave inverter.

[0073] Through the above-mentioned cyclic comparison process, after the slave station numbers of all slave inverters are determined, all station numbers are sent to the inverter keyboard through the communication connection method, and the inverter station number is determined, so that each inverter can be controlled based on the inverter keyboard for other controls.

[0074] Regarding the cyclic comparison here, for example, the master inverter A and other slave inverters B, C, D, and E. During the initial deployment, the site number of all inverters is 1, and the determined site number is 1. When the handshake data frame is sent for the first time, the slave inverter determines whether it is the same as the site number of the master inverter (the determined site number). If it is the same, the site number of all slave inverters is increased by 1, that is, the site number of slave inverters B, C, D, and E is 2. A random number is generated in each slave inverter as its respective delay time (Tb1, Tc1, Td1, and Te1). If Tb1 < Tc1 < Td1 < Te1, the slave inverter corresponding to the minimum delay time is determined as the current target slave inverter. The slave station number (2) of the current target slave inverter B is filled into the determined site number.

[0075] The second handshake data frame is sent to all slave inverters, where the current slave inverters are C, D, and E. The station number (2) of the slave inverters C, D, and E is checked to see if it is the same as the determined station number (2). If so, the station number of the slave inverters C, D, and E is increased by 1 to 3. Random numbers are generated as the respective delay times (Tc2, Td2, and Te2). If Td2 < Tc2 < Te2, the slave inverter corresponding to the minimum delay time is determined as the current target slave inverter D, and the slave station number (3) of the current target slave inverter D is filled in the determined station number. The handshake data frame is sent for the third time until the station numbers of all slave inverters are determined.

[0076] It should be noted that Figure 3 A schematic diagram of the format of a handshake data frame provided by an embodiment of the present invention is shown in FIG. Figure 3 As shown in FIG, the data frame format includes a frame header, a handshake command code, a previous frame response error, a handshake completion, a master station number, a confirmed station number, and a checksum. Figure 4 A schematic diagram of a format of a response data frame provided by a slave frequency converter to a master frequency converter according to an embodiment of the present invention is shown in FIG. Figure 4 As shown, it includes the frame header, handshake command, the slave station number, and verification. The slave station number has been responded during the response process.

[0077] An embodiment of the present invention provides a method for determining an inverter site number based on an inverter keyboard. First, the method is applied to a slave inverter of an inverter system, wherein the inverter system includes an inverter keyboard and multiple inverters. The inverter keyboard of the inverter system is communicatively connected to any one of the inverters and can be connected to any one of the inverters, thereby improving flexibility. The inverters are communicatively connected to each other through such a connection relationship of the inverter system. In hardware, there is only one inverter keyboard, which saves inverter keyboard costs compared to conventional technical solutions in which each inverter is configured with a corresponding inverter keyboard. Second, the method receives the current handshake data frame sent by the master inverter. If the current slave inverter's own slave station number is the same as the master inverter's determined site number, the slave station number is incremented by 1. During the adaptation process, all inverters share the same site number. Therefore, when the handshake data frame is first sent, all site numbers are the same. Each slave station number is incremented by 1 to distinguish it from the master inverter's site number. When the handshake data frame is not sent for the first time, this is used to distinguish undetermined slave inverters from the master inverter's confirmed site number, facilitating the subsequent determination of slave inverters with undetermined slave numbers. A random number is generated as the delay time for each slave inverter, facilitating the subsequent determination of the current target slave inverter based on the delay time parameter. Third, the slave station number of the current target slave inverter corresponding to the minimum delay time is sent to the master inverter to determine its slave station number. Simultaneously, the slave station number of the current target slave inverter is added to the confirmed site number, enabling a cyclic comparison when the next handshake data frame is sent. The current slave inverter is also updated to facilitate the determination of the slave number of the next target slave inverter beyond the current one. Fourth, after determining the slave station numbers of all slave inverters, the master station number and each slave station number are sent to the inverter keypad via the inverter system's inter-inverter communication link. Leveraging internal communication between the inverters, this system automatically determines the station numbers of all inverters through a round-robin comparison. This reduces the time and effort required to manually configure parameters for each inverter. Furthermore, while reducing the number of inverter keypads required, the station number parameters for all inverters are centralized on a single inverter keypad, facilitating subsequent comparison of inverter parameters and status.

[0078] In some embodiments, after determining the current target slave inverter and before sending the slave station number of the current target slave inverter to the master inverter, the method further includes:

[0079] When the minimum delay time is reached, if there is no data transmission on the communication bus between the inverters, the slave station number of the current target slave inverter is sent to the inverter via the communication bus; the response flag of the current target slave inverter is increased by 1, and the response flags of other slave inverters except the current target slave inverter are continuously increased by 1 if they are non-zero; if the response flags of other slave inverters are 0, they are not changed;

[0080] Alternatively, when the minimum delay time is reached, if there is data transmission on the communication bus between the inverters, the response flag of the current target slave inverter will not be changed, and the data transmission status in the communication bus between the inverters will be detected according to the preset time interval until the slave station number of the current target slave inverter is sent to the master inverter.

[0081] Specifically, when the minimum delay time is reached, it is necessary to determine whether the communication bus between the inverters is transmitting data. If so, the response flag of the current target slave inverter remains unchanged, meaning it does not respond to the current handshake data frame. If no data is being transmitted, the slave station number of the current target slave inverter is sent back to the master inverter, and the corresponding response flag is incremented by 1. The response flags of other slave inverters are further incremented by 1 if they are non-zero; if they are 0, they remain unchanged.

[0082] It should be noted that, in the case of no transmission, the step of judging is returned to according to a preset time interval until the slave station number of the current target slave inverter is sent to the master inverter.

[0083] This embodiment provides that before sending the slave station number of the current target slave inverter to the master inverter, it is necessary to add two situations of whether the communication bus between the inverters has data transmission when the minimum delay time is reached, so as to prevent the bus communication from being congested due to sending the slave station number of the current target slave inverter to the master inverter during the data transmission process, and to eliminate the situation where the master inverter cannot receive the slave station number of the current target slave inverter, thereby ensuring smooth communication.

[0084] In some embodiments, the current update process of the slave inverter includes:

[0085] When receiving the preset secondary handshake data frame sent by the master inverter, if the offline slave inverter does not respond, it is determined that the offline slave inverter has been disconnected, and the remaining slave inverters except the current target slave inverter and the offline slave inverter are updated as the current slave inverters;

[0086] Alternatively, when a new slave inverter is connected to the inverter system and the response flag of the new slave inverter exists, the site number is added to the new slave inverter; and the remaining slave inverters except the current target slave inverter are used as current slave inverters.

[0087] Specifically, when a slave inverter is offline, the site of the slave inverter will not respond. Therefore, when receiving the preset handshake data frame sent by the master inverter, that is, when it is retransmitted more than 3 times (preset times), the disconnection is confirmed, the determined site number is updated, and the handshake frame with "handshake completed" set to 1 is sent to the slave inverter again to update all slave inverters.

[0088] When a new slave inverter is connected, due to the presence of the responded flag, it has been determined that the slave station does not need to handshake again. The last inverter or inverters will respond because their own responded flag is 0. These newly added inverters can go through the handshake logic again. At this time, the inverter keyboard will give a prompt that a station is being added. The update here is to use the remaining slave inverters except the current target slave inverter as the current slave inverter.

[0089] In addition, it should be noted that, in the above, if there is no offline or new slave inverter occurs, updating the current slave inverter includes taking the remaining slave inverters except the current target slave inverter as the current slave inverter.

[0090] This embodiment provides that when the status of a slave inverter changes, the current slave inverter needs to be updated in real time, so as to facilitate the operation and processing of the inverter keyboard after the site numbers of all slave inverters are updated in real time.

[0091] In some embodiments, the master station number of the master inverter and the slave station number of the slave inverter are sent to the inverter keyboard via a communication connection to determine the inverter station number, including:

[0092] The master station number of the master inverter and the slave station number of the slave inverter are sent to the slave inverter through the communication connection between the inverters;

[0093] The master station number of the master inverter and the slave station number of the slave inverter stored in any inverter are sent to the inverter keyboard through the communication connection method between the inverter keyboard and any inverter; wherein, the bus corresponding to the communication connection method between each inverter and the bus corresponding to the communication connection method between the inverter keyboard and any inverter are different.

[0094] Specifically, considering the transmission process via the communication connection, each station number is first transmitted to all inverters via the communication connection between each inverter. Since the master inverter already knows the station numbers of all slave inverters through the aforementioned station number determination process, the master inverter's master station number and the slave inverter's slave station number are transmitted to all slave inverters. In other words, each inverter not only knows its own station number but also stores the station numbers of all other inverters. This allows any inverter connected to the inverter keypad to be aware of all station numbers.

[0095] Any inverter plugged in here can be a master inverter or a slave inverter. The master inverter's master station number and the slave inverter's slave station number are sent to the inverter keyboard through the communication connection between the inverter keyboard and any inverter.

[0096] It should be noted that after the inverter keyboard establishes communication bus X1 with any inserted inverter, it is inserted into any inverter and a handshake is initiated with that inverter via communication bus X1. The handshake method is the same as that of a single inverter. After sending a preset number of handshake data frames, any inverter responds with the same frame to confirm the handshake is successful. If successful, the inverter keyboard sends a data message to obtain information about all inverters on communication bus X2 to any inverter. Any inverter responds with the station number of all inverters to the inverter keyboard. After that, the inverter keyboard sends read and write function codes and control commands to any inverter.

[0097] Figure 5 A flow chart of communication between a frequency converter keyboard and each frequency converter provided by an embodiment of the present invention is shown as follows: Figure 5 As shown in the figure, the inverter keyboard establishes communication with the inserted inverter A. When the inverter keyboard is inserted into inverter A, it performs a handshake with inverter A through X1 communication. The handshake method is the same as the handshake of a single machine. The same frame is sent three times. If inverter A responds with the same frame, the handshake is considered successful. After the success, the inverter keyboard first sends a data to inverter A to obtain the information of all inverters under the current communication X2. Inverter A responds to the inverter keyboard with the stations of all inverters. After that, the inverter keyboard sends read and write function codes and control commands to inverter A.

[0098] Regarding the above, the master station number of the master inverter and the slave station number of the slave inverter are sent to all the slave inverters. Figure 5 For example, when the site number of inverter C is sent to inverter A, the site number of inverter C needs to be sent to inverter B through bus X2, and then sent to inverter A by inverter B through bus X2.

[0099] Furthermore, the inverter keypad itself features an interface for switching inverter control, allowing for parameter comparisons between various inverters. When initially inserted into inverter A, it defaults to communicating with inverter A. This interface then allows control of each inverter, allowing for parameter selection and comparisons of multiple inverters through cyclic acquisition. When a selection is made, a message containing the inverter's location to be controlled is sent to inverter A, which then records the location.

[0100] When the inverter keyboard sends a control command or obtains the parameters of inverter M to inverter A, inverter A will package the inverter keyboard command containing the site M to be controlled and send it to the master inverter B. After receiving it, the master inverter B distributes it to the corresponding site inverter M. The inverter at the corresponding site M parses it and returns it according to the original channel.

[0101] This embodiment provides a method of sending the corresponding communication method to the inverter keyboard to determine the inverter site number, reducing the number of standard keyboards required for simultaneous application of multiple inverters. It can be plugged into any inverter, is easy to operate, and can also access or compare some parameters of multiple inverters at the same time.

[0102] Figure 6 A processing flow chart of a slave frequency converter provided by an embodiment of the present invention is shown as follows: Figure 6 Shown, including:

[0103] S21: Determine whether the current handshake data frame of the master inverter is received; if so, proceed to step S22; if not, return to step S21;

[0104] S22: Determine whether the handshake between the slave inverter and the master inverter is completed. If so, proceed to step S23; if not, proceed to step S24;

[0105] S23: Determine that the response flags of all slave inverters are greater than or equal to 1, and proceed to step S31;

[0106] S24: Determine whether the previous frame response error of the main inverter is greater than 0. If so, proceed to step S25; if not, proceed to step S26;

[0107] S25: Subtract 1 from the inverter's non-zero response flag;

[0108] S26: Determine whether the response flags of all slave inverters are 0; if so, proceed to step S27; if not, proceed to step S28;

[0109] S27: Determine whether the slave station number of the slave inverter is the same as the determined station number of the master inverter; if so, proceed to step S29; if not, return to step S21;

[0110] S28: The response flag of the slave inverter whose response flag is not 0 is incremented by 1, and the process returns to S21;

[0111] S29: Add 1 to the slave station number of the inverter and generate a random number as the corresponding delay time;

[0112] S30: Determine whether the communication bus between the slave inverter and the master inverter is idle; if idle, proceed to step S31;

[0113] S31: The slave station number of the current target slave inverter corresponding to the minimum delay time is responded to the master inverter, and the process returns to step S21;

[0114] S32: After all slave inverters respond to the master inverter, the handshake is completed.

[0115] Furthermore, the present invention also provides a method for determining the inverter site number based on an inverter keyboard of a main inverter of an inverter system, Figure 7 A flowchart of a method for determining an inverter site number based on an inverter keyboard for a main inverter of an inverter system provided by an embodiment of the present invention, wherein each inverter is connected to each other in communication; the inverter keyboard of the inverter system is connected to any one of the inverters in communication; Figure 7 As shown, the method includes:

[0116] S41: Sending the current handshake data frame to the slave inverter so that when the slave station number of the current slave inverter is the same as the determined station number of the master inverter, each slave station number is increased by 1, and a random number is generated as a delay time; determining the current target slave inverter corresponding to the minimum delay time;

[0117] S42: Receive the slave station number of the current target slave inverter and fill it into the determined site number, send the next handshake data frame, update the current slave inverter, until the slave station number of the slave inverter is determined; so that the master station number of the master inverter and the slave station number of the slave inverter are sent to the inverter keyboard through the communication connection to determine the inverter site number.

[0118] Since the embodiments of the method part correspond to the above embodiments, the embodiments of this part please refer to the description of the embodiments of the method part above, and will not be repeated here.

[0119] For an introduction to a method for determining the inverter site number based on an inverter keyboard applied to a master inverter of an inverter system provided by the present invention, please refer to the above method embodiment. The present invention will not be repeated here. It has the same beneficial effects as the above-mentioned method for determining the inverter site number based on an inverter keyboard applied to a slave inverter of an inverter system.

[0120] In some embodiments, the minimum delay time is a plurality of hours, and the method further comprises:

[0121] When it is detected that there is no data transmission on the communication bus between the inverters, the timeout time of the master inverter is obtained; wherein the timeout time is greater than each delay time;

[0122] When a timeout period is reached, determining that data transmission on the communication bus is abnormal;

[0123] When the next handshake data frame is sent, the previous frame response error of the next handshake data frame is marked and sent to each slave inverter, so that the slave inverters with response flags of 1 in the current slave inverters are set to 0, and a random number is regenerated as the delay time to determine the minimum delay time.

[0124] Specifically, considering that the delay time is generated by random numbers, the same random numbers may also occur. That is, when there are multiple minimum delay times, the communication bus between each inverter is detected to be idle at the same time. Subsequently, the slave station numbers of multiple current target inverters corresponding to the minimum delay time are responded to at the same time, resulting in bus congestion. At this time, the master inverter is unable to parse the received data, causing the master inverter to time out. Therefore, when the timeout time is reached, it is determined that the data transmission on the communication bus is abnormal. During this process, when the next handshake data frame is sent, the previous frame response error in its data frame is marked. That is, the "previous frame response error" is set to 1 and the handshake command is sent to each slave inverter. After the existing response flag of the slave inverter is set to 1 to 0, the judgment, delay, and send are resent to re-determine the minimum delay time.

[0125] Figure 8 A processing flow chart of a main frequency converter provided by an embodiment of the present invention is as follows: Figure 8 Shown, including:

[0126] S51: The main inverter sends the current handshake data frame;

[0127] S52: Determine whether the timeout period has been reached. If so, proceed to step S53; if not, proceed to step S54.

[0128] S54: The master inverter receives the slave station number information from the slave inverter;

[0129] S55: Determine whether the slave station number information can be parsed, if so, proceed to step S56, if not, proceed to step S57;

[0130] S56: Fill the received slave station number into the determined station number of the data frame of the master inverter, and set the previous frame response error of the data frame to 0;

[0131] S57: Set the previous frame response error of the data frame to 1;

[0132] S58: The timeout count is 0, and the process returns to step S51 to send the next current handshake data frame;

[0133] S53: add 1 to the timeout count;

[0134] S59: Determine whether the number of timeouts exceeds the preset number of timeouts. If so, proceed to step S60. If not, return to step S51 to send the next current handshake data frame.

[0135] S60: Set the handshake completion of the data frame of the master inverter to 1;

[0136] S61: Handshake completed.

[0137] The master inverter will access each slave inverter one by one in ascending order according to the determined site number, and add a handshake command at the end.

[0138] In this embodiment, when multiple minimum delay times exist, if the master inverter reaches a timeout during parsing, it determines that the communication bus data transmission is abnormal. A new random number needs to be generated to determine the minimum delay time. This prevents the master inverter from being unable to receive the slave station number due to communication bus congestion, ensuring normal data transmission while improving data transmission reliability.

[0139] In some embodiments, after determining the slave station numbers of all slave inverters, the method further includes:

[0140] Get the timeout period of the main inverter;

[0141] After sending the preset handshake data frame and there is no response from the slave inverters within the timeout period, it is determined that the slave station numbers of the slave inverters have been determined.

[0142] Control the master inverter to send the handshake completion data frame to record the determined site number for each slave inverter.

[0143] Specifically, when the master inverter sends a preset handshake data frame and no slave inverter responds within the timeout period, it is determined that the slave station number has been completed. At this time, it is necessary to send a handshake completion data frame to mark the station number so that each slave inverter can record the determined station number.

[0144] In this embodiment, the slave station numbers of all slave inverters are determined, and the master inverter sends a handshake completion data frame for identification, so as to facilitate subsequent data transmission and improve the reliability of data transmission.

[0145] Furthermore, an embodiment of the present invention also provides a method for determining a frequency converter station number based on a frequency converter keyboard, which is applied to a frequency converter system. Figure 9 A flowchart of a method for determining a frequency converter site number based on a frequency converter keyboard applied to a frequency converter system provided by an embodiment of the present invention, wherein each frequency converter is connected to each other in communication; the frequency converter keyboard of the frequency converter system is connected to any one of the frequency converters in communication; Figure 9 As shown, the method includes:

[0146] S71: Control the master inverter to send the current handshake data frame to the slave inverter;

[0147] S72: Control the slave inverter to increase each slave station number by 1 when the slave station number of the current slave inverter is the same as the determined station number of the master inverter, and generate a random number as a delay time; determine the current target slave inverter corresponding to the minimum delay time, and send the slave station number of the current target slave inverter to the master inverter;

[0148] S73: Control the master inverter to fill the slave station number of the current target slave inverter into the determined station number to send the next handshake data frame;

[0149] S74: Control the slave inverter to update the current slave inverter until the slave station number of the slave inverter is determined;

[0150] S75: Send the master station number of the master inverter and the slave station number of the slave inverter to the inverter keyboard through the communication connection to determine the inverter station number.

[0151] Since the embodiments of the method part correspond to the above embodiments, the embodiments of this part please refer to the description of the embodiments of the method part above, and will not be repeated here.

[0152] For an introduction to a method for determining the inverter site number based on an inverter keyboard of an inverter applied to an inverter system provided by the present invention, please refer to the above method embodiment. The present invention will not be repeated here. It has the same beneficial effects as the above-mentioned method for determining the inverter site number based on an inverter keyboard of a slave inverter applied to an inverter system.

[0153] Figure 10 A flow chart of establishing a communication bus between a master inverter and a slave inverter is provided in an embodiment of the present invention. Figure 10 As shown, the master inverter sends a handshake command (handshake data frame); all slave inverters receive the handshake command, and the slave inverter site at the same point as the master inverter (determined site number) is +1. All slave inverters generate random numbers and delay according to the delay time of the random number. When the delay time is reached and the communication bus is idle, they will not respond if it is busy, but will respond if it is idle, and set the response flag to 1.

[0154] After the master inverter receives the response data, the slave inverter also receives the response data.

[0155] The master inverter fills the received site number into the determined site number.

[0156] The master inverter sends a handshake command. All slave inverters receive the handshake command. The slave inverters with a non-zero response flag will increase the response flag by 1 and skip the subsequent steps. The slave inverters that do not respond, if the site number is the same as the determined site number, will increase their own site number by 1, generate a random number and delay according to the delay time of the random number. When the delay time is reached and the communication bus is detected to be idle, if it is busy, it will not respond. If it is idle, it will respond and set the response flag to 1.

[0157] After the master inverter receives the response data, the slave inverter also receives the response data.

[0158] The master inverter fills the received site number into the determined site number.

[0159] The master inverter continues to send handshake commands until the station numbers of all slave inverters are confirmed, and then the master inverter times out. The master inverter times out after it sends the preset number of handshake commands in succession.

[0160] The next time the master inverter sends a handshake command, all slave inverters receive the handshake command, all slave inverters clear the response flag, and all slave inverters respond to data at the same time, the master inverter times out.

[0161] The above describes in detail various embodiments corresponding to the method for determining the inverter station number based on the inverter keyboard of the slave inverter of the inverter system. On this basis, the present invention also discloses an inverter station number determination device based on the inverter keyboard of the slave inverter of the inverter system corresponding to the above method. Figure 11 This is a structural diagram of a device for determining the inverter station number based on an inverter keyboard and applied to a slave inverter of an inverter system according to an embodiment of the present invention. Figure 11 As shown, a device for determining the inverter site number based on an inverter keyboard applied to a slave inverter of an inverter system is applied to the slave inverter of the inverter system, wherein each inverter is communicatively connected with each other; the inverter keyboard of the inverter system is communicatively connected with any one of the inverters; the device includes:

[0162] The first receiving module 11 is used to receive the current handshake data frame sent by the master inverter, and when the slave station number of the current slave inverter is the same as the determined station number of the master inverter, add 1 to each slave station number and generate a random number as a delay time;

[0163] The first sending module 12 is used to determine the current target slave inverter corresponding to the minimum delay time, so as to send the slave station number of the current target slave inverter to the master inverter, fill the slave station number of the current target slave inverter into the determined station number to send the next handshake data frame, and update the current slave inverter until the slave station number of the slave inverter is determined; so as to send the master station number of the master inverter and the slave station number of the slave inverter to the inverter keyboard through the communication connection method to determine the inverter station number.

[0164] Since the embodiments of the device part correspond to the above embodiments, the embodiments of the device part please refer to the description of the embodiments of the method part, and will not be repeated here.

[0165] For an introduction to a device for determining an inverter site number based on an inverter keyboard for a slave inverter of an inverter system provided by the present invention, please refer to the above-mentioned method embodiment. The present invention will not be repeated here. It has the same beneficial effects as the above-mentioned method for determining an inverter site number based on an inverter keyboard for a slave inverter of an inverter system.

[0166] Furthermore, the present invention also discloses a device for determining a frequency converter station number based on a frequency converter keyboard and applied to a main frequency converter of a frequency converter system, corresponding to the above method. Figure 12 This is a structural diagram of a device for determining the inverter station number based on an inverter keyboard and applied to a main inverter of an inverter system according to an embodiment of the present invention. Figure 12 As shown, a device for determining the inverter site number based on an inverter keyboard applied to a main inverter of an inverter system is applied to the main inverter of the inverter system, and each inverter is communicatively connected with each other; the inverter keyboard of the inverter system is communicatively connected with any one of the inverters; the device includes:

[0167] The second sending module 13 is used to send the current handshake data frame to the slave inverter so that when the slave station number of the current slave inverter is the same as the determined station number of the master inverter, each slave station number is increased by 1 and a random number is generated as a delay time; and the current target slave inverter corresponding to the minimum delay time is determined;

[0168] The second receiving module 14 is used to receive the slave station number of the current target slave inverter, fill it into the determined site number, send the next handshake data frame, and update the current slave inverter until the slave station number of the slave inverter is determined; so that the master station number of the master inverter and the slave station number of the slave inverter can be sent to the inverter keyboard through the communication connection to determine the inverter site number.

[0169] Since the embodiments of the device part correspond to the above embodiments, the embodiments of the device part please refer to the description of the embodiments of the method part, and will not be repeated here.

[0170] For an introduction to a device for determining an inverter site number based on an inverter keyboard for a main inverter of an inverter system provided by the present invention, please refer to the above-mentioned method embodiment. The present invention will not be repeated here. It has the same beneficial effects as the above-mentioned method for determining an inverter site number based on an inverter keyboard for a main inverter of an inverter system.

[0171] Furthermore, the present invention also discloses a device for determining a frequency converter station number based on a frequency converter keyboard and applied to a frequency converter system corresponding to the above method. Figure 13 This is a structural diagram of a device for determining a station number of a frequency converter based on a frequency converter keyboard, which is applied to a frequency converter system according to an embodiment of the present invention. Figure 13 As shown, a device for determining a frequency converter station number based on a frequency converter keyboard applied to a frequency converter of a frequency converter system is applied to the frequency converter of the frequency converter system, wherein each frequency converter is communicatively connected to each other; the frequency converter keyboard of the frequency converter system is communicatively connected to any one of the frequency converters; the device comprises:

[0172] The first control module 15 is used to control the master inverter to send the current handshake data frame to the slave inverter;

[0173] The second control module 16 is configured to control the slave inverter to increase the slave station number by 1 when the slave station number of the current slave inverter is the same as the determined station number of the master inverter, and to generate a random number as a delay time; determine the current target slave inverter corresponding to the minimum delay time, and send the slave station number of the current target slave inverter to the master inverter;

[0174] The third control module 17 is used to control the master inverter to fill the slave station number of the current target slave inverter into the determined station number to send the next handshake data frame;

[0175] The fourth control module 18 is used to control the slave inverter to update the current slave inverter until the slave station number of the slave inverter is determined;

[0176] The third sending module 19 is used to send the master station number of the master inverter and the slave station number of the slave inverter to the inverter keyboard through a communication connection to determine the inverter station number.

[0177] Since the embodiments of the device part correspond to the above embodiments, the embodiments of the device part please refer to the description of the embodiments of the method part, and will not be repeated here.

[0178] For an introduction to a device for determining an inverter site number based on an inverter keyboard for an inverter applied to an inverter system provided by the present invention, please refer to the above-mentioned method embodiment. The present invention will not be repeated here. It has the same beneficial effects as the above-mentioned method for determining an inverter site number based on an inverter keyboard for an inverter applied to an inverter system.

[0179] Figure 14 A structural diagram of a device for determining a frequency converter site number based on a frequency converter keyboard is provided in an embodiment of the present invention, such as Figure 14 As shown, the device includes:

[0180] Memory 21, for storing computer programs;

[0181] The processor 22 is configured to implement the steps of the method for determining the inverter site number based on the inverter keyboard when executing the computer program.

[0182] The inverter site number determination device based on the inverter keyboard provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer, or a desktop computer.

[0183] The processor 22 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 22 may be implemented in at least one of the following hardware forms: a digital signal processor (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 22 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 22 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 22 may also include an artificial intelligence (AI) processor, which is responsible for processing computing operations related to machine learning.

[0184] The memory 21 may include one or more computer-readable storage media, which may be non-transitory. The memory 21 may also include high-speed random access memory, and non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 21 is at least used to store the following computer program 211, wherein, after the computer program is loaded and executed by the processor 22, it can implement the relevant steps of the method for determining the inverter site number based on the inverter keyboard disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 21 may also include an operating system 212 and data 213, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 212 may include Windows, Unix, Linux, etc. The data 213 may include but is not limited to data involved in the method for determining the inverter site number based on the inverter keyboard, etc.

[0185] In some embodiments, the inverter site number determination device based on the inverter keyboard may further include a display screen 23 , an input and output interface 24 , a communication interface 25 , a power supply 26 and a communication bus 27 .

[0186] Those skilled in the art will understand that Figure 14 The structure shown in the figure does not constitute a limitation to the inverter site number determination device based on the inverter keyboard, and may include more or fewer components than shown in the figure.

[0187] The processor 22 calls the instructions stored in the memory 21 to implement the inverter site number determination method based on the inverter keyboard provided in any of the above embodiments.

[0188] For an introduction to a device for determining a frequency converter site number based on a frequency converter keyboard provided by the present invention, please refer to the above method embodiment. The present invention will not be repeated here. It has the same beneficial effects as the above method for determining a frequency converter site number based on a frequency converter keyboard.

[0189] Furthermore, the present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by the processor 22, the steps of the inverter site number determination method based on the inverter keyboard are implemented.

[0190] It is understood that if the methods in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0191] For an introduction to a computer-readable storage medium provided by the present invention, please refer to the above method embodiment, and the present invention will not be repeated here. It has the same beneficial effects as the above-mentioned method for determining the inverter site number based on the inverter keyboard.

[0192] The above is a detailed introduction to the inverter site number determination method, device and equipment based on the inverter keyboard provided by the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, the present invention can also be improved and modified in several ways, and these improvements and modifications also fall within the scope of protection of the present invention.

[0193] It should also be noted that, in this specification, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.

Claims

1. A method for determining the inverter site number based on the inverter keyboard, characterized in that: The inverter is applied to the slave inverter of the inverter system, and each inverter is communicatively connected with each other; the inverter keyboard of the inverter system is communicatively connected with any one of the inverters; the method includes: Receive the current handshake data frame sent by the master inverter. If the slave station number of the current slave inverter is the same as the determined station number of the master inverter, add 1 to each slave station number and generate a random number as the delay time. Determine the current target slave inverter corresponding to the minimum delay time, send the slave station number of the current target slave inverter to the master inverter, fill the slave station number of the current target slave inverter into the determined station number to send the next handshake data frame, update the current slave inverter, until the slave station number of the slave inverter is determined; so that the master station number of the master inverter and the slave station number of the slave inverter are sent to the inverter keyboard through a communication connection to determine the inverter station number.

2. The method for determining the inverter site number based on the inverter keyboard according to claim 1, characterized in that: After determining the current target slave frequency converter, and before sending the slave station number of the current target slave frequency converter to the master frequency converter, the method further includes: When the minimum delay time is reached, if there is no data transmission on the communication bus between the inverters, the slave station number of the current target slave inverter is sent to the inverter via the communication bus; the response flag of the current target slave inverter is increased by 1, and the response flags of other slave inverters except the current target slave inverter are continuously increased by 1 if they are non-zero; if the response flags of other slave inverters are zero, they are not changed; Alternatively, when the minimum delay time is reached, if there is data transmission on the communication bus between the inverters, the response flag of the current target slave inverter will not be changed, and the data transmission status in the communication bus between the inverters will be detected according to the preset time interval until the slave station number of the current target slave inverter is sent to the master inverter.

3. The method for determining the inverter site number based on the inverter keyboard according to claim 1, characterized in that: The current update process of the slave inverter includes: When receiving the preset secondary handshake data frame sent by the master inverter, if the offline slave inverter does not respond, it is determined that the offline slave inverter has been disconnected, and the remaining slave inverters except the current target slave inverter and the offline slave inverter are updated as the current slave inverters; Alternatively, when a new slave inverter is connected to the inverter system and the response flag of the new slave inverter exists, the site number is added to the new slave inverter; and the remaining slave inverters except the current target slave inverter are used as the current slave inverters.

4. The method for determining the inverter site number based on the inverter keyboard according to claim 1, characterized in that: The master station number of the master inverter and the slave station number of the slave inverter are sent to the inverter keyboard through a communication connection to determine the inverter station number, including: The master station number of the master inverter and the slave station number of the slave inverter are sent to the slave inverter through the communication connection between the inverters; The master station number of the master inverter and the slave station number of the slave inverter stored in any inverter are sent to the inverter keyboard through the communication connection method between the inverter keyboard and any inverter; wherein, the bus corresponding to the communication connection method between each inverter and the bus corresponding to the communication connection method between the inverter keyboard and any inverter are different.

5. A method for determining the inverter site number based on the inverter keyboard, characterized in that: The main frequency converter of the frequency converter system is used, and each frequency converter is connected to each other in communication; the frequency converter keyboard of the frequency converter system is connected to any one of the frequency converters in communication; the method includes: Sending the current handshake data frame to the slave inverter so that when the slave station number of the current slave inverter is the same as the determined station number of the master inverter, each slave station number is increased by 1 and a random number is generated as the delay time; determining the current target slave inverter corresponding to the minimum delay time; Receive the slave station number of the current target slave inverter and fill it into the determined site number, send the next handshake data frame, update the current slave inverter, until the slave station number of the slave inverter is determined; so that the master station number of the master inverter and the slave station number of the slave inverter are sent to the inverter keyboard through a communication connection to determine the inverter site number.

6. The method for determining the inverter site number based on the inverter keyboard according to claim 5, characterized in that: When the minimum delay time is multiple, the method further includes: When it is detected that there is no data transmission on the communication bus between the inverters, obtaining the timeout time of the master inverter; wherein the timeout time is greater than each delay time; When the timeout period is reached, determining that the data transmission of the communication bus is abnormal; When the next handshake data frame is sent, the previous frame response error of the next handshake data frame is marked and sent to each slave inverter, so that the slave inverters with response flags of 1 in the current slave inverters are set to 0, and a random number is regenerated as the delay time to determine the minimum delay time.

7. The method for determining the inverter site number based on the inverter keyboard according to claim 6, characterized in that: After determining the slave station numbers of all slave inverters, the following steps are also required: Obtaining the timeout period of the main frequency converter; Sending a preset handshake data frame, and if there is no response from each slave inverter within the timeout period, it is determined that the slave station number of each slave inverter has been determined; Control the master inverter to send the handshake completion data frame to record the determined site number for each slave inverter.

8. A method for determining the inverter site number based on the inverter keyboard, characterized in that: Applied to a frequency converter system, the frequency converter keyboard of the frequency converter system is communicatively connected with any one of all frequency converters; the method comprises: Control the master inverter to send the current handshake data frame to the slave inverter; Controlling the slave inverter to increase each slave station number by 1 when the slave station number of the current slave inverter is the same as the determined station number of the master inverter, and generating a random number as a delay time; determining the current target slave inverter corresponding to the minimum delay time, and sending the slave station number of the current target slave inverter to the master inverter; Controlling the master frequency converter to fill the slave station number of the current target slave frequency converter into the determined station number to send the next handshake data frame; Control the slave inverter to update the current slave inverter until the slave station number of the slave inverter is determined; The master station number of the master inverter and the slave station number of the slave inverter are sent to the inverter keyboard through a communication connection to determine the inverter station number.

9. A device for determining the inverter site number based on an inverter keyboard, characterized in that: The device is applied to the slave inverter of the inverter system, wherein each inverter is connected to each other in communication; the inverter keyboard of the inverter system is connected to any one of the inverters in communication; the device includes: The receiving module is used to receive the current handshake data frame sent by the master inverter, and when the slave station number of the current slave inverter is the same as the determined station number of the master inverter, add 1 to each slave station number and generate a random number as a delay time; The first sending module is used to determine the current target slave inverter corresponding to the minimum delay time, so as to send the slave station number of the current target slave inverter to the master inverter, fill the slave station number of the current target slave inverter into the determined station number to send the next handshake data frame, and update the current slave inverter until the slave station number of the slave inverter is determined; so as to send the master station number of the master inverter and the slave station number of the slave inverter to the inverter keyboard through a communication connection to determine the inverter station number.

10. A device for determining the inverter site number based on an inverter keyboard, characterized in that: include: memory for storing computer programs; A processor is configured to implement the steps of the method for determining the inverter site number based on the inverter keyboard as described in any one of claims 1 to 8 when executing the computer program.