CN118338473A - Dual-mode communication method and system for energy storage fire detector - Google Patents

Dual-mode communication method and system for energy storage fire detector Download PDF

Info

Publication number
CN118338473A
CN118338473A CN202410526313.4A CN202410526313A CN118338473A CN 118338473 A CN118338473 A CN 118338473A CN 202410526313 A CN202410526313 A CN 202410526313A CN 118338473 A CN118338473 A CN 118338473A
Authority
CN
China
Prior art keywords
fire
wireless communication
energy storage
signal
detector
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410526313.4A
Other languages
Chinese (zh)
Inventor
张胜祥
冯志斌
李忠波
杨硕真
崔元帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yantai Chungway New Energy Technology Co Ltd
Original Assignee
Yantai Chungway New Energy Technology Co Ltd
Filing date
Publication date
Application filed by Yantai Chungway New Energy Technology Co Ltd filed Critical Yantai Chungway New Energy Technology Co Ltd
Publication of CN118338473A publication Critical patent/CN118338473A/en
Pending legal-status Critical Current

Links

Abstract

A energy storage fire detector dual-mode communication method and system, this method is if CAN bus communication line is interrupted or unusual, trigger the communication to switch over the logic, start the wireless communication module of LoRa to supply the energy storage fire detector to report the monitoring information of the battery cabinet to the fire control host computer; monitoring the signal intensity or the signal-to-noise ratio received by the LoRa wireless communication module in real time to obtain a signal intensity value or a signal-to-noise ratio value of the LoRa wireless communication module; evaluating the communication quality of the LoRa wireless communication module according to the signal intensity value or the signal-to-noise value; when the signal strength value is smaller than a preset signal strength threshold value or the signal to noise ratio value is smaller than a preset signal to noise ratio threshold value, dynamically adjusting the LoRa wireless communication module; and the dynamically adjusted wireless communication module is used for the energy storage fire control detector to report the monitoring information of the battery cabinet to the fire control host. The invention realizes automatic switching between wired and wireless communication, reduces the possibility of misoperation, and improves the communication stability and safety of the energy storage fire-fighting system.

Description

