A fan addressing method and a fan addressing system

The automatic address setting of FFU is realized through the RS485 communication line and level signal between the host computer and the fan unit, which solves the problems of address duplication and omission in FFU address writing and improves the convenience and accuracy of address writing.

CN119232707BActive Publication Date: 2025-09-23SHENZHEN HESUI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411746880.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-09-23
Estimated Expiration
2044-12-02

AI Technical Summary

Technical Problem

When writing addresses to multiple FFUs, the existing technology has the problem of duplicate or missed address settings, which makes construction difficult and inconvenient for management.

Method used

A fan addressing method is provided. A communication connection is established between the host computer and the fan group. The RS485 communication line and level signal are used to realize the automatic address setting of each fan in the fan group. Each fan responds to the writing instruction of the previous fan one by one to complete the automatic addressing.

Benefits of technology

It improves the convenience and accuracy of addressing multiple FFUs, reduces manual operations, and ensures that each fan can automatically complete the address setting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119232707B_ABST
    Figure CN119232707B_ABST
Patent Text Reader

Abstract

The present application relates to the field of wind turbine address control technology, and discloses a wind turbine address writing method and a wind turbine address writing system, wherein the wind turbine address writing method comprises: the first wind turbine among n wind turbines receives the initial address information and the first write instruction sent by the host computer; the i-th wind turbine among the n wind turbines performs the following steps, wherein i is sequentially taken from 1 to n: in response to the i-th write instruction sent by the i-1-th wind turbine, the i-th address information is set to the local address number of the i-th wind turbine, wherein the i-th address information is generated for the i-1-th wind turbine or the i-th wind turbine according to the i-1-th address information, the 0th wind turbine is taken as the host computer, and the 0th address information is taken as the initial address information; if i does not get n, then the i+1th write instruction is generated, and the i+1th write instruction is sent to the i+1th wind turbine; if i gets n, the address writing of the wind turbine group is completed. In the above manner, the present application improves the convenience and accuracy of addressing multiple FFUs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of wind turbine address control technology, and in particular to a wind turbine address writing method and a wind turbine address writing system. Background Art

[0002] Fan Filter Unit (FFU) is an air filtration device widely used in clean rooms, laboratories, hospitals and other places to provide a clean and healthy air environment.

[0003] To support the production of high-tech products, cleanrooms are being constructed and implemented in large numbers across the country, and FFUs are widely used. To facilitate factory monitoring of cleanrooms, the most common practice is to connect numerous FFUs via RS-485 and Ethernet, controlling them from a central control room computer. This requires assigning each FFU a unique address to ensure one-to-one correspondence on the computer interface.

[0004] When writing addresses to FFUs, on-site construction personnel need to carry a handheld device close to the FFU and set the address for each FFU one by one, that is, write the address of the FFU to the FFU controller. However, when setting addresses, it is easy to have duplicate addresses or missed addresses, which makes troubleshooting and maintenance difficult. In addition, the controller inside the FFU is generally installed in the technical mezzanine of the clean room. Due to the large number of equipment and pipelines in the technical mezzanine, it is very inconvenient for personnel to move. On-site construction personnel need to wear stuffy dust-proof clothing to avoid the dust-free environment of the clean room, and they also need to climb to the side of the FFU one by one, making it difficult for construction personnel to write addresses for multiple FFUs.

[0005] Therefore, how to improve the convenience and accuracy of address writing for multiple FFUs has become a technical problem that needs to be solved urgently. Summary of the Invention

[0006] In view of the above problems, the embodiments of the present application provide a fan addressing method and a fan addressing system, which are used to solve the problems in the prior art that it is difficult to address multiple FFUs and addressing is prone to errors.

[0007] According to one aspect of an embodiment of the present application, a wind turbine addressing method is provided, which is applied to a wind turbine group, wherein the wind turbine group establishes a communication connection with a host computer, and the wind turbine group includes n wind turbines arranged in sequence, where n is an integer greater than 1. The wind turbine addressing method includes: the first wind turbine among the n wind turbines receives the initial address information and the first write instruction sent by the host computer; the i-th wind turbine among the n wind turbines performs the following steps, wherein i is sequentially taken from 1 to n: in response to the i-th write instruction sent by the i-1-th wind turbine, the i-th address information is set to the local address number of the i-th wind turbine, wherein the i-th address information is for the i-1-th wind turbine or is generated by the i-1-th wind turbine according to the i-1-th address information, the 0th wind turbine is taken as the host computer, and the 0th address information is taken as the initial address information; if i does not get n, then the i+1-th write instruction is generated, and the i+1-th write instruction is sent to the i+1-th wind turbine; if i gets n, the address writing of the wind turbine group is completed.

[0008] Preferably, the n wind turbines all include a first network port, a second network port, a micro control unit MCU and a 485 communication circuit module; the first network port of the first wind turbine and the second network port of the nth wind turbine are both connected to the host computer via a communication network cable, and when i is greater than 1, the first network port of the i-th wind turbine and the second network port of the i-1th wind turbine are connected via a communication network cable; the communication network cable includes an RS485 communication line and a first signal line, the communication network cable is used to transmit signals between two devices, the RS485 communication line is used to transmit RS485 signals so that the two devices establish a 485 connection, and the first signal line is used to transmit level signals so that the two devices establish a first communication connection; a 485 connection is established between the host computer and the n wind turbines; the first network port of the wind turbine is connected to the first communication network cable, and is used to receive the RS485 signal and level signal transmitted by the first communication network cable, and transmit the received level signal to the wind turbine's MCU, and transmit the received level signal to the wind turbine's MCU. The RS485 signal is transmitted to the 485 communication circuit module of the fan; the 485 communication circuit module is connected to the MCU, and is used to process the received RS485 signal and send it to the MCU; the MCU is used to process the received level signal and / or RS485 signal, and generate a level signal and / or an initial RS485 signal; the MCU is also used to transmit the generated initial RS485 signal to the 485 communication circuit module, and transmit the generated level signal to the second network port; the 485 communication circuit module is also used to generate an RS485 signal based on the initial RS485 signal, and send the generated RS485 signal to the second network port; the second network port is connected to the second communication network cable, and is used to transmit the level signal generated by the MCU to the first signal line of the second communication network cable, and transmit the RS485 signal generated by the 485 communication circuit module to the RS485 communication line of the second communication network cable.

