[go: up one dir, main page]

CN113329546B - Landscape lighting control system with loop type data transmission function and working method thereof - Google Patents

Landscape lighting control system with loop type data transmission function and working method thereof Download PDF

Info

Publication number
CN113329546B
CN113329546B CN202110622097.XA CN202110622097A CN113329546B CN 113329546 B CN113329546 B CN 113329546B CN 202110622097 A CN202110622097 A CN 202110622097A CN 113329546 B CN113329546 B CN 113329546B
Authority
CN
China
Prior art keywords
network port
controller
sub
data
transmission mode
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
CN202110622097.XA
Other languages
Chinese (zh)
Other versions
CN113329546A (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.)
Xi'an Yuming Information Technology Co ltd
Original Assignee
Shaanxi University of Science and Technology
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 Shaanxi University of Science and Technology filed Critical Shaanxi University of Science and Technology
Priority to CN202110622097.XA priority Critical patent/CN113329546B/en
Publication of CN113329546A publication Critical patent/CN113329546A/en
Application granted granted Critical
Publication of CN113329546B publication Critical patent/CN113329546B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention belongs to the technical field of landscape lighting systems, and discloses a landscape lighting control system with loop-type data transmission, which comprises a controller and a plurality of sub-controllers; the controller comprises a first gigabit network port and a second gigabit network port; the branch controllers are connected in cascade by hand, and form loop type communication with the controller; each sub-controller comprises a first network port and a second network port, and comprises a forward transmission mode and a reverse transmission mode, wherein the first network port is used as a data receiving interface and the second network port is used as a data transmitting interface in the forward transmission mode; in the reverse transmission mode, the second network port is used as a data receiving interface, and the first network port is used as a data transmitting interface. The first network port and the second network port are integrated with data sending and data receiving functions, and technical support is provided for reliable communication between the controller and the sub-controllers; the double network ports of the controller are used for synchronously outputting the same video data packet, and support is provided for carrying out data forward/reverse complementary transmission by a system loop type design.

Description

一种回环式数据传输的景观照明控制系统及其工作方法A landscape lighting control system with loop data transmission and its working method

技术领域Technical Field

本发明属于景观照明系统技术领域,涉及一种回环式数据传输的景观照明控制系统及其工作方法。The invention belongs to the technical field of landscape lighting systems, and relates to a landscape lighting control system with loop-type data transmission and a working method thereof.

背景技术Background technique

由于景观照明,灯光阵列在楼体立面安装,灯光阵列范围大,分控器安装分散,这种露天分散安装方式,使分控器长期处于恶劣的工作环境中,引起网络连接的异常现象常常发生,造成灯光阵列运行故障;另一方面,由于分控器在立面墙分散安装维修维护难度大,难于及时快速进行故障处理,给用户到来了大的经济损失。Due to landscape lighting, the light array is installed on the facade of the building. The light array has a large range and the sub-controllers are installed in a scattered manner. This open-air scattered installation method causes the sub-controllers to be in a harsh working environment for a long time, causing abnormal network connections to occur frequently, resulting in light array operation failures. On the other hand, since the sub-controllers are installed in a scattered manner on the facade wall, it is difficult to repair and maintain them, and it is difficult to handle faults in a timely and rapid manner, which brings great economic losses to users.

具体地,如图1所示,大型景观照明系统有控制器、分控器以及灯光阵列组成,控制器将解码的视频信号打包并通过千兆以太网下发至分控器;分控器根据IP地址,接收控制器分发给本机的数据包,解析并按照DMX512协议将数据再发给灯具,实现花样及视频的显示。Specifically, as shown in Figure 1, the large-scale landscape lighting system consists of a controller, a sub-controller and a light array. The controller packages the decoded video signal and sends it to the sub-controller via Gigabit Ethernet; the sub-controller receives the data packet distributed to it by the controller according to the IP address, parses it and sends the data to the lamps in accordance with the DMX512 protocol to realize the display of patterns and videos.