Dual-mode communication method and system for energy storage fire detector
Technical Field
The invention relates to a dual-mode communication method and system for an energy storage fire detector, and belongs to the technical field of fire equipment monitoring.
Background
With the increasing scale of energy storage power stations, the requirements on the fire safety of the energy storage power stations are also increased. The energy storage fire-fighting detector is an important component of an energy storage fire-fighting fire-extinguishing system, and adopts smoke sensing, temperature sensing and photosensitive technologies, so that fire hidden danger in a battery can be timely found, and a fire alarm signal is sent out. Meanwhile, the detector also has an automatic positioning function, can accurately position the position of fire occurrence, provides more accurate positioning information for fire extinguishment, and the reliability of communication is directly related to the speed and efficiency of fire emergency response.
However, in existing energy storage fire protection systems, the energy storage fire protection detector is connected to the fire protection host mainly through wired communication, such as CAN bus. The communication mode is stable under normal conditions, but when a line is damaged or fails, the communication is interrupted, so that fire information cannot be timely transmitted to a fire-fighting host, and serious consequences can be caused. Therefore, it is necessary to develop an energy storage fire control detection communication technical scheme with dual-mode communication capability.
Disclosure of Invention
Therefore, the invention provides a dual-mode communication method and a dual-mode communication system for an energy storage fire detector, which are used for overcoming the limitation of traditional wired communication, ensuring that fire information can be timely and accurately transmitted to a fire-fighting host under any condition, and solving the problem of poor reliability of the traditional communication scheme.
In order to achieve the above object, the present invention provides the following technical solutions: a dual mode communication method of an energy storage fire detector, comprising:
Judging whether a CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is normal or not:
a) If the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is normal, the energy storage fire-fighting detector reports battery cabinet monitoring information to the fire-fighting host through a CAN bus interface module;
b) If the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is interrupted or abnormal, triggering a communication switching logic, and starting a LoRa wireless communication module to enable the energy storage fire-fighting detector to report battery cabinet monitoring information to the fire-fighting host;
After the LoRa wireless communication module is started, monitoring the signal intensity or the signal-to-noise ratio received by the LoRa wireless communication module in real time to obtain a signal intensity value or a signal-to-noise ratio value of the LoRa wireless communication module;
Evaluating the communication quality of the LoRa wireless communication module according to the signal strength value or the signal to noise ratio value, judging whether the signal strength value is smaller than a preset signal strength threshold or judging whether the signal to noise ratio value is smaller than a preset signal to noise ratio threshold;
When the signal strength value is smaller than a preset signal strength threshold value or the signal to noise ratio value is smaller than a preset signal to noise ratio threshold value, dynamically adjusting the spreading factor, bandwidth and coding rate of the LoRa wireless communication module; and the dynamic adjusted LoRa wireless communication module is used for the energy storage fire control detector to report the monitoring information of the battery cabinet to the fire control host.
As a preferable scheme of the energy storage fire detector dual-mode communication method, when the signal intensity value is smaller than a preset signal intensity threshold value or the signal to noise ratio value is smaller than a preset signal to noise ratio threshold value:
and increasing the spreading factor of the LoRa wireless communication module, reducing the bandwidth of the LoRa wireless communication module, and reducing the coding rate of the LoRa wireless communication module.
As an optimal scheme of the energy storage fire detector dual-mode communication method, the energy storage fire detector dual-mode communication method further comprises the step of selecting a communication channel of the LoRa wireless communication module according to historical communication data, real-time channel quality evaluation results or a predefined channel switching strategy.
As a preferred scheme of the energy storage fire detector dual-mode communication method, the method further comprises the step of retransmitting data of battery cabinet monitoring information reported by the energy storage fire detector to the fire host according to a preset retransmission frequency upper limit and a retransmission interval when the signal intensity value is smaller than a preset signal intensity threshold or the signal to noise ratio value is smaller than a preset signal to noise ratio threshold.
As a preferable scheme of the dual-mode communication method of the energy storage fire-fighting detector, the method further comprises the step of adjusting the transmitting power of the LoRa wireless communication module according to a preset power adjustment threshold and step length according to the communication distance and the communication quality evaluation result between the energy storage fire-fighting detector and the fire-fighting host.
As the energy storage fire-fighting detector dual-mode communication method, the energy storage fire-fighting detector dual-mode communication method further comprises the steps of judging whether a CAN bus communication line between the energy storage fire-fighting detector and a fire-fighting host is normal or not, triggering communication switching logic if the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is normal, starting a CAN bus interface module, and stopping operation of the LoRa wireless communication module.
The invention also provides a dual-mode communication system of the energy storage fire detector, which comprises the following steps:
the CAN bus communication judging unit is used for judging whether a CAN bus communication line between the energy storage fire fighting detector and the fire fighting host is normal or not;
The CAN bus uploading unit is used for enabling the energy storage fire-fighting detector to report battery cabinet monitoring information to the fire-fighting host through the CAN bus interface module if a CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is normal;
The LoRa wireless starting unit is used for triggering communication switching logic if the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is interrupted or abnormal, and starting the LoRa wireless communication module to enable the energy storage fire-fighting detector to report battery cabinet monitoring information to the fire-fighting host;
the wireless communication monitoring unit is used for monitoring the signal intensity or the signal-to-noise ratio received by the LoRa wireless communication module in real time after the LoRa wireless communication module is started to obtain the signal intensity value or the signal-to-noise ratio value of the LoRa wireless communication module;
The wireless communication quality evaluation unit is used for evaluating the communication quality of the LoRa wireless communication module according to the signal strength value or the signal-to-noise ratio value, judging whether the signal strength value is smaller than a preset signal strength threshold or judging whether the signal-to-noise ratio value is smaller than a preset signal-to-noise ratio threshold;
the wireless communication parameter adjusting unit is used for dynamically adjusting the spread spectrum factor, the bandwidth and the coding rate of the LoRa wireless communication module when the signal strength value is smaller than a preset signal strength threshold or the signal to noise ratio value is smaller than a preset signal to noise ratio threshold; and the dynamic adjusted LoRa wireless communication module is used for the energy storage fire control detector to report the monitoring information of the battery cabinet to the fire control host.
As an preferable solution of the dual-mode communication system of the energy storage fire-fighting detector, in the wireless communication parameter adjusting unit, when the signal strength value is smaller than a preset signal strength threshold value, or the signal to noise ratio value is smaller than a preset signal to noise ratio threshold value:
and increasing the spreading factor of the LoRa wireless communication module, reducing the bandwidth of the LoRa wireless communication module, and reducing the coding rate of the LoRa wireless communication module.
As a preferred scheme of the energy storage fire detector dual-mode communication system, the energy storage fire detector dual-mode communication system further comprises:
a communication channel selection unit for selecting a communication channel of the LoRa wireless communication module according to historical communication data, real-time channel quality evaluation results or predefined channel switching strategies
And the data retransmission unit is used for retransmitting data of the battery cabinet monitoring information reported by the energy storage fire-fighting detector to the fire-fighting host according to the preset retransmission frequency upper limit and retransmission interval when the signal intensity value is smaller than a preset signal intensity threshold or the signal-to-noise ratio value is smaller than a preset signal-to-noise ratio threshold.
As a preferred scheme of the energy storage fire detector dual-mode communication system, the energy storage fire detector dual-mode communication system further comprises:
the transmitting power adjusting unit is used for adjusting the transmitting power of the LoRa wireless communication module according to a preset power adjusting threshold and a preset step length according to the communication distance and the communication quality evaluation result between the energy storage fire fighting detector and the fire fighting host;
And the CAN bus communication recovery unit is used for judging whether the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is recovered to be normal, and if the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is recovered to be normal, triggering the communication switching logic, starting the CAN bus interface module and stopping the operation of the LoRa wireless communication module.
The invention has the following advantages: if the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is normal, the energy storage fire-fighting detector is provided with monitoring information of a battery cabinet to the fire-fighting host through a CAN bus interface module; if the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is interrupted or abnormal, triggering a communication switching logic, and starting a LoRa wireless communication module to enable the energy storage fire-fighting detector to report battery cabinet monitoring information to the fire-fighting host; after the LoRa wireless communication module is started, monitoring the signal intensity or the signal-to-noise ratio received by the LoRa wireless communication module in real time to obtain a signal intensity value or a signal-to-noise ratio value of the LoRa wireless communication module; evaluating the communication quality of the LoRa wireless communication module according to the signal strength value or the signal to noise ratio value, judging whether the signal strength value is smaller than a preset signal strength threshold or judging whether the signal to noise ratio value is smaller than a preset signal to noise ratio threshold; when the signal strength value is smaller than a preset signal strength threshold value or the signal to noise ratio value is smaller than a preset signal to noise ratio threshold value, dynamically adjusting the spreading factor, bandwidth and coding rate of the LoRa wireless communication module; and the dynamic adjusted LoRa wireless communication module is used for the energy storage fire control detector to report the monitoring information of the battery cabinet to the fire control host. According to the invention, by introducing the LoRa wireless technology, automatic switching between wired and wireless communication is realized, so that fire information can be timely and accurately transmitted to a fire-fighting host under any condition, the possibility of misoperation is reduced, and the communication stability and safety of the energy storage fire-fighting system are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It will be apparent to those skilled in the art from this disclosure that the drawings described below are merely exemplary and that other embodiments may be derived from the drawings provided without undue effort.
FIG. 1 is a schematic flow chart of a dual-mode communication method of an energy storage fire detector provided in an embodiment of the invention;
fig. 2 is a schematic diagram of a dual-mode communication system architecture of an energy storage fire detector according to an embodiment of the present invention.
Detailed Description
Other advantages and advantages of the present invention will become apparent to those skilled in the art from the following detailed description, which, by way of illustration, is to be read in connection with certain specific embodiments, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, embodiment 1 of the present invention provides a dual-mode communication method for an energy storage fire detector, which includes the following steps:
S1, judging whether a CAN bus communication line between an energy storage fire fighting detector and a fire fighting host is normal or not:
a) If the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is normal, the energy storage fire-fighting detector reports battery cabinet monitoring information to the fire-fighting host through a CAN bus interface module;
b) If the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is interrupted or abnormal, triggering a communication switching logic, and starting a LoRa wireless communication module to enable the energy storage fire-fighting detector to report battery cabinet monitoring information to the fire-fighting host;
S2, after the LoRa wireless communication module is started, monitoring the signal intensity or the signal-to-noise ratio received by the LoRa wireless communication module in real time to obtain a signal intensity value or a signal-to-noise ratio value of the LoRa wireless communication module;
S3, evaluating the communication quality of the LoRa wireless communication module according to the signal intensity value or the signal-to-noise ratio value, judging whether the signal intensity value is smaller than a preset signal intensity threshold or judging whether the signal-to-noise ratio value is smaller than a preset signal-to-noise ratio threshold;
S4, when the signal strength value is smaller than a preset signal strength threshold value or the signal to noise ratio value is smaller than a preset signal to noise ratio threshold value, dynamically adjusting the spread spectrum factor, bandwidth and coding rate of the LoRa wireless communication module; and the dynamic adjusted LoRa wireless communication module is used for the energy storage fire control detector to report the monitoring information of the battery cabinet to the fire control host.
In this embodiment, when the CAN bus communication line is normal, the energy storage fire detector reports the internal environmental parameters of the battery cabinet (such as the real-time temperature, the CO concentration, the H 2 concentration, the VOC concentration, etc. in the battery cabinet) and the fire alarm state in real time through the CAN bus interface module. And once the CAN bus communication line is detected to be abnormal or interrupted, triggering switching logic immediately, starting the LoRa wireless communication module, and ensuring the communication quality through a self-adaptive adjustment algorithm after the LoRa wireless communication module is started.
In this embodiment, in the adaptive adjustment algorithm, when the signal strength value is smaller than a preset signal strength threshold, or the signal to noise ratio value is smaller than a preset signal to noise ratio threshold: and increasing the spreading factor of the LoRa wireless communication module, reducing the bandwidth of the LoRa wireless communication module, and reducing the coding rate of the LoRa wireless communication module. Thus, the Signal strength value (RSSI, received Signal Strength Indicator) and the Signal-to-Noise Ratio (SNR) received by the LoRa wireless communication module are monitored in real time, and the quality of the current wireless communication link is estimated according to the RSSI and the SNR values.
Wherein a larger signal strength value indicates a higher quality of the wireless communication link and vice versa. The signal-to-noise ratio is the ratio between the effective signal and the noise signal. In the data transmission process, the signal is too weak or the noise is too strong, which may cause the degradation of the data transmission quality, so the SNR is one of the important indicators for measuring the connection quality of the device, and the larger the signal-to-noise ratio is, the higher the quality of the signal is, and the more accurate the transmitted information is.
In this embodiment, the adaptive adjustment algorithm further includes selecting a communication channel of the LoRa wireless communication module according to historical communication data, a real-time channel quality evaluation result, or a predefined channel switching policy.
Specifically, the network of the LoRa wireless communication module supports multi-channel operation, and an optimal communication channel can be selected according to the interference condition of each current channel. The channel selection may be based on historical data, real-time channel quality assessment, or predefined channel switching policies.
In this embodiment, in the adaptive adjustment algorithm, when the signal strength value is smaller than a preset signal strength threshold, or the signal to noise ratio value is smaller than a preset signal to noise ratio threshold, data retransmission is performed on the battery cabinet monitoring information reported by the energy storage fire fighting detector to the fire fighting host according to a preset retransmission frequency upper limit and a retransmission interval. Therefore, automatic retransmission request (ARQ, automatic Repeat Request) or similar mechanism is realized, data can be retransmitted when the data packet is lost due to poor communication quality, and the upper limit of retransmission times and retransmission interval are set at the same time, so that network congestion and unnecessary resource consumption are avoided.
In this embodiment, the adaptive adjustment algorithm further includes adjusting the transmitting power of the LoRa wireless communication module according to a preset power adjustment threshold and a preset step size according to the communication distance and the communication quality evaluation result between the energy storage fire fighting detector and the fire fighting host. Therefore, the transmitting power of the LoRa wireless communication module is dynamically adjusted according to the communication distance and the signal quality, so that the energy consumption is reduced while the communication quality is ensured. At the same time, the threshold and step size of the power adjustment can be set to achieve a smooth power transition.
In this embodiment, the adaptive adjustment algorithm further includes determining whether a CAN bus communication line between the energy storage fire detector and the fire engine is restored, if the CAN bus communication line between the energy storage fire detector and the fire engine is restored, triggering a communication switching logic, starting a CAN bus interface module, and stopping operation of the LoRa wireless communication module, thereby combining wired and wireless communication, and improving stability and reliability of communication; the automatic switching between wired and wireless communication is realized without manual intervention, so that the possibility of misoperation is reduced; ensuring the communication quality; the long-distance and low-power consumption characteristics of the LoRa technology are combined, and the service life of the detector is prolonged.
In summary, the method judges whether the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is normal or not, and if the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is normal, the energy storage fire-fighting detector reports the monitoring information of the battery cabinet to the fire-fighting host through the CAN bus interface module; if the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is interrupted or abnormal, triggering a communication switching logic, and starting a LoRa wireless communication module to enable the energy storage fire-fighting detector to report battery cabinet monitoring information to the fire-fighting host; after the LoRa wireless communication module is started, monitoring the signal intensity or the signal-to-noise ratio received by the LoRa wireless communication module in real time to obtain a signal intensity value or a signal-to-noise ratio value of the LoRa wireless communication module; evaluating the communication quality of the LoRa wireless communication module according to the signal strength value or the signal to noise ratio value, judging whether the signal strength value is smaller than a preset signal strength threshold or judging whether the signal to noise ratio value is smaller than a preset signal to noise ratio threshold; when the signal strength value is smaller than a preset signal strength threshold value or the signal to noise ratio value is smaller than a preset signal to noise ratio threshold value, dynamically adjusting the spreading factor, bandwidth and coding rate of the LoRa wireless communication module; and the dynamic adjusted LoRa wireless communication module is used for the energy storage fire control detector to report the monitoring information of the battery cabinet to the fire control host. Meanwhile, when the signal strength value is smaller than a preset signal strength threshold value or the signal to noise ratio value is smaller than a preset signal to noise ratio threshold value: increasing the spreading factor of the LoRa wireless communication module, reducing the bandwidth of the LoRa wireless communication module, and reducing the coding rate of the LoRa wireless communication module; selecting a communication channel of the LoRa wireless communication module according to historical communication data, a real-time channel quality evaluation result or a predefined channel switching strategy; when the signal intensity value is smaller than a preset signal intensity threshold value or the signal to noise ratio value is smaller than a preset signal to noise ratio threshold value, retransmitting data of battery cabinet monitoring information reported by the energy storage fire fighting detector to the fire fighting host according to a preset retransmission frequency upper limit and retransmission interval; according to the communication distance and the communication quality evaluation result between the energy storage fire-fighting detector and the fire-fighting host, adjusting the transmitting power of the LoRa wireless communication module according to a preset power adjustment threshold and step length; judging whether a CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is recovered to be normal, if so, triggering a communication switching logic, starting a CAN bus interface module and stopping the operation of the LoRa wireless communication module. According to the invention, by introducing the LoRa wireless technology, automatic switching between wired and wireless communication is realized, so that fire information can be timely and accurately transmitted to a fire-fighting host under any condition, the possibility of misoperation is reduced, and the communication stability and safety of the energy storage fire-fighting system are improved.
It should be noted that the method of the embodiments of the present disclosure may be performed by a single device, such as a computer or a server. The method of the embodiment can also be applied to a distributed scene, and is completed by mutually matching a plurality of devices. In the case of such a distributed scenario, one of the devices may perform only one or more steps of the methods of embodiments of the present disclosure, the devices interacting with each other to accomplish the methods.
It should be noted that the foregoing describes some embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments described above and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Example 2
Referring to fig. 2, embodiment 2 of the present invention further provides a dual-mode communication system of an energy storage fire detector, including:
the CAN bus communication judging unit 001 is used for judging whether a CAN bus communication line between the energy storage fire fighting detector and the fire fighting host is normal or not;
The CAN bus uploading unit 002 is configured to provide the energy storage fire detector with monitoring information of the battery cabinet to the fire control host through the CAN bus interface module if the CAN bus communication line between the energy storage fire detector and the fire control host is normal;
The LoRa wireless starting unit 003 is configured to trigger a communication switching logic if a CAN bus communication line between the energy storage fire fighting detector and the fire fighting host is interrupted or abnormal, and start the LoRa wireless communication module to report battery cabinet monitoring information to the fire fighting host by the energy storage fire fighting detector;
The wireless communication monitoring unit 004 is used for monitoring the signal intensity or the signal-to-noise ratio received by the LoRa wireless communication module in real time after the LoRa wireless communication module is started to obtain the signal intensity value or the signal-to-noise ratio value of the LoRa wireless communication module;
A wireless communication quality evaluation unit 005, configured to evaluate, according to the signal strength value or the signal-to-noise ratio value, the communication quality of the LoRa wireless communication module, and determine whether the signal strength value is less than a preset signal strength threshold, or whether the signal-to-noise ratio value is less than a preset signal-to-noise ratio threshold;
the wireless communication parameter adjustment unit 006 is configured to dynamically adjust a spreading factor, a bandwidth, and a coding rate of the LoRa wireless communication module when the signal strength value is less than a preset signal strength threshold, or the signal-to-noise ratio value is less than a preset signal-to-noise ratio threshold; and the dynamic adjusted LoRa wireless communication module is used for the energy storage fire control detector to report the monitoring information of the battery cabinet to the fire control host.
In this embodiment, in the wireless communication parameter adjustment unit 006, when the signal strength value is smaller than a preset signal strength threshold, or the signal to noise ratio value is smaller than a preset signal to noise ratio threshold:
and increasing the spreading factor of the LoRa wireless communication module, reducing the bandwidth of the LoRa wireless communication module, and reducing the coding rate of the LoRa wireless communication module.
In this embodiment, the method further includes:
a communication channel selection unit 007 for selecting a communication channel of the LoRa wireless communication module according to historical communication data, real-time channel quality evaluation results or predefined channel switching strategies
And the data retransmission unit 008 is configured to retransmit data of the battery cabinet monitoring information reported by the energy storage fire-fighting detector to the fire-fighting host according to a preset retransmission frequency upper limit and a retransmission interval when the signal intensity value is smaller than a preset signal intensity threshold or the signal-to-noise ratio value is smaller than a preset signal-to-noise ratio threshold.
In this embodiment, the method further includes:
The transmitting power adjusting unit 009 is configured to adjust the transmitting power of the LoRa wireless communication module according to a preset power adjusting threshold and a preset step size according to the communication distance and the communication quality evaluation result between the energy storage fire fighting detector and the fire fighting host;
And the CAN bus communication recovery unit 010 is used for judging whether the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is recovered to be normal, and if the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is recovered to be normal, triggering the communication switching logic, starting the CAN bus interface module and stopping the operation of the LoRa wireless communication module.
It should be noted that, because the content of information interaction and execution process between the units of the above system is based on the same concept as the method embodiment in the embodiment 1 of the present application, the technical effects brought by the content are the same as the method embodiment of the present application, and the specific content can be referred to the description in the foregoing illustrated method embodiment of the present application, which is not repeated herein.
Example 3
Embodiment 3 of the present invention provides a non-transitory computer readable storage medium having stored therein program code of an energy storage fire detector dual mode communication method, the program code comprising instructions for performing the energy storage fire detector dual mode communication method of embodiment 1 or any possible implementation thereof.
Computer readable storage media can be any available media that can be accessed by a computer or data storage devices, such as servers, data centers, etc., that contain an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (Solid STATE DISK, SSD)), etc.
Example 4
Embodiment 4 of the present invention provides an electronic device, including: a memory and a processor;
The processor and the memory complete communication with each other through a bus; the memory stores program instructions executable by the processor that invoke the program instructions to perform the energy storage fire detector dual mode communication method of embodiment 1 or any possible implementation thereof.
Specifically, the processor may be implemented by hardware or software, and when implemented by hardware, the processor may be a logic circuit, an integrated circuit, or the like; when implemented in software, the processor may be a general-purpose processor, implemented by reading software code stored in a memory, which may be integrated in the processor, or may reside outside the processor, and which may reside separately.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.).
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
While the invention has been described in detail in the foregoing general description and specific examples, it will be apparent to those skilled in the art that modifications and improvements can be made thereto. Accordingly, such modifications or improvements may be made without departing from the spirit of the invention and are intended to be within the scope of the invention as claimed.

Claims (10)

1. A dual mode communication method for an energy storage fire detector, comprising:
Judging whether a CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is normal or not:
a) If the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is normal, the energy storage fire-fighting detector reports battery cabinet monitoring information to the fire-fighting host through a CAN bus interface module;
b) If the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is interrupted or abnormal, triggering a communication switching logic, and starting a LoRa wireless communication module to enable the energy storage fire-fighting detector to report battery cabinet monitoring information to the fire-fighting host;
After the LoRa wireless communication module is started, monitoring the signal intensity or the signal-to-noise ratio received by the LoRa wireless communication module in real time to obtain a signal intensity value or a signal-to-noise ratio value of the LoRa wireless communication module;
Evaluating the communication quality of the LoRa wireless communication module according to the signal strength value or the signal to noise ratio value, judging whether the signal strength value is smaller than a preset signal strength threshold or judging whether the signal to noise ratio value is smaller than a preset signal to noise ratio threshold;
When the signal strength value is smaller than a preset signal strength threshold value or the signal to noise ratio value is smaller than a preset signal to noise ratio threshold value, dynamically adjusting the spreading factor, bandwidth and coding rate of the LoRa wireless communication module; and the dynamic adjusted LoRa wireless communication module is used for the energy storage fire control detector to report the monitoring information of the battery cabinet to the fire control host.
2. The method of claim 1, wherein when the signal strength value is less than a predetermined signal strength threshold or the signal to noise ratio value is less than a predetermined signal to noise ratio threshold:
and increasing the spreading factor of the LoRa wireless communication module, reducing the bandwidth of the LoRa wireless communication module, and reducing the coding rate of the LoRa wireless communication module.
3. The energy storage fire detector dual mode communication method of claim 1, further comprising selecting a communication channel of the LoRa wireless communication module based on historical communication data, real-time channel quality assessment results, or predefined channel switching policies.
4. The dual-mode communication method of an energy-storage fire-fighting detector according to claim 1, further comprising retransmitting data of battery cabinet monitoring information reported by the energy-storage fire-fighting detector to the fire-fighting host according to a preset retransmission time upper limit and retransmission interval when the signal strength value is smaller than a preset signal strength threshold or the signal to noise ratio value is smaller than a preset signal to noise ratio threshold.
5. The energy storage fire detector dual-mode communication method according to claim 1, further comprising adjusting the transmitting power of the LoRa wireless communication module according to a preset power adjustment threshold and step size according to the communication distance and the communication quality evaluation result between the energy storage fire detector and the fire control host.
6. The energy storage fire detector dual-mode communication method according to claim 1, further comprising judging whether a CAN bus communication line between an energy storage fire detector and a fire control host is normal or not, and if the CAN bus communication line between the energy storage fire detector and the fire control host is normal, triggering a communication switching logic, starting a CAN bus interface module, and stopping the operation of the LoRa wireless communication module.
7. A dual mode communication system for an energy storage fire detector, comprising:
the CAN bus communication judging unit is used for judging whether a CAN bus communication line between the energy storage fire fighting detector and the fire fighting host is normal or not;
The CAN bus uploading unit is used for enabling the energy storage fire-fighting detector to report battery cabinet monitoring information to the fire-fighting host through the CAN bus interface module if a CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is normal;
The LoRa wireless starting unit is used for triggering communication switching logic if the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is interrupted or abnormal, and starting the LoRa wireless communication module to enable the energy storage fire-fighting detector to report battery cabinet monitoring information to the fire-fighting host;
the wireless communication monitoring unit is used for monitoring the signal intensity or the signal-to-noise ratio received by the LoRa wireless communication module in real time after the LoRa wireless communication module is started to obtain the signal intensity value or the signal-to-noise ratio value of the LoRa wireless communication module;
The wireless communication quality evaluation unit is used for evaluating the communication quality of the LoRa wireless communication module according to the signal strength value or the signal-to-noise ratio value, judging whether the signal strength value is smaller than a preset signal strength threshold or judging whether the signal-to-noise ratio value is smaller than a preset signal-to-noise ratio threshold;
the wireless communication parameter adjusting unit is used for dynamically adjusting the spread spectrum factor, the bandwidth and the coding rate of the LoRa wireless communication module when the signal strength value is smaller than a preset signal strength threshold or the signal to noise ratio value is smaller than a preset signal to noise ratio threshold; and the dynamic adjusted LoRa wireless communication module is used for the energy storage fire control detector to report the monitoring information of the battery cabinet to the fire control host.
8. The dual-mode communication system of claim 7, wherein the wireless communication parameter adjustment unit is configured to, when the signal strength value is less than a preset signal strength threshold or the signal to noise ratio value is less than a preset signal to noise ratio threshold:
and increasing the spreading factor of the LoRa wireless communication module, reducing the bandwidth of the LoRa wireless communication module, and reducing the coding rate of the LoRa wireless communication module.
9. The energy storage fire detector dual mode communication system of claim 7, further comprising:
a communication channel selection unit for selecting a communication channel of the LoRa wireless communication module according to historical communication data, real-time channel quality evaluation results or predefined channel switching strategies
And the data retransmission unit is used for retransmitting data of the battery cabinet monitoring information reported by the energy storage fire-fighting detector to the fire-fighting host according to the preset retransmission frequency upper limit and retransmission interval when the signal intensity value is smaller than a preset signal intensity threshold or the signal-to-noise ratio value is smaller than a preset signal-to-noise ratio threshold.
10. The energy storage fire detector dual mode communication system of claim 7, further comprising:
the transmitting power adjusting unit is used for adjusting the transmitting power of the LoRa wireless communication module according to a preset power adjusting threshold and a preset step length according to the communication distance and the communication quality evaluation result between the energy storage fire fighting detector and the fire fighting host;
And the CAN bus communication recovery unit is used for judging whether the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is recovered to be normal, and if the CAN bus communication line between the energy storage fire-fighting detector and the fire-fighting host is recovered to be normal, triggering the communication switching logic, starting the CAN bus interface module and stopping the operation of the LoRa wireless communication module.
CN202410526313.4A 2024-04-29 Dual-mode communication method and system for energy storage fire detector Pending CN118338473A (en)

Publications (1)

Publication Number Publication Date
CN118338473A true CN118338473A (en) 2024-07-12

Family

ID=

Similar Documents

Publication Publication Date Title
RU2480960C2 (en) Method for fault detection and recovery in radio communication line
US9654985B2 (en) Radio link synchronization in a wireless communication device
US20120075987A1 (en) Radio apparatus, method for communication disturbance remedial action and program for communication disturbance remedial action
CN110224885B (en) Equipment monitoring alarm method and device, storage medium and electronic equipment
CN104065526B (en) A kind of method and apparatus of server failure alarm
CN112134645B (en) Distributed terminal communication quality monitoring method, storage medium and computing device
EP3366061B1 (en) Apparatus and method for controlling a tcp transmission
JP2005521348A (en) Forward link monitoring for packet data users in wireless communication networks
US11581963B2 (en) Systems and methods for in-line interference detection in point-to-point radio links
US20240106737A1 (en) Application-aware links
CN110719359A (en) Terminal performance test method and system
KR102424694B1 (en) Apparatus and method for monitoring performance of network device in wireless communication system
KR102162003B1 (en) Method and device for controlling wireless network connection
CN113676938A (en) Fault detection method and device, storage medium and electronic equipment
CN118338473A (en) Dual-mode communication method and system for energy storage fire detector
KR20220014796A (en) System and Method for Identifying Compromised Electronic Controller Using Intentionally Induced Error
CN114374994A (en) Method for reporting and receiving beam failure information, terminal and network equipment
US12034494B2 (en) Systems and methods for in-line interference detection in point-to-point radio links
EP3202071B1 (en) Method and network node for handling a feedback procedure
US20240015642A1 (en) Link coordination in multi-link devices
CN113873562B (en) Coding control method, device and system applied to double-card double-pass terminal and base station
CN117395716A (en) Multilink-based data transmission method, device, equipment and storage medium
CN117915412A (en) Control method and device for communication system, communication system and storage medium
CN117880192A (en) Data communication method between hydraulic support controllers
CN117676743A (en) Cell exception handling method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication