CN-122018977-A - Municipal fire hydrant multiplexing type high-frequency pressure monitoring method and system
Abstract
The embodiment of the invention provides a municipal fire hydrant multiplexing type high-frequency pressure monitoring method and system, and relates to the technical field of technologies. The method comprises the steps of obtaining a pressure sensing signal, responding to the pressure sensing signal, executing event pre-recognition in a preset analog domain to generate a filtered signal, generating a hardware awakening interrupt instruction based on a comparison result of the filtered signal and a preset voltage threshold value, and awakening a main processor from a sleep mode in response to the hardware awakening interrupt, and executing high-frequency data acquisition and event confirmation on the pressure sensing signal through the awakened main processor. The invention solves the problem of high standby power consumption under the condition of nondestructive capture of the high-frequency event, and further achieves the effect of reducing the standby power consumption under the condition of nondestructive capture of the high-frequency event.
Inventors
- JIANG RONGJIN
- CHEN YANG
Assignees
- 杭州智缤科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260130
Claims (10)
- 1. A municipal fire hydrant multiplexing type high-frequency pressure monitoring method, which is characterized by comprising the following steps: acquiring a pressure sensing signal; Performing event pre-recognition in a preset analog domain in response to the pressure sensing signal to generate a filtered signal; Generating a hardware wake-up interrupt instruction based on a comparison result of the filtered signal and a preset voltage threshold; and in response to the hardware wakeup interrupt, waking up a main processor from a sleep mode, and executing high-frequency data acquisition and event confirmation on the pressure sensing signal through the waken main processor.
- 2. The method of claim 1, wherein prior to said performing persistent event pre-recognition, the method further comprises: Based on a preset acoustic energy characteristic of a target event, a transfer function of an analog matched filter is configured such that an amplitude-frequency response characteristic of the analog matched filter matches a spectral shape of the acoustic energy characteristic.
- 3. The method of claim 2, wherein performing event pre-recognition in a predetermined analog domain in response to the pressure sensing signal to generate a filtered signal comprises: and continuously inputting the pressure sensing signal to the analog matched filter so as to perform real-time convolution filtering on the pressure sensing signal, thereby generating the filtered signal.
- 4. The method of claim 1, wherein generating a hardware wake-up interrupt instruction based on a comparison of the filtered signal and a preset voltage threshold comprises: continuously comparing the voltage amplitude of the filtered signal with the preset voltage threshold value through a hardware comparator; and when the voltage amplitude of the filtered signal is larger than the preset voltage threshold, outputting a level jump signal by the hardware comparator, and taking the level jump signal as the hardware wake-up interrupt instruction.
- 5. The method of claim 1, wherein the performing, by the awakened host processor, high frequency data acquisition on the pressure sensing signal comprises: The main processor controls signal path switching, and leads the path of the pressure sensing signal to a high-frequency data acquisition module; and the main processor starts the high-frequency data acquisition module, samples the pressure sensing signal at a preset high sampling rate, and writes sampling data into the annular buffer zone.
- 6. The method of claim 5, wherein the performing, by the awakened host processor, an event confirmation on the pressure sensing signal comprises: the main processor performs digital domain signal processing on the sampled data in the annular buffer area so as to perform secondary confirmation; and under the condition of obtaining secondary confirmation, the main processor packages the data in the annular buffer area and reports the data through a communication module.
- 7. A municipal fire hydrant multiplexing type high-frequency pressure monitoring system, comprising: A pressure sensor module for generating a pressure sensing signal; The analog domain event pre-recognition front end is electrically connected to the pressure sensor module and is used for responding to the pressure sensing signal, performing continuous event pre-recognition in an analog domain to generate a filtered signal, and generating a hardware wake-up interrupt instruction based on a comparison result of the filtered signal and a preset voltage threshold value; the main processing and control module is electrically connected to the analog domain event pre-recognition front end and is used for being awakened from a sleep mode when the hardware awakening interrupt is received; And the high-frequency data acquisition and storage module is controlled by the main processing and control module and is used for executing high-frequency data acquisition on the pressure sensing signal after the main processing and control module is awakened.
- 8. The system of claim 7, wherein the analog domain event pre-recognition front-end comprises: And the analog matched filter is used for carrying out real-time convolution filtering on the pressure sensing signal to generate the filtered signal, wherein the analog matched filter comprises a transfer function, and the transfer function enables the amplitude-frequency response characteristic of the analog matched filter to be matched with the frequency spectrum shape of the preset acoustic energy characteristic of the target event.
- 9. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program, wherein the computer program is arranged to execute the method of any of the claims 1 to 6 when run.
- 10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of any of the claims 1 to 6.
Description
Municipal fire hydrant multiplexing type high-frequency pressure monitoring method and system Technical Field The embodiment of the invention relates to the technical field of municipal pipe network safety monitoring, in particular to a municipal hydrant multiplexing type high-frequency pressure monitoring method and system. Background The municipal fire hydrant is used as an important component of the urban water supply network, and the real-time monitoring of the internal pressure state of the municipal fire hydrant has important significance for guaranteeing fire safety, early warning the leakage of the network and finding out illegal water use behaviors. Conventional pressure monitoring devices typically employ a Microcontroller (MCU) based digital sampling scheme to analyze pressure data through periodic wakeup, analog-to-digital conversion (ADC) and digital signal processing. However, in order to accurately capture the pressure abrupt change event (for example, the instantaneous rupture of the pipeline due to the impact of external force, and the rapid illegal opening of the fire hydrant), the monitoring system must perform data acquisition with a very high frequency (for example, more than thousands of hertz), otherwise the most critical waveform characteristics of the event will be lost at the beginning, and the nature and the occurrence time of the event cannot be accurately judged. On the other hand, high frequency wakeup and data processing, particularly performing frequency domain analysis algorithms such as fourier transforms (FFTs), can produce average operating currents in the milliamp (mA) level, which is an unacceptable power consumption burden for monitoring nodes that rely on battery power and require long-term unattended deployment. Therefore, how to minimize the standby power consumption of the system while realizing the lossless capturing of the high-frequency event becomes a technical problem to be solved in the field. Disclosure of Invention The embodiment of the invention provides a municipal fire hydrant multiplexing type high-frequency pressure monitoring method and system, which at least solve the problem of high standby power consumption under the condition of nondestructive capture of high-frequency events in the related technology. According to one embodiment of the invention, a municipal hydrant multiplexing type high-frequency pressure monitoring method is provided, and the method comprises the steps of obtaining a pressure sensing signal, responding to the pressure sensing signal, executing event pre-recognition in a preset analog domain to generate a filtered signal, generating a hardware awakening interrupt instruction based on a comparison result of the filtered signal and a preset voltage threshold value, awakening a main processor from a sleep mode in response to the hardware awakening interrupt, and executing high-frequency data acquisition and event confirmation on the pressure sensing signal through the awakened main processor. In an exemplary embodiment, before the performing persistent event pre-recognition, the method further comprises: Based on a preset acoustic energy characteristic of a target event, a transfer function of an analog matched filter is configured such that an amplitude-frequency response characteristic of the analog matched filter matches a spectral shape of the acoustic energy characteristic. In an exemplary embodiment, the performing event pre-recognition in a preset analog domain in response to the pressure sensing signal to generate a filtered signal includes: and continuously inputting the pressure sensing signal to the analog matched filter so as to perform real-time convolution filtering on the pressure sensing signal, thereby generating the filtered signal. In an exemplary embodiment, the generating the hardware wake-up interrupt instruction based on a comparison result of the filtered signal and a preset voltage threshold includes: continuously comparing the voltage amplitude of the filtered signal with the preset voltage threshold value through a hardware comparator; and when the voltage amplitude of the filtered signal is larger than the preset voltage threshold, outputting a level jump signal by the hardware comparator, and taking the level jump signal as the hardware wake-up interrupt instruction. In one exemplary embodiment, the performing, by the awakened main processor, high-frequency data acquisition of the pressure sensing signal includes: The main processor controls signal path switching, and leads the path of the pressure sensing signal to a high-frequency data acquisition module; and the main processor starts the high-frequency data acquisition module, samples the pressure sensing signal at a preset high sampling rate, and writes sampling data into the annular buffer zone. In one exemplary embodiment, the performing, by the awakened host processor, an event confirmation on the pressure sensing signal includes: the main proce