WO2020253665A1 - 一种闪眼灯的同步控制方法 - Google Patents

一种闪眼灯的同步控制方法 Download PDF

Info

Publication number
WO2020253665A1
WO2020253665A1 PCT/CN2020/096242 CN2020096242W WO2020253665A1 WO 2020253665 A1 WO2020253665 A1 WO 2020253665A1 CN 2020096242 W CN2020096242 W CN 2020096242W WO 2020253665 A1 WO2020253665 A1 WO 2020253665A1
Authority
WO
WIPO (PCT)
Prior art keywords
flashing
flashing lights
lights
light
main
Prior art date
Application number
PCT/CN2020/096242
Other languages
English (en)
French (fr)
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 福州通安电子有限公司
Publication of WO2020253665A1 publication Critical patent/WO2020253665A1/zh

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B5/00Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied
    • G08B5/22Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission
    • G08B5/36Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission using visible light sources
    • G08B5/38Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission using visible light sources using flashing light

Definitions

  • the invention relates to the technical field of warning lights, in particular to a synchronous control method of flashing lights.
  • the flashing light is a kind of warning safety product widely used in road construction, municipal construction and other construction sites.
  • the flashing light emits lights to remind vehicles and pedestrians to avoid the construction area to prevent safety accidents.
  • the multiple flashing lights used in the field to achieve synchronous flashing are mainly through the following methods: set the machine numbers of the multiple flashing lights in order of size, and arrange them in order according to the preset machine numbers in the field, or After the flashing lights are deployed on the scene, the machine numbers of each flashing light are set according to the starting sequence of the flashing lights, and then each flashing light is turned on or off according to the host control signal transmitted from the previous machine number, thereby Realize the simultaneous flashing of multiple flashing lights.
  • the above-mentioned method for realizing the simultaneous flashing of multiple flashing lights has the following defects: (1) When deploying the flashing lights on site, they need to be arranged in the order of machine numbers, which requires a lot of work and low efficiency during deployment; (2) During the working process of the flashing lights, if one of the flashing lights fails, the data transmission of the flashing lights in the work area may be interrupted and the flashing cannot be synchronized; (3) Since the flashing lights are arranged in order of the machine number, if you want To install or replace the flashing lights among multiple flashing lights, it is necessary to reset the order of the number of flashing lights, which is very complicated.
  • the technical problem to be solved by the present invention is to provide a synchronous control method of flashing lights to improve deployment control efficiency.
  • the technical solution adopted by the present invention is: a method for synchronous control of flashing lights, including the following steps:
  • two or more flashing lights After power-on, two or more flashing lights use their own identification code and the synchronization channel parameters associated with the identification code as broadcast data packets, and broadcast the broadcast data packets within a preset range, The identification code of each flashing light is different;
  • Each of the two or more flashing lights respectively receives the broadcast data packets of the remaining flashing lights, and analyzing the identification codes of the remaining flashing lights and the synchronization channel parameters associated with the identification codes;
  • All the slave flashing lights receive the synchronization information sent by the master flashing lights through the synchronization channel parameters, so that the master flashing lights and the slave flashing lights flash synchronously.
  • the beneficial effect of the present invention is that the flashing lights use its own identification code and the synchronized channel parameters associated with the identification code as broadcast data packets to broadcast within a preset range, and each flashing eye of the two or more flashing lights
  • the lights receive and parse the broadcast data packets of the remaining flashing lights respectively, and obtain the identification codes and synchronization channel parameters of the remaining flashing lights, and analyze the identification code of each flashing eye and the identification codes of the remaining flashing lights to determine the master Flashing lights and slave flashing lights, all slave flashing lights receive the synchronization information sent by the master flashing lights through the synchronization channel parameters, so that the master flashing lights and the slave flashing lights flash synchronously, and the slave flashing lights can communicate with each other
  • the information of the main flashing lights is forwarded, so that the flashing lights can be synchronized in a larger range.
  • the flashing lights controlled by the above method do not need to be arranged in the order of the flashing lights number when they are controlled, and can be replaced or replaced at will.
  • adding flashing lights there is no need to consider the situation that multiple flashing lights cannot flash synchronously due to data transmission interruption, and the deployment control efficiency is high and the operation is convenient.
  • Fig. 1 is a flow chart of a method for synchronous control of flashing lights of the present invention.
  • the most critical idea of the present invention is to analyze the identification code of each flashing light within a preset range and the identification codes of the rest of the flashing lights to determine the main flashing light and the secondary flashing light, and the secondary flashing light meeting
  • the information of the master flashing light is transmitted to other slave flashing lights (especially the places where the master flashing light cannot communicate), and all the slave flashing lights receive the synchronization information sent by the master flashing light through the synchronization channel parameters, so that the master The flash-eye light flashes synchronously with the slave flash-eye light.
  • a method for synchronous control of flashing lights of the present invention includes the following steps:
  • two or more flashing lights After power-on, two or more flashing lights use their own identification code and the synchronization channel parameters associated with the identification code as broadcast data packets, and broadcast the broadcast data packets within a preset range, The identification code of each flashing light is different;
  • each of the two or more flashing lights respectively receives the broadcast data packets of the remaining flashing lights, and analyzing the identification codes of the remaining flashing lights and the synchronization channel parameters associated with the identification codes;
  • All the slave flashing lights receive the synchronization information sent by the master flashing lights through the synchronization channel parameters, so that the master flashing lights and the slave flashing lights flash synchronously.
  • the beneficial effect of the present invention is that the flashing lights use its own identification code and the synchronized channel parameters associated with the identification code as a broadcast data packet to broadcast within a preset range, and two or more flashing lights Each of the flashing lights receives and parses the broadcast data packets of the remaining flashing lights to obtain the identification code of the remaining flashing lights and the synchronization channel parameters, and the identification code of each flashing eye and the identification code of the remaining flashing lights Analyze to determine the master flashing light and the slave flashing light, all the slave flashing lights receive the synchronization information sent by the master flashing light through the synchronization channel parameter, so that the master flashing light and the slave flashing light flash synchronously.
  • the lights can forward the information of the main flashing lights to each other, so that the flashing lights can be synchronized in a larger range.
  • the flashing lights controlled by the above method do not need to be arranged in order of the size of the flashing lights when they are deployed.
  • the flashing lights can be replaced or added arbitrarily, there is no need to consider the situation that multiple flashing lights cannot flash synchronously due to the interruption of data transmission, and the deployment control efficiency is high and the operation is convenient.
  • step S3 specifically includes: comparing the size of each flashing light with the identification code of the remaining flashing lights one by one, and selecting the smallest (or largest) identification code value of the two or more flashing lights
  • the flashing lights are marked as master flashing lights, and the remaining flashing lights except the main flashing lights are marked as secondary flashing lights.
  • the slave flashing lights can obtain the signal source for controlling the flashing of the flashing lights, so that the master flashing lights and the slave flashing lights can flash synchronously.
  • step S4 the method further includes: S5.
  • the primary flashlight receives a time mark information sent by the main flashlight via the synchronization channel parameter from the flashlight, start timing to obtain the first time data;
  • the slave flashing light When the first time data is equal to the preset time threshold, it is determined whether the slave flashing light receives the next synchronization information sent by the main flashing light through the synchronization channel, and if not, it is determined that the main flashing light is in an abnormal state.
  • step S5 it further includes: S6.
  • S6 When it is determined that the main flashing light is in an abnormal state, deleting the identification code of the main flashing light, returning to step S3 and executing, and obtaining a new main flashing light.
  • the remaining slave flashing lights will automatically analyze each flashing eye's own identification code and the identification code of the remaining working flashing lights to determine a new one.
  • the main flashing light As can be seen from the above description, because the main flashing lights are in an abnormal state, the remaining slave flashing lights will automatically analyze each flashing eye's own identification code and the identification code of the remaining working flashing lights to determine a new one.
  • the main flashing light As can be seen from the above description, because the main flashing lights are in an abnormal state, the remaining slave flashing lights will automatically analyze each flashing eye's own identification code and the identification code of the remaining working flashing lights to determine a new one. The main flashing light.
  • the broadcast data packet in step S1 is broadcast through a 2.4G wireless communication module.
  • the broadcast data packet is broadcast through the 2.4G wireless communication module, which makes the transmission speed faster and more stable.
  • the first embodiment of the present invention is:
  • a method for synchronous control of flashing lights includes the following steps:
  • two or more flashing lights use their own built-in product identification code (hereinafter referred to as the identification code) and the synchronization channel parameters associated with the identification code as a broadcast data packet, and send the broadcast data packet Broadcast within the preset range, and the identification code of each flashing light is different;
  • each flashing lamp is electrically connected to a power supply terminal, and multiple power supplying terminals are controlled by a control terminal, so that more than two flashing lights can be powered at the same time, or more than two flashing lights
  • the lights are electrically connected to a power supply terminal, which can also be powered at the same time; the flashing lights have a built-in ID code, and the ID code of each flashing light is unique, which is different from the ID codes of other flashing lights.
  • the flashlight control system generates a virtual machine number based on the identity ID code, and the virtual machine number determines the synchronization channel parameters of the flashlight light.
  • the identification code is the virtual machine number; each flashing light has a broadcast channel and a synchronization channel, which are formed between different flashing lights based on the 2.4G wireless communication module.
  • the broadcast data packets of the flashing lights are transmitted through 2.4G wireless communication technology, and the flashing lights can transmit or receive the broadcast data packets of other flashing lights within the receiving range of its own product data.
  • each of the two or more flashing lights respectively receives the broadcast data packets of the remaining flashing lights, and analyzing the identification codes of the remaining flashing lights and the synchronization channel parameters associated with the identification codes;
  • the number of flashing lights is 5, and their virtual machine numbers are 01, 02, 03, 04, 05 respectively.
  • flashing lights 01 is used to represent flashing lights with identification code 01. The rest of the flashing lights are set in the same way; the 2.4G wireless communication module of the flashing lights 01 will receive the broadcast data packets of the flashing lights 02, 03, 04, 05, and the micro-control unit will transmit the broadcast from the 2.4G wireless communication module. The data packet is parsed to obtain the virtual machine numbers and synchronization channel parameters of other flashing lights; similarly, flashing lights 02 will receive the broadcast data packets of flashing lights 01, 03, 04, and 05.
  • the flashing light system compares the size of each flashing light's own virtual machine number with the virtual machine numbers of the remaining flashing lights, and selecting flashing lights 01, 02, 03, 04, 05
  • the flashing light with the smallest or largest CSI virtual machine number is marked as the master flashing light, and the remaining flashing lights except the main flashing light are marked as secondary flashing lights, for example, when the virtual machine number with the smallest number is selected Flashing light 01 is the main flashing light, then 02, 03, 04, 05 are all secondary flashing lights.
  • the machine number of flashing light 01 is recorded as the virtual host in the system list.
  • the virtual host can Send its local information about the flashing lights, and other slave flashing lights are responsible for receiving the information sent by flashing lights 01;
  • the flashing lights when the flashing lights are deployed on site, the flashing lights do not need to manually sort the flashing lights, and the flashing light deployment control system itself can realize the control of the master flashing lights and the slave flashing lights Perform automatic classification.
  • All the slave flashing lights receive the synchronization information sent by the master flashing lights through the synchronization channel parameters, so that the master flashing lights and the slave flashing lights flash synchronously.
  • the slave flashing lights after all the slave flashing lights receive the synchronization channel parameters in the broadcast data packet of the master flashing lights, they will pair the synchronization channel of the slave flashing lights with the synchronization channel of the master flashing lights.
  • the synchronization information includes time mark information, which can be the timer setting time, so that the local time of the flash light is consistent with the time mark information; after the synchronization channel is paired, The slave flashing light synchronizes the synchronization information of the main flashing light (including time stamp information) to the timer of the slave flashing light itself.
  • the synchronized timer can be used to synchronize the flashing frequency of the flashing light and other information with the main flashing eye
  • the lights are consistent, so that the master flashing light and the slave flashing light flash synchronously. After the master flashing light and the slave flashing light are flashing synchronously, the slave flashing light will also clear the count value of the built-in timeout counter to zero. The data overflowed, and an error occurred, which triggered a new round of virtual main flash selection process.
  • the timeout timer for receiving synchronization information built in each flashing light monitors the synchronization working status of the entire system. If the main flashing eye fails, the synchronization information will be lost and the synchronization information receiving timeout timer will overflow, namely When the synchronization information sent by the main flashlight is received from the flashlight, the time starts from the timeout timer of the flashlight, and the recorded time is called the first time data. When the first time data is greater than or equal to the preset time When the threshold is set (the time threshold is 1 second), the slave flashing light has not received the next synchronization information from the main flashing light. At this time, the micro-processing unit of the flashing light determines that the main flashing light is in an abnormal state. The synchronization channel of the slave flashing light is disconnected from the synchronization channel of the main flashing light, and the initial setting state is restored.
  • step S6 When it is determined that the main flashing light is in an abnormal state, the identification code of the main flashing light is deleted, and step S3 is returned and executed to obtain a new main flashing light.
  • the flashing lights system determines that the main flashing lights are in an abnormal state, and the flashing lights system will replace the original master flashing lights in the system list. Delete the virtual machine number of, then return to step S3 and execute, continue to select from all the original normal working slave flashing lights according to the size of the virtual machine number, and get the new main flashing light;
  • the beneficial effect of this embodiment is that the flashing lights controlled by the above method do not need to be arranged in the order of the flashing lights' machine numbers when they are deployed, and the flashing lights can be arbitrarily replaced or added, and there is no need to consider the replacement and failure of the flashing lights.
  • the random increase or decrease of the number of flashing lights will not affect the entire synchronized flashing flashing lights system.
  • the deployment and control efficiency is high and the operation is convenient.
  • this method can also determine the working status of the main flashing light. If the main flashing light is in an abnormal state, the system will automatically determine the new main flashing light to realize the virtual host The function of automatic filling.
  • the present invention provides a method for synchronous control of flashing lights.
  • the flashing lights use their own identification code and the synchronized channel parameters associated with the identification code as broadcast data packets to broadcast within a preset range.
  • Each of the more than one flashing lights receives and parses the broadcast data packets of the other flashing lights, and obtains the identification code and synchronization channel parameters of the remaining flashing lights.
  • the size and value of the identification codes of the remaining flashing lights are compared, and the flashing lights with the minimum or maximum identification code determined among two or more flashing lights are marked as the main flashing lights, except for the main flashing lights.
  • the other flashing lights except the lights are marked as the slave flashing lights.
  • All the slave flashing lights receive the synchronization information sent by the master flashing lights through the synchronization channel parameters to make the master flashing lights and the slave flashing lights flash synchronously.
  • the flashing lights controlled by the method do not need to be arranged in the order of the flashing lights' machine numbers when they are deployed.
  • this method can also judge the working status of the main flashing light. If the main flashing light is in an abnormal state, the system will automatically determine the new main flashing light to realize the automatic repositioning of the virtual host Function;
  • the broadcast data packet is broadcast through the 2.4G wireless communication module, which makes the transmission speed faster and more stable.

Abstract

一种闪眼灯的同步控制方法,闪眼灯将自身的识别码和识别码相关联的同步频道参数作为广播数据包在预设的范围内进行广播(S1);两个以上的闪眼灯中的每个闪眼灯分别接收和解析其余闪眼灯的广播数据包,得到其余闪眼灯的识别码与同步频道参数(S2);对每个闪眼灯自身的识别码与其余闪眼灯的识别码进行分析,确定主闪眼灯和从闪眼灯(S3);所有从闪眼灯接收主闪眼灯通过同步频道参数发出的同步信息,以使主闪眼灯与从闪眼灯同步闪烁(S4);采用上述方法控制的闪眼灯在布控时无需按照闪眼灯机号大小顺序排列,可任意的更换或增加闪眼灯,布控效率高且操作方便。

Description

一种闪眼灯的同步控制方法 技术领域
本发明涉及警示灯技术领域,特别涉及一种闪眼灯的同步控制方法。
背景技术
闪眼灯是一种广泛用于道路施工、市政施工等施工现场的警示类安全用品,通过闪眼灯发出的灯光提醒车辆和行人避开施工区域,预防发生安全事故。
目前,现场中使用的多个闪眼灯实现同步闪烁主要是通过以下方式:对多个闪眼灯分别按大小顺序设置好机号,在现场中根据预先设置好的机号大小依次排放,或者是将闪眼灯布控在现场后,根据闪眼灯的开机顺序设置各个闪眼灯的机号,接着各个闪眼灯根据前一机号的传送过来的主机控制信号进行点亮或熄灭,从而实现多个闪眼灯同步闪烁。
然而,上述的关于实现多个闪眼灯同步闪烁的方法存在以下缺陷:(1)在现场布控闪眼灯时需要按照机号大小顺序进行排列,布控时工作量大且效率低;(2)在闪眼灯工作过程中,若其中一个闪眼灯发生故障,可能造成工作区域内的闪眼灯数据传输中断,无法同步闪烁;(3) 由于闪眼灯按照机号大小顺序排列,若想要在多个闪眼灯中间加装闪眼灯或者更换闪眼灯,需要重新设置闪眼灯的机号大小顺序,操作十分复杂。
技术问题
本发明所要解决的技术问题是:提供一种闪眼灯的同步控制方法,以提高布控效率。
技术解决方案
为了解决上述技术问题,本发明采用的技术方案为:一种闪眼灯的同步控制方法,包括以下步骤:
S1、上电后,两个以上的闪眼灯分别将自身的识别码和所述识别码相关联的同步频道参数作为广播数据包,并将所述广播数据包在预设范围内进行广播,每个闪眼灯自身的识别码均不相同;
S2、两个以上的闪眼灯中的每个闪眼灯分别接收其余闪眼灯的广播数据包,解析得到其余闪眼灯的识别码和所述识别码相关联同步频道参数;
S3、根据每个闪眼灯自身的识别码与其余闪眼灯的识别码进行分析,在两个以上的闪眼灯中确定一个闪眼灯标记为主闪眼灯,除所述主闪眼灯之外的其余闪眼灯标记为从闪眼灯;
S4、所有从闪眼灯接收主闪眼灯通过同步频道参数发出的同步信息,以使主闪眼灯与从闪眼灯同步闪烁。
有益效果
本发明的有益效果在于:闪眼灯将自身的识别码和识别码相关联的同步频道参数作为广播数据包在预设的范围内进行广播,两个以上的闪眼灯中的每个闪眼灯分别接收和解析其余闪眼灯的广播数据包,得到其余闪眼灯的识别码与同步频道参数,对每个闪眼灯自身的识别码与其余闪眼灯的识别码进行分析,确定主闪眼灯和从闪眼灯,所有从闪眼灯接收主闪眼灯通过同步频道参数发出的同步信息,以使主闪眼灯与从闪眼灯同步闪烁,从闪眼灯之间能相互转发主闪眼灯的信息,使得能在更大范围内实现闪眼灯的信息同步,采用上述方法控制的闪眼灯在布控时无需按照闪眼灯机号大小顺序排列,可任意的更换或增加闪眼灯时,无需考虑数据传输中断使多个闪眼灯无法同步闪烁的情况,布控效率高且操作方便。
附图说明
图1为本发明的一种闪眼灯的同步控制方法的流程图。
本发明的实施方式
为详细说明本发明的技术内容、所实现目的及效果,以下结合实施方式并配合附图予以说明。
本发明最关键的构思在于:通过在预设范围内的每个闪眼灯自身的识别码与其余闪眼灯的识别码进行分析,确定主闪眼灯和从闪眼灯,从闪眼灯会把主闪眼灯的信息传递给其他从闪眼灯(特别是主闪眼灯通讯不到的地方),所有从闪眼灯接收主闪眼灯通过同步频道参数发出的同步信息,以使主闪眼灯与从闪眼灯同步闪烁。
请参照图1,本发明的一种闪眼灯的同步控制方法,包括以下步骤:
S1、上电后,两个以上的闪眼灯分别将自身的识别码和所述识别码相关联的同步频道参数作为广播数据包,并将所述广播数据包在预设范围内进行广播,每个闪眼灯自身的识别码均不相同;
S2、两个以上的闪眼灯中的每个闪眼灯分别接收其余闪眼灯的广播数据包,解析得到其余闪眼灯的识别码和所述识别码相关联同步频道参数;
S3、根据每个闪眼灯自身的识别码与其余闪眼灯的识别码进行分析,在两个以上的闪眼灯中确定一个闪眼灯标记为主闪眼灯,除所述主闪眼灯之外的其余闪眼灯标记为从闪眼灯;
S4、所有从闪眼灯接收主闪眼灯通过同步频道参数发出的同步信息,以使主闪眼灯与从闪眼灯同步闪烁。
从上述描述可知,本发明的有益效果在于:闪眼灯将自身的识别码和识别码相关联的同步频道参数作为广播数据包在预设的范围内进行广播,两个以上的闪眼灯中的每个闪眼灯分别接收和解析其余闪眼灯的广播数据包,得到其余闪眼灯的识别码与同步频道参数,对每个闪眼灯自身的识别码与其余闪眼灯的识别码进行分析,确定主闪眼灯和从闪眼灯,所有从闪眼灯接收主闪眼灯通过同步频道参数发出的同步信息,以使主闪眼灯与从闪眼灯同步闪烁,从闪眼灯之间能相互转发主闪眼灯的信息,使得能在更大范围内实现闪眼灯的信息同步,采用上述方法控制的闪眼灯在布控时无需按照闪眼灯机号大小顺序排列,可任意的更换或增加闪眼灯时,无需考虑数据传输中断使多个闪眼灯无法同步闪烁的情况,布控效率高且操作方便。
进一步的,步骤S3具体为:根据每个闪眼灯自身的识别码与其余闪眼灯的识别码进行一一比较大小,选取两个以上的闪眼灯中识别码值最小(或最大)的闪眼灯标记为主闪眼灯,除所述主闪眼灯之外的其余闪眼灯标记为从闪眼灯。
从上述描述可知,通过比较闪眼灯的识别码的大小值,确定识别码为最小(或最大)值的闪眼灯标记为主闪眼灯,其余闪眼灯标记为从闪眼灯,无需人为对闪眼灯进行排序,即可使从闪眼灯获得控制闪眼灯闪烁的信号源,从而实现主闪眼灯与从闪眼灯同步闪烁。
进一步的,步骤S4之后还包括:S5、当从闪眼灯接收到主闪眼灯通过同步频道参数发出的一次时间标志信息时,开始计时,得到第一时间数据;
当第一时间数据等于预设时间阈值时,判断所述从闪眼灯是否接收到主闪眼灯通过同步频道发出的下一次的同步信息,若否,则判定主闪眼灯处于异常状态。
从上述描述可知,当第一时间数据等于预设时间阈值时,从闪眼灯无法接收到主闪眼灯发出下一次的同步信息的时候,判断主闪眼灯处于异常状态,需针对上述主闪眼灯处于异常状态的情况进行处理,防止发生主闪眼灯处于异常状态导致所有从闪眼灯无法同步闪烁的情况。
进一步的,步骤S5之后还包括:S6、当判定主闪眼灯处于异常状态时,则删除所述主闪眼灯的识别码,返回步骤S3并执行,得到新的主闪眼灯。
从上述描述可知,由于主闪眼灯处于异常状态,其余的从闪眼灯会自动根据每个闪眼灯自身的识别码与其余工作正常的闪眼灯的识别码进行分析,进而确定出新的主闪眼灯。
进一步的,步骤S1中所述广播数据包通过2.4G无线通讯模块进行广播。
从上述描述可知,所述广播数据包通过2.4G无线通讯模块进行广播,使传播速度更快且更稳定。
请参照图1,本发明的实施例一为:
一种闪眼灯的同步控制方法,包括以下步骤:
S1、上电后,两个以上的闪眼灯分别将自身内置的产品识别码(以下简称识别码)和所述识别码相关联的同步频道参数作为广播数据包,并将所述广播数据包在预设范围内进行广播,每个闪眼灯自身的识别码均不相同;
在本实施例中,每个闪眼灯分别与一个供电端电连接,多个供电端由一控制端控制,以实现两个以上的闪眼灯能够同时得电,或者两个以上的闪眼灯共同与一个供电端电连接,同样能够实现同时得电;闪眼灯均内置一个身份ID码,每台闪眼灯的ID码是唯一的,与其他闪眼灯的ID码均不相同,闪眼灯的控制系统根据身份ID码生成虚拟机号,所述虚拟机号确定了闪眼灯的同步频道参数,由于身份ID码均不相同,使虚拟机号和同步频道参数也均不相同,所述识别码为该虚拟机号;每个闪眼灯均设有广播频道和同步频道,广播频道和同步频道均是基于2.4G无线通讯模块在不同的闪眼灯之间形成的,闪眼灯的广播数据包通过2.4G无线通讯技术进行传播,闪眼灯能发射或接收到在其自身产品数据接收范围内的其他闪眼灯的广播数据包。
S2、两个以上的闪眼灯中的每个闪眼灯分别接收其余闪眼灯的广播数据包,解析得到其余闪眼灯的识别码和所述识别码相关联同步频道参数;
在本实施例中,所述闪眼灯的数量为5个,其虚拟机号分别为01、02、03、04、05,下面用闪眼灯01来表示识别码为01的闪眼灯,其余闪眼灯同理设置;闪眼灯01的2.4G无线通讯模块会接收到闪眼灯02、03、04、05的广播数据包,微控制单元将从2.4G无线通讯模块传输得到的广播数据包进行解析,得到其他闪眼灯的虚拟机号和同步频道参数;同理,闪眼灯02会接到闪眼灯01、03、04、05的广播数据包。
S3、根据每个闪眼灯自身的识别码与其余闪眼灯的识别码进行分析计算,通过分析计算在两个以上的闪眼灯中确定出一个唯一的闪眼灯标记为主闪眼灯,除所述主闪眼灯之外的其余闪眼灯标记为从闪眼灯;
在本实施例中,闪眼灯系统根据每个闪眼灯自身的虚拟机号与其余闪眼灯的虚拟机号进行一一比较大小,选取个闪眼灯01、02、03、04、05中识虚拟机号最小或者最大的闪眼灯标记为主闪眼灯,除所述主闪眼灯之外的其余闪眼灯标记为从闪眼灯,例如,当选取虚拟机号为最小的闪眼灯01作为主闪眼灯,则02、03、04、05均为从闪眼灯,闪眼灯系统中将闪眼灯01的机号记录为系统列表中的虚拟主机,虚拟主机可以发送其本地的有关灯光闪烁的信息,而其他从闪眼灯则负责接收闪眼灯01发出的信息;
在上述的控制方法中,在对闪眼灯进行现场布控时,本闪眼灯无需人为对各闪眼灯进行排序,闪眼灯布控系统本身即可实现对主闪眼灯和从闪眼灯进行自动分类。
S4、所有从闪眼灯接收主闪眼灯通过同步频道参数发出的同步信息,以使主闪眼灯与从闪眼灯同步闪烁。
在本实施例中,所有的从闪眼灯在接收到主闪眼灯的广播数据包中的同步频道参数后,将从闪眼灯自身的同步频道与主闪眼灯的同步频道进行配对,作为主闪眼灯传输其同步信息的通道,同步信息包括时间标志信息,时间标志信息可为定时器设定时间,使闪眼灯的本地时间与时间标志信息保持一致;同步频道配对完之后,从闪眼灯将主闪眼灯的同步信息(包括时间标志信息)同步至从闪眼灯自身的定时器中,同步后的定时器可将从闪眼灯闪烁的频率等信息与主闪眼灯保持一致,从而实现主闪眼灯与从闪眼灯同步闪烁,在实现主闪眼灯与从闪眼灯同步闪烁之后,从闪眼灯同时将内置的超时计数器的计数值清零,防止数据溢出,而产生错误导致触发新一轮的虚拟主闪眼灯的选择过程。
S5、当从闪眼灯接收到主闪眼灯通过同步频道参数发出的一次同步信息时,开始计时,得到第一时间数据;当第一时间数据等于预设时间阈值时,判断所述从闪眼灯是否接收到主闪眼灯通过同步频道发出的下一次的同步信息,若否,则判定主闪眼灯处于异常状态。
在本实施例中,每个闪眼灯内置的同步信息接收的超时计时器监控整个系统的同步工作状态,若主闪眼失效将导致同步信息丢失,引发同步信息接收超时计时器的溢出,即当从闪眼灯接收到主闪眼灯发送的同步信息时,从闪眼灯的超时计时器开始计时,记录下的时间称为第一时间数据,当第一时间数据大于或等于预设时间阈值时(时间阈值为1秒),从闪眼灯还未接收到主闪眼灯发出的下一次的同步信息,此时从闪眼灯的微处理单元判断出主闪眼灯处于异常状态,从闪眼灯的同步频道便与主闪眼灯的同步频道断开连接,恢复初始设置的状态。
S6、当判定主闪眼灯处于异常状态时,则删除所述主闪眼灯的识别码,返回步骤S3并执行,得到新的主闪眼灯。
在本实施例中,当所有的从闪眼灯与主闪眼灯断开连接之后,闪眼灯系统则判断主闪眼灯处于异常状态,闪眼灯系统将系统列表中的原主闪眼灯的虚拟机号删除,再返回步骤S3并执行,继续从原来的所有正常工作的从闪眼灯中,根据虚拟机号的大小进行选择,得到新的主闪眼灯;
在上述的控制方法中,避免了主闪眼灯发生异常而导致所有的从闪眼灯无法正常同步工作的情况。
本实施例的有益效果在于:采用上述方法控制的闪眼灯在布控时无需按照闪眼灯机号大小顺序排列,可任意的更换或增加闪眼灯时,更换时无需考虑要更换与故障机相同机号的闪眼灯,或者无需考虑将所有的闪眼灯先关机,等更换好故障机后再按照布控顺序依次开机,并且无需考虑数据传输中断使多个闪眼灯无法同步闪烁的情况,随意的增减从闪眼灯的数目不会对整个同步闪烁的闪眼灯系统造成影响,布控效率高且操作方便,同时,在工作过程中,也无需考虑当某一闪眼灯发生故障时是否会造成同步失效的问题;该方法还能判断主闪眼灯的工作状态,若当所述主闪眼灯处于异常状态时,系统会自动确定出新的主闪眼灯,实现虚拟主机自动补位的功能。
综上所述,本发明提供的一种闪眼灯的同步控制方法,闪眼灯将自身的识别码和识别码相关联的同步频道参数作为广播数据包在预设的范围内进行广播,两个以上的闪眼灯中的每个闪眼灯分别接收和解析其余闪眼灯的广播数据包,得到其余闪眼灯的识别码与同步频道参数,对每个闪眼灯自身的识别码与其余闪眼灯的识别码的大小值进行比较,在两个以上的闪眼灯中确定所述识别码为最小值或最大值的闪眼灯标记为主闪眼灯,除所述主闪眼灯之外的其余闪眼灯标记为从闪眼灯,所有从闪眼灯接收主闪眼灯通过同步频道参数发出的同步信息,以使主闪眼灯与从闪眼灯同步闪烁,采用上述方法控制的闪眼灯在布控时无需按照闪眼灯机号大小顺序排列,可任意的更换或增加闪眼灯时,无需考虑数据传输中断使多个闪眼灯无法同步闪烁的情况,布控效率高且操作方便;该方法还能判断主闪眼灯的工作状态,若当所述主闪眼灯处于异常状态时,系统会自动确定出新的主闪眼灯,实现虚拟主机自动补位的功能;所述广播数据包通过2.4G无线通讯模块进行广播,使传播速度更快且更稳定。
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等同变换,或直接或间接运用在相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (5)

  1. 一种闪眼灯的同步控制方法,其特征在于,包括以下步骤:
    S1、上电后,两个以上的闪眼灯分别将自身的识别码和所述识别码相关联的同步频道参数作为广播数据包,并将所述广播数据包在预设范围内进行广播,每个闪眼灯自身的识别码均不相同;
    S2、两个以上的闪眼灯中的每个闪眼灯分别接收其余闪眼灯的广播数据包,解析得到其余闪眼灯的识别码和所述识别码相关联同步频道参数;
    S3、根据每个闪眼灯自身的识别码进行分析,在两个以上的闪眼灯中,确定一个闪眼灯标记为主闪眼灯,除所述主闪眼灯之外的其余闪眼灯标记为从闪眼灯;
    S4、所有从闪眼灯接收主闪眼灯通过同步频道参数发出的同步信息,以使主闪眼灯与从闪眼灯同步闪烁。
  2. 根据权利要求1所述的闪眼灯的同步控制方法,其特征在于,步骤S3具体为:根据每个闪眼灯自身的识别码与其余闪眼灯的识别码进行一一比较大小,选取两个以上的闪眼灯中识别码值最小(或最大)的闪眼灯标记为主闪眼灯,除所述主闪眼灯之外的其余闪眼灯标记为从闪眼灯。
  3. 根据权利要求1所述的闪眼灯的同步控制方法,其特征在于,步骤S4之后还包括:
    S5、当从闪眼灯接收到主闪眼灯通过同步频道参数发出的一次同步信息时,开始计时,得到第一时间数据;
    当第一时间数据等于预设时间阈值时,判断所述从闪眼灯是否接收到主闪眼灯通过同步频道参数发出的下一次的同步信息,若否,则判定主闪眼灯处于异常状态。
  4. 根据权利要求3所述的闪眼灯的同步控制方法,其特征在于,步骤S5之后还包括:
    S6、当判定主闪眼灯处于异常状态时,则删除所述主闪眼灯的识别码,返回步骤S3并执行,得到新的主闪眼灯。
  5. 根据权利要求1所述的闪眼灯的同步控制方法,其特征在于,步骤S1中所述广播数据包通过2.4G无线通讯模块进行广播。
