CN107196707B - Distributed radio over fiber-WiFi-ZigBee network - Google Patents
Distributed radio over fiber-WiFi-ZigBee network Download PDFInfo
- Publication number
- CN107196707B CN107196707B CN201710375387.2A CN201710375387A CN107196707B CN 107196707 B CN107196707 B CN 107196707B CN 201710375387 A CN201710375387 A CN 201710375387A CN 107196707 B CN107196707 B CN 107196707B
- Authority
- CN
- China
- Prior art keywords
- distributed
- zigbee
- wifi
- wireless
- host
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000004891 communication Methods 0.000 claims abstract description 29
- 230000006870 function Effects 0.000 claims abstract description 9
- 230000003287 optical effect Effects 0.000 claims description 34
- 230000005540 biological transmission Effects 0.000 claims description 15
- 238000006243 chemical reaction Methods 0.000 claims description 11
- 230000003321 amplification Effects 0.000 claims description 4
- 238000009826 distribution Methods 0.000 claims description 4
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 4
- 239000013307 optical fiber Substances 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 4
- 238000013480 data collection Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 12
- 239000000835 fiber Substances 0.000 abstract 3
- 238000000034 method Methods 0.000 description 6
- 230000002457 bidirectional effect Effects 0.000 description 5
- 230000005855 radiation Effects 0.000 description 5
- 239000007787 solid Substances 0.000 description 5
- 238000010276 construction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000035945 sensitivity Effects 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 2
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009776 industrial production Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/25—Arrangements specific to fibre transmission
- H04B10/2575—Radio-over-fibre, e.g. radio frequency signal modulated onto an optical carrier
- H04B10/25752—Optical arrangements for wireless networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/25—Arrangements specific to fibre transmission
- H04B10/2575—Radio-over-fibre, e.g. radio frequency signal modulated onto an optical carrier
- H04B10/25752—Optical arrangements for wireless networks
- H04B10/25758—Optical arrangements for wireless networks between a central unit and a single remote unit by means of an optical fibre
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及工控技术领域,尤其涉及一种WiFi光载无线交换系统中的基于2.4GHz的Zigbee主从分布式网络。The invention relates to the technical field of industrial control, in particular to a 2.4GHz-based Zigbee master-slave distributed network in a WiFi optical carrier wireless switching system.
背景技术Background technique
传统的工业通讯方式——现场总线,存在传输距离短、互操作性差、传输速率低、需人工布线等缺点。因此,为了实现生产现场的无人值守和远程控制,找到一种便捷有效的方式来解决上述问题,则成为技术发展的趋势。The traditional industrial communication method, field bus, has shortcomings such as short transmission distance, poor interoperability, low transmission rate, and manual wiring. Therefore, in order to realize the unattended and remote control of the production site, it has become a trend of technological development to find a convenient and effective way to solve the above problems.
一篇公开号为CN103200702A的中国发明专利申请揭示了一种分布式光载无线-WiFi-Modbus网络,包括:光载无线交换系统,Modbus主机和至少两个Modbus从机;所述光载无线交换系统与Modbus主机之间、所述Modbus主机与Modbus从机间通过辐射天线进行无线通信;前述Modbus主机与Modbus从机间的通信方式为通过无线通信模块的射频信号进行无线通信;所述光载无线交换系统包括中心站和光线链路,连接在中心站和远端射频单元之间的光纤链路用来实现WiFi无线射频信号的分发,中心站用来进行信号交换、控制和处理,远端射频单元用来实现光电转换和射频功率放大。该专利申请提出的分布式光载无线-WiFi-Modbus网络,实现了终端数据的无线采集和集中管控,且网络环境搭建灵活、安全、可靠。但当某一台WiFi-Modbus主机出现故障时,会导致大量的Modbus从机不能工作,严重影响整个网络的正常工作,网络后期的维护管理极为麻烦。A Chinese invention patent application with publication number CN103200702A discloses a distributed wireless-over-optical-WiFi-Modbus network, including: a wireless-over-optical switching system, a Modbus master and at least two Modbus slaves; the wireless-over-optical switching system Wireless communication is carried out between the system and the Modbus master, and between the Modbus master and the Modbus slave through the radiation antenna; the communication mode between the aforementioned Modbus master and the Modbus slave is wireless communication through the radio frequency signal of the wireless communication module; the optical carrier The wireless switching system includes a central station and an optical link. The optical fiber link connected between the central station and the remote radio frequency unit is used to realize the distribution of WiFi wireless radio frequency signals. The central station is used for signal exchange, control and processing. The radio frequency unit is used to realize photoelectric conversion and radio frequency power amplification. The distributed optical carrier wireless-WiFi-Modbus network proposed in this patent application realizes the wireless collection and centralized management and control of terminal data, and the network environment is flexible, safe and reliable. However, when a certain WiFi-Modbus master fails, a large number of Modbus slaves cannot work, which seriously affects the normal operation of the entire network, and the maintenance and management of the network in the later stage is extremely troublesome.
发明内容SUMMARY OF THE INVENTION
针对现有技术中存在的问题,本发明的目的在于提出一种网络稳定、健壮的分布式光载无线-WiFi-Zigbee网络。In view of the problems existing in the prior art, the purpose of the present invention is to propose a distributed optical-borne wireless-WiFi-Zigbee network with stable and robust network.
为实现该目的,本发明采用如下技术方案:To achieve this purpose, the present invention adopts the following technical solutions:
本发明中的分布式光载无线-WiFi-Zigbee网络,其特征在于,包括:光载无线交换系统、分布式主机、分布式从机(若干)、Zigbee无线模块、WiFi模块。The distributed optical carrier wireless-WiFi-Zigbee network in the present invention is characterized by comprising: an optical carrier wireless switching system, a distributed host, a distributed slave (several), a Zigbee wireless module, and a WiFi module.
所述的光载无线交换系统结合光载无线技术和WiFi(Wireless Fidelity,无线保真技术)无线宽带局域网技术,利用中心站(CS,Central Station)和远端基站(BS,BaseStation)之间的光纤链路实现WiFi无线射频(RF,Radio Frequency)信号的分发,而信号交换、控制和处理模块都集中在中心站(CS),远端基站(BS)仅实现光电转换和射频功率放大功能。这样,将复杂、昂贵的设备集中到中心站点,让多个远端基站共享这些设备,从而减少基站的功耗和成本,提高系统的可靠性和安全性,同时可以利用光载无线交换系统实现频谱带宽资源的动态分配。The optical carrier wireless switching system combines the optical carrier wireless technology and the WiFi (Wireless Fidelity, wireless fidelity technology) wireless broadband local area network technology, and utilizes the communication between the central station (CS, Central Station) and the remote base station (BS, BaseStation). The optical fiber link realizes the distribution of WiFi wireless radio frequency (RF, Radio Frequency) signals, and the signal exchange, control and processing modules are concentrated in the central station (CS), and the remote base station (BS) only realizes the photoelectric conversion and RF power amplification functions. In this way, the complex and expensive equipment is centralized in the central site, and these equipments are shared by multiple remote base stations, thereby reducing the power consumption and cost of the base station, improving the reliability and security of the system. Dynamic allocation of spectrum bandwidth resources.
所述的分布式主机由微处理器、Zigbee无线接口、WiFi网络接口、I/O接口等硬件及软件系统构成。分布式主机通过WiFi网络接口实现主机和光载无线交换系统的通信;分布式主机通过Zigbee无线接口实现分布式主机对分布式从机的控制和数据的采集;分布式主机通过I/O接口控制Zigbee无线模块及WiFi模块实现无线数据传输,完成数据的收发和状态的显示;软件系统包括单片机控制软件和应用软件,单片机控制系统包含主机无线Zigbee(Z-Stack)协议,应用软件具有上位机传感器数据采集系统、WiFi模块配置系统等功能。The distributed host is composed of a microprocessor, a Zigbee wireless interface, a WiFi network interface, an I/O interface and other hardware and software systems. The distributed host realizes the communication between the host and the optical carrier wireless switching system through the WiFi network interface; the distributed host realizes the control of the distributed slave and the data collection of the distributed slave through the Zigbee wireless interface; the distributed host controls the Zigbee through the I/O interface The wireless module and WiFi module realize wireless data transmission, complete data receiving and sending and status display; the software system includes single-chip control software and application software, the single-chip control system includes the host wireless Zigbee (Z-Stack) protocol, and the application software has host computer sensor data Acquisition system, WiFi module configuration system and other functions.
所述的分布式从机由微处理器、存储器、Zigbee无线接口、I/O接口等硬件及软件系统构成。分布式从机通过Zigbee无线接口实现分布式主机和分布式从机的实时通信,完成分布式主机的命令;分布式从机通过I/O接口控制Zigbee无线模块实现无线数据传输,完成数据的收发和状态的显示;软件系统包含分布式从机无线Zigbee(Z-Stack)协议。The distributed slave is composed of a microprocessor, a memory, a Zigbee wireless interface, an I/O interface and other hardware and software systems. The distributed slave realizes the real-time communication between the distributed master and the distributed slave through the Zigbee wireless interface, and completes the commands of the distributed master; the distributed slave controls the Zigbee wireless module through the I/O interface to realize wireless data transmission, and completes the sending and receiving of data. and status display; the software system includes distributed slave wireless Zigbee (Z-Stack) protocol.
所述Zigbee无线模块使用2.4GHz免费ISM频段免许可证,最大传输数率达200Kbps,并可软件修改波特率,开阔地传输距离达到200米,具有无线唤醒等功能,灵敏度达到-90dBm,可靠性高,可广泛应用于各种场合的短距离无线通信领域(如无线抄表、工业遥控、低功耗手持设备等)。基于Zigbee无线模块实现了无线数据传输,提高了可靠性。The Zigbee wireless module uses 2.4GHz free ISM frequency band license-free, the maximum transmission rate is up to 200Kbps, and the baud rate can be modified by software, the transmission distance in the open field is up to 200 meters, it has functions such as wireless wake-up, the sensitivity is up to -90dBm, and the reliability is up to -90dBm. It can be widely used in the field of short-distance wireless communication in various occasions (such as wireless meter reading, industrial remote control, low-power handheld devices, etc.). The wireless data transmission is realized based on Zigbee wireless module, which improves the reliability.
所述WiFi模块为串口或TTL电平转WIFI通信的一种传输转换模块,Uart-WiFi模块是基于Uart接口的符合WiFi无线网络标准的嵌入式模块,内置无线网络协议IEEE802.11协议栈以及TCP/IP协议栈,能够实现用户串口或TTL电平数据到无线网络之间的转换。根据主控制器的硬件电路设计,可以实现Zigbee与WiFi的相互转换,从而灵活方便的接入分布式光载无线WiFi网络。The WiFi module is a transmission conversion module that converts serial port or TTL level to WIFI communication. The Uart-WiFi module is an embedded module based on the Uart interface that conforms to the WiFi wireless network standard, with built-in wireless network protocol IEEE802.11 protocol stack and TCP /IP protocol stack, which can realize the conversion between user serial port or TTL level data to wireless network. According to the hardware circuit design of the main controller, the mutual conversion between Zigbee and WiFi can be realized, so as to flexibly and conveniently access the distributed optical carrier wireless WiFi network.
工作过程描述:Work process description:
工作前搭建好所需的硬件环境,包括光载无线系统的搭建、分布式无线Zigbee主从机系统的搭建、终端采集系统的搭建(温湿度传感器、气体传感器、人体传感器等)。Before working, build the required hardware environment, including the construction of the optical wireless system, the construction of the distributed wireless Zigbee master-slave system, and the construction of the terminal acquisition system (temperature and humidity sensor, gas sensor, human body sensor, etc.).
系统初始化工作时,分布式主机配置好各个寄存器的参数、WiFi模块的参数、Zigbee无线模块的参数等,分布式从机配置好各个寄存器的参数、Zigbee无线模块的参数等。为保证通信正常进行,需设定光载无线交换系统的远端WiFi网络和分布式主机的WiFi模块具有相同的SSID(网络名)、认证密码、工作频道、工作模式等;分布式主机与分布式从机Zigbee无线模块的网络ID和信道等参数一致。When the system is initialized, the distributed host configures the parameters of each register, WiFi module, Zigbee wireless module, etc., and the distributed slave configures the parameters of each register and Zigbee wireless module. In order to ensure normal communication, it is necessary to set the remote WiFi network of the optical carrier wireless switching system and the WiFi module of the distributed host to have the same SSID (network name), authentication password, working channel, working mode, etc.; The network ID and channel parameters of the Zigbee wireless module of the slave device are the same.
控制中心通过光载无线交换系统将WiFi信号覆盖到远端分布式天线系统,分布式主机的WiFi模块接到分布式系统中,分布式主机负责将WiFi信号转换为Zigbee无线信号发射出去,这样控制中心发送指令,经光载无线交换系统再由分布式主机的WiFi模块,将其转换为Zigbee无线信号发送给分布式从机,分布式从机再通过RS232/RS485串行接口将指令发送至各种终端传感器,对传感器完成相应的控制和数据的采集,传感器通过相同的方式将采集的数据回发给控制中心,从而实现了高速、灵活、安全的网络覆盖,完成了数据的无线采集、控制与管理。The control center covers the WiFi signal to the remote distributed antenna system through the optical carrier wireless switching system. The WiFi module of the distributed host is connected to the distributed system, and the distributed host is responsible for converting the WiFi signal into Zigbee wireless signal and transmitting it. The center sends the command, and the WiFi module of the distributed host converts it into a Zigbee wireless signal through the optical carrier wireless switching system and sends it to the distributed slave, and the distributed slave sends the command to each through the RS232/RS485 serial interface It is a kind of terminal sensor, which completes the corresponding control and data collection for the sensor. The sensor sends the collected data back to the control center in the same way, so as to achieve high-speed, flexible and safe network coverage, and complete the wireless collection and control of data. and management.
本发明的有益效果是:The beneficial effects of the present invention are:
在现有的工业控制网络技术中,没有出现采用本发明的分布式光载无线-WiFi-Zigbee网络系统实现的。本发明的分布式光载无线-WiFi-Zigbee网络技术和理念属首创。In the existing industrial control network technology, there is no implementation of the distributed optical carrier wireless-WiFi-Zigbee network system of the present invention. The distributed optical carrier wireless-WiFi-Zigbee network technology and concept of the present invention are the first.
本发明应用在各种工业生产中,经济、便捷,产品的互操作性好,大大减少了人工布置通信线路并很好的实现了资源的共享及远程的集中监控和管理,对进一步提高整个工控领域的集成度和自动化程度有着积极的意义。The invention is applied in various industrial productions, is economical, convenient, and has good product interoperability, greatly reduces the manual arrangement of communication lines, and well realizes resource sharing and remote centralized monitoring and management. The degree of integration and automation of the domain has positive implications.
在本发明中采用Zigbee无线通讯技术有效覆盖50~200米,分布式的主机与分布式的从机通过Zigbee协议进行数据通信;分布式主机再通过WiFi把数据进一步传输至光载无线交换系统。由于WiFi接入点可以集中在控制室,则可以通过WiFi接入多点分布式从机,而从机由于采用了Zigbee通信技术,即无需每个从机都用WiFi通信,降低了成本,另外采用Zigbee协议实现了按两个字节的短地址查询并通信的功能,有效地提高了系统的可靠性、安全性和灵活性,实现了分布式数据的采集。In the present invention, the Zigbee wireless communication technology is used to effectively cover 50-200 meters. The distributed host and the distributed slaves communicate with each other through the Zigbee protocol; the distributed host further transmits the data to the optical carrier wireless switching system through WiFi. Since the WiFi access points can be concentrated in the control room, the multi-point distributed slaves can be accessed through WiFi, and the slaves use Zigbee communication technology, that is, each slave does not need to communicate with WiFi, which reduces the cost. The Zigbee protocol is adopted to realize the function of query and communication according to the short address of two bytes, which effectively improves the reliability, security and flexibility of the system, and realizes the collection of distributed data.
与分布式光载无线-WiFi-Modbus网络相比,分布式光载无线-WiFi-Zigbee网络具备网络自动愈合功能。在一般的分布式光载无线-WiFi-Zigbee网络应用中,一台光载无线交换系统会携带多台WiFi-Zigbee主机,每一台WiFi-Zigbee主机也可携带一台或多台Zigbee从机。假如某一台ZigBee从机处于两台WiFi-ZigBee主机的重叠网络覆盖范围内,当其中一台WiFi-ZigBee主机因为某种因素造成损坏,无法正常工作时,该Zigbee从机会自动接入另一台WiFi-Zigbee主机的Zigbee网络,而无需进行任何人为调整配置,大大提高了网络的稳定性和健壮性,便于后期网络的维护和管理。Compared with the distributed wireless-over-optical-WiFi-Modbus network, the distributed wireless-over-optical-WiFi-Zigbee network has the function of network auto-healing. In the general distributed optical carrier wireless-WiFi-Zigbee network application, an optical carrier wireless switching system will carry multiple WiFi-Zigbee hosts, and each WiFi-Zigbee host can also carry one or more Zigbee slaves . If a ZigBee slave is in the overlapping network coverage of two WiFi-ZigBee hosts, when one of the WiFi-ZigBee hosts is damaged due to some factor and cannot work normally, the Zigbee slave will automatically connect to the other one. The Zigbee network of the WiFi-Zigbee host does not need to be adjusted and configured manually, which greatly improves the stability and robustness of the network and facilitates the maintenance and management of the network in the later stage.
附图说明Description of drawings
图1为分布式光载无线-WiFi-Zigbee网络原理框图。Figure 1 is a schematic block diagram of a distributed optical carrier wireless-WiFi-Zigbee network.
图2为分布式从机的原理框图。Figure 2 is a schematic block diagram of a distributed slave.
图3为分布式主机的原理框图。Figure 3 is a schematic block diagram of a distributed host.
图4分布式光载无线-WiFi-Zigbee网络的控制软件流程图。Fig. 4 The control software flow chart of the distributed wireless-over-optical-WiFi-Zigbee network.
具体实施方式Detailed ways
下面结合附图和示例性实施例对本发明作进一步地描述,其中附图中相同的标号全部指的是相同的部件。此外,如果已知技术的详细描述对于示出本发明的特征是不必要的,则将其省略。The present invention is further described below with reference to the accompanying drawings and exemplary embodiments, wherein like numerals in the drawings refer to like parts throughout. Also, if a detailed description of known art is not necessary to illustrate the features of the present invention, it will be omitted.
如图1所示,一种分布式光载无线-WiFi-Zigbee网络包括:光载无线交换系统1,分布式主机2,分布式从机3(若干),Zigbee无线模块,WiFi模。As shown in Figure 1, a distributed wireless-over-optical-WiFi-Zigbee network includes: a wireless-over-optical switching system 1, a distributed
其中,光载无线交换系统1是结合光载无线技术和WiFi(Wireless Fidelity,无线保真技术)无线宽带局域网技术,利用中心站(CS,Central Station)和远端基站(BS,BaseStation)之间的光纤链路实现WiFi无线射频(RF,Radio Frequency)信号的分发,而信号交换、控制和处理模块都集中在中心站(CS),远端基站(BS)仅实现光电转换和射频功率放大功能。Among them, the optical carrier wireless switching system 1 is a combination of optical carrier wireless technology and WiFi (Wireless Fidelity, wireless fidelity technology) wireless broadband local area network technology, using the central station (CS, Central Station) and the remote base station (BS, BaseStation) between The optical fiber link realizes the distribution of WiFi wireless radio frequency (RF, Radio Frequency) signals, and the signal exchange, control and processing modules are concentrated in the central station (CS), and the remote base station (BS) only realizes photoelectric conversion and RF power amplification. .
辐射天线101、201为WiFi模块的辐射天线,工作在2.4GHz频段,收发WiFi无线射频信号。The
辐射天线211、301为ZigBee无线模块的辐射天线,工作在2.4GHz频段,收发2.4G无线射频信号。The
虚线表示从机可以为1~255个。The dotted line indicates that the number of slaves can be 1 to 255.
如图2所示,所述分布式从机3由Zigbee模块304、微处理器303、RS232/RS485模块305、电源模块302、接口306构成,实现通过RS232/RS485模块305及接口306采集外部信号,通过Zigbee模块304与分布式主机进行通信,并把数据按照Z-Stack协议处理。As shown in FIG. 2 , the distributed
电源模块302为给分布式从机提供电源,其工作在0.7V~5.5V,200mA。实线307为电源模块给从机其它电路提供电源。微处理器303由内存储器、I/O接口等硬件及软件系统构成。实双向线308为微处理器与Zigbee无线模块进行半双工通信线路。Zigbee无线模块304使用2.4GHz免费ISM频段免许可证,最大传输数率达200Kbps,并可软件修改波特率,开阔地传输距离达到200米,具有无线唤醒等功能,灵敏度达到-90dBm,发射功率最大为10dBm。辐射天线301工作在2.4GHz频段,收发Zigbee无线射频信号。实双向线309为微处理器与RS232/RS485半双工通信线路。RS232/RS485模块305为微处理器的TTL电平与外部接口RS232/RS485电平提供转换作用。实双向线310为外部设备与RS232/RS485半双工通信线路。接口306为与外部设备连接的RS232/RS485的接口。The power module 302 provides power for the distributed slaves, and works at 0.7V-5.5V, 200mA. The solid line 307 is for the power module to provide power to other circuits of the slave. The microprocessor 303 is composed of hardware and software systems such as an internal memory and an I/O interface. The solid bidirectional line 308 is the half-duplex communication line between the microprocessor and the Zigbee wireless module. Zigbee wireless module 304 uses 2.4GHz free ISM frequency band license-free, the maximum transmission rate is up to 200Kbps, and the baud rate can be modified by software, the transmission distance in the open field is up to 200 meters, it has functions such as wireless wake-up, the sensitivity is up to -90dBm, and the transmit power is the largest is 10dBm. The radiating
如图3所示,所述分布式主机2包括:WiFi模块205、Zigbee模块204、微处理器203、电源模块202,实现WiFi信号与Zigbee信号的转换,并把数据按照Z-Stack协议处理。As shown in FIG. 3, the distributed
实双向线208为微处理器与Zigbee无线模块204进行半双工通信线路。Zigbee无线模块204使用2.4GHz免费ISM频段免许可证,最大传输数率达200Kbps,并可软件修改波特率,开阔地传输距离达到200米,具有无线唤醒等功能,灵敏度达到-90dBm,发射功率最大为10dBm。辐射天线211工作在2.4GHz频段,收发Zigbee无线射频信号。The solid bidirectional line 208 is the half-duplex communication line between the microprocessor and the Zigbee wireless module 204 . Zigbee wireless module 204 uses 2.4GHz free ISM frequency band license-free, the maximum transmission rate is up to 200Kbps, the baud rate can be modified by software, the transmission distance in the open field is up to 200 meters, it has functions such as wireless wake-up, the sensitivity is up to -90dBm, and the transmit power is the largest is 10dBm. The radiating
实双向线209为微处理器与WiFi模块205进行半双工通信线路。WiFi模块205为串口或TTL电平转WiFi通信的一种传输转换模块,Uart-WiFi模块是基于Uart接口的符合WiFi无线网络标准的嵌入式模块,内置无线网络协议IEEE802.11协议栈以及TCP/IP协议栈,能够实现用户串口或TTL电平数据到无线网络之间的转换。在本发明中WiFi模块主要是通过IEEE802.11协议栈使得在光载无线交换系统与分布式主机间通信。辐射天线201工作在2.4GHz频段,收发WiFi无线射频信号。The solid bidirectional line 209 is the half-duplex communication line between the microprocessor and the WiFi module 205 . The WiFi module 205 is a transmission conversion module from serial port or TTL level to WiFi communication. The Uart-WiFi module is an embedded module based on the Uart interface that conforms to the WiFi wireless network standard. It has built-in wireless network protocol IEEE802.11 protocol stack and TCP/ The IP protocol stack can realize the conversion between the user serial port or TTL level data to the wireless network. In the present invention, the WiFi module mainly uses the IEEE802.11 protocol stack to communicate between the optical carrier wireless switching system and the distributed host. The radiating
电源模块202为给分布式主机提供电源,其工作在5.0V~10V,500mA。实线207为电源模块给分布式主机其它电路提供电源。微处理器203,由内存储器、I/O接口等硬件及软件系统构成。The power module 202 provides power for the distributed host, and works at 5.0V-10V, 500mA. The solid line 207 is for the power module to provide power to other circuits of the distributed host. The microprocessor 203 is composed of hardware and software systems such as internal memory and I/O interface.
如图4所示,系统初始工作时,分布式主机配置好各个寄存器的参数、WiFi模块的参数、Zigbee无线模块的参数等,分布式从机配置好各个寄存器的参数、Zigbe无线模块的参数等。为保证通信正常进行,需设定光载无线交换系统的远端WiFi网络和分布式主机的WiFi模块具有相同的SSID(网络名)、认证密码、工作频道、工作模式等;分布式主机和分布式从机的Zigbee无线模块的网络号和信道等参数一致。As shown in Figure 4, when the system initially works, the distributed host configures the parameters of each register, WiFi module, Zigbee wireless module, etc., and the distributed slave configures the parameters of each register, Zigbe wireless module, etc. . In order to ensure normal communication, it is necessary to set the remote WiFi network of the optical carrier wireless switching system and the WiFi module of the distributed host to have the same SSID (network name), authentication password, working channel, working mode, etc.; The network number and channel parameters of the Zigbee wireless module of the slave machine are the same.
分布式主机监控是否有数据发给分布式主机,如果接收到数据则先把数据放入缓存,没有则继续监控分布式主机是否有接收到数据。The distributed host monitors whether data is sent to the distributed host. If data is received, the data is put into the cache first. If not, it continues to monitor whether the distributed host has received data.
分布式主机接收到数据以后判断数据是经过WiFi从光载无线交换系统发送来的还是其它方式发送给分布式主机的,如果是光载无线交换系统发来的那么分布式主机按照自定义协议解析数据并重新按照自动以协议通过Zigbee发送给分布式从机。After the distributed host receives the data, it determines whether the data is sent from the optical carrier wireless switching system via WiFi or sent to the distributed host in other ways. If it is sent by the optical carrier wireless switching system, the distributed host parses it according to the custom protocol. The data is automatically sent to the distributed slaves through Zigbee according to the protocol.
如果分布式主机接收到数据不是从光载无线交换系统接收的数据那么就判断数据是否是从Zigbee模块接收的数据,如果是,那么按照Z-Stack协议解析数据并把数据按照Z-Stack协议通过WiFi发送给光载无线交换系统,然后继续监控分布式主机是否接收到数据;如果不是则继续监控分布式主机是否接收到数据。If the data received by the distributed host is not the data received from the optical carrier wireless switching system, it will judge whether the data is received from the Zigbee module. If so, then parse the data according to the Z-Stack protocol and pass the data according to the Z-Stack protocol. WiFi is sent to the optical carrier wireless switching system, and then continues to monitor whether the distributed host receives data; if not, continues to monitor whether the distributed host receives data.
如果分布式从机接收到Zigbee数据,那么分布式从机按照Z-Stack协议解析数据并按照Z-Stack协议处理数据,可以是读取外部RS232/RS485的数据等,然后再把数据通过Zigbee模块发送给分布式主机。If the distributed slave receives Zigbee data, the distributed slave parses the data according to the Z-Stack protocol and processes the data according to the Z-Stack protocol, which can be to read external RS232/RS485 data, etc., and then pass the data through the Zigbee module. Sent to distributed hosts.
虽然上面已经示出了本发明的一些示例性实施例,但是本领域的技术人员将理解,在不脱离本发明的原理或精神的情况下,可以对这些示例性实施例做出改变,本发明的范围由权利要求及其等同物限定。Although some exemplary embodiments of the present invention have been shown above, those skilled in the art will appreciate that The scope is defined by the claims and their equivalents.
Claims (2)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710375387.2A CN107196707B (en) | 2017-05-24 | 2017-05-24 | Distributed radio over fiber-WiFi-ZigBee network |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710375387.2A CN107196707B (en) | 2017-05-24 | 2017-05-24 | Distributed radio over fiber-WiFi-ZigBee network |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107196707A CN107196707A (en) | 2017-09-22 |
| CN107196707B true CN107196707B (en) | 2020-01-31 |
Family
ID=59875980
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710375387.2A Expired - Fee Related CN107196707B (en) | 2017-05-24 | 2017-05-24 | Distributed radio over fiber-WiFi-ZigBee network |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107196707B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107844444A (en) * | 2017-10-31 | 2018-03-27 | 广东电网有限责任公司电力科学研究院 | A kind of device for mutually turning Wifi and various communication interfaces |
| CN111009107A (en) * | 2019-11-12 | 2020-04-14 | 南京四象新能源科技有限公司 | Distributed energy storage control system and control method based on Zigbee communication |
| CN111328257B (en) * | 2020-03-11 | 2022-03-22 | 广东省电信规划设计院有限公司 | Data synchronization method and device for upper computer and lower computer |
| CN112466108A (en) * | 2020-12-19 | 2021-03-09 | 爱克斯维智能科技(苏州)有限公司 | Engineering machinery beyond-visual-range remote control method and system thereof |
| CN112911725B (en) * | 2021-01-06 | 2023-03-03 | 上海擎昆信息科技有限公司 | Wireless distributed sensing and control method, device and system |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103200702A (en) * | 2013-03-21 | 2013-07-10 | 广州飞瑞敖电子科技有限公司 | Distributed type ratio-over-fiber-wireless fidelity (WiFi)-Modbus network |
| CN203167301U (en) * | 2013-02-28 | 2013-08-28 | 杭州鸿雁电器有限公司 | Gatewayconverting WiFi to ZigBee |
| CN103970076A (en) * | 2013-01-30 | 2014-08-06 | 张永生 | Large-volume deposit concrete cooling water intelligent control system |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070292136A1 (en) * | 2006-06-16 | 2007-12-20 | Michael Sauer | Transponder for a radio-over-fiber optical fiber cable |
| KR20130037368A (en) * | 2011-10-06 | 2013-04-16 | 한국전자통신연구원 | Intermediate node apparatus for configuring sensor network and sensor data processing method using intermediate node apparatus |
-
2017
- 2017-05-24 CN CN201710375387.2A patent/CN107196707B/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103970076A (en) * | 2013-01-30 | 2014-08-06 | 张永生 | Large-volume deposit concrete cooling water intelligent control system |
| CN203167301U (en) * | 2013-02-28 | 2013-08-28 | 杭州鸿雁电器有限公司 | Gatewayconverting WiFi to ZigBee |
| CN103200702A (en) * | 2013-03-21 | 2013-07-10 | 广州飞瑞敖电子科技有限公司 | Distributed type ratio-over-fiber-wireless fidelity (WiFi)-Modbus network |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107196707A (en) | 2017-09-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107196707B (en) | Distributed radio over fiber-WiFi-ZigBee network | |
| CN110648437A (en) | Entrance guard management system based on LoRa thing networking | |
| CN206332860U (en) | LoRa gateways | |
| WO2018161545A1 (en) | Device integrating multiple communication modes | |
| CN111132386A (en) | Edge computing gateway based on narrowband Internet of things | |
| CN107959679A (en) | A kind of USB transmission equipments and method based on NB-IOT networks | |
| CN209120490U (en) | RTU equipment and monitoring system | |
| CN208768305U (en) | A kind of remote transport gateway based on LoRa technology | |
| CN110248332A (en) | A kind of substation field SF6 leakage alarm monitoring device and monitoring method | |
| CN205910718U (en) | Energy management information collection system of enterprise based on wireless network deployment of zigBee technique | |
| CN207732991U (en) | Internet of things data acquisition transmitter based on LoRa | |
| CN102957473A (en) | Circulation monitoring data management relay of urban network cable | |
| CN211294145U (en) | Module based on low-power-consumption multi-communication-mode integration | |
| CN105406883A (en) | Wireless communication device | |
| CN211296722U (en) | Communication system for converting high-speed carrier waves of low-voltage power line into Bluetooth | |
| CN105955902A (en) | Serial-to-wireless communicator | |
| CN202230591U (en) | Anti-theft and anti-mistaking alarm networking system | |
| CN204360550U (en) | A kind of multiprotocol conversion equipment based on ZigBee | |
| CN203786552U (en) | Sensor Data Acquisition System Based on Internet of Things | |
| CN204719244U (en) | A kind of geomagnetism detecting system | |
| CN109286998A (en) | A kind of compatible net connection and direct-connected LoRa mould group communication method | |
| CN205644530U (en) | Serial ports changes wireless communicator | |
| CN103200702A (en) | Distributed type ratio-over-fiber-wireless fidelity (WiFi)-Modbus network | |
| CN207249898U (en) | Online low-consumption wireless pH value sensor | |
| CN207603633U (en) | Electric safety system Internet of Things data wireless transport module |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200131 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |