Alarm based on serial communication protocol and circuit thereof
By designing alarms and circuits based on serial communication protocols in the boiler host computer, and using serial communication protocols and buzzers to implement alarm notifications, the problem of high alarm response complexity in the existing technology is solved, and simplified program design is achieved. and the effect of timely response.
Patent Information
- Application Number
- CN202323357224.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-08
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2033-12-08
AI Technical Summary
The existing boiler host computer software does not support alarms, resulting in staff being unable to respond in time when an alarm occurs in the boiler. Moreover, the existing alarm input triggers are complex and require the use of programmable logic controllers or complex script process control, which increases Programming complexity.
Design an alarm and circuit based on the serial communication protocol. It uses the communication module, control module and alarm module to communicate with the host computer through the serial communication protocol. It supports the Modbus communication protocol, uses the buzzer to output the alarm, and outputs the alarm through the serial communication protocol. Simple script implements alarm notification function and supports USB power supply.
It achieves simplified program design without increasing the burden on equipment, reduces the complexity of alarm notifications, can respond to boiler alarms in a timely manner, and improves the response efficiency of staff.
Smart Images

Figure CN221746710U
Abstract
Description
Technical Field
[0001] The utility model relates to an alarm, in particular to an alarm based on a serial communication protocol and a circuit thereof. Background Art
[0002] A boiler is an energy conversion device that uses the heat energy released by fuel combustion or other heat energy to heat the fluid to certain parameters. It can be roughly divided into power station boilers, industrial boilers, domestic boilers and special boilers according to their uses. Among them, power station boilers are used in thermal power plants and have the most stringent technical requirements. Industrial boilers are commonly seen in industrial production processes and provide steam or hot water. Domestic boilers are boilers that provide low-parameter steam or hot water, and special boilers can be ships, waste liquid, direct current boilers, etc.
[0003] Generally speaking, a boiler is equipped with combustion equipment, a combustion chamber furnace and a heat-releasing flue to carry out the heat conversion process. The interface between heat release and heat absorption is called the heating surface, which enables the boiler to heat water into steam. Since boiler equipment is a high-risk large-scale equipment, it needs to be supplemented by monitoring equipment for use. Most of them monitor abnormal water levels, abnormal pressures or other heating abnormalities.
[0004] In the past, the Kunlun Tongtai 6.0 configuration software used in the boiler host computer did not support alarms. If an alarm sounded in the boiler, the staff could not respond in time. In addition, the existing alarm input trigger had only one way, which required the use of a programmable logic controller (PLC) or complex script process control of the host computer. However, the script program design was quite complicated. Therefore, how to reduce the complexity of program design without increasing the burden on existing equipment has become an urgent problem to be solved in this field. Utility Model Content
[0005] The utility model aims to provide an alarm based on a serial communication protocol, which can realize communication with a host computer by directly plugging into a USB, and realize an alarm notification function in combination with a simple script.
[0006] Another object of the utility model is to provide an alarm circuit based on a serial communication protocol, which can form an alarm device with a serial communication protocol with a simple circuit and can be applied to a boiler host computer to solve the problem of high complexity of conventional program design.
[0007] In order to achieve the above-mentioned purpose, the utility model provides an alarm based on a serial communication protocol, characterized in that it comprises:
[0008] a communication module for transmitting a control signal, wherein the communication module adopts a serial communication protocol;
[0009] a control module, electrically connected to the communication module, driving the control module with a driving voltage, and triggering an alarm signal according to the control signal;
[0010] An alarm module is electrically connected to the control module and outputs an alarm according to the alarm signal.
[0011] Preferably, the communication module adopts Modbus communication protocol.
[0012] Preferably, the driving voltage is 4.75V-5.25V.
[0013] Preferably, the control module is electrically connected to a host computer, and the host computer provides the driving voltage to the control module, so as to transmit the control signal to the control module through the communication module.
[0014] Preferably, the alarm module is provided with a buzzer to output an alarm.
[0015] In order to achieve the above-mentioned another object, the utility model provides an alarm circuit based on a serial communication protocol, characterized in that it comprises:
[0016] a buzzer to output an alarm; and
[0017] A control module is electrically connected to an input device, the input device provides a driving voltage to the control module, the control module is electrically connected to the buzzer, the input device transmits a control signal to the control module to trigger an alarm signal so that the buzzer outputs an alarm, wherein the control module supports a serial communication protocol.
[0018] Preferably, a button assembly is included, which is electrically connected to the buzzer and the control module respectively, and provides a mute signal to the control module to stop the buzzer.
[0019] Preferably, it comprises a transistor and a passive component, the control module is electrically connected to the buzzer via the transistor and the passive component, and the buzzer is driven via the transistor.
[0020] Preferably, the passive components include capacitors and resistors.
[0021] Preferably, the transistor is a Metal Oxide Semiconductor Field Effect Transistor (MOSFET).
[0022] The utility model has the beneficial effect of being able to directly insert a USB to realize an alarm communicating with a host computer, and supports a serial communication protocol, and can be used for a boiler host computer. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 is a schematic diagram of a device according to an embodiment of the present invention; and
[0024] Figure 2 FIG. 4 is a circuit diagram of an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to make the above and / or other purposes, effects, and features of the present invention more obvious and easy to understand, the following is a detailed description of the preferred implementation modes:
[0026] See also Figure 1 , which is a schematic diagram of an embodiment of the present utility model. As shown in the figure, in one embodiment, the alarm based on the serial communication protocol includes a communication module 1, a control module 2 and an alarm module 3, and the connection relationship and actuation mode thereof are described as follows:
[0027] The communication module 1 is used to transmit control signals, wherein the communication module 1 adopts a serial communication protocol. In one embodiment, the communication module 1 adopts a Modbus-RTU protocol, wherein the Modbus protocol is transmitted in a frame manner, and each frame has a certain starting point and an ending point, so that the receiving device starts to read the address at the starting point of the information and determines the addressed device and the end time of the information transmission. In the RTU mode, at least 3.5 characters of static time are required at the beginning of the information. The devices on the network continuously monitor the information on the network, including the static time. Therefore, when receiving the first address data, each device will immediately decode it to determine whether to address it, and after sending the last character number, there is also a static time of 3.5 characters before new information can be sent.
[0028] The control module 2 is electrically connected to the communication module 1, and the control module 2 is driven by a driving voltage, wherein the driving voltage is 4.75V-5.25V, and an alarm signal is triggered according to the given control signal. In one embodiment, the control module 2 is electrically connected to the host computer H, thereby providing a driving voltage to the control module 2. The host computer H can give a control signal according to a preset alarm condition, for example: abnormal water level, abnormal pressure, etc. When the host computer H determines that these conditions have reached the alarm threshold, the control signal is transmitted to the control module 2 through the communication module 1, so that the control module 2 can trigger an alarm signal, but not limited to this.
[0029] The alarm module 3 is electrically connected to the control module 2 and outputs an alarm according to an alarm signal. In one embodiment, the alarm module 3 is provided with a buzzer B to output an alarm.
[0030] See also Figure 2 , which is a circuit diagram of one embodiment of the utility model. As shown in the figure, in one embodiment, the alarm circuit based on the serial communication protocol includes a buzzer B and a control module 4, and the connection relationship and actuation mode thereof are described as follows:
[0031] The control module 4 includes power supply and communication functions. The input device 5 is connected to the control module 4 using USB-A. The input device 5 can be a host computer H or other input device to provide a driving voltage and has a communication function. It can transmit a control signal to the control module 4 to trigger an alarm signal and output an alarm through the buzzer B electrically connected to the control module 4. The communication function supports a serial communication protocol.
[0032] In one embodiment, the control module 4 is a motherboard of the Arduino series. Arduino is an open source platform that includes hardware and software and can create various interactive objects and environments. The hardware part of Arduino is a single-chip computer equipped with a microcontroller, which can receive various sensing signals through a GPIO (General-purpose input / output) interface and process and control according to the signals. In addition, Arduino provides a programming environment in the software part to write programs to control the single chip, so it can be applied to many different fields, such as robotics, the Internet of Things, and automated control.
[0033] Preferably, the control module 4 is an Arduino Nano, wherein the Arduino Nano is a mainboard using an ATmega328 microprocessor, and the power supply can be supplied via USB, or a 6-20V DC power supply is input from the 30th pin (Vin), or a 5V DC power supply is input from the 27th pin (5V).
[0034] In one embodiment, a button assembly 6 may be further included, which is electrically connected to the control module 4 and the buzzer B respectively. When the alarm is not needed, the button assembly 6 can provide a silencing signal to the control module 4 to stop the buzzer B.
[0035] In one embodiment, a transistor 7 and a passive component 8 may be further included. The control module 4 is electrically connected to the buzzer B through the transistor 7 and the passive component 8, and the buzzer B is driven by the transistor 7. The transistor may be a metal oxide semiconductor field effect transistor (MOSFET), and the passive component 8 includes a capacitor and a resistor, but is not limited thereto.
[0036] In one embodiment, the transistor can be configured as a 1A MOSFET and introduced into the control module 4 so that the control module 4 can drive the transistor to control the buzzer B, and the capacitor can be configured as a 10V 220UF capacitor, but this is not limited to this. The specifications and quantity of the capacitor and resistor can be configured according to needs.
[0037] In one embodiment, when different alarm conditions are to be set according to needs, an Arduino Nano control program can be written, and a Modbus device can be added to the host computer, and the USB connection method, station number, etc. can be set. The host computer H can then import the points that need to be alarmed through the script program, but this is not limited to this.
[0038] In summary, the utility model uses an alarm and its circuit based on a serial communication protocol to realize alarm notification communicating with a host computer. It can be powered by USB, supports the MODBUS-RTU protocol, and has the beneficial effect of reducing the complexity of circuit and program design, which meets the purpose of the utility model.
[0039] However, what is described above is only a preferred embodiment of the present utility model, but it cannot be used to limit the patent protection scope of the present utility model; therefore, any simple equivalent changes and modifications made according to the patent protection scope of the present utility model and the contents of the specification still fall within the patent protection scope of the present utility model.
Claims
1. An alarm based on a serial communication protocol, characterized in that: Include: a communication module for transmitting a control signal, wherein the communication module adopts a serial communication protocol; a control module, electrically connected to the communication module, driving the control module with a driving voltage, and triggering an alarm signal according to the control signal; An alarm module is electrically connected to the control module and outputs an alarm according to the alarm signal.
2. The serial communication protocol based alarm according to claim 1, characterized in that: The communication module adopts Modbus communication protocol.
3. The serial communication protocol based alarm according to claim 1, characterized in that: The driving voltage is 4.75V-5.25V.
4. The serial communication protocol based alarm according to claim 1, characterized in that: The control module is electrically connected to a host computer, and the host computer provides the driving voltage to the control module so as to transmit the control signal to the control module through the communication module.
5. The serial communication protocol based alarm according to claim 1, characterized in that: The alarm module is provided with a buzzer to output an alarm.
6. An alarm circuit based on a serial communication protocol, characterized in that: Include: A buzzer to output an alarm; and A control module is electrically connected to an input device, the input device provides a driving voltage to the control module, the control module is electrically connected to the buzzer, the input device transmits a control signal to the control module to trigger an alarm signal so that the buzzer outputs an alarm, wherein the control module supports a serial communication protocol.
7. The alarm circuit based on the serial communication protocol according to claim 6 is characterized in that: The device comprises a button component which is electrically connected to the buzzer and the control module respectively, and provides a mute signal to the control module to stop the buzzer.
8. The alarm circuit based on the serial communication protocol according to claim 6 is characterized in that: It comprises a transistor and a passive component. The control module is electrically connected to the buzzer through the transistor and the passive component, and drives the buzzer through the transistor.
9. The alarm circuit based on the serial communication protocol according to claim 8, characterized in that: The passive components include capacitors and resistors.
10. The alarm circuit based on the serial communication protocol according to claim 8, characterized in that: The transistor is a Metal Oxide Semiconductor Field Effect Transistor (MOSFET).