系统采用分布式系统,控制器和分控器采用级联方式,控制器通过数据流方式不断分发数据,才能维持灯光阵列的视频图像的连续变化。一但某一分控器故障,或者某一位置的线路故障,视频数据包无法传输到下一级,后续的分控器无法获得视频更新数据包,就会发生灯光阵列显示异常。由于在景观照明系统应用中,灯光阵列在楼体立面安装,灯光阵列范围大,分控器安装分散,网络走线距离比较长,这种分散露天安装方式,使分控器工作环境恶劣,造成网络连接的异常的现象常常发生,给用户到来了维修和维护的压力。The system adopts a distributed system, and the controller and sub-controllers are cascaded. The controller continuously distributes data through data streams to maintain the continuous change of the video image of the light array. Once a sub-controller fails, or a line fails at a certain location, the video data packet cannot be transmitted to the next level, and the subsequent sub-controllers cannot obtain the video update data packet, the light array display will be abnormal. In the application of landscape lighting systems, the light array is installed on the facade of the building, the light array has a large range, the sub-controllers are installed in a scattered manner, and the network wiring distance is relatively long. This scattered open-air installation method makes the sub-controller work in a harsh environment, causing abnormal network connections to occur frequently, which brings pressure on users for repair and maintenance.

发明内容Summary of the invention

为了克服上述现有技术存在的缺陷,本发明的目的在于提供一种回环式数据传输的景观照明控制系统及其工作方法,解决了目前分控器某一网口接触不良造成的数据包无法下发至后续分控器,从而导致后期维护压力大的问题。In order to overcome the defects of the above-mentioned prior art, the purpose of the present invention is to provide a landscape lighting control system with loop-type data transmission and a working method thereof, which solves the problem that the data packet cannot be sent to the subsequent sub-controller due to poor contact of a certain network port of the sub-controller, thereby causing great pressure on subsequent maintenance.

本发明是通过以下技术方案来实现:The present invention is achieved through the following technical solutions:

一种回环式数据传输的景观照明控制系统,包括控制器和若干个分控器;A landscape lighting control system with loop-type data transmission, comprising a controller and a plurality of sub-controllers;

控制器采用双千兆网口结构,包括第一千兆网口和第二千兆网口;The controller adopts a dual Gigabit network port structure, including the first Gigabit network port and the second Gigabit network port;

第一千兆网口与第一级分控器相连,分控器之间采用手挽手级联,最后一级分控器与第二千兆网口相连,形成回环式通信;The first Gigabit network port is connected to the first-level sub-controller, and the sub-controllers are cascaded hand in hand. The last-level sub-controller is connected to the second Gigabit network port to form a loop communication;

每个分控器包括第一网口和第二网口,第一网口和第二网口均集成数据发送和数据接收功能;Each sub-controller includes a first network port and a second network port, and the first network port and the second network port both integrate data sending and data receiving functions;

分控器用于检测通信线上控制器发送的数据包的存在与否,并根据检测结果进行分控器输入网口和输出网口的对倒切换;The sub-controller is used to detect the existence of the data packet sent by the controller on the communication line, and to switch the input network port and output network port of the sub-controller inversely according to the detection result;

分控器包括正向传输模式和反向传输模式,正向传输模式时,第一网口作为数据接收接口,第二网口作为数据发送接口;反向传输模式时,第二网口作为数据接收接口,第一网口作为数据发送接口。The sub-controller includes a forward transmission mode and a reverse transmission mode. In the forward transmission mode, the first network port is used as a data receiving interface and the second network port is used as a data sending interface; in the reverse transmission mode, the second network port is used as a data receiving interface and the first network port is used as a data sending interface.

进一步,分控器内置有FPGA芯片和收发器,FPGA芯片通过两个收发器分别连接第一网口和第二网口,FPGA芯片用于接收网口数据并解析;收发器用于获取第一网口的网线连接状态,当第一网口的网线连接正常时,分控器采用正向传输模式;当第一网口的网线连接异常时,分控器采用反向传输模式。Furthermore, the sub-controller has built-in FPGA chip and transceiver. The FPGA chip is connected to the first network port and the second network port respectively through two transceivers. The FPGA chip is used to receive and parse network port data; the transceiver is used to obtain the network cable connection status of the first network port. When the network cable connection of the first network port is normal, the sub-controller adopts forward transmission mode; when the network cable connection of the first network port is abnormal, the sub-controller adopts reverse transmission mode.

进一步,分控器上设有RS485接口,FPGA芯片的输出端通过RS485总线连接灯具。Furthermore, the sub-controller is provided with an RS485 interface, and the output end of the FPGA chip is connected to the lamp via the RS485 bus.

进一步,正向传输模式优先于反向传输模式。Furthermore, the forward transmission mode takes precedence over the reverse transmission mode.

进一步,收发器的型号为B50612。Further, the model of the transceiver is B50612.

进一步,FPGA芯片的型号为XC6SLX45T。Furthermore, the model of the FPGA chip is XC6SLX45T.