[0009] Preferably, before the first fan among the n fans receives the initial address information and the first write instruction sent by the host computer, the fan address writing method also includes: the n fans receive the write instruction sent by the host computer through a 485 connection, and enter the write mode in response to the write instruction; after responding to the i-th write instruction sent by the i-1th fan and setting the i-th address information to the local address number of the i-th fan, the fan address writing method also includes: sending the i-th address information to the host computer through a 485 connection; and exiting the write mode.

[0010] Preferably, the i-th address information is generated by the i-1th wind turbine according to the i-1th address information, and the first address information is the initial address information; before responding to the i-th write instruction sent by the i-1th wind turbine and setting the i-th address information to the local address number of the i-th wind turbine, the wind turbine address writing method further includes: receiving the i-th write instruction and the i-th address information sent by the i-1th wind turbine through the first communication connection; responding to the i-th write instruction sent by the i-1th wind turbine and setting the i-th address information to the local address number of the i-th wind turbine, and further The method includes: in response to an i-th write instruction, setting the i-th address information to the local address number of the i-th fan through the MCU of the i-th fan; if i does not get n, generating an i+1-th write instruction, and sending the i+1-th write instruction to the i+1-th fan, further including: if i does not get n, generating the i+1-th write instruction through the MCU of the i-th fan, and generating the i+1-th address information according to the i-th address information; sending the i+1-th write instruction and the i+1 address information to the i+1-th fan through the first communication connection.

[0011] Preferably, the MCU includes a cache space, and the i-th address information is generated for the i-th wind machine according to the i-1-th address information; before responding to the i-th write instruction sent by the i-1-th wind machine, setting the i-th address information to the local address number of the i-th wind machine, the wind machine address writing method further includes: receiving the i-1-th address information sent by the i-1-th wind machine through a 485 connection, refreshing the cache space and storing the i-1-th address information in the cache space; receiving the i-th write instruction sent by the i-1-th wind machine through a first communication connection; responding to the i-th write instruction sent by the i-1-th wind machine, setting the i-th address information to the local address number of the i-th wind machine, and further including: responding to the i-th write instruction, The MCU of the i-th wind turbine reads the i-1th address information of the cache space, generates the i-th address information according to the read i-1th address information, and sets the i-th address information as the local address number of the i-th wind turbine; if i does not get n, generates the i+1th write instruction, and sends the i+1th write instruction to the i+1th wind turbine, further including: if i does not get n, generates the i+1th write instruction through the MCU of the i-th wind turbine; broadcasts the i-th address information through the 485 communication circuit module, so that the cache space of at least n-1 wind turbines including the i+1th wind turbine is updated to the i-th address information; and sends the i+1th write instruction to the i+1th wind turbine through the first communication connection.

[0012] According to another aspect of an embodiment of the present application, a fan address writing method is provided, which is applied to a host computer, and a communication connection is established between the host computer and the fan group. The fan group includes n fans arranged in sequence, where n is an integer greater than 1. The fan address writing method includes: in response to an address writing operation, obtaining initial address information and generating a first write instruction; sending the initial address information and the first write instruction to the first fan among the n fans, so that the i-th fan writes the i-th address information corresponding to the i-th fan, wherein the i-th address information is related to the initial address information, and i is taken from 1 to n in sequence.

[0013] Preferably, each of the n wind turbines includes a first network port and a second network port; the host computer is connected to the first network port of the first wind turbine and the second network port of the nth wind turbine respectively with a communication network cable; when i is greater than 1, the first network port of the i-th wind turbine is connected to the second network port of the i-1th wind turbine with a communication network cable; the communication network cable includes an RS485 communication line and a first signal line, the communication network cable is used to transmit signals between the two devices, the RS485 communication line is used to transmit RS485 signals so that the two devices establish a 485 connection, and the first signal line is used to transmit level signals so that the two devices establish a first communication connection; a 485 connection is established between the host computer and the n wind turbines.

[0014] Preferably, after sending the initial address information and the first write instruction to the first wind machine among the n wind machines, the wind machine address writing method further includes: receiving the i-th address writing information corresponding to the i-th wind machine sent by the i-th wind machine through a 485 connection, wherein the i-th address writing information is used to indicate that the i-th wind machine has completed address writing; and judging whether all wind machine groups have completed address writing according to the i-th address writing information.

[0015] Preferably, the i-th address writing information includes the i-th address information, and the address information interval between two adjacent wind turbines is preset digits; before judging whether the wind turbine groups have completed address writing according to the i-th address writing information, the wind turbine address writing method further includes: determining the initial n-th address information of the n-th wind turbine according to the initial address information and the preset digit; judging whether the wind turbine groups have completed address writing according to the i-th address writing information, including: comparing the initial n-th address information and the received i-th address writing information to see whether they are consistent, and if the initial n-th address information and the received i-th address writing information are consistent, then it is determined that the wind turbine groups have completed address writing. Complete address writing; or, receive the i-th address writing information corresponding to the i-th wind turbine sent by the i-th wind turbine through the 485 connection, also including: receive the i-th address writing information corresponding to the i-th wind turbine sent by the i-th wind turbine through the 485 connection; record the i-th time when the i-th address writing information is received; write the i-th time into the i-th address writing information; determine whether all wind turbine groups have completed address writing based on the i-th address writing information, further including: read the i-th time of the i-th address writing information, and if there is no other address writing information after the preset time length of the i-th time, it is determined that all wind turbine groups have completed address writing.

