Acousto-optic broadcast alternate working system and method of wireless fire alarm system
Networking and clock calibration of wireless sound and light modules and broadcast modules through wireless controllers and gateways solve the problem of synchronously receiving control instructions in the wireless fire alarm system, achieve system clock synchronization and work coordination, and improve the fire alarm system reliability and coverage, reducing costs.
Patent Information
- Application Number
- CN202410640279.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-05-22
AI Technical Summary
In the wireless fire alarm system, the sound and light module and the broadcast module are difficult to receive control instructions synchronously in low-power, low-latency system applications, and because they are not connected to the Internet, strict time synchronization cannot be carried out through the communication protocol, resulting in inconsistent work. Coordination, increases the impact of cost and environmental factors.
Network the wireless acousto-optic module and wireless broadcast module through the wireless controller, send data packets with system timestamps for clock calibration, and achieve synchronization control. Use wireless gateways to extend the communication distance and reduce signal interference. Set the host and slave machine mode to expand the number of modules and improve communication efficiency.
The clock synchronization of the wireless sound and light module and the broadcast module is realized to ensure coordinated work, improve the reliability and responsiveness of the fire alarm system, save the cost of third-party equipment, and expand the coverage of the alarm signal.
Smart Images

Figure CN118540780A
Abstract
Description
Technical Field
[0001] The present application belongs to the field of fire alarm technology, and relates to fire alarm wireless control technology, and specifically to a sound, light, broadcast and alternating working system and method of a wireless fire alarm system. Background Art
[0002] Compared with traditional wired alarm systems, wireless fire alarm systems have more flexible installation and deployment methods and better system expandability. When a fire occurs, the sound and light alarm will emit a very loud sound and flashing lights to attract people's attention, so that people can escape quickly; the wireless broadcast module can be used to broadcast emergency notices and instructions. In emergency situations such as fires, people may be distracted due to panic, and a single alarm method may not be enough to attract everyone's attention. By combining sound and visual signals, the visibility of warnings can be more effectively improved and safety can be enhanced.
[0003] In most cases, especially in large and complex environments, the equipment is deployed over a large area and requires a multi-level cascade network to connect the various components of the system. Affected by signal quality, spatial interference, transmission delay, etc., it is very difficult for the wireless audio and light and wireless broadcast modules to work alternately. Especially in the case of cascade network levels, the greater the delay in data transmission, it is difficult to achieve effective alternating work results.
[0004] The key to the problem of alternating operation of the sound and light and broadcast modules of the wireless fire alarm system lies in achieving synchronous control of the two types of distributed deployed devices. Specifically, the sound and light modules and the broadcast modules need to be time synchronized to ensure that they work according to predefined rules when the alarm signal is issued. In the wireless fire alarm system, the sound and light modules and the broadcast modules are mostly not connected to the Internet, and strict time synchronization cannot be performed using protocols such as NTP or PTP. Therefore, wireless systems usually use some external clock synchronization technologies, such as GPS-based clock synchronization, to ensure the clock accuracy of the equipment. For example, the Chinese patent application number 202010489104.9 discloses a wireless terminal, a clock synchronization method and a system, which continuously monitors the GPS timing signal by any wireless terminal in the clock synchronization system, and generates an internal clock signal of a predetermined frequency to achieve clock synchronization of the system terminal. This invention has the following shortcomings: Affected by the environment and location: The reception of GPS signals may be interfered with by physical obstacles such as buildings, trees, and mountains. In indoor or severely shielded environments, GPS reception may be attenuated or completely unreceivable. In addition, the use of GPS timing requires the installation and configuration of GPS receiving equipment. These devices themselves have certain costs and power consumption and are not suitable for low-power wireless fire alarm system terminal equipment. Summary of the invention
[0005] The present application aims to solve at least one of the technical problems existing in the prior art; to this end, the present application proposes an acoustic-optical-broadcasting alternating working system and method for a wireless fire alarm system, which is used to solve the problem that the wireless acoustic-optical module and the wireless broadcasting module in the prior art wireless fire alarm system are not connected to the Internet, and some third-party devices need to be used for clock synchronization, which increases the cost due to the configuration of the third-party devices; at the same time, the traditional star connection network adopts a point-to-point communication mode, and the slaves cannot communicate with each other. In the case of a poor channel environment, especially when there is interference, the network is seriously blocked, and it is difficult for the wireless acoustic-optical module and the wireless broadcasting module to achieve complete synchronization to receive the control instruction, resulting in the technical problem that the wireless acoustic-optical module and the wireless broadcasting module cannot work according to the predetermined control. The present application networks the wireless acoustic-optical module and the wireless broadcasting module, and then uses the wireless controller to send a data packet with a system timestamp to the wireless acoustic-optical module in the same subnet for clock calibration. The wireless broadcasting module is in a long-term receiving state and does not need calibration. In this way, the wireless acoustic-optical and wireless broadcasting modules are under the same clock and are started synchronously after receiving the control instruction; the wireless acoustic-optical module and the wireless broadcasting module then implement the preset control according to the control information to solve the above problem.
[0006] To achieve the above-mentioned purpose, the first aspect of the present application provides a sound, light and broadcast alternating working system of a wireless fire alarm system, comprising: a wireless controller is networked with a wireless sound and light module and a wireless broadcast module respectively.
[0007] The wireless controller is used to send a data packet with a system timestamp; wherein the data packet includes a wake-up message or a control instruction.
[0008] The wireless sound and light module performs clock calibration according to the wake-up message to synchronize the clocks of the wireless sound and light module and the wireless broadcast module.
[0009] The wireless sound and light module and the wireless broadcast module realize synchronous control according to the control instructions.
[0010] In the prior art, due to the complexity of networking methods and environments, the wireless sound and light modules and broadcast modules are unable to synchronously receive control instructions under the system application requirements of low power consumption and low latency.
[0011] At the same time, the sound and light module and the broadcast module are not connected to the Internet, which makes it impossible to perform strict time synchronization through the communication protocol. Third-party time calibration is also unstable due to environmental factors.
[0012] This solution networks the wireless controller, wireless sound and light module and wireless broadcast module, and implements time calibration of the wireless sound and light module and the wireless broadcast module through the communication protocol, so that they can execute control instructions synchronously. At the same time, since there is no need to use third-party equipment for clock synchronization calibration, costs are saved.
[0013] Furthermore, a sound, light and broadcast alternating working system of a wireless fire alarm system also includes a wireless gateway, and the wireless controller controls the wireless sound and light module and the wireless broadcast module through the wireless gateway.
[0014] As an intermediate device, the wireless gateway is responsible for extending the communication distance of the wireless controller and forming a control subnet with the wireless sound and light module and wireless broadcast module connected to the lower level. Different channels are used for control transmission between subnets to reduce signal interference in the system network.
[0015] Furthermore, the wireless broadcast module includes two working modes; wherein the working modes include a host mode and a slave mode.
[0016] Only one wireless radio module in each subnet is configured as the host mode.
[0017] The wireless broadcast module in the host mode receives, executes and feeds back the instructions of the wireless controller, and forwards the instructions to the wireless broadcast module in the slave mode.
[0018] After receiving the instruction sent by the wireless broadcast module in the host mode, the wireless broadcast module in the slave mode continues to forward it to other wireless broadcast modules in the slave mode.
[0019] By controlling the wireless broadcast module in slave mode through a wireless broadcast module in host mode, the number of wireless broadcast modules can be expanded to improve security, and the communication efficiency and real-time control can be effectively improved.
[0020] Furthermore, the wireless broadcast module maintains a receiving state, and eliminates the accumulated clock error within the cycle by receiving the controller inspection data packet with the system time stamp in real time, so as to keep the local clock and the system clock consistent.
[0021] Since the wireless broadcast module needs to use audio functions, it consumes a lot of power and uses AC power. Using AC power can keep receiving inspection communication data packets with system timestamps in real time, and realize periodic calibration of the clock without the need for additional wake-up calibration process.
[0022] Furthermore, there is at least one wireless sound and light module, and after receiving the wake-up message, the wireless sound and light module performs time calibration to make the clock time consistent with the system clock, that is, consistent with the wireless broadcast module.
[0023] The wireless sound and light module is powered by a battery due to its low power consumption. It is in a dormant state when not working to save energy. That is, it usually works in a periodic dormant and wake-up state. When it needs to work, it sends a communication file to wake it up from the dormant state and perform clock calibration.
[0024] A second aspect provides a method for alternating sound, light and broadcast operation of a wireless fire alarm system, comprising the following steps:
[0025] Step S100: calibrate the clock of the wireless sound and light module according to the wake-up message sent by the wireless controller, so that the clocks of the wireless sound and light module and the wireless broadcast module are synchronized.
[0026] Step S200: Synchronously controlling the wireless sound and light module and the wireless broadcast module according to the control instruction sent by the wireless controller.
[0027] Furthermore, the preparation work before step S100 includes:
[0028] When the wireless sound and light module and the wireless broadcast module are connected to the network, the configuration information is determined according to the working mode, and the configuration information is written into the non-volatile storage space of the device for storage, and is read again after each power-on. The configuration information involves the alternating working mode of the wireless sound and light module and the wireless broadcast module, including the parent node information, synchronization work group information, startup sequence, start time Tstart, stop time Tstop, interval time Tinterval, and the start waiting time of the control instruction is Tcd.
[0029] Furthermore, step S100 includes:
[0030] The wireless controller or the wireless gateway uses the CAD wake-up channel to send continuous wake-up messages to the wireless sound and light modules in the same subnet to wake up the wireless sound and light modules in the dormant state.
[0031] By parsing the wake-up message data, all wireless sound and light modules use the system clock stamp to eliminate clock errors, so that the clock time of the wireless sound and light modules is consistent with the system clock, and are ready to receive control instructions to calculate the startup waiting time.
[0032] The wireless broadcast module maintains long-term reception, and the clock time is always consistent with the system clock. There is no need for a wireless wake-up process, and the startup waiting time can be calculated directly by receiving control instructions.
[0033] The CAD wake-up channel allows wireless devices to detect whether the channel is idle before transmitting data, so as to avoid data collision and improve network efficiency.
[0034] Further, step S200 includes:
[0035] Assume that the transmission time of the wake-up message packet is Tawake, the transmission time of the control command packet is Tctrl, the number of the wake-up message packet sequence number is 1-n, the control command packet sequence number range is 1-m, the group number range is 1-k, the maximum time for the wireless sound and light module to receive the control command is TD, the start waiting time of the control command is Tcd, and the maximum time for the wireless broadcast module to receive the control command is TgD;
[0036] The maximum time for the wireless sound and light module to receive the control command is:
[0037] TD=k×(n×Tawake+m×Tctrl), and satisfies: Tcd>TD≥TgD;
[0038] The startup waiting time of the wireless sound and light module or wireless broadcast module in the same subnet is (Tcd-TD), and synchronous control can be achieved. For wireless sound and light modules and wireless broadcast modules in different subnets, the wireless gateway in the area forwards the control command. The wireless gateway does not change the system timestamp Tstamp in the control command. After the command is forwarded, the wireless sound and light and wireless broadcast host will use the difference between the local timestamp Tstamplocal and the timestamp Tstamp when the system startup command is issued. Terr, different subnets will compensate Terr to TD, and the synchronous control of wireless sound and light modules and wireless broadcast modules between different subnets can be completed.
[0039] Furthermore, the wireless broadcast modules in slave mode adopt a broadcast communication mode. As long as the wireless broadcast module in slave mode receives a control instruction belonging to the same subnet, it will immediately execute and forward it. The forwarding is only performed in one round. After the forwarding is completed, the same information will no longer be received and forwarded until the next instruction is received.
[0040] Furthermore, there are four control modes for the wireless sound and light module and the wireless broadcast module, namely:
[0041] Mode 1: Synchronous operation mode of the wireless sound and light module and the wireless broadcast module in host mode.
[0042] Mode 2: The wireless sound and light module and the wireless broadcast module in host mode operate alternately.
[0043] Mode 3: Synchronous operation mode of the wireless sound and light module and the wireless broadcast module in slave mode.
[0044] Mode 4: The wireless sound and light module and the wireless broadcast module in slave mode operate alternately.
[0045] Mode 1 includes the following steps:
[0046] Step S310: The wireless broadcast module is set as a host broadcast module, and the communication is completely consistent with the wireless sound and light module.
[0047] After receiving the start command, the host broadcast module forwards it to the wireless broadcast module in slave mode, and the forwarding time is Trepost.
[0048] The forwarding method is broadcast communication to send data, and the typical number of repeated transmissions is 10 times.
[0049] Step S311: The forwarded data includes the countdown of the synchronization start control time, and the total countdown is set by the wireless broadcast module in the host mode when networking. It is required to satisfy that Trepost is less than the difference between Tcd and TD.
[0050] Step S312: After the forwarding is completed, the wireless broadcast module in the host mode turns off the reception and waits for the delay control instruction;
[0051] Step S313: The wireless sound and light module and the wireless broadcast module in the host mode synchronously execute the control instruction.
[0052] Step S314: The wireless sound and light module and the wireless broadcast module in the host mode open the instruction receiving channel.
[0053] Step S315: If a stop instruction is received, the wireless sound and light module and the wireless broadcast module in the host mode execute immediately after receiving it, and the wireless broadcast module in the host mode executes it and then forwards it to the wireless broadcast module in the slave mode.
[0054] Mode 2 includes the following steps:
[0055] Step S320: The wireless broadcast module is set as the host broadcast module to control the broadcast synchronization in the same area. The method of controlling the synchronous startup of the wireless broadcast module is the same as that of mode 1.
[0056] Step S321: judging whether the synchronous control of the wireless broadcast module and the synchronous control of the wireless sound and light module can be achieved according to the set start time, stop time and interval time.
[0057] Step S322: If the start delay of the synchronous control can match the set start time, stop time and interval time, the alternating start of the wireless broadcast host and the wireless sound and light module can be achieved.
[0058] Mode 3 includes the following steps:
[0059] Step S330: The wireless broadcast module is configured as a wireless broadcast module in slave mode. When working in synchronous mode, it can only receive wireless broadcast module control instructions in the same subnet. After receiving the wireless broadcast module control instructions in host mode, it delays and waits for the wireless broadcast module instructions in host mode to be sent.
[0060] Step S331: the wireless broadcast module in the slave mode forwards the control instruction of the wireless broadcast module in the master mode, and resends it three times.
[0061] Step S332: If the instruction received is from the wireless broadcast module in slave mode, delay until the wireless broadcast module in slave mode completes sending, extract the control instruction and start countdown time and update the time, continue forwarding, turn off reception after forwarding is completed, and keep the reception state turned off until the wireless broadcast module is started.
[0062] Step S333: After the wireless broadcast module in the slave mode completes forwarding, it executes the corresponding instruction and turns on reception after completing the startup wait delay according to the startup countdown time received by the data packet.
[0063] Step S334: The wireless broadcast module in slave mode executes the instruction immediately after receiving it.
[0064] Mode 4 includes the following steps:
[0065] Step S340: The wireless broadcast module is set as a wireless broadcast module in slave mode, and controls the broadcasting in the same area to start synchronously. The method of controlling the synchronous start of the wireless broadcast module is the same as that of mode three or mode one.
[0066] Step S341: judging whether the synchronous control of the wireless broadcast module and the synchronous control of the wireless sound and light module can be achieved according to the set start time, stop time and interval time.
[0067] Step S342: If the start delay of the synchronous control can match the set start time, stop time and interval time, the alternating start of the wireless broadcast host and the wireless sound and light module can be achieved.
[0068] Compared with the prior art, the beneficial effects of this application are:
[0069] 1. By networking the wireless sound and light module and the wireless broadcast module in the host mode, the clocks of the wireless sound and light module and the wireless broadcast module in the host mode are synchronized through communication. At the same time, through synchronous alternating work control, the coordination between the sound and light and broadcast modules is ensured. This can avoid information transmission delays or missing important information due to asynchronous work, and improve the reliability and responsiveness of the fire alarm system. At the same time, since no third-party equipment is required for clock calibration after networking, the cost of laying third-party equipment is saved.
[0070] 2. Through wireless networking connection, multiple sound and light and broadcast modules can be linked. In this way, the alarm signal can be transmitted in multiple areas, increasing the coverage of fire alarms and improving the effect of fire alarms. By balancing the delay processing time through the modulation combination of the wireless sound and light module and the wireless broadcast module in the host mode, a low-delay synchronous control effect can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0072] Figure 1 This is a schematic diagram of the networking of the wireless sound and light module and the wireless broadcast module of this application.
[0073] Figure 2 This is a schematic diagram of the master-slave communication of the wireless broadcast module of this application.
[0074] Figure 3 This is a schematic diagram of the wireless broadcast module communication method in slave mode of this application.
[0075] Figure 4 This is a schematic diagram of the synchronous control method of the wireless fire alarm system of this application.
[0076] Figure 5 This is a schematic diagram of the control mode of the wireless sound and light module and the wireless broadcast module of this application. DETAILED DESCRIPTION
[0077] The technical solution of the present application will be described clearly and completely in conjunction with the embodiments below. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0078] See also Figure 1 The first aspect of the present application provides a sound, light and broadcast alternating working system of a wireless fire alarm system, comprising:
[0079] The wireless controller is networked with the wireless sound and light module and the wireless broadcast module respectively.
[0080] The wireless controller is used to send a data packet with a system timestamp; wherein the data packet includes a wake-up message or a control instruction.
[0081] The wireless sound and light module performs clock calibration according to the wake-up message to synchronize the clocks of the wireless sound and light module and the wireless broadcast module.
[0082] The wireless sound and light module and the wireless broadcast module are synchronously controlled according to the control instructions. Furthermore, the sound and light broadcast alternating working system of the wireless fire alarm system also includes a wireless gateway, and the wireless controller controls the wireless sound and light module and the wireless broadcast module through the wireless gateway.
[0083] At the same time, the wireless broadcast module includes two working modes; among which, the working modes include host mode and slave mode;
[0084] Only one wireless radio module in each subnet is configured as the host mode.
[0085] The wireless broadcast module in the host mode receives, executes and feeds back the instructions of the wireless controller, and forwards the instructions to the wireless broadcast module in the slave mode.
[0086] After receiving the instruction sent by the wireless broadcast module in the host mode, the wireless broadcast module in the slave mode continues to forward it to other wireless broadcast modules in the slave mode.
[0087] By controlling the wireless broadcast module in slave mode through a wireless broadcast module in host mode, the number of wireless broadcast modules can be expanded to improve security, and the communication efficiency and real-time control can be effectively improved.
[0088] The wireless broadcast module maintains a receiving state and receives controller inspection data packets with system timestamps in real time to eliminate the accumulated clock error within the cycle and keep the local clock consistent with the system clock.
[0089] The wireless broadcast module needs to use an audio power amplifier, which consumes a lot of power and is powered by AC power. Using AC power can keep receiving inspection communication data packets with system timestamps in real time, and realize periodic calibration of the clock without the need for additional wake-up calibration process.
[0090] There is at least one wireless sound and light module, and after receiving the wake-up message, the wireless sound and light module performs time calibration to make the clock time consistent with the system clock.
[0091] Assume that the transmission time of the wake-up message data packet is Tawake, the transmission time of the control command data packet is Tctrl, the sequence number range of the wake-up message data packet is 1-n, the sequence number range of the control command data packet is 1-m, the group number range is 1-k, the maximum time for the wireless sound and light module to receive the control command is TD, the start waiting time of the control command is Tcd, and the maximum time for the wireless broadcast module to receive the control command is TgD;
[0092] The maximum time for the wireless sound and light module to receive the control command is:
[0093] TD=k×(n×Tawake+m×Tctrl), and satisfies: Tcd>TD≥TgD;
[0094] The startup waiting time of the wireless sound and light module or wireless broadcast module in the same subnet is (Tcd-TD), and synchronous control can be achieved. For wireless sound and light modules and wireless broadcast modules in different subnets, the wireless gateway in the area forwards the control command. The wireless gateway does not change the system timestamp Tstamp in the control command. After the command is forwarded, the wireless sound and light and wireless broadcast host will use the difference between the local timestamp Tstamplocal and the timestamp Tstamp when the system startup command is issued. Terr, different subnets will compensate Terr to TD, and the synchronous control of wireless sound and light modules and wireless broadcast modules between different subnets can be completed.
[0095] The wireless sound and light module is powered by batteries due to its low power consumption. When not working, it uses a periodic sleep and wake-up state to save energy. When it needs to work, a communication file is sent to wake it up from the sleep state and perform clock calibration.
[0096] This solution networks the wireless controller, wireless sound and light module and wireless broadcast module, and performs time calibration on the wireless sound and light module and the wireless broadcast module through the communication protocol, so as to achieve the purpose of synchronously executing control instructions.
[0097] Among them, after the wireless sound and light module is time calibrated, the clock time of the wireless sound and light module and the wireless broadcast module are the same as the system clock. When the wireless sound and light module and the wireless broadcast module receive data packets with system timestamps, they will be controlled uniformly according to the same reference time to achieve the effect of synchronous control of the wireless sound and light module and the wireless broadcast module.
[0098] See also Figure 2 , the wireless broadcast module in the host mode sends start and stop commands to all the wireless broadcast modules in the slave mode in the same subnet by broadcasting. All the wireless broadcast modules in the slave mode perform corresponding actions after receiving the control command, and broadcast the control instructions to the wireless broadcast modules in the slave mode in the same subnet. At the same time, in order to control the simultaneous start of the wireless broadcast modules in the slave mode, the wireless broadcast host uses FSK modulation for communication, and the typical air time of a single signal transmission is 10ms.
[0099] See also Figure 3 The wireless broadcast modules in slave mode adopt broadcast communication mode. As long as the wireless broadcast module in slave mode receives a signal belonging to the same subnet, it will forward it. The forwarding is only performed in one round. After the forwarding is completed, no other forwarding will be performed until the next command is received.
[0100] The wireless broadcast module in slave mode No. 1 forwards information by broadcasting and closes the reception of the same information sent by the wireless broadcast module in other slave modes; the wireless broadcast module in slave mode No. 1 forwards information by broadcasting as shown in the transmission line marked 1 in the figure.
[0101] When the wireless broadcast module in slave mode No. 2 receives the information sent by the wireless broadcast module in slave mode No. 1, it forwards the information by broadcasting and closes the reception of the same information sent by the wireless broadcast module in other slave modes; the wireless broadcast module in slave mode No. 2 forwards the information by broadcasting as shown in the transmission line marked 2 in the figure.
[0102] When the wireless broadcast module in slave mode No. 3 receives the information sent by the wireless broadcast module in slave mode No. 2, it forwards the information by broadcasting and closes the reception of the same information sent by the wireless broadcast module in other slave modes; the wireless broadcast module in slave mode No. 3 forwards the information by broadcasting as shown in the transmission line marked 3 in the figure.
[0103] When the wireless broadcast module in slave mode No. 4 receives the information sent by the wireless broadcast module in slave mode No. 3, it forwards the information by broadcasting and closes the reception of the same information sent by the wireless broadcast module in other slave modes; the wireless broadcast module in slave mode No. 4 forwards the information by broadcasting as shown in the transmission line marked 4 in the figure.
[0104] The "×" mark in the figure indicates that the edge transmission is invalid, that is, the corresponding wireless broadcast module in slave mode does not receive the information sent by the sender.
[0105] The "√" mark in the figure indicates that the edge transmission is valid, that is, the corresponding wireless broadcast module in slave mode successfully receives the information sent by the sender.
[0106] During the forwarding process, the wireless broadcast module uses the CSMA mechanism for communication, that is, it performs carrier sensing and appropriate communication conflict avoidance to reduce the probability of channel conflicts and increase communication reliability.
[0107] See also Figure 4 The first aspect of the present application provides a method for alternating sound and light broadcasting of a wireless fire alarm system, comprising:
[0108] A second aspect provides a method for alternating sound, light and broadcast operation of a wireless fire alarm system, comprising the following steps:
[0109] Step S100: calibrating the clock of the wireless sound and light module according to the wake-up message sent by the wireless controller, so that the clocks of the wireless sound and light module and the wireless broadcast module are synchronized;
[0110] Step S200: Synchronously controlling the wireless sound and light module and the wireless broadcast module according to the control instruction sent by the wireless controller.
[0111] Furthermore, the preparation work before step S100 includes:
[0112] When the wireless sound and light module and the wireless broadcast module are connected to the network, the configuration is determined according to the working mode. The configuration involves the alternating working mode of the wireless sound and light module and the wireless broadcast module, which includes the parent node information, synchronization work group information, startup sequence, start time Tstart, stop time Tstop, interval time Tinterval, and the start waiting time of the control instruction is Tcd.
[0113] Furthermore, step S100 includes:
[0114] The wireless controller or wireless gateway uses the CAD wake-up channel to send continuous wake-up messages to the wireless sound and light modules in the same subnet to wake up the wireless sound and light modules in the dormant state. The wake-up message data packet frame structure is shown in the following table:
[0115]
[0116] By parsing the wake-up message data, all wireless sound and light modules use the system clock stamp to eliminate clock errors, so that the clock time of the wireless sound and light modules is consistent with the system clock, and are ready to receive control instructions to calculate the startup waiting time.
[0117] The wireless broadcast module maintains long-term reception, and the clock time is always consistent with the system clock. There is no need for a wireless wake-up process, and the startup waiting time can be calculated directly by receiving control instructions.
[0118] Further, step S200 includes:
[0119] The maximum time for the wireless sound and light module to receive control instructions is TD;
[0120] The start waiting time of the control instruction is Tcd;
[0121] The time for the wireless broadcast module to receive the control command is TgD;
[0122] The control command data packet contains the data packet group number. By receiving the control command data packet, the control command information and delay control time information can be obtained. The control command data packet frame structure is shown in the following table:
[0123]
[0124] Assume that the transmission time of the wake-up message packet is Tawake, the transmission time of the control command packet is Tctrl, the sequence number range of the wake-up message packet is 1-n, the sequence number range of the control command packet is 1-m, and the group number range is 1-k. Then the maximum delay time for a wireless sound and light to receive the control command is:
[0125] TD=k×(n×Tawake+m×Tctrl), and satisfies: Tcd>TD;
[0126] The startup waiting time of the wireless sound and light module or wireless broadcast module in the same subnet is (Tcd-TD), and synchronous control can be achieved. For wireless sound and light modules and wireless broadcast modules in different subnets, the wireless gateway in the area forwards the control command. The wireless gateway does not change the system timestamp Tstamp in the control command. After the command is forwarded, the wireless sound and light and wireless broadcast host will use the difference between the local timestamp Tstamplocal and the timestamp Tstamp when the system startup command is issued. Terr, different subnets will compensate Terr to TD, and the synchronous control of wireless sound and light modules and wireless broadcast modules between different subnets can be completed.
[0127] See also Figure 5 There are four control modes for the wireless sound and light module and the wireless broadcast module, namely:
[0128] Mode 1: Synchronous operation mode of the wireless sound and light module and the wireless broadcast module in host mode;
[0129] Mode 2: The wireless sound and light module and the wireless broadcast module in host mode operate alternately;
[0130] Mode 3: Synchronous operation mode of the wireless sound and light module and the wireless broadcast module in slave mode;
[0131] Mode 4: Alternating operation mode of the wireless sound and light module and the wireless broadcast module in slave mode;
[0132] Mode 1 includes the following steps:
[0133] Step S310: The wireless broadcast module is set as a host broadcast module, and the communication is completely consistent with the wireless sound and light module.
[0134] After receiving the start command, the host broadcast module forwards it to the wireless broadcast module in slave mode, and the forwarding time is Trepost.
[0135] The forwarding method is broadcast communication to send data, and the typical number of repeated transmissions is 10 times.
[0136] Step S311: The forwarded data includes the countdown of the synchronous start control time, and the total countdown is set by the wireless broadcast module in the host mode when networking, and satisfies the following relationship: Trepost<(Tcd-TD).
[0137] Step S312: After the forwarding is completed, the wireless broadcast module in the host mode turns off the reception and waits for the delay control instruction;
[0138] Step S313: The wireless sound and light module and the wireless broadcast module in the host mode synchronously execute the control instruction.
[0139] Step S314: The wireless sound and light module and the wireless broadcast module in the host mode open the instruction receiving channel.
[0140] Step S315: If a stop instruction is received, the wireless sound and light module and the wireless broadcast module in the host mode execute immediately after receiving it, and the wireless broadcast module in the host mode executes it and then forwards it to the wireless broadcast module in the slave mode.
[0141] Mode 2 includes the following steps:
[0142] Step S320: The wireless broadcast module is set as the host broadcast module to control the broadcast synchronization in the same area. The method of controlling the synchronous startup of the wireless broadcast module is the same as that of mode 1.
[0143] Step S321: judging whether the synchronous control of the wireless broadcast module and the synchronous control of the wireless sound and light module can be achieved according to the set start time, stop time and interval time.
[0144] Step S322: If the start delay of the synchronous control can match the set start time, stop time and interval time, the alternating start of the wireless broadcast host and the wireless sound and light module can be achieved.
[0145] Mode 3 includes the following steps:
[0146] Step S330: The wireless broadcast module is configured as a wireless broadcast module in slave mode. When working in synchronous mode, it can only receive broadcast control instructions in the same partition. After receiving the wireless broadcast module control instruction in host mode, it delays and waits for the wireless broadcast module instruction in host mode to be sent.
[0147] Step S331: The wireless broadcast module in slave mode forwards the control instruction of the wireless broadcast module in master mode, typically retransmitting three times.
[0148] Step S332: If the instruction received is from the wireless broadcast module in slave mode, delay until the wireless broadcast module in slave mode completes sending, extract the control instruction and start countdown time and update the time, continue forwarding, turn off reception after forwarding is completed, and keep the reception state turned off until the wireless broadcast module is started.
[0149] Step S333: After the wireless broadcast module in the slave mode completes forwarding, it executes the corresponding instruction and turns on reception after completing the startup wait delay according to the startup countdown time received by the data packet.
[0150] Step S334: The wireless broadcast module in slave mode executes the instruction immediately after receiving it.
[0151] Mode 4 includes the following steps:
[0152] Step S340: The wireless broadcast module is set as a wireless broadcast module in slave mode, and controls the broadcasting in the same area to start synchronously. The method of controlling the synchronous start of the wireless broadcast module is the same as that of mode three or mode one.
[0153] Step S341: judging whether the synchronous control of the wireless broadcast module and the synchronous control of the wireless sound and light module can be achieved according to the set start time, stop time and interval time.
[0154] Step S342: If the start delay of the synchronous control can match the set start time, stop time and interval time, the alternating start of the wireless broadcast host and the wireless sound and light module can be achieved.
[0155] Part of the data in the above formula is calculated by removing the dimension and taking its numerical value. The formula is a formula closest to the actual situation obtained by software simulation of a large amount of collected data; the preset parameters and preset thresholds in the formula are set by technical personnel in this field according to actual conditions or obtained through simulation of a large amount of data.
[0156] The above embodiments are only used to illustrate the technical method of the present application and are not intended to limit it. Although the present application has been described in detail with reference to the preferred embodiments, a person of ordinary skill in the art should understand that the technical method of the present application may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present application.
Claims
1. A sound and light broadcast alternating working system of a wireless fire alarm system, characterized in that: include: A wireless controller, wherein the wireless controller is networked with the wireless sound and light module and the wireless broadcast module respectively; The wireless controller is used to send a data packet with a system timestamp; wherein the data packet includes a wake-up message or a control instruction; The wireless sound and light module performs clock calibration according to the wake-up message to synchronize the clocks of the wireless sound and light module and the wireless broadcast module; The wireless sound and light module and the wireless broadcast module are synchronously controlled according to the control instruction.
2. The sound, light and broadcast alternating working system of a wireless fire alarm system according to claim 1 is characterized in that: Also included is a wireless gateway; The wireless controller controls the wireless sound and light module and the wireless broadcast module through the wireless gateway.
3. The sound, light and broadcast alternating working system of a wireless fire alarm system according to claim 1 is characterized in that: The wireless broadcast module includes two working modes; wherein the working modes include a host mode and a slave mode; Only one of the wireless broadcast modules in each subnet is configured as a host mode.
4. A sound and light broadcasting alternating working method of a wireless fire alarm system, based on the execution of the sound and light broadcasting alternating working system of a wireless fire alarm system according to claim 2, characterized in that: The following steps are involved: Step S100: performing clock calibration on the wireless sound and light module according to the wake-up message sent by the wireless controller, so that the clocks of the wireless sound and light module and the wireless broadcast module are synchronized; Step S200: Synchronously controlling the wireless sound and light module and the wireless broadcast module according to the control instruction sent by the wireless controller.
5. The sound and light broadcasting alternating working method of a wireless fire alarm system according to claim 4 is characterized in that: Performing clock calibration on the wireless sound and light module according to the wake-up message sent by the wireless controller includes: Send continuous wake-up messages to the wireless sound and light modules in the same subnet through the wireless controller or the wireless gateway using the CAD wake-up channel to wake up the wireless sound and light modules in the dormant state; By parsing the wake-up message data, all wireless sound and light modules use the system clock stamp to eliminate clock errors, so that the clock time of the wireless sound and light modules is consistent with the system clock.
6. The sound and light broadcasting alternating working method of a wireless fire alarm system according to claim 4 is characterized in that: The wireless controller sends a control instruction, including: Assume that the transmission time of the wake-up message data packet is Tawake, the transmission time of the control command data packet is Tctrl, the sequence number range of the wake-up message data packet is 1-n, the sequence number range of the control command data packet is 1-m, the group number range is 1-k, the maximum time for the wireless sound and light module to receive the control command is TD, the start waiting time of the control command is Tcd, and the maximum time for the wireless broadcast module to receive the control command is TgD; The maximum time for the wireless sound and light module to receive the control command is: TD=k×(n×Tawake+m×Tctrl), and satisfies: Tcd>TD≥TgD.
7. The sound, light and broadcast alternating working method of a wireless fire alarm system according to claim 4, characterized in that: The wireless broadcast module forwards control instructions in slave mode, including: The wireless broadcast modules in slave mode use broadcast communication mode. Once a control instruction belonging to the same subnet is received, it will be executed and forwarded immediately. The forwarding is only performed in one round. After the forwarding is completed, the same information will no longer be received and forwarded until the next control instruction is received.
8. The sound and light broadcasting alternating working method of a wireless fire alarm system according to claim 4 is characterized in that: The synchronous control includes four control modes; Mode 1: Synchronous operation mode of the wireless sound and light module and the wireless broadcast module in host mode; Mode 2: The wireless sound and light module and the wireless broadcast module in host mode operate alternately; Mode 3: Synchronous operation mode of the wireless sound and light module and the wireless broadcast module in slave mode; Mode 4: The wireless sound and light module and the wireless broadcast module in slave mode operate alternately.
Citation Information
Patent Citations
Method for precisely synchronizing wireless data of electroencephalogram device
CN106332268A
Real-time visual early warning method for underground engineering structure risk and system thereof
CN110097737A
Wireless terminal and clock synchronization method and system
CN111698050A
Image acquisition method and system and electronic equipment
CN117394942A
Acousto-optic synchronization method, electronic device and system
CN117411581A