本发明还公开了所述的一种回环式数据传输的景观照明控制系统的工作方法,包括以下过程:The present invention also discloses a working method of the landscape lighting control system with loop-type data transmission, which includes the following process:

控制器将解码的视频信号打包,并在第一千兆网口和第二千兆网口上同时输出;The controller packages the decoded video signal and outputs it simultaneously on the first Gigabit network port and the second Gigabit network port;

当某分控器监测到其对应的第一网口的网线连接正常时,第一网口作为数据接收接口,第二网口作为数据发送接口;当该分控器解析数据包的IP和该分控器的IP一致时,将解析的数据发送给灯具;当解析数据包的IP和当前的IP不一致时,将数据包通过第二网口转发到下一级分控器;When a sub-controller detects that the network cable connection of its corresponding first network port is normal, the first network port is used as a data receiving interface and the second network port is used as a data sending interface; when the IP of the data packet parsed by the sub-controller is consistent with the IP of the sub-controller, the parsed data is sent to the lamp; when the IP of the parsed data packet is inconsistent with the current IP, the data packet is forwarded to the next-level sub-controller through the second network port;

当某分控器监测到其对应的第一网口的网线连接异常时,第二网口作为数据接收接口,第一网口作为数据发送接口;当该分控器解析数据包的IP和该分控器的IP一致时,将解析的数据发送给灯具;当解析数据包的IP和当前的IP不一致时,将数据包通过第一网口转发到下一级分控器。When a sub-controller detects that the network cable connection of its corresponding first network port is abnormal, the second network port is used as a data receiving interface and the first network port is used as a data sending interface; when the IP of the data packet parsed by the sub-controller is consistent with the IP of the sub-controller, the parsed data is sent to the lamp; when the IP of the parsed data packet is inconsistent with the current IP, the data packet is forwarded to the next-level sub-controller through the first network port.

进一步,分控器内置有FPGA芯片和收发器,当FPGA芯片解析数据包的IP和当前分控器的IP一致时,将解析的数据发送给灯具;当解析数据包的IP和当前的IP不一致时,将数据包通过另一网口转发到下一级分控器;Furthermore, the sub-controller has a built-in FPGA chip and a transceiver. When the IP of the data packet parsed by the FPGA chip is consistent with the IP of the current sub-controller, the parsed data is sent to the lamp; when the IP of the parsed data packet is inconsistent with the current IP, the data packet is forwarded to the next-level sub-controller through another network port;

收发器获取第一网口的网线连接状态,当第一网口的网线连接正常时,分控器采用正向传输模式;当第一网口的网线连接异常时,分控器采用反向传输模式。The transceiver obtains the network cable connection status of the first network port. When the network cable connection of the first network port is normal, the sub-controller adopts the forward transmission mode; when the network cable connection of the first network port is abnormal, the sub-controller adopts the reverse transmission mode.

进一步,分控器上设有RS485接口,FPGA芯片将解析的数据按照DMX512协议的数据格式并通过RS485总线发送给灯具。Furthermore, the sub-controller is provided with an RS485 interface, and the FPGA chip sends the parsed data to the lamps through the RS485 bus in accordance with the data format of the DMX512 protocol.

与现有技术相比,本发明具有以下有益的技术效果:Compared with the prior art, the present invention has the following beneficial technical effects:

本发明公开了一种回环式数据传输的景观照明控制系统,包括控制器和若干个分控器;每个分控器包括第一网口和第二网口,第一网口和第二网口均集成数据发送和数据接收功能;分控器网口设计实现接收和发送数据网口双向对倒的功能,当第一网口连接中断,第二网口作为数据接收网口,从另一方向传输保证分控器的正常接收,为景观照明控制器与分控器的可靠通信提供了技术支持;控制器包括第一千兆网口和第二千兆网口,第一千兆网口与第一级分控器相连,分控器之间采用手挽手级联,最后一级分控器与第二千兆网口相连,形成回环式通信;控制器采用双千兆网口结构,通过双千兆网口进行同一视频数据包的同步输出,为系统回环式设计进行数据正向/反向互补传输提供支持。本发明的系统级联的回环式设计,以及系统数据正向传输/反向传输互补,实现数据可靠性传输。The invention discloses a landscape lighting control system for loop data transmission, including a controller and a plurality of sub-controllers; each sub-controller includes a first network port and a second network port, and the first network port and the second network port both integrate data sending and data receiving functions; the sub-controller network port is designed to realize the function of receiving and sending data network ports in two directions, when the connection of the first network port is interrupted, the second network port is used as a data receiving network port, and transmission from the other direction ensures the normal reception of the sub-controller, and provides technical support for reliable communication between the landscape lighting controller and the sub-controller; the controller includes a first gigabit network port and a second gigabit network port, the first gigabit network port is connected to the first-level sub-controller, and the sub-controllers are cascaded hand in hand, and the last-level sub-controller is connected to the second gigabit network port to form a loop communication; the controller adopts a dual gigabit network port structure, and synchronously outputs the same video data packet through the dual gigabit network ports, providing support for the system loop design to perform data forward/reverse complementary transmission. The loop design of the system cascade of the present invention, and the complementation of the system data forward transmission/reverse transmission, realize data reliability transmission.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为传统的景观照明控制系统的原理框图;FIG1 is a block diagram of a conventional landscape lighting control system;

图2为本发明景观照明控制系统正常工作情况下视频数据传输图;FIG2 is a diagram showing video data transmission under normal working conditions of the landscape lighting control system of the present invention;

图3为本发明景观照明控制系统异常工作情况下视频数据传输图;FIG3 is a diagram of video data transmission in the case of abnormal operation of the landscape lighting control system of the present invention;

图4为本发明的分控器的结构示意图;FIG4 is a schematic diagram of the structure of a sub-controller of the present invention;

图5为分控器的两种工作模式,图(a)为正向传输模式,图(b)为正向传输模式;FIG5 shows two working modes of the sub-controller, FIG5 (a) is the forward transmission mode, and FIG5 (b) is the forward transmission mode;

图6为本发明的工作流程图。FIG. 6 is a flowchart of the present invention.

具体实施方式Detailed ways

下面结合附图对本发明做进一步详细描述:The present invention is further described in detail below in conjunction with the accompanying drawings:

如图2所示,本发明公开了一种回环式数据传输的景观照明控制系统,包括控制器和若干个分控器;控制器采用双千兆网口结构,包括第一千兆网口和第二千兆网口,2个网口同步输出解码后的视频数据包;第一千兆网口与第一级分控器相连,分控器之间采用手挽手级联,最后一级分控器与第二千兆网口相连,形成回环式通信;每个分控器包括第一网口和第二网口,第一网口和第二网口均集成数据发送和数据接收功能。As shown in FIG2 , the present invention discloses a landscape lighting control system with loop data transmission, including a controller and a plurality of sub-controllers; the controller adopts a dual gigabit network port structure, including a first gigabit network port and a second gigabit network port, and the two network ports synchronously output decoded video data packets; the first gigabit network port is connected to the first-level sub-controller, and the sub-controllers are cascaded hand in hand, and the last-level sub-controller is connected to the second gigabit network port to form a loop communication; each sub-controller includes a first network port and a second network port, and the first network port and the second network port both integrate data sending and data receiving functions.

分控器包括正向传输模式和反向传输模式,正向传输模式时,第一网口作为数据接收接口,第二网口作为数据发送接口;反向传输模式时,第二网口作为数据接收接口,第一网口作为数据发送接口。The sub-controller includes a forward transmission mode and a reverse transmission mode. In the forward transmission mode, the first network port is used as a data receiving interface and the second network port is used as a data sending interface; in the reverse transmission mode, the second network port is used as a data receiving interface and the first network port is used as a data sending interface.

如图4所示,分控器内置有FPGA芯片和收发器PHY,分控器上设有RS485接口,FPGA芯片通过两个收发器分别连接第一网口和第二网口,FPGA芯片的输出端通过RS485总线连接灯具。As shown in FIG4 , the sub-controller has a built-in FPGA chip and a transceiver PHY. The sub-controller is provided with an RS485 interface. The FPGA chip is connected to the first network port and the second network port respectively through two transceivers. The output end of the FPGA chip is connected to the lamp through the RS485 bus.

FPGA芯片用于接收网口数据并解析;当FPGA芯片解析数据包的IP和当前分控器的IP一致时,将解析的数据按照DMX512协议的数据格式并通过RS485总线发送给灯具;当解析数据包的IP和当前的IP不一致时,将数据包通过另一网口转发到下一级分控器;收发器用于获取第一网口的网线连接状态,当第一网口的网线连接正常时,分控器采用正向传输模式;当第一网口的网线连接异常时,分控器采用反向传输模式。The FPGA chip is used to receive and parse network port data; when the IP of the data packet parsed by the FPGA chip is consistent with the IP of the current sub-controller, the parsed data is sent to the lamp through the RS485 bus in the data format of the DMX512 protocol; when the IP of the parsed data packet is inconsistent with the current IP, the data packet is forwarded to the next-level sub-controller through another network port; the transceiver is used to obtain the network cable connection status of the first network port. When the network cable connection of the first network port is normal, the sub-controller adopts the forward transmission mode; when the network cable connection of the first network port is abnormal, the sub-controller adopts the reverse transmission mode.

如图5所示,分控器有两种工作模式,并约定正向传输模式优先于反向传输模式。As shown in FIG5 , the sub-controller has two working modes, and it is agreed that the forward transmission mode takes precedence over the reverse transmission mode.

如图5(a)所示,正向传输模式:由第一网口接收视频数据包,并将视频数据转发至第二网口;As shown in FIG5( a ), in the forward transmission mode, the video data packet is received by the first network port and the video data packet is forwarded to the second network port;

如图5(b)所示,反向传输模式:由第二网口接收视频数据包,并将视频数据转发至第一网口;As shown in FIG5( b ), in the reverse transmission mode, the video data packet is received by the second network port, and the video data is forwarded to the first network port;

正常情况下,分控器工作于正向传输模式,由第一网口接收视频数据包,并将视频数据转发至第二网口;异常情况下,由第二网口接收视频数据包,并转发至第一网口。Under normal circumstances, the sub-controller works in the forward transmission mode, the first network port receives the video data packet and forwards the video data to the second network port; under abnormal circumstances, the second network port receives the video data packet and forwards it to the first network port.

分控器上电后,首先进入正向传输模式。在正向工作模式下,分控器通过第一网口接收视频数据包,分控器通过第一网口的收发器PHY获取网线连接状态,如果在给定时间内未接收到视频数据包,则进入反向传输模式;在反向传输模式下,若分控器检测第一网口能正常接收视频数据包,则进入正向传输模式。After the sub-controller is powered on, it first enters the forward transmission mode. In the forward working mode, the sub-controller receives the video data packet through the first network port, and obtains the network cable connection status through the transceiver PHY of the first network port. If the video data packet is not received within a given time, it enters the reverse transmission mode; in the reverse transmission mode, if the sub-controller detects that the first network port can normally receive the video data packet, it enters the forward transmission mode.

异常模式是指:Abnormal modes are:

(1)通过收发器PHY获取第一网口网线连接状态,如果显示未连接,则进入异常状态;(1) Obtain the network cable connection status of the first network port through the transceiver PHY. If it is displayed as not connected, it enters an abnormal state;

(2)第二网口能正常接收到视频数据包,而第一网口不能。(2) The second network port can receive video data packets normally, but the first network port cannot.

如图6所示,所述的一种回环式数据传输的景观照明控制系统的工作方法,包括以下过程:As shown in FIG6 , the working method of the landscape lighting control system with loop-type data transmission includes the following process:

控制器将解码的视频信号打包,并在第一千兆网口和第二千兆网口上同时输出;The controller packages the decoded video signal and outputs it simultaneously on the first Gigabit network port and the second Gigabit network port;

当某分控器监测到其对应的第一网口的网线连接正常时,第一网口作为数据接收接口,第二网口作为数据发送接口;当该分控器解析数据包的IP和该分控器的IP一致时,将解析的数据发送给灯具;当解析数据包的IP和当前的IP不一致时,将数据包通过第二网口转发到下一级分控器;When a sub-controller detects that the network cable connection of its corresponding first network port is normal, the first network port is used as a data receiving interface and the second network port is used as a data sending interface; when the IP of the data packet parsed by the sub-controller is consistent with the IP of the sub-controller, the parsed data is sent to the lamp; when the IP of the parsed data packet is inconsistent with the current IP, the data packet is forwarded to the next-level sub-controller through the second network port;

当某分控器监测到其对应的第一网口的网线连接异常时,第二网口作为数据接收接口,第一网口作为数据发送接口;当该分控器解析数据包的IP和该分控器的IP一致时,将解析的数据发送给灯具;当解析数据包的IP和当前的IP不一致时,将数据包通过第一网口转发到下一级分控器。When a sub-controller detects that the network cable connection of its corresponding first network port is abnormal, the second network port is used as a data receiving interface and the first network port is used as a data sending interface; when the IP of the data packet parsed by the sub-controller is consistent with the IP of the sub-controller, the parsed data is sent to the lamp; when the IP of the parsed data packet is inconsistent with the current IP, the data packet is forwarded to the next-level sub-controller through the first network port.

正常情况下视频数据包传输方向如图2所示,由控制器第一千兆网口输出,经过第一级分控器的第一网口输入,第二网口输出,依次传输到分控器n的第一网口,实现每个分控器正常接收视频数据,这就是所谓正向传输模式;如图3所示,在分控器i和分控器i+1之间的网线出现故障时,分控器i+1到分控器n都无法通过第一网口接收视频数据,此时分控器i+1到分控器n自动切换到反向传输模式,即从分控器n的第二网口接收视频数据包,从第一网口输出视频数据包,即第i+1到第n个分控器进入反向传输模式。这样就保证了即使第i和第i+1分控器之间的线路故障并不影响系统的正常工作。Under normal circumstances, the transmission direction of the video data packet is as shown in Figure 2, which is output from the first gigabit network port of the controller, input through the first network port of the first-level sub-controller, output from the second network port, and sequentially transmitted to the first network port of sub-controller n, so that each sub-controller can normally receive video data. This is the so-called forward transmission mode; as shown in Figure 3, when the network cable between sub-controller i and sub-controller i+1 fails, sub-controllers i+1 to sub-controller n cannot receive video data through the first network port. At this time, sub-controllers i+1 to sub-controller n automatically switch to reverse transmission mode, that is, receive video data packets from the second network port of sub-controller n, and output video data packets from the first network port, that is, the i+1th to nth sub-controllers enter the reverse transmission mode. In this way, it is ensured that even if the line failure between the i-th and i+1-th sub-controllers does not affect the normal operation of the system.

采取了本发明提供的方式对原有的景观照明控制系统进行了重新设计并应用于实际中取得了成功,其故障率下降了60%以上。The original landscape lighting control system was redesigned by adopting the method provided by the present invention and successfully applied in practice, with the failure rate reduced by more than 60%.

本发明的主要的改进集中在:The main improvements of the present invention are concentrated on:

控制器千兆网口由1个改进为2个,并具有完全相同的结构,并同时输出相同的视频信号;The controller's Gigabit Ethernet port has been improved from 1 to 2, and they have exactly the same structure and output the same video signal at the same time;

分控器的FPGA代码进行了重新设计,改变了原来单向视频数据包的传输方式,可以根据检测网口视频数据的存在与否进行视频传输方向的切换。The FPGA code of the sub-controller has been redesigned to change the original one-way video data packet transmission method. The video transmission direction can be switched according to the presence or absence of video data at the detection network port.

以上显示和描述了本发明的基本原理和主要特征和本发明的优点。本行业的技术人员应该了解,本发明不受上述实施例的限制,上述实施例和说明书中描述的只是说明本发明的原理,在不脱离本发明精神和范围的前提下,本发明还会有各种变化和改进,这些变化和改进都落入要求保护的本发明范围内。本发明要求保护范围由所附的权利要求书及其等效物界定。The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims (5)

1. The landscape lighting control system with the loop type data transmission is characterized by comprising a controller and a plurality of sub-controllers;
The controller adopts a double-gigabit network port structure and comprises a first gigabit network port and a second gigabit network port;
The first kilomega network port is connected with the first stage branch controllers, the branch controllers are connected in cascade by adopting handles, and the last stage branch controller is connected with the second kilomega network port to form loop type communication;
Each sub-controller comprises a first network port and a second network port, and the first network port and the second network port integrate data sending and data receiving functions;
The branch controller is used for detecting whether the data packet sent by the controller on the communication line exists or not, and switching the input network port and the output network port of the branch controller according to the detection result;
The sub-controller comprises a forward transmission mode and a reverse transmission mode, wherein in the forward transmission mode, the first network port is used as a data receiving interface, and the second network port is used as a data transmitting interface; in the reverse transmission mode, the second network port is used as a data receiving interface, and the first network port is used as a data transmitting interface;
the branch controller is internally provided with an FPGA chip and a transceiver, the FPGA chip is respectively connected with a first network port and a second network port through the two transceivers, and the FPGA chip is used for receiving and analyzing network port data; the transceiver is used for acquiring the network cable connection state of the first network port, and when the network cable connection of the first network port is normal, the sub-controller adopts a forward transmission mode; when the network cable connection of the first network port is abnormal, the sub-controller adopts a reverse transmission mode;
the transceiver model number B50612; the model of the FPGA chip is XC6SLX45T;
the working method of the landscape lighting control system with the loop type data transmission comprises the following steps:
the controller packages the decoded video signals and outputs the video signals on the first gigabit network port and the second gigabit network port simultaneously;
When a certain sub-controller monitors that the network cable connection of the corresponding first network port is normal, the first network port is used as a data receiving interface, and the second network port is used as a data sending interface; when the IP of the data packet analyzed by the sub-controller is consistent with the IP of the sub-controller, the analyzed data is sent to the lamp; when the IP of the analyzed data packet is inconsistent with the current IP, forwarding the data packet to a next-stage controller through a second network port;
When a branch controller monitors that the network cable of a corresponding first network port is connected abnormally, the second network port is used as a data receiving interface, and the first network port is used as a data sending interface; when the IP of the data packet analyzed by the sub-controller is consistent with the IP of the sub-controller, the analyzed data is sent to the lamp; when the IP of the analyzed data packet is inconsistent with the current IP, forwarding the data packet to a next-stage controller through a first network port;
The sub-controller obtains the network cable connection state through a transceiver PHY of a first network port, and enters a reverse transmission mode if a video data packet is not received within a given time; in the reverse transmission mode, if the sub-controller detects that the first network port can normally receive the video data packet, the sub-controller enters the forward transmission mode.
2. The landscape lighting control system with the loop-back type data transmission function according to claim 1, wherein an RS485 interface is arranged on the sub-controller, and the output end of the FPGA chip is connected with the lamp through an RS485 bus.
3. A loop-back data transmission landscape lighting control system according to claim 1, wherein the forward transmission mode is preferred over the reverse transmission mode.
4. The landscape lighting control system with the loop-type data transmission according to claim 1, wherein when the IP of the data packet analyzed by the FPGA chip is consistent with the IP of the current sub-controller, the analyzed data is sent to the lamp; when the IP of the analyzed data packet is inconsistent with the current IP, forwarding the data packet to a next-stage controller through another network port;
The transceiver acquires the network cable connection state of the first network port, and when the network cable connection of the first network port is normal, the sub-controller adopts a forward transmission mode; when the network cable connection of the first network port is abnormal, the sub-controller adopts a reverse transmission mode.
5. The method of claim 2, wherein the FPGA chip transmits the parsed data to the lamp according to the data format of the DMX512 protocol and through the RS485 bus.
CN202110622097.XA 2021-06-03 2021-06-03 Landscape lighting control system with loop type data transmission function and working method thereof Active CN113329546B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110622097.XA CN113329546B (en) 2021-06-03 2021-06-03 Landscape lighting control system with loop type data transmission function and working method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110622097.XA CN113329546B (en) 2021-06-03 2021-06-03 Landscape lighting control system with loop type data transmission function and working method thereof

Publications (2)

Publication Number Publication Date
CN113329546A CN113329546A (en) 2021-08-31
CN113329546B true CN113329546B (en) 2024-04-23

Family

ID=77419679

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110622097.XA Active CN113329546B (en) 2021-06-03 2021-06-03 Landscape lighting control system with loop type data transmission function and working method thereof

Country Status (1)

Country Link
CN (1) CN113329546B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466280A (en) * 2002-06-22 2004-01-07 华为技术有限公司 Optical fiber node switching method and device
US7295552B1 (en) * 1999-06-30 2007-11-13 Broadcom Corporation Cluster switching architecture
CN202026324U (en) * 2011-03-23 2011-11-02 上海灵信信息科技有限公司 Light emitting diode (LED) full color self-healing data transmission system
CN102710484A (en) * 2012-05-26 2012-10-03 济南凌康数控技术有限公司 Ring redundant real-time Ethernet communication method
KR20120123191A (en) * 2011-04-19 2012-11-08 가락전자 주식회사 Controlling method of the hierarchy system for transmission of the real-time data such as an audio over internet protocol network
CN103916318A (en) * 2013-01-04 2014-07-09 南京南瑞继保电气有限公司 Single-loop network implementation method
CN206364831U (en) * 2016-12-16 2017-07-28 江苏瀚远科技股份有限公司 Data transmission device based on ring network structure
CN108777649A (en) * 2018-06-06 2018-11-09 山东易码智能科技股份有限公司 A kind of network intercepting device, system and method
CN208128298U (en) * 2018-01-05 2018-11-20 中国矿业大学(北京) One kind combats a natural disaster to become campus network DNS gateway
CN111106990A (en) * 2019-12-30 2020-05-05 苏州联视泰电子信息技术有限公司 Self-diagnosis method for loop of underwater multi-channel signal acquisition and transmission array system
CN214228521U (en) * 2020-12-21 2021-09-17 陕西科技大学 A device for improving communication reliability of lighting control system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8228946B2 (en) * 2009-07-29 2012-07-24 General Electric Company Method for fail-safe communication

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7295552B1 (en) * 1999-06-30 2007-11-13 Broadcom Corporation Cluster switching architecture
CN1466280A (en) * 2002-06-22 2004-01-07 华为技术有限公司 Optical fiber node switching method and device
CN202026324U (en) * 2011-03-23 2011-11-02 上海灵信信息科技有限公司 Light emitting diode (LED) full color self-healing data transmission system
KR20120123191A (en) * 2011-04-19 2012-11-08 가락전자 주식회사 Controlling method of the hierarchy system for transmission of the real-time data such as an audio over internet protocol network
CN102710484A (en) * 2012-05-26 2012-10-03 济南凌康数控技术有限公司 Ring redundant real-time Ethernet communication method
CN103916318A (en) * 2013-01-04 2014-07-09 南京南瑞继保电气有限公司 Single-loop network implementation method
CN206364831U (en) * 2016-12-16 2017-07-28 江苏瀚远科技股份有限公司 Data transmission device based on ring network structure
CN208128298U (en) * 2018-01-05 2018-11-20 中国矿业大学(北京) One kind combats a natural disaster to become campus network DNS gateway
CN108777649A (en) * 2018-06-06 2018-11-09 山东易码智能科技股份有限公司 A kind of network intercepting device, system and method
CN111106990A (en) * 2019-12-30 2020-05-05 苏州联视泰电子信息技术有限公司 Self-diagnosis method for loop of underwater multi-channel signal acquisition and transmission array system
CN214228521U (en) * 2020-12-21 2021-09-17 陕西科技大学 A device for improving communication reliability of lighting control system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LED景观照明系统设计与实现;张玉杰;周洁;邱金妮;;电子器件(01);全文 *
基于TCP/IP及DALI总线技术的智能照明控制系统;张玉杰;吴安安;;电视技术(22);全文 *

Also Published As

Publication number Publication date
CN113329546A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
US20090235001A1 (en) Communication System Having a Master/Slave Structure
US6738344B1 (en) Link extenders with link alive propagation
CN101800599B (en) Optical fiber circuit-protecting equipment and system
US20130250829A1 (en) Method for controlling communication system, communication system, and communication apparatus
US9191273B2 (en) Parallel operation of RSTP and MRP and segmentation coupling
CN104301146A (en) Link switching method and device in software defined network
EP2405613B1 (en) Network system and audio signal processor
JPH0637765A (en) Network connecting system, data processing network and its operating method
US20120017105A1 (en) Energy efficient ethernet network nodes and methods for use in ethernet network nodes
US20140071810A1 (en) Communication system and processing method therefor
EP2464040B1 (en) Protection device and protection method for optical network
CN105451419B (en) A kind of LED lamp is shown and detecting system
WO2011097893A1 (en) Method, device and system for transmitting e1 bidirectional looped network data
EP1471705A1 (en) A means and control method for adapting different media of transmission link of network on physical layer.
CN101184013B (en) Method for preventing generation of loop, host node and system
US8630166B2 (en) Ring network and network relay device
CN101119161B (en) Fail processing system and method of transmission equipment
CN113329546B (en) Landscape lighting control system with loop type data transmission function and working method thereof
US20210045010A1 (en) Radio Communication System for an Industrial Automation System and Method for Operating the Radio Communication System
CN111064504B (en) 1: 1OLP protection method in optical communication system
CN214228521U (en) A device for improving communication reliability of lighting control system
CN113035119A (en) LED driving device and control system of hand-held bidirectional transmission device
CN1477797A (en) Method and device for realizing fast optical fiber protection switching in ring network
CN1885750B (en) Far-end RF module and its method for transmitting signal
CN104135411A (en) Device and method of implementing multi-node communication based on RS232 interface

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
TR01 Transfer of patent right

Effective date of registration: 20241202

Address after: No. 11103, Building 1, Wenjing Square, Fengcheng 11th Road, Xi'an Economic and Technological Development Zone, Shaanxi Province, 710018

Patentee after: Xi'an Yuming Information Technology Co.,Ltd.

Country or region after: China

Address before: 710021 Shaanxi province Xi'an Weiyang University Park

Patentee before: SHAANXI University OF SCIENCE & TECHNOLOGY

Country or region before: China

TR01 Transfer of patent right