CN103079290A - Wireless bus communication method - Google Patents

Wireless bus communication method Download PDF

Info

Publication number
CN103079290A
CN103079290A CN2012105688184A CN201210568818A CN103079290A CN 103079290 A CN103079290 A CN 103079290A CN 2012105688184 A CN2012105688184 A CN 2012105688184A CN 201210568818 A CN201210568818 A CN 201210568818A CN 103079290 A CN103079290 A CN 103079290A
Authority
CN
China
Prior art keywords
data
wireless
wireless module
waiting
network
Prior art date
Application number
CN2012105688184A
Other languages
Chinese (zh)
Inventor
孟繁鼎
聂光义
Original Assignee
上海桑锐电子科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 上海桑锐电子科技有限公司 filed Critical 上海桑锐电子科技有限公司
Priority to CN2012105688184A priority Critical patent/CN103079290A/en
Publication of CN103079290A publication Critical patent/CN103079290A/en

Links

Abstract

The invention provides a wireless bus communication method which is characterized by comprising the following steps of: firstly, manually setting the frequency point of a wireless module on a channel in advance; then connecting the wireless module with a system device in a wired mode; and finally powering on the wireless module and the system device for operation, and when any wireless module in a network receives data in a wired mode, waiting for schedule time, sending data spaceward, forwarding to an object wireless module finally after the wireless modules receives the data, and transmitting the data to the system device. The network data of a wireless bus is wirelessly transmitted by virtue of the wireless module, and the wireless module is connected with the system device by virtue of a 485 mode. The wireless bus communication method provided by the invention has the advantages of on-site construction, convenience for later-stage maintenance, extendable communication distance, wide coverage, less technical difficulty and convenience for popularization.

Description

一种无线总线通讯方法 A wireless communication method bus

技术领域 FIELD

[0001] 本发明涉及一种无线通讯技术,特别是公开一种无线总线通讯方法。 [0001] The present invention relates to a wireless communication technology, in particular, discloses a method in a wireless communication bus.

背景技术 Background technique

[0002] 目前在工业应用领域,以有线方式连接的通讯总线使用有485总线,CAN总线,Modbus总线等。 [0002] In the current industrial applications, the use of a wired communication bus 485 connected to a bus, CAN bus, Modbus bus, etc. 以485总线为例,其架构如附图1所示。 In 485, for example, its structure as shown in Figure 1.

[0003] 这些总线具有一定的共同点: [0003] These have certain common bus:

1、连接线数:都是两根线进行连接; 1, the number of connecting lines: two lines are connected;

2、系统结构:为了保证数据的收发有序,都形成一主多从的主从结构; 2, the structure of the system: in order to ensure ordered data transceiver, is formed from a plurality of active-active configuration from;

3、连接方式:串行连接,所有的设备进按照串行方式进行连接。 3, connection: serial connection, all the devices connected in the serial mode into.

[0004] 有线总线通讯方式在使用过程中的缺点: [0004] a wired communication bus during use drawbacks:

1、有线连接,施工难度大,维护不方便; 1, a wired connection, construction difficult, maintenance is not convenient;

2、由于信号损耗和成本的关系,通讯距离受到限制; 2, because of signal loss and cost, limited communication distance;

3、主机设备的带负载能力有限,系统设备总数受到限制。 3, the limited load capacity of the host device, the total number of system device is limited.

[0005] 随着无线通讯技术的发展,市场开始出现以无线方式的方式来替代有线总线通讯,解决目前有线连接存在的问题,目前市场上主要有两种无线通讯方式来替代有线通讯:1、一点对多点的一站式网络(如附图2所示) [0005] As wireless communication technology, the market began to appear in a wireless way to replace wired bus communication, solve existing problems wired connection, wireless communication There are two main ways to replace wired communication on the market: 1, a stop-to-multipoint network (as shown in Figure 2)

该型网络的优点: This type of network advantages:

1)施工简单维护方便; 1) construction convenient and easy maintenance;

2)节点的容量理论上不受限制; Capacity 2) theoretically unlimited node;

3)结构简单,容易实现。 3) is simple in structure, easy to implement.

[0006]缺点: [0006] Disadvantages:

1) 一站式通讯,通讯距离短,覆盖范围小; 1) stop communication, the communication distance is short, small-coverage;

2)主从结构,一点对多点通讯,不能任意点之间通讯。 2) from between the master communication structure, a multipoint communication, not at any point.

[0007] 2、主从结构的多级通讯网络(如附图3所示) [0007] 2, a multi-stage master-slave configuration of a communication network (e.g., shown in Figure 3)

该网络的优点是: The advantage of this network is:

1)施工简单维护方便; 1) construction convenient and easy maintenance;

2)节点的容量理论上不受限制; Capacity 2) theoretically unlimited node;

3)多级通讯,通讯距离长,覆盖范围大。 3) multi-level communications, long distance communications, large coverage.

[0008]缺点: [0008] Disadvantages:

O多级通讯网络,需要建立中心节点和任何一个目的子节点的路径,需要进行组网寻找路径,或者临时寻找路径,网络实现较长时间,同时也比较技术实现复杂; O multi-level communications network, the need to establish a path to the central node and any child nodes purpose, the need for networking to find the path, or to find temporary path, networks for a long time, but also more complex technology;

2)子节点之间不能通讯; 2) can not communicate with the child node;

3)网络必须由子节点和中心节点才能形成无线网络,如果没有中心节点,不能形成网络。 3) forming a wireless network to be a child node and the network central node, if there is no central node, the network can not be formed. [0009] 由上所述可知,虽然有了无线通讯替代了有线通讯的方法,但是各有优缺点,没有用一种方案能够完全解决有线通讯的问题。 [0009] From the above it said, even with the alternative wireless communication method of wired communications, but have advantages and disadvantages, not able to completely solve the problem in a wired communication scheme.

发明内容 SUMMARY

[0010] 本发明的目的是解决现有技术的缺陷,提供一种无线总线通讯方法,以无线总线通讯来替代有线总线通讯,不仅实现有线总线通讯的功能需求,而且完全解决目前有线通讯遇到的问题,兼容了无线方案的优点。 [0010] The object of the present invention is to solve the defects in the prior art, there is provided a method of wireless communications bus, the bus communication instead of wireless communication wired bus, not only the functional requirements of the communication bus cable, and completely solve the wired communication experience the problem, is compatible with the advantages of wireless solutions.

[0011] 本发明是这样实现的:一种无线总线通讯方法,其特征在于:首先,无线模块的频点需要事先人工设置在一个信道上;其次,无线模块和系统设备通过有线方式连接;最后无线模块和系统设备上电开始工作;当网络中的任何一个无线模块从有线接收到数据时,等待规定时间,向空中发送数据;无线模块在收到无线数据时的处理过程如下: [0011] The present invention is implemented as follows: A radio communication bus, characterized in that: firstly, the radio frequency module requires a channel provided in advance of doing so; secondly, the wireless module and the devices connected by cable systems; final to work on the electrical system of the device and the wireless module; when any one of the wireless network module to receive data from wired to wait a predetermined time, to send data to the air; processing at the wireless module receiving the radio data is as follows:

1、子节点收到数据后,首先检查数据是否正确, 1, the child node after receiving data, first check whether the data is correct,

2、如果数据不正确,放弃数据,继续处于接收状态,等待接收新的数据, 2, if the data is incorrect, the data give up, to continue in the receiving state, waiting to receive new data,

3、如果数据正确,判断该数据是否已经转发, 3. If the data is correct, determine whether the data has been forwarded,

4、如果已经转发,放弃数据,继续处于接收状态,等待接收新的数据, 4. If you have already forwarded the data to give up, to continue in the receiving state, waiting to receive new data,

5、如果没有转发,广播转发该数据, 5, if no forwarding, broadcast forwarding the data,

6、判断子节点地址是否和目的地址相符, 6, it is determined whether the child node address matches the destination address,

7、如果不符,放弃数据,继续处于接收状态,等待接收新的数据, 7, if not match, discard the data continues in the receiving state, waiting to receive new data,

8、如果相符,将数据通过有线方式传输给子设备, 8. If they match, the data transmission by cable to a slave device,

9、处理结束。 9, the process ends.

[0012] 无线总线的网络数据由无线模块通过无线传输,无线模块需要通过485方式和系统设备连接。 [0012] Wireless network data bus by a radio module for wireless transmission via the wireless module 485 need to connect devices and systems.

[0013] 本发明具有以下特点: [0013] The present invention has the following characteristics:

1、对等网络,网络内任何节点之间都可通讯; 1, peer network, the network can be any communication between the nodes;

2、技术实现简单; 2, simple technology;

3、多级网络,覆盖范围广; 3, multi-level network, wide coverage;

4、传输路径多冗余,可靠性高。 4, multiple redundant transmission paths, high reliability.

[0014] 本发明的有益效果是: [0014] Advantageous effects of the present invention are:

1、现场施工,后期维护都非常方便; 1, site construction, post-maintenance very easy;

2、通讯距离可以延伸,覆盖范围广; 2, the communication distance can be extended, covering a wide range;

3、技术难度小,便于推广。 3, the technical difficulty of small, easy to promote.

[0015] 本发明以无线通讯方式替代有线通讯方式,以无线的无限资源来取代有线的有限资源,为我国发展节约型社会、实现可持续发展提供了一种很好的示范效果。 [0015] The present invention is an alternative to wireless communications wired communications, wireless unlimited resources to replace wired limited resources, provides a good demonstration effect for the development of a conservation-oriented society to achieve sustainable development.

附图说明 BRIEF DESCRIPTION

[0016] 图1是现有有线方式连接架构示意图。 [0016] FIG. 1 is a schematic view of conventional wired connection architecture.

[0017] 图2是一点对多点的一站式网站连接示意图。 [0017] FIG 2 is a connection diagram multipoint stop site.

[0018] 图3是主从结构多级通讯网络连接示意图。 [0018] FIG. 3 is a front schematic view of the connection structure of the multi-stage from the communication network.

[0019] 图4是本发明节点I向节点15发送数据过程示意图。 [0019] FIG. 4 is a schematic view I of the present invention, the node 15 transmits data to the processing node. [0020] 图5是本发明节点15向节点I发送数据过程示意图。 [0020] FIG. 5 is a schematic diagram 15 of the present invention, the node sends data to the node during I.

[0021] 图6是本发明无线总线替代有线通讯的架构示意图。 [0021] FIG. 6 of the present invention is a wireless bus architecture diagram alternative to wired communication.

[0022] 图7是本发明无线模块收到空中数据后的处理流程示意图。 [0022] FIG. 7 is a schematic view of the present invention, after the wireless module receives air flow data processing.

[0023] 图8是本发明无线模块接收到子设备的数据后的处理流程示意图。 [0023] FIG. 8 of the present invention is a wireless processing module receives the data sub-flow apparatus. FIG.

具体实施方式 Detailed ways

[0024] 本发明为一种无线总线通讯方法。 [0024] The present invention is a method of wireless communication bus.

[0025] 本发明实施的前提: [0025] The embodiment of the present invention is provided:

首先,无线模块的频点需要事先人工设置在一个信道上。 First, the radio frequency module requires a channel provided in advance of doing so.

[0026] 其次,无线模块和系统设备通过有线方式连接,例如,485总线的无线网络,无线模块需要通过485方式和系统设备连接。 [0026] Next, the wireless module and the devices connected by cable systems, e.g., radio network 485, the wireless module 485 require connection devices and systems.

[0027] 最后,无线模块和系统设备上电开始工作;当网络中的任何一个无线模块从有线接收到数据时,等待规定时间,向空中发送数据。 [0027] Finally, the wireless device is powered modules and systems to work; when any one of the wireless network module to receive data from wired to wait a predetermined time, to send data to the air.

[0028] 本发明无线模块收到空中数据后,如果需要转发,必须使用无线同步广播方法发射。 After the wireless module invention [0028] The present air data received, forwarding if necessary, must be simulcast radio transmitting method. 判断是否需要转发的依据是该数据是否已经转发过。 Determine whether forwarding is based on whether the data has already been forwarded.

[0029] 无线模块替代有线连接后的架构如图6所示。 [0029] After the wireless module alternative architectures wired connection as shown in FIG. 无线总线网络内节点I和15的双向通讯过程如图4和图5所不。 4 and 5 are not within the wireless network nodes I bus and two-way communication process 15 in FIG.

[0030] 根据附图4〜6,每个节点在空中发送数据时,网络内的节点都会接收到数据,可以实现任何两个节点间的通讯;同时也实现了多级的数据传递。 [0030] 4 ~ 6 of the drawings, each node in the air when data is transmitted, nodes in the network will receive the data, the communication may be implemented between any two nodes; but also realize the multi-level data transfer.

[0031] 子节点在收到的空中数据的处理流程如图7所示。 [0031] In the child node process the received data flow of air as shown in Fig.

[0032] 具体流程如下: [0032] The process is as follows:

1、子节点收到数据后,首先检查数据是否正确; 1, the child node after receiving data, first check whether the data is correct;

2、如果数据不正确,放弃数据,继续处于接收状态,等待接收新的数据; 2, if the data is incorrect, the data give up, to continue in the receiving state, waiting to receive the new data;

3、如果数据正确,判断该数据是否已经转发; 3, if the data is correct, it is determined whether the data have been transmitted;

4、如果已经转发,放弃数据,继续处于接收状态,等待接收新的数据; 4. If you have already forwarded the data to give up, to continue in the receiving state, waiting to receive the new data;

5、如果没有转发,广播转发该数据; 5, if there is no forwarding, forward the broadcast data;

6、判断子节点地址是否和目的地址相符; 6, it is determined whether the child node address matches the destination address;

7、如果不符,放弃数据,继续处于接收状态,等待接收新的数据; 7, if not match, discard the data continues in the receiving state, waiting to receive the new data;

8、如果相符,将数据通过有线方式传输给子设备; 8. If they match, the data transmission by cable to a slave device;

9、处理结束。 9, the process ends.

[0033] 子节点在收到的有线传输的数据的处理流程如图8所述。 [0033] In the child node process flow in FIG. 8 of the wired transmission data received.

[0034] 具体流程如下: [0034] The process is as follows:

1、子节点检测是否收到数据; 1, the child node detects whether the received data;

2、如果没有收到数据,继续处于接收状态,等待接收新的数据; 2, if no data is received, continuing in the receiving state, waiting to receive new data;

3、如果收到,等待规定时间; 3. If so, wait a specified time;

4、规定时间到,无线发送该数据; 4, the predetermined time period, the wireless data transmission;

5、处理结束。 5, the process ends.

Claims (2)

1.一种无线总线通讯方法,其特征在于:首先,无线模块的频点需要事先人工设置在一个信道上;其次,无线模块和系统设备通过有线方式连接;最后无线模块和系统设备上电开始工作;当网络中的任何一个无线模块从有线接收到数据时,等待规定时间,向空中发送数据;无线模块在收到无线数据时的处理过程如下: 1)子节点收到数据后,首先检查数据是否正确, 2)如果数据不正确,放弃数据,继续处于接收状态,等待接收新的数据, 3)如果数据正确,判断该数据是否已经转发, 4)如果已经转发,放弃数据,继续处于接收状态,等待接收新的数据, 5)如果没有转发,广播转发该数据, 6)判断子节点地址是否和目的地址相符, 7 )如果不符,放弃数据,继续处于接收状态,等待接收新的数据, 8)如果相符,将数据通过有线方式传输给子设备, 9)处理结束 1. A radio communication bus, characterized in that: firstly, the radio frequency module requires a channel provided in advance of doing so; secondly, the wireless module and the devices connected by cable systems; the last wireless module and a power system device starts work; and when any one of the network from wired to wireless module receives data, waiting for a predetermined time, to send data to the air; processing at the wireless module receiving the radio data is as follows: 1) the child node receives data, first checks whether the data is correct, 2) if the data is incorrect, discard the data and continue in the receiving state, waiting to receive new data, 3) if the data is correct, it is determined whether the data have been transmitted, 4) if has been forwarded to discard the data and continue in a receiving state, waiting to receive new data, 5) if there is no forwarding, broadcast forwarding the data, 6) determines a child node address whether the destination address matches, 7) if the match, discard the data and continue in the receiving state, waiting to receive new data, 8) If they match, the data transmitted to the child device by cable ends 9) processing
2.根据权利要求1所述的一种无线总线通讯方法,其特征在于:无线总线的网络数据由无线模块通过无线传输,无线模块需要通过485方式和系统设备连接。 A method of wireless communication bus according to claim 1, wherein: the wireless data network bus by the wireless module for wireless transmission, the wireless module 485 and the system need to device connection.
CN2012105688184A 2012-12-25 2012-12-25 Wireless bus communication method CN103079290A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105688184A CN103079290A (en) 2012-12-25 2012-12-25 Wireless bus communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105688184A CN103079290A (en) 2012-12-25 2012-12-25 Wireless bus communication method