[0016] According to another aspect of the embodiment of the present application, a wind turbine address writing system is provided, which includes a host computer and a wind turbine group, wherein the host computer establishes a communication connection with the wind turbine group, and the wind turbine group includes n wind turbines arranged in sequence, where n is an integer greater than 1; the host computer is used to respond to the address writing operation, obtain initial address information and generate a first write instruction; the host computer is also used to send the initial address information and the first write instruction to the first wind turbine among the n wind turbines, so that the i-th wind turbine writes the i-th address information corresponding to the i-th wind turbine, wherein the i-th address information is related to the initial address information, and i is sequentially taken from 1 to n; the first wind turbine among the n wind turbines is used to receive the upper address information and the first write instruction. The initial address information and the first write instruction sent by the upper computer; n wind machines, the i-th wind machine among the n wind machines is used to perform the following steps, and i is sequentially taken from 1 to n: in response to the i-th write instruction sent by the i-1-th wind machine, the i-th address information is set to the local address number of the i-th wind machine, wherein the i-th address information is for the i-1-th wind machine or the i-th wind machine is generated according to the i-1-th address information, the 0th wind machine is taken as the upper computer, and the 0th address information is taken as the initial address information; if i does not get n, the i+1-th write instruction is generated, and the i+1-th write instruction is sent to the i+1-th wind machine; if i gets n, the address writing of the wind machine group is completed.

[0017] The fan addressing method applied to a fan group provided in the embodiment of the present application is configured to respond in sequence to the i-th write instruction sent by the i-1th fan (the previous fan) for controlling the addressing of the fan itself by setting each fan of n fans to set the i-th address information to the local address number of the i-th fan to complete the automatic addressing of the n fans. In addition, the first fan responds to the write instruction sent by the host computer, so that the fan group can start the automatic addressing program of the fan group through the host computer. After starting the automatic addressing program of the fan group, the multiple fans of the fan group can automatically complete the address writing one by one. Therefore, in actual use, the construction personnel can operate a host computer to write the address of a fan group, thereby improving the convenience of writing the address of multiple FFUs. Moreover, the addressing of multiple fans is completed automatically without manual setting, thereby improving the accuracy of writing the address of multiple FFUs.

[0018] The fan addressing method applied to the host computer provided in the embodiment of the present application obtains initial address information and generates the first write instruction in response to the addressing operation, and sends the initial address information and the first write instruction to the first fan among n fans, so that the i-th fan writes the i-th address information corresponding to the i-th fan, so that the n fans automatically complete the addressing one by one, thereby improving the convenience and accuracy of addressing multiple FFUs.

[0019] The fan addressing system provided in the embodiment of the present application obtains initial address information and generates the first write instruction in response to the addressing operation by the upper computer, and sends the initial address information and the first write instruction to the first fan among n fans to trigger automatic addressing of the fan group, thereby improving the convenience of addressing multiple FFUs; through each fan in the fan group, it responds in turn to the i-th write instruction sent by the previous fan for controlling the addressing of the current fan, and sets the i-th address information to the local address number of the i-th fan to realize automatic addressing of n fans, thereby improving the accuracy of addressing multiple FFUs.

[0020] The above description is only an overview of the technical solutions of the embodiments of the present application. In order to more clearly understand the technical means of the embodiments of the present application, they can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiments of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present application. In addition, the same reference symbols are used to represent the same components throughout the drawings. In the drawings:

[0022] Figure 1 A schematic diagram showing an application scenario of the wind turbine address writing method provided in an embodiment of the present application is shown;

[0023] Figure 2 A schematic diagram of pin connections of a fan in a fan unit provided in an embodiment of the present application is shown;

[0024] Figure 3 A schematic diagram of the flow of a wind turbine address writing method provided in an embodiment of the present application is shown;

[0025] Figure 4 A schematic flow chart of a wind turbine addressing method provided in another embodiment of the present application is shown;

[0026] Figure 5 A schematic diagram of a flow chart of a wind turbine addressing method provided in another embodiment of the present application is shown;

[0027] Figure 6 A schematic diagram showing a flow chart of a wind turbine address writing method provided in another embodiment of the present application

[0028] Figure 7 A structural schematic diagram of a wind turbine address writing system provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0029] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0030] This application is applicable to addressing an FFU fan group consisting of multiple FFUs, and is also applicable to addressing multiple fans of other types, for example, addressing a BFU fan group consisting of multiple BFUs (Blowing Filter Units), or addressing a fan group consisting of multiple FFUs and BFU fans.

[0031] Figure 1 The schematic diagram of the application scenario of the wind turbine address writing method provided by the embodiment of the present application is shown. Figure 1 , n wind turbines all include a first network port, a second network port, a microcontroller unit MCU and a 485 communication circuit module; the first network port of the first wind turbine and the second network port of the nth wind turbine are both connected to the host computer via a communication network cable. When i is greater than 1, the first network port of the i-th wind turbine and the second network port of the i-1th wind turbine are connected via a communication network cable.

[0032] The host computer may be a handheld device that can be used to set the fan.

[0033] The communication network cable includes an RS485 communication cable and a first signal cable. The communication network cable is used to transmit signals between two devices. The RS485 communication cable is used to transmit RS485 signals to establish a 485 connection between the two devices. The first signal cable is used to transmit a level signal to establish a first communication connection between the two devices. A 485 connection is established between the host computer and each of the n wind turbines. Specifically, the communication network cable is connected to the RJ45 port of the host computer.

[0034] The communication network cable is preferably a Category 5e network cable. The two core wires of any pair of twisted pairs in the Category 5e network cable are respectively used as the communication line of communication port A and the communication line of communication port B that comply with the RS485 communication protocol to implement 485 connection. Specifically, blue and blue-white twisted pairs can be selected as 485 communication lines and set up in accordance with the TIA / EIA-568B international standard; any one of the remaining twisted pairs in the Category 5e network cable is used as the communication signal line (that is, the first signal line) to implement the automatic addressing function. Of course, multiple pairs can also be used.

[0035] Furthermore, the internal structure of each fan is described.

[0036] The first network port of the fan is connected to the first communication network cable, and is used to receive the RS485 signal and level signal transmitted by the first communication network cable, and transmit the received level signal to the MCU of the fan, and transmit the received RS485 signal to the 485 communication circuit module of the fan.

[0037] The MCU communicates with the first network port through PIN3 of the Category 5e network cable and with the second network port through PIN4. After receiving the level signal from the host computer, PIN3 is set high.

[0038] 485 communication circuit module, connected to the MCU, is used to process the received RS485 signal and send it to the MCU.

[0039] The MCU is used to process the received level signal and / or RS485 signal, and to generate a level signal and / or an initial RS485 signal. It is also used to transmit the generated initial RS485 signal to the 485 communication circuit module and transmit the generated level signal to the second network port.

[0040] When the generated level signal is transmitted to the second network port, PIN4 is set high.

[0041] The 485 communication circuit module is further used to generate an RS485 signal according to the initial RS485 signal and send the generated RS485 signal to the second network port.

[0042] The second network port is connected to the second communication network cable, and is used to transmit the level signal generated by the MCU to the first signal line of the second communication network cable, and to transmit the RS485 signal generated by the 485 communication circuit module to the RS485 communication line of the second communication network cable.

[0043] The 485 communication circuit modules of multiple fans form a parallel structure. When the host computer is electrically connected to the parallel structure, after the host computer sends the RS485 signal, the 485 communication circuit modules of n fans can all receive the RS485 signal sent by the host computer.

[0044] Please combine Figure 1 and Figure 2 , the specific structures of the first network port, the second network port, the micro control unit MCU and the 485 communication circuit module are described. Figure 2 P1 shows a specific structural diagram of the MCU, P2 shows a specific structural diagram of the 485 communication circuit module, P3 shows a circuit connection diagram for realizing the communication function between the MCU and the network port, and P4 shows a specific structural diagram of the first network port.

[0045] The PB04 and PB06 pins of the MCU are connected to the D1 and RO pins of the 485 communication circuit module respectively to realize the signal sending function of 485TX and the signal receiving function of 485RX respectively.

[0046] The PB03 pin of the MCU is connected to port 5 and port 13 of the first network port to implement the level signal transmission function of S1. The circuit structure for implementing signal transmission between the PB03 pin and ports 5 and 13 can be specifically referred to as P3.

[0047] Port A of the 485 communication circuit module is connected to port 7 and port 15 of network port 1 to realize communication of communication port A connected by 485; port B of the 485 communication circuit module is connected to port 3 and port 11 of network port 1 to realize communication of communication port B connected by 485.

[0048] It should be noted that the specific structure of the second network port is similar to that of the first network port. Therefore, the structure of the second network port for implementing communication can refer to the above description of the first network port and will not be repeated here.

[0049] In actual use, since the fan groups are connected in a hand-in-hand structure via the 485 bus, the two core wires of any pair of twisted pairs in the Category 5e network cable are actually used as A and B of the 485. The remaining twisted pairs are non-functional. For the sake of convenience, we choose blue and blue-white twisted pairs as 485 communication lines. According to the TIA / EIA-568B international standard, these are PIN4 and PIN5, which we can name D1 / D2 respectively. Our innovation is to use any one of the remaining twisted pairs as the communication signal line for the automatic dialing function. Of course, multiple pairs can be used, and the principle is the same. For the sake of convenience, we choose PIN1 orange and white as the automatic dialing communication line. Since the fan groups are connected in a hand-in-hand structure via the 485 bus, each fan must have two RJ45 ports, one as the input port and the other as the output port. In addition, to facilitate construction by on-site workers, the definitions of these two input and output ports are arbitrary. Thus, both RJ45 ports have pins corresponding to PIN 1 of the twisted pair cable. For ease of description, these are designated as P1 and P9, respectively. In the PCB design, the communication chip has two GPIO ports, D3 and D4, which connect to P1 and P9, respectively. Thus, pins D1 and D2 on the communication chip correspond to 485+ and 485-, respectively, while pins D3 and D4 correspond to P1 and P9 of the RJ45 port, respectively. When the fan unit is connected to the network cable, P1 and P9 are both connected to the orange and white wires on PIN 1 of the network cable. When the network cable is also plugged into the RJ45 port of the handheld, all the hardware for the write address function is ready: P1 of the handheld is connected to D3 of the fan controller chip via PIN 1 of the network cable. Example

[0050] Figure 3 The flow chart of the wind turbine address writing method provided by the embodiment of the present application is shown. Figure 3 The fan addressing method is applied to a fan group. The fan group has a communication connection with a host computer. The fan group includes n fans arranged in sequence, where n is an integer greater than 1. The fan addressing method includes:

[0051] S110 , the first wind turbine among the n wind turbines receives the initial address information and the first write instruction sent by the host computer.

[0052] The initial address information may include group information and number information, such as "G1F1 (group 1 number 1)".

[0053] The upper computer, in response to the address writing operation, obtains the initial address information and generates the first write instruction, and sends the initial address information and the first write instruction to the first wind machine among the n wind machines, so that the i-th wind machine writes the i-th address information corresponding to the i-th wind machine, wherein the i-th address information is related to the initial address information, and i is sequentially taken from 1 to n.

[0054] The construction personnel trigger the address writing operation on the host computer. The initial address information can be the address information independently input by the user through the buttons or touch screen on the host computer, or can be generated by the host computer itself in response to the address writing operation.

[0055] S120 , the i-th wind turbine among the n wind turbines performs the following steps, wherein i is sequentially incremented from 1 to n.

[0056] S121, in response to the i-th write instruction sent by the i-1th wind machine, set the i-th address information to the local address number of the i-th wind machine, wherein the i-th address information is for the i-1th wind machine or the i-th wind machine is generated according to the i-1th address information, the 0th wind machine is taken as the upper computer, and the 0th address information is taken as the initial address information.

[0057] For example, the first address information of the first wind turbine is G1F1, and the second address information can be obtained by performing character operation on G1F1, and the second address information of the second wind turbine can be G1F2.

[0058] S122: If i does not get n, generate the (i+1)th write instruction and send the (i+1)th write instruction to the (i+1)th wind turbine.

