Smoke Warning Method, Device and Storage Medium for a Firewood-Storage Power Grid

By sending sensor query instructions and baud rate reading instructions in the diesel power generation system, the early warning delay problem caused by the change of the smoke sensor address after the system is updated is solved, and fast and automatic smoke early warning control is achieved, which improves the safety of the diesel power grid.

CN119723854BActive Publication Date: 2025-07-25SHENZHEN XIXI NEW ENERGY TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510215626.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-26
Publication Date
2025-07-25
Estimated Expiration
2045-02-26

AI Technical Summary

Technical Problem

After the diesel power generation system is updated, the addresses of various physical devices have changed, resulting in the control system being unable to control the smoke sensor in time to warn the diesel power generation system, which has security loopholes.

Method used

The microcomputer control system sends sensor query commands to the diesel power generation system bus, querys the address and model of the smoke sensor, generates baud rate reading commands, calculates alarm parameters using the current or voltage value of the smoke sensor, generates early warning signals, and establishes a link between the microcomputer control system and the smoke sensor through the bus to achieve rapid control.

Benefits of technology

No manual settings are required for technicians, which reduces the gap time of smoke sensor control, ensures timely warning of the diesel power generation system, and improves the safety and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119723854B_ABST
    Figure CN119723854B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of early warning control, and discloses a smoke early warning method, device and storage medium for a diesel storage power grid. The method includes: a microcomputer control system sending a sensor query instruction to the bus of a diesel power generation system; the diesel power generation system querying the address and model of a smoke sensor corresponding to the sensor query instruction and generating query response data; the microcomputer control system generating a baud rate reading instruction based on the query response data; the diesel power generation system querying the baud rate of the smoke sensor according to the baud rate reading instruction; the microcomputer control system generating an early warning setting based on the query response data and a preset smoke alarm value; the smoke sensor receiving the early warning setting, calculating a smoke alarm parameter value based on a current value or a voltage value, and generating an early warning signal based on a comparison result between the smoke alarm parameter value and an external smoke value. In the embodiment of the present invention, the technical problem that the control system cannot timely control the smoke sensor to give an early warning to the diesel power generation system is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of early warning control, and particularly to a smoke early warning method, device and storage medium for a diesel-storage power grid. Background Art

[0002] A diesel-storage power grid is a hybrid power supply system that combines diesel power generation and energy storage technologies. By integrating diesel generators and energy storage devices, the diesel-storage power grid realizes the complementarity of multiple energy sources. As the main backup power source, the diesel generator can start quickly during peak power demand or grid failures to ensure the continuity of power supply. At the same time, the energy storage system can store excess electrical energy during low-demand periods and release it during peak-demand periods to optimize the allocation of electrical energy.

[0003] Since the system of the diesel-storage power grid not only has a diesel power generation system but also an energy storage system with multiple sensors, after the system is updated and adjusted, technicians need to manually debug and re-enter the smoke sensors into the system for update. Since the data transmission between the control system and the diesel power generation system is carried out through an R485 bus, after the update of the diesel power generation system, the addresses of each physical device change, resulting in the control system being unable to timely control the smoke sensors to give an early warning to the diesel power generation system, and there are security vulnerabilities at the system setting level. Therefore, a technology is needed to solve the current technical problems. Summary of the Invention

[0004] The main purpose of the present invention is to solve the technical problem that after the update of the diesel power generation system, the addresses of each physical device change, resulting in the control system being unable to timely control the smoke sensors to give an early warning to the diesel power generation system.

[0005] The first aspect of the present invention provides a smoke early warning method for a diesel-storage power grid. The smoke early warning method for the diesel-storage power grid is applied to a smoke early warning system for the diesel-storage power grid. The smoke early warning system for the diesel-storage power grid includes: a microcomputer control system and a diesel power generation system. The smoke early warning method for the diesel-storage power grid includes:

[0006] The microcomputer control system sends a sensor query instruction to the bus of the diesel power generation system, where the diesel power generation system includes: a plurality of sensors;

[0007] The diesel power generation system receives the sensor query instruction, queries the address and model of the smoke sensor corresponding to the sensor query instruction, generates query response data, and sends the query response data to the microcomputer control system;

[0008] The microcomputer control system receives the query response data, generates a baud rate reading instruction based on the query response data, and sends the baud rate reading instruction to the diesel power generation system;