PCT/CN2020/096242 2019-06-17 2020-06-16 一种闪眼灯的同步控制方法 WO2020253665A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910519761.0A CN110246288A (zh) 2019-06-17 2019-06-17 一种闪眼灯的同步控制方法
CN201910519761.0 2019-06-17

Publications (1)

Publication Number Publication Date
WO2020253665A1 true WO2020253665A1 (zh) 2020-12-24

Family

ID=67887342

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/096242 WO2020253665A1 (zh) 2019-06-17 2020-06-16 一种闪眼灯的同步控制方法

Country Status (2)

Country Link
CN (1) CN110246288A (zh)
WO (1) WO2020253665A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110246288A (zh) * 2019-06-17 2019-09-17 福州通安电子有限公司 一种闪眼灯的同步控制方法
CN110910660B (zh) * 2019-11-13 2021-11-05 苏州中亿通智能系统有限公司 一种道路交通信号控制器
CN112219412A (zh) * 2020-08-07 2021-01-12 福州通安电子有限公司 一种灯具的同步方法及终端

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203907457U (zh) * 2014-06-19 2014-10-29 福州通安电子有限公司 一种闪眼灯
CN107819536A (zh) * 2016-09-14 2018-03-20 北京易方通达科技有限公司 Led灯时间同步的方法
KR20190023570A (ko) * 2017-08-29 2019-03-08 (주)맵시전자 재난방송이 가능한 무선 마을 방송 시스템
CN109511207A (zh) * 2019-01-09 2019-03-22 苏州蓝石新动力有限公司 一种灯光同步方法与系统
CN208750608U (zh) * 2018-09-28 2019-04-16 福州通安电子有限公司 一种射频同步闪眼灯系统
CN110246288A (zh) * 2019-06-17 2019-09-17 福州通安电子有限公司 一种闪眼灯的同步控制方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2836119Y (zh) * 2005-11-09 2006-11-08 林钦松 组合式闪光显示模块
CN202082839U (zh) * 2011-01-28 2011-12-21 易视丽工业有限公司 一种led警示灯、led警示灯系统、以及导航路径
JP6191956B2 (ja) * 2013-09-18 2017-09-06 パナソニックIpマネジメント株式会社 調光器及び照明装置
CN206422838U (zh) * 2017-02-17 2017-08-18 克拉玛依市格恩赛电子科技有限公司 一种带探照灯安防监控用一体化摄像机

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203907457U (zh) * 2014-06-19 2014-10-29 福州通安电子有限公司 一种闪眼灯
CN107819536A (zh) * 2016-09-14 2018-03-20 北京易方通达科技有限公司 Led灯时间同步的方法
KR20190023570A (ko) * 2017-08-29 2019-03-08 (주)맵시전자 재난방송이 가능한 무선 마을 방송 시스템
CN208750608U (zh) * 2018-09-28 2019-04-16 福州通安电子有限公司 一种射频同步闪眼灯系统
CN109511207A (zh) * 2019-01-09 2019-03-22 苏州蓝石新动力有限公司 一种灯光同步方法与系统
CN110246288A (zh) * 2019-06-17 2019-09-17 福州通安电子有限公司 一种闪眼灯的同步控制方法

Also Published As

Publication number Publication date
CN110246288A (zh) 2019-09-17

Similar Documents

Publication Publication Date Title
WO2020253665A1 (zh) 一种闪眼灯的同步控制方法
CN101420332B (zh) 一种成员端口配置情况的通知方法和网络设备
EP2642699A1 (en) Method of controlling communication system, communication system, communication device
US20180227998A1 (en) Commissioning, decommissioning and testing of a smart sensor-driven LED lighting system without gateway
CN105701051A (zh) 一种热插拔方法、主机控制器、主机及PCIe桥设备
CN109089356B (zh) 一种路灯控制系统及方法
WO2020098602A1 (zh) 灯具的状态信息的查询方法及其在灯光控制系统中的应用
US9871616B2 (en) Error detection and recovery in a DMX512 network
EP3578010B1 (en) Distributed control of a lighting network
CN108833056B (zh) 一种消防两总线优先通信的编码方法
CN110868784B (zh) 舞台灯光数据双向同步通信方法及系统、存储介质及装置
CN106937466B (zh) 一种基于单片机的路灯故障检测、智能报警控制模块
CN103491677A (zh) 一种顺序闪光灯的控制系统及其分控装置
EP4129011A1 (en) Network diagnostics using color output of lamps
CN104470035A (zh) 道路照明智能电源系统
CN101217405B (zh) Sgsn的备份方法和通信系统、通信设备
CN106815043B (zh) 一种智能led灯的群组升级方法
CA3108087C (en) Method for monitoring apparatus
CN108990086B (zh) 一种同步网络告警方法和装置
CN107842973A (zh) 一种基于线控器快速同步主板数据的方法
US10652986B1 (en) Dimmer system control
CN114120662B (zh) 一种基于串口总线的智能信号灯同步控制系统及方法
US10736197B2 (en) Lighting state synchronization
KR101965036B1 (ko) 항공 장애등 제어 장치 및 항공 장애등 제어 방법
EP2790421A1 (en) Network settings synchronization method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20826239

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20826239

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20826239

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12-05-2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20826239

Country of ref document: EP

Kind code of ref document: A1