Publications (1)

Publication Number Publication Date
CN103079290A true CN103079290A (en) 2013-05-01

Family

ID=48155665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105688184A CN103079290A (en) 2012-12-25 2012-12-25 Wireless bus communication method

Country Status (1)

Country Link
CN (1) CN103079290A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030134596A1 (en) * 2002-01-11 2003-07-17 Superbt Canada Inc. Bluetooth access point to provide more than seven users
CN1949695A (en) * 2006-10-28 2007-04-18 华为技术有限公司 Method and system for giving-up error frame in frame data transmission
CN101185289A (en) * 2005-05-26 2008-05-21 讯宝科技公司 Wireless access device with integrated universal serial bus interface
CN201918030U (en) * 2011-01-25 2011-08-03 上海万康无线智能控制系统有限公司 Parking management system for parking lot
CN102244940A (en) * 2011-07-26 2011-11-16 内蒙古大学 Heterogeneous wireless network transmission system based on Bluetooth and ZigBee

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030134596A1 (en) * 2002-01-11 2003-07-17 Superbt Canada Inc. Bluetooth access point to provide more than seven users
CN101185289A (en) * 2005-05-26 2008-05-21 讯宝科技公司 Wireless access device with integrated universal serial bus interface
CN1949695A (en) * 2006-10-28 2007-04-18 华为技术有限公司 Method and system for giving-up error frame in frame data transmission
CN201918030U (en) * 2011-01-25 2011-08-03 上海万康无线智能控制系统有限公司 Parking management system for parking lot
CN102244940A (en) * 2011-07-26 2011-11-16 内蒙古大学 Heterogeneous wireless network transmission system based on Bluetooth and ZigBee

Similar Documents

Publication Publication Date Title
US9154312B2 (en) Power save proxy in communication networks
Lee et al. The principles and performance of Hubnet: A 50 Mbit/s glass fiber local area network
CN103019181A (en) Intelligent internet-of-things home system based on ZigBee wireless communication protocol
US20140003286A1 (en) Connectionless Wi-Fi Mesh Communication
PH12015502296B1 (en) A method and system for supporting distributed relay control protocol (drcp) operations upon communication failure
CN101018180A (en) A method for implementing the forward table in the stack system
CN101222397B (en) Wireless sensor network signal synchronous collection and quasi-live transmission system
WO2013063598A3 (en) Systems and methods for fast initial network link setup
MX2017002121A (en) A method and system for supporting distributed relay control protocol (drcp) operations upon misconfiguration.
CN101751761A (en) Efficient wireless meter reading method for automatic network router
CN2657297Y (en) RS 485 bus receiving-transmitting controller
CN103327689A (en) Intelligent stage lighting cloud terminal controlling system
FR2952261B1 (en) Communication system in an aircraft
CN102117537B (en) Meter reading gateway, meter reading system and meter reading method
WO2013127191A1 (en) Internet of things protocol conversion system and conversion method
WO2008133250A1 (en) Rstp processing method
CN102404855A (en) Wireless sensor network protocol based on institute of electrical and electronic engineers (IEEE) 802.15.4
CN102647370B (en) Communication method for communicating WiFi network with ZigBee network
CN101907887B (en) Mineral hydraulic bracket controller, bracket control system and communication method
CN102271100A (en) The gateway apparatus and method for protocol conversion between the Ethernet and the wireless industry EtherCAT Zigbee
CN204810290U (en) Novel wireless Intelligence system
WO2008065531A3 (en) Communication system
CN103337142B (en) The wireless networking method of electric energy meter management system
CN101296065B (en) Method and system for improving reliability of redundancy main station
WO2011130965A1 (en) Wireless sensor network, mobile terminal and interconnection method and system thereof

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)