[0009] The diesel power generation system receives the baud rate reading instruction, queries the baud rate of the smoke sensor according to the baud rate reading instruction, and sends the baud rate to the microcomputer control system;

[0010] The microcomputer control system receives the baud rate, generates a warning setting based on the query response data and a preset smoke alarm value, and sends the warning setting to the smoke sensor in the diesel power generation system based on the baud rate;

[0011] The smoke sensor receives the warning setting, calculates a smoke alarm parameter value based on a current value or a voltage value, and generates a warning signal based on a comparison result between the smoke alarm parameter value and an external smoke value.

[0012] Optionally, in the first implementation manner of the first aspect of the present invention, after generating the warning signal based on the comparison result between the smoke alarm parameter value and the external smoke value, it further includes:

[0013] The microcomputer control system receives a warning shutdown command and sends the warning shutdown command to the smoke sensor, where the warning shutdown command includes: a warning prohibition duration;

[0014] The smoke sensor receives the warning shutdown command, terminates the generation of the warning signal based on the warning shutdown command, and suspends generating the warning signal within the warning prohibition duration.

[0015] Optionally, in the second implementation manner of the first aspect of the present invention, the sensor query instruction includes: a bus address, a function code, a start address, and a data length; the diesel power generation system receives the sensor query instruction, queries the address and model of the smoke sensor corresponding to the sensor query instruction, and generates query response data including:

[0016] The diesel power generation system receives the sensor query instruction, reads the parameter of the data length from the start address based on the function code, and obtains the address, model, and status quantity of the smoke sensor;

[0017] Write the address of the smoke sensor into the device address, write a preset response value into the function code, write the signal of the smoke sensor into the model code, write the status quantity into the model code, and combine the device address, the function code, and the model code to generate query response data.

[0018] Optionally, in the third implementation manner of the first aspect of the present invention, the generating the baud rate reading instruction based on the query response data includes:

[0019] Write the device address in the query response data to the baud rate reading address, write the preset baud rate reading value to the baud rate function code, write the preset baud rate reading length to the baud rate data length, and combine the baud rate reading address, the baud rate function code, and the baud rate data length to generate a baud rate reading instruction.

[0020] Optionally, in the fourth implementation manner of the first aspect of the present invention, calculating the smoke alarm parameter value based on the current value or voltage value includes:

[0021] When the model of the smoke sensor is a current-type sensor, calculate the current value according to a preset first formula to obtain the smoke alarm parameter value;

[0022] When the model of the smoke sensor is a current-type sensor, calculate the voltage value according to a preset second formula to obtain the smoke alarm parameter value.

[0023] Optionally, in the fifth implementation manner of the first aspect of the present invention, the first formula includes:

[0024] X = (b1 - b2) * (A - a2) / (a1 - a2), where b1 is the upper limit value of the smoke range of the smoke sensor, b2 is the lower limit value of the smoke range of the smoke sensor, a1 is the upper limit value of the current range of the smoke sensor, a2 is the lower limit value of the current range of the smoke sensor, and A is the current measured current value.

[0025] Optionally, in the sixth implementation manner of the first aspect of the present invention, the second formula includes:

[0026] X = (b1 * V) / c1, where b1 is the upper limit value of the smoke range of the smoke sensor, c1 is the upper limit value of the smoke range of the smoke sensor, and V is the current measured voltage value.

[0027] Optionally, in the seventh implementation manner of the first aspect of the present invention, the warning signal includes: a buzzer alarm signal.

[0028] The second aspect of the present invention provides a smoke warning device for a diesel-electric storage power grid, including: a memory and at least one processor, instructions are stored in the memory, and the memory and the at least one processor are interconnected by a line; the at least one processor calls the instructions in the memory to enable the smoke warning device of the diesel-electric storage power grid to execute the above-mentioned smoke warning method for the diesel-electric storage power grid.

[0029] The third aspect of the present invention provides a computer-readable storage medium, instructions are stored in the computer-readable storage medium, and when it runs on a computer, it enables the computer to execute the above-mentioned smoke warning method for the diesel-electric storage power grid.

