Code sending circuit of fire alarm controller
By designing an automatic negative feedback mechanism of the combination of op amp and transistor in the fire alarm controller, the problem of insufficient power supply of the host is solved, stable communication and power supply under long distances and high loads is achieved, and the reliability of the system is improved. stability.
Patent Information
- Application Number
- CN202420547103.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-20
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2034-03-20
AI Technical Summary
When the communication distance of the existing fire alarm system is extended and the load of terminal equipment increases, insufficient power supply of the host leads to a drop in the output voltage, affecting the communication success rate and system stability.
A fire alarm controller code is designed, using an automatic negative feedback mechanism combining op amp and transistor, to detect the power supply of the terminal equipment through the MCU, automatically adjust the output voltage to ensure that the terminal equipment works normally in extreme situations.
Improves the reliability and stability of the system, ensures the stability of communication and power supply, and maintains normal operation even under long distances and high load conditions.
Smart Images

Figure CN222125636U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to a fire alarm controller, in particular to a code sending circuit of the fire alarm controller. Background Art
[0002] As the core of the fire monitoring system, the fire alarm controller is responsible for communicating with peripheral equipment to complete data interaction functions. At present, the industry basically adopts custom code sending and return code mechanisms to realize communication functions. The mainstream approach is to generate two or three levels and switch them through electronic switches. The biggest disadvantage of this method is that as the communication distance increases, the load will increase, causing the output voltage to drop, thereby reducing the success rate of communication.
[0003] At the same time, the main working principle of the two-bus technology of traditional fire protection products is to send a series of pulse sequences from the host to the terminal equipment. The terminal equipment understands the working intention of the host and operates by analyzing these pulse sequences, and transmits the results of the work to the host by affecting the bus. This solution also has an important goal, that is, the communication bus needs to complete the power supply of the terminal equipment. All information transmission and capacity supply are completed on two cables. Since the number of terminals that need to be connected to the same bus is large, usually more than 200, and the communication distance is long, up to 1000 meters to 2000 meters, or even longer, the power supply capacity of the host is required to be very strong, and the terminal work cannot be affected by line loss.
[0004] In actual applications, the existing fire alarm system usually has a high-level voltage of DC24V in the host bus loop. When the terminal device at the end is connected to a long bus loop line, for example, more than 1000 meters, if there are many devices and the power is large, the line and the host will produce a large voltage drop. In addition, the cable impedance at some construction sites is large, which will produce a greater voltage drop on the line. The bus loop voltage needs to be stepped down once inside the host, and coupled with the attenuation on the cable, the voltage reaching the terminal device from the output end of the controller loop board may be less than 18V. This voltage has already brought the terminal device close to the critical line of abnormal operation. If some unavoidable interference on the bus is added, the stability of the entire system cannot be guaranteed. Utility Model Content
[0005] The technical problem to be solved by the utility model is to provide a fire alarm controller code sending circuit which can prevent the voltage of the communication code sending side from decreasing with the increase of load and ensure stable and reliable communication and power supply in view of the deficiencies of the prior art.
[0006] In order to solve the above technical problems, the utility model adopts the following technical solutions.
[0007] A fire alarm controller code sending circuit, which includes a bus loop, an acquisition circuit, an operational amplifier U11B, an operational amplifier U11A, a transistor V11, a transistor V13 and an inverter U6A, wherein the input end of the acquisition circuit is connected to the high potential end of the bus loop, the output end of the acquisition circuit is connected to an MCU, the code sending pin P11 of the MCU is connected to the input end of the inverter U6A, the output end of the inverter U6A is connected to the base of the transistor V11, the emitter of the transistor V11 is grounded, and the collector of the transistor V11 is connected to the base of the transistor V11 through a resistor R102. The inverting end of the operational amplifier U11B, the non-inverting end of the operational amplifier U11B is connected to the 13V power supply end, the output end of the operational amplifier U11B is connected to the non-inverting end of the operational amplifier U11A, the inverting end of the operational amplifier U11A is connected to the high potential end of the bus loop through a resistor R107, the output end of the operational amplifier U11A is connected to the base of the transistor V13 through a resistor R105 and a resistor R118 connected in parallel, the collector of the transistor V13 is connected to the 24V power supply end, and the emitter of the transistor V13 is connected to the high potential end of the bus loop through a resistor R109.
[0008] Preferably, a capacitor C101 and a resistor R103 connected in parallel are connected between the inverting terminal and the output terminal of the operational amplifier U11B.
[0009] Preferably, a capacitor C102 and a resistor R106 which are connected in series are connected between the inverting terminal and the output terminal of the operational amplifier U11A.
[0010] Preferably, it includes a MOS tube V1 and a transistor Q1, the drain of the MOS tube V1 is connected to the 24V power supply end, the source of the MOS tube V1 is connected to the high potential end of the bus loop, the gate of the MOS tube V1 is connected to the collector of the transistor Q1 through a resistor R02, the emitter of the transistor Q1 is grounded, and the base of the transistor Q1 is connected to the output end of the inverter U6A through a resistor R03.
[0011] Preferably, the bus loop includes a diode D4, an anode of the diode D4 is connected to the resistor R109 and the resistor R107, and a cathode of the diode D4 is connected to the source of the MOS transistor V1.
[0012] Preferably, it includes an inverter U6F and a transistor V12, the input end of the inverter U6F is connected to the control pin P10 of the MCU, the output end of the inverter U6F is connected to the base of the transistor V12 through a resistor R104, the collector of the transistor V12 is connected to the base of the transistor V13, and the emitter of the transistor V12 is grounded.
[0013] The fire alarm controller code sending circuit disclosed by the utility model solves the problem of insufficient power supply of the controller host, especially when the load of the terminal device is large and causes insufficient power supply, the power supply of the host can be actively increased. Based on an automatic negative feedback process, the controller host can detect the power supply situation of the terminal device and automatically adjust the output voltage according to the high and low terminal voltage. Even in extreme cases, the output voltage can allow the terminal device to work normally, greatly improving the reliability and stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 This is the principle diagram of the code sending circuit of the fire alarm controller of this utility model. DETAILED DESCRIPTION
[0015] The present invention will be described in more detail below with reference to the accompanying drawings and embodiments.
[0016] The utility model discloses a fire alarm controller code sending circuit, see Figure 1 , which includes a bus loop 1, a collection circuit 2, an operational amplifier U11B, an operational amplifier U11A, a transistor V11, a transistor V13 and an inverter U6A, wherein the input end of the collection circuit 2 is connected to the high potential end of the bus loop 1, the output end of the collection circuit 2 is connected to the MCU, the code sending pin P11 of the MCU is connected to the input end of the inverter U6A, the output end of the inverter U6A is connected to the base of the transistor V11, the emitter of the transistor V11 is grounded, and the collector of the transistor V11 is connected to the operational amplifier U1 through a resistor R102 1B is connected to the inverting end of the operational amplifier U11B, the non-inverting end of the operational amplifier U11B is connected to the 13V power supply end, the output end of the operational amplifier U11B is connected to the non-inverting end of the operational amplifier U11A, the inverting end of the operational amplifier U11A is connected to the high potential end of the bus loop 1 through a resistor R107, the output end of the operational amplifier U11A is connected to the base of the transistor V13 through a resistor R105 and a resistor R118 connected in parallel, the collector of the transistor V13 is connected to the 24V power supply end, and the emitter of the transistor V13 is connected to the high potential end of the bus loop 1 through a resistor R109.
[0017] In the above circuit, the MCU's coding pin P11 sends out high-low changing pulses, so that the operational amplifier U11B amplifies the 13V voltage. When the coding pin P11 sends a low level, the operational amplifier U11B amplifies the 13V voltage by 2 times to 26V, which is output from the output end of the operational amplifier U11B. When the coding pin P11 sends a high level, the operational amplifier U11B follows and outputs the unamplified voltage of 13V. The pulsating voltage formed in this process is processed by the secondary operational amplifier and then output by the operational amplifier U11A. Furthermore, the voltage output by the operational amplifier U11A drives the power transistor V13 through the base resistor R105 and the resistor R118, and the emitter of the transistor V13 outputs the pulse voltage to the bus. In order to adjust the size of the pulse voltage, the utility model feeds back the signal from the output end to the inverting end of the operational amplifier U11A through the resistor-capacitor feedback method. This adjustment plays a role of negative feedback, and the adjustment process is as follows: when the bus output voltage becomes low, the resistor R107 feeds back this voltage to the inverting end of the operational amplifier U11A. At the same time, the output voltage of the operational amplifier U11A also forms a feedback loop through the resistor R106 and the capacitor C102. After the lower output voltage is fed back to the inverting end of the operational amplifier U11A, the second-stage differential amplifier formed by the operational amplifier U11A will increase the amplification of the output voltage, thereby adjusting the amplitude of the output voltage to keep it stable. Based on the above circuit principle, it can be seen that the utility model solves the problem of insufficient power supply to the controller host, especially when the load of the terminal device is large and causes insufficient power supply, the power supply of the host can be actively increased. Based on an automatic negative feedback process, the controller host can detect the power supply situation of the terminal device and automatically adjust the output voltage according to the terminal voltage. Even in extreme cases, the output voltage can allow the terminal device to work normally, greatly improving the reliability and stability of the system.
[0018] To achieve negative feedback, in this embodiment, a capacitor C101 and a resistor R103 connected in parallel are connected between the inverting terminal and the output terminal of the operational amplifier U11B.
[0019] Correspondingly, a capacitor C102 and a resistor R106 which are connected in series are connected between the inverting terminal and the output terminal of the operational amplifier U11A.
[0020] As a preferred embodiment, this embodiment includes a MOS tube V1 and a transistor Q1, the drain of the MOS tube V1 is connected to the 24V power supply end, the source of the MOS tube V1 is connected to the high potential end of the bus loop 1, the gate of the MOS tube V1 is connected to the collector of the transistor Q1 through a resistor R02, the emitter of the transistor Q1 is grounded, and the base of the transistor Q1 is connected to the output end of the inverter U6A through a resistor R03.
[0021] In this embodiment, the bus current sampling uses resistor R109, which is used to collect the bus current and complete the necessary communication function. This resistor R109 will reduce the output power, especially when the device load is heavy. In order to solve this problem, this embodiment uses another power supply path, using the power MOS tube V1 as a switch, connecting the 24V voltage, and using a transistor Q1 for control. When the bus current needs to be used for communication, the MOS tube V1 is disconnected, and the bus current can be sampled on the resistor R109. When the bus current does not need to be sampled, the MOS tube V1 is connected, and the bus directly draws current from the 24V power supply. This does not affect communication and improves the driving ability of the bus.
[0022] Furthermore, the bus loop 1 includes a diode D4, the anode of the diode D4 is connected to the resistor R109 and the resistor R107, and the cathode of the diode D4 is connected to the source of the MOS tube V1. On this basis, the voltage drop formed by the current flowing through the resistor R109 is amplified by the differential amplifier circuit and then AD collected. In order to obtain a stable and accurate voltage, the resistance value of the resistor R109 is as large as possible, so that the voltage drop formed on it is relatively large, which is conducive to the amplification of the operational amplifier. However, if the resistor R109 is too large, it is bound to reduce the driving power of the bus. In order to solve this problem, a time-sharing control method can be adopted. In most of the time when the sampling current is not required, the resistor R109 is bypassed to provide the maximum transmission current. The resistor R109 is only connected when the current needs to be collected. Because the connection time is very short, the impact on the bus driving ability is almost negligible, but it greatly improves the accuracy of collecting the bus current, and realizes stable and reliable communication and power supply.
[0023] On this basis, this embodiment also includes an inverter U6F and a transistor V12, the input end of the inverter U6F is connected to the control pin P10 of the MCU, the output end of the inverter U6F is connected to the base of the transistor V12 through a resistor R104, the collector of the transistor V12 is connected to the base of the transistor V13, and the emitter of the transistor V12 is grounded. When the control pin P10 outputs a low level, the transistor V12 is turned on through the inverter U6F, and the base voltage of the transistor V13 can be pulled down at this time, and the output voltage of the operational amplifier U11A is not loaded on the bus loop 1.
[0024] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions or improvements made within the technical scope of the present invention should be included in the scope of protection of the present invention.
Claims
1. A fire alarm controller code sending circuit, characterized in that: The invention comprises a bus loop (1), a collection circuit (2), an operational amplifier U11B, an operational amplifier U11A, a transistor V11, a transistor V13 and an inverter U6A, wherein the input end of the collection circuit (2) is connected to the high potential end of the bus loop (1), the output end of the collection circuit (2) is connected to an MCU, a code sending pin P11 of the MCU is connected to the input end of the inverter U6A, the output end of the inverter U6A is connected to the base of the transistor V11, the emitter of the transistor V11 is grounded, and the collector of the transistor V11 is connected to the operational amplifier through a resistor R102. The inverting end of the operational amplifier U11B is connected to the inverting end of the operational amplifier U11B, the non-inverting end of the operational amplifier U11B is connected to the 13V power supply end, the output end of the operational amplifier U11B is connected to the non-inverting end of the operational amplifier U11A, the inverting end of the operational amplifier U11A is connected to the high potential end of the bus loop (1) through a resistor R107, the output end of the operational amplifier U11A is connected to the base of the transistor V13 through a resistor R105 and a resistor R118 connected in parallel, the collector of the transistor V13 is connected to the 24V power supply end, and the emitter of the transistor V13 is connected to the high potential end of the bus loop (1) through a resistor R109.
2. The fire alarm controller code sending circuit according to claim 1, characterized in that: A capacitor C101 and a resistor R103 connected in parallel are connected between the inverting terminal and the output terminal of the operational amplifier U11B.
3. The fire alarm controller code sending circuit according to claim 1, characterized in that: A capacitor C102 and a resistor R106 connected in series are connected between the inverting terminal and the output terminal of the operational amplifier U11A.
4. The fire alarm controller code sending circuit according to claim 1, characterized in that: It comprises a MOS tube V1 and a transistor Q1, wherein the drain of the MOS tube V1 is connected to a 24V power supply terminal, the source of the MOS tube V1 is connected to a high potential terminal of the bus loop (1), the gate of the MOS tube V1 is connected to the collector of the transistor Q1 via a resistor R02, the emitter of the transistor Q1 is grounded, and the base of the transistor Q1 is connected to the output terminal of the inverter U6A via a resistor R03.
5. The fire alarm controller code sending circuit as claimed in claim 4, characterized in that: The bus loop (1) comprises a diode D4, the anode of the diode D4 is connected to the resistor R109 and the resistor R107, and the cathode of the diode D4 is connected to the source of the MOS tube V1.
6. The fire alarm controller code sending circuit according to claim 1, characterized in that: It includes an inverter U6F and a transistor V12, wherein the input end of the inverter U6F is connected to the control pin P10 of the MCU, the output end of the inverter U6F is connected to the base of the transistor V12 through a resistor R104, the collector of the transistor V12 is connected to the base of the transistor V13, and the emitter of the transistor V12 is grounded.
