A circuit for operating a data storage unit
Patent Information
- Application Number
- CN202522103191.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-29
- Publication Date
- 2026-09-15
- Estimated Expiration
- 2035-09-29
AI Technical Summary
[0003]现有的运行数据存在单元不具备断电检测功能,当出现火灾报警控制器关机时,无法获取关机记录
[0007] With the adoption of this utility model, a shutdown detection unit is added. The conduction of the Zener diode ZD1 is used to detect the working voltage DC+ of the fire alarm controller. When DC+ is lower than a certain voltage, it is considered to be shut down. The shutdown detection unit sends a shutdown signal to the control unit to achieve the recording function.
Smart Images

Figure CN224758920U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of fire alarm circuit technology, specifically a circuit for operating a data storage unit. Background Technology
[0002] The data storage unit of the fire alarm controller is far more than a simple "recorder" in a fire alarm system. It is a core component of the entire fire alarm system, and its benefits are reflected in multiple aspects such as accident tracing, operation and maintenance management, system reliability improvement, and even legal liability determination.
[0003] The existing operational data shows that the unit does not have a power failure detection function, and when the fire alarm controller is shut down, the shutdown record cannot be obtained. Summary of the Invention
[0004] To solve the above-mentioned technical problems, this utility model provides a circuit for running a data storage unit that can detect the shutdown of a fire alarm controller.
[0005] The technical solution is as follows: A circuit for operating a data storage unit, comprising a control unit, a storage unit, an interface unit, and a power supply unit, characterized in that it further comprises a power-off detection unit, wherein the power-off detection unit comprises transistors Q101 and Q102, the base of transistor Q101 is connected to one end of resistor R604 and the collector of transistor Q102, the collector of transistor Q102 is connected to one end of resistor R603, capacitor C3 and the control unit, and the other end of resistor R603 is connected to... The other end of resistor R604 is connected to a 3.3V power supply. The base of transistor Q102 is connected to one end of resistor R605 and one end of resistor R606. The other end of resistor R605 is connected to one end of capacitor C111 and the anode of Zener diode ZD1. The cathode of Zener diode ZD1 is supplied with the working voltage DC+ of the fire alarm controller. The other ends of capacitor C111, resistor R606, capacitor C3, the emitter of transistor Q101, and the emitter of transistor Q102 are all grounded.
[0006] A further feature is that the control unit includes a microcontroller U1 and its peripheral circuits, wherein the microcontroller U1 is an STM32F103C8T6; The storage unit includes a storage chip U2, model W25N02. Pin 1 of the storage chip U2 is connected to pin 25 of the microcontroller U1 and one end of resistor R303; pin 2 is connected to pin 27 of the microcontroller U1; pin 3 is connected to a 3.3V power supply; pin 4 is grounded; pin 5 is connected to pin 28 of the microcontroller U1; pin 6 is connected to pin 26 of the microcontroller U1; and pins 7 and 8 are connected together and connected to the 3.3V power supply and the other end of resistor R303. The power supply unit includes a voltage regulator chip U5, which converts VCC into a 3.3V power supply. The interface unit includes a host computer interface circuit and a fire alarm communication interface circuit. The host computer interface circuit includes a host computer interface J2, and the fire alarm communication interface circuit includes a fire alarm communication interface J3 and a transceiver chip U3.
[0007] With the adoption of this utility model, a shutdown detection unit is added. The conduction of the Zener diode ZD1 is used to detect the working voltage DC+ of the fire alarm controller. When DC+ is lower than a certain voltage, it is considered to be shut down. The shutdown detection unit sends a shutdown signal to the control unit to achieve the recording function. Attached Figure Description
[0008] Figure 1 This is a circuit schematic diagram of the control unit and storage unit of this utility model; Figure 2 This is the schematic diagram of the power supply unit circuit. Figure 3 This is the schematic diagram of the interface unit circuit. Figure 4 This is a shutdown detection unit. Detailed Implementation
[0009] See Figures 1 to 4 As shown, a circuit for operating a data storage unit includes a control unit, a storage unit, an interface unit, a power supply unit, and a shutdown detection unit.
[0010] The control unit includes a microcontroller U1 and its peripheral circuits. The microcontroller U1 is an STM32F103C8T6. The storage unit includes a storage chip U2, model W25N02. Pin 1 of the storage chip U2 is connected to pin 25 of the microcontroller U1 and one end of resistor R303. Pin 2 is connected to pin 27 of the microcontroller U1. Pin 3 is connected to a 3.3V power supply. Pin 4 is grounded. Pin 5 is connected to pin 28 of the microcontroller U1. Pin 6 is connected to pin 26 of the microcontroller U1. Pins 7 and 8 are connected together and connected to the 3.3V power supply and the other end of resistor R303.
[0011] The power supply unit includes a voltage regulator chip U5, which converts VCC to a 3.3V power supply.
[0012] The interface unit includes a host computer interface circuit and a fire alarm communication interface circuit. The host computer interface circuit includes a host computer interface J2. Pin A5 of the host computer interface J2 is grounded through resistor R601, pin B5 is grounded through resistor R602, pins A4 and A9 are connected to the anode of diode D101, and the cathode of diode D101 is connected to VCC. Pins A7 and B7 of the host computer interface J2 are connected to one end of resistor R1, and the other end of resistor R1 is connected to pin 32 of microcontroller U1. Pins A6 and B6 of the host computer interface J2 are connected to one end of resistor R2, and the other end of resistor R2 is connected to pin 33 of microcontroller U1 and one end of resistor R305. The other end of resistor R305 is connected to pin 3. The fire alarm communication interface circuit includes a fire alarm communication interface J3 and a transceiver chip U3. Pin 1 of the transceiver chip U3 is connected to pins 13, 2, and 3 of the microcontroller U1, and is connected to one end of resistor R304 and pin 16 of the microcontroller U1. Pin 4 is connected to pin 12 of the microcontroller U1, pin 5 is grounded, pin 6 is connected to one end of resistor R101, pin 7 is connected to one end of resistor R102, and pin 8 is connected to a 3.3V power supply. The other ends of resistor R101 and resistor R102 are connected to pins 4 and 3 of the fire alarm communication interface J3, respectively. Pin 2 of the fire alarm communication interface J3 is connected to VCC through a diode, pin 1 is grounded, and pin 5 is the operating voltage.
[0013] The shutdown detection unit includes transistors Q101 and Q102. The base of transistor Q101 is connected to one end of resistor R604 and the collector of transistor Q102. The collector of transistor Q101 is connected to one end of resistor R603, capacitor C3, and pin 29 of microcontroller U1. The other ends of resistors R603 and R604 are both connected to a 3.3V power supply. The base of transistor Q102 is connected to one end of resistor R605 and one end of resistor R606. The other end of resistor R605 is connected to one end of capacitor C111 and the anode of Zener diode ZD1. The cathode of Zener diode ZD1 is supplied with the DC operating voltage of the fire alarm controller. +, the other end of capacitor C111, the other end of resistor R606, the other end of capacitor C3, the emitter of transistor Q101, and the emitter of transistor Q102 are all grounded; the forward voltage of Zener diode ZD1 is 15V. When the normal operating voltage at DC+ is 24V, Zener diode ZD1 breaks down in reverse, and transistors Q101 and Q102 work normally. When the voltage at DC+ is less than 15V, Zener diode ZD1 conducts in the forward direction, transistor Q102 does not work, and transistor Q101 operates from a 3.3V power supply. A shutdown signal is sent from transistor Q101 to microcontroller U1 to realize shutdown recording.
Claims
1. A circuit for operating a data storage unit, comprising a control unit, a storage unit, an interface unit, and a power supply unit, characterized in that, The system also includes a shutdown detection unit, which comprises transistors Q101 and Q102. The base of transistor Q101 is connected to one end of resistor R604 and the collector of transistor Q102. The collector of transistor Q101 is connected to one end of resistor R603, capacitor C3, and the control unit. The other ends of resistors R603 and R604 are both connected to a 3.3V power supply. The base of transistor Q102 is connected to one end of resistor R605 and one end of resistor R606. The other end of resistor R605 is connected to one end of capacitor C111 and the anode of Zener diode ZD1. The cathode of Zener diode ZD1 is supplied with the fire alarm controller's operating voltage DC+. The other ends of capacitor C111, resistor R606, capacitor C3, the emitter of transistor Q101, and the emitter of transistor Q102 are all grounded.
2. The circuit for operating a data storage unit according to claim 1, characterized in that, The control unit includes a microcontroller U1 and its peripheral circuits. The microcontroller U1 is an STM32F103C8T6.
3. The circuit for operating a data storage unit according to claim 2, characterized in that, The storage unit includes a storage chip U2, model W25N02. Pin 1 of the storage chip U2 is connected to pin 25 of the microcontroller U1 and one end of resistor R303; pin 2 is connected to pin 27 of the microcontroller U1; pin 3 is connected to a 3.3V power supply; pin 4 is grounded; pin 5 is connected to pin 28 of the microcontroller U1; pin 6 is connected to pin 26 of the microcontroller U1; and pins 7 and 8 are connected together and connected to the 3.3V power supply and the other end of resistor R303.
4. The circuit for operating a data storage unit according to claim 1, characterized in that, The power supply unit includes a voltage regulator chip U5, which converts VCC into a 3.3V power supply.
5. The circuit for operating a data storage unit according to claim 1, characterized in that, The interface unit includes a host computer interface circuit and a fire alarm communication interface circuit. The host computer interface circuit includes a host computer interface J2, and the fire alarm communication interface circuit includes a fire alarm communication interface J3 and a transceiver chip U3.