Low-power-consumption timing and early warning equipment and fault detection method thereof
Through the cooperation of capacitor energy storage circuit and STM8L microcontroller, the existing timing warning equipment has high power consumption and single time scheme, and the flexible time scheme and progressive alarm of low-power timing warning equipment is realized.
Patent Information
- Application Number
- CN202510641024.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-19
- Publication Date
- 2025-08-08
AI Technical Summary
The existing timing warning equipment consumes high power, cannot distinguish the different validity periods of materials, and lacks flexible time schemes and alarm mechanisms.
The capacitor energy storage circuit is used to cooperate with the STM8L microcontroller to achieve low power consumption power supply, and the progressive alarm of green, yellow and red LED lights is combined with the mode switching module and the timing module to adapt to the time needs of different material cycles.
It realizes low-power timing warning, can switch time plans according to demand, and conducts gradual alarms when materials expire and severely exceed their deadlines, making it easy to use.
Smart Images

Figure CN120452154A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of timing warning technology, and in particular to a low-power timing warning device and a fault detection method thereof. Background Art
[0002] Timing warning equipment is mainly used for material validity period management, equipment maintenance cycle reminders, and safety equipment timeliness monitoring. There are two types of timing warning devices in the existing technology: mechanical timers and electronic timers. Mechanical timers use a spring or gear mechanical structure, set the time through a physical dial, and trigger a mechanical alarm after the expiration. Its time scheme is fixed and only supports a single state prompt, and cannot distinguish between "approaching expiration" and "severely overdue". Electronic timers have a single function and only support a single set of time schemes. They cannot adapt to the differentiated needs of different materials, and also cannot distinguish between "approaching expiration" and "severely overdue". They lack low-power design and require frequent battery replacement. Based on the above situation, the present invention proposes a low-power timing warning device and a fault detection method thereof. Summary of the Invention
[0003] Based on the technical problems existing in the background technology, the present invention proposes a low-power timing warning device and a fault detection method thereof.
[0004] The present invention provides a low-power timing warning device, including a timing warning device body, wherein the timing warning device body includes: The timing warning device housing has a hardware layer, an interaction layer, and a display layer installed thereon; The hardware layer includes a circular pressing area, which includes a waterproof silicone button, a guide sleeve, a T-shaped pressing rod, a stainless steel contact, a spring, a pressure sensor, and a capacitor energy storage circuit. The capacitor energy storage circuit is electrically connected to the pressure sensor, the interaction layer, and the display layer. The interaction layer includes an STM8L single-chip microcomputer, a mode switching module, an LED driver module and a timing module, and the timing module is embedded and fixed on the front side of the timing warning device housing; The display layer includes a green LED light, a yellow LED light and a red LED light; The green LED lamp, yellow LED lamp and red LED lamp are all electrically connected to the LED driver module, the mode switching module is connected to the STM8L single-chip microcomputer and the LED driver module, the STM8L single-chip microcomputer is connected to the LED driver module and the timing module, and the pressure sensor is connected to the STM8L single-chip microcomputer.
[0005] Preferably, the waterproof silicone button is sealed and movably embedded in the front side of the timing warning device housing, the capacitor energy storage circuit is fixedly connected to the bottom inner wall of the timing warning device housing, the guide sleeve is fixedly connected to the front inner wall of the timing warning device housing, the T-shaped guide rod is slidingly sleeved in the guide sleeve, the stainless steel contact is fixedly connected to the rear end of the T-shaped guide rod, the front side of the T-shaped guide is bonded and fixed to the rear side of the waterproof silicone button, the pressure sensor is fixedly connected to the top of the capacitor energy storage circuit, the stainless steel contact is located on the front side of the touch end of the pressure sensor and cooperates with it, the spring is movably sleeved on the T-shaped guide rod, and the front and rear ends of the spring are respectively fixedly connected to the front inner wall of the T-shaped guide rod and the front side of the guide sleeve.
[0006] Preferably, the STM8L single-chip microcomputer, mode switching module, LED driver module, timing module, green LED light, yellow LED light and red LED light constitute a timing warning circuit, and the timing warning circuit includes a chip U1, pin 1 of the chip U1 is electrically connected to one end of the capacitor C1, the other end of the capacitor C1 and the pin 8 of the chip U1 are grounded, the pin 2 of the chip U1 is electrically connected to one end of the crystal oscillator X1 and one end of the capacitor C2, the other end of the crystal oscillator X1 is electrically connected to the pin 3 of the chip U1, the pin 3 of the chip U1 is electrically connected to one end of the capacitor C3, the other end of the capacitor C3 and the other end of the capacitor C2 are both grounded, and the pin 4 of the chip U1 is electrically connected to the capacitor C3. One end of the switch K1 is electrically connected, and the other end of the switch K1 is grounded. Pin 4 of the chip U1 is also electrically connected to one end of the resistor R1, and the other end of the resistor R1 is electrically connected to the backup battery voltage VBAT. Pins 5, 6, and 7 of the chip U1 are electrically connected to one end of the resistor R4, one end of the resistor R3, and one end of the resistor R2, respectively. The other ends of the resistor R4, the other ends of the resistor R3, and the other ends of the resistor R2 are electrically connected to one end of the red LED lamp 3, one end of the yellow LED lamp 2, and one end of the green LED lamp 1, respectively. The other ends of the red LED lamp 3, the other ends of the yellow LED lamp 2, and the other ends of the green LED lamp 1 are all grounded.
[0007] Preferably, the capacitor energy storage circuit includes a voltage stabilizing chip U4, pin 1 of the voltage stabilizing chip U4 is electrically connected to one end of the capacitor C4, one end of the resistor R5 and one end of the electrolytic capacitor U2, the other end of the resistor R5 and the pin 1 of the voltage stabilizing chip U4 are both electrically connected to a 5V voltage, pin 2 of the voltage stabilizing chip U4 is electrically connected to the other end of the capacitor C4 and the other end of the electrolytic capacitor U2, pin 2 of the voltage stabilizing chip U4 is grounded, pin 3 of the voltage stabilizing chip U2 is electrically connected to one end of the capacitor C5 and one end of the electrolytic capacitor U3, pin 4 of the voltage stabilizing chip U2 is electrically connected to the other end of the capacitor C5 and the other end of the electrolytic capacitor U3, pin 4 of the voltage stabilizing chip U2 is electrically connected to one end of the resistor R6, and the other end of the resistor R6 and pin 4 of the voltage stabilizing chip U2 are both grounded.
[0008] Preferably, the STM8L single chip microcomputer is used to realize press counting, and the waterproof silicone button press counts only when the interval is less than 0.5 seconds, otherwise it is not counted, thereby achieving the purpose of preventing accidental touch operations.
[0009] Preferably, the pressing stroke of the waterproof silicone button is 0.5-1.2mm. When the waterproof silicone button is pressed quickly and continuously for 3 times, the timing module resets the time to zero and restarts the timing. The green LED light and the yellow LED light flash 3 times with an interval of 0.5 seconds. When the waterproof silicone button is pressed quickly and continuously for 5 times, the time resets to zero and restarts the timing. At the same time, the trigger mode switching module switches to another time scheme. The green LED light, the yellow LED light and the red LED light flash 3 times with an interval of 0.5 seconds. The waterproof silicone button is pressed continuously for 3 seconds, and the green LED light is on continuously for 3 seconds, which is used to detect the status of the timing warning device.
[0010] Preferably, after the waterproof silicone button is pressed five times in succession, the mode switching module performs the following operations: (1) the green LED light, the yellow LED light and the red LED light flash three times at intervals of 0.5 seconds, switching to another time scheme; (2) Adjust the preset time threshold from T1 to T2, for example, switch the default 6-month threshold to 3 months and the 1-year threshold to 6 months.
[0011] Preferably, the time period of the timing module is divided into two levels, namely "time expiration" and "serious overdue"; when the timing is 1 month, it enters "time expiration", the yellow LED light 2 flashes and lights up, and continues to light up for 3 months, and enters "serious overdue", the yellow LED light 2 goes out, and the red LED light 3 flashes and lights up until someone operates it and it will continue to light up. The lighting mechanism is to flash once every 3 seconds / 0.5 seconds, and two sets of time schemes are stored, which can be switched by pressing the button 5 times in succession. The scheme can be adjusted according to needs, and it is a non-fixed mechanism. For example: Scheme 1 is: 1 month is time expiration, 3 months is serious overdue; Scheme 2: 2 months are time expiration, 5 months is serious overdue.
[0012] The present invention also proposes a fault detection method for a low-power timing warning device, comprising the following steps: S1: The entire timing warning device is powered by a capacitor energy storage circuit. Before use, the power supply of the timing warning device is first tested by continuously pressing the waterproof silicone button for 3 seconds. Then, the waterproof silicone button is pressed backward and continuously. The waterproof silicone button drives the T-shaped guide rod to slide backward in the guide sleeve. The T-shaped guide rod compresses the spring backward. The T-shaped guide rod drives the stainless steel contact to press the pressure sensor backward. The pressure sensor detects the pressing force and transmits it to the STM8L microcontroller. When the STM8L microcontroller detects that the pressing force lasts for 3 seconds, it feeds the information back to the LED driver module. When the power supply is normal, the LED driver module controls the green LED light to stay on for 3 seconds and then goes out. If the green LED light does not light up, it proves that the capacitor energy storage circuit is faulty and the timing warning device is not powered. S2: Test the timing reset function: Quickly press the waterproof silicone button three times. The STM8L microcontroller counts the number of presses and feeds the count result back to the LED driver module and timing module. Under normal conditions, the timing module resets the time and restarts the timing. At the same time, the green LED and yellow LED flash three times with an interval of 0.5 seconds. The status of the green LED, yellow LED, and timing module can be used to determine whether the timing reset function is normal. S3: Perform time scheme switching function test: Pre-store two time schemes in the timing warning device through the timing module: Scheme 1: 1 month is time expiration and 3 months is serious overdue; Scheme 2: 2 months is time expiration and 5 months is serious overdue. Quickly press the waterproof silicone button 5 times. The STM8L microcontroller feeds the counting result back to the mode switching module. The mode switching module controls the green LED, yellow LED and red LED lights through the LED driver module to flash 3 times at 0.5 second intervals and switch to another time scheme at the same time. Under normal conditions, the time scheme is switched successfully and the green LED, yellow LED and red LED lights are normally on. Otherwise, there is a fault. S4: Test the timing alarm function: At this time, the time scheme set on the timing warning device body is scheme 1 in S3. The timing module counts for 1 month and enters the "time expiration" stage. The LED driver module controls the yellow LED light to flash and light up continuously for 3 months and enter the "serious overdue" stage. The yellow LED light goes out and the red LED light flashes and lights up continuously until someone operates it. The lighting mechanism flashes once every 3 seconds / 0.5 seconds. By observing the LED status in stages, it is determined whether the timing alarm function is faulty. During the test, the crystal oscillator X1 can be replaced with an adjustable clock source to speed up the test. S5: Use the timing warning device body for timing warning: According to the use requirements, after switching the time plan by pressing the waterproof silicone button 5 times, the timing module starts in time. When entering the "time expiration" state, the LED driver module controls the yellow LED light to flash and light up, and continues to light up for 3 months. When entering the "serious overdue" state, the yellow LED light goes out and the red LED light flashes and lights up to remind personnel, thereby achieving the purpose of timing warning.
[0013] Compared with the existing technology, the beneficial effects of the present invention are: The present invention cooperates with a capacitor energy storage circuit and an STM8L single-chip microcomputer to realize press-to-power supply without continuously consuming battery power, thereby achieving the purpose of low power consumption. It can also switch time plans according to usage requirements and adapt to different material cycles. In addition, through the cooperation of a timing module and an LED driver module, it can alarm when "time expires" and "severely overdue", realizing progressive alarm and facilitating use by personnel. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 This is a structural diagram of a low-power timing warning device proposed by the present invention; Figure 2 This is a partial top-down cross-sectional structural diagram of a low-power timing warning device proposed by the present invention; Figure 3 This is a block diagram of a low-power timing warning device proposed by the present invention; Figure 4 This is a circuit diagram of a timing warning circuit in a low-power timing warning device proposed by the present invention; Figure 5 This is a circuit diagram of a capacitor energy storage circuit in a low-power timing warning device proposed by the present invention; Figure 6 This is a flow chart of a fault detection method for a low-power timing warning device proposed by the present invention.
[0015] In the figure: 100, timing warning device housing; 1, green LED light; 2, yellow LED light; 3, red LED light; 4, waterproof silicone button; 5, capacitor energy storage circuit; 6, pressure sensor; 7, T-shaped guide rod; 8, guide sleeve; 9, spring; 10, stainless steel contact. DETAILED DESCRIPTION
[0016] The present invention will be further explained below with reference to specific embodiments. Example
[0017] Reference Figure 1-6 This embodiment provides a low-power timing warning device, including a timing warning device body, which includes: The timing warning device housing 100 has a hardware layer, an interaction layer, and a display layer installed thereon; The hardware layer includes a circular pressing area, which includes a waterproof silicone button 4, a guide sleeve 8, a T-shaped pressing rod 7, a stainless steel contact 10, a spring 9, a pressure sensor 6, and a capacitive energy storage circuit 5. The capacitive energy storage circuit 5 is electrically connected to the pressure sensor 6, the interaction layer, and the display layer. The capacitor energy storage circuit 5 includes a voltage stabilizing chip U4, wherein pin 1 of the voltage stabilizing chip U4 is electrically connected to one end of the capacitor C4, one end of the resistor R5, and one end of the electrolytic capacitor U2, and the other end of the resistor R5 and pin 1 of the voltage stabilizing chip U4 are both electrically connected to a 5V voltage, pin 2 of the voltage stabilizing chip U4 is electrically connected to the other end of the capacitor C4 and the other end of the electrolytic capacitor U2, pin 2 of the voltage stabilizing chip U4 is grounded, pin 3 of the voltage stabilizing chip U2 is electrically connected to one end of the capacitor C5 and one end of the electrolytic capacitor U3, pin 4 of the voltage stabilizing chip U2 is electrically connected to the other end of the capacitor C5 and the other end of the electrolytic capacitor U3, pin 4 of the voltage stabilizing chip U2 is electrically connected to one end of the resistor R6, and the other end of the resistor R6 and pin 4 of the voltage stabilizing chip U2 are both grounded; Among them, the waterproof silicone button 4 is sealed and movably embedded in the front side of the timing and warning device housing 100, the capacitor energy storage circuit 5 is fixedly connected to the bottom inner wall of the timing and warning device housing 100, the guide sleeve 8 is fixedly connected to the front inner wall of the timing and warning device housing 100, the T-shaped guide rod 7 is slidably sleeved in the guide sleeve 8, the stainless steel contact 10 is fixedly connected to the rear end of the T-shaped guide rod 7, the front side of the T-shaped guide 7 is bonded and fixed to the rear side of the waterproof silicone button 4, the pressure sensor 6 is fixedly connected to the top of the capacitor energy storage circuit 5, the stainless steel contact 10 is located at the front side of the touch end of the pressure sensor 6 and cooperates with it, the spring 9 is movably sleeved on the T-shaped guide rod 7, and the front and rear ends of the spring 9 are respectively fixedly connected to the front inner wall of the T-shaped guide rod 7 and the front of the guide sleeve 8; The interaction layer includes an STM8L microcontroller, a mode switching module, an LED driver module, and a timing module. The timing module is embedded and fixed on the front side of the timing warning device housing 100. The STM8L microcontroller is used to implement press counting. The waterproof silicone button 4 is counted only when the press interval is less than 0.5 seconds, otherwise it is not counted, thus preventing accidental touch operations. The program code during the operation of the STM8L microcontroller is as follows: mermaid graph TD A[circular pressing area] --> B{STM8L MCU detects the number of presses} B -->|3 times| C[Timing module reset] B -->|5 times| D[Mode switching module performs mode switching] D --> E[LED flashing feedback] E --> F[Time threshold dynamic adjustment] End; The pressing stroke of the waterproof silicone button 4 is 0.5-1.2mm. Press the waterproof silicone button 4 three times in succession and quickly, the timing module will reset to zero and restart the timing. The green LED light 1 and the yellow LED light 2 will flash three times with an interval of 0.5 seconds. Press the waterproof silicone button 4 five times in succession and quickly, the time will reset to zero and restart the timing. At the same time, the trigger mode switching module will switch to another time scheme. The green LED light 1, the yellow LED light 2 and the red LED light 3 will flash three times with an interval of 0.5 seconds. The waterproof silicone button 4 will be pressed continuously for 3 seconds, and the green LED light 1 will be on continuously for 3 seconds. This is used to detect the status of the timing warning device. After the waterproof silicone button 4 is pressed five times in succession, the mode switching module performs the following operations: (1) the green LED 1, the yellow LED 2, and the red LED 3 three-color LEDs flash three times at 0.5 second intervals, switching to another time scheme; , adjust the preset time threshold from T1 to T2, for example, switch the default 6-month threshold to 3 months, and the 1-year threshold to 6 months; The time period of the timing module is divided into two levels, namely "time expiration" and "serious overdue". After counting for 1 month, it enters "time expiration", and the yellow LED light 2 flashes and lights up. It will continue to light up until 3 months, and then enter "serious overdue". The yellow LED light 2 goes out and the red LED light 3 flashes and lights up until someone operates it and it will continue to light up. The lighting mechanism flashes once every 3 seconds / 0.5 seconds, and two sets of time plans are stored. They can be switched by pressing the button 5 times in succession. The plan can be adjusted according to needs and is not a fixed mechanism. For example, Plan 1 is: 1 month is time expiration and 3 months is serious overdue; Plan 2: 2 months are time expiration and 5 months is serious overdue. The display layer includes a green LED light 1, a yellow LED light 2, and a red LED light 3; The green LED light 1, the yellow LED light 2 and the red LED light 3 are all electrically connected to the LED driver module, the mode switching module is connected to the STM8L microcontroller and the LED driver module, the STM8L microcontroller is connected to the LED driver module and the timing module, and the pressure sensor 6 is connected to the STM8L microcontroller; The STM8L single-chip computer, mode switching module, LED driver module, timing module, green LED light 1, yellow LED light 2 and red LED light 3 constitute a timing warning circuit, which includes a chip U1, pin 1 of the chip U1 is electrically connected to one end of the capacitor C1, the other end of the capacitor C1 and pin 8 of the chip U1 are grounded, pin 2 of the chip U1 is electrically connected to one end of the crystal oscillator X1 and one end of the capacitor C2, the other end of the crystal oscillator X1 is electrically connected to pin 3 of the chip U1, pin 3 of the chip U1 is electrically connected to one end of the capacitor C3, the other end of the capacitor C3 and the other end of the capacitor C2 are both grounded, and pin 4 of the chip U1 is electrically connected to one end of the capacitor C3. The pin 4 of the chip U1 is also electrically connected to one end of the resistor R1, and the other end of the resistor R1 is electrically connected to the backup battery voltage VBAT. Pins 5, 6 and 7 of the chip U1 are respectively electrically connected to one end of the resistor R4, one end of the resistor R3 and one end of the resistor R2. The other ends of the resistor R4, the other ends of the resistor R3 and the other ends of the resistor R2 are respectively electrically connected to one end of the red LED lamp 3, one end of the yellow LED lamp 2 and one end of the green LED lamp 1. The other ends of the red LED lamp 3, the other ends of the yellow LED lamp 2 and the other ends of the green LED lamp 1 are all grounded.
[0018] This embodiment also provides a fault detection method for a low-power timing warning device, including the following steps: S1: The entire timing warning device is powered by the capacitor energy storage circuit 5. Before use, the power supply of the timing warning device is first tested by continuously pressing the waterproof silicone button 4 for 3 seconds. The waterproof silicone button 4 is pressed backward and continuously. The waterproof silicone button 4 drives the T-shaped guide rod 7 to slide backward in the guide sleeve 8. The T-shaped guide rod 7 compresses the spring 9 backward. The T-shaped guide rod 7 drives the stainless steel contact 10 to press the pressure sensor 6 backward. The pressure sensor 6 detects its pressing force and transmits it to the STM8L microcontroller. When the STM8L microcontroller detects that the pressing force lasts for 3 seconds, it feeds back the information to the LED driver module. Under normal power supply conditions, the LED driver module controls the green LED light 1 to light up continuously for 3 seconds and then turns off. If the green LED light 1 does not light up, it proves that the capacitor energy storage circuit 5 is faulty and the timing warning device is not powered. S2: Test the timing reset function: Quickly press the waterproof silicone button 4 three times. The STM8L microcontroller counts the number of presses and feeds the count result back to the LED driver module and timing module. Under normal conditions, the timing module resets the time to zero and restarts. At the same time, the green LED 1 and the yellow LED 2 flash three times with an interval of 0.5 seconds. The status of the green LED 1, the yellow LED 2, and the timing module are used to determine whether the timing reset function is normal. S3: Perform time scheme switching function test: Pre-store two time schemes in the timing warning device through the timing module: Scheme 1: 1 month is time expiration and 3 months is serious overdue; Scheme 2: 2 months is time expiration and 5 months is serious overdue. Quickly press the waterproof silicone button 45 times. The STM8L microcontroller feeds the counting result back to the mode switching module. The mode switching module controls the green LED light 1, yellow LED light 2 and red LED light 3 to flash 3 times at 0.5 second intervals through the LED driver module, and switches to another time scheme at the same time. Under normal conditions, the time scheme is switched successfully, and the green LED light 1, yellow LED light 2 and red LED light 3 light up normally. Otherwise, there is a fault. S4: Test the timing alarm function: At this time, the time scheme set on the timing warning device body is scheme 1 in S3. The timing module counts for 1 month and enters the "time expiration" stage. The LED driver module controls the yellow LED light 2 to flash and light up. The light stays on for 3 months and then enters the "serious overdue" stage. The yellow LED light 2 goes out and the red LED light 3 flashes and lights up until someone operates it. The light stays on for 0.5 seconds and flashes once every 3 seconds. The fault of the timing alarm function can be judged by observing the LED status in stages. When testing, the crystal oscillator X1 can be replaced with an adjustable clock source to speed up the test. S5: Use the timing warning device to perform timing warning: According to the use requirements, after switching the time plan by pressing the waterproof silicone button 45 times, the timing module starts in time. When entering the "time expiration" stage, the LED driver module controls the yellow LED light 2 to flash and light up continuously for 3 months. When entering the "serious overdue" stage, the yellow LED light 2 goes out and the red LED light 3 flashes and lights up to remind personnel, thereby achieving the purpose of timing warning; This embodiment cooperates with the capacitor energy storage circuit 5 and the STM8L single-chip microcomputer to realize press-to-power supply without continuously consuming battery power, thereby achieving the purpose of low power consumption. It can also switch time plans according to usage requirements to adapt to different material cycles. In addition, through the cooperation of the timing module and the LED driver module, it can alarm when "time expires" and "severely overdue", realizing progressive alarm and facilitating personnel use.
[0019] The above description is only a preferred specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any technician familiar with the technical field, within the technical scope disclosed by the present invention, who makes equivalent replacements or changes based on the technical solution and inventive concept of the present invention, should be covered by the scope of protection of the present invention.
Claims
1. A low-power timing warning device, comprising a timing warning device body, characterized in that: The timing warning device body includes: A timing warning device housing (100) having a hardware layer, an interaction layer, and a display layer mounted thereon; The hardware layer includes a circular pressing area, which includes a waterproof silicone button (4), a guide sleeve (8), a T-shaped pressing rod (7), a stainless steel contact (10), a spring (9), a pressure sensor (6) and a capacitor energy storage circuit (5), and the capacitor energy storage circuit (5) is electrically connected to the pressure sensor (6), the interaction layer and the display layer; The interaction layer includes an STM8L single-chip microcomputer, a mode switching module, an LED driving module and a timing module, and the timing module is embedded and fixed on the front side of the timing warning device housing (100); The display layer includes a green LED light (1), a yellow LED light (2) and a red LED light (3); The green LED lamp (1), the yellow LED lamp (2) and the red LED lamp (3) are all electrically connected to the LED driver module, the mode switching module is connected to the STM8L single-chip microcomputer and the LED driver module, the STM8L single-chip microcomputer is connected to the LED driver module and the timing module, and the pressure sensor (6) is connected to the STM8L single-chip microcomputer.
2. The low-power timing warning device according to claim 1, characterized in that: The waterproof silicone button (4) is sealed and movably embedded in the front side of the timing warning device housing (100), the capacitor energy storage circuit (5) is fixedly connected to the bottom inner wall of the timing warning device housing (100), the guide sleeve (8) is fixedly connected to the front inner wall of the timing warning device housing (100), the T-shaped guide rod (7) is slidably sleeved in the guide sleeve (8), the stainless steel contact (10) is fixedly connected to the rear end of the T-shaped guide rod (7), the front side of the T-shaped guide (7) is bonded and fixed to the rear side of the waterproof silicone button (4), the pressure sensor (6) is fixedly connected to the top of the capacitor energy storage circuit (5), the stainless steel contact (10) is located at the front side of the touch end of the pressure sensor (6) and cooperates with it, the spring (9) is movably sleeved on the T-shaped guide rod (7), and the front and rear ends of the spring (9) are respectively fixedly connected to the front inner wall of the T-shaped guide rod (7) and the front side of the guide sleeve (8).
3. The low-power timing warning device according to claim 1, characterized in that: The STM8L single chip microcomputer, the mode switching module, the LED driving module, the timing module, the green LED light (1), the yellow LED light (2) and the red LED light (3) constitute a timing warning circuit, wherein the timing warning circuit comprises a chip U1, a pin 1 of the chip U1 is electrically connected to one end of a capacitor C1, the other end of the capacitor C1 and a pin 8 of the chip U1 are grounded, a pin 2 of the chip U1 is electrically connected to one end of a crystal oscillator X1 and one end of a capacitor C2, the other end of the crystal oscillator X1 is electrically connected to a pin 3 of the chip U1, the pin 3 of the chip U1 is electrically connected to one end of a capacitor C3, the other end of the capacitor C3 and the other end of the capacitor C2 are both grounded, and a pin 4 of the chip U1 is electrically connected to One end of the switch K1 is connected, and the other end of the switch K1 is grounded. Pin 4 of the chip U1 is also electrically connected to one end of the resistor R1, and the other end of the resistor R1 is electrically connected to the backup battery voltage VBAT. Pins 5, 6 and 7 of the chip U1 are electrically connected to one end of the resistor R4, one end of the resistor R3 and one end of the resistor R2, respectively. The other ends of the resistor R4, the other ends of the resistor R3 and the other ends of the resistor R2 are electrically connected to one end of the red LED lamp (3), one end of the yellow LED lamp (2) and one end of the green LED lamp (1), respectively. The other ends of the red LED lamp (3), the other ends of the yellow LED lamp (2) and the other ends of the green LED lamp (1) are all grounded.
4. The low-power timing warning device according to claim 1, characterized in that: The capacitor energy storage circuit (5) includes a voltage stabilizing chip U4, wherein a pin 1 of the voltage stabilizing chip U4 is electrically connected to one end of the capacitor C4, one end of the resistor R5 and one end of the electrolytic capacitor U2, and the other end of the resistor R5 and the pin 1 of the voltage stabilizing chip U4 are both electrically connected to a 5V voltage, a pin 2 of the voltage stabilizing chip U4 is electrically connected to the other end of the capacitor C4 and the other end of the electrolytic capacitor U2, a pin 2 of the voltage stabilizing chip U4 is grounded, a pin 3 of the voltage stabilizing chip U2 is electrically connected to one end of the capacitor C5 and one end of the electrolytic capacitor U3, a pin 4 of the voltage stabilizing chip U2 is electrically connected to the other end of the capacitor C5 and the other end of the electrolytic capacitor U3, a pin 4 of the voltage stabilizing chip U2 is electrically connected to one end of the resistor R6, and the other end of the resistor R6 and the pin 4 of the voltage stabilizing chip U2 are both grounded.
5. The low-power timing warning device according to claim 1, characterized in that: The STM8L single chip microcomputer is used to realize the pressing count. The pressing interval of the waterproof silicone button (4) is less than 0.5 seconds and the number of times is counted. Otherwise, it is not counted, thereby achieving the purpose of preventing accidental touch operation.
6. The low-power timing warning device according to claim 1, characterized in that: The pressing stroke of the waterproof silicone button (4) is 0.5-1.2 mm. When the waterproof silicone button (4) is pressed three times continuously and quickly, the time of the timing module is reset to zero and the timing is restarted. The green LED light (1) and the yellow LED light (2) flash three times at an interval of 0.5 seconds. When the waterproof silicone button (4) is pressed five times continuously and quickly, the time is reset to zero and the timing is restarted. At the same time, the trigger mode switching module switches to another time scheme. The green LED light (1), the yellow LED light (2) and the red LED light (3) flash three times at an interval of 0.5 seconds. When the waterproof silicone button (4) is pressed continuously for 3 seconds, the green LED light (1) is continuously on for 3 seconds, which is used to detect the status of the timing warning device body.
7. The low-power timing warning device according to claim 6, characterized in that: After the waterproof silicone button (4) is pressed five times in succession, the mode switching module performs the following operations: (1), the green LED light (1), the yellow LED light (2) and the red LED light (3) flash three times at 0.5 second intervals, switching to another time scheme; (2) Adjust the preset time threshold from T1 to T2.
8. The low-power timing warning device according to claim 1, characterized in that: The time period of the timing module is divided into two levels, namely "time expiration" and "serious overdue". When the timer is set to 1 month and the "time expiration" is entered, the yellow LED light (2) flashes and lights up, and the light continues to light up for 3 months, and then the "serious overdue" is entered. The yellow LED light (2) goes out and the red LED light (3) flashes and lights up, and the light will continue to light up until someone operates it. The lighting mechanism is to flash once every 3 seconds / 0.5 seconds, and two sets of time plans are stored, which can be switched by pressing the button 5 times in a row. The plan can be adjusted according to needs and is not a fixed mechanism.
9. A fault detection method for a low-power timing warning device according to any one of claims 1 to 8, characterized in that: The following steps are involved: S1: The entire timing warning device body is powered by the capacitor energy storage circuit (5). Before use, the power supply of the timing warning device body is first tested by continuously pressing the waterproof silicone button (4) for 3 seconds. The waterproof silicone button (4) is pressed backward and continuously. The waterproof silicone button (4) drives the T-shaped guide rod (7) to slide backward in the guide sleeve (8). The T-shaped guide rod (7) compresses the spring (9) backward. The T-shaped guide rod (7) drives the stainless steel contact (10) to press the pressure sensor (6) backward. The pressure sensor (6) detects its pressing force and transmits it to the STM8L microcontroller. When the STM8L microcontroller detects that the pressing force lasts for 3 seconds, it feeds back the information to the LED driver module. Under normal power supply conditions, the LED driver module controls the green LED light (1) to light up for 3 seconds and then turns off. If the green LED light (1) does not light up, it proves that the capacitor energy storage circuit (5) is faulty and the timing warning device body is not powered. S2: Perform the timing reset function test: Quickly press the waterproof silicone button (4) three times. The STM8L microcontroller counts the number of presses and feeds the count result back to the LED driver module and the timing module. Under normal conditions, the timing module resets the time and restarts the timing. At the same time, the green LED light (1) and the yellow LED light (2) flash three times with an interval of 0.5 seconds. The status of the green LED light (1), the yellow LED light (2) and the timing module is used to determine whether the timing reset function is normal. S3: Perform time scheme switching function test: two time schemes are stored in the timing warning device body in advance through the timing module: Scheme 1: 1 month is time expiration and 3 months is serious overdue; Scheme 2: 2 months is time expiration and 5 months is serious overdue. Quickly press the waterproof silicone button (4) 5 times. The STM8L microcontroller feeds the counting result back to the mode switching module. The mode switching module controls the green LED light (1), the yellow LED light (2) and the red LED light (3) through the LED driver module. The three-color LED flashes 3 times at an interval of 0.5 seconds and switches to another time scheme at the same time. Under normal conditions, the time scheme is switched successfully, and the green LED light (1), the yellow LED light (2) and the red LED light (3) light up normally. Otherwise, there is a fault. S4: Perform timing alarm function test: At this time, the time scheme set in the timing warning device body is scheme 1 in S3. The timing module counts for 1 month and enters "time expiration". The LED driver module controls the yellow LED light (2) to flash and light up. The light stays on for 3 months and enters "serious expiration". The yellow LED light (2) goes out and the red LED light (3) flashes and lights up until someone operates it. The light-on mechanism flashes once every 3 seconds / 0.5 seconds. By observing the LED status in stages, it is judged whether the timing alarm function is faulty. When testing, the crystal oscillator X1 can be replaced with an adjustable clock source to speed up the test. S5: Use the timing warning device body to perform timing warning: According to the use requirements, after pressing the waterproof silicone button (4) 5 times to switch the time plan, the timing module starts in time. When entering the "time expiration" period, the LED driver module controls the yellow LED light (2) to flash and light up, and the light will continue to light up for 3 months. When entering the "serious overdue" period, the yellow LED light (2) goes out and the red LED light (3) flashes and lights up to remind personnel, thereby achieving the purpose of timing warning.