Grounding troubleshooting detection system and detection method for fire-fighting two-bus

By designing the grounding inspection and detection system of the second fire bus, using the microcontroller to drive the bus connection unit and feedback signal detection, the equipment aging and safety hazards caused by bus grounding are solved, and the intelligent detection and timely shutdown of the bus system is realized, and the stability and safety of the system are improved.

CN120294619APending Publication Date: 2025-07-11ACREL CO LTD +2
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510309937.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-17
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

During the construction process, the existing fire protection second bus system is prone to grounding problems in which the bus is connected to the ground, resulting in equipment aging, electromagnetic interference and safety hazards, and the existing detection methods cannot turn off the bus output in real time and timely.

Method used

Design a grounding inspection and detection system for the second fire bus, including a detection module, docking interface unit and a microcontroller, drive the bus connection unit through the microcontroller, detect bus abnormalities using feedback signals, and close the bus output in time.

Benefits of technology

It realizes intelligent ground detection of the bus system, timely shuts down the bus output, protects equipment safety, simplifies debugging and maintenance, improves detection efficiency, reduces manual workload, and enhances the stability and reliability of the bus system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120294619A_ABST
    Figure CN120294619A_ABST
Patent Text Reader

Abstract

The invention relates to a fire-fighting two-bus grounding troubleshooting detection system and detection method, the system comprises a detection module, a butt joint interface unit and a single-chip microcomputer, and the butt joint interface unit and the single-chip microcomputer are electrically connected with the detection module; the butt joint interface unit comprises a bus output interface used for being connected with a fire-fighting two-bus and a ground wire interface used for being connected with a strong electricity ground. The detection module comprises a bus communication unit and a feedback signal detection unit; the detection module receives corresponding control signals of the single-chip microcomputer, drives the bus communication unit to work, converts bus abnormal conditions into feedback signals through the feedback signal detection unit and then sends the feedback signals to the single-chip microcomputer, and the single-chip microcomputer judges bus grounding conditions and closes bus output in time. Compared with the prior art, the method has the advantages that intelligent and timely detection of bus loop grounding faults is achieved, and a bus system is more stable and reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fire fighting two-wire technology, and in particular to a grounding troubleshooting detection system and detection method for a fire fighting two-wire. Background Art

[0002] The fire fighting two-wire technology combines the dual functions of power supply and signal transmission, reduces the wiring cost and construction complexity, and has strong anti-interference ability, etc. At present, relying on its technical advantages and policy support, the fire fighting two-wire has become the core infrastructure of the intelligent fire fighting system. However, there are still design defects and construction problems in this control method in practical applications. The rated working voltage of the fire fighting two-wire is usually ≤DC 48V (type A fire emergency lighting and evacuation indication system fire emergency lamps) at the application site, and it often occurs that the bus is connected to the ground due to non-standard on-site construction, resulting in a weak current line grounding problem. For example, the cable is damaged during cable laying; the bus output interface is connected to the ground at one pole due to being pierced by a screw or other situations during on-site construction.

[0003] Weak current grounding may cause the following problems:

[0004] 1. The ground fault current will cause the switching power supply equipment to be subjected to an additional load, accelerate aging and shorten the service life;

[0005] 2. Electromagnetic interference is generated, which has a serious impact on bus communication;

[0006] 3. The grounding potential rises and the grounding current increases, posing a safety hazard to some equipment;

[0007] 4. The grounding potential rises and the grounding current increases, forming an induced current, posing a safety hazard to the human body.

[0008] After retrieval, the Chinese utility model patent application publication number CN206697023U discloses a bus grounding detection circuit for a fire alarm controller. The main controller controls the ground detection in different time periods. When the fire alarm controller performs ground detection, the main controller controls the output CTR to be a low-level control signal. At this time, the first optocoupler E1 conducts, and the triode V1 conducts, and the bus signal is connected to the comparison circuit; at the same time, the main controller controls the output CTRS+ to be a low-level signal. At this time, the second optocoupler E2 conducts, and the PMOS transistor V3 conducts, and the ground wire is connected to the comparison circuit through the diode V2 and the PMOS transistor V3; if the output end OUT of the third optocoupler E3 outputs a low level, it means that the bus has a grounding fault; if the output end OUT of the third optocoupler E3 outputs a high level, it proves that the bus has no grounding fault. This existing patent application has the problems of collecting the bus signal and the ground wire signal separately by time sharing, so it cannot detect in real time and cannot close the bus output in time.

[0009] How to achieve simple and intelligent grounding detection of the fire two-wire bus to provide a more efficient and safe bus control solution has become a technical problem to be solved. Summary of the Invention

[0010] The purpose of the present invention is to overcome the defects of the above-mentioned existing technologies and provide a grounding troubleshooting and detection system and method for the fire two-wire bus.

[0011] The purpose of the present invention can be achieved through the following technical solutions:

[0012] According to one aspect of the present invention, a grounding troubleshooting and detection system for a fire two-wire bus is provided. The system includes a detection module, a docking interface unit, and a single-chip microcomputer, wherein the docking interface unit and the single-chip microcomputer are electrically connected to the detection module respectively;

[0013] The docking interface unit includes a bus output interface for connecting the fire two-wire bus and a ground wire interface for connecting to the strong electricity ground;

[0014] The detection module includes a bus connection unit and a feedback signal detection unit;

[0015] The detection module receives the corresponding control signal from the single-chip microcomputer, drives the bus connection unit to work, and converts the bus abnormal situation into a feedback signal through the feedback signal detection unit and then gives it to the single-chip microcomputer. The single-chip microcomputer judges the bus grounding situation and closes the bus output in time;

[0016] The bus connection unit includes a bus positive connection unit and a bus negative connection unit with the same circuit structure. The bus positive connection unit is driven by the bus positive connection control signal CON_Cath output by the single-chip microcomputer and is connected to the positive pole BUS_Pos of the fire two-wire bus; the bus negative connection unit is driven by the bus negative connection control signal CON_Pos output by the single-chip microcomputer and is connected to the negative pole BUS_Cath of the fire two-wire bus.

[0017] Preferably, when the bus positive connection control signal CON_Cath is set high, the relay K1 connects to the bus positive pole BUS_Pos and forms a loop with the feedback signal detection unit;

[0018] When the bus negative connection control signal CON_Pos is set high, the relay K2 connects to the bus negative pole BUS_Cath and forms a loop with the feedback signal detection unit.

[0019] More preferably, the circuit of the bus positive connection unit is specifically as follows: The single-chip microcomputer controls the output of the high-level bus positive connection control signal CON_Cath. After passing through the voltage-dividing and filtering circuit, it drives the transistor Q1 to drive the relay K1, the LED indicator LED1, and the diode D1 to work. The LED indicator LED1 is respectively connected in parallel with the diode D1 and the relay K1.

[0020] More preferably, the circuit of the bus negative connection unit is specifically as follows: The single-chip microcomputer controls the output of the high-level bus negative connection control signal CON_Pos. After passing through the voltage-dividing and filtering circuit, it drives the transistor Q2 to drive the relay K2, the LED indicator LED2, and the diode D2 to work. The LED indicator LED2 is respectively connected in parallel with the diode D2 and the relay K2.

[0021] Preferably, the single-chip microcomputer includes a first pin CON_Cath, a second pin CON_Pos, and a feedback signal pin FBACK_Sig. Among them, the first pin CON_Cath outputs the bus positive connection control signal to drive the bus positive connection unit to work, the second pin CON_Pos outputs the bus negative connection control signal to drive the bus negative connection unit to work, and the feedback signal pin FBACK_Sig is used to receive the feedback signal of the feedback signal detection unit.

[0022] More preferably, after the bus positive connection control signal CON_Cath is set high, the positive pole of the fire-fighting two-wire bus BUS_Pos and the strong electricity ground form a loop. If the negative pole of the fire-fighting two-wire bus BUS_Cath and the ground are short-circuited, the feedback signal detection unit outputs a feedback signal and pulls down the voltage of the FBACK_Sig pin of the single-chip microcomputer.

[0023] More preferably, after the bus negative connection control signal CON_Pos is set high, the negative pole of the fire-fighting two-wire bus BUS_Cath and the strong electricity ground form a loop. If the positive pole of the fire-fighting two-wire bus BUS_Pos and the ground are short-circuited, at this time, the feedback signal detection unit outputs a feedback signal and pulls down the voltage of the feedback signal pin FBACK_Sig of the single-chip microcomputer.

[0024] More preferably, the feedback signal detection unit includes a voltage-dividing and filtering circuit and a bidirectional opto-isolator OC1.

[0025] More preferably, one end of the bidirectional opto-isolator OC1 is connected to the controlled pin of the relay in the bus connection unit through a voltage-dividing and filtering circuit; the amplification part of the bidirectional opto-isolator OC1 is connected with a pull-up resistor R9 and then connected to the feedback signal pin FBACK_Sig of the single-chip microcomputer.

[0026] According to another aspect of the present invention, a method for detecting the grounding of a two-wire fire protection bus is provided. The method includes:

[0027] The single-chip microcomputer provides a bus positive connection control signal CON_Cath to form a loop between the positive pole BUS_Pos of the two-wire fire protection bus and the strong electricity ground. If the negative pole of the bus is connected to the ground, the feedback signal detection unit in the detection module outputs a feedback signal FBACK_Sig and pulls down the level of the feedback signal pin FBACK_Sig of the single-chip microcomputer. After the single-chip microcomputer detects the feedback signal, it stops the output of the bus loop, stops the output of the bus information drive, and issues a warning message for the grounding fault of the bus negative pole; if the negative pole of the bus is not connected to the ground, no voltage drop is generated and no feedback signal is output, and the single-chip microcomputer stops providing the bus positive connection control signal CON_Cath;

[0028] The single-chip microcomputer provides a bus negative connection control signal CON_Pos to form a loop between the negative pole BUS_Cath of the two-wire fire protection bus and the strong electricity ground. If the positive pole of the bus is connected to the ground, the feedback signal detection unit in the detection module outputs a feedback signal FBACK_Sig and pulls down the level of the feedback signal pin FBACK_Sig of the single-chip microcomputer. After the single-chip microcomputer detects the feedback signal, it stops the output of the bus loop, stops the output of the bus information drive, and issues a warning message for the grounding fault of the bus positive pole; if the positive pole of the bus is not connected to the ground, no voltage drop is generated and no feedback signal is present, and the single-chip microcomputer stops providing the bus negative connection control signal CON_Pos.

[0029] Compared with the prior art, the present invention has the following beneficial effects:

[0030] 1) By designing the driving signal of the single-chip microcomputer to control the operation of the bus connection unit of the detection module, the present invention converts the abnormal situation of the bus into a feedback signal, and then the single-chip microcomputer judges the grounding situation of the bus, realizing the intelligent detection of the grounding fault in the bus loop. It can timely turn off the bus output, effectively protect the host power supply and control lines from failure, ensure the safe operation of the equipment and the safety of personnel, and make the bus system more stable and reliable.

[0031] 2) The detection system of the present invention is connected to the bus through the docking interface unit. After the bus is powered on, when a grounding fault occurs at any pole, the single-chip microcomputer can automatically identify the grounding phenomenon and then remind the professional personnel to carry out maintenance, making the bus grounding detection and the debugging of the bus system more convenient.

[0032] 3) The grounding detection of the present invention can be used for automatic detection and regular detection and maintenance, reducing the manual detection workload and improving the detection efficiency.

[0033] 4) This fault detection can also be used for the analysis of communication problems in the overall bus loop, adding a means of detecting communication faults. Description of the Drawings

[0034] Figure 1 It is a schematic structural diagram of the grounding troubleshooting detection system for the fire-fighting two-wire bus in the present invention;

[0035] Figure 2 It is a schematic circuit diagram of the detection module of the detection system in the present invention;

[0036] Figure 3 It is a schematic connection diagram of the docking interface unit of the detection system in the present invention;

[0037] Figure 4 It is a schematic connection diagram of the single-chip microcomputer of the detection system in the present invention;

[0038] Figure 5 It is a schematic flow diagram of the detection method in the present invention. Specific embodiments

[0039] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0040] Embodiment 1

[0041] This embodiment also relates to a grounding troubleshooting detection system for a fire-fighting two-wire bus, which includes three parts, namely: a detection module 1, a docking interface unit 2, and a single-chip microcomputer 3. Among them, the docking interface unit 2 and the single-chip microcomputer 3 are respectively electrically connected to the detection module 3.

[0042] Docking interface unit 2: Used to connect the bus interface and the ground wire interface. Compared with the traditional bus interface, it adds a ground wire interface connected to the earth. The docking interface unit 2 is connected to the detection part and the strong electricity earth.

[0043] Detection module 3: Used to control and detect the grounding phenomenon of a certain line of the current bus. It is electrically connected to the positive and negative poles of the fire-fighting two-wire bus and the earth in the single-chip microcomputer 3 and the docking interface unit 2, receives the corresponding control signal from the single-chip microcomputer 3, and then converts the abnormal situation of the bus into a feedback signal and then gives it to the single-chip microcomputer 3. The detection module 3 drives the bus positive pole connection unit or the bus negative pole connection unit in the detection module 3 circuit to form a loop between a certain pole of the bus and the earth, converts it into a voltage to drive the bidirectional optocoupler to provide a signal to the single-chip microcomputer 3; after the fault signal is fed back to the single-chip microcomputer 3, the single-chip microcomputer 3 processes the corresponding strategy to judge the problem that occurs in the bus.

[0044] Single-chip microcomputer 3: A core processing component used to detect the control switching of the bus connection unit of Module 3, and perform analysis, communication, and other algorithmic processing on the feedback signals received from Detection Module 3.

[0045] The implementation steps of the present invention are as follows:

[0046] 1) The single-chip microcomputer 3 controls the bus positive connection unit of Detection Module 3 to form a loop between the bus positive electrode and the ground. After the feedback signal of the feedback signal detection unit changes, the signal is fed back to the single-chip microcomputer 3, and then the drive of the bus connection unit is turned off after the end of the feedback signal detection period to disconnect the loop formed between the bus and the ground.

[0047] 2) The single-chip microcomputer 3 controls the bus negative connection unit of Detection Module 3 to form a loop between the bus negative electrode and the ground. After the feedback signal of the feedback signal detection unit changes, the signal is fed back to the single-chip microcomputer 3, and then the drive of the bus connection unit is turned off after the end of the feedback signal detection period to disconnect the loop formed between the bus and the ground.

[0048] 3) After the single-chip microcomputer 3 receives the feedback signal from the detection part, it will stop supplying power and control signals to the bus, and at the same time transmit the status of the bus fault to the host through communication or other means (to remind the user or maintenance personnel).

[0049] Through the above steps, the present invention realizes the detection and regulation of the bus in an abnormal state through Detection Module 3. It can identify the grounding phenomenon occurring at any pole of the field bus. After the single-chip microcomputer 3 receives the feedback signal, it turns off the bus power output and stops controlling the bus signal output, and then reminds the professional personnel to carry out maintenance. Through the control strategy, the troubleshooting of on-site problems of the bus is realized. This solution makes the debugging of the bus system more convenient, and further improves the reliability and safety of the bus system; the non-standard problems occurring during construction can be timely reminded and fed back to facilitate on-site problem troubleshooting.

[0050] Such as Figure 1 , the circuit of Detection Module 3 includes: a bus connection unit (including a bus positive connection unit and a bus negative connection unit) and a feedback signal detection unit.

[0051] Figures 2 to 4 Among them, the meanings represented by each control signal are as follows:

[0052] CON_Cath: Bus positive connection control signal. Assuming that the negative electrode of the fire two-wire bus (BUS_Cath) is short-circuited with the ground, after this signal is set high, it makes the positive electrode of the fire two-wire bus (BUS_Pos) form a loop with the strong electricity ground.

[0053] CON_Pos: The control signal for connecting the negative pole of the bus. Assuming a short circuit occurs between the positive pole of the two - wire fire alarm bus (BUS_Pos) and the ground, after this signal is set high, it forms a loop between the negative pole of the two - wire fire alarm bus (BUS_Cath) and the strong - electricity ground.

[0054] BUS_Pos: The positive pole of the two - wire fire alarm bus (referred to as the positive pole of the bus for short). The signals of this part are driven by other circuits and are omitted.

[0055] BUS_Cath: The negative pole of the two - wire fire alarm bus (referred to as the negative pole of the bus for short). The signals of this part are driven by other circuits and are omitted.

[0056] FBACK_Sig: The feedback signal of detection module 3, sent to microcontroller 3.

[0057] Such as Figures 2 to 4 , the positive - pole connection unit of the bus: The microcontroller 3 controls the first pin CON_Cath to give a high - level signal. Through the voltage - dividing and filtering circuit of resistor R2, R3, and capacitor C1, it drives the transistor Q1 to drive the relay K1, resistor R1, and LED indicator LED1 to work. Resistor R1 and LED indicator LED1 are connected in parallel with the free - wheeling protection diode D1. When the LED indicator LED1 is on, it indicates that the positive - pole connection unit of the bus is working.

[0058] The negative - pole connection unit of the bus: The microcontroller 3 controls the second pin CON_Pos to give a high - level signal. Through the voltage - dividing and filtering circuit of resistor R5, R6, and capacitor C2, it drives the transistor Q2 to drive the relay K2, resistor R4, and LED indicator LED2 to work. Resistor R4 and LED indicator LED2 are connected in parallel with the free - wheeling protection diode D2. When the LED indicator LED2 is on, it indicates that the negative - pole connection unit of the bus is working.

[0059] The feedback - signal detection unit: It is respectively composed of a voltage - dividing and filtering circuit formed by connecting resistors R7, R8, and capacitor C3 to the controlled pins of relays K1 and K2, then driving the bidirectional opto - isolator OC1. The amplified part of the opto - isolator is then connected to the pull - up resistor R9 and connected to the feedback - signal pin FBACK_Sig of microcontroller 3.

[0060] The microcontroller 3 includes the first pin CON_Cath, the second pin CON_Pos, and the feedback - signal pin FBACK_Sig. Among them, the first pin CON_Cath outputs the control signal for connecting the positive pole of the bus to drive the positive - pole connection unit of the bus to work, the second pin CON_Pos outputs the control signal for connecting the negative pole of the bus to drive the negative - pole connection unit of the bus to work, and the feedback - signal pin FBACK_Sig is used to receive the feedback signal of the feedback - signal detection unit.

[0061] Embodiment 2

[0062] This embodiment relates to a method for detecting the grounding of a two-wire fire protection system, as follows Figure 5 During actual use, each time the bus system is powered on, it will actively check for grounding faults in the bus loop, which is a sub-item in the bus self-check

[0063] Figures 2 to 4 Among them, the meanings represented by each control signal are as follows

[0064] CON_Cath: Bus positive connection control signal. Assuming that the negative pole (BUS_Cath) of the two-wire fire protection system is short-circuited to the ground, after this signal is set high, the positive pole (BUS_Pos) of the two-wire fire protection system forms a loop with the strong electricity ground

[0065] CON_Pos: Bus negative connection control signal. Assuming that the positive pole (BUS_Pos) of the two-wire fire protection system is short-circuited to the ground, after this signal is set high, the negative pole (BUS_Cath) of the two-wire fire protection system forms a loop with the strong electricity ground

[0066] BUS_Pos: Positive pole of the two-wire fire protection system. The signals in this part are driven by other circuits and are omitted

[0067] BUS_Cath: Negative pole of the two-wire fire protection system. The signals in this part are driven by other circuits and are omitted

[0068] FBACK_Sig: Feedback signal of detection module 3, sent to single-chip microcomputer 3

[0069] As follows Figure 5 The method for detecting grounding includes the following steps

[0070] Step S1: First, single-chip microcomputer 3 provides a CON_Cath drive signal to form a loop between the bus positive pole and the ground; if the bus negative pole is connected to the ground, a voltage is generated across resistor R8 and the drive side of the optocoupler, driving the optocoupler to pull down the feedback information level, then execute step 2; otherwise, execute step 3

[0071] Step S2: After single-chip microcomputer 3 detects the feedback signal, it stops the output of the bus loop, does not output the bus information drive, and issues a grounding fault warning message; end

[0072] Step S3: If the bus negative pole is not connected to the ground and no voltage drop and no feedback signal are generated, single-chip microcomputer 3 turns off the CON_Cath drive; then single-chip microcomputer 3 provides a CON_Pos drive signal to form a loop between the bus negative pole and the ground. If the bus positive pole is connected to the ground, a voltage is generated across resistor R8 and the drive side of the optocoupler, driving the optocoupler to pull down the feedback information level, then execute step 4; otherwise, execute step 5

[0073] Step S4: After the single-chip microcomputer 3 detects the feedback signal, it stops the output of the bus loop, does not output the bus information drive, and issues a ground fault warning message; end.

[0074] Step S5: If the positive pole of the bus is not connected to the ground, no voltage drop is generated and there is no feedback signal, the single-chip microcomputer 3 turns off the CON_Pos drive, end.

[0075] When there is no fault information, the bus system operates normally. Through regular ground inspections or manual inspection instructions, the above steps are used for inspection and detection during the bus communication frame gap or idle gap; the ground status of the bus is detected in real time in sequence.

[0076] It should be emphasized that: in the bus ground inspection and detection method, there is no requirement for the sequence of detecting the positive and negative poles of the bus grounded.

[0077] Through this detection method, the location of the bus ground fault can be accurately located, providing a basis for maintenance.

[0078] The single-chip microcomputer 3 controls the first pin CON_Cath to give a high-level signal to drive the bus positive pole connection unit to work. The controlled pins of the relay K1, pin 3 (connected to the bus positive pole BUS_Pos) and pin 4 (connected to the detection unit R7 resistor), are conducted. The specific operation of the bus positive pole connection unit is as follows: the single-chip microcomputer 3 controls the first pin CON_Cath to give a high-level signal, which passes through the resistor R2, R3, and capacitor C1 voltage dividing and filtering circuit to drive the transistor Q1 to drive the relay K1, the resistor R1, and the LED indicator LED1 to work, and the freewheeling protection diode D1.

[0079] If the negative pole of the fire fighting two-wire bus (BUS_Cath) is connected to the strong electricity ground wire at this time, a loop will be formed between the resistors R7, R8, and the bidirectional optocoupler OC1, and a voltage drop will be formed on the resistor R8 to drive the bidirectional optocoupler OC1. The operation of the bidirectional optocoupler will pull down the voltages of the resistor R9 and the FBACK_Sig pin of the single-chip microcomputer 3. After the single-chip microcomputer 3 detects the change of the FBACK_Sig pin, it confirms that there is a phenomenon of the negative pole of the bus being grounded, and feeds it back to the user or maintenance personnel through communication and other means for targeted problem troubleshooting, and closes the signal control of the single-chip microcomputer 3 of the bus positive pole connection unit.

[0080] If the above corresponding feedback signal is not detected, then assume that the positive pole of the conditional fire-fighting two-wire bus (BUS_Pos) is connected to the strong electricity ground wire, drive the bus negative pole connection unit to work, and the controlled pins 4 (connected to the bus negative pole BUS_Cath) and 3 (connected to the R7 resistor of the detection unit) of the relay K2 are turned on. The specific operation of the bus negative pole connection unit is as follows: The single-chip microcomputer 3 controls the second pin CON_Pos to give a high-level signal, which passes through the voltage-dividing and filtering circuit of resistors R5, R6, and capacitor C2 to drive the transistor Q2 to drive the relay K2, resistor R4, and LED indicator LED2 to work, and the freewheeling protection diode D2. If the positive pole of the fire-fighting two-wire bus (BUS_Pos) is connected to the ground at this time, a loop will be formed between the resistors R7, R8, and the bidirectional optocoupler OC1, and a voltage drop will be formed on the resistor R8 to drive the bidirectional optocoupler OC1. The operation of the bidirectional optocoupler will pull down the voltages of the resistor R9 and the feedback signal pin FBACK_Sig of the single-chip microcomputer 3. After detecting the change of the FBACK_Sig pin by the single-chip microcomputer 3, it is confirmed that there is a phenomenon of the bus positive pole grounding, and it is feedback to the user or maintenance personnel through communication and other means for targeted problem troubleshooting. Then, the signal control of the single-chip microcomputer 3 of the bus negative pole connection unit is turned off.

[0081] In summary, compared with the traditional technology, the technical solution of the present invention can effectively detect the bus electromagnetic interference and the safety hazards of humans and machines caused by grounding faults through this solution. It simplifies the manual debugging and maintenance costs and makes the bus system more stable and reliable.

[0082] The fire-fighting monitoring system often has inspections such as monthly inspections and annual inspections. During the inspections, communication quality problems of the bus loop often occur. There are many factors affecting the communication quality of the bus loop. Connecting to the ground to generate interference is one of the factors, and it is very cumbersome to troubleshoot. The grounding troubleshooting detection method of this application can detect grounding problems. If the communication quality problem is caused by connecting to the ground, then the problem can be quickly found, thus solving the communication quality problem.

[0083] Embodiment 3

[0084] The electronic device of the present invention includes a central processing unit (CPU), which can execute various appropriate actions and processes according to the computer program instructions stored in the read-only memory (ROM) or the computer program instructions loaded from the storage unit to the random access memory (RAM). In the RAM, various programs and data required for device operation can also be stored. The CPU, ROM, and RAM are connected to each other through a bus. The input / output (I / O) interface is also connected to the bus.

[0085] Multiple components in the device are connected to the I / O interface, including: an input unit, such as a keyboard, a mouse, etc.; an output unit, such as various types of displays, speakers, etc.; a storage unit, such as a disk, an optical disc, etc.; and a communication unit, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit allows the device to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0086] The processing unit executes the various methods and processes described above. For example, in some embodiments, the method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit. In some embodiments, part or all of the computer program may be loaded and / or installed onto the device via the ROM and / or the communication unit. When the computer program is loaded into the RAM and executed by the CPU, one or more steps of the method described above may be executed. Alternatively, in other embodiments, the CPU may be configured to execute the method by any other suitable means (e.g., by means of firmware).

[0087] The functions described above herein may be performed, at least in part, by one or more hardware logic components. By way of example and not limitation, the types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0088] The program code for implementing the method of the present invention may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, a special purpose computer, or other programmable data processing system, such that the program codes, when executed by the processor or controller, cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on the machine, partially on the machine, as a stand-alone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0089] In the context of the present invention, a machine-readable medium can 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. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium can 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 the machine-readable storage medium would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0090] As described above, the above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims

1. A grounding troubleshooting and detection system for a fire two-wire bus, characterized in that The system includes a detection module (1), a docking interface unit (2), and a single-chip microcomputer (3), where the docking interface unit (2) and the single-chip microcomputer (3) are electrically connected to the detection module (1) respectively; The docking interface unit (2) includes a bus output interface for connecting to the fire-fighting two-wire bus and a ground wire interface for connecting to the strong electrical ground; The detection module (1) includes a bus connection unit and a feedback signal detection unit; The detection module (1) receives the corresponding control signal from the single-chip microcomputer (3), drives the bus connection unit to work, and converts the abnormal bus situation into a feedback signal through the feedback signal detection unit and then gives it to the single-chip microcomputer (3). The single-chip microcomputer (3) judges the bus grounding situation and closes the bus output in time; The bus connection unit includes a bus positive connection unit and a bus negative connection unit with the same circuit structure. The bus positive connection unit is driven by the bus positive connection control signal CON_Cath output by the single-chip microcomputer (3) and is connected to the positive pole BUS_Pos of the fire-fighting two-wire bus; the bus negative connection unit is driven by the bus negative connection control signal CON_Pos output by the single-chip microcomputer (3) and is connected to the negative pole BUS_Cath of the fire-fighting two-wire bus.

2. The grounding troubleshooting and detection system for a fire-fighting two-wire bus according to claim 1, characterized in that, When the bus positive connection control signal CON_Cath is set high, the relay K1 connects to the bus positive pole BUS_Pos and forms a loop with the feedback signal detection unit; When the bus negative connection control signal CON_Pos is set high, the relay K2 connects to the bus negative pole BUS_Cath and forms a loop with the feedback signal detection unit.

3. The grounding troubleshooting detection system for a fire two-wire bus according to claim 2, wherein The circuit of the bus positive connection unit is specifically: the single-chip microcomputer (3) controls the output of the high-level bus positive connection control signal CON_Cath. After passing through a voltage division and filtering circuit, it drives the transistor Q1 to drive the relay K1, the LED indicator LED1, and the diode D1 to work, where the LED indicator LED1 is connected in parallel with the diode D1 and the relay K1 respectively.

4. A grounding troubleshooting and detection system for a fire two-wire bus, characterized in that, The circuit of the bus negative connection unit is specifically: the single-chip microcomputer (3) controls the output of the high-level bus negative connection control signal CON_Pos. After passing through a voltage division and filtering circuit, it drives the transistor Q2 to drive the relay K2, the LED indicator LED2, and the diode D2 to work, where the LED indicator LED2 is connected in parallel with the diode D2 and the relay K2 respectively.

5. A grounding troubleshooting detection system for a fire two-wire bus, characterized in that, The single-chip microcomputer (3) includes a first pin CON_Cath, a second pin CON_Pos, and a feedback signal pin FBACK_Sig; the first pin CON_Cath outputs a bus positive connection control signal to drive the bus positive connection unit to work, the second pin CON_Pos outputs a bus negative connection control signal to drive the bus negative connection unit to work, and the feedback signal pin FBACK_Sig is used to receive the feedback signal from the feedback signal detection unit.

6. The grounding troubleshooting detection system for a fire fighting two-wire bus according to claim 5, characterized in that, After the control signal CON_Cath for connecting the positive bus is set high, a loop is formed between the positive pole BUS_Pos of the fire-fighting two-wire bus and the strong electricity ground. If the negative pole BUS_Cath of the fire-fighting two-wire bus is short-circuited to the ground, the feedback signal detection unit outputs a feedback signal and pulls down the voltage of the FBACK_Sig pin of the single-chip microcomputer (3).

7. A grounding troubleshooting and detection system for a fire two-wire bus, characterized in that, After the control signal CON_Pos for connecting the negative bus is set high, a loop is formed between the negative pole BUS_Cath of the fire-fighting two-wire bus and the strong electricity ground. If the positive pole BUS_Pos of the fire-fighting two-wire bus is short-circuited to the ground, at this time, the feedback signal detection unit outputs a feedback signal and pulls down the voltage of the feedback signal pin FBACK_Sig of the single-chip microcomputer (3).

8. A grounding troubleshooting detection system for a fire two-wire bus, characterized in that, The described feedback signal detection unit includes a voltage division and filtering circuit and a bidirectional opto-isolator OC1.

9. The grounding troubleshooting detection system for a fire two-wire bus according to claim 8, wherein, One end of the bidirectional opto-isolator OC1 is connected to the controlled pin of the relay in the bus connection unit through a voltage division and filtering circuit; the amplification part of the bidirectional opto-isolator OC1 is connected with a pull-up resistor R9 and then connected to the feedback signal pin FBACK_Sig of the single-chip microcomputer (3).

10. A detection method for a grounding troubleshooting detection system of a fire two-bus according to any one of claims 1 to 9, characterized in that, The described method includes: The single-chip microcomputer (3) provides a control signal CON_Cath for connecting the positive bus, forming a loop between the positive pole BUS_Pos of the fire-fighting two-wire bus and the strong electricity ground. If the negative bus is connected to the ground, the feedback signal detection unit in the detection module (1) outputs a feedback signal FBACK_Sig and pulls down the level of the feedback signal pin FBACK_Sig of the single-chip microcomputer (3). After the single-chip microcomputer (3) detects the feedback signal, it stops the output of the bus loop, stops the output of the bus information drive, and issues an alarm message for the negative bus grounding fault; if the negative bus is not connected to the ground, no voltage drop is generated and no feedback signal is output, and the single-chip microcomputer (3) stops providing the control signal CON_Cath for connecting the positive bus; The single-chip microcomputer (3) provides a control signal CON_Pos for connecting the negative bus, forming a loop between the negative pole BUS_Cath of the fire-fighting two-wire bus and the strong electricity ground. If the positive bus is connected to the ground, the feedback signal detection unit in the detection module (1) outputs a feedback signal FBACK_Sig and pulls down the level of the feedback signal pin FBACK_Sig of the single-chip microcomputer (3). After the single-chip microcomputer (3) detects the feedback signal, it stops the output of the bus loop, stops the output of the bus information drive, and issues an alarm message for the positive bus grounding fault; if the positive bus is not connected to the ground, no voltage drop is generated and no feedback signal is present, and the single-chip microcomputer (3) stops providing the control signal CON_Pos for connecting the negative bus.

Citation Information

Patent Citations

  • Be used for fire alarm control unit bus grounding detection circuit

    CN206697023U