Wireless building control system based on wireless radio frequency
By adopting LoRa radio frequency communication and self-networking methods in the building control system, the problem of inconvenience in wiring renovation in old communities is solved, and the effect of stable data transmission and saving wiring costs is achieved.
Patent Information
- Application Number
- CN202411885701.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-04-01
AI Technical Summary
When renovating the building control system in old communities, communication cables are inconvenient to arrange, and conventional bus or network-type building controllers require additional wiring work, resulting in inconvenient capacity expansion and high cost.
Using a wireless building control system based on wireless radio frequency, the transformation project is simplified and wiring difficulty is reduced through LoRa radio frequency communication and the self-networking method between the master and slave controllers.
It realizes that while ensuring the stability of data transmission, reduces wiring workload, saves line installation costs, and improves the flexibility and scalability of the system.
Smart Images

Figure CN119741821A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a wireless building control system, in particular to a wireless building control system based on wireless radio frequency. Background Art
[0002] When the building control system is renovated in old residential areas, it is inconvenient to arrange the communication cables. The communication cables in old residential areas often have problems such as the inability to meet the needs of new products and inconvenient expansion. For similar situations, if the conventional bus-type or network-type building controller needs to cover multiple scenarios, additional wiring workload is usually required, that is, the common building control link now. The master station controller and the slave device node controller usually communicate data through a network cable or field bus. After the master station controller collects the slave data, it uploads it to the server or cloud platform through an RS485 data cable or network cable. The user accesses the master station controller and the slave station controller through the client to view or control the data of the terminal device. The terminal device is usually a sensor, a water pump, a fan and other related sampling or control equipment. For this control link, when the field conditions do not have a field bus or network cable, setting up the bus becomes an additional cost in the transformation process.
[0003] Therefore, in order to reduce the workload of wiring and simplify building renovation projects, it is urgent to develop a wireless building control system that can solve the wiring difficulties or reduce the difficulty of wiring. Summary of the invention
[0004] The purpose of the present invention is to provide a wireless building control system based on wireless radio frequency. The present invention can solve the wiring difficulty or reduce the wiring difficulty.
[0005] The technical solution of the present invention is: a wireless building control system based on wireless radio frequency, including a master station controller, the master station controller is respectively connected to a first terminal device and a switch, and the switch is connected to a server and a client; the master station controller is connected to one or more first slave station controllers with wireless transmission function via wireless radio frequency, and the first slave station controller is connected to a second terminal device.
[0006] In the aforementioned wireless building control system based on wireless radio frequency, the master station controller is also connected to a first wireless converter, the first wireless converter is connected to a second wireless converter via a wireless radio frequency connection, the second wireless converter is connected to a second slave station controller that does not have a wireless transmission function, and the second slave station controller is connected to a third terminal device.
[0007] In the aforementioned wireless building control system based on wireless radio frequency, a relay controller is further provided between the first wireless converter and the second wireless converter.
[0008] In the aforementioned wireless building control system based on wireless radio frequency, the master station controller and the slave station controller communicate through LoRa radio frequency to exchange data using collected signals; after the master station controller collects the data from the slave station controller, it uploads the data to the server through the TCP / IP protocol of the network cable, and the client can access or control the data of related devices by accessing the server.
[0009] In the aforementioned wireless building control system based on wireless radio frequency, the data communication process between the master station controller and the slave station controller is as follows: after the master station controller modulates the data through the radio frequency chip, it sends the collection instruction to the slave station controller in the form of radio frequency. After the radio frequency chip of the slave station controller receives the information and demodulates it, it modulates the corresponding data of the terminal device collected through the radio frequency chip and sends it back to the master station controller in the form of radio frequency, thereby completing the data communication.
[0010] In the aforementioned wireless building control system based on wireless radio frequency, wireless communication adopts LoRa radio frequency communication, and the operating frequency is set between 410.125MHz-492.125MHz;
[0011] The master station controller configures a RF communication mode suitable for the current scenario by setting the appropriate spreading factor, coding rate, and bandwidth.
[0012] In the aforementioned wireless building control system based on wireless radio frequency, the process of configuring the radio frequency communication mode is as follows: when the master station controller sends a networking request with the default configuration parameters, the slave station controller will demodulate the received message and send it back. After receiving the returned data, the master station controller will compare it with the sent frame of this communication; when the valid code sent back accounts for 70% of the sent code, it is determined that the current configuration can be transmitted and the parameters will not be adjusted. Otherwise, the corresponding parameters will be adjusted in a small range until the transmission is determined to be stable.
[0013] In the aforementioned wireless building control system based on wireless radio frequency, a communication detection function is provided between the master station controller and the slave station controller, and whether the current communication link is normal is determined by detecting the packet loss rate.
[0014] In the aforementioned wireless building control system based on wireless radio frequency, the communication detection function is to detect between the master station controller and the slave station controller through mutual transmission and reception; the master station controller modulates the data packet and sends it out in the form of radio frequency, records the data status at this time, and verifies it; then the master station controller is in a waiting state, and after the slave station controller receives the data packet and demodulates it, it modulates the corresponding data and replies, and then the slave station controller is in an idle state; the master station controller receives the reply message again and compares and judges it. If the judgment is passed, it will be determined that the communication has passed and counted; if during the transmission and reception process, after the master station controller sends, the slave station controller records the data and requests the next packet of data.
[0015] Compared with the prior art, the present invention utilizes LoRa radio frequency communication, combined with the self-networking method between the master station controller and the slave station controller, to build a wireless network to simplify the transformation project. Specifically, the present application uses wireless radio frequency for data communication. After simple networking, the master station controller can communicate data with multiple slave station controllers in the form of wireless radio frequency, upload data to the server through the TCP / IP protocol of the network cable, and the client can access or control the data of the relevant equipment by accessing the server; therefore, the actual wiring part only needs to arrange the network cable between the master station controller and the switch or server; after the master station controller collects the data from the slave station, the slave station controller and the master station controller can be set to the same communication channel to ensure data communication. If the master and slave are far apart or the communication is poor, a relay controller can be added between the master and slave controllers for data relay transmission. A communication detection function is also provided between the master station and the slave station controller, which determines whether the current communication link is normal by detecting the packet loss rate.
[0016] In summary, the technical solution of the present application has the following advantages: 1) ensuring stable data communication capability while ensuring a large amount of data transmission;
[0017] 2) While maintaining data collection capabilities, the controller can also collect, upload and control data through wireless networking;
[0018] 3) It has strong flexibility. In addition to wired data transmission, it also supports wireless data collection and control. Compared with traditional wired transmission, it provides an additional data transmission mode option.
[0019] 4) In certain scenarios, it saves a lot of line laying costs. When some old buildings are renovated, there is no additional bus support on site. Therefore, in such projects, a lot of line laying costs can be saved through wireless form. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1It is a schematic diagram of the structure of the present invention;
[0021] Figure 2 This is the distribution diagram of the master and slave controllers in an underground garage in a certain park;
[0022] Figure 3 This is the distribution map of the master and slave controllers in the fan room and elevator shaft area of a certain campus.
[0023] The markings in the accompanying drawings are: 1-master station controller, 2-first terminal device, 3-switch, 4-server, 5-client, 6-first slave station controller, 7-second terminal device, 8-first wireless converter, 9-second wireless converter, 10-second slave station controller, 11-third terminal device, 12-relay controller. DETAILED DESCRIPTION
[0024] The present invention is further described below in conjunction with the accompanying drawings and embodiments, but they are not intended to limit the present invention.
[0025] Embodiment. A wireless building control system based on wireless radio frequency, comprising: Figure 1 As shown, it includes a master station controller 1, which is respectively connected to a first terminal device 2 and a switch 3, and the switch 3 is connected to a server 4 and a client 5; the master station controller 1 is connected to one or more first slave station controllers 6 with wireless transmission function via wireless radio frequency, and the first slave station controller 6 is connected to a second terminal device 7.
[0026] The master station controller 1 is also connected to a first wireless converter 8, which is connected to a second wireless converter 9 via a wireless radio frequency connection. The second wireless converter 9 is connected to a second slave station controller 10 that does not have a wireless transmission function, and the second slave station controller 10 is connected to a third terminal device 11.
[0027] A relay controller 12 is further provided between the first wireless converter 8 and the second wireless converter 9 .
[0028] The master controller and the slave controller communicate via LoRa radio frequency to exchange data using collected signals. After the master controller collects data from the slave controller, it uploads the data to the server via the TCP / IP protocol of the network cable. The client can access or control data on related devices by accessing the server.
[0029] The data communication process between the master station controller and the slave station controller is as follows: the master station controller modulates the data through the RF chip, and sends the collection instruction to the slave station controller in the form of RF. After the RF chip of the slave station controller receives the information and demodulates it, it modulates the corresponding data of the collected terminal device through the RF chip and sends it back to the master station controller in the form of RF, thereby completing the data communication.
[0030] Wireless communication uses LoRa radio frequency communication, and the operating frequency is set between 410.125MHz-492.125MHz;
[0031] The master station controller configures a RF communication mode suitable for the current scenario by setting the appropriate spreading factor, coding rate, and bandwidth.
[0032] The process of configuring the RF communication mode is as follows: when the master station controller sends a networking request with the default configuration parameters, the slave station controller will demodulate the received message and send it back. After receiving the returned data, the master station controller will compare it with the sent frame of this communication; when the returned valid code accounts for 70% of the sent code, it is determined that the current configuration can be transmitted and the parameters will not be adjusted. Otherwise, the corresponding parameters will be adjusted in a small range until the transmission is determined to be stable.
[0033] A communication detection function is set between the master station controller and the slave station controller to determine whether the current communication link is normal by detecting the packet loss rate.
[0034] The communication detection function uses mutual transmission and reception between the master station controller and the slave station controller for detection; the master station controller modulates the data packet and sends it out in the form of radio frequency, records the data status at this time, and verifies it; then the master station controller is in a waiting state, and after the slave station controller receives the data packet and demodulates it, it modulates the corresponding data and replies, and then the slave station controller is in an idle state; the master station controller receives the reply message again and compares and judges it. If it is judged to be passed, it will be deemed that this communication has passed and counted; if during the transmission and reception process, after the master station controller sends, the slave station controller records this data and requests the next packet of data.
[0035] LoRa radio frequency: A wireless radio frequency transmission mode that can transmit over long distances. Its transmission distance is longer than the 2.4GHz frequency band, and its ability to penetrate walls and bypass obstacles is stronger.
[0036] Self-networking: refers to the configuration of the same communication frequency band and master-slave mode between controllers, which can conduct data communication independently.
[0037] The purpose of the present invention is to provide a wireless control system solution, in which the master and slave controllers mainly communicate with each other through LoRa radio frequency communication to exchange data with the collected signals. After the master station controller collects the data from the slave station controller, it uploads the data to the server through the TCP / IP protocol of the network cable, and the client accesses or controls the data of the relevant equipment by accessing the server.
[0038] The slave controller and the master controller can ensure data intercommunication by setting the same communication channel. If the distance between the master and the slave is long or the communication is poor, a relay controller can be added between the master and the slave for data relay transmission. The relay controller does not control the terminal device or process the data, but only transmits the data transparently.
[0039] A master controller can establish data communication with multiple slave controllers at the same time, and use polling to access data with each slave controller. A communication detection function can be set between the master and slave controllers to determine whether the current communication link is normal by detecting the packet loss rate.
[0040] 1.1. Solution implementation method
[0041] The controller wireless communication adopts LoRa radio frequency communication, and the operating frequency can be set between 410.125MHz and 492.125MHz by setting the communication channel. When configuring the master-slave control, you need to use a network cable to configure it through TCP / IP. After the wireless channel is configured, the master station and slave station controllers can communicate data through wireless radio frequency.
[0042] When configuring the channel, the communication channel needs to be specially configured. After setting the same communication channel, the master station can communicate data with the corresponding slave station, and the relay controller needs to be configured with the appropriate network address while using the same channel as the master and slave to complete the setting of the relay controller.
[0043] 1.2. Data processing methods
[0044] The master station controller modulates the data through the RF chip through the processor, and sends the collection instruction to the slave station in the form of RF. After the slave station RF chip receives the information and demodulates it, it modulates the corresponding data of the terminal device through the RF chip and sends it back to the master station in the form of RF, thereby completing data communication; polling of multiple slave stations completes the device networking in an independent scenario.
[0045] The modulation and demodulation RF chip in the controller can be configured with a communication frequency from 410.125MHz to 492.125MHz. The processor can configure a RF communication mode suitable for the current scenario by setting the appropriate spreading factor, coding rate, and bandwidth.
[0046] The communication quality is judged by testing the packet loss rate. According to the test results (Table 1 and Table 2), in an underground garage of a certain park, about 6000m 2 In the scenario (the distribution diagram of the master station controller and the slave station controller in the underground garage is as follows Figure 2 As shown), the packet loss rate in the whole scene can be basically guaranteed to be within 2%; in a scene of a fan room and elevator shaft of a certain park with an area of about 1500m2 (the master station controller and the slave station controller are distributed as shown in Figure 3 As shown), it can basically ensure that the packet loss rate in the scene is within 2%, so it can be determined that the communication situation can basically meet the communication usage requirements of the relevant scenes.
[0047] Table 1. Packet loss rate test results in underground garage scenario
[0048] Slave No. time weather Number of packets sent Number of reply packets Packet loss rate % Slave 1 20240805-15:40 clear 33738 33125 1.81 Slave 2 20240805-16:28 clear 78261 78053 0.26 Slave 3 20240806-16:50 clear 54775 53796 1.73 Slave 4 20240805-14:10 clear 55000 54775 0.41
[0049] Table 2. Packet loss rate test results in the computer room and elevator shaft scenarios
[0050] Slave No. time weather Number of packets sent Number of reply packets Packet loss rate % Slave 1 20240508-13:20 clear 48835 48743 0.18 Slave 2 20240808-15:20 clear 35002 34894 0.3 Slave 3 20240807-14:02 clear 51595 50755 1.62 Slave 4 20240807-11:04 clear 74291 73936 0.47
Claims
1. A wireless building control system based on wireless radio frequency, characterized in that: The invention comprises a master station controller (1), the master station controller (1) is respectively connected to a first terminal device (2) and a switch (3), the switch (3) is connected to a server (4) and a client (5); the master station controller (1) is connected to one or more first slave station controllers (6) having a wireless transmission function via a wireless radio frequency, and the first slave station controller (6) is connected to a second terminal device (7).
2. A wireless building control system based on wireless radio frequency according to claim 1, characterized in that: The master station controller (1) is also connected to a first wireless converter (8), the first wireless converter (8) is connected to a second wireless converter (9) via a wireless radio frequency connection, the second wireless converter (9) is connected to a second slave station controller (10) that does not have a wireless transmission function, and the second slave station controller (10) is connected to a third terminal device (11).
3. The wireless building control system based on wireless radio frequency according to claim 1, characterized in that: A relay controller (12) is also provided between the first wireless converter (8) and the second wireless converter (9).
4. The wireless building control system based on wireless radio frequency according to claim 1, characterized in that: The master controller and the slave controller communicate via LoRa radio frequency to exchange data using collected signals. After the master controller collects data from the slave controller, it uploads the data to the server via the TCP / IP protocol of the network cable. The client can access or control data on related devices by accessing the server.
5. A wireless building control system based on wireless radio frequency according to claim 4, characterized in that: The data communication process between the master station controller and the slave station controller is as follows: the master station controller modulates the data through the RF chip, and sends the collection instruction to the slave station controller in the form of RF. After the RF chip of the slave station controller receives the information and demodulates it, it modulates the corresponding data of the collected terminal device through the RF chip and sends it back to the master station controller in the form of RF, thereby completing the data communication.
6. The wireless building control system based on wireless radio frequency according to claim 4, characterized in that: Wireless communication uses LoRa radio frequency communication, and the operating frequency is set between 410.125MHz-492.125MHz; The master station controller configures a RF communication mode suitable for the current scenario by setting appropriate spreading factors, coding rates, and bandwidths.
7. A wireless building control system based on wireless radio frequency according to claim 6, characterized in that: The process of configuring the RF communication mode is as follows: when the master station controller sends a networking request with the default configuration parameters, the slave station controller will demodulate the received message and send it back. After receiving the returned data, the master station controller will compare it with the sent frame of this communication; when the returned valid code accounts for 70% of the sent code, it is determined that the current configuration can be transmitted and the parameters will not be adjusted. Otherwise, the corresponding parameters will be adjusted in a small range until the transmission is determined to be stable.
8. The wireless building control system based on wireless radio frequency according to claim 4, characterized in that: A communication detection function is set between the master station controller and the slave station controller to determine whether the current communication link is normal by detecting the packet loss rate.
9. A wireless building control system based on wireless radio frequency according to claim 8, characterized in that: The communication detection function is to detect the master station controller and the slave station controller by sending and receiving each other; the master station controller modulates the data packet and sends it out in the form of radio frequency, records the data status at this time, and verifies it; After that, the master station controller is in a waiting state. After the slave station controller receives the data packet and demodulates it, it modulates the corresponding data and replies. After that, the slave station controller is in an idle state. After receiving the reply message again, the master station controller will compare and judge. If it is judged to be successful, it will be considered that the communication is successful and counted; If during the transmission and reception process, after the master station controller sends, the slave station controller records the data and requests the next packet of data.
Citation Information
Patent Citations
Intelligent information acquisition system and method based on UHF
CN111505981A
Parameter wireless transmission system of well drilling on-site well logging instrument
CN202152679U