[0030] In an embodiment of the present invention, a smoke sensor under a determined instruction is transmitted through a bus between a microcomputer control system and a diesel power generation system, and the baud rate value of the smoke sensor is queried based on the smoke sensor address. A link between the microcomputer control system and the smoke sensor is established using the baud rate value, enabling the microcomputer control system to control the smoke sensor in a timely and rapid manner without the need for technicians to manually set it again, reducing the control blank duration of the smoke sensor and solving the technical problem that after the update of the diesel power generation system, the addresses of each entity device change, resulting in the control system being unable to control the smoke sensor in a timely manner to give an early warning to the diesel power generation system. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a schematic diagram of an embodiment of the smoke warning method for a diesel-electric energy storage power grid in an embodiment of the present invention;

[0032] Figure 2 It is a schematic diagram of an embodiment of step 102 of the smoke warning method for a diesel-electric energy storage power grid in an embodiment of the present invention;

[0033] Figure 3 It is a schematic diagram of an embodiment of the smoke warning device for a diesel-electric energy storage power grid in an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0034] The embodiments of the present invention provide a smoke warning method, device and storage medium for a diesel-electric energy storage power grid.

[0035] The embodiments disclosed by the present invention will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not used to limit the protection scope of the present invention.

[0036] In the description of the embodiments disclosed by the present invention, the term "including" and its similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "an embodiment" or "the embodiment" should be understood as "at least one embodiment". Terms such as "first", "second", etc. may refer to different or the same objects. There may also be other explicit and implicit definitions below.

[0037] For ease of understanding, the specific process of the embodiments of the present invention will be described below. Please refer to Figure 1, in an embodiment of the smoke warning method for the diesel - storage power grid in the embodiments of the present invention, the smoke warning method for the diesel - storage power grid is applied to a smoke warning system for the diesel - storage power grid. The smoke warning system for the diesel - storage power grid includes: a microcomputer control system and a diesel power generation system. The smoke warning method for the diesel - storage power grid includes:

[0038] 101. The microcomputer control system sends a sensor query instruction to the bus of the diesel power generation system. Among them, the diesel power generation system includes: a plurality of sensors;

[0039] In this embodiment, the microcomputer control system sends a sensor query instruction to the bus of the diesel power generation system. There are a plurality of sensors such as a motor control sensor, an oil quantity control sensor, and a smoke sensor set in the diesel power generation system. The microcomputer control system assembles a sensor query instruction based on the bus address and sends it to the bus of the diesel power generation system.

[0040] 102. The diesel power generation system receives the sensor query instruction, queries the address and model of the smoke sensor corresponding to the sensor query instruction, generates query response data, and sends the query response data to the microcomputer control system;

[0041] In this embodiment, after receiving the sensor query instruction, the diesel power generation system retrieves the sensor in the local device, based on the retrieval, queries the sensor address and sensor signal, generates query response data, and returns the query response data to the microcomputer control system.

[0042] Specifically, please refer to Figure 2 , Figure 2 This is an embodiment of step 102 of the smoke warning method for the diesel - storage power grid in the embodiments of the present invention. The sensor query instruction includes: bus address, function code, start address, and data length. The following specific implementation manners are included in step 102:

[0043] 1021. The diesel power generation system receives the sensor query instruction, based on the function code, reads the parameter of the data length from the start address, and obtains the address, model, and status quantity of the smoke sensor;

[0044] 1022. Write the address of the smoke sensor into the device address, write the preset response value into the function code, write the signal of the smoke sensor into the model code, write the status quantity into the model code, and combine the device address, the function code, and the model code to generate query response data.

[0045] In steps 1021 - 1022, the sensor query instruction is hexadecimal data, and the data structure is shown in Table 1 for reference.

[0046] Table 1. Data Structure Table of Sensor Query Instruction

[0047]

[0048] FA is the bus address. When the specific address of the smoke sensor is unknown, this address is used to establish contact with the diesel power generation system, and then the query starts from the register address of the starting address 0064.

[0049] After obtaining the address, model, and status quantity of the smoke sensor, write the address of the smoke sensor into the device address, write the preset response value into the function code, write the signal of the smoke sensor into the model code, write the status quantity into the model code, and combine the device address, function code, and model code to generate the query response data. The data structure of the query response data can refer to Table 2.

[0050] Table 2. Data Structure Table of Query Response Data

[0051]

[0052] Summary of response data. The first byte 01 represents the actual address of the sensor. The conversion of 00 03 to 10 and the prohibition of 1 indicate that the current main model is 3. The following two bytes 00 03 indicate that the sensor has 3 status quantities.

[0053] 103. The microcomputer control system receives the query response data, generates a baud rate reading instruction based on the query response data, and sends the baud rate reading instruction to the diesel power generation system;

[0054] In this embodiment, the microcomputer control system receives the query response data, assembles a baud rate reading instruction based on the device address of the query response data. There are various types of baud rates, such as 2400, 4800, 9600, 19200, 38400, 115200 bps, etc. Currently, the microcomputer control system does not know the baud rate of the sensor. Therefore, the microcomputer control system sends the baud rate reading instruction to the diesel power generation system.

[0055] Specifically, in step 103, "generating a baud rate reading instruction based on the query response data" includes:

[0056] 1031. Write the device address in the query response data into the baud rate reading address, write the preset baud rate reading value into the baud rate function code, write the preset baud rate reading length into the baud rate data length, and combine the baud rate reading address, the baud rate function code, and the baud rate data length to generate a baud rate reading instruction.

[0057] In step 1031, the data structure of the baud rate reading instruction can be referred to as shown in Table 3, and the data assembly method is assembled according to the data structure form to realize the generation of the instruction.

[0058] Table 3. Data Structure Table of Sensor Query Instruction

[0059]

[0060] Read the baud rate code of the current sensor in the device address. The baud rate code returns 1 for 2400, 2 for 4800, 3 for 9600, 4 for 19200, 5 for 38400, and 6 for 115200.

[0061] 104. The diesel power generation system receives the baud rate reading instruction, queries the baud rate of the smoke sensor according to the baud rate reading instruction, and sends the baud rate to the microcomputer control system.

[0062] In this embodiment, the diesel power generation system receives the baud rate reading instruction, queries the baud rate of the smoke sensor based on the baud rate reading instruction, and then returns the baud rate code type to the microcomputer control system using a data result similar to the baud rate reading instruction.

[0063] 105. The microcomputer control system receives the baud rate, generates a warning setting based on the query response data and the preset smoke alarm value, and sends the warning setting to the smoke sensor in the diesel power generation system based on the baud rate.

[0064] In this embodiment, the microcomputer control system knows the address and model of the smoke sensor through the query response data, generates a corresponding warning threshold for the sensor model, and assembles a warning setting based on the address of the sensor. Then, based on the obtained baud rate, the warning setting is directly written into the smoke sensor.

[0065] 106. The smoke sensor receives the warning setting, calculates the smoke alarm parameter value based on the current value or voltage value, and generates a warning signal based on the comparison result between the smoke alarm parameter value and the external smoke value.

[0066] In this embodiment, after the smoke sensor receives the warning setting, for example, the smoke volume threshold is 3800. The smoke sensor calculates the data of the smoke volume it obtains, compares the smoke alarm parameter value with the smoke volume threshold of 3800, and generates a warning signal when the smoke alarm parameter value is not less than the smoke volume threshold.

[0067] Specifically, the warning signal includes: a buzzer alarm signal. The warning signal can be a buzzer alarm signal, which is continuously generated until the smoke alarm parameter value is less than the smoke volume threshold.

[0068] Specifically, "calculating the smoke alarm parameter value based on the current value or voltage value" in step 106 includes the following specific embodiments:

[0069] 1061. When the model of the smoke sensor is a current-type sensor, calculate the current value according to a preset first formula to obtain the smoke alarm parameter value;

[0070] 1062. When the model of the smoke sensor is a current-type sensor, calculate the voltage value according to a preset second formula to obtain the smoke alarm parameter value.

[0071] In steps 1061 - 1062, the model of the smoke sensor includes a current-type sensor, which is mainly set to measure the external smoke volume by the magnitude of the current. The current-type sensor calculates the current value according to the preset first formula to obtain the smoke alarm parameter value.

[0072] The model of the smoke sensor includes a voltage-type sensor, which is mainly set to measure the external smoke volume by the magnitude of the voltage. The voltage-type sensor calculates the voltage value according to the preset second formula to obtain the smoke alarm parameter value.

[0073] Specifically, the first formula includes:

[0074] X = (b1 - b2) * (A - a2) / (a1 - a2), where b1 is the upper limit value of the smoke range of the smoke sensor, b2 is the lower limit value of the smoke range of the smoke sensor, a1 is the upper limit value of the current range of the smoke sensor, a2 is the lower limit value of the current range of the smoke sensor, and A is the currently measured current value.

[0075] The smoke range is 0 - 5000 PPM, the current signal range is 4 - 20 mA. When the current is 10 mA, the calculation process is (5000 - 0) * (10 - 4) / (20 - 4) to get 1875 PPM.

[0076] The second formula includes: X = (b1 * V) / c1, where b1 is the upper limit value of the smoke range of the smoke sensor, c1 is the upper limit value of the smoke range of the smoke sensor, and V is the currently measured voltage value.

[0077] The smoke range is 0 - 5000 PPM, the current signal range is 0 - 5 V. When the voltage is 4 V, the calculation process is 5000 * 4 / 5 to get 4000 PPM.

[0078] Specifically, after step 106, the following specific embodiments are further included:

[0079] 1061. The microcomputer control system receives a warning shutdown command and sends the warning shutdown command to the smoke sensor. Among them, the warning shutdown command includes: the warning prohibition duration;

[0080] 1062. The smoke sensor receives the warning shutdown command, terminates the generation of the warning signal based on the warning shutdown command, and pauses generating the warning signal within the warning prohibition duration.

[0081] In steps 1061 - 1062, when the microcomputer control system receives the warning shutdown command and sends the warning shutdown command to the smoke sensor, a warning prohibition duration of 100 seconds can be set in the warning shutdown command. That is, even if the external smoke volume is greater than the set threshold within 100 seconds, no alarm will be given within the set duration. The smoke sensor receives the warning shutdown command, terminates the generation of the warning signal based on the warning shutdown command, and pauses generating the warning signal within the warning prohibition duration.

[0082] In the embodiment of the present invention, by using the bus transmission between the microcomputer control system and the diesel power generation system to determine the smoke sensor under the instruction, and querying the baud rate value of the smoke sensor based on the smoke sensor address, and establishing a link between the microcomputer control system and the smoke sensor using the baud rate value, the microcomputer control system can control the smoke sensor in a timely and fast manner without the need for technicians to manually set it again, reducing the control blank duration of the smoke sensor, and solving the technical problem that after the update of the diesel power generation system, the addresses of each entity device change, resulting in the control system being unable to control the smoke sensor in a timely manner to give a warning to the diesel power generation system.

[0083] Figure 3 It is a schematic structural diagram of a smoke warning device for a diesel - storage power grid provided by an embodiment of the present invention. The smoke warning device 300 for the diesel - storage power grid may vary greatly due to configuration or performance differences, and may include one or more processors (central processing units, CPU) 310 (for example, one or more processors) and a memory 320, and one or more storage media 330 (for example, one or more mass storage devices) storing application programs 333 or data 332. Among them, the memory 320 and the storage media 330 can be transient storage or persistent storage. The program stored in the storage media 330 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the smoke warning device 300 for the diesel - storage power grid. Further, the processor 310 can be set to communicate with the storage media 330 and execute a series of instruction operations in the storage media 330 on the smoke warning device 300 for the diesel - storage power grid.

[0084] The smoke warning device 300 based on the diesel-electric energy storage power grid may further include one or more power supplies 340, one or more wired or wireless network interfaces 350, one or more input / output interfaces 360, and / or one or more operating systems 331, such as Windows Server, Mac OS X, Unix, Linux, Free BSD, etc. Those skilled in the art can understand that Figure 3 The structure of the smoke warning device of the diesel-electric energy storage power grid shown does not constitute a limitation on the smoke warning device based on the diesel-electric energy storage power grid, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0085] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium, and when the instructions are run on a computer, the computer is caused to execute the steps of the smoke warning method for the diesel-electric energy storage power grid.

[0086] In the context of the present disclosure, a machine-readable medium may be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0087] In addition, although the operations are depicted in a particular order, this should be understood to require that the operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed to achieve the desired result. In certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although a number of specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features described in the context of separate embodiments may also be implemented in combination in a single implementation. Conversely, the various features described in the context of a single implementation may also be implemented separately or in any suitable subcombination in multiple implementations.

[0088] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. On the contrary, the specific features and acts described above are merely example forms of implementing the claims.

Claims

1. A smoke warning method for a firewood-stored power grid, characterized in that, The smoke warning method of the diesel - energy - storage power grid is applied to the smoke warning system of the diesel - energy - storage power grid. The smoke warning system of the diesel - energy - storage power grid includes: a microcomputer control system and a diesel power generation system. The smoke warning method of the diesel - energy - storage power grid includes: The microcomputer control system sends a sensor query instruction to the bus of the diesel power generation system. Among them, the diesel power generation system includes: a plurality of sensors; The diesel power generation system receives the sensor query instruction, queries the address and model of the smoke sensor corresponding to the sensor query instruction, generates query response data, and sends the query response data to the microcomputer control system; The microcomputer control system receives the query response data, generates a baud rate reading instruction based on the query response data, and sends the baud rate reading instruction to the diesel power generation system; The diesel power generation system receives the baud rate reading instruction, queries the baud rate of the smoke sensor according to the baud rate reading instruction, and sends the baud rate to the microcomputer control system; The microcomputer control system receives the baud rate, generates a warning setting based on the query response data and a preset smoke alarm value, and sends the warning setting to the smoke sensor in the diesel power generation system based on the baud rate; The smoke sensor receives the warning setting, calculates a smoke alarm parameter value based on a current value or a voltage value, and generates a warning signal based on the comparison result between the smoke alarm parameter value and the external smoke value; Among them, the sensor query instruction includes: bus address, function code, start address, data length; The diesel power generation system receives the sensor query instruction, queries the address and model of the smoke sensor corresponding to the sensor query instruction, and the generated query response data includes: The diesel power generation system receives the sensor query instruction, reads the parameter of the data length from the start address based on the function code, and obtains the address, model, and status quantity of the smoke sensor; Writes the address of the smoke sensor into the device address, writes a preset response value into the function code, writes the signal of the smoke sensor into the model code, writes the status quantity into the model code, and combines the device address, the function code, and the model code to generate query response data; Among them, generating a baud rate reading instruction based on the query response data includes: Writes the device address in the query response data into the baud rate reading address, writes a preset baud rate reading value into the baud rate function code, writes a preset baud rate reading length into the baud rate data length, and combines the baud rate reading address, the baud rate function code, and the baud rate data length to generate a baud rate reading instruction.

2. The smoke warning method for the diesel-electricity storage power grid according to claim 1, wherein After generating a warning signal based on the comparison result between the smoke alarm parameter value and the external smoke value, it further includes: The microcomputer control system receives a warning closing command, and sends the warning closing command to the smoke sensor. Among them, the warning closing command includes: warning prohibition duration; The smoke sensor receives the warning shutdown command, terminates the generation of the warning signal based on the warning shutdown command, and pauses the generation of the warning signal within the warning prohibition duration.

3. The smoke warning method for the diesel-electric energy storage power grid according to claim 1, characterized in that The calculating the smoke alarm parameter value based on the current value or voltage value includes: When the model of the smoke sensor is a current-type sensor, the current value is calculated according to a preset first formula to obtain the smoke alarm parameter value; When the model of the smoke sensor is a voltage-type sensor, the voltage value is calculated according to a preset second formula to obtain the smoke alarm parameter value.

4. The smoke warning method for the firewood-storage power grid according to claim 3, characterized in that The first formula includes: X = (b1 - b2) * (A - a2) / (a1 - a2), where b1 is the upper limit value of the smoke range of the smoke sensor, b2 is the lower limit value of the smoke range of the smoke sensor, a1 is the upper limit value of the current range of the smoke sensor, a2 is the lower limit value of the current range of the smoke sensor, and A is the currently measured current value.

5. The smoke warning method for the diesel-electric energy storage power grid according to claim 3, characterized in that, The second formula includes: X = (b1 * V) / c1, where b1 is the upper limit value of the smoke range of the smoke sensor, c1 is the upper limit value of the smoke range of the smoke sensor, and V is the currently measured voltage value.

6. The smoke warning method for the diesel-electricity storage power grid according to claim 1, wherein, The warning signal includes: a buzzer alarm signal.

7. A smoke warning device for a diesel-electric energy storage power grid, characterized in that, The smoke warning device of the diesel-electric energy storage power grid includes: a memory and at least one processor, instructions are stored in the memory, and the memory and the at least one processor are interconnected by a line; The at least one processor invokes the instructions in the memory so that the smoke warning device of the diesel-electric energy storage power grid executes the smoke warning method of the diesel-electric energy storage power grid as described in any one of claims 1-6.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the smoke warning method of the diesel-electric energy storage power grid as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Printing equipment connection method and device, equipment and storage medium

    CN116301676A