CN113437996B - Communication method and system of PLBUS-RDM - Google Patents

Communication method and system of PLBUS-RDM Download PDF

Info

Publication number
CN113437996B
CN113437996B CN202110675656.3A CN202110675656A CN113437996B CN 113437996 B CN113437996 B CN 113437996B CN 202110675656 A CN202110675656 A CN 202110675656A CN 113437996 B CN113437996 B CN 113437996B
Authority
CN
China
Prior art keywords
plbus
dmx512
slave
rdm
node
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.)
Active
Application number
CN202110675656.3A
Other languages
Chinese (zh)
Other versions
CN113437996A (en
Inventor
陈丽恒
丁元
刘元成
刘鲲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leaguer Microelectronics Co ltd
Original Assignee
Leaguer Microelectronics Co ltd
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 Leaguer Microelectronics Co ltd filed Critical Leaguer Microelectronics Co ltd
Priority to CN202110675656.3A priority Critical patent/CN113437996B/en
Publication of CN113437996A publication Critical patent/CN113437996A/en
Application granted granted Critical
Publication of CN113437996B publication Critical patent/CN113437996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/546Combination of signalling, telemetering, protection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/58Repeater circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Abstract

The invention discloses a communication method of a PLBUS-RDM, which comprises the following steps: s1, a DMX512 master controller is connected with a PLBUS master node, DMX512 slave equipment is connected with a PLBUS slave node, and the PLBUS master node and the PLBUS slave node are both connected with a power line, so that the power line replaces a 485 bus in a traditional DMX512 system; s2, supporting and being compatible with a conflict detection mechanism of the existing RDM protocol; s3, supporting a relay forwarding mechanism; and S4, supporting an automatic searching mechanism for the DMX512 slave devices. The invention realizes the function of the traditional RDM protocol, reduces the use of 485 signal lines, saves the installation cost of a DMX512 system and avoids the damage to the original building environment; meanwhile, mechanisms such as collision detection, relay forwarding, automatic equipment search and the like are adopted, and compared with the traditional DMX512 system, the effective coverage area, the adaptability, the usability and the like of the system are greatly improved.

Description

Communication method and system of PLBUS-RDM
Technical Field
The invention relates to the technical field of communication, in particular to a communication method and a communication system of a PLBUS-RDM.
Background
The PLBUS is a unified communication interface technology of intelligent equipment based on a power line, has the advantages of no need of wiring, wall crossing by wall and no blockage by the wall, and provides an effective communication mode for a plurality of application scenes of the Internet of things. RDM (Remote Device Management) is a Remote Device Management protocol, based on DMX 512-A. DMX512 (1990) is single-direction transmission. There is no address information in the DMX512, so the receiving device can receive all data, and as such, as long as the DMX512 device is in use, an address code must be set. Through the RDM protocol, the DMX512 main controller can realize searching and scanning to count the number of DMX512 lamps, return basic information of the lamps and set and inquire information such as DMX512 addresses of the lamps.
The PLBUS-RDM applies the PLBUS communication technology to the DMX512 system, bears the RDM protocol data transmission in the DMX512 system and realizes the function of the RDM protocol.
However, in the prior art, the coverage distance of the traditional DMX512-RDM system is relatively limited, and according to a protocol, relay forwarding is not supported between a master device and a slave device; in addition, when the traditional RDM system is installed, four lines, namely two power supply lines of a master device and a slave device and two 485 buses for data transmission, need to be arranged; sometimes in some scenarios, the 485 bus arrangement may cause damage to the existing building, and such destructive installation may cause the customer to directly abandon the DMX512 system solution.
Disclosure of Invention
The invention aims to solve the problem that the existing DMX512-RDM system is limited, and provides a communication method and system of PLBUS-RDM.
The technical problem of the invention is solved by the following technical scheme:
the invention provides a communication method of a PLBUS-RDM, which comprises the following steps: s1, a DMX512 master controller is connected with a PLBUS master node, DMX512 slave equipment is connected with a PLBUS slave node, and the PLBUS master node and the PLBUS slave node are both connected with a power line, so that the power line replaces a 485 bus in a traditional DMX512 system; s2, supporting and being compatible with a conflict detection mechanism of the existing RDM protocol; s3, supporting a relay forwarding mechanism; and S4, supporting an automatic searching mechanism for the DMX512 slave devices.
In some embodiments, the PLBUS master node and the PLBUS slave node communicate over a power line that powers a DMX512 master-slave device.
In some embodiments, in the S2 step: the PLBUS slave node adopts a CSMA competition sending mechanism; the RDM protocol data sent by the DMX512 main controller is transmitted on a power line through the PLBUS main node; after receiving the data, the PLBUS slave node reports the RDM data to the DMX512 slave equipment connected with the PLBUS slave node; if the DMX512 master needs to be replied according to the RDM protocol, the DMX512 slave sends replied RDM protocol data to the connected PLBUS slave node, and the PLBUS slave node carries out random competition sending in a specified CMSA time slot; after the CMSA time is over, the PLBUS main node reports all received RDM reply data to the DMX512 main controller; if more than 1 reply data is received, the PLBUS master node generates a superposition level according to the RDM protocol and reports the superposition level to the DMX512 master controller.
In some embodiments, in the S3 step: and the RDM data frame between the PLBUS master node and the target PLBUS slave node is relayed and forwarded by other PLBUS slave nodes in the system.
In some embodiments, the S4 step includes: s41: when a DMX512 system is initialized, the DMX512 master controller sends an equipment information reporting instruction to all DMX512 slave equipment in a control domain through the PLBUS master node; s42: after the DMX512 slave equipment receives the instruction, the DMX512 slave equipment sends information such as equipment UID and the like to the PLBUS master node through a CSMA competition sending mechanism of the PLBUS slave node; s43: and the PLBUS master node reports the collected information such as UID (user identifier) of the DMX512 slave equipment to the master controller, so that automatic search of all the DMX512 slave equipment in the control domain is completed.
Compared with the prior art, the invention has the following beneficial effects: the invention realizes the function of the traditional RDM protocol, reduces the use of 485 signal lines, thus not only saving the installation cost of a DMX512 system, but also avoiding the damage to the original building environment.
In some embodiments, the beneficial effects of the invention are as follows: meanwhile, the PLBUS-RDM communication method adopts mechanisms such as conflict detection, relay forwarding, automatic equipment search and the like, and compared with the traditional DMX512 system, the effective coverage area, adaptability, usability and the like of the system are greatly improved.
Drawings
FIG. 1 is a schematic diagram of the main steps of a PLBUS-RDM communication method according to an embodiment of the present invention;
FIG. 2 is a block diagram of the system architecture of the PLBUS-RDM communication method of the embodiment of the present invention;
fig. 3 is a block diagram of a conventional DMX512 lamp control system in the prior art;
FIG. 4 is a schematic diagram of a collision detection mechanism supporting and compatible with the existing RDM protocol in the embodiment of the present invention;
FIG. 5 is a schematic diagram of a forwarding mechanism in the PLBUS-RDM communication method according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of an automatic searching mechanism for DMX512 slave devices in the PLBUS-RDM communication method according to the embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the embodiments of the present invention more clearly apparent, the present invention is further described in detail below with reference to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
It will be understood that when an element is referred to as being "secured to" or "disposed on" another element, it can be directly on the other element or be indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or be indirectly connected to the other element. The connection may be for fixing or for circuit connection.
It is to be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in an orientation or positional relationship indicated in the drawings for convenience in describing the embodiments of the present invention and to simplify the description, and are not intended to indicate or imply that the referenced device or element must have a particular orientation, be constructed in a particular orientation, and be in any way limiting of the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of the present invention, "a plurality" means two or more unless specifically limited otherwise.
The invention is further described with reference to the following figures and embodiments.
The schematic diagram of the main steps of the PLBUS-RDM communication method of the embodiment of the invention is shown in figure 1, and the main steps comprise: s1, a DMX512 master controller is connected with a PLBUS master node, DMX512 slave equipment is connected with a PLBUS slave node, and the PLBUS master node and the PLBUS slave node are both connected with a power line, so that the power line replaces a 485 bus in a traditional DMX512 system; s2, supporting and being compatible with a conflict detection mechanism of the existing RDM protocol; s3, supporting a relay forwarding mechanism; and S4, supporting an automatic searching mechanism for the DMX512 slave devices.
In step S1, a system structure block diagram of the PLBUS-RDM communication method according to the embodiment of the present invention is shown in fig. 2. The system realized by the invention consists of a DMX512 master controller, a PLBUS master node, a plurality of PLBUS slave nodes and DMX512 slave devices with the same number, and carries out communication through power line carriers. A conventional DMX512 lighting system is shown in fig. 3, and is composed of a DMX512 master and a plurality of DMX512 slaves, where the DMX512 slaves are DMX512 lamps, and communication in the conventional DMX512 system is performed on a 485 bus. Compared with the traditional DMX512 system, in the system of the embodiment of the invention, the PLBUS master node is connected with the DMX512 master controller, and each PLBUS slave node is connected with one DMX512 slave device. The PLBUS master node and the PLBUS slave node are communicated directly through a power line for supplying power to the DMX512 master-slave equipment, and therefore a 485 special communication line in a traditional DMX512 system is omitted.
In step S2, the PLBUS-RDM communication method according to the embodiment of the present invention supports and is compatible with a collision detection mechanism of an existing RDM protocol. In the conventional DMX512 system, the master can use the RDM protocol to send inquiry or setting commands to the DMX512 slave devices, and if the number of the DMX512 slave devices which answer exceeds 1, the 485 bus in the conventional DMX512 system generates an overlap level due to conflicting answers. When the overlay (collision) level is detected, the DMX512 master knows that there are more than 1 slaves that have responded, and then the DMX512 master readjusts the destination UID range of this occurrence until the overlay (collision) level is not detected. The PLBUS slave node of the PLBUS-RDM communication method adopts a CSMA competitive transmission mechanism, so that the problem of collision level in the traditional DMX512 system is avoided. Specifically, as shown in fig. 4, RDM protocol data sent by the DMX512 master device is transmitted on the power line through the PLBUS master node, the PLBUS slave node receives the RDM protocol data and reports the RDM protocol data to the DMX512 slave device connected to the DMX512 slave device, if the DMX512 master device needs to reply according to the RDM protocol, the DMX512 slave device sends the replied RDM protocol data to the connected PLBUS slave node, the PLBUS slave node performs random contention transmission in a specified CMSA time slot, after the CMSA time is over, the PLBUS master node can report all the received RDM reply data to the DMX512 master device, and if more than 1 reply data is received, the PLBUS master node can generate a superposition (collision) level according to the RDM protocol and report the level to the DMX512 master device.
In step S3, the PLBUS-RDM communication method according to the embodiment of the present invention supports a relay forwarding mechanism. In the system according to the embodiment of the present invention, as shown in fig. 5, the RDM data frame between the PLBUS master node and the target PLBUS slave node may be relayed and forwarded by other PLBUS slave nodes in the system, whereas the conventional DMX512 system does not support relay forwarding. Compared with the traditional DMX512 system, the coverage area of the PLBUS-RDM system with the relay forwarding mechanism is greatly expanded, and theoretically, the maximum communication radius of the system of the embodiment of the invention which is forwarded by 3 levels can exceed 1000 meters.
In step S4, as shown in the schematic flow chart of fig. 6, when the DMX512 system is initialized, the DMX512 master issues an apparatus information report instruction to all DMX512 slave apparatuses in the control domain through the PLBUS master node, and after receiving the instruction, the DMX512 slave apparatuses send information such as an apparatus UID to the PLBUS master node through the CSMA contention transmission mechanism of the PLBUS slave nodes, and the PLBUS master node reports the collected information such as the UID of the DMX512 slave apparatuses to the master controller, thereby completing automatic search of all DMX512 slave apparatuses in the control domain. In the conventional DMX512 system, according to the RDM protocol, the DMX512 master searches for DMX512 slaves in the control domain one by continuously adjusting the address range of the destination UID. Because no CMSA mechanism exists, if there is conflict in the searching process, the address range of UID is readjusted until there is no conflict, and the address range of UID is 0 to (2) 48 -1), so the time consuming of DMX512 master node to complete one device search of the full UID address field is relatively long.Therefore, compared with the device searching scheme of the traditional DMX512 system, the efficiency of searching the DMX512 slave device is remarkably improved by the embodiment of the invention.
The communication method of the PLBUS-RDM realizes the function of the traditional RDM protocol, reduces the use of 485 signal lines, thus not only saving the installation cost of a DMX512 system, but also avoiding the damage to the original building environment; meanwhile, the PLBUS-RDM communication method adopts mechanisms such as conflict detection, relay forwarding, automatic equipment search and the like, and compared with the traditional DMX512 system, the effective coverage area, the adaptability, the usability and the like of the system are greatly improved.
The foregoing is a further detailed description of the invention in connection with specific preferred embodiments and it is not intended to limit the invention to the specific embodiments described. It will be apparent to those skilled in the art that various equivalent substitutions and obvious modifications can be made without departing from the spirit of the invention, and all changes that come within the meaning and range of equivalency of the claims are to be embraced within their scope.

Claims (4)

1. A communication method of PLBUS-RDM is characterized by comprising the following steps:
s1, a DMX512 master controller is connected with a PLBUS master node, DMX512 slave devices are connected with PLBUS slave nodes, the number of the DMX512 slave devices is the same as that of the PLBUS slave nodes, and the PLBUS master nodes and the PLBUS slave nodes are connected with a power line, so that the power line replaces a 485 bus in a traditional DMX512 system; the PLBUS master node is communicated with the PLBUS slave node through a power line for supplying power to the DMX512 master-slave equipment;
s2, supporting and being compatible with a conflict detection mechanism of the existing RDM protocol;
s3, supporting a relay forwarding mechanism;
and S4, supporting an automatic searching mechanism for the DMX512 slave devices.
2. The PLBUS-RDM communication method of claim 1, wherein in the S2 step:
the PLBUS slave node adopts a CSMA competition sending mechanism;
the RDM protocol data sent by the DMX512 main controller is transmitted on a power line through the PLBUS main node;
after receiving the data, the PLBUS slave node reports the RDM data to the DMX512 slave equipment connected with the PLBUS slave node;
if the DMX512 master controller needs to be replied according to the RDM protocol, the DMX512 slave equipment sends replied RDM protocol data to the connected PLBUS slave node, and the PLBUS slave node carries out random competition sending in a specified CMSA time slot; after the CMSA time is over, the PLBUS main node reports all received RDM reply data to the DMX512 main controller;
if more than 1 reply data is received, the PLBUS master node generates a superposition level according to the RDM protocol and reports the superposition level to the DMX512 master controller.
3. The PLBUS-RDM communication method of claim 1, wherein in the S3 step:
and the RDM data frame between the PLBUS master node and the target PLBUS slave node is relayed and forwarded by other PLBUS slave nodes in the system.
4. The PLBUS-RDM communication method of claim 1, wherein the S4 step includes:
s41: when a DMX512 system is initialized, the DMX512 master controller sends an equipment information reporting instruction to all DMX512 slave equipment in a control domain through the PLBUS master node;
s42: after receiving the instruction, the DMX512 slave device sends the device UID information to the PLBUS master node through a CSMA competition sending mechanism of the PLBUS slave node;
s43: and the PLBUS master node reports the collected UID information of the DMX512 slave equipment to the master controller, so that automatic search of all the DMX512 slave equipment in the control domain is completed.
CN202110675656.3A 2021-06-18 2021-06-18 Communication method and system of PLBUS-RDM Active CN113437996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110675656.3A CN113437996B (en) 2021-06-18 2021-06-18 Communication method and system of PLBUS-RDM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110675656.3A CN113437996B (en) 2021-06-18 2021-06-18 Communication method and system of PLBUS-RDM

Publications (2)

Publication Number Publication Date
CN113437996A CN113437996A (en) 2021-09-24
CN113437996B true CN113437996B (en) 2023-02-03

Family

ID=77756417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110675656.3A Active CN113437996B (en) 2021-06-18 2021-06-18 Communication method and system of PLBUS-RDM

Country Status (1)

Country Link
CN (1) CN113437996B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7007305B2 (en) * 2001-09-06 2006-02-28 Genlyte Thomas Group Llc Repeater amplifier with signal firewall protection for power line carrier communication networks
US8768493B2 (en) * 2012-04-25 2014-07-01 Lumenpulse Lighting Inc. Power line light controller system and method
CN104660524B (en) * 2013-11-25 2017-01-04 国家电网公司 The channel access control method of a kind of power line communication network and system
WO2017031728A1 (en) * 2015-08-26 2017-03-02 深圳市思达仪表有限公司 Method for uploading alarm information of electric energy meter
CN210093222U (en) * 2019-06-28 2020-02-18 永林电子(上海)有限公司 Power line carrier expands structure to DMX512 system
CN110995315B (en) * 2019-11-27 2022-02-11 深圳市力合微电子股份有限公司 Communication method based on high-speed power line carrier
CN112039559A (en) * 2020-08-27 2020-12-04 深圳市力合微电子股份有限公司 Communication method of PLC-DALI intelligent lighting system based on power line carrier communication

Also Published As

Publication number Publication date
CN113437996A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
CN104811375A (en) Smart home gateway and networking method thereof
JP3725165B2 (en) Method for initializing a wireless packet hopping network
CN105022276A (en) Smart home system and data interaction method thereof
KR20060017637A (en) Configuring a radio network for selective broadcast
CN103874291A (en) Power line carrier-based intelligent networking control system and method
KR101389405B1 (en) Method for managing the transfer of information packets across a wireless network and routing nodes implementing it
KR20110025787A (en) Method of establishing a wireless multi-hop network
CN104956768A (en) Requesting information from lighting devices
EP1251721A1 (en) Urban remote surveillance system for street lamps
RU2719394C2 (en) Connection of light devices
EP3763165A1 (en) Beacon-based handover option for commissioning and control of wireless network devices
CN113437996B (en) Communication method and system of PLBUS-RDM
KR102043196B1 (en) Lighting apparatus and method of controlling thereof
CN113273104A (en) Interference handling with automatic slot allocation for multiple coordinators
JP4529867B2 (en) Lighting control system
CN107925582B (en) Supporting commissioning of networked power distribution systems
WO2002071644A1 (en) Plug-and-play power line communication device
EP1004965A2 (en) A method and apparatus dynamically determining an address uniquely identifying a hardware component on a common bus
US20050208928A1 (en) Communication system with an extended coverage area
CN203261513U (en) Intelligent street lamp control system based on power line carrier waves
CN116366437A (en) Plug-and-play intra-cabinet networking strategy
CN112039559A (en) Communication method of PLC-DALI intelligent lighting system based on power line carrier communication
CN104869040A (en) High-capacity internet of things communication system and realization method of real-time communication between things
CN103167696A (en) Intelligent streetlamp control system and method based on power line carriers
CN112995043B (en) Information processing method and device in wireless mesh network and electronic equipment

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