Active pulse and level system, output control method, apparatus, device, and medium
By using the main control device to determine the load type in real time and control the connection or disconnection of the energy storage device, the system achieves a two-in-one output of active pulse and level systems, which solves the problem of high adaptation and installation costs of fire protection equipment and reduces the overall cost.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHEJIANG HUAXIAO TECH CO LTD
- Filing Date
- 2022-11-16
- Publication Date
- 2026-07-14
AI Technical Summary
The wide variety of existing active pulse and active level systems makes it difficult to adapt and install fire protection equipment, resulting in high costs.
Design an active pulse and level system that acquires the voltage value of the energy storage device in real time through the main control device, determines the load type based on the voltage change rate, and controls the connection or disconnection of the pump and the energy storage device to achieve the adaptation of pulse and level loads and provide a two-in-one output solution.
It reduces the adaptation and installation costs of fire protection equipment, simplifies the installation process, and is suitable for the needs of various fire protection equipment.
Smart Images

Figure CN116015031B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of fire alarm system technology, and in particular to active pulse and level systems, output control methods, devices, equipment and media. Background Technology
[0002] Active pulse systems and active level systems are components of automatic fire alarm systems and serve as intermediary systems for remote control of fire-fighting equipment by fire linkage controllers. Active pulse systems can output a single pulse, which can be connected to pulse-type fire-fighting equipment such as smoke exhaust valves, fire dampers, and trip units. Active level systems can continuously output 24V voltage without requiring an external 24V power supply, and can be connected to fire-fighting equipment requiring continuous 24V operation, such as solenoid valves, relays, and AC contactors.
[0003] In the existing technology, there are many models and types of active pulse systems and active level systems, which bring trouble to the adaptation and installation of fire protection equipment. Therefore, there is an urgent need for an output system that combines active pulse system and level system to meet the needs of various fire protection equipment and reduce the adaptation and installation costs of fire protection equipment. Summary of the Invention
[0004] This application provides an active pulse and level system, an output control method, an apparatus, a device, and a medium to provide an output scheme that combines an active pulse system and a level system.
[0005] In a first aspect, this application provides an active pulse and level system, the system comprising: a main control device, a pump pressure control device, and an energy storage device;
[0006] The main control device is used to acquire the first voltage value of the energy storage device in real time, determine the voltage change rate of the energy storage device based on the first voltage value acquired in real time, and determine whether the external load is a pulse-type load or a level-type load based on the voltage change rate.
[0007] The main control device is further configured to, if it is determined that the external load is a pulse-type load, output a disabling control signal to the pump pressure control device after the energy storage device has finished discharging; the pump pressure control device is configured to, upon receiving the disabling control signal, control the energy storage device to disconnect from the external load.
[0008] The main control device is further configured to output a voltage regulation control signal to the pump pressure control device if it is determined that the external load is a level load; the pump pressure control device is further configured to control the first voltage value of the energy storage device to be stabilized within a preset range when it receives the voltage regulation control signal.
[0009] Secondly, this application provides an output control method, the method comprising:
[0010] The first voltage value of the energy storage device is acquired in real time. Based on the first voltage value acquired in real time, the voltage change rate of the energy storage device is determined. Based on the voltage change rate, it is determined whether the external load is a pulse-type load or a level-type load.
[0011] If the external load is determined to be a pulse-type load, after the energy storage device has finished discharging, a disabling control signal is output to the pump pressure control device; causing the pump pressure control device to disconnect the energy storage device from the external load.
[0012] If the external load is determined to be a level load, a voltage regulation control signal is output to the pump pressure control device to stabilize the first voltage value of the energy storage device within a preset range.
[0013] Thirdly, this application provides an output control device, the device comprising:
[0014] The determination unit is used to acquire the first voltage value of the energy storage device in real time, determine the voltage change rate of the energy storage device based on the first voltage value acquired in real time, and determine whether the external load is a pulse-type load or a level-type load based on the voltage change rate.
[0015] The control unit is configured to, if it is determined that the external load is a pulse-type load, output an enable control signal to the pump pressure control device after the energy storage device has discharged; cause the pump pressure control device to disconnect the energy storage device from the external load; if it is determined that the external load is a level-type load, output a voltage stabilization control signal to the pump pressure control device; cause the pump pressure control device to stabilize the first voltage value of the energy storage device within a preset range.
[0016] Fourthly, this application provides a master control device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
[0017] Memory, used to store computer programs;
[0018] When a processor executes a program stored in memory, it implements the steps of the method described in any of the preceding statements.
[0019] Fifthly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method described in any of the preceding claims.
[0020] This application provides an active pulse and level system, an output control method, apparatus, device, and medium. The system includes: a main control device, a pump pressure control device, and an energy storage device. The main control device is used to acquire a first voltage value of the energy storage device in real time, determine the voltage change rate of the energy storage device based on the acquired first voltage value, and determine whether the external load is a pulse-type load or a level-type load based on the voltage change rate. The main control device is also used to, if the external load is determined to be a pulse-type load, output a disabling control signal to the pump pressure control device after the energy storage device has discharged. The pump pressure control device is used to, upon receiving the disabling control signal, control the energy storage device to disconnect from the external load. The main control device is also used to, if the external load is determined to be a level-type load, output a voltage stabilization control signal to the pump pressure control device. The pump pressure control device is also used to, upon receiving the voltage stabilization control signal, control the first voltage value of the energy storage device to stabilize within a preset range.
[0021] The above technical solution has the following advantages or beneficial effects:
[0022] In this application, considering the load differences between pulse-type and level-type loads, the voltage change rate of the energy storage device differs when connected to pulse-type and level-type loads. Therefore, the main control device acquires the first voltage value of the energy storage device in real time, determines the voltage change rate, and identifies whether the external load is pulse-type or level-type based on the voltage change rate. If it is a pulse-type load, after the energy storage device has discharged, it outputs an enable control signal to the pump pressure control device, which then disconnects the energy storage device from the external load, achieving pulse control of the pulse-type load. If the external load is determined to be level-type, it outputs a voltage stabilization control signal to the pump pressure control device, which stabilizes the first voltage value of the energy storage device within a preset range, achieving level control of the level-type load. Therefore, this application provides a combined output scheme of active pulse system and level system, which can meet the needs of various fire-fighting equipment and reduce the adaptation and installation costs of fire-fighting equipment. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This application provides a schematic diagram of the active pulse and level system structure.
[0025] Figure 2 The circuit diagram of the pump pressure control device provided in this application;
[0026] Figure 3 Another schematic diagram of an active pulse and level system structure provided in this application;
[0027] Figure 4 A schematic diagram of the circuit structure of the current impact control device provided in this application;
[0028] Figure 5 A schematic diagram of another active pulse and level system structure provided for this application;
[0029] Figure 6 The circuit structure diagram of the output line testing device provided in this application;
[0030] Figure 7 The active pulse and level system flowchart provided in this application;
[0031] Figure 8 The flowchart of the output line testing equipment provided in this application;
[0032] Figure 9 The output control process diagram provided in this application;
[0033] Figure 10 A schematic diagram of the output control device provided in this application;
[0034] Figure 11 A schematic diagram of the main control equipment provided in this application. Detailed Implementation
[0035] The present application will now be described in further detail with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present application.
[0036] Figure 1 The schematic diagram of the active pulse and level system provided in this application includes: a main control device 11, a pump pressure control device 22, and an energy storage device 33;
[0037] The main control device 11 is used to acquire the first voltage value of the energy storage device 33 in real time, determine the voltage change rate of the energy storage device 33 based on the first voltage value acquired in real time, and determine whether the external load is a pulse-type load or a level-type load based on the voltage change rate.
[0038] The main control device 11 is further configured to, if it is determined that the external load is a pulse-type load, output a disabling control signal to the pump pressure control device 22 after the energy storage device 33 has finished discharging; the pump pressure control device 22 is configured to, upon receiving the disabling control signal, control the energy storage device 33 to disconnect from the external load.
[0039] The main control device 11 is further configured to output a voltage stabilization control signal to the pump pressure control device 22 if it is determined that the external load is a level load; the pump pressure control device 22 is further configured to control the first voltage value of the energy storage device 33 to stabilize within a preset range when it receives the voltage stabilization control signal.
[0040] In this application, the pump pressure control device and the energy storage device are connected to the main control device, and the pump pressure control device is connected to the energy storage device, which is also connected to an external load. Considering the significant difference in resistance between level-type and pulse-type loads (e.g., a level-type load has a resistance of 400Ω, while a pulse-type load has a resistance of 10Ω), the voltage change rate of the energy storage device is defined by the formula CU = It, where C represents capacitance, U represents voltage, I represents current, and t represents time. The voltage change rate of the energy storage device refers to the time required for its voltage to change by a certain amount ΔU. The main control device acquires the first voltage value of the energy storage device in real time, determines the voltage change rate based on this value, and then determines whether the external load is a pulse-type or level-type load based on the voltage change rate.
[0041] To more clearly illustrate the process of determining whether an external load is a pulse-type or level-type load based on the rate of voltage change, the following example is provided:
[0042] When the external load is a level load, current consumption is slow. For example, if the external load resistance is 400Ω and the energy storage device has a capacitor of 2200µF, the time for the energy storage device's voltage to drop from 30V to 24V is approximately t. 电平 = (2200UF*ΔU) / (30V / 400R)≈44ms; because the voltage continuously drops from 30V, this time is longer than 44ms. When the external load is a pulsed load, the current is consumed quickly. For example, if the external load resistance is 10R, the time for the voltage of the energy storage device to drop from 30V to 24V is approximately t. 电平 = (2200UF*ΔU) / (30V / 10R)≈4.4ms. By sampling the first voltage value of the energy storage device using an ADC, the voltage change rate of the energy storage device can be calculated to determine whether the external load is a pulse-type load or a level-type load.
[0043] In this application, the main control device is specifically used to, upon receiving an output control enable command, output an enable control signal to the pump pressure control device, causing the pump pressure control device to control the connection between the energy storage device and the external load; acquire a first voltage value of the energy storage device in real time, determine the voltage change rate of the energy storage device based on the acquired first voltage value, and if the voltage change rate is determined to be greater than a preset first change rate threshold, determine that the external load is a pulse-type load; if the voltage change rate is determined to be less than a preset second change rate threshold, determine that the external load is a level-type load; wherein, the preset first change rate threshold is greater than the preset second change rate threshold.
[0044] If the main control device determines that the external load is a pulse-type load, it outputs a disable control signal to the pump pressure control device after the energy storage device has discharged. Upon receiving the disable control signal, the pump pressure control device disconnects the energy storage device from the external load. This allows for pulse control of the external load using both active pulse and level-based systems. If the main control device determines that the external load is a level-based load, it outputs a voltage stabilization control signal to the pump pressure control device. Upon receiving the voltage stabilization control signal, the pump pressure control device stabilizes the first voltage value of the energy storage device within a preset range. Level-based control of the external load is achieved through the stable voltage output by the energy storage device. Therefore, this application provides a combined output scheme of an active pulse system and a level-based system, which can meet the needs of various fire-fighting equipment and reduce the adaptation and installation costs of fire-fighting equipment.
[0045] In this application, the energy storage device includes an energy storage capacitor C23. Figure 2 The circuit diagram of the pump pressure control device provided in this application is as follows: Figure 2 As shown, the pump pressure control device includes: inductor L3, MOSFET M11, diode D8, resistor R84, resistor R85, capacitor C26, resistor R102, MOSFET M21, transistor Q11, resistor R103, and resistor R104.
[0046] The inductor L3 is connected to the anode of the diode D8 and the drain of the MOSFET M11. The gate of the MOSFET M11 is used to receive the second charging control signal. The source of the MOSFET M11 is grounded. The cathode of the diode D8 is connected to the resistor R84, the energy storage capacitor C23, the resistor R102, and the source of the MOSFET M21. The resistor R84 is also connected to the resistor R85 and the capacitor C26. The resistor R85, the capacitor C26, and the energy storage capacitor C23 are grounded and connected to the negative interface of the external load. The gate of the MOSFET M21 is connected to the resistor R102 and the collector of the transistor Q11. The drain of the MOSFET M21 is connected to the positive interface of the external load. The emitter of the transistor Q11 is connected to the resistor R103. The base of the transistor Q11 is connected to the resistor R104. The base of the transistor Q11 is used to receive the disable control signal and the enable control signal.
[0047] Figure 2 In this context, PWM_BOOST is the second charging control signal receiving port, IO_OUTPUT is the receiving port for the disable control signal and enable control signal sent by the main control device, and AD_POWER is the sampling point for the first voltage value of the energy storage device. Figure 2 In the middle, M21 is also connected to diode D30, and D30 is also connected to diode D28.
[0048] like Figure 2 As shown, L3 is an inductor, M11 is switched on and off via the PWM_BOOST port, which is connected to the PA3 port of the microcontroller. AD_POWER is the AD sampling port, which is connected to the PB4 port of the microcontroller. The voltage at the negative terminal of D8, i.e., the voltage of capacitor C23, is indirectly calculated through the voltage division ratio of R84 and R85.
[0049] (1) When output control is not enabled:
[0050] When IO_OUTPUT is connected to the microcontroller's PA4 port, and output control is not enabled, IO_OUTPUT is set low, and the output of M21 is turned off to prevent leakage of C23. When the voltage at C23 does not meet the requirements, the microcontroller controls the PWM_BOOST port to output PWM, and the pump control device charges C23. When the voltage of C23 is found to meet the requirements through AD_POWER sampling and calculation, the microcontroller controls the PWM_BOOST port to turn off PWM. The charging process will start again when the voltage of C23 is detected to be unsatisfactory the next time.
[0051] (2) When output control is enabled:
[0052] The load resistance of a level-type load is generally relatively large, typically between 300R and 600R; the load resistance of a pulse-type load is generally around 10R to 20R.
[0053] The algorithm for determining pulse-type and level-type loads is as follows:
[0054] When output is enabled, the PWM_POWER port is set low and the IO_OUTPUT port is set high. Immediately after the IO_OUTPUT port goes high, the AD_POWER port is sampled. C23 first outputs to the external load through OUT+ and OUT-. According to the formula CU = It, when the external load is a level load, the current consumption is slow. For example, if the load is 400R, the time for the voltage at the negative terminal of D8 to drop from 30V to 24V is approximately t. 电平 = (2200UF*ΔU) / (30V / 400R)≈44ms; Because the voltage continuously drops from 30V, this time is longer than 44ms. When the external load is a pulsed load, the current is consumed quickly. For example, if the load is 10R, the time for the voltage at the negative terminal of D8 to drop from 30V to 24V is approximately t. 电平 = (2200UF*ΔU) / (30V / 10R)≈4.4ms; By sampling the ADC a few milliseconds after the IO_OUTPUT port is set high, the voltage change rate at the negative terminal of D8 can be used to determine whether the external load is a pulse-type load or a level-type load.
[0055] When the load is determined to be pulse-type, wait a few seconds until C23 is fully discharged, then set the IO_OUTPUT port low to disable external output. Once the output control command is released, control the PWM_POWER and PWM_BOOST ports to charge C23 in the charging sequence.
[0056] When the load is determined to be level-dependent, the PWM_POWER port is set high. C23 acts as an energy reservoir, continuously outputting a 24V voltage to the external load to ensure its continuous operation. The external load consumes energy from C23. The AD_POWER port samples and calculates the voltage at the negative terminal of D8 in real time. When the voltage at the negative terminal of D8 is lower than 24V, PWM_BOOST is activated, and the PWM parameters are automatically adjusted by the PWM frequency modulation software algorithm to maintain the voltage at the negative terminal of D8 at approximately 24V. When the output control command is released, the IO_OUTPUT port is set low, disabling the external output. Then, the PWM_POWER and PWM_BOOST ports are controlled to charge C23 according to the charging sequence. When C23 is fully charged, PWM_POWER is set low, and the PWM of PWM_BOOST is turned off.
[0057] For level-type loads, such as relays, a continuous voltage signal needs to be supplied to the external circuitry. Typically, the coil resistance of level-type loads is relatively high, between 300 ohms and 650 ohms. Assuming a level output of 24V, the relay operating current is 24V / resistance. This application illustrates that if the external load is determined to be level-type, a continuous 24V voltage output will be provided.
[0058] For pulse-type loads, such as solenoid valves, the coil resistance of the solenoid valve is very small, typically 10-30 ohms. In field applications, a large pulse current signal is usually sufficient to activate the solenoid valve and control the high-voltage equipment. This pulse signal is usually instantaneous and is primarily provided by the energy storage capacitor C23. Typically, the capacitor is charged to approximately 30V using pump voltage charging. When the output control is activated, C23 directly discharges externally, generating an instantaneous current signal of 30V / resistance (e.g., 15 ohms). This instantaneous current signal of 30 / 15 = 2A is typically sufficient to activate the pulse-type load within tens of milliseconds. Pulse-type loads do not require continuous control from the energy-saving device; only the initial discharge within tens of milliseconds after the energy-saving device's activation is needed. The node device's task is then complete. The node device's output control can then be turned off, and the energy storage capacitor can continue charging until the next control command arrives, at which point it is fully charged and discharged externally.
[0059] In this application, considering that the charging current to the energy storage device is very large at the moment of system power-on, it is easy to burn out the components involved in the charging current of the energy storage device. Based on the above considerations, in this application, if Figure 3 As shown, the system also includes: a current surge control device 44; the current surge control device 44 is connected to the main control device 11 and the energy storage device 33 respectively.
[0060] The main control device 11 is also used to determine whether to charge the energy storage device based on the first voltage value of the energy storage device 33. When it is determined that the energy storage device should be charged, the main control device 11 outputs a first charging control signal to the current surge control device 44. The current surge control device 44 is used to determine the charging time and charging current based on the first charging control signal, and to charge the energy storage device based on the charging time and charging current.
[0061] The main control device acquires the first voltage value of the energy storage device in real time. When the first voltage value is less than a set voltage threshold, it determines to charge the energy storage device; when the first voltage value is not less than the set voltage threshold, it determines not to charge the energy storage device. The set voltage threshold can be set according to the actual scenario, such as 20V or 24V. When it determines to charge the energy storage device, the main control device outputs a first charging control signal to the current surge control device. The main control device can be a microcontroller, including a pulse width modulation (PWM) port. The control device outputs the first charging control signal to the current surge control device through the PWM port. The control device can adjust the PWM parameters of the PWM port and carry these parameters in the first charging control signal. The current surge control device determines the charging time and charging current based on the first charging control signal and charges the energy storage device accordingly. This avoids the problem of a large charging current at the moment of system power-on, which could easily burn out the components in the energy storage device.
[0062] Figure 4 The circuit structure diagram of the current impact control device provided in this application is as follows: Figure 4 As shown, the current surge control device includes: resistor R101, MOSFET M15, transistor Q4, and resistor R100.
[0063] The source of resistor R101 and MOSFET M15 are respectively connected to the first power input terminal. The gate of resistor R101 and MOSFET M15 are also connected to the collector of transistor Q4. The emitter of transistor Q4 is grounded. The drain of MOSFET M15 is connected to inductor L3. The base of transistor Q4 is used to receive the first charging control signal or the third charging control signal. Figure 4 PWM_POWER is the receiving port for either the first or third charging control signal.
[0064] like Figure 4In this circuit, 24V_VCC is the filtered bus voltage. The PWM_POWER port is connected to the microcontroller's PB6 port. Upon initial power-up, the PWM_POWER port is set to output 0, M15 is off, and the bus has no output. The subsequent energy storage capacitor is a 2200uf electrolytic capacitor. If the bus output is not controlled, the charging current of the energy storage capacitor will be very large at power-up, easily burning out the current-limiting resistor and causing a temporary impact on other devices in the circuit by pulling down the bus voltage. When the energy storage capacitor needs charging, the PWM_POWER port outputs a PWM signal. By adjusting the PWM parameters of this port, the charging current and charging time of the energy storage capacitor can be controlled, thereby avoiding current surges. However, this PWM port can only charge the energy storage capacitor to a voltage close to the bus voltage 24_VCC. Therefore, the second step of charging the energy storage capacitor is completed by the subsequent pump control device. When the pump control device is used for the second step of charging, the PWM_POWER port switches from a PWM port to output high, and M15 remains on.
[0065] To ensure the normal operation of the active pulse and level system, in this application, such as Figure 5 As shown, the system also includes an output line detection device 55. The main control device 11 is also connected to the output line detection device 55. The output line detection device 55 is also connected to an external load.
[0066] The main control device is also used to output a line detection control signal to the output line detection device when it receives a line detection command; the output line detection device is used to control its own detection circuit to be turned on when it receives the line detection control signal.
[0067] The main control device is also used to acquire the second voltage value of the external load, and determine whether the external load is in a short circuit state, an open circuit state, or a normal state based on the voltage range in which the second voltage value is located.
[0068] In this application, when the main control device receives a line detection command, it outputs a line detection control signal to the output line detection device, causing the output line detection device to control its own detection circuit to conduct. Then, the main control device obtains the second voltage value of the external load and determines whether the external load is in a short-circuit state, an open-circuit state, or a normal state based on the voltage range of the second voltage value.
[0069] Figure 6 The circuit diagram of the output line testing device provided in this application is as follows: Figure 6 As shown, the output line testing device includes: resistor R108, transistor Q12, resistor R110, resistor R106, MOSFET M20, MOSFET M19, resistor R105, and capacitor C28.
[0070] Resistors R108 and R106 are connected to the second power input terminal, respectively. Resistor R108 is also connected to the collector of transistor Q12 and the gate of MOSFET M20. The emitter of transistor Q12 is grounded. The base of transistor Q12 is connected to resistor R110. Resistor R110 is also connected to the gate of MOSFET M19. The source of MOSFET M20 is also connected to resistor R106. The drain of MOSFET M20 and the source of MOSFET M19 are also connected to capacitor C28, respectively. Capacitor C28 is grounded. The drain of MOSFET M19 is connected to resistor R105. Resistor R105 is also connected to the positive interface of the external load. Figure 6 In this context, IO_CHK is the port for receiving line detection commands.
[0071] When IO_CHK is low, the gate (G) of M19 is 0V, and Q12 is not conducting; the gate (G) and source (S) of M20 are both 3.3V, and M20 is not conducting. Therefore, the drain (D) of M20 and the source (S) of M19 are both 0V, and the gate (G) of M19 is also 0V, so M19 is not conducting either. When a line detection command is received, IO_CHK goes high. At this time, the gate (G) of M19 is 3.3V, Q12 is conducting, and the gate (G) of M20 becomes 0V, so M20 conducts. M19 is an NMOS, and its internal diode has leakage current, so the source (S) voltage of M19 decreases further. The output line detection device forms a loop with the external load. Because R106 and R105 divide the voltage with the external load, the voltage at the AD_CHK terminal is the sum of the voltages of R105 and the external load. When the difference between the gate and source voltages of M19 reaches a certain level, M19 conducts completely. In this configuration, G is the gate, S is the source, and D is the drain.
[0072] To facilitate voltage value acquisition, such as Figure 6 As shown, the connection point between MOSFETs M20 and M19 is the voltage acquisition point AD_CHK. For example, the second power supply input outputs 3.3V, and the voltage divider resistors R105 and R106 are connected in series with the external load. That is, V R105 +V R106 +V 负载= 3.3V. AD_CHK collects the common voltage of R105 and the external load. When the external load is open-circuited, AD_CHK is around 3.3V; when the external load is short-circuited, the external load voltage is 0, and the AD_CHK voltage is around (R105*3.3) / (R106+R105)V. When the external load is normal, the AD_CHK voltage is around (R105+Rload)*3.3 / (R106+R105+Rload)V. Therefore, it can be seen that the voltage range of AD_CHK is different depending on whether the external load is in a short-circuit, open-circuit, or normal state. This indicates that the voltage range of the second voltage value of the external load is also different. Therefore, based on the voltage range of the second voltage value or the voltage range of the collected AD_CHK voltage, it can be determined whether the external load is in a short-circuit, open-circuit, or normal state.
[0073] The output line testing device works by utilizing the principle of voltage divider resistors and external load to divide the 3.3V voltage. When IO_CHK is low, the gate (G) of M19 is 0V, and Q12 is not conducting; the gate (G) and source (S) of M20 are both 3.3V, and M20 is not conducting; therefore, the drain (D) of M20 and the source (S) of M19 are both 0V, and the gate (G) of M19 is 0V, so M19 is also not conducting. When IO_CHK is high, the gate (G) of M19 is 3.3V, Q12 conducts, and the gate (G) of M20 becomes 0V, so M20 conducts. M19 is an NMOS transistor, and its internal diode has leakage current, so the source (S) voltage of M19 decreases. The line detection circuit forms a loop with the external load. Because R106 and R105 divide the voltage with the external load, the voltage at the AD_CHK terminal is the sum of the voltages of R105 and the external load. When the difference between the gate and source voltages of M19 reaches a certain level, M19 conducts completely. Regardless of whether the load is a pulse-type or level-type load, the voltage at the AD_CHK terminal differs when the load is in a short-circuit, open-circuit, or normal state. This is used to detect line faults through a line detection algorithm.
[0074] Regardless of whether the load is a pulse-type load or a level-type load, when the external load is in a short-circuit state, an open-circuit state, or a normal state, the voltage of the AD_CHK port of the line status sampling is in one of the three voltage ranges. Through line detection filtering, the three states can be distinguished. Then, based on the filtering result, the line status at this time is determined. When a line fault occurs, if the same fault state is maintained for 1 minute, the fault event is reported.
[0075] In this application, the main control device is further configured to output a fault alarm message carrying status indication information if it is determined that the external load is in a short-circuit state or in an open-circuit state within a preset time period. Therefore, it can remind management personnel whether the active pulse and level system is providing normal control for the external load. Once the external load is in an open-circuit or short-circuit state, the fault alarm message can remind management personnel to handle the situation promptly.
[0076] In this application, the main control device is further configured to output a second charging control signal to the pump control device if it receives an output control disable command; the pump control device is further configured to charge the energy storage device when it receives the second charging control signal.
[0077] The main control device is further configured to output a third charging control signal to the current surge control device if it is determined that the external load is a level load; the current surge control device is configured to continuously charge the energy storage device upon receiving the third charging control signal. In this application, when it is determined that the external load is a level load and the pump pressure control device is charging the energy storage device, the current surge control device is controlled to continuously charge the energy storage device.
[0078] The main control device is further configured to, if it is determined that the external load is a pulse-type load, upon receiving an output control release command, control the current surge control device to charge the energy storage device based on the charging time and charging current, and control the pump pressure control device to charge the energy storage device; if it is determined that the external load is a level-type load, upon receiving an output control release command, control the pump pressure control device to disconnect the energy storage device from the external load, and control the current surge control device to charge the energy storage device based on the charging time and charging current, and control the pump pressure control device to charge the energy storage device.
[0079] This application combines pulse output and level output functions into one, simplifying the circuit design and significantly reducing circuit costs. Furthermore, the circuit design includes charging control for the energy storage capacitor, preventing current surges in the equipment. It also features the ability to distinguish between pulse-type and level-type external loads, and provides short-circuit and open-circuit fault detection for both types. This application has a wide range of applications, essentially solving the power supply needs of all fire-fighting equipment, simplifying configuration, improving the efficiency of technical briefings and installation, and reducing overall cost and construction costs. The system uses only one large 2200uF (C23) energy storage capacitor, eliminating the need for relay drive circuits and relays. Output control relies solely on MOSFETs, resulting in a simple circuit and significantly reduced costs.
[0080] The main control device in this application can be a microcontroller, such as the CS88M312 microcontroller. The microcontroller realizes the functions of current surge control device, pump pressure control device, and output line detection device through various PWM ports, ADC sampling ports, and general IO control. The microcontroller, the current surge control device, the pump pressure control device, and the output line detection device constitute the entire output system. Figure 7 This is a schematic diagram of the pin configuration of the microcontroller chip provided in this application.
[0081] Figure 7 The active pulse and level system flowchart provided for this application is shown below. Figure 7 As shown, the system first checks for a master start command. If so, the bus output and load output are activated, and pulse-type and level-type loads are detected and judged. If it is a pulse-type load, after discharging for a few seconds, the bus output and load output are turned off. Upon receiving a stop command, the system returns to check for a master start command. If it is a level-type load, the pump control device remains on, continuously outputting 24V. Upon receiving a stop command, the bus output and load output are turned off, and the system returns to check for a master start command. If there is no master start command, the bus output and load output are turned off. Voltage sampling is used to determine if the energy storage capacitor is fully charged. Simultaneously, the output line detection device is activated to detect whether the external load is in a short-circuit, open-circuit, or normal state. If the energy storage capacitor is determined to be fully charged, the bus output and load output are turned off. If the energy storage capacitor is determined not to be fully charged, the current surge control device is activated for the first charging, and the pump control device is activated for the second charging.
[0082] It should be noted that the bus output 24V_VCC is the power supply signal after filtering of the two buses, and PWM_POWER is a switch that controls the output of 24V_VCC. If PWM_POWER is turned off, the subsequent circuits will not have a power source.
[0083] Load output: There is an output to the external load. OUT+ and OUT- are connected to the external load. IO_OUTPUT controls the switch of the output circuit to the external load. When the switch is on, the front-end circuit discharges to the external load. When the switch is off, there is no discharge output.
[0084] Master start-up: Since the active pulse and level system is a node device, it can be considered as a slave device, and the fire alarm controller is the master device. There is a two-bus communication between the master device and the node. The so-called master start-up command means that when there is a control node output requirement on site, or when there is a fire alarm on site, the master device needs to control the slave device output in conjunction with the controller. The master device will send a start command to the slave device through the two-bus communication. After receiving the start command, the slave device will perform the corresponding program control operation and output to the outside.
[0085] Figure 8A flowchart illustrating the workflow of the output line testing equipment provided in this application. Figure 8 As shown, when a line detection command is received, the second voltage value of the external load is obtained through AD sampling. Based on the voltage range of the second voltage value, the line status of the external load is determined, and it is determined whether it is a fault state. Fault states include short circuit state and open circuit state. If it is a fault state, a fault event is reported. If it is not a fault state, the process ends.
[0086] Figure 9 The output control process diagram provided in this application includes the following steps:
[0087] S101: Obtain the first voltage value of the energy storage device in real time. Based on the first voltage value obtained in real time, determine the voltage change rate of the energy storage device. Based on the voltage change rate, determine whether the external load is a pulse-type load or a level-type load. If it is a pulse-type load, proceed to S102. If it is a level-type load, proceed to S103.
[0088] S102: After the energy storage device has finished discharging, output an enable control signal to the pump pressure control device; so that the pump pressure control device controls the energy storage device to disconnect from the external load.
[0089] S103: Output a voltage stabilization control signal to the pump pressure control device; so that the pump pressure control device controls the first voltage value of the energy storage device to be stabilized within a preset range.
[0090] The output control method provided in this application is applied to the master control device in an active pulse and level system.
[0091] The method further includes:
[0092] Based on the first voltage value of the energy storage device, it is determined whether to charge the energy storage device. When it is determined to charge the energy storage device, a first charging control signal is output to the current surge control device. The current surge control device then determines the charging time and charging current based on the first charging control signal, and charges the energy storage device based on the charging time and charging current.
[0093] The method further includes:
[0094] When a line detection command is received, a line detection control signal is output to the output line detection device, causing the output line detection device to control its own detection circuit to conduct; the second voltage value of the external load is obtained, and the external load is determined to be in a short circuit state, an open circuit state, or a normal state based on the voltage range of the second voltage value.
[0095] The method further includes:
[0096] If the external load is determined to be in a short-circuit state or in an open-circuit state within a preset time period, a fault alarm message carrying status indication information is output.
[0097] The method further includes:
[0098] If an output control disable command is received, a second charging control signal is output to the pump pressure control device, causing the pump pressure control device to charge the energy storage device.
[0099] The process of acquiring the first voltage value of the energy storage device in real time, determining the voltage change rate of the energy storage device based on the acquired first voltage value, and determining whether the external load is a pulse-type load or a level-type load based on the voltage change rate includes:
[0100] If an output control enable command is received, an enable control signal is output to the pump pressure control device, so that the pump pressure control device controls the connection between the energy storage device and the external load;
[0101] The first voltage value of the energy storage device is acquired in real time. Based on the acquired first voltage value, the voltage change rate of the energy storage device is determined. If the voltage change rate is determined to be greater than a preset first change rate threshold, the external load is determined to be a pulse load. If the voltage change rate is determined to be less than a preset second change rate threshold, the external load is determined to be a level load. The preset first change rate threshold is greater than the preset second change rate threshold.
[0102] The method further includes:
[0103] If it is determined that the external load is a level load, a third charging control signal is output to the current surge control device, so that the current surge control device continuously charges the energy storage device.
[0104] The method further includes:
[0105] If it is determined that the external load is a pulse-type load, when the output control release command is received, the current impulse control device is controlled to charge the energy storage device based on the charging time and charging current, and the pump pressure control device is controlled to charge the energy storage device.
[0106] If the external load is determined to be a level load, when an output control release command is received, the pump pressure control device controls the energy storage device to disconnect from the external load, and controls the current surge control device to charge the energy storage device based on the charging time and charging current, and controls the pump pressure control device to charge the energy storage device.
[0107] Figure 10The schematic diagram of the output control device provided in this application shows that the device includes:
[0108] The determining unit 201 is used to acquire the first voltage value of the energy storage device in real time, determine the voltage change rate of the energy storage device based on the first voltage value acquired in real time, and determine whether the external load is a pulse-type load or a level-type load based on the voltage change rate.
[0109] The control unit 202 is configured to, if it is determined that the external load is a pulse-type load, output an enable control signal to the pump pressure control device after the energy storage device has discharged; cause the pump pressure control device to disconnect the energy storage device from the external load; if it is determined that the external load is a level-type load, output a voltage stabilization control signal to the pump pressure control device; cause the pump pressure control device to stabilize the first voltage value of the energy storage device within a preset range.
[0110] The control unit 202 is further configured to determine whether to charge the energy storage device based on a first voltage value of the energy storage device, and when it is determined that the energy storage device should be charged, output a first charging control signal to the current surge control device; and cause the current surge control device to determine the charging time and charging current based on the first charging control signal, and charge the energy storage device based on the charging time and charging current.
[0111] The control unit 202 is also configured to, upon receiving a line detection command, output a line detection control signal to the output line detection device, thereby enabling the output line detection device to control its own detection circuit to conduct; acquire the second voltage value of the external load, and determine whether the external load is in a short-circuit state, an open-circuit state, or a normal state based on the voltage range in which the second voltage value is located.
[0112] The control unit 202 is also configured to output a fault alarm message carrying status indication information if it is determined that the external load is in a short circuit state or the external load is in an open circuit state within a preset time period.
[0113] The control unit 202 is further configured to, if it receives an output control disable command, output a second charging control signal to the pump pressure control device, thereby enabling the pump pressure control device to charge the energy storage device.
[0114] The determining unit 201 is further configured to, upon receiving an output control enable command, output an enable control signal to the pump pressure control device, causing the pump pressure control device to control the energy storage device to connect to the external load; acquire a first voltage value of the energy storage device in real time, determine the voltage change rate of the energy storage device based on the acquired first voltage value, and if the voltage change rate is determined to be greater than a preset first change rate threshold, determine that the external load is a pulse-type load; if the voltage change rate is determined to be less than a preset second change rate threshold, determine that the external load is a level-type load; wherein the preset first change rate threshold is greater than the preset second change rate threshold.
[0115] The control unit 202 is further configured to, if it is determined that the external load is a level load, output a third charging control signal to the current surge control device, so that the current surge control device continuously charges the energy storage device.
[0116] The control unit 202 is further configured to, if it is determined that the external load is a pulse-type load, when receiving an output control release command, control the current surge control device to charge the energy storage device based on the charging time and charging current, and control the pump pressure control device to charge the energy storage device; if it is determined that the external load is a level-type load, when receiving an output control release command, control the pump pressure control device to disconnect the energy storage device from the external load, and control the current surge control device to charge the energy storage device based on the charging time and charging current, and control the pump pressure control device to charge the energy storage device.
[0117] This application also provides a master control device, such as... Figure 11 As shown, it includes: processor 301, communication interface 302, memory 303 and communication bus 304, wherein processor 301, communication interface 302 and memory 303 communicate with each other through communication bus 304;
[0118] The memory 303 stores a computer program, which, when executed by the processor 301, causes the processor 301 to perform any of the above method steps.
[0119] The communication bus mentioned in the above-mentioned main control device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0120] Communication interface 302 is used for communication between the main control device and other devices.
[0121] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0122] The processors mentioned above can be general-purpose processors, including central processing units, network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits, field-programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0123] This application also provides a computer-readable storage medium storing a computer program executable by a master control device. When the program is run on the master control device, the master control device executes any of the above method steps.
[0124] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.
[0125] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. An active pulse and level system, characterized in that, The system includes: main control equipment, pump pressure control equipment, energy storage equipment, and current surge control equipment; The main control device is used to acquire the first voltage value of the energy storage device in real time, determine the voltage change rate of the energy storage device based on the first voltage value acquired in real time, and determine whether the external load is a pulse-type load or a level-type load based on the voltage change rate. The main control device is further configured to, if it is determined that the external load is a pulse-type load, output a disabling control signal to the pump pressure control device after the energy storage device has finished discharging; the pump pressure control device is configured to, upon receiving the disabling control signal, control the energy storage device to disconnect from the external load. The main control device is further configured to output a voltage stabilization control signal to the pump pressure control device if it is determined that the external load is a level load; the pump pressure control device is further configured to control the first voltage value of the energy storage device to stabilize within a preset range when it receives the voltage stabilization control signal. The main control device is further configured to determine whether to charge the energy storage device based on the first voltage value of the energy storage device, and when it is determined that the energy storage device should be charged, output a first charging control signal to the current surge control device; the current surge control device is configured to determine the charging time and charging current based on the first charging control signal, and charge the energy storage device based on the charging time and charging current. The main control device is also used to, if it is determined that the external load is a pulse-type load, when receiving an output control release command, control the current surge control device to charge the energy storage device based on the charging time and charging current, and control the pump pressure control device to charge the energy storage device. If the external load is determined to be a level load, when an output control release command is received, the pump pressure control device controls the energy storage device to disconnect from the external load, and controls the current surge control device to charge the energy storage device based on the charging time and charging current, and controls the pump pressure control device to charge the energy storage device.
2. The system as described in claim 1, characterized in that, The system also includes: an output line detection device; The main control device is also used to output a line detection control signal to the output line detection device when it receives a line detection command; the output line detection device is used to control its own detection circuit to be turned on when it receives the line detection control signal. The main control device is also used to acquire the second voltage value of the external load, and determine whether the external load is in a short circuit state, an open circuit state, or a normal state based on the voltage range in which the second voltage value is located.
3. The system as described in claim 2, characterized in that, The main control device is also used to output a fault alarm message carrying status indication information if it determines that the external load is in a short circuit state or the external load is in an open circuit state within a preset time period.
4. The system as described in claim 1, characterized in that, The main control device is further configured to output a second charging control signal to the pump pressure control device if it receives an output control disable command; the pump pressure control device is further configured to charge the energy storage device when it receives the second charging control signal.
5. The system as described in claim 1, characterized in that, The main control device is specifically used to output an enable control signal to the pump pressure control device if it receives an output control enable command, so that the pump pressure control device controls the energy storage device to connect with the external load. The first voltage value of the energy storage device is acquired in real time. Based on the acquired first voltage value, the voltage change rate of the energy storage device is determined. If the voltage change rate is determined to be greater than a preset first change rate threshold, the external load is determined to be a pulse load. If the voltage change rate is determined to be less than a preset second change rate threshold, the external load is determined to be a level load. The preset first change rate threshold is greater than the preset second change rate threshold.
6. The system as described in claim 4, characterized in that, The main control device is further configured to output a third charging control signal to the current surge control device if it is determined that the external load is a level load; the current surge control device is configured to continuously charge the energy storage device when it receives the third charging control signal.
7. The system as described in claim 4, characterized in that, The energy storage device includes an energy storage capacitor C23; the pump pressure control device includes: an inductor L3, a MOSFET M11, a diode D8, a resistor R84, a resistor R85, a capacitor C26, a resistor R102, a MOSFET M21, a transistor Q11, a resistor R103, and a resistor R104. The inductor L3 is connected to the anode of the diode D8 and the drain of the MOSFET M11. The gate of the MOSFET M11 is used to receive the second charging control signal. The source of the MOSFET M11 is grounded. The cathode of the diode D8 is connected to the resistor R84, the energy storage capacitor C23, the resistor R102, and the source of the MOSFET M21. The resistor R84 is also connected to the resistor R85 and the capacitor C26. The resistor R85, the capacitor C26, and the energy storage capacitor C23 are grounded and connected to the negative interface of the external load. The gate of the MOSFET M21 is connected to the resistor R102 and the collector of the transistor Q11. The drain of the MOSFET M21 is connected to the positive interface of the external load. The emitter of the transistor Q11 is connected to the resistor R103. The base of the transistor Q11 is connected to the resistor R104. The base of the transistor Q11 is used to receive the disable control signal and the enable control signal.
8. The system as described in claim 7, characterized in that, The current surge control device includes: resistor R101, MOSFET M15, transistor Q4, and resistor R100; The source of resistor R101 and MOSFET M15 are respectively connected to the first power input terminal. The gate of resistor R101 and MOSFET M15 are also connected to the collector of transistor Q4. The emitter of transistor Q4 is grounded. The drain of MOSFET M15 is connected to inductor L3. The base of transistor Q4 is used to receive the first charging control signal or the third charging control signal.
9. The system as described in claim 2, characterized in that, The output line testing equipment includes: resistor R108, transistor Q12, resistor R110, resistor R106, MOSFET M20, MOSFET M19, resistor R105, and capacitor C28. Resistors R108 and R106 are connected to the second power input terminal, respectively. Resistor R108 is also connected to the collector of transistor Q12 and the gate of MOSFET M20. The emitter of transistor Q12 is grounded. The base of transistor Q12 is connected to resistor R110. Resistor R110 is also connected to the gate of MOSFET M19. The source of MOSFET M20 is also connected to resistor R106. The drain of MOSFET M20 and the source of MOSFET M19 are also connected to capacitor C28, respectively. Capacitor C28 is grounded. The drain of MOSFET M19 is connected to resistor R105. Resistor R105 is also connected to the positive interface of the external load.
10. An output control method, characterized in that, The method includes: The first voltage value of the energy storage device is acquired in real time. Based on the first voltage value acquired in real time, the voltage change rate of the energy storage device is determined. Based on the voltage change rate, it is determined whether the external load is a pulse-type load or a level-type load. If the external load is determined to be a pulse-type load, after the energy storage device has finished discharging, a disabling control signal is output to the pump pressure control device; causing the pump pressure control device to disconnect the energy storage device from the external load. If it is determined that the external load is a level load, a voltage regulation control signal is output to the pump pressure control device; so that the pump pressure control device controls the first voltage value of the energy storage device to be stabilized within a preset range. The method further includes: Based on the first voltage value of the energy storage device, it is determined whether to charge the energy storage device. When it is determined to charge the energy storage device, a first charging control signal is output to the current surge control device. The current surge control device then determines the charging time and charging current based on the first charging control signal, and charges the energy storage device based on the charging time and charging current. If it is determined that the external load is a pulse-type load, when the output control release command is received, the current impulse control device is controlled to charge the energy storage device based on the charging time and charging current, and the pump pressure control device is controlled to charge the energy storage device. If the external load is determined to be a level load, when an output control release command is received, the pump pressure control device controls the energy storage device to disconnect from the external load, and controls the current surge control device to charge the energy storage device based on the charging time and charging current, and controls the pump pressure control device to charge the energy storage device.
11. The method as described in claim 10, characterized in that, The method further includes: When a line detection command is received, a line detection control signal is output to the output line detection device, causing the output line detection device to control its own detection circuit to conduct; the second voltage value of the external load is obtained, and the external load is determined to be in a short circuit state, an open circuit state, or a normal state based on the voltage range of the second voltage value.
12. The method as described in claim 11, characterized in that, The method further includes: If the external load is determined to be in a short-circuit state or in an open-circuit state within a preset time period, a fault alarm message carrying status indication information is output.
13. The method as described in claim 10, characterized in that, The method further includes: If an output control disable command is received, a second charging control signal is output to the pump pressure control device, causing the pump pressure control device to charge the energy storage device.
14. The method as described in claim 10, characterized in that, The process of acquiring the first voltage value of the energy storage device in real time, determining the voltage change rate of the energy storage device based on the acquired first voltage value, and determining whether the external load is a pulse-type load or a level-type load based on the voltage change rate includes: If an output control enable command is received, an enable control signal is output to the pump pressure control device, so that the pump pressure control device controls the connection between the energy storage device and the external load; The first voltage value of the energy storage device is acquired in real time. Based on the acquired first voltage value, the voltage change rate of the energy storage device is determined. If the voltage change rate is determined to be greater than a preset first change rate threshold, the external load is determined to be a pulse load. If the voltage change rate is determined to be less than a preset second change rate threshold, the external load is determined to be a level load. The preset first change rate threshold is greater than the preset second change rate threshold.
15. The method as described in claim 10, characterized in that, The method further includes: If it is determined that the external load is a level load, a third charging control signal is output to the current surge control device, so that the current surge control device continuously charges the energy storage device.
16. An output control device, characterized in that, The device includes: The determination unit is used to acquire the first voltage value of the energy storage device in real time, determine the voltage change rate of the energy storage device based on the first voltage value acquired in real time, and determine whether the external load is a pulse-type load or a level-type load based on the voltage change rate. The control unit is configured to, if it is determined that the external load is a pulse-type load, output an enable control signal to the pump pressure control device after the energy storage device has discharged; cause the pump pressure control device to disconnect the energy storage device from the external load; if it is determined that the external load is a level-type load, output a voltage regulation control signal to the pump pressure control device; cause the pump pressure control device to stabilize the first voltage value of the energy storage device within a preset range. The control unit is further configured to determine whether to charge the energy storage device based on a first voltage value of the energy storage device; when it is determined that the energy storage device should be charged, the control unit outputs a first charging control signal to the current surge control device; and the current surge control device determines the charging time and charging current based on the first charging control signal, and charges the energy storage device based on the charging time and charging current. The control unit is further configured to, if it is determined that the external load is a pulse-type load, upon receiving an output control release command, control the current surge control device to charge the energy storage device based on the charging time and charging current, and control the pump pressure control device to charge the energy storage device; if it is determined that the external load is a level-type load, upon receiving an output control release command, control the pump pressure control device to disconnect the energy storage device from the external load, and control the current surge control device to charge the energy storage device based on the charging time and charging current, and control the pump pressure control device to charge the energy storage device.
17. A master control device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the steps of the method described in any one of claims 10-15.
18. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method described in any one of claims 10-15.