[0059] After S122 is executed, i is incremented by 1 and the process jumps to S121.

[0060] S123: If i gets n, the address writing of the wind turbine group is completed.

[0061] To save system operating costs, preferably, before S110, the wind turbine address writing method further includes:

[0062] S101, n wind turbines receive address writing instructions sent by a host computer through a 485 connection, and enter address writing mode in response to the address writing instructions.

[0063] After S121, the wind turbine address writing method further includes:

[0064] S121a, sending the i-th address information to the host computer via the 485 connection.

[0065] S121b, exit the write address mode.

[0066] The fan enters the address writing mode through the address writing instruction, and exits the address writing mode after completing the address writing, which can save the operating cost of the system.

[0067] Based on the first embodiment, the present application further provides a second embodiment and a third embodiment, so as to implement the wind turbine address writing method provided in the first embodiment by utilizing different communication modes in the communication network cable.

[0068] Among them, embodiment 2:

[0069] Specifically, Figure 4 A schematic diagram showing a flow chart of a wind turbine address writing method provided by another embodiment of the present application is shown. Figure 4 , the fan addressing methods include:

[0070] S210, n wind turbines receive address writing instructions sent by the host computer through 485 connections, and enter address writing mode in response to the address writing instructions.

[0071] S220, the i-th wind turbine among the n wind turbines performs the following steps, wherein i is incremented from 1 to n in sequence:

[0072] S231 , receiving the i-th write instruction and i-th address information sent by the i-1-th wind turbine through the first communication connection, wherein the first address information is the initial address information, and the 0th wind turbine is taken as the host computer.

[0073] S232 : In response to the i-th write instruction, the MCU of the i-th fan sets the i-th address information as the local address number of the i-th fan.

[0074] S233, sending the i-th address information to the host computer via the 485 connection.

[0075] S234, exit the address writing mode.

[0076] S235, if i does not get n, then generate the i+1th write instruction through the MCU of the i-th wind turbine, and generate the i+1th address information according to the i-th address information, and send the i+1th write instruction and the i+1th address information to the i+1th wind turbine through the first communication connection.

[0077] S236: If i gets n, the address writing of the wind turbine group is completed.

[0078] Among them, embodiment three:

[0079] Specifically, the MCU includes a cache space, Figure 5 A flow chart showing a method for writing address of a wind turbine according to another embodiment of the present application is shown. Figure 5 , the fan addressing methods include:

[0080] S310, n wind turbines receive address writing instructions sent by the host computer through 485 connections, and enter address writing mode in response to the address writing instructions.

[0081] S320, the i-th wind turbine among the n wind turbines performs the following steps, wherein i is incremented from 1 to n in sequence:

[0082] S331, receiving the i-1th address information sent by the i-1th wind turbine through the 485 connection, refreshing the cache space and storing the i-1th address information in the cache space, wherein the 0th address information is the initial address information, and the 0th wind turbine is taken as the host computer.

[0083] S332: Receive an i-th write instruction sent by the i-1-th wind turbine through the first communication connection.

[0084] S333, in response to the i-th write instruction, read the i-1th address information of the cache space through the MCU of the i-th fan, generate the i-th address information according to the read i-1th address information, and set the i-th address information to the local address number of the i-th fan.

[0085] S334, sending the i-th address information to the host computer via the 485 connection.

[0086] S335, exit the address writing mode.

[0087] S336, if i does not get n, then generate the i+1th write instruction through the MCU of the i-th wind turbine, broadcast the i-th address information through the 485 communication circuit module, so that the cache space of at least n-1 wind turbines including the i+1th wind turbine is updated to the i-th address information, and send the i+1th write instruction to the i+1th wind turbine through the first communication connection.

[0088] S337, if i gets n, the address writing of the wind turbine group is completed.

[0089] Acquiring the i-th address based on the broadcasting method of the 485 connection can improve the speed and stability of address writing.

[0090] Combining Example 1, Example 2 and Example 3, the fan addressing system provided in the embodiment of the present application obtains the initial address information and generates the first write instruction in response to the addressing operation by the upper computer, and sends the initial address information and the first write instruction to the first fan among n fans to trigger automatic addressing of the fan group, thereby improving the convenience of addressing multiple FFUs; through each fan in the fan group, it responds in turn to the i-th write instruction sent by the previous fan for controlling the addressing of the current fan, and sets the i-th address information to the local address number of the i-th fan to realize automatic addressing of n fans, thereby improving the accuracy of addressing multiple FFUs.

[0091] According to another aspect of an embodiment of the present application, a method for writing an address to a wind turbine is provided. The method is applied to a host computer, wherein the host computer establishes a communication connection with a wind turbine group. The wind turbine group includes n wind turbines arranged in sequence, where n is an integer greater than 1. The method for writing an address to a wind turbine includes:

[0092] S410, in response to the address writing operation, obtaining initial address information and generating a first writing instruction;

[0093] S420, sending initial address information and a first write instruction to the first wind turbine among n wind turbines, so that the i-th wind turbine writes the i-th address information corresponding to the i-th wind turbine, wherein the i-th address information is related to the initial address information, and i is sequentially taken from 1 to n.

[0094] The implementation of S410 and S420 can refer to the above description and will not be repeated here.

[0095] Preferably, after S420, the wind turbine address writing method further includes:

[0096] S430: Receive the i-th address writing information corresponding to the i-th wind machine sent by the i-th wind machine through the 485 connection, wherein the i-th address writing information is used to indicate that the i-th wind machine has completed address writing.

[0097] S440: Determine whether all wind turbine groups have completed address writing based on the i-th address writing information.

[0098] If it is determined that all fan groups have completed address writing (that is, the nth fan has completed address writing), the host computer can prompt the user that writing is complete, for example, by voice broadcast or display; further, the host computer can enter the shutdown state.

[0099] Regarding the determination of whether all wind turbines have completed address writing in S440, in an optional manner,

[0100] The i-th address writing information includes the i-th address information, and the address information between two adjacent wind turbines is separated by a preset number of digits;

[0101] Prior to S440, wind turbine addressing methods also included:

[0102] S431, determining the initial nth address information of the nth wind turbine according to the initial address information and a preset digit;

[0103] S433, judging whether all wind turbine groups have completed address writing according to the i-th address writing information, includes:

[0104] S435 , comparing the initial nth address information and the received i-th address writing information to see if they are consistent. If the initial nth address information and the received i-th address writing information are consistent, it is determined that the address writing of all wind turbine groups has been completed.

[0105] For example, the wind turbine group includes 30 wind turbines, the initial address information is G1F1, the first address information of the first wind turbine is G1F1, the second address information of the second wind turbine is G1F2, and the third address information of the third wind turbine is G1F3. The upper computer can determine that the initial nth address information is G1F30. When the upper computer receives G1F30, it determines that the address writing of the 30th wind turbine has been completed, that is, the address writing of the wind turbine group has been completed.

[0106] In another optional embodiment, S430 further includes:

[0107] S432: Receive the i-th address writing information corresponding to the i-th wind turbine sent by the i-th wind turbine through the 485 connection.

[0108] S434, recording the i-th time when the i-th address writing information is received.

[0109] S436, writing the i-th time into the i-th writing address information.

[0110] S440, further comprising:

[0111] S442 , reading the i-th time of the i-th address writing information. If there is no other address writing information after a preset time period of the i-th time, it is determined that the address writing of all the wind turbine groups has been completed.

[0112] The addresses of n fans in the fan group are written in sequence according to the arrangement order. If the host computer still does not receive new address information after a preset time interval, for example, 3 seconds, it can be assumed that the address writing of the nth fan has been completed, that is, the address writing of the fan group has been completed.

[0113] The fan addressing method applied to the host computer provided in the embodiment of the present application obtains initial address information and generates the first write instruction in response to the addressing operation, and sends the initial address information and the first write instruction to the first fan among n fans, so that the i-th fan writes the i-th address information corresponding to the i-th fan, so that the n fans automatically complete the addressing one by one, thereby improving the convenience and accuracy of addressing multiple FFUs.

[0114] According to another aspect of the embodiment of the present application, a wind turbine address writing system 500 is further provided. The wind turbine address writing system 500 includes a host computer 510 and a wind turbine group. The host computer 510 establishes a communication connection with the wind turbine group. The wind turbine group includes n wind turbines 520 arranged in sequence, where n is an integer greater than 1.

[0115] The host computer 510 includes a response module 511 and a sending module 512 .

[0116] The response module 511 is configured to obtain initial address information and generate a first write instruction in response to the address write operation.

[0117] The sending module 512 is used to send initial address information and the first write instruction to the first wind turbine among n wind turbines, so that the i-th wind turbine writes the i-th address information corresponding to the i-th wind turbine, wherein the i-th address information is related to the initial address information, and i is sequentially taken from 1 to n.

[0118] The wind turbine 520 includes a receiving module 521 and a writing module 522 .

[0119] The receiving module 521 of the first wind turbine among the n wind turbines is used to receive the initial address information and the first write instruction sent by the host computer.

[0120] The write module 522 of n wind machines is used for the i-th wind machine among the n wind machines to perform the following steps, and i is sequentially taken from 1 to n: in response to the i-th write instruction sent by the i-1-th wind machine, the i-th address information is set to the local address number of the i-th wind machine, wherein the i-th address information is for the i-1-th wind machine or the i-th wind machine is generated according to the i-1-th address information, the 0th wind machine is taken as the upper computer, and the 0th address information is taken as the initial address information; if i does not get n, then the i+1-th write instruction is generated, and the i+1-th write instruction is sent to the i+1-th wind machine; if i gets n, the address writing of the wind machine group is completed.

[0121] The fan addressing system provided in the embodiment of the present application obtains initial address information and generates the first write instruction in response to the addressing operation by the upper computer, and sends the initial address information and the first write instruction to the first fan among n fans to trigger automatic addressing of the fan group, thereby improving the convenience of addressing multiple FFUs; through each fan in the fan group, it responds in turn to the i-th write instruction sent by the previous fan for controlling the addressing of the current fan, and sets the i-th address information to the local address number of the i-th fan to realize automatic addressing of n fans, thereby improving the accuracy of addressing multiple FFUs.

[0122] The algorithm or demonstration provided here are not inherently relevant to any particular computer, virtual system or other equipment. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing this type of system. In addition, the present application embodiment is not directed to any specific programming language yet. It should be understood that various programming languages ​​can be utilized to realize the content of the present application described here, and the above description of specific languages ​​is for the purpose of disclosing the best mode of implementation of the present application.

[0123] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of this description.

[0124] Similarly, it should be understood that in order to streamline the present application and facilitate understanding of one or more of the various inventive aspects, in the above description of exemplary embodiments of the present application, various features of the embodiments of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, this method of disclosure should not be interpreted as reflecting an intention that the claimed application requires more features than are expressly recited in each claim.

[0125] Those skilled in the art will appreciate that the modules in the devices of the embodiments can be adaptively modified and installed in one or more devices different from the embodiments. The modules, units, or components in the embodiments can be combined into a single module, unit, or component, or they can be divided into multiple sub-modules, sub-units, or sub-components. All features disclosed in this specification (including the accompanying claims, abstract, and drawings), and all processes or units of any method or device disclosed therein, can be combined in any combination, unless at least some of such features and / or processes or units are mutually exclusive. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0126] It should be noted that the above embodiments illustrate rather than limit the present application, and that a person skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between brackets should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present application may be implemented by means of hardware comprising several different elements and by means of appropriately programmed computers. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments should not be understood as limiting the order of execution unless otherwise specified.

Claims

1. A method for writing address of a fan, characterized in that: Applied to a fan group, the fan group establishes a communication connection with a host computer, and the fan group includes n fans arranged in sequence, where n is an integer greater than 1; The host computer and the n wind turbines establish a 485 connection based on an RS485 communication line, and the host computer and the n wind turbines arranged in sequence establish a first communication connection in sequence based on a first signal line; Each of the n wind turbines includes an MCU, the MCU communicates with a first network port of the wind turbine where the MCU is located via PIN 3 of a Category 5e network cable, and communicates with a second network port of the wind turbine where the MCU is located via PIN 4, and the MCU includes a cache space; The first wind turbine among the n wind turbines establishes a first communication connection with the host computer through the first network port, and establishes a first communication connection with the second wind turbine through the second network port; A middle wind turbine among the n wind turbines establishes a first communication connection with the upper wind turbine of the middle wind turbine through a first network port, and establishes a first communication connection with the lower wind turbine of the middle wind turbine through a second network port, wherein the middle wind turbine includes wind turbines 2 to (n-1) among the n wind turbines; The wind turbine addressing method comprises: The n wind turbines receive the address writing instruction sent by the host computer through the 485 connection, and enter the address writing mode in response to the address writing instruction; The i-th wind turbine among the n wind turbines performs the following steps, wherein i is sequentially incremented from 1 to n: receiving the i-1th address information sent by the i-1th wind turbine through the 485 connection, refreshing the cache space and storing the i-1th address information in the cache space, wherein the 0th address information is the initial address information, and the 0th wind turbine is taken as the host computer; receiving an i-th write instruction sent by the i-1-th wind turbine through the first communication connection; In response to an i-th write instruction sent by the i-1th wind turbine, read the i-1th address information of the cache space through the MCU of the i-th wind turbine, generate the i-th address information according to the read i-1th address information, and set the i-th address information as the local address number of the i-th wind turbine; Sending the i-th address information to the host computer via the 485 connection; Exiting the write address mode; If i does not get n, then generate the i+1th write instruction through the MCU of the i-th wind turbine, broadcast the i-th address information through the 485 communication circuit module, so that the cache space of at least n-1 wind turbines including the i+1th wind turbine is updated to the i-th address information, and send the i+1th write instruction to the i+1th wind turbine through the first communication connection; If i gets n, the address writing of the wind turbine group is completed.

2. The wind turbine addressing method according to claim 1, characterized in that: The n wind turbines each include a first network port, a second network port, a micro control unit MCU and a 485 communication circuit module; The first network port of the first wind turbine and the second network port of the nth wind turbine are both connected to the host computer via a communication network cable. When i is greater than 1, the first network port of the i-th wind turbine and the second network port of the i-1th wind turbine are connected via a communication network cable. The communication network cable includes an RS485 communication line and a first signal line, wherein the communication network cable is used to transmit signals between two devices, the RS485 communication line is used to transmit RS485 signals so that the two devices establish a 485 connection, and the first signal line is used to transmit a level signal so that the two devices establish a first communication connection; A 485 connection is established between the host computer and the n wind turbines; The first network port of the wind turbine is connected to the first communication network cable, and is used to receive the RS485 signal and the level signal transmitted by the first communication network cable, and transmit the received level signal to the MCU of the wind turbine, and transmit the received RS485 signal to the 485 communication circuit module of the wind turbine; The 485 communication circuit module is connected to the MCU and is used to process the received RS485 signal and send it to the MCU; The MCU is used to process the received level signal and / or RS485 signal, and generate the level signal and / or the initial RS485 signal; The MCU is further configured to transmit the generated initial RS485 signal to the 485 communication circuit module, and transmit the generated level signal to the second network port; The 485 communication circuit module is further configured to generate an RS485 signal according to the initial RS485 signal, and send the generated RS485 signal to the second network port; The second network port is connected to the second communication network cable, and is used to transmit the level signal generated by the MCU to the first signal line of the second communication network cable, and transmit the RS485 signal generated by the 485 communication circuit module to the RS485 communication line of the second communication network cable.

3. A method for writing address of a fan, characterized in that: Applied to a host computer, the host computer establishes a communication connection with a fan group, the fan group includes n fans arranged in sequence, where n is an integer greater than 1; The host computer and the n wind turbines establish a 485 connection based on an RS485 communication line, and the host computer and the n wind turbines arranged in sequence establish a first communication connection in sequence based on a first signal line; Each of the n wind turbines includes an MCU, the MCU communicates with a first network port of the wind turbine where the MCU is located via PIN 3 of a Category 5e network cable, and communicates with a second network port of the wind turbine where the MCU is located via PIN 4, and the MCU includes a cache space; The first wind turbine among the n wind turbines establishes a first communication connection with the host computer through the first network port, and establishes a first communication connection with the second wind turbine through the second network port; A middle wind turbine among the n wind turbines establishes a first communication connection with the upper wind turbine of the middle wind turbine through a first network port, and establishes a first communication connection with the lower wind turbine of the middle wind turbine through a second network port, wherein the middle wind turbine includes wind turbines 2 to (n-1) among the n wind turbines; The wind turbine addressing method comprises: In response to the address writing operation, initial address information is obtained and a first writing instruction is generated; Sending an address writing instruction to the n wind turbines based on the 485 connection, sending a first write instruction to the first wind turbine among the n wind turbines based on the first communication connection, and sending initial address information to the first wind turbine based on the 485 connection, so that the n wind turbines complete the address writing in sequence; The n wind turbines receive the address writing instruction sent by the host computer through the 485 connection, and enter the address writing mode in response to the address writing instruction; The i-th wind turbine among the n wind turbines performs the following steps, wherein i is sequentially incremented from 1 to n: receiving the i-1th address information sent by the i-1th wind turbine through the 485 connection, refreshing the cache space and storing the i-1th address information in the cache space, wherein the 0th address information is the initial address information, and the 0th wind turbine is taken as the host computer; receiving an i-th write instruction sent by the i-1-th wind turbine through the first communication connection; In response to an i-th write instruction sent by the i-1th wind turbine, read the i-1th address information of the cache space through the MCU of the i-th wind turbine, generate the i-th address information according to the read i-1th address information, and set the i-th address information as the local address number of the i-th wind turbine; Sending the i-th address information to the host computer via the 485 connection; Exiting the write address mode; If i does not get n, then generate the i+1th write instruction through the MCU of the i-th wind turbine, broadcast the i-th address information through the 485 communication circuit module, so that the cache space of at least n-1 wind turbines including the i+1th wind turbine is updated to the i-th address information, and send the i+1th write instruction to the i+1th wind turbine through the first communication connection; If i gets n, the address writing of the wind turbine group is completed.

4. The wind turbine addressing method according to claim 3, characterized in that: The n wind turbines each include a first network port and a second network port; The host computer is respectively connected to the first network port of the first wind turbine and the second network port of the n-th wind turbine via a communication network cable. When i is greater than 1, the first network port of the i-th wind turbine is connected to the second network port of the i-1-th wind turbine via a communication network cable. The communication network cable includes an RS485 communication line and a first signal line, wherein the communication network cable is used to transmit signals between two devices, the RS485 communication line is used to transmit RS485 signals so that the two devices establish a 485 connection, and the first signal line is used to transmit a level signal so that the two devices establish a first communication connection; A 485 connection is established between the host computer and the n wind turbines.

5. The wind turbine addressing method according to claim 4, characterized in that: After sending an address writing instruction to the n wind turbines based on the 485 connection, sending a first write instruction to the first wind turbine among the n wind turbines based on the first communication connection, and sending initial address information to the first wind turbine based on the 485 connection, so that the n wind turbines complete address writing in sequence, the wind turbine address writing method further includes: Receiving, via the 485 connection, the i-th address writing information corresponding to the i-th wind turbine and sent by the i-th wind turbine, wherein the i-th address writing information is used to indicate that the i-th wind turbine has completed address writing; It is determined whether the address writing of all the wind turbine groups has been completed according to the i-th address writing information.

6. The wind turbine addressing method according to claim 5, characterized in that: The i-th address writing information includes the i-th address information, and the address information between two adjacent wind turbines is separated by a preset number of digits; Before determining whether address writing has been completed for all wind turbine groups according to the i-th address writing information, the wind turbine address writing method further includes: Determining the initial nth address information of the nth wind turbine according to the initial address information and the preset digit; The determining whether all wind turbine groups have completed address writing according to the i-th address writing information includes: Compare the initial nth address information and the received ith writing address information to see if they are consistent, If the initial nth address information is consistent with the received i-th address writing information, it is determined that the address writing of the wind turbine groups has been completed; or, The receiving, through the 485 connection, the i-th address writing information corresponding to the i-th wind turbine sent by the i-th wind turbine further includes: Receiving, via the 485 connection, the i-th address writing information corresponding to the i-th wind turbine sent by the i-th wind turbine; Recording the i-th time of receiving the i-th address writing information; Writing the i-th writing address information into the i-th time; The determining whether all wind turbine groups have completed address writing according to the i-th address writing information further includes: The i-th time of the i-th address writing information is read. If no other address writing information is received after a preset time duration of the i-th time, it is determined that the address writing of all the wind turbine groups has been completed.

7. A wind turbine address writing system, characterized in that: The wind turbine address writing system includes a host computer and a wind turbine group, wherein the host computer establishes a communication connection with the wind turbine group, and the wind turbine group includes n wind turbines arranged in sequence, where n is an integer greater than 1; The host computer and the n wind turbines establish a 485 connection based on an RS485 communication line, and the host computer and the n wind turbines arranged in sequence establish a first communication connection in sequence based on a first signal line; Each of the n wind turbines includes an MCU, the MCU communicates with a first network port of the wind turbine where the MCU is located via PIN 3 of a Category 5e network cable, and communicates with a second network port of the wind turbine where the MCU is located via PIN 4, and the MCU includes a cache space; The first wind turbine among the n wind turbines establishes a first communication connection with the host computer through the first network port, and establishes a first communication connection with the second wind turbine through the second network port; A middle wind turbine among the n wind turbines establishes a first communication connection with the upper wind turbine of the middle wind turbine through a first network port, and establishes a first communication connection with the lower wind turbine of the middle wind turbine through a second network port, wherein the middle wind turbine includes wind turbines 2 to (n-1) among the n wind turbines; The host computer is used to obtain initial address information and generate a first write instruction in response to the address write operation; The host computer is further configured to send an address writing instruction to the n wind turbines based on the 485 connection, send a first write instruction to the first wind turbine among the n wind turbines based on the first communication connection, and send initial address information to the first wind turbine based on the 485 connection, so that the n wind turbines complete the address writing in sequence; The n wind turbines receive the address writing instruction sent by the host computer through the 485 connection, and enter the address writing mode in response to the address writing instruction; The i-th wind turbine among the n wind turbines performs the following steps, wherein i is sequentially incremented from 1 to n: receiving the i-1th address information sent by the i-1th wind turbine through the 485 connection, refreshing the cache space and storing the i-1th address information in the cache space, wherein the 0th address information is the initial address information, and the 0th wind turbine is taken as the host computer; receiving an i-th write instruction sent by the i-1-th wind turbine through the first communication connection; In response to an i-th write instruction sent by the i-1th wind turbine, read the i-1th address information of the cache space through the MCU of the i-th wind turbine, generate the i-th address information according to the read i-1th address information, and set the i-th address information as the local address number of the i-th wind turbine; Sending the i-th address information to the host computer via the 485 connection; Exiting the write address mode; If i does not get n, then generate the i+1th write instruction through the MCU of the i-th wind turbine, broadcast the i-th address information through the 485 communication circuit module, so that the cache space of at least n-1 wind turbines including the i+1th wind turbine is updated to the i-th address information, and send the i+1th write instruction to the i+1th wind turbine through the first communication connection; If i gets n, the address writing of the wind turbine group is completed.

Citation Information

Patent Citations

  • Automatic fan address writing method and address control system

    CN113867207A

  • Automatic networking method and communication method of intelligent equipment

    CN117640592A

  • FFU or BFU fan group control system address automatic coding system and method thereof

    CN118524083A