Input / output module and self-checking method thereof
By introducing a self-test mode activation unit, a port switching unit, and port indicator lights into the input/output module, operators can perform self-tests directly after installation, solving the problem of low operating efficiency in existing technologies and achieving a highly efficient self-test process.
Patent Information
- Application Number
- CN202410486852.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-22
- Publication Date
- 2025-10-24
AI Technical Summary
In the prior art, after the input and output modules are installed in the fire alarm system, they need to be inspected through the fire control panel, which results in low operational efficiency.
An input/output module is provided, comprising a self-test mode activation unit, a port switching unit, and port indicator lights. Operators can perform self-tests directly after installation, select ports for testing through the self-test mode activation unit and the port switching unit, and display the test results using the port indicator lights.
It enables efficient self-testing of input and output modules without relying on fire control panels, saving time and labor costs and improving testing efficiency.
Smart Images

Figure CN120833664A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of fire detection, in particular to an input-output module and a self-checking method thereof. BACKGROUND
[0002] In a fire alarm system, the input-output module can serve as a signal transmission hub, output signals when there is a control requirement, and control the connected controlled devices. At the same time, it can receive feedback signals from the devices to report to the main control device. For example, the alarm controller can start the external control devices such as smoke exhaust valve, air supply valve, fire shutter door, fan, alarm bell, etc. through the input-output module.
[0003] In order to ensure the stability and reliability of the fire alarm system, when the input-output module is put into use, it is necessary to verify whether the connection of the input-output module is correct. In the prior art, the installer must connect the input-output module to the fire alarm linkage system, and then perform the verification operation through the connected fire control panel, which is low in operation efficiency. SUMMARY
[0004] In view of the above problems, the present application provides an input-output module and a self-checking method thereof. The operator can directly perform self-checking after installation of the input-output module, without relying on the fire control panel, and the operation of installation and testing is convenient and efficient.
[0005] In one aspect, the technical scheme of the present application provides an input-output module including a plurality of ports, a self-checking mode activation part, a port switching part, and a plurality of port indicator lights. The plurality of ports include input ports and output ports; the self-checking mode activation part is used to activate the input-output module to enter the self-checking mode; the port switching part switches and selects the port currently being detected in the self-checking mode; and the plurality of port indicator lights are respectively arranged corresponding to the plurality of ports to display the selected state and the detection result of the corresponding port.
[0006] Optionally, in the technical scheme of the present application, the output port in the input-output module is in communication connection with a first external module.
[0007] Optionally, in the technical scheme of the present application, the input-output module further includes a bus port in communication connection with a second external module.
[0008] Optionally, in the technical scheme of the present application, the input-output module further includes a mode indicator light arranged corresponding to the self-checking mode activation part to display the operation mode of the input-output module.
[0009] Optionally, in the technical scheme of the present application, the self-checking mode activation part and the port switching part are respectively arranged as a first button switch and a second button switch.
[0010] In another aspect, the technical solution of the present application provides a self-checking method of an input and output module, which is applied to the input and output module, and comprises the following steps: a mode selection step, in which the input and output module is controlled to enter a self-checking mode by a self-checking mode activation unit; a port selection step, in which a port to be tested is selected by a port switching unit; and a port testing step, in which a test signal is sent to the port to be tested by the self-checking mode activation unit.
[0011] Optionally, in the mode selection step, the self-checking mode is entered or exited by long pressing a first button switch.
[0012] Optionally, in the port selection step, a second button switch is pressed to select a certain port, and a port indicator corresponding to the port is lighted up.
[0013] Optionally, the self-checking method further comprises: an input port testing step, in which a certain input port is adjusted to an analog activation state, and the input and output module sends the analog activation state when polling the input port; and a test result display step, in which the state of the input port is determined according to a port indicator corresponding to the input port and / or a second external module.
[0014] Optionally, the self-checking method further comprises: an output port testing step, in which an adjustment signal is sent to an output port to switch the output state of the output port; and a test result display step, in which the state of the output port is determined according to a port indicator corresponding to the output port and / or a first external module.
[0015] In the technical solution of the present application, the self-checking mode activation unit, the port switching unit and the plurality of port indicators are all arranged in the input and output module itself, so that the operator can directly operate the self-checking mode activation unit and the port switching unit after completing the connection and installation of the input and output module to detect whether each port can normally operate, and the detection process and result can be directly fed back to the operator through the corresponding port indicators. The input and output module can realize self-checking, and the self-checking operation is convenient and intuitive and low in cost, which can effectively improve the detection efficiency and save time and labor cost. BRIEF DESCRIPTION OF DRAWINGS
[0016] Figure 1 is a schematic diagram of an input and output module provided in an embodiment of the present application.
[0017] Figure 2 is a flowchart of a self-checking method of an input and output module provided in an embodiment of the present application.
[0018] Explanation of reference numerals: 1 - input / output module, 2 - port, 21 - input port, 22 - output port, 3 - self-check mode activation unit, 4 - port switching unit, 5 - port indicator, 6 - mode indicator, 7 - bus port, 8 - dial switch. DETAILED DESCRIPTION
[0019] First of all, it should be noted that the composition, working principle, features and advantages of the communication circuit, communication system and air conditioning system according to the present application will be described below by way of example, but it should be understood that all the descriptions are given by way of example only and therefore should not be understood as forming any limitation on the present application.
[0020] Furthermore, for any single technical characteristic described or implied in the embodiments mentioned herein, or any single technical characteristic shown or implied in the various drawings, the present application still allows any combination or deletion to be made between these technical characteristics (or their equivalents) without any technical obstacles, thus obtaining more other embodiments of the present application which can not be directly mentioned herein.
[0021]
Input / output module
[0022] Figure 1 is a schematic diagram of an input / output module provided in the embodiments of the present application.
[0023] As Figure 1 shown, in the embodiments of the present application, an input / output module 1 is provided, which is usually applied in a fire alarm system as a medium for signal receiving and sending, and the input / output module 1 comprises a plurality of ports 2, a self-check mode activation unit 3, a port switching unit 4 and a plurality of port indicators 5.
[0024] In the embodiments of the present application, the plurality of ports 2 comprises 4 input ports 21 and 4 output ports 22. The input ports 21 are used for receiving signal input, and the input ports 21 comprise open / short, active and standby states when working normally. When detecting a certain input port 21, the input port 21 can be set to an analog active state. When the input / output module 1 polls to the input port 21, the input port 21 sends an analog active state, which indicates that the input function of the input port 21 can operate normally.
[0025] The input ports 21 can be respectively connected with external detection devices such as temperature sensors and smoke detectors, receive detection signals of the detection devices, and collect fire information; or connected with external control devices such as control panels, and receive control signals sent by the control devices.
[0026] In the embodiments of the present application, the output port 22 is used to output signals to the outside, and the output port 22 is usually provided as a normally open / closed contact to send a control signal to an external device in the form of switching a normally open / closed state. Alternatively, it is provided as an active output port with adjustable output parameters, which is not limited herein. When detecting a certain output port 22, the output (normally open / closed) of the relay can be changed, and it is observed whether the external device connected to the output port 22 performs a corresponding action, so as to determine whether the output function of the output port 22 can normally operate.
[0027] Optionally, in the embodiments of the present application, the four output ports 22 in the input / output module 1 are respectively connected in communication with a plurality of first external modules (not shown). The first external modules can be respectively connected with external smoke prevention and exhaust valves, air supply valves, fireproof rolling shutter doors, fans, alarm bells and other fire alarm devices, and send control signals to the fire alarm devices to control the fire alarm devices in the fire alarm system to perform actions such as alarming and fire extinguishing.
[0028] In the embodiments, taking the alarm bell as an example of the first external module, in the working mode, the output port 22 connected therewith is in a normally open state, and the alarm bell does not work. If an abnormal situation such as fire or smoke is monitored, the output signal of the output port 22 is changed to close the conduction, so that the alarm bell sends an alarm signal. In the self-checking mode, the output signal of the relay is changed, so that the output port 22 changes from the normally open state to the closed conduction state, so that the operator can determine whether the output port 22 is abnormal according to whether the alarm bell connected with the output port 22 sends an alarm signal.
[0029] The input / output module 1 usually includes two operating modes of a working mode and a self-checking mode. In the working mode, the input / output module 1 performs signal input / output in the fire alarm system through each input port 21 and output port 22. In the self-checking mode, the input / output module 1 can test the input / output function of each port 2 to ensure that the input / output module 1 can stably work when it enters the working mode.
[0030] In the embodiments of the present application, the self-checking mode activation part 3 is used to activate the input / output module 1 to enter the self-checking mode, and the normal state of the input / output module 1 is the working mode. After the input / output module 1 is installed into the fire alarm system, the operator can make the input / output module 1 enter the self-checking mode through the self-checking mode activation part 3, and perform self-checking on the plurality of ports 2 to determine whether each port 2 is successfully connected and whether the input / output function of each port 2 can be effectively realized. Moreover, after the self-checking action of each port 2 is completed, the input / output module 1 can be made to exit the self-checking mode and enter the working mode to perform signal input / output transmission through the self-checking mode activation part 3.
[0031] Optionally, in the embodiment, the self-check mode activating part 3 is set as a first button switch, and the operator activates the input and output module 1 to enter the self-check mode by long-pressing the first button switch for a specified time. Similarly, the input and output module 1 exits the self-check mode by long-pressing the first button switch again for a specified time. After selecting a certain port 2, the first button switch is clicked to send a self-check instruction to the port 2, and the port 2 is controlled to perform self-check.
[0032] In the embodiment, the input and output module 1 in the self-check mode, the port switching part 4 can switch to select the port 2 currently being detected, and each port 2 is selected one by one through the port switching part 4 to realize self-check of all ports 2 of the input and output module 1.
[0033] Optionally, in the embodiment, the port switching part 4 is set as a second button switch. After the input and output module 1 enters the self-check mode, the second button switch is pressed, and the port switching part 4 automatically selects a certain port 2. If the port 2 is the target detection port, the first button switch is pressed to send a self-check instruction to the port 2, and the port 2 is controlled to perform self-check. If the port 2 is not the target detection port, the second button switch is pressed to make the port switching part 4 select the next port 2. The port switching part 4 can be circularly selected among the eight ports 2, so that any port 2 can be selected for self-check by pressing the second button switch multiple times.
[0034] In the embodiment, the first button switch and the second button switch are both independent key modules on the single-chip microcomputer. When the independent key module is pressed, it is turned on, and when it is released, it is turned off. The long-press operation and the short-press operation can be determined by the conduction time of the independent key module. The independent key module is easy to operate, simple in structure, small in physical space occupied on the circuit board of the input and output module 1, low in computing resources, high in control efficiency, and low in cost.
[0035] It is worth mentioning that, in other embodiments of the present application, the self-check mode activating part 3 and the port switching part 4 can also be realized in the form of a toggle switch, a knob switch, a relay switch, etc., which is not limited herein.
[0036] Optionally, in the embodiment, the input and output module 1 further comprises port indicator lights 5 and mode indicator lights 6. The eight port indicator lights 5 are respectively arranged corresponding to the four input ports 21 and the four output ports 22 to display the selected state and the detection result of the corresponding port 2.
[0037] For example, the port indicator 5 reflects different states of the corresponding port 2 through different lighting states such as flickering, constant lighting, constant darkening, etc., for example, constant darkening is the unselected state, flickering is the selected state, and constant lighting is the testing / working state; or the port indicator 5 reflects different detection results of the corresponding port 2 through different lighting colors, for example, green is the normal testing state, red is the activated state, yellow is the abnormal state, etc., which is not limited herein.
[0038] In the embodiment of the present application, the mode indicator 6 is arranged corresponding to the self-checking mode activation part 3, and displays the operation mode of the input / output module 1. After the self-checking mode activation part 3 activates the input / output module 1 to enter the self-checking mode, the mode indicator 6 starts to light or flicker, and remains lighting or flickering during the whole self-checking process; after the self-checking mode activation part 3 controls the input / output module 1 to exit the self-checking mode, the mode indicator 6 is extinguished. The mode indicator 6 can accurately display the current operation mode of the input / output module 1, which facilitates the operator to accurately control the input / output module 1 in the working mode / self-checking mode.
[0039] In the embodiment, the port indicator 5 and the mode indicator 6 are arranged as LED light-emitting units, which display the mode and state of the input / output module 1 and its port 2 through the lighting state and lighting color change of the LED light-emitting units, which is clear, efficient and low in cost.
[0040] It is worth mentioning that in other embodiments of the present application, the port indicator 5 and the mode indicator 6 can be arranged as other types of display modules such as LED, OLED screen, etc., as long as they can intuitively reflect the mode and state of the input / output module 1 and its port 2, which is not limited herein.
[0041] Optionally, in the embodiment of the present application, the input / output module 1 further comprises a bus port 7, which is in communication connection with a second external module (not shown). The second external module can be a control unit in a fire alarm system such as an external fire control panel, and the input / output module 1 is connected in communication with the external control unit through the bus port 7.
[0042] Optionally, in the embodiment of the present application, the input / output module 1 further comprises a dial switch 8, which is used for setting the communication address and controlling the input / output state of the input / output module 1. In the embodiment, the dial switch 8 is configured as an 8-bit binary dial switch.
[0043]
Self-checking method
[0044] Figure 2 is a flowchart of a self-checking method of an input / output module provided in the embodiment of the present application.
[0045] As Figure 2As shown, in the embodiments of the present application, a self-checking method of an input / output module is provided, which is applied to the input / output module and is used to test each input port and output port in the input / output module. The self-checking method of the input / output module comprises: a mode selection step S1, in which a self-checking mode activation unit is used to control the input / output module to enter a self-checking mode; a port selection step S2, in which a port switching unit is used to select a port to be tested; and a port testing step S3, in which the self-checking mode activation unit is used to send a test signal to the port to be tested.
[0046] In the embodiments of the present application, after the operator completes the connection and installation of the input / output module, the operator can directly perform self-checking on each port by using the self-checking method, so as to confirm whether each port can normally operate. The self-checking method does not need to use an external module such as a fire control panel to detect the ports, and can effectively improve the detection efficiency and save time and labor cost.
[0047] Optionally, in the embodiments of the present application, in the mode selection step S1, the self-checking mode is entered or exited by long pressing the first button switch; and the self-checking signal is sent to the currently selected port to perform self-checking by short pressing the first button switch. The entering or exiting of the self-checking mode and the detection command of a certain port can be realized by using the same button switch.
[0048] Optionally, in the embodiments of the present application, in the port selection step S2, the second button switch is pressed to select a certain port, and the port indicator lamp corresponding to the port is lit.
[0049] In the embodiments, after entering the self-checking mode, the first button switch is pressed once, the first port indicator lamp corresponding to the first port in the input / output module is lit or flashed, to indicate that the first port is in a selected state. If the target detection port for the operator to perform detection is the first port, the first button switch is short pressed to test the selected first port. If the target detection port for the operator to perform detection is not the first port, the second button switch is pressed once to select the second port, and the second port indicator lamp corresponding to the second port is lit or flashed. The second button switch is pressed again to select the third port, and the third port indicator lamp corresponding to the third port is lit or flashed. In this way, the operator can select any one of multiple ports by pressing the second button switch multiple times, and can conveniently and intuitively observe whether the currently selected port is the target detection port by using the port indicator lamp, so as to facilitate the operator to perform testing operation.
[0050] Optionally, in the embodiments of the present application, the self-checking method further comprises: an input port testing step S31, adjusting a certain input port to a simulated active state, and sending the simulated active state when the input / output module polls to the input port; and a test result display step S4, judging the state of the input port according to the port indicator lamp corresponding to the input port and / or the second external module.
[0051] In the embodiments, before performing the port self-checking of the input / output module, the input / output module needs to be installed into the fire alarm system, each port is connected with a corresponding external module or device, and the bus port is connected with the control panel; and the DIP switch is used to set the communication address of the input / output module and control the input / output state of the input / output module.
[0052] Specifically, the step of testing the input port is as follows:
[0053] A mode selection step S1, the first button switch is pressed for more than 3 seconds until the mode indicator lamp flashes red light, and all port indicator lamps stably display the current state of the corresponding port (for example, green for normal test state, red for active state, yellow for abnormal state, etc.), and then the first button switch is released;
[0054] A port selection step S2, then the second button switch is pressed once, the first port indicator lamp corresponding to the first port flashes green, indicating that the first port has been selected and is waiting for testing. If the first port is to be tested, a port testing step S3 is entered, the first button switch is pressed once for testing, and if other ports are to be switched to, the second button switch is continuously pressed until the target testing port is selected.
[0055] The port testing step S3, the first button switch is pressed once to send a self-checking instruction to the selected port;
[0056] The input port testing step S31, the input port is set to an active state and maintained for a certain time length (30s), the port indicator lamp corresponding to the input port jumps to the color (for example, red) corresponding to the active state, and the input / output module polls to the input port to send the simulated active state.
[0057] The test result display step S4, the operator can judge whether the input function of the input port is normal according to whether the port indicator lamp corresponding to the input port turns red and / or whether the second external module (i.e. the control panel) receives the simulated active state. If the port indicator lamp corresponding to the input port turns red and the second external module receives the simulated active state, it is judged that the input function of the input port is normal; otherwise, it is judged that the input function of the input port is abnormal.
[0058] It is worth mentioning that for the input port, the analog active state will be extended for another 30 seconds in the self-check mode, and when the input-output module polls to the input port, it will send the new state according to whether the 30 seconds is timed out.
[0059] When the input-output module is in the self-check mode, the mode indicator light will always be red and on / flashing. Finally, the steps to exit the self-check mode are as follows: when the last port is selected, the corresponding port indicator light flashes yellow, indicating that the last port has been tested, and a short press of the first button switch can exit the self-check mode. During the self-check process, if it is needed to exit the self-check mode, a long press of the first button switch for more than 3 seconds until the mode indicator light is off can exit the self-check mode; or directly stop the test action and wait for 5 minutes, and the input-output module will automatically exit the self-check mode.
[0060] Optionally, in the embodiments of the present application, the self-check method further comprises: an output port test step S32 of sending an adjusting signal to the output port to switch the output state of the output port; and a test result display step S4 of judging the state of the output port according to the port indicator light and / or the first external module corresponding to the output port.
[0061] Specifically, the steps of testing the output port are as follows:
[0062] After the above mode selection step S1 and port selection step S2 are completed, the port test step S3 is performed, that is, the first button switch is pressed once to send a self-check instruction to the selected port;
[0063] The output port test step S32 changes the output state of the output port, that is, if the relay is in a normally closed state, it is disconnected; if the relay is in a normally open state, it is turned off.
[0064] It is worth mentioning that in the self-check mode, after an output port is selected, repeated clicking of the first button switch will repeatedly switch the output signal of the output port.
[0065] The test result shows that step S4, different output states (open / closed) of the output port correspond to different colors (red / green) of the port indicator light, and the operator can determine whether the output function of the output port is normal according to whether the corresponding port indicator light of the output port changes color and / or whether the first external module (such as a siren) receives the output signal and performs a corresponding action. If the corresponding port indicator light changes color and the first external module (such as a siren) receives the output signal and performs a corresponding action (such as sounding an alarm), it is determined that the output function of the output port is normal. Otherwise, it is determined that the output function of the output port is abnormal. Further, if the corresponding port indicator light changes color and the first external module (such as a siren) does not perform a corresponding action, it can be preliminarily determined that the output function of the output port is normal and the connection relationship between the output port and the first external module (such as a siren) is abnormal.
[0066] The above describes the self-checking method of the input and output module provided in the embodiments of the present application applied to the fire alarm system as an example. Those skilled in the art can know that the input and output module in the present application can also be applied to other systems or devices to perform input and output of signals, which is not described here.
[0067] So far, the technical solutions of the present application have been described in combination with the drawings. However, those skilled in the art can easily understand that the protection scope of the present application is obviously not limited to the above specific embodiments. Those skilled in the art can make equivalent changes or replacements to the related technical features without departing from the principles of the present application, and the technical solutions after the changes or replacements will fall within the protection scope of the present application.
Claims
1. An input / output module, characterized by The input / output module comprises: a plurality of ports, including input ports and output ports; a self-check mode activation unit for activating the input / output module to enter a self-check mode; a port switching unit for switching and selecting the port currently being checked in the self-check mode; a plurality of port indicator lights respectively corresponding to the plurality of ports, for displaying the selected state and the detection result of the corresponding port.
2. The input / output module of claim 1, wherein, The output port is in communication connection with a first external module.
3. The input / output module of claim 2, wherein, Further comprising a bus port in communication connection with a second external module.
4. The input / output module of claim 3, wherein, Further comprising a mode indicator light corresponding to the self-check mode activation unit, for displaying the operation mode of the input / output module.
5. The input / output module of claim 4, wherein, The self-check mode activation unit and the port switching unit are respectively a first button switch and a second button switch.
6. A method of self-checking of an input / output module, characterized in that, The self-check method is applied to the input / output module as claimed in claim 5, and comprises: a mode selection step of controlling the input / output module to enter the self-check mode through the self-check mode activation unit; a port selection step of selecting the port to be tested through the port switching unit; a port testing step of sending a test signal to the port to be tested through the self-check mode activation unit.
7. The self-test method of an input / output module according to claim 6, wherein, In the mode selection step, the self-check mode is entered / exited by long pressing the first button switch.
8. The self-test method of an input / output module according to claim 6, wherein, In the port selection step, when a certain port is selected by pressing the second button switch, the port indicator light corresponding to the port is lit.
9. The self-test method of an input / output module according to claim 6, wherein, Further comprising: an input port testing step of adjusting a certain input port to an analog activation state, and sending the analog activation state to the input port when the input / output module polls the input port; a test result display step of judging the state of the input port according to the port indicator light corresponding to the input port and / or the second external module.
10. The self-test method of an input / output module according to claim 6, wherein, Further comprising: an output port testing step of sending an adjustment signal to the output port to switch the output state of the output port; a test result display step of judging the state of the output port according to the port indicator light corresponding to the output port and / or the first external module.