Input detection circuit, input detection method, input detection equipment and fire extinguishing system

By designing the detection unit and isolation unit in the input detection circuit, the circuit structure is simplified and signal interference is isolated, the problems of insufficient complexity and isolation in the prior art are solved, and the detection accuracy and reliability of the fire protection system are improved.

CN118884075APending Publication Date: 2024-11-01HANGZHOU HIKFIRE TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410904603.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The existing input detection circuit has complex structure and poor isolation, resulting in inaccurate detection results and affecting the effectiveness of the fire protection system.

Method used

An input detection circuit including a detection unit and an isolation unit is designed to determine the load state by detecting the correlation between the voltage and the load resistance value, and isolating signal interference by using the isolation unit to simplify the circuit structure and improve isolation.

Benefits of technology

It reduces the complexity of the input detection circuit, improves the accuracy of the detection results, and ensures the reliability and effectiveness of the fire protection system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118884075A_ABST
    Figure CN118884075A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an input detection circuit, an input detection method, input detection equipment and a fire extinguishing system, which are used for solving the problems that the existing input detection circuit is complicated in structure and relatively poor in isolation degree, and an input detection result is easy to be inaccurate. The input detection circuit comprises a detection unit and an isolation unit which are connected in sequence. The isolation unit is used for accessing a load; wherein the detection unit is used for detecting a first voltage at two ends of a load; determining a first load resistance value corresponding to the first voltage according to a first correlation between the detection voltage and the load resistance value; determining a load state corresponding to the first load resistance value according to a preset corresponding relation between the load resistance value and the load state; the load state comprises a normal state, an open-circuit state or a short-circuit state; and the isolation unit is used for isolating signals between the detection unit and the load. According to the technical scheme, the complexity of the input detection circuit is reduced, and the isolation of the input detection circuit is improved, so that the accuracy of an input detection result is effectively ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to an input detection circuit, method, device and fire protection system. Background Art

[0002] Input detection is the detection of short circuit, normal and open circuit of active or passive devices. In large circuits, input detection can effectively determine which part of the circuit or which device has a short circuit or open circuit problem, so that technicians can carry out targeted maintenance. Especially in fire protection systems, the fire sensor equipment must be effectively connected to the circuit (that is, there is no short circuit or open circuit problem) to ensure that the detected signal is sent to the fire linkage control equipment, so that the fire linkage control equipment can perform fire alarm and fire treatment; otherwise, the fire protection system will lose its function, that is, the fire sensor equipment cannot detect the signal or cannot send the detected signal to the fire linkage control equipment, so that the fire linkage control equipment cannot alarm and process the fire incident that has occurred. It can be seen that the use of input detection in the fire protection system plays a vital role in improving the effectiveness of the fire protection system.

[0003] In the related art, when performing input detection on loads such as fire sensor equipment, it is necessary to detect through an input detection module composed of transistors, transformers, optocouplers, fuses, etc. Since transistors and fuses are introduced into the circuit, the circuit structure is relatively complicated. In addition, the fuse is easily damaged, which easily leads to damage to the transformer, which not only reduces the service life of the circuit, but also causes poor isolation of the circuit due to damage to the transformer, which seriously affects the accuracy of the input detection result.

[0004] Therefore, providing a better input detection circuit has become a technical problem to be solved urgently in this field. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide an input detection circuit, method, device and fire protection system to solve the problem that the existing input detection circuit has a complex structure and poor isolation, which easily leads to inaccurate input detection results.

[0006] To solve the above technical problems, the embodiments of the present application are implemented as follows:

[0007] On the one hand, an embodiment of the present application provides an input detection circuit, comprising a detection unit and an isolation unit connected in sequence; the isolation unit is used to connect to a load; wherein,

[0008] The detection unit is used to detect a first voltage across the load; determine a first load resistance corresponding to the first voltage according to a first correlation between the detection voltage and the load resistance; determine a load state corresponding to the first load resistance according to a preset correspondence between the load resistance and the load state; the load state includes a normal state, an open circuit state or a short circuit state;

[0009] The isolation unit is used to isolate the signal between the detection unit and the load.

[0010] On the other hand, an embodiment of the present application provides an input detection method, which is applied to the input detection circuit as described above; the method comprises:

[0011] detecting a first voltage across the load;

[0012] Determining a first load resistance corresponding to the first voltage according to a first correlation between the detection voltage and the load resistance;

[0013] According to a preset correspondence between a load resistance and a load state, a load state corresponding to the first load resistance is determined; wherein the load state includes a normal state, an open circuit state or a short circuit state.

[0014] On the other hand, an embodiment of the present application provides an input detection device, including the input detection circuit as described above.

[0015] On the other hand, an embodiment of the present application provides a fire protection system, including a fire protection linkage control device, an input detection device as described above, and a fire protection sensor device;

[0016] The fire linkage control device is connected to the detection unit in the input detection device; the fire sensor device is connected to the isolation unit in the input detection device;

[0017] The input detection device is used to detect the device status of the fire sensor device; the device status includes a normal state, an open circuit state or a short circuit state; and the device status is sent to the fire linkage control device;

[0018] The fire linkage control device is used to generate fault alarm information when the device state of the fire sensor device is the open circuit state or the short circuit state.

[0019] On the other hand, an embodiment of the present application also provides an input detection device, including a processor; and a memory arranged to store computer executable instructions, wherein the computer executable instructions are configured to be executed by the processor, and the computer executable instructions are executed by the processor to implement the above-mentioned input detection method.

[0020] On the other hand, an embodiment of the present application provides a storage medium for storing computer-executable instructions, wherein the computer-executable instructions implement the above-mentioned input detection method when executed by a processor.

[0021] On the other hand, an embodiment of the present application provides a computer program product, which includes a computer program, and the computer program implements the above-mentioned input detection method when executed by a processor.

[0022] By adopting the input detection circuit of the embodiment of the present application, the input detection of the load can be completed through the detection unit and the isolation unit connected in sequence. Among them, the detection unit is used to detect the first voltage at both ends of the load, so as to determine the first load resistance corresponding to the first voltage according to the first correlation between the detection voltage and the load resistance, and determine the load state (including normal state, open circuit state or short circuit state) corresponding to the first load resistance according to the correspondence between the preset load resistance and the load state. The isolation unit is used to isolate the signal between the detection unit and the load. It can be seen that the technical solution can complete the input detection of the subsequent load through a relatively simple circuit structure, reducing the complexity of the input detection circuit, and by designing the isolation unit in the circuit, the signal interference between the detection unit and the load is effectively isolated, and the isolation of the input detection circuit is improved, thereby effectively ensuring the accuracy of the input detection result. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0024] Figure 1 is a schematic block diagram of an input detection circuit according to an embodiment of the present application;

[0025] Figure 2 is a schematic block diagram of an input detection circuit according to another embodiment of the present application;

[0026] Figure 3 is a schematic block diagram of an input detection circuit according to another embodiment of the present application;

[0027] Figure 4 is a schematic block diagram of an input detection circuit according to another embodiment of the present application;

[0028] Figure 5 is a schematic block diagram of an input detection circuit according to another embodiment of the present application;

[0029] Figure 6 is a schematic block diagram of an input detection circuit according to another embodiment of the present application;

[0030] Figure 7 is a schematic block diagram of an input detection circuit according to another embodiment of the present application;

[0031] Figure 8 is an equivalent circuit diagram of an input detection circuit according to an embodiment of the present application;

[0032] Fig. 9 is a curve diagram showing the relationship between a detection voltage and a load resistance according to an embodiment of the present application;

[0033] Fig.10 is a schematic flow chart of an input detection method according to an embodiment of the present application;

[0034] Fig.11 is a schematic block diagram of a fire protection system according to an embodiment of the present application;

[0035] Fig.12 It is a schematic diagram of the hardware structure of an input detection device according to an embodiment of the present application. DETAILED DESCRIPTION

[0036] The embodiments of the present application provide an input detection circuit, method, device and fire protection system to solve the problem that the existing input detection circuit has a complex structure and poor isolation, which easily leads to inaccurate input detection results.

[0037] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0038] Figure 1 is a schematic block diagram of an input detection circuit according to an embodiment of the present application, such as Figure 1 As shown, the input detection circuit includes a detection unit 10 and an isolation unit 20 connected in sequence, and the isolation unit 20 is used to connect to a load 30. Figure 1 In the input detection circuit shown, the isolation unit 20 and the load 30 are connected by a dotted line, which means that the input detection circuit itself does not include the load 30 , and the input detection circuit is used to detect the load state of the load 30 .

[0039] In this embodiment, the detection unit 10 is used to detect a first voltage across the load 30, thereby determining a first load resistance corresponding to the first voltage based on a first correlation between the detection voltage and the load resistance, and determining a load state corresponding to the first load resistance based on a preset correspondence between the load resistance and the load state. The load state includes a normal state, an open circuit state, or a short circuit state. The isolation unit 20 is used to isolate the signal between the detection unit 10 and the load 30.

[0040] Optionally, the detection unit may be a MCU (Microcontroller Unit). The load may be a fire sensor device, such as a smoke sensor.

[0041] By adopting the input detection circuit of the embodiment of the present application, the input detection of the load can be completed through the detection unit and the isolation unit connected in sequence. Among them, the detection unit is used to detect the first voltage at both ends of the load, so as to determine the first load resistance corresponding to the first voltage according to the first correlation between the detection voltage and the load resistance, and determine the load state (including normal state, open circuit state or short circuit state) corresponding to the first load resistance according to the correspondence between the preset load resistance and the load state. The isolation unit is used to isolate the signal between the detection unit and the load. It can be seen that the technical solution can complete the input detection of the subsequent load through a relatively simple circuit structure, reducing the complexity of the input detection circuit, and by designing the isolation unit in the circuit, the signal interference between the detection unit and the load is effectively isolated, and the isolation of the input detection circuit is improved, thereby effectively ensuring the accuracy of the input detection result.

[0042] In one embodiment, Figure 2 As shown, the isolation unit 20 includes a transformer unit 210 and an output protection unit 220. The detection unit 10, the transformer unit 210 and the output protection unit 220 are connected in sequence, and the transformer unit 210 and the output protection unit 220 are used to connect the load 30. It should be noted that, Figure 2 is Figure 1 Based on the schematic block diagram obtained by refining the isolation unit 20, therefore, Figure 2 Zhongyu Figure 1 For the connection relationship between components with the same label, please refer to Figure 1 , I will not go into details here.

[0043] In this embodiment, the voltage transformation unit 210 is used to isolate the signal between the detection unit 10 and the output protection unit 220. The output protection unit 220 is used to isolate the DC signal input to the voltage transformation unit 210.

[0044] Optionally, the transformation unit can adopt a transformer, and the turns ratio of the primary coil and the secondary coil of the transformer is 1:1, which plays the effect of transmitting the excitation signal output by the detection unit through electromagnetic induction. In addition, the primary coil side and the secondary coil side of the transformer are isolated, so that the detection unit and the load will not interfere with each other electrically, improve the safety of the input detection circuit and reduce the impact of electromagnetic interference on the entire input detection circuit. In an optional embodiment, a small-volume, high-inductance transformer can be used as the transformation unit. In this way, the impact of the transformer excitation current on the input detection circuit can be reduced when the load is large. Among them, the excitation current is the current that generates the voltage of the primary coil of the transformer, and the excitation current can only be passively consumed for demagnetization.

[0045] Optionally, the output protection unit can use a capacitor, and the excitation signal output by the detection unit can be transmitted to the load through the characteristics of the capacitor passing AC and isolating DC. Since the energy is transferred to the load through the capacitor, a voltage drop will be formed across the capacitor to reduce the voltage across the load. In addition, when external DC power is mistakenly connected, based on the characteristics of the capacitor isolating DC, the DC signal input to the transformer unit can be isolated, so the transformer unit will not be damaged (for example, the transformer coil will not be damaged), effectively ensuring the isolation of the input detection circuit.

[0046] In this embodiment, by designing a transformer unit and an output protection unit in the input detection circuit, the output protection unit can effectively prevent the transformer unit from being damaged due to the access of an external DC voltage to the load end, thereby ensuring the isolation of the input detection circuit, thereby improving the reliability of the input detection circuit and facilitating the accuracy of the input detection results.

[0047] In one embodiment, Figure 3 As shown, the input detection circuit may include a detection unit 10, a current limiting and voltage dividing unit 40, a voltage transformation unit 210 and an output protection unit 220, wherein the current limiting and voltage dividing unit 40 is connected between the detection unit 10 and the voltage transformation unit 210. It should be noted that, Figure 3 is Figure 2 Based on the schematic block diagram obtained by refining the input detection circuit, therefore, Figure 3 Zhongyu Figure 2 For the connection relationship between components with the same label, please refer to Figure 2 , I will not go into details here.

[0048] In this embodiment, the detection unit 10 is used to output an excitation signal, and the excitation signal is used to provide an input voltage for the input detection circuit. The current limiting and voltage dividing unit 40 is used to limit the current generated by the detection unit 10 and to divide the input voltage.

[0049] Optionally, the detection unit may include a signal output terminal and a signal input terminal, wherein the signal output terminal is connected to the first terminal of the current limiting voltage divider unit, and the signal input terminal is connected to the second terminal of the current limiting voltage divider unit. The detection unit is used to output the excitation signal through the signal output terminal. Figure 3 The end connected to the detection unit 10 in the circuit shown in the figure, the second end of the current limiting voltage divider unit is Figure 3 The end connected to the transformer unit 210 in the circuit shown.

[0050] Optionally, the excitation signal can be a PWM (Pulse-Width Modulation) signal with a certain duty cycle. The excitation signal can be transmitted to the load through the current limiting voltage divider unit, the voltage transformation unit and the output protection unit. At this time, the current limiting voltage divider unit will form a voltage divider with the load and the output protection unit, and the voltage divider will be collected by the signal input end of the detection unit to determine how much the load is.

[0051] Optionally, the current limiting voltage divider unit can use a current limiting voltage divider resistor to suppress the transient large current at the moment the detection unit outputs the excitation signal, so as to ensure that the output current meets the requirements of the detection unit; after the detection unit outputs the excitation signal and stabilizes, the current limiting voltage divider resistor will form a voltage divider with the output protection unit and the load, so that by detecting the voltage at the second end of the current limiting voltage divider resistor, the load can be determined.

[0052] In one embodiment, Figure 4 As shown, the input detection circuit may include a detection unit 10, a current limiting voltage dividing unit 40, a voltage transformation unit 210, an output protection unit 220 and a sampling unit 50. The sampling unit 50 is connected to the detection unit 10 and the current limiting voltage dividing unit 40, respectively, and is used to detect the first voltage of the second end 40a of the current limiting voltage dividing unit 40, and transmit the first voltage to the detection unit 10. It should be noted that Figure 4 is Figure 3 Based on the schematic block diagram obtained by refining the input detection circuit, therefore, Figure 4 Zhongyu Figure 3 For the connection relationship between components with the same label, please refer to Figure 3 , I will not go into details here.

[0053] In one embodiment, Figure 5As shown, the sampling unit includes a diode 510, a first resistor 520, a second resistor 530 and a first capacitor 540. The anode of the diode 510 is connected to the second end 40a of the current limiting voltage divider unit 40, the cathode of the diode 510 is connected to the first resistor 520, the first resistor 520 is connected to the detection unit 10, the second resistor 530 and the first capacitor 540 respectively, and the detection unit 10 is connected to the second resistor 530 and the first capacitor 540 respectively. The second resistor 530 and the first capacitor 540 are grounded respectively. It should be noted that Figure 5 is Figure 4 Based on the schematic block diagram obtained by refining the sampling unit, therefore, Figure 5 Zhongyu Figure 4 For the connection relationship between components with the same label, please refer to Figure 4 , I will not go into details here.

[0054] Optionally, the second capacitor may be a ceramic capacitor, which can make the voltage detected by the detection unit more stable, so there is no need for frequent sampling to ensure the accuracy of the detected voltage, thus saving detection resources of the detection unit.

[0055] according to Figure 5 In the circuit shown, the voltage V detected by the detection unit ADC1 The relationship between the voltage Utest(Rload) at the second end of the current limiting voltage dividing unit is:

[0056]

[0057] Among them, V D1 is the voltage drop across the diode, R 2 is the first resistor, R 3 is the second resistor.

[0058] In this embodiment, taking into account the voltage tolerance capability of the detection unit, by connecting a sampling circuit between the detection unit and the second end of the current limiting voltage divider unit, it is possible to effectively avoid the excessive voltage at the second end of the current limiting voltage divider unit from affecting the detection unit, thereby improving the reliability of the input detection circuit.

[0059] In one embodiment, Figure 6 As shown, the input detection circuit may include a detection unit 10, a transformer unit 210, an output protection unit 220 and a terminal matching unit 60, wherein the terminal matching unit 60 is connected to the transformer unit 210 and the output protection unit 220 respectively, and the transformer unit 210 and the output protection unit 220 are also used to connect a load 30. It should be noted that Figure 6 is Figure 2 Based on the schematic block diagram obtained by refining the input detection circuit, therefore, Figure 6 Zhongyu Figure 2For the connection relationship between components with the same label, please refer to Figure 2 , I will not go into details here.

[0060] In this embodiment, the terminal matching unit is used to provide a standard load resistance value for the input detection circuit. Wherein, when the first load resistance value is consistent with the standard load resistance value, the load state is a normal state.

[0061] Optionally, the terminal matching unit in this embodiment can use a terminal matching resistor. When the input detection circuit is not connected to a load, the terminal matching resistor can match the characteristic impedance in the input detection circuit on the one hand; on the other hand, it can be used as a standard load or a known load, which can make the input detection circuit complete, so as to facilitate the determination of the corresponding relationship between the load resistance (the load resistance here is the resistance of the terminal matching resistor) and the load state (the load state here is the connection state of the terminal matching resistor, including normal connection, open circuit or short circuit), and provide data reference for the actual application of the input detection circuit to perform input detection on the load. Based on this, in the actual application process, the load state corresponding to the first load resistance can be determined according to the first load resistance corresponding to the detected first voltage, combined with the corresponding relationship between the load resistance and the load state determined in this embodiment. In this embodiment, when the input detection circuit is connected to a load, the terminal matching resistor can only be used as a resistor of a known resistance connected to the load side, which does not work when the input detection circuit performs input detection on the load.

[0062] The following takes the detection unit as MCU, the current limiting and voltage dividing unit as resistor R1, the voltage transformation unit as transformer T1, the output protection unit as capacitor C1, and the load as Rload as an example to describe in detail the input detection circuit provided in the embodiment of the present application.

[0063] like Figure 7 As shown, the MCU includes a signal output terminal IO1 and a signal input terminal ADC1, the signal output terminal IO1 is connected to the first end of the resistor R1, and the signal input terminal ADC1 is connected to the second end of the resistor R1 ( Figure 7 The first output terminal of the transformer T1 is connected to the capacitor C1, and the capacitor C1 and the second output terminal of the transformer T1 are connected to the load Rload. Figure 7 In the circuit shown, the end point on the right side of the capacitor C1 and the end point on the right side of the second output terminal of the transformer T1 are used to connect the load. Figure 7 The dashed box represents the load that can be connected between these two endpoints. Figure 7 In the circuit shown in the example, the load is Rload.

[0064] exist Figure 7 In the input detection circuit shown, when the MCU outputs a high level, energy is transferred to the next stage, and the voltage of the detection point (i.e., the second end of the resistor R1) is sampled through the resistor and capacitor voltage division. The voltage is consistent with the voltage at both ends of the load Rload. Therefore, by detecting the voltage at the second end of the resistor R1, the first voltage at both ends of the load Rload can be obtained; when the MCU outputs a low level, the excitation energy stored in the transformer forms an LCR resonance with the capacitor and the load resistor of the next stage to release. Part of this energy is stored in the capacitor and consumed when the next high level is output, and part is consumed through the load resistor; and so on. It can be seen that the input detection circuit implemented by the technical solution uses fewer components, reduces the complexity of the circuit, saves the design cost of the circuit, and utilizes the characteristics of the forward topology and the capacitor to pass AC and isolate DC, the resistance value of the next load can be accurately detected, and the circuit is also applicable to active loads. In addition, the transformer does not require an additional demagnetization circuit, and the capacitor can also effectively prevent the external DC voltage from damaging the transformer coil, thereby improving reliability.

[0065] Since capacitor C1 participates in energy transfer, a voltage drop will be formed on C1, and there are transformers and capacitors in the circuit, so the change law of the voltage at the second end of resistor R1 will follow the second-order calculus calculation law. Let's analyze the change law of the voltage Utest at the second end of resistor R1 with the load Rload. Figure 8 As shown, it is shown Figure 7 The voltage and current of each device in the circuit shown when it is turned on, where L1 and TX1 are equivalent models of the transformer, P1 is the primary coil of the transformer, S1 is the secondary coil of the transformer, V1 is the equivalent excitation source of the MCU, i1(t) is the excitation current of the transformer, and i2(t) is the current transmitted to the next stage. The turns ratio of the primary coil side and the secondary coil side of the transformer is 1:1, that is, the voltage across the transformer P1 is equal to the voltage across S1. Therefore, the derivation formula of this scheme is as follows:

[0066]

[0067] Among them, 0≤t≤D / fsw. Rload is the load, Vin is the input voltage, D is the duty cycle, fsw is the frequency, and L is the transformer inductance. By simplification, the relationship between Utest and Rload is approximately:

[0068]

[0069] For example, when Vin is 5V (volts), fsw is 40kHz (kilohertz), L is 4700uH (microhenry), D is 10%, C1 is 10nF (nanofarad), and R1 is 1kΩ (kiloohm), the relationship between Utest and Rload is as follows: Fig. 9 As shown. Among them, Rload is 0 to 2*10 3 Ω (Europe), Utest is 1V to 1.151V, at this time, the load is in short circuit state; Rload is 2*10 3 Ω to 5.1*10 3 Ω, Utest is 1.151V to 2.894V, at this time, the load is in normal state; Rload is 5.1*10 3 Ω to 1*10 5 When Ω, Utest is 2.894V to 3.219V, and the load is in an open circuit state. In this technical solution, the sampling range and discrimination can be modified by adjusting fsw and D in software, and the sampling range and discrimination can be modified by modifying C1 and L in hardware.

[0070] The above is an input detection circuit provided in an embodiment of the present application. Based on the same idea, an embodiment of the present application also provides an input detection method.

[0071] Fig.10 is a schematic flow chart of an input detection method according to an embodiment of the present application, the input detection method is applied to Figures 1 to 7 The input detection circuit shown in Fig.10 As shown, the method includes:

[0072] S1002, detecting a first voltage across the load.

[0073] In this embodiment, the first voltage across the load can be detected by the detection unit. Figure 2 and Figure 6 ), the first voltage can be detected from the input terminal side of the voltage transformation unit. Figures 3 to 5 ,as well as Figure 7 ), the first voltage can be detected from the second end of the current limiting voltage dividing unit.

[0074] S1004, determining a first load resistance corresponding to the first voltage according to a first correlation between the detection voltage and the load resistance.

[0075] S1006, determining a load state corresponding to the first load resistance value according to a preset correspondence relationship between the load resistance value and the load state, wherein the load state includes a normal state, an open circuit state or a short circuit state.

[0076] By adopting the input detection method of the embodiment of the present application, the input detection of the load can be completed by providing an input detection circuit with a detection unit and an isolation unit. Among them, the detection unit is used to detect the first voltage at both ends of the load, so as to determine the first load resistance corresponding to the first voltage according to the first correlation between the detection voltage and the load resistance, and determine the load state (including normal state, open circuit state or short circuit state) corresponding to the first load resistance according to the correspondence between the preset load resistance and the load state. The isolation unit is used to isolate the signal between the detection unit and the load. It can be seen that the technical solution can complete the input detection of the subsequent load through a relatively simple circuit structure, reducing the complexity of the input detection circuit, and by designing an isolation unit in the circuit, the signal interference between the detection unit and the load is effectively isolated, and the isolation of the input detection circuit is improved, thereby effectively ensuring the accuracy of the input detection result.

[0077] In one embodiment, the input detection circuit is as follows Figure 3 In the illustrated case, before executing S1002 , the first correlation between the detection voltage and the load resistance may be determined through the following steps A1 to A2 .

[0078] Step A1, determining a second correlation between the detection voltage and the voltage across the transformer unit in the input detection circuit; determining a third correlation between the detection voltage and the input voltage of the detection unit in the input detection circuit and the voltage across the current limiting voltage divider unit; and determining a fourth correlation between the detection voltage and the voltage across the output protection unit in the input detection circuit and the voltage across the load.

[0079] Among them, the voltage across the load is positively correlated with the load resistance.

[0080] For example, in Figure 7 Based on the circuit shown, the second correlation between the detection voltage and the voltage across the voltage transformation unit in the input detection circuit can be characterized as: The third correlation between the detection voltage and the input voltage of the detection unit in the input detection circuit and the voltage across the current limiting voltage divider unit can be characterized as: Utest(t)=Vin-(i1(t)+i2(t))*R1. The fourth correlation between the detection voltage and the voltage across the output protection unit in the input detection circuit and the voltage across the load can be characterized as:

[0081] Step A2: determining a first correlation between the detection voltage and the load resistance according to the second correlation, the third correlation and the fourth correlation.

[0082] Following the example in step A1, the first correlation between the detection voltage and the load resistance is determined according to the second correlation, the third correlation, and the fourth correlation. The first correlation between the detection voltage and the load resistance is obtained by simplifying the second correlation, the third correlation, and the fourth correlation:

[0083] In this embodiment, please refer to the meaning of each symbol in the formula Figure 7 The embodiments are not described in detail here.

[0084] In one embodiment, a terminal matching resistor (such as Figure 6 The terminal matching unit in the circuit shown in the figure) is used to determine the first resistance value of the terminal matching resistor when the terminal matching resistor is normally connected to the input detection circuit; the second resistance value of the terminal matching resistor when the terminal matching resistor is short-circuited and connected to the input detection circuit; and the third resistance value of the terminal matching resistor when the terminal matching resistor is disconnected and connected to the input detection circuit. Furthermore, the corresponding relationship between the first resistance value and the normal state, the corresponding relationship between the second resistance value and the short-circuit state, and the corresponding relationship between the third resistance value and the disconnected state are stored in the detection unit as the corresponding relationship between the load resistance value and the load state, so that the detection unit can quickly determine the load state of the load according to the calculated load resistance value.

[0085] The present application also provides an input detection device, including: Figures 1 to 6 Any of the input detection circuits shown in the figure, when the input detection device is in operation, can execute each process of the above-mentioned input detection method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described here.

[0086] The embodiment of the present application also provides a fire fighting system. Fig.11 is a schematic block diagram of a fire protection system according to an embodiment of the present application, such as Fig.11 As shown, the fire protection system includes a fire protection linkage control device 1110 , an input detection device 1120 as described above, and a fire protection sensor device 1130 .

[0087] In this embodiment, the fire linkage control device 1110 is connected to the detection unit 10 in the input detection device 1120. The fire sensor device 1130 is connected to the isolation unit 20 in the input detection device 1120. The fire sensor device is a load.

[0088] The input detection device is used to detect the device status of the fire sensor device, which includes a normal state, an open circuit state or a short circuit state, and then send the device status to the fire linkage control device. The fire linkage control device is used to generate fault alarm information when the device status of the fire sensor device is an open circuit state or a short circuit state. This allows the technicians to quickly know which fire sensor device in the fire system has a fault, and then perform targeted maintenance.

[0089] The connection relationship between the components in the input detection device has been described in detail in the above embodiments and will not be repeated here.

[0090] The fire protection system using the embodiment of the present application can complete the input detection of the fire sensor device through the detection unit and the isolation unit connected in sequence, so that when the device state of the fire sensor device is an open circuit state or a short circuit state, the fire linkage control device can generate fault alarm information, which is conducive to the technical personnel to quickly know the fire sensor device with faults in the fire protection system, so as to maintain it in a timely and targeted manner, thereby improving the reliability of the fire protection system. Among them, the detection unit is used to detect the first voltage at both ends of the fire sensor device, so as to determine the first load resistance corresponding to the first voltage according to the first correlation between the detection voltage and the load resistance, and determine the device state (including normal state, open circuit state or short circuit state) corresponding to the first load resistance according to the corresponding relationship between the preset load resistance and the load state (i.e., the device state in this embodiment). The isolation unit is used to isolate the signal between the detection unit and the fire sensor device. It can be seen that this technical solution can complete the input detection of the subsequent fire sensor equipment through a relatively simple circuit structure, reducing the complexity of the input detection circuit. Moreover, by designing an isolation unit in the circuit, the signal interference between the detection unit and the fire sensor equipment is effectively isolated, and the isolation of the input detection circuit is improved, thereby effectively ensuring the accuracy of the input detection result.

[0091] In summary, specific embodiments of the present subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recorded in the claims can be performed in a different order and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing can be advantageous.

[0092] Based on the same idea, the embodiment of the present application also provides an input detection device, such as Fig.12As shown. The input detection device may have relatively large differences due to different configurations or performances, and may include one or more processors 1201 and memory 1202, and one or more applications or data may be stored in the memory 1202. Among them, the memory 1202 can be a temporary storage or a permanent storage. The application stored in the memory 1202 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the input detection device. Further, the processor 1201 can be configured to communicate with the memory 1202, and execute a series of computer executable instructions in the memory 1202 on the input detection device. The input detection device may also include one or more power supplies 1203, one or more wired or wireless network interfaces 1204, one or more input and output interfaces 1205, and one or more keyboards 1206.

[0093] Specifically in this embodiment, the input detection device includes a memory and one or more applications, wherein the one or more applications are stored in the memory, and the one or more applications may include one or more modules, and each module may include a series of computer executable instructions in the input detection device, and the one or more applications are configured to be executed by one or more processors, including computer executable instructions for performing the following:

[0094] detecting a first voltage across the load;

[0095] Determine a first load resistance corresponding to the first voltage according to a first correlation between the detection voltage and the load resistance;

[0096] According to the correspondence between the preset load resistance and the load state, the load state corresponding to the first load resistance is determined; wherein the load state includes a normal state, an open circuit state or a short circuit state.

[0097] By adopting the input detection circuit of the embodiment of the present application, the input detection of the load can be completed through the detection unit and the isolation unit connected in sequence. Among them, the detection unit is used to detect the first voltage at both ends of the load, so as to determine the first load resistance corresponding to the first voltage according to the first correlation between the detection voltage and the load resistance, and determine the load state (including normal state, open circuit state or short circuit state) corresponding to the first load resistance according to the correspondence between the preset load resistance and the load state. The isolation unit is used to isolate the signal between the detection unit and the load. It can be seen that the technical solution can complete the input detection of the subsequent load through a relatively simple circuit structure, reducing the complexity of the input detection circuit, and by designing the isolation unit in the circuit, the signal interference between the detection unit and the load is effectively isolated, and the isolation of the input detection circuit is improved, thereby effectively ensuring the accuracy of the input detection result.

[0098] An embodiment of the present application also proposes a storage medium, which stores one or more computer programs, and the one or more computer programs include computer executable instructions. When the computer executable instructions are executed by an electronic device including multiple applications, the electronic device can perform the various processes of the above-mentioned input detection method embodiment and can achieve the same technical effect. To avoid repetition, they are not repeated here.

[0099] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0100] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0101] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0102] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0103] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0104] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0105] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0106] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0107] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0108] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0109] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0110] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0111] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. An input detection circuit, It is characterized in that It includes a detection unit and an isolation unit connected in sequence; the isolation unit is used to connect to the load; wherein, The detection unit is used to detect a first voltage across the load; determine a first load resistance corresponding to the first voltage according to a first correlation between the detection voltage and the load resistance; determine a load state corresponding to the first load resistance according to a preset correspondence between the load resistance and the load state; the load state includes a normal state, an open circuit state or a short circuit state; The isolation unit is used to isolate the signal between the detection unit and the load.

2. The input detection circuit according to claim 1, It is characterized in that The isolation unit includes a transformer unit and an output protection unit; the detection unit, the transformer unit and the output protection unit are connected in sequence; a load is connected between the transformer unit and the output protection unit; The voltage transformation unit is used to isolate the signal between the detection unit and the output protection unit; The output protection unit is used to isolate the DC signal input to the transformer unit.

3. The input detection circuit according to claim 2, It is characterized in that The input detection circuit further includes a current limiting voltage dividing unit; the current limiting voltage dividing unit is connected between the detection unit and the voltage transformation unit; The detection unit is further used to output an excitation signal; the excitation signal is used to provide an input voltage for the input detection circuit; The current limiting and voltage dividing unit is used to perform current limiting processing on the current generated by the detection unit, and to perform voltage dividing processing on the input voltage.

4. The input detection circuit according to claim 3, It is characterized in that The input detection circuit also includes a sampling unit; The sampling unit is connected to the detection unit and the current limiting and voltage dividing unit respectively, and is used for detecting a first voltage at a second end of the current limiting and voltage dividing unit, and transmitting the first voltage to the detection unit.

5. The input detection circuit according to claim 4, It is characterized in that The sampling unit includes a diode, a first resistor, a second resistor and a first capacitor; The positive electrode of the diode is connected to the second end of the current limiting voltage divider unit; the negative electrode of the diode is connected to the first resistor; the first resistor is respectively connected to the detection unit, the second resistor and the first capacitor; the detection unit is respectively connected to the second resistor and the first capacitor; the second resistor and the first capacitor are respectively grounded.

6. The input detection circuit according to claim 2, It is characterized in that The input detection circuit further includes a terminal matching unit; the terminal matching unit is connected to the voltage transformation unit and the output protection unit respectively; The terminal matching unit is used to provide a standard load resistance value for the input detection circuit; wherein, when the first load resistance value is consistent with the standard load resistance value, the load state is the normal state.

7. An input detection method, It is characterized in that Applied to the input detection circuit according to any one of claims 1 to 6; the method comprises: detecting a first voltage across the load; Determining a first load resistance corresponding to the first voltage according to a first correlation between the detection voltage and the load resistance; According to a preset correspondence between a load resistance and a load state, a load state corresponding to the first load resistance is determined; wherein the load state includes a normal state, an open circuit state or a short circuit state.

8. The method according to claim 7, It is characterized in that The method further comprises: Determine a second correlation between the detection voltage and the voltage across the voltage transformation unit in the input detection circuit; determine a third correlation between the detection voltage and the input voltage of the detection unit in the input detection circuit and the voltage across the current limiting voltage divider unit; and determine a fourth correlation between the detection voltage and the voltage across the output protection unit in the input detection circuit and the voltage across the load; wherein the voltage across the load is positively correlated with the load resistance; The first correlation between the detection voltage and the load resistance is determined according to the second correlation, the third correlation and the fourth correlation.

9. An input detection device, It is characterized in that The method comprises the input detection circuit as claimed in any one of claims 1 to 6.

10. A fire fighting system, It is characterized in that It includes a fire linkage control device, an input detection device as claimed in claim 9, and a fire sensor device; The fire linkage control device is connected to the detection unit in the input detection device; the fire sensor device is connected to the isolation unit in the input detection device; The input detection device is used to detect the device status of the fire sensor device; the device status includes a normal state, an open circuit state or a short circuit state; and the device status is sent to the fire linkage control device; The fire linkage control device is used to generate fault alarm information when the device state of the fire sensor device is the open circuit state or the short circuit state.