Alternating system and method for sound and light broadcasting of a wireless fire alarm system
By using a wireless controller and gateway to network and clock-calibrate the wireless audio-visual modules and broadcast modules, the problem of synchronous operation in the wireless fire alarm system is solved, achieving low-cost and efficient synchronous control and improving the reliability and coverage of the fire alarm system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2026-03-31
AI Technical Summary
In wireless fire alarm systems, it is difficult to synchronize the wireless sound and light module with the wireless broadcast module, resulting in the inability to work effectively in complex environments. Furthermore, third-party devices are required for clock synchronization, which increases costs and power consumption.
The wireless controller networks the wireless audio-visual module and the wireless broadcasting module, uses a communication protocol for clock calibration to ensure synchronous operation, and extends the communication distance through a wireless gateway. The wireless broadcasting module is controlled in both master and slave modes to achieve synchronous control.
Synchronous control of the wireless audio-visual module and the wireless broadcasting module under low power consumption and low latency conditions has been achieved, which improves the reliability and response capability of the fire alarm system, increases the coverage of the fire alarm, and reduces equipment costs.
Smart Images

Figure CN118540780B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of fire alarm technology and relates to wireless control technology for fire alarms, specifically a sound and light broadcast alternating working system and method for a wireless fire alarm system. Background Technology
[0002] Compared to traditional wired alarm systems, wireless fire alarm systems offer more flexible installation and better system scalability. When a fire occurs, the audible and visual alarms emit a very loud sound and flashing lights to attract attention and encourage evacuation. The wireless broadcast module can be used to broadcast emergency notices and instructions. In emergencies such as fires, people may lose focus due to panic, and a single alarm method may not be sufficient to attract everyone's attention. By combining sound and visual signals, the visibility of warnings can be significantly improved, enhancing safety.
[0003] In most cases, especially in large and complex environments, the equipment is deployed over a wide area, requiring the deployment of multi-level cascaded networks to connect the various components of the system. Affected by signal quality, spatial interference, and transmission delay, it is very difficult for wireless audio-visual and wireless broadcasting modules to work alternately. Especially in the case of cascaded network layers, the greater the data transmission delay, the more difficult it is to achieve an effective alternation effect.
[0004] The key to solving the problem of alternating operation of the audible and visual modules and the broadcast module in a wireless fire alarm system lies in achieving synchronous control of these two types of devices deployed in a distributed manner. Specifically, time synchronization of the audible and visual modules and the broadcast module is required to ensure they operate according to predefined rules when an alarm signal is emitted. In wireless fire alarm systems, the audible and visual modules and the broadcast module are generally not connected to the internet, and therefore cannot use protocols such as NTP or PTP for strict time synchronization. Therefore, wireless systems typically use external clock synchronization technologies, such as GPS-based clock synchronization, to ensure the clock accuracy of the devices. For example, Chinese Patent Application No. 202010489104.9 discloses a wireless terminal, a clock synchronization method, and a system. This system achieves clock synchronization of the system terminals by having any wireless terminal continuously monitor the GPS timing signal and generate an internal clock signal at a predetermined frequency. This invention has the following shortcomings: It is affected by the environment and location: GPS signal reception may be interfered with by physical obstacles such as buildings, trees, and mountains. In indoor or heavily obstructed environments, GPS reception may be affected by signal attenuation or completely unreceived. In addition, using GPS timing requires the installation and configuration of GPS receiving equipment, which itself has certain costs and power consumption, and is not suitable for low-power wireless fire alarm system terminal equipment. Summary of the Invention
[0005] This application aims to address at least one of the technical problems existing in the prior art. To this end, this application proposes a sound and light broadcast alternating operation system and method for a wireless fire alarm system. This addresses the problem that in existing wireless fire alarm systems, the wireless sound and light modules and the wireless broadcast module do not connect to the internet, requiring the use of third-party equipment for clock synchronization, which increases costs due to the configuration of third-party equipment. Furthermore, traditional star-topology networks use point-to-point communication, preventing communication between slave devices. In poor channel environments, especially with interference, network congestion is severe, making it difficult for the wireless sound and light modules and the wireless broadcast module to achieve complete synchronization in receiving control commands, thus preventing them from operating according to predetermined controls. This application solves the above problems by networking the wireless sound and light modules and the wireless broadcast module, and then using a wireless controller to send data packets with system timestamps to the wireless sound and light modules within the same subnet for clock calibration. The wireless broadcast module, in a long-term receiving state, does not require calibration. In this way, the wireless sound and light modules and the wireless broadcast module operate under the same clock, achieving synchronous startup upon receiving control commands. The wireless sound and light modules and the wireless broadcast module then implement preset controls based on the control information, thus solving the aforementioned problems.
[0006] To achieve the above objectives, the first aspect of this application provides a sound and light broadcast alternating operation system for a wireless fire alarm system, comprising: a wireless controller networking with a wireless sound and light module and a wireless broadcast module respectively.
[0007] The wireless controller is used to send data packets with system timestamps; the data packets include wake-up messages or control commands.
[0008] The wireless audio-visual module performs clock calibration based on the wake-up message to synchronize the clocks of the wireless audio-visual module and the wireless broadcast module.
[0009] The wireless audio-visual module and the wireless broadcasting module achieve synchronous control according to control commands.
[0010] Due to the complexity of networking methods and environments, existing technologies prevent wireless audio-visual modules and broadcast modules from synchronously receiving control commands under the requirements of low-power and low-latency system applications.
[0011] Meanwhile, the audio-visual module and the broadcast module are not connected to the internet, making strict time synchronization impossible through communication protocols. Furthermore, third-party time calibration is susceptible to instability due to environmental factors.
[0012] This solution networks a wireless controller, a wireless audio-visual module, and a wireless broadcasting module. It enables time calibration of the wireless audio-visual and wireless broadcasting modules via a communication protocol, ensuring synchronized execution of control commands. Furthermore, it saves costs by eliminating the need for third-party clock synchronization equipment.
[0013] Furthermore, a wireless fire alarm system with alternating sound and light broadcasting also includes a wireless gateway, through which the wireless controller controls the wireless sound and light module and the wireless broadcasting module.
[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 audio-visual module and wireless broadcast module connected to the lower level. Different channels are used between subnets for control transmission, which can reduce signal interference in the system network.
[0015] Furthermore, the wireless broadcast module includes two operating modes: master mode and slave mode.
[0016] Only one wireless broadcast module in each subnet is configured in host mode.
[0017] In master mode, the wireless broadcast module receives, executes, and feeds back instructions from the wireless controller, while forwarding the instructions to the slave mode wireless broadcast module.
[0018] After receiving the instruction sent by the wireless broadcast module in master mode, the wireless broadcast module in slave mode continues to forward it to other wireless broadcast modules in slave mode.
[0019] By controlling a wireless broadcast module in slave mode through a wireless broadcast module in master mode, the number of wireless broadcast modules can be increased to improve security, and communication efficiency and real-time control can also be effectively improved.
[0020] Furthermore, the wireless broadcast module remains in a receiving state, eliminating accumulated clock errors within a cycle by receiving controller inspection data packets with system timestamps in real time, thus keeping the local clock and system clock in sync.
[0021] Since the wireless broadcast module requires audio functionality and has high power consumption, it is powered by AC mains. Using AC mains power allows for real-time reception of inspection communication data packets with system timestamps, enabling periodic clock calibration without the need for additional wake-up calibration processes.
[0022] Furthermore, there is at least one wireless audio-visual module. After receiving the wake-up message, the wireless audio-visual module performs time calibration to make its clock time consistent with the system clock, that is, consistent with the wireless broadcast module.
[0023] The wireless audio-visual module is powered by a battery due to its low power consumption. When not in use, it is in a sleep state to save energy. That is, it works in a periodic sleep-wake state. When it needs to work, it sends a communication file to wake it up from the sleep state and perform clock calibration.
[0024] The second aspect provides a method for alternating sound and light broadcasts in a wireless fire alarm system, including the following steps:
[0025] Step S100: Perform clock calibration on the wireless audio-visual module according to the wake-up message sent by the wireless controller, so that the clocks of the wireless audio-visual module and the wireless broadcast module are synchronized.
[0026] Step S200: Synchronously control the wireless audio-visual module and the wireless broadcasting module according to the control commands sent by the wireless controller.
[0027] Furthermore, the preparatory work prior to step S100 includes:
[0028] When the wireless audio-visual module and wireless broadcasting module join the network, their configuration information is determined based on their operating mode. This configuration information is then written to the device's non-volatile storage space and retrieved upon each power-on. The configuration information relating to the alternating operating mode of the wireless audio-visual module and wireless broadcasting module includes parent node information, synchronization workgroup information, startup sequence, startup time Tstart, stop time Tstop, interval time Tinterval, and a control command startup wait time of Tcd.
[0029] Furthermore, step S100 includes:
[0030] The wireless controller or wireless gateway can use the CAD wake-up channel to send continuous wake-up messages to the wireless audio-visual modules in the same subnet to wake up the wireless audio-visual modules that are in a dormant state.
[0031] By parsing the wake-up message data, all wireless audio-visual modules can use the system clock stamp to eliminate clock errors, ensuring that the clock time of the wireless audio-visual modules is consistent with the system clock, and preparing to receive control commands and calculate the start-up waiting time.
[0032] The wireless broadcast module maintains long-term reception, and its clock time is always consistent with the system clock. There is no need for a wireless wake-up process; the startup waiting time can be calculated directly by receiving control commands.
[0033] The Wake-up Channel (CAD) allows wireless devices to check if the channel is idle before transmitting data, thus avoiding data collisions and improving network efficiency.
[0034] Furthermore, step S200 includes:
[0035] Let the wake-up message data packet transmission time be Tawake, the control command data packet transmission time be Tctrl, the number of wake-up message data packet sequence numbers be 1-n, the control command data packet sequence number range be 1-m, the group number range be 1-k, the maximum time for the wireless audio-visual module to receive control commands be TD, the control command start waiting time be Tcd, and the maximum time for the wireless broadcast module to receive control commands be TgD.
[0036] The maximum time for the wireless audio-visual module to receive control commands is:
[0037] TD = k × (n × Tawake + m × Tctrl), and satisfies: Tcd > TD ≥ TgD;
[0038] Synchronous control can be achieved when the startup waiting time of wireless audio-visual modules or wireless broadcasting modules within the same subnet is (Tcd-TD). For wireless audio-visual modules and wireless broadcasting modules in different subnets, the wireless gateway of that 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 audio-visual and wireless broadcasting hosts calculate the difference Terr between their local timestamp Tstamplocal and the timestamp Tstamp at the time the system startup command was issued. Different subnets compensate Terr to TD, thus completing the synchronous control of wireless audio-visual modules and wireless broadcasting modules between different subnets.
[0039] Furthermore, the wireless broadcast modules in slave mode adopt a broadcast communication mode. As long as a control command belonging to the same subnet is received, the wireless broadcast module in slave mode will immediately execute and forward it. The forwarding will only be done once. After the forwarding is completed, it will no longer receive and forward the same information until the next command is received.
[0040] Furthermore, the wireless audio-visual module and the wireless broadcasting module have four control modes, namely:
[0041] Mode 1: The wireless audio-visual module and the wireless broadcasting module in the host mode operate synchronously.
[0042] Mode 2: Alternating operation of the wireless audio-visual module and the wireless broadcasting module in the host mode.
[0043] Mode 3: Synchronous operation mode of the wireless audio-visual module and the wireless broadcast module in slave mode.
[0044] Mode 4: Alternating operation of the wireless audio-visual module and the wireless broadcast module in slave mode.
[0045] Mode 1 includes the following steps:
[0046] Step S310: The wireless broadcast module is set as the host broadcast module, and the communication is completely consistent with the wireless audio-visual module.
[0047] After receiving the start command, the host broadcast module forwards it to the wireless broadcast module in slave mode, with a forwarding time of Trepost.
[0048] The forwarding method is broadcast communication to send data, with a typical number of repeated transmissions: 10 times.
[0049] Step S311: The forwarded data includes a countdown timer for the synchronization start control time. This total countdown is set by the wireless broadcast module in host mode during network setup. The Trepost value must be less than the difference between Tcd and TD.
[0050] Step S312: After forwarding is completed, the wireless broadcast module in host mode turns off receiving and waits for the delay control command;
[0051] Step S313: The wireless audio-visual module and the wireless broadcasting module in host mode execute control commands synchronously.
[0052] Step S314: The wireless audio-visual module and the wireless broadcast module in host mode open the command receiving channel.
[0053] Step S315: If a stop command is received, the wireless audio-visual module and the wireless broadcast module in master mode will execute it immediately after receiving it, and the wireless broadcast module in master mode will forward it to the wireless broadcast module in slave mode after execution.
[0054] Mode 2 includes the following steps:
[0055] Step S320: The wireless broadcast module is set as the host broadcast module to control the synchronous start of broadcasts in the same area. The method for controlling the synchronous start of the wireless broadcast module is the same as in Mode 1.
[0056] Step S321: Determine whether synchronous control of the wireless broadcast module and the wireless audio-visual module can be achieved based on the set start time, stop time, and interval time.
[0057] Step S322: If the start delay of the synchronization control can match the set start time, stop time and interval time, the alternating start of the wireless broadcast host and the wireless audio-visual module can be realized.
[0058] Mode 3 includes the following steps:
[0059] Step S330: The wireless broadcast module is configured as a slave mode wireless broadcast module. When working in synchronous mode, it can only receive control commands from wireless broadcast modules on the same subnet. After receiving the control command from the master mode wireless broadcast module, it waits for the master mode wireless broadcast module to complete sending the command.
[0060] Step S331: The wireless broadcast module in slave mode forwards the control commands of the wireless broadcast module in master mode and retransmits them three times.
[0061] Step S332: If the received instruction is from the wireless broadcast module in slave mode, delay until the wireless broadcast module in slave mode finishes sending, extract the control instruction and start countdown time and update the time, continue forwarding, turn off receiving after forwarding is completed, and keep the receiving off state until the wireless broadcast module starts.
[0062] Step S333: After the wireless broadcast module in slave mode has completed forwarding, it executes the corresponding instruction and starts receiving after completing the start-up wait delay according to the start-up countdown time received by the data packet.
[0063] Step S334: The wireless broadcast module in slave mode executes the command immediately upon receiving it.
[0064] Mode 4 includes the following steps:
[0065] Step S340: The wireless broadcast module is set to slave mode to control the synchronous startup of broadcasts in the same area. The method for controlling the synchronous startup of the wireless broadcast module is the same as in mode three or mode one.
[0066] Step S341: Determine whether synchronous control of the wireless broadcast module and the wireless audio-visual module can be achieved based on the set start time, stop time, and interval time.
[0067] Step S342: If the start delay of the synchronization control can match the set start time, stop time and interval time, the alternating start of the wireless broadcast host and the wireless audio-visual module can be realized.
[0068] Compared with the prior art, the beneficial effects of this application are:
[0069] 1. By networking the wireless audio-visual module and the wireless broadcast module in host mode, and using communication for clock calibration, the clocks of the wireless audio-visual module and the wireless broadcast module in host mode are synchronized. At the same time, through synchronous alternating operation control, the operation between the audio-visual and broadcast modules is ensured to be coordinated and consistent. This can avoid information transmission delays or missing important information due to asynchronous operation, thereby improving the reliability and response capability of the fire alarm system. In addition, since no third-party equipment is needed for clock calibration after networking, the cost of laying third-party equipment is saved.
[0070] 2. Multiple audio-visual and broadcast modules can be linked and operated in tandem via wireless networking. This allows alarm signals to propagate across multiple areas, increasing the coverage and effectiveness of fire alarms. Low-latency synchronous control is achieved by balancing the processing time of the wireless audio-visual modules and the wireless broadcast module in host mode through modulation and combination. Attached Figure Description
[0071] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0072] Figure 1 This is a network diagram of the wireless audio-visual module and the wireless broadcasting module of this application.
[0073] Figure 2 This is a schematic diagram of the master-slave communication of the wireless broadcast module in 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 for the wireless fire alarm system of this application.
[0076] Figure 5 This is a schematic diagram of the control modes of the wireless audio-visual module and the wireless broadcasting module of this application. Detailed Implementation
[0077] The technical solutions of this application will be clearly and completely described below with reference to the embodiments. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0078] Please see Figure 1 The first aspect of this application provides a sound and light broadcast alternating operation system for a wireless fire alarm system, comprising:
[0079] The wireless controller is networked with the wireless audio-visual module and the wireless broadcasting module respectively.
[0080] The wireless controller is used to send data packets with system timestamps; the data packets include wake-up messages or control commands.
[0081] The wireless audio-visual module performs clock calibration based on the wake-up message to synchronize the clocks of the wireless audio-visual module and the wireless broadcast module.
[0082] The wireless audio-visual module and the wireless broadcasting module are synchronously controlled according to control commands. Furthermore, a wireless fire alarm system with alternating audio-visual and broadcasting operation also includes a wireless gateway, through which the wireless controller controls the wireless audio-visual module and the wireless broadcasting module.
[0083] Meanwhile, the wireless broadcast module includes two working modes: master mode and slave mode.
[0084] Only one wireless broadcast module in each subnet is configured in host mode.
[0085] In master mode, the wireless broadcast module receives, executes, and feeds back instructions from the wireless controller, while forwarding the instructions to the slave mode wireless broadcast module.
[0086] After receiving the instruction sent by the wireless broadcast module in master mode, the wireless broadcast module in slave mode continues to forward it to other wireless broadcast modules in slave mode.
[0087] By controlling a wireless broadcast module in slave mode through a wireless broadcast module in master mode, the number of wireless broadcast modules can be increased to improve security, and communication efficiency and real-time control can also be effectively improved.
[0088] The wireless broadcast module remains in a receiving state, eliminating accumulated clock errors within a cycle by receiving controller inspection data packets with system timestamps in real time, thus keeping the local clock and system clock in sync.
[0089] The wireless broadcasting module requires an audio power amplifier, which consumes a lot of power and is powered by AC mains. Using AC mains power allows for real-time reception of inspection communication data packets with system timestamps, enabling periodic clock calibration without the need for an additional wake-up calibration process.
[0090] There is at least one wireless audio-visual module. After receiving the wake-up message, the wireless audio-visual module performs time calibration to make the clock time consistent with the system clock.
[0091] Let the wake-up message data packet transmission time be Tawake, the control command data packet transmission time be Tctrl, the wake-up message data packet sequence number range be 1-n, the control command data packet sequence number range be 1-m, the group number range be 1-k, the maximum time for the wireless audio-visual module to receive control commands be TD, the control command start-up waiting time be Tcd, and the maximum time for the wireless broadcast module to receive control commands be TgD.
[0092] The maximum time for the wireless audio-visual module to receive control commands is:
[0093] TD = k × (n × Tawake + m × Tctrl), and satisfies: Tcd > TD ≥ TgD;
[0094] Synchronous control can be achieved when the startup waiting time of wireless audio-visual modules or wireless broadcasting modules within the same subnet is (Tcd-TD). For wireless audio-visual modules and wireless broadcasting modules in different subnets, the wireless gateway of that 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 audio-visual and wireless broadcasting hosts calculate the difference Terr between their local timestamp Tstamplocal and the timestamp Tstamp at the time the system startup command was issued. Different subnets compensate Terr to TD, thus completing the synchronous control of wireless audio-visual modules and wireless broadcasting modules between different subnets.
[0095] The wireless audio-visual module is battery powered due to its low power consumption. When not in use, it uses a periodic sleep-wake state to save energy. When it needs to work, it sends a communication file to wake it up from the sleep state and perform clock calibration.
[0096] This solution involves networking the wireless controller, wireless audio-visual module, and wireless broadcast module, and using a communication protocol to calibrate the time of the wireless audio-visual module and the wireless broadcast module, so that they can execute control commands synchronously.
[0097] After time calibration of the wireless audio-visual module, the clock time of the wireless audio-visual module and the wireless broadcasting module are the same as the system clock. When the wireless audio-visual module and the wireless broadcasting module receive data packets with system timestamps, they will be controlled uniformly according to the same reference time, achieving the effect of synchronized control between the wireless audio-visual module and the wireless broadcasting module.
[0098] Please see Figure 2 In master mode, the wireless broadcast module sends start and stop commands to all slave mode wireless broadcast modules within the same subnet via broadcast. Upon receiving the control commands, all slave mode wireless broadcast modules execute the corresponding actions and broadcast the control instructions to other slave mode wireless broadcast modules within the same subnet. Simultaneously, to ensure simultaneous startup of slave mode wireless broadcast modules, the wireless broadcast master uses FSK modulation for communication, with a typical airtime of 10ms for a single signal transmission.
[0099] Please see Figure 3 In slave mode, wireless broadcast modules use broadcast communication mode. As long as a wireless broadcast module in slave mode receives a signal belonging to the same subnet, it will forward it. Forwarding will only be done once. After forwarding is completed, no further forwarding will be done until the next command is received.
[0100] The wireless broadcast module in slave mode 1 forwards information via broadcast and disables receiving the same information sent by wireless broadcast modules in other slave modes; the wireless broadcast module in slave mode 1 forwards information via broadcast as shown in the transmission line marked 1 in the figure.
[0101] When the wireless broadcast module in slave mode 2 receives the information sent by the wireless broadcast module in slave mode 1, it forwards the information in the form of broadcast and turns off receiving the same information sent by the wireless broadcast modules in other slave modes; the wireless broadcast module in slave mode 2 forwards the information in the form of broadcast as shown in the transmission line marked 2 in the figure.
[0102] When the wireless broadcast module in slave mode 3 receives the information sent by the wireless broadcast module in slave mode 2, it forwards the information via broadcast and turns off receiving the same information sent by other wireless broadcast modules in slave mode 3; the wireless broadcast module in slave mode 3 forwards the information via broadcast as shown in the transmission line marked 3 in the figure.
[0103] When the wireless broadcast module in slave mode 4 receives the information sent by the wireless broadcast module in slave mode 3, it forwards the information via broadcast and turns off receiving the same information sent by other wireless broadcast modules in slave mode 4; the wireless broadcast module in slave mode 4 forwards the information via broadcast as shown in the transmission line marked 4 in the figure.
[0104] The “×” mark in the diagram indicates invalid edge transmission, meaning that the corresponding wireless broadcast module in slave mode did not receive the information sent by the sender.
[0105] The "√" mark in the diagram indicates that the edge transmission is valid, meaning that the corresponding wireless broadcast module in slave mode has successfully received the information sent by the sender.
[0106] During the relay process, the wireless broadcast module uses the CSMA mechanism for communication, which involves carrier sensing and appropriate communication collision avoidance to reduce the probability of channel collisions and increase communication reliability.
[0107] Please see Figure 4 The first aspect of this application provides a method for alternating sound and light broadcasts in a wireless fire alarm system, comprising:
[0108] The second aspect provides a method for alternating sound and light broadcasts in a wireless fire alarm system, including the following steps:
[0109] Step S100: Perform clock calibration on the wireless audio-visual module according to the wake-up message sent by the wireless controller, so that the clocks of the wireless audio-visual module and the wireless broadcast module are synchronized.
[0110] Step S200: Synchronously control the wireless audio-visual module and the wireless broadcasting module according to the control commands sent by the wireless controller.
[0111] Furthermore, the preparatory work prior to step S100 includes:
[0112] When the wireless audio-visual module and the wireless broadcasting module are connected to the network, their configurations are determined according to their working modes. The configurations involving the alternating working modes of the wireless audio-visual module and the wireless broadcasting module include parent node information, synchronization work group information, startup sequence, startup time Tstart, stop time Tstop, interval time Tinterval, and the start-up waiting time for control commands 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 wake up wireless audio-visual modules in the same subnet that are in sleep mode. The wake-up message data packet frame structure is shown in the table below:
[0115]
[0116] By parsing the wake-up message data, all wireless audio-visual modules can use the system clock stamp to eliminate clock errors, ensuring that the clock time of the wireless audio-visual modules is consistent with the system clock, and preparing to receive control commands and calculate the start-up waiting time.
[0117] The wireless broadcast module maintains long-term reception, and its clock time is always consistent with the system clock. There is no need for a wireless wake-up process; the startup waiting time can be calculated directly by receiving control commands.
[0118] Furthermore, step S200 includes:
[0119] The maximum time for the wireless audio-visual module to receive control commands is TD;
[0120] The control command start-up wait time is Tcd;
[0121] The time for the wireless broadcast module to receive control commands is TgD;
[0122] The control command data packet contains a data packet group number. By receiving the control command data packet, control command information and delay control time information can be obtained. The frame structure of the control command data packet is shown in the table below:
[0123]
[0124] Let the transmission time of the wake-up message data packet be Tawake, the transmission time of the control command data packet be Tctrl, the sequence number range of the wake-up message data packet be 1-n, the sequence number range of the control command data packet be 1-m, and the group number range be 1-k. Then the maximum delay time for a certain wireless audio-visual device to receive a control command is:
[0125] TD = k × (n × Tawake + m × Tctrl), and satisfies: Tcd > TD;
[0126] Synchronous control can be achieved when the startup waiting time of wireless audio-visual modules or wireless broadcasting modules within the same subnet is (Tcd-TD). For wireless audio-visual modules and wireless broadcasting modules in different subnets, the wireless gateway of that 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 audio-visual and wireless broadcasting hosts calculate the difference Terr between their local timestamp Tstamplocal and the timestamp Tstamp at the time the system startup command was issued. Different subnets compensate Terr to TD, thus completing the synchronous control of wireless audio-visual modules and wireless broadcasting modules between different subnets.
[0127] Please see Figure 5 There are four control modes for the wireless audio-visual module and the wireless broadcasting module:
[0128] Mode 1: Synchronous operation mode of the wireless audio-visual module and the wireless broadcast module in host mode;
[0129] Mode 2: Alternating operation of the wireless audio-visual module and the wireless broadcast module in host mode;
[0130] Mode 3: Synchronous operation mode of the wireless audio-visual module and the wireless broadcast module in slave mode;
[0131] Mode 4: Alternating operation of the wireless audio-visual 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 the host broadcast module, and the communication is completely consistent with the wireless audio-visual module.
[0134] After receiving the start command, the host broadcast module forwards it to the wireless broadcast module in slave mode, with a forwarding time of Trepost.
[0135] The forwarding method is broadcast communication to send data, with a typical number of repeated transmissions: 10 times.
[0136] Step S311: The forwarded data includes a countdown for the synchronization start control time. This total countdown is set by the wireless broadcast module in host mode during network setup. It also satisfies the following relationship: Trepost < (Tcd - TD).
[0137] Step S312: After forwarding is completed, the wireless broadcast module in host mode turns off receiving and waits for the delay control command;
[0138] Step S313: The wireless audio-visual module and the wireless broadcasting module in host mode execute control commands synchronously.
[0139] Step S314: The wireless audio-visual module and the wireless broadcast module in host mode open the command receiving channel.
[0140] Step S315: If a stop command is received, the wireless audio-visual module and the wireless broadcast module in master mode will execute it immediately after receiving it, and the wireless broadcast module in master mode will forward it to the wireless broadcast module in slave mode after execution.
[0141] Mode 2 includes the following steps:
[0142] Step S320: The wireless broadcast module is set as the host broadcast module to control the synchronous start of broadcasts in the same area. The method for controlling the synchronous start of the wireless broadcast module is the same as in Mode 1.
[0143] Step S321: Determine whether synchronous control of the wireless broadcast module and the wireless audio-visual module can be achieved based on the set start time, stop time, and interval time.
[0144] Step S322: If the start delay of the synchronization control can match the set start time, stop time and interval time, the alternating start of the wireless broadcast host and the wireless audio-visual module can be realized.
[0145] Mode 3 includes the following steps:
[0146] Step S330: The wireless broadcast module is configured as a slave mode wireless broadcast module. When working in synchronous mode, it can only receive broadcast control commands from the same partition. After receiving the control command from the master mode wireless broadcast module, it waits for the master mode wireless broadcast module command to be sent.
[0147] Step S331: The wireless broadcast module in slave mode forwards the control commands of the wireless broadcast module in master mode, typically retransmitting three times.
[0148] Step S332: If the received instruction is from the wireless broadcast module in slave mode, delay until the wireless broadcast module in slave mode finishes sending, extract the control instruction and start countdown time and update the time, continue forwarding, turn off receiving after forwarding is completed, and keep the receiving off state until the wireless broadcast module starts.
[0149] Step S333: After the wireless broadcast module in slave mode has completed forwarding, it executes the corresponding instruction and starts receiving after completing the start-up wait delay according to the start-up countdown time received by the data packet.
[0150] Step S334: The wireless broadcast module in slave mode executes the command immediately upon receiving it.
[0151] Mode 4 includes the following steps:
[0152] Step S340: The wireless broadcast module is set to slave mode to control the synchronous startup of broadcasts in the same area. The method for controlling the synchronous startup of the wireless broadcast module is the same as in mode three or mode one.
[0153] Step S341: Determine whether synchronous control of the wireless broadcast module and the wireless audio-visual module can be achieved based on the set start time, stop time, and interval time.
[0154] Step S342: If the start delay of the synchronization control can match the set start time, stop time and interval time, the alternating start of the wireless broadcast host and the wireless audio-visual module can be realized.
[0155] Some of the data in the above formula are calculated by removing dimensions and taking their numerical values. The formula is the closest to the real situation obtained by software simulation of a large amount of collected data. The preset parameters and preset thresholds in the formula are set by those skilled in the art according to the actual situation or obtained through simulation of a large amount of data.
[0156] The above embodiments are only used to illustrate the technical methods of this application and are not intended to limit it. Although this application has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical methods of this application without departing from the spirit and scope of the technical methods of this application.
Claims
1. An audio-visual broadcasting alternate working system of a wireless fire alarm system, characterized in that, The application relates to a wireless control system, which comprises the following parts: a wireless controller, which is connected with a wireless sound and light module and a wireless broadcast module respectively; the wireless controller is used for sending a data packet with a system time stamp; wherein the data packet comprises a wake-up message or a control instruction; the wireless sound and light module is clocked according to the wake-up message, so that the wireless sound and light module and the wireless broadcast module are clocked synchronously; the wireless broadcast module comprises a master mode and a slave mode; the wireless sound and light module and the wireless broadcast module realize synchronous control according to the control instruction; wherein the control instruction contains a starting waiting time Tcd, which is longer than the longest time TD of the wireless sound and light module receiving the control instruction; and the wireless broadcast module in the slave mode forwards the control instruction after receiving the control instruction, and the forwarding is only one round.
2. The audio-visual broadcasting alternate system of a wireless fire alarm system according to claim 1, wherein, a wireless gateway is further included; the wireless controller controls the wireless sound and light module and the wireless broadcast module through the wireless gateway.
3. The audio-visual broadcasting alternate system of a wireless fire alarm system according to claim 1, wherein, Only one wireless broadcast module in each subnetwork is configured as the master mode.
4. A method for alternating operation of an audible and visual broadcast of a wireless fire alarm system, based on the execution of an alternating operation of an audible and visual broadcast of a wireless fire alarm system according to any one of claims 1 to 3, characterized in that, The application further comprises the following steps: step S100: clocking the wireless sound and light module according to the wake-up message sent by the wireless controller, so that the wireless sound and light module and the wireless broadcast module are clocked synchronously; 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; wherein the wireless broadcast module comprises a master mode and a slave mode; the control instruction contains a starting waiting time Tcd, which is longer than the longest time TD of the wireless sound and light module receiving the control instruction; and the wireless broadcast module in the slave mode forwards the control instruction after receiving the control instruction, and the forwarding is only one round.
5. The method of claim 4, wherein the audio and visual broadcasting of the wireless fire alarm system is alternately operated, and clocking the wireless sound and light module according to the wake-up message sent by the wireless controller comprises the following steps: sending continuous wake-up messages to wake up the wireless sound and light module in a sleep state through the wireless controller or the wireless gateway using a CAD wake-up channel of the wireless sound and light module in the same subnetwork; eliminating clock errors of all the wireless sound and light modules by analyzing the wake-up message data, so that the clock time of the wireless sound and light module is consistent with the system clock.
6. The alternate operation of audible and visual alarm broadcasting in a wireless fire alarm system according to claim 4, wherein, the wireless controller sends the control instruction, which comprises the following steps: setting the wake-up message data packet transmission time as Tawake, the control command data packet transmission time as Tctrl, the wake-up message data packet serial number range as 1-n, the control command data packet serial number range as 1-m, the group number range as 1-k, the longest time of the wireless sound and light module receiving the control instruction as TD, the starting waiting time of the control instruction as Tcd, and the longest time of the wireless broadcast module receiving the control instruction as TgD; then the longest time of the wireless sound and light module receiving the control command is: TD=k x (n x Tawake+m x Tctrl), and Tcd>TD>=TgD.
7. The alternate operation of audible and visual alarm broadcasting in a wireless fire alarm system according to claim 4, wherein, the wireless broadcast module forwards the control instruction in the slave mode, which comprises the following steps: The wireless broadcast module in the slave mode adopts a broadcast communication mode, and as long as a control instruction belonging to the same subnetwork is received, it is immediately executed and forwarded, the forwarding is only one round, and after the forwarding is completed, the same information is no longer received and forwarded until the next control instruction is received.
8. The alternate operation of audible and visual alarm broadcasting in a wireless fire alarm system according to claim 4, wherein, The synchronization control includes four control modes; Mode one: the wireless sound and light module and the wireless broadcast module in the host mode are in a synchronous operation mode; Mode two: the wireless sound and light module and the wireless broadcast module in the host mode are in an alternating operation mode; Mode three: the wireless sound and light module and the wireless broadcast module in the slave mode are in a synchronous operation mode; Mode four: the wireless sound and light module and the wireless broadcast module in the slave mode are in an alternating operation mode.
Citation Information
Patent Citations
Wireless terminal and clock synchronization method and system
CN111698050A
Image acquisition method and system and electronic equipment
CN117394942A
Wireless fire audible-visual alarm
CN204360505U