Ground fall state signal detection system
Technical Field
The invention relates to the field of signal processing, in particular to a ground fall state signal detection system.
Background
Signal processing is the general term for processing various types of electrical signals for various intended purposes and requirements. The processing of analog signals is referred to as analog signal processing, and the processing of digital signals is referred to as digital signal processing. Signal processing refers to a process of extracting useful information by processing a signal recorded on a medium, and is a generic term for processes of extracting, converting, analyzing, and integrating signals.
One processes the signal in order to utilize it. For example, when the electrical signal is weak, it needs to be amplified; when noise is mixed, the noise needs to be filtered; when the frequency is not suitable for transmission, modulation and demodulation are needed; when the signal is distorted, the signal needs to be balanced; when the signal types are many, identification and the like are required.
The physicochemical or mathematical processes associated with the signal are: signal generation, signal transmission, signal reception, signal analysis (i.e., knowing the characteristics of a certain signal), signal processing (i.e., converting a certain signal into another signal related to the certain signal, such as filtering out noise or interference, and converting the signal into a form that is easy to analyze and recognize), signal storage, signal detection and control, and the like. These signal-related processes may also be referred to collectively as signal processing.
Disclosure of Invention
The invention has at least the following two important points:
(1) a targeted toilet ground fall state signal detection mechanism is introduced, after the flow of the shower nozzle is less than a threshold value for a preset time, the area of the residual water body in a region away from the shower nozzle by a preset distance is detected, and whether the ground fall is qualified or not is judged based on the detected area;
(2) and intelligent water body identification equipment is introduced to identify the area of the residual water body in the area away from the shower nozzle by a preset distance, so that the manual use is reduced.
According to an aspect of the present invention, there is provided a ground fall state signal detection system, the system including:
the water flow detection device is arranged in the shower nozzle and used for detecting and outputting the real-time water flow speed in the shower nozzle;
the instruction distribution equipment is connected with the water flow detection equipment and used for sending a first control instruction when the received real-time water flow speed is less than or equal to a preset speed threshold value and sending a second control instruction when the received real-time water flow speed is greater than or equal to the preset speed threshold value;
the real-time timing equipment is connected with the instruction distribution equipment and used for starting real-time timing operation from zero when the first control instruction is received and sending a third control instruction when timing reaches preset time;
the directional video recording equipment is arranged right above the ground of a preset area of the toilet, is connected with the real-time timing equipment and is used for starting shooting action on the ground of the preset area of the toilet to obtain a current video recording frame when receiving the third control instruction;
the bilinear interpolation device is connected with the directional video recording device and used for receiving the current video recording frame and executing bilinear interpolation processing on the current video recording frame to obtain a bilinear interpolation image;
a distortion processing device connected to the bilinear interpolation device for performing distortion processing on the received bilinear interpolation image to obtain a distortion processed image;
the gradient sharpening filtering device is connected with the distortion processing device and is used for executing gradient sharpening filtering processing on the distortion processing image based on the maximum noise amplitude in the received distortion processing image so as to obtain a corresponding gradient sharpening filtering image, wherein the smaller the maximum noise amplitude is, the smaller the amplitude of the gradient sharpening filtering processing on the distortion processing image is;
and the water body identification device is connected with the gradient sharpening filtering device and is used for identifying the area of the water body in the gradient sharpening filtering image and sending a fall substandard instruction when the percentage of the area of the water body occupying the area of the gradient sharpening filtering image exceeds the limit.
The ground fall state signal detection system is intelligent in detection and reliable in data. The water area of the ground area nearby is detected after the shower nozzle is used for the preset time, so that the qualification of the ground fall is judged, and an effective detection means is provided for the ground fall.
Drawings
Embodiments of the invention will now be described with reference to the accompanying drawings, in which:
fig. 1 is a field schematic view illustrating a toilet floor detection scenario of a floor fall state signal detection system according to an embodiment of the present invention.
Detailed Description
Embodiments of the ground fall state signal detection system of the present invention will be described in detail below with reference to the accompanying drawings.
Digital image processing refers to a process of converting an image signal into a digital signal and processing it with a computer. Image processing was first in the 50's of the 20 th century, and electronic computers were developed to some extent, and people began to use computers to process graphics and image information.
Digital image processing was formed as a discipline in the early 60's of the 20 th century approximately. The purpose of early image processing was to improve the quality of images, which were targeted at human subjects with the goal of improving human visual effects. In image processing, an image with low quality is input, an image with improved quality is output, and common image processing methods include image enhancement, restoration, encoding, compression, and the like.
For example, image coding compression techniques may reduce the amount of data (i.e., the number of bits) describing an image in order to save image transmission, processing time, and reduce the amount of memory occupied. The compression can be obtained without distortion or can be carried out under allowable distortion conditions. Coding is the most important method in compression technology, and it is the earliest and more mature technology in image processing technology.
In the prior art, due to improper construction of workers or poor management of decoration teams, the ground fall of a toilet is easily insufficient, so that a water body after showering cannot reach a floor drain for a long time to flow out, the use of people is seriously influenced, the quality of a house is easily reduced, and at present, an effective detection means is lacked for the ground fall.
In order to overcome the defects, the invention builds a ground fall state signal detection system, and can effectively solve the corresponding technical problem.
Fig. 1 is a field schematic diagram illustrating a toilet floor detection scenario of a floor fall status signal detection system according to an embodiment of the present invention, the system including:
the water flow detection device is arranged in the shower nozzle and used for detecting and outputting the real-time water flow speed in the shower nozzle;
the instruction distribution equipment is connected with the water flow detection equipment and used for sending a first control instruction when the received real-time water flow speed is less than or equal to a preset speed threshold value and sending a second control instruction when the received real-time water flow speed is greater than or equal to the preset speed threshold value;
the real-time timing equipment is connected with the instruction distribution equipment and used for starting real-time timing operation from zero when the first control instruction is received and sending a third control instruction when timing reaches preset time;
the directional video recording equipment is arranged right above the ground of a preset area of the toilet, is connected with the real-time timing equipment and is used for starting shooting action on the ground of the preset area of the toilet to obtain a current video recording frame when receiving the third control instruction;
the bilinear interpolation device is connected with the directional video recording device and used for receiving the current video recording frame and executing bilinear interpolation processing on the current video recording frame to obtain a bilinear interpolation image;
a distortion processing device connected to the bilinear interpolation device for performing distortion processing on the received bilinear interpolation image to obtain a distortion processed image;
the gradient sharpening filtering device is connected with the distortion processing device and is used for executing gradient sharpening filtering processing on the distortion processing image based on the maximum noise amplitude in the received distortion processing image so as to obtain a corresponding gradient sharpening filtering image, wherein the smaller the maximum noise amplitude is, the smaller the amplitude of the gradient sharpening filtering processing on the distortion processing image is;
and the water body identification device is connected with the gradient sharpening filtering device and is used for identifying the area of the water body in the gradient sharpening filtering image and sending a fall substandard instruction when the percentage of the area of the water body occupying the area of the gradient sharpening filtering image exceeds the limit.
Next, a specific configuration of the ground fall state signal detection system according to the present invention will be further described.
In the ground fall state signal detection system:
the preset distance is between the preset area of the toilet and the ground area right below the shower nozzle.
In the ground fall state signal detection system:
and the water body identification equipment is also used for sending a fall reaching instruction when the percentage of the area of the water body occupying the area of the gradient sharpening filtering image is not over.
In the ground fall state signal detection system:
the water body identification equipment is realized by adopting a programmable logic device, and the programmable logic device is designed by adopting VHDL.
In the ground fall state signal detection system:
the gradient sharpening filtering device is a DSP processing chip, and a timer and a ROM are arranged in the DSP processing chip.
In the ground fall state signal detection system:
and the water body identification equipment and the gradient sharpening filtering equipment are in data connection and data interaction through a 16-bit parallel data interface.
In the ground fall state signal detection system:
the water body identification device and the gradient sharpening filtering device share the same field timing device and the same power supply input device.
In the ground fall state signal detection system:
and a data cache device is also arranged between the water body identification device and the gradient sharpening filtering device.
In the ground fall state signal detection system:
the data cache device is respectively connected with the water body identification device and the gradient sharpening filter device through two data interfaces.
In addition, the DSP processing chip adopts a Harvard structure with separated programs and data, is provided with a special hardware multiplier, widely adopts pipeline operation, provides special DSP instructions and can be used for quickly realizing various digital signal processing algorithms.
According to the requirement of digital signal processing, a DSP processing chip generally has some main features as follows: (1) one multiply and one add may be done in one instruction cycle. (2) The program and data spaces are separate and instructions and data may be accessed simultaneously. (3) On-chip with fast RAM, it is usually accessible in two blocks simultaneously via separate data buses. (4) Hardware support with low or no overhead loops and jumps. (5) Fast interrupt handling and hardware I/O support. (6) There are multiple hardware address generators operating in a single cycle. (7) Multiple operations may be performed in parallel. (8) And pipeline operation is supported, so that the operations of fetching, decoding, executing and the like can be executed in an overlapping way.
Classified according to the data format in which the DSP processing chip operates. DSP processing chips with data working in fixed-point format are called fixed-point DSP processing chips, such as TMS320C1X/C2X, TMS320C2XX/C5X, TMS320C54X/C62XX series of TI company, ADSP21XX series of AD company, DSP16/16A of AT & T company, MC56000 of Motolora company, and the like. The DSP processing chip is called floating point DSP processing chip working in floating point format, such as TMS320C3X/C4X/C8X of TI company, ADSP21XXX series of AD company, DSP32/32C of AT & T company, MC96002 of Motolora company, etc.
The floating-point formats used by different floating-point DSP processing chips are not identical, some DSP processing chips use a custom floating-point format, such as TMS320C3X, and some DSP processing chips use a standard floating-point format of IEEE, such as MC96002 from Motorola, MB86232 from FUJITSU, and ZR35325 from ZORAN.
It is to be understood that while the present invention has been described in conjunction with the preferred embodiments thereof, it is not intended to limit the invention to those embodiments. It will be apparent to those skilled in the art from this disclosure that many changes and modifications can be made, or equivalents modified, in the embodiments of the invention without departing from the scope of the invention. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention are still within the scope of the protection of the technical solution of the present invention, unless the contents of the technical solution of the present invention are departed.