Grouping control method and system applied to navigational lighting system lamps
Through the use of global multicast technology and customized grouping frame content, the problem of communication bandwidth occupation and guidance confusion caused by the group control method in the navigation lighting system is solved, efficient and accurate lighting control is achieved, and the guidance efficiency and consistency of the system are improved. sex.
Patent Information
- Application Number
- CN202410884518.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-10-29
AI Technical Summary
In existing navigation lighting systems, the group control method based on broadband power carrier communication has problems such as excessive communication bandwidth usage and confusing guidance, resulting in inconsistent response of lamps or guidance errors.
Global multicast technology is used to initialize the grouping configuration, and control instructions are issued by customizing the grouping frame content and multicast address to achieve grouping and segmented control of multiple single lamp monitoring devices to ensure lamp response consistency and control efficiency.
It greatly reduces the communication bandwidth requirements, improves the guidance efficiency and control consistency of the navigation lighting system, and ensures timely response and accurate guidance of the lighting fixtures.
Smart Images

Figure CN118870618A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of civil aviation airport navigation light control, and in particular to a group control method and system for lighting fixtures in a navigation light system. Background Art
[0002] The navigation lighting system based on broadband power carrier communication uses the existing lighting power facilities at the airport to modulate digital information such as the status and control of the lights into a high-frequency band and couple it into the power lines for high-speed communication, ultimately achieving the monitoring and control functions of the navigation lights.
[0003] In the navigation lighting system based on broadband power carrier communication, there are two main control methods for lighting group control using control devices based on the IPv6 protocol:
[0004] The first method is to achieve guidance control of each lamp in the loop through unicast address. Specifically, the control protocol message is sent to the lights in the group at the same time (each single lamp monitoring device has a unique MAC address), and the single lamp monitoring devices in the group only respond to their own control commands (one-to-one control of "point-to-point"), so as to achieve the effect of group control. This method of group control occupies a large amount of communication bandwidth, and the message information received by the single lamp monitoring device in the group is inconsistent, which may lead to inconsistent response of the lamp. When guiding lights on site, the lamp that sends the command later may light up first, or the lighting time of the lamp may be slower than the travel time of the aircraft.
[0005] The second method is to control and maintain all lamps in the loop through multicast addresses. Specifically, when group control guidance is required in the existing design, the control messages of each lamp in the group are collected together and sent downlink together. The lower-level single lamp monitoring device still uses unicast control processing logic. Although this method can effectively reduce the communication bandwidth, if all lamps in the loop are controlled, it will cause guidance confusion and lead to accident symptoms. Summary of the invention
[0006] In view of the defects of the prior art, an object of the embodiments of the present invention is to provide a group control method and system for lamps in a navigation lighting system.
[0007] To achieve the above objectives, in a first aspect, an embodiment of the present invention provides a group control method for lighting fixtures of a navigation lighting system, comprising:
[0008] Before the loop runs for the first time, the host computer initializes the group configuration of the multiple single lamp monitoring devices to obtain group configuration information; the group configuration information includes the group number to which each of the single lamp monitoring devices belongs; the loop includes multiple lamps of different types arranged at intervals;
[0009] The host computer sends control instructions to the plurality of single lamp monitoring devices according to the group number by using a global multicast address;
[0010] The single lamp monitoring device analyzes and responds to the control instruction to achieve grouping and segmented control of multiple lamps in the loop;
[0011] Among them, the host computer initializes and groups multiple single-lamp monitoring devices, specifically:
[0012] The host computer sends a custom group configuration instruction to the single lamp monitoring device; the custom group configuration instruction is obtained by adding the frame content of the custom group to the existing communication control protocol;
[0013] The single lamp monitoring device parses the group configuration instruction to obtain a Set instruction and a group number;
[0014] The single-lamp monitoring device enters the group number configuration thread according to the Set instruction, and configures the group number in the single-lamp monitoring device.
[0015] As a preferred implementation of the present application, after obtaining the group configuration information, the method further includes:
[0016] The group configuration information is stored in the flash of the single lamp monitoring device.
[0017] As a specific implementation of the present application, the single lamp monitoring device parses and responds to the control instruction, specifically:
[0018] All the single-lamp monitoring devices in the entire loop receive the control instruction at the same time, parse the control instruction to obtain a group number, and match the parsed group number with the group number stored in the single-lamp monitoring device;
[0019] If the match is consistent, the single lamp monitoring device responds to the control instruction to turn on or off the lamp;
[0020] If the match is inconsistent, the single lamp monitoring device will not respond to the control instruction and maintain a normal working state.
[0021] As a preferred implementation of the present application, after the single lamp monitoring device parses and responds to the control instruction to achieve grouping and segmented control of multiple lamps in the loop, the method further includes:
[0022] The single lamp monitoring device sends a lamp status frame to the host computer;
[0023] The host computer parses the lamp status frame to determine whether the single lamp monitoring device responds to the group control instruction; wherein the status frame includes the voltage, current, temperature, humidity and lamp status of the lamp.
[0024] In a second aspect, the embodiment of the present application further provides a group control system for lighting fixtures of an aid to navigation lighting system, including a host computer and a plurality of single-lamp monitoring devices; the host computer is used to:
[0025] Before the first operation of the loop, multiple single lamp monitoring devices are initialized and grouped to obtain group configuration information; the group configuration information includes the group number to which each single lamp monitoring device belongs; the loop includes multiple lamps of different types arranged at intervals;
[0026] Sending control instructions to the plurality of single lamp monitoring devices according to the group number by using a global multicast address;
[0027] The single lamp monitoring device is used to parse and respond to the control instructions to achieve grouping and segmented control of multiple lamps in the loop;
[0028] Among them, the host computer initializes and groups multiple single-lamp monitoring devices, specifically:
[0029] The host computer sends a custom group configuration instruction to the single lamp monitoring device; the custom group configuration instruction is obtained by adding the frame content of the custom group to the existing communication control protocol;
[0030] The single lamp monitoring device parses the group configuration instruction to obtain a Set instruction and a group number;
[0031] The single-lamp monitoring device enters the group number configuration thread according to the Set instruction, and configures the group number in the single-lamp monitoring device.
[0032] The technical solution of the embodiment of the present invention has the following advantages:
[0033] 1. Adopting the global multicast technology of the loop, increasing the content of the flexible loop grouping frame, sending it once through multicast, and in the form of global response, it greatly reduces the requirements for communication bandwidth, improves the consistency of the underlying control, and effectively improves the guidance efficiency of the navigation lighting system.
[0034] 2. By parsing the response frame content through the single-lamp monitoring device, accurate control of the loop grouping is achieved. By modifying the group number in the single-lamp monitoring device, the single-lamp monitoring devices in the loop can be quickly and flexibly grouped and configured. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the specific implementation of the present invention or the technical solution in the prior art, the drawings required for use in the specific implementation or the description of the prior art are briefly introduced below.
[0036] Figure 1 is a flow chart of a group control method for lighting fixtures in a navigation lighting system provided by an embodiment of the present invention;
[0037] Figure 2 yes Figure 1 Another flow chart of the method shown;
[0038] Figure 3 It is a group flow chart;
[0039] Figure 4 This is the configuration command and reply interface diagram;
[0040] Figure 5 It is a multicast response flow chart;
[0041] Figure 6 This is a diagram of the group control command interface;
[0042] Figure 7 This is a picture of the status reporting interface. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0045] The inventive concept of the present invention is:
[0046] Based on the existing link transmission situation, a communication control protocol is designed for the bottom-level single-lamp monitoring device, the frame content of the custom group is added, and the lamps in the loop are flexibly configured according to the required group information through the initialization operation in advance. The group information is stored in the flash to ensure that the group information can be retained after power failure. The upper computer uses the multicast address to send the message information of the new protocol to the entire loop at one time, saving communication bandwidth. For each single-lamp monitoring device at the bottom of the loop, the loop is monitored and controlled in groups by parsing the frame content. This technical method can achieve group control on the basis of maximizing the savings in communication bandwidth, and can realize group and segment control of lamps in the same loop. The light group and light segment control method can effectively reduce the delay effect of power carrier transmission data and effectively improve the reliability of navigation light guidance.
[0047] The controller and lower-level monitoring modules of this monitoring system use the lightweight IPv6 protocol (IPv6 over Low Power WPAN) at the network layer. IPv6 addresses are divided into three types: unicast addresses, anycast addresses, and multicast addresses. In this design, unicast addresses and multicast addresses are used for control. The IPv6 unicast address identifies an interface. The message sent to the unicast address is received by the interface identified by this address, and the original unicast address segment is retained to control the lower-level single-lamp monitoring device. The multicast address is used to identify a group of interfaces. The message sent to the multicast address is received by all interfaces identified by the multicast address. The IPv6 multicast address consists of four parts: prefix, flag field, scope field, and multicast group ID (Global ID). In this product, the single-lamp monitoring devices belonging to a loop are all classified into a multicast group address. The multicast address FF02::1 represents all nodes in the local scope of the link. The system communicates with all single-lamp monitoring devices in the loop by using the multicast address method, and controls all lamps in the loop at the same time.
[0048] This design uses a standard socket interface and IPv6 communication mechanism to communicate with the single-lamp monitoring device. Multicast messages are used to communicate with all the single-lamp monitoring devices connected to the network in the loop. The following is a code example of multicast communication.
[0049] / *Set the sending address information* /
[0050] addr.sin6_family=AF_INET6;
[0051] addr.sin6_port=htons(1234);
[0052] inet_pton(AF_INET6,"ff02::1",&addr.sin6_addr); / / The multicast address is FF02::1
[0053] / *Set the group broadcast interface, veth1 is the output interface for accessing the single light module* /
[0054] ifindex=if_nametoindex("veth1");
[0055] if(setsockopt(mysocket, IPPROTO_IPV6, IPV6_MULTICAST_IF, &ifinde x, sizeof(ifindex))<0)
[0056] {
[0057] printf("set multicast ifindex failed!\n");
[0058] return;
[0059] }
[0060] / *Send message* /
[0061] if(sendto(mysocket,buf,strlen(buf),0,(struct sockaddr*)&addr,addr_len)<0)
[0062] {
[0063] printf("send error!\n");
[0064] return;
[0065] }
[0066] The content frame is designed as follows: frame header d709@Set$group number (1-65535)@AA00#multicast MAC (FF:FF:FF:FF:FF:FF).
[0067] The single-lamp monitoring device stores the initialization configuration information and, during operation, parses the multicast loop grouping content according to the custom protocol and performs subsequent monitoring, control, status collection and other corresponding actions.
[0068] Please refer to Figure 1 and Figure 2 , is a flow chart of a group control method applied to a navigation lighting system provided by an embodiment of the present invention. As shown in the figure, the method may include the following steps:
[0069] S1, before the first operation of the loop, the host computer initializes the group configuration of multiple single-lamp monitoring devices to obtain group configuration information.
[0070] It should be noted that the group control method provided in the embodiment of the present invention can be applied to two scenarios:
[0071] The first scenario: the same type of lamps are included in the same circuit, but they are located at different intersections and can be grouped according to the intersections. For the first scenario, all lamps in the circuit can be set to: stop row A1, stop row B1;
[0072] The second scenario: The same circuit includes multiple lamps of different types set at intervals. The specific settings include: stop row lights, taxiway centerline lights, intermediate position waiting lights, and taxiway centerline lights.
[0073] This step corresponds to Figure 2 The initialization group configuration steps of the single lamp monitoring device are as follows: before the first operation of the loop, the upper computer groups the monitoring modules of the loop according to the loop grouping situation, and remotely configures the group configuration information into the single lamp monitoring device through the control protocol. The specific process of grouping is as follows Figure 3 As shown, including:
[0074] (1) After the single-lamp monitoring device is started, its group number and status will be read. If the device has not been grouped, its group number defaults to 0XFFFF, i.e. 65535. If a group number has been assigned, it will be stored in the device's flash. The subsequent startup of the single-lamp monitoring device will automatically read the assigned group number.
[0075] (2) If the host computer issues a grouping instruction, the program enters the instruction parsing process. If the host computer does not issue a grouping instruction, it directly enters the normal working state.
[0076] (3) Receive the configuration command sent by the host computer, as follows: frame header d709@Set$group number (1-65535)@AA00#mac address. After the program receives the protocol with d709 as the frame header, it parses it into the Set command, enters the group number configuration thread, and then configures the group number followed by $ in the device. After the configuration is successful, the device will reply: frame header EB90@OK group number@00AA#mac address, such as Figure 4 shown.
[0077] (4) After the group configuration is successful, the device enters the working state.
[0078] S2, the host computer sends control instructions to multiple single lamp monitoring devices according to the group number using a global multicast address.
[0079] S3, the single lamp monitoring device parses and responds to the control instruction to achieve grouping and segmented control of multiple lamps in the loop.
[0080] The analysis and response control instruction parts of step S2 and step S3 correspond to Figure 2 Mid-loop multicast packet control protocol response steps.
[0081] In the loop control protocol, the host computer sends the protocol content through the loop global multicast. The main process is as follows: Figure 5 As shown, including:
[0082] (1) The host computer lights up or turns off the corresponding status lights according to the guidance requirements and the actual position of the aircraft. In order to ensure the timely response of the lights, the host computer will send control instructions to the loop globally based on the previously configured group number. The sending control protocol is as follows:
[0083] Frame header d709@LAMP turn on the light a1 or turn off the light a0$group number (1-65535)@AA00#mac address.
[0084] (2) When the single-lamp monitoring devices in the entire circuit receive the grouped switch control instructions at the same time, they will first parse the control instructions, read the group number in the protocol, and compare it with the group number stored in the device. If they match, the device will respond to the control command issued by the host computer, that is, turn on or off the light. If they do not match, the single-lamp monitoring device will not respond to the control command issued by the host computer. Figure 6 shown.
[0085] S4, the single lamp monitoring device sends a lamp status frame to the host computer.
[0086] S5, the host computer parses the lamp status frame to determine whether the single lamp monitoring device responds to the group control instruction.
[0087] In step S3, the multiple lamps in the loop are grouped and segmented, and steps S4 and S5 are performed.
[0088] Specifically, the single-light monitoring device controls the lighting of all stop row lights in the loop simultaneously based on the analyzed content, or controls the lighting of all runway entry lights simultaneously.
[0089] After the single lamp monitoring device parses the group control protocol to operate the lamp, the single lamp monitoring device will report the current lamp status for the host computer to determine whether all the lamps in the group have responded. Figure 7 shown.
[0090] Specifically, the single lamp monitoring device sends a status frame to the host computer, which contains the voltage, current, temperature, humidity and status of the lamp. 1111 means the lamp is always on, and 0000 means the lamp is always off. The host computer determines whether to respond to the group control command by analyzing the lamp status.
[0091] The technical solution provided by the embodiment of the present invention has the following advantages:
[0092] 1. Adopting the global multicast technology of the loop, increasing the content of the flexible loop grouping frame, sending it once through multicast, and in the form of global response, it greatly reduces the requirements for communication bandwidth, improves the consistency of the underlying control, and effectively improves the guidance efficiency of the navigation lighting system.
[0093] 2. By parsing the response frame content through the single-lamp monitoring device, accurate control of the loop grouping is achieved. By modifying the group number in the single-lamp monitoring device, the single-lamp monitoring devices in the loop can be quickly and flexibly grouped and configured.
[0094] Based on the same inventive concept, an embodiment of the present invention further provides a group control system applied to lighting fixtures of an aid-to-navigation lighting system, comprising a host computer and a plurality of single-lamp monitoring devices.
[0095] Among them, the host computer is used for:
[0096] Before the first operation of the loop, multiple single lamp monitoring devices are initialized and grouped to obtain group configuration information; the group configuration information includes the group number to which each single lamp monitoring device belongs; the loop includes multiple lamps of different types arranged at intervals;
[0097] Sending control instructions to the plurality of single lamp monitoring devices according to the group number by using a global multicast address;
[0098] The single lamp monitoring device is used to parse and respond to the control instructions to achieve grouping and segmented control of multiple lamps in the loop.
[0099] In the specific implementation, the host computer initializes the group configuration of multiple single-lamp monitoring devices, specifically:
[0100] The upper computer sends a custom group configuration instruction to the single lamp monitoring device; the custom group configuration instruction is obtained by adding the frame content of the custom group to the existing communication control protocol;
[0101] The single lamp monitoring device parses the group configuration instruction and obtains the Set instruction and the group number;
[0102] The single lamp monitoring device enters the group number configuration thread according to the Set instruction, and configures the group number in the single lamp monitoring device.
[0103] In specific implementation, the single lamp monitoring device parses and responds to the control instruction, specifically:
[0104] All the single lamp monitoring devices in the entire loop receive the control instruction at the same time, parse the control instruction to obtain the group number, and match the parsed group number with the group number stored in the single lamp monitoring device;
[0105] If the match is consistent, the single lamp monitoring device responds to the control instruction and controls the lamp to turn on or off;
[0106] If the match is inconsistent, the single lamp monitoring device will not respond to the control command and maintain a normal working state.
[0107] Furthermore, the single lamp monitoring device is also used to send a lamp status frame to the host computer;
[0108] The host computer is also used to parse the lamp status frame to determine whether the single lamp monitoring device responds to the group control instruction.
[0109] It should be noted that the specific working process of this system embodiment can be found in the aforementioned method embodiment part, which will not be repeated here.
[0110] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A group control method for lighting fixtures in a navigation lighting system, characterized in that: include: Before the loop runs for the first time, the host computer initializes the group configuration of the multiple single lamp monitoring devices to obtain group configuration information; the group configuration information includes the group number to which each of the single lamp monitoring devices belongs; the loop includes multiple lamps of different types arranged at intervals; The host computer sends control instructions to the plurality of single lamp monitoring devices according to the group number by using a global multicast address; The single lamp monitoring device analyzes and responds to the control instruction to achieve grouping and segmented control of multiple lamps in the loop; Among them, the host computer initializes and groups multiple single-lamp monitoring devices, specifically: The host computer sends a custom group configuration instruction to the single lamp monitoring device; the custom group configuration instruction is obtained by adding the frame content of the custom group to the existing communication control protocol; The single lamp monitoring device parses the group configuration instruction to obtain a Set instruction and a group number; The single-lamp monitoring device enters the group number configuration thread according to the Set instruction, and configures the group number in the single-lamp monitoring device.
2. The grouping control method according to claim 1, characterized in that: After obtaining the group configuration information, the method further includes: The group configuration information is stored in the flash of the single lamp monitoring device.
3. The grouping control method according to claim 1, characterized in that: The single lamp monitoring device parses and responds to the control instruction, specifically: All the single-lamp monitoring devices in the entire loop receive the control instruction at the same time, parse the control instruction to obtain a group number, and match the parsed group number with the group number stored in the single-lamp monitoring device; If the match is consistent, the single lamp monitoring device responds to the control instruction to turn on or off the lamp; If the match is inconsistent, the single lamp monitoring device will not respond to the control instruction and maintain a normal working state.
4. The grouping control method according to any one of claims 1 to 3, characterized in that: After the single lamp monitoring device parses and responds to the control instruction to achieve grouping and segmented control of multiple lamps in the loop, the method further includes: The single lamp monitoring device sends a lamp status frame to the host computer; The host computer parses the lamp status frame to determine whether the single lamp monitoring device responds to the group control instruction.
5. The grouping control method according to claim 4, characterized in that: The status frame includes the voltage, current, temperature, humidity and status of the lamp.
6. A group control system for lighting fixtures in an aid to navigation lighting system, comprising a host computer and a plurality of single-lamp monitoring devices, characterized in that: The host computer is used for: Before the first operation of the loop, multiple single lamp monitoring devices are initialized and grouped to obtain group configuration information; the group configuration information includes the group number to which each single lamp monitoring device belongs; the loop includes multiple lamps of different types arranged at intervals; Sending control instructions to the plurality of single lamp monitoring devices according to the group number by using a global multicast address; The single lamp monitoring device is used to analyze and respond to the control instructions to achieve grouping and segmented control of multiple lamps in the loop; Among them, the host computer initializes and groups multiple single-lamp monitoring devices, specifically: The host computer sends a custom group configuration instruction to the single lamp monitoring device; the custom group configuration instruction is obtained by adding the frame content of the custom group to the existing communication control protocol; The single lamp monitoring device parses the group configuration instruction to obtain a Set instruction and a group number; The single-lamp monitoring device enters the group number configuration thread according to the Set instruction, and configures the group number in the single-lamp monitoring device.
7. The group control system according to claim 6, characterized in that: The single lamp monitoring device is specifically used for: All the single-lamp monitoring devices in the entire loop receive the control instruction at the same time, parse the control instruction to obtain a group number, and match the parsed group number with the group number stored in the single-lamp monitoring device; If the match is consistent, the single lamp monitoring device responds to the control instruction to turn on or off the lamp; If the match is inconsistent, the single lamp monitoring device will not respond to the control instruction and maintain a normal working state.
8. The group control system according to claim 6 or 7, characterized in that: The single lamp monitoring device is also used to send a lamp status frame to the host computer; The host computer is also used to parse the lamp status frame to determine whether the single lamp monitoring device responds to the group control instruction.
Citation Information
Cited By
Grouping control method and system of PLC single lamp controllers
CN121487087A
