Filter failure detection method and device

By fitting the equation and real-time fan speed to determine the air volume of the filter, the problem of window pollution caused by the failure of the filter screen of outdoor monitoring equipment is solved, and the accuracy of the filter effectiveness is realized, ensuring the effectiveness of the air curtain.

CN118670958BActive Publication Date: 2024-11-26ZHEJIANG DAHUA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411159399.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-11-26
Estimated Expiration
2044-08-22

AI Technical Summary

Technical Problem

The failure of the filter screen of outdoor monitoring equipment leads to dust and dirty windows, affecting the imaging effect. It is difficult for the prior art to effectively judge the effectiveness of the filter screen.

Method used

The fan speed is obtained by adjusting the duty cycle of the pulse width modulation signal, and the air output volume is determined using the fitting equation to determine whether the filter in the air purification system is invalid without additional equipment.

Benefits of technology

It improves the accuracy of filter maintenance, ensures the effectiveness of air curtains in the air purification system, and prevents the windows from being contaminated.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118670958B_ABST
    Figure CN118670958B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a method and device for detecting filter failure, including: after adjusting the duty cycle of the pulse width modulation signal for the i-th time, obtaining the fan speed of the air purification system to obtain the i-th speed; determining the i-th fitting equation of the i-th duty cycle among N fitting equations, and determining the i-th air volume of the fan through the i-th fitting equation, wherein N is an integer greater than or equal to 2, and the N fitting equations correspond one to one with the N duty cycles; determining whether the filter in the air purification system is failed through the i-th air volume, wherein the air entering the air purification system is filtered by the filter and then sucked in by the fan and blown out from the air outlet. The present invention solves the problem of being unable to judge the effectiveness of the filter in the related art, thereby achieving the effect of ensuring the effectiveness of the air curtain of the air purification system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of monitoring equipment, and in particular, to a method and device for detecting filter failure. Background Art

[0002] Outdoor surveillance cameras play a vital role in many aspects of daily life. However, after working outdoors for a long time, dust and dirt will accumulate on the outer surface of the window of outdoor surveillance equipment, which will seriously interfere with the imaging effect. Although there are automatic dust and oil-proof devices to achieve air curtain dust prevention, it is difficult to ensure the dust-proof effect of the dust-proof device due to the complex application scenarios of outdoor surveillance equipment.

[0003] There is currently no effective solution to the above problems. Summary of the invention

[0004] The embodiments of the present invention provide a method and device for detecting filter failure, so as to at least solve the problem in the related art that the effectiveness of the filter cannot be determined.

[0005] According to one embodiment of the present invention, there is provided a method for detecting filter failure, which is applied to an air purification system, wherein the air purification system is arranged on a camera, and the air outlet of the air purification system faces the window of the camera to prevent the window from being contaminated, and comprises: after adjusting the duty cycle of a pulse width modulation signal for the i-th time, obtaining the fan speed of the air purification system to obtain the i-th speed, wherein the duty cycle obtained after the i-th adjustment is the i-th duty cycle, i is an integer greater than or equal to 0, the 0th duty cycle is the initial duty cycle, and the 0th speed is the initial speed of the fan; determining the i-th fitting equation of the i-th duty cycle among N fitting equations, and determining the i-th air volume of the fan through the i-th fitting equation, wherein N is an integer greater than or equal to 2, and the N fitting equations correspond one-to-one to the N duty cycles; determining whether the filter in the air purification system is invalid through the i-th air volume, wherein the air entering the air purification system is filtered by the filter, sucked into the fan, and then blown out from the air outlet.

[0006] In an exemplary embodiment, determining whether the filter in the air purification system is invalid is performed through the i-th air volume, including: when the i-th duty cycle is not the highest duty cycle and the i-th air volume is less than or equal to a preset minimum air volume threshold, adjusting the duty cycle for the i+1th time to obtain the i+1th duty cycle; acquiring the fan speed of the air purification system to obtain the i+1th speed; determining the i+1th fitting equation related to the i+1th duty cycle among N fitting equations, and determining the i+1th air volume of the fan through the i+1th fitting equation; determining whether the filter in the air purification system is invalid is performed through the i+1th air volume.

[0007] In an exemplary embodiment, whether the filter in the air purification system is failed is determined by the i-th air volume, and the method further includes: determining that the filter in the air purification system is failed when the i-th duty cycle is the highest duty cycle and the i-th air volume is less than or equal to a preset minimum air volume threshold.

[0008] In an exemplary embodiment, the method further includes: when the i+1th duty cycle is the highest duty cycle and the i+1th air volume is less than or equal to a preset minimum air volume threshold, determining that the filter in the air purification system is failed; when the i+1th duty cycle is not the highest duty cycle and the i+1th air volume is less than or equal to the preset minimum air volume threshold, adjusting the duty cycle for the i+2th time to obtain the i+2th duty cycle; and determining whether the filter in the air purification system is failed based on the i+2th duty cycle.

[0009] In an exemplary embodiment, determining the i-th air volume of the fan by using the i-th fitting equation includes:

[0010] When i=0, the 0th air volume is obtained by the following 0th fitting equation:

[0011] ;

[0012] When i=1, the first air volume is obtained by the following first fitting equation:

[0013] ;

[0014] When i=2, the second air volume is obtained by the following second fitting equation:

[0015] ;

[0016] When i=3, the third air volume is obtained by the following third fitting equation:

[0017] ;

[0018] When i=4, the fourth air volume is obtained by the following fourth fitting equation:

[0019] ;

[0020] When i=5, the fifth air volume is obtained by the following fifth fitting equation:

[0021] ;

[0022] When i=6, the sixth air volume is obtained by the following sixth fitting equation:

[0023] ;

[0024] Wherein, P is the i-th rotation speed, and Q is the i-th air volume.

[0025] In an exemplary embodiment, before determining the i-th fitting equation of the i-th duty cycle among the N fitting equations, the N fitting equations are obtained in the following manner, including: when the duty cycle is the i-th duty cycle, respectively obtaining the air volume and rotation speed of the fan under M filter impedances to obtain M air volumes and M rotation speeds, wherein the M air volumes and the M rotation speeds correspond one to one; fitting the M air volumes and the M rotation speeds to obtain the i-th fitting equation of the i-th duty cycle.

[0026] According to another embodiment of the present invention, there is provided a method for detecting filter failure, which is applied to an air purification system, wherein the air purification system is arranged on a camera, and the air outlet of the air purification system faces the window of the camera to prevent the window from being contaminated, and comprises: obtaining a minimum air volume threshold of the fan of the air purification system; obtaining an i-th minimum speed threshold according to the minimum air volume threshold and an i-th fitting equation; obtaining the fan speed of the air purification system after adjusting the duty cycle of a pulse width modulation signal for the i-th time, and obtaining an i-th speed, wherein the duty cycle obtained after the i-th adjustment is the i-th duty cycle, i is an integer greater than or equal to 0, the 0th duty cycle is the initial duty cycle, and the 0th speed is the initial speed of the fan; determining whether the filter in the air purification system has failed according to the i-th speed and the i-th minimum speed threshold, wherein the air entering the air purification system is filtered by the filter, sucked into the fan, and then blown out from the air outlet.

[0027] In an exemplary embodiment, determining whether the filter in the air purification system is invalid is based on the i-th speed and the i-th minimum speed threshold, including: when the i-th duty cycle is not the highest duty cycle and the i-th speed is less than the i-th minimum speed threshold, adjusting the duty cycle for the i+1th time to obtain the i+1th duty cycle; acquiring the fan speed of the air purification system to obtain the i+1th speed; determining the i+1th fitting equation with the i+1th duty cycle among N fitting equations, and determining the i+1th minimum speed threshold through the i+1th fitting equation and the minimum air volume threshold; determining whether the filter in the air purification system is invalid through the i+1th speed and the i+1th minimum speed threshold.

[0028] In an exemplary embodiment, whether the filter in the air purification system is failed is determined based on the i-th speed and the i-th minimum speed threshold, and the method further includes: determining that the filter in the air purification system is failed when the i-th duty cycle is the highest duty cycle and the i-th speed is less than the i-th minimum speed threshold.

[0029] In an exemplary embodiment, the method further includes: when the i+1th duty cycle is the highest duty cycle and the i+1th speed is less than the i+1th minimum speed threshold, determining that the filter in the air purification system is failed; when the i+1th duty cycle is not the highest duty cycle and the i+1th speed is less than the i+1th minimum speed threshold, adjusting the duty cycle for the i+2th time to obtain the i+2th duty cycle; and determining whether the filter in the air purification system is failed based on the i+2th duty cycle.

[0030] In an exemplary embodiment, obtaining the i-th minimum rotation speed threshold according to the minimum air volume threshold and the i-th fitting equation includes:

[0031] When i=0, the 0th lowest speed threshold is obtained by the following 0th fitting equation:

[0032] ;

[0033] When i=1, the first minimum speed threshold is obtained by the following first fitting equation:

[0034] ;

[0035] When i=2, the second minimum speed threshold is obtained by the following second fitting equation:

[0036] ;

[0037] When i=3, the third lowest speed threshold is obtained by the following third fitting equation:

[0038] ;

[0039] When i=4, the fourth lowest speed threshold is obtained by the following fourth fitting equation:

[0040] ;

[0041] When i=5, the fifth lowest speed threshold is obtained by the following fifth fitting equation:

[0042] ;

[0043] When i=6, the sixth lowest speed threshold is obtained by the following sixth fitting equation:

[0044] ;

[0045] Wherein, T is the minimum air volume threshold, and S is the i-th minimum rotation speed threshold.

[0046] In an exemplary embodiment, before obtaining the i-th minimum speed threshold according to the minimum air volume threshold and the i-th fitting equation, the i-th fitting equation is obtained in the following manner, including: when the duty cycle is the i-th duty cycle, respectively obtaining the air volume and speed of the fan under M filter impedances to obtain M air volumes and M speeds, wherein the M air volumes and the M speeds correspond one to one; fitting the M air volumes and the M speeds to obtain the i-th fitting equation for the i-th duty cycle.

[0047] According to another embodiment of the present invention, there is provided a filter failure detection device, which is applied to an air purification system, wherein the air purification system is arranged on a camera, and the air outlet of the air purification system faces the window of the camera to prevent the window from being contaminated, and comprises: a first acquisition module, which is used to acquire the fan speed of the air purification system after the duty cycle of the pulse width modulation signal is adjusted for the i-th time, and obtain the i-th speed, wherein the duty cycle obtained after the i-th adjustment is the i-th duty cycle, i is an integer greater than or equal to 0, and the 0th duty cycle is the initial duty cycle, The 0th speed is the initial speed of the fan; the first fitting module is used to determine the i-th fitting equation of the i-th duty cycle among N fitting equations, and determine the i-th air volume of the fan through the i-th fitting equation, wherein N is an integer greater than or equal to 2, and the N fitting equations correspond one-to-one to the N duty cycles; the first determination module is used to determine whether the filter in the air purification system is invalid through the i-th air volume, wherein the air entering the air purification system is filtered by the filter, sucked into the fan, and then blown out from the air outlet.

[0048] According to another embodiment of the present invention, there is provided a device for detecting filter failure, which is applied to an air purification system, wherein the air purification system is arranged on a camera, and the air outlet of the air purification system faces the window of the camera to prevent the window from being contaminated, and comprises: a second acquisition module, which is used to acquire a minimum air volume threshold of the fan of the air purification system; a second fitting module, which is used to obtain an i-th minimum speed threshold according to the minimum air volume threshold and an i-th fitting equation; a third acquisition module, which is used to acquire the fan speed of the air purification system after the duty cycle of a pulse width modulation signal is adjusted for the i-th time, and obtain an i-th speed, wherein the duty cycle obtained after the i-th adjustment is the i-th duty cycle, i is an integer greater than or equal to 0, the 0th duty cycle is the initial duty cycle, and the 0th speed is the initial speed of the fan; a second determination module, which is used to determine whether the filter in the air purification system is invalid according to the i-th speed and the i-th minimum speed threshold, wherein the air entering the air purification system is filtered by the filter, sucked into the fan, and then blown out from the air outlet.

[0049] According to yet another embodiment of the present invention, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, wherein the computer program implements the steps of any of the above methods when executed by a processor.

[0050] According to yet another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0051] According to yet another embodiment of the present invention, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the steps of any of the above methods are implemented.

[0052] According to the present invention, after the duty cycle of the pulse width modulation signal is adjusted for the i-th time, the fan speed of the air purification system is obtained to obtain the i-th speed, wherein the duty cycle obtained after the i-th adjustment is the i-th duty cycle, i is an integer greater than or equal to 0, the 0th duty cycle is the initial duty cycle, and the 0th speed is the initial speed of the fan; the i-th fitting equation of the i-th duty cycle is determined among N fitting equations, and the i-th air volume of the fan is determined by the i-th fitting equation, wherein N is an integer greater than or equal to 2, and the N fitting equations correspond one to one to the N duty cycles; whether the filter in the air purification system is invalid is determined by the i-th air volume, wherein the air entering the air purification system is filtered by the filter, sucked into the fan, and then blown out from the air outlet.

[0053] Since the corresponding air volume of the fan is determined by the fitting equation and the real-time speed of the fan, and whether the system filter is invalid is determined based on the corresponding air volume, the effectiveness of the filter can be determined without additional equipment, thereby improving the accuracy of filter maintenance. Therefore, the problem of being unable to determine the effectiveness of the filter in related technologies can be solved, achieving the effect of ensuring the effectiveness of the air curtain of the air purification system. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 It is a structural form of an oil pollution prevention camera according to an embodiment of the present invention;

[0055] Figure 2 is an exploded view of the structure of an oil pollution prevention camera according to an embodiment of the present invention;

[0056] Figure 3 It is a hardware structure block diagram of a mobile terminal of a filter failure detection method according to an embodiment of the present invention;

[0057] Figure 4 The process of the method for detecting filter failure according to an embodiment of the present invention is as follows Figure 1 ;

[0058] Figure 5 is a scatter diagram of fan speed variation under different PWM duty cycles according to an embodiment of the present invention;

[0059] Figure 6is a fitting curve diagram of fan speed change under different PWM duty cycles according to an embodiment of the present invention;

[0060] Figure 7 It is a curve diagram of impedance of filter screen at different speeds, different air volumes and pressures and different periods according to an embodiment of the present invention;

[0061] Figure 8 The fan speed control logic according to the embodiment of the present invention is Figure 1 ;

[0062] Fig. 9 The process of the method for detecting filter failure according to an embodiment of the present invention is as follows Figure 2 ;

[0063] Fig.10 The fan speed control logic according to the embodiment of the present invention is Figure 2 ;

[0064] Fig.11 The structure of the filter failure detection device according to the embodiment of the present invention is as follows: Figure 1 ;

[0065] Fig.12 The structure of the filter failure detection device according to the embodiment of the present invention is as follows: Figure 2 . DETAILED DESCRIPTION

[0066] Outdoor surveillance cameras play a vital role in many aspects of daily life. However, after working outdoors for a long time, dust and dirt will accumulate on the outer surface of the window of outdoor surveillance equipment, which seriously interferes with the imaging effect. Although there are automatic dust and oil-proof devices to achieve air curtain dust prevention, due to the complex application scenarios of outdoor surveillance equipment, it is difficult to ensure the dust-proof effect of the dust-proof device.

[0067] Figure 1 is a structural form of an oil-proof camera according to an embodiment of the present invention, such as Figure 1 As shown, when the camera 1 is used outdoors, the outer surface of the window glass 1.1 will continuously accumulate oil and dust in the air, which will eventually affect the imaging effect of the camera 1. The anti-oil camera adds an air purification system 2 above the camera 1. The system 2 consists of an air outlet 2.1, a rectifier 2.2, a filter 2.3, a fan 2.4, a housing 2.5, and a fan cover 2.6. Among them, the fan cover 2.6, the housing 2.5 and the filter 2.3 form a relatively closed cavity, the air inlet of which is equipped with a filter 2.3, the air outlet 2.1 is equipped with a rectifier 2.2, and a built-in fan 2.4.

[0068] Specifically, Figure 2 FIG. 1 is an exploded view of the structure of an oil-proof camera according to an embodiment of the present invention. Figure 2As shown, the middle curve represents the air flow path of the air purification system 2. Dirty air is sucked in from the filter 2.3, and the dust and oil in the air are intercepted and filtered by the filter 2.3, so that the air becomes clean. The filtered clean air is sucked in by the built-in fan 2.4 and blown out from the air outlet 2.1, forming a clean air curtain on the outer surface of the window glass 1.1 to prevent the outer surface of the window from contacting the dirty air, so that the outer surface of the window glass 1.1 is kept clean for a long time until the filter 2.3 fails.

[0069] In the air purification system, the main function of the fan 2.4 is to absorb clean air from the filter 2.3 and then blow the clean air out from the outlet 2.1. In order to extend the service life of the filter 2.3, the initial speed of the fan is generally set to a relatively low level. The speed of the fan 2.4 is controlled by PWM. PWM stands for pulse width modulation. It is an electronic device that controls the fan speed by changing the pulse width. The principle is that a timer / counter is installed on the PCB (Printed Circuit Board) of the fan. The timer / counter generates a PWM signal according to the set period and duty cycle (the ratio of pulse width to period). The fan speed is controlled by a continuously circulating PWM pulse signal. The width of each pulse indicates the proportion of the time occupied by the fan. The wider the pulse width, the faster the fan speed, and vice versa.

[0070] At the same time, the filter 2.3 of the air purification system 2 is a key component of the device. Whether the filter 2.3 fails determines the air flow rate (or flow rate) at the air outlet 2.1. As the use time of the filter 2.3 increases, the dust and oil on its surface increase, causing the filter 2.3 to be blocked and fail, resulting in the wind speed (or flow rate) of the air outlet 2.1 becoming lower and lower, and ultimately failing to form an effective air curtain to isolate the outer surface of the glass 1.1 from the dirty air outside. Therefore, maintaining a certain air volume Q at the air outlet 2.1 is a key factor. Therefore, in order to ensure the effectiveness of the air purification system, it is necessary to be able to predict the failure of the filter 2.3 in advance, so that the filter 2.3 can be maintained and replaced in time before it fails.

[0071] In summary, the present invention proposes a method for detecting filter failure, which can determine the effectiveness of the filter without the need for additional detection equipment, thereby improving maintenance accuracy and ensuring the effectiveness of the air curtain of the air purification system.

[0072] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with the embodiments.

[0073] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0074] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 3 FIG. 1 is a hardware structure block diagram of a mobile terminal for a method for detecting filter failure according to an embodiment of the present invention. Figure 3 As shown, the mobile terminal may include one or more ( Figure 3 Only one is shown in the figure) a processor 302 (the processor 302 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 304 for storing data, wherein the mobile terminal may also include a transmission device 306 and an input / output device 308 for communication functions. It can be understood by those skilled in the art that Figure 3 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 3 More or fewer components as shown, or with Figure 3 Different configurations shown.

[0075] The memory 304 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for detecting filter failure in the embodiment of the present invention. The processor 302 executes various functional applications and data processing by running the computer program stored in the memory 304, that is, to implement the above method. The memory 304 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 304 may further include a memory remotely arranged relative to the processor 302, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0076] The transmission device 306 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 306 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 306 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0077] Embodiment 1:

[0078] In this embodiment, a method running on the above mobile terminal or network architecture is provided. Figure 4 The process of the method for detecting filter failure according to an embodiment of the present invention is as follows Figure 1 , applied to an air purification system, the air purification system is arranged on a camera, and the air outlet of the air purification system faces the window of the camera to prevent the window from being contaminated, such as Figure 4 As shown, the process includes the following steps:

[0079] Step S402, after the duty cycle of the pulse width modulation signal is adjusted for the i-th time, the fan speed of the air purification system is obtained to obtain the i-th speed, wherein the duty cycle obtained after the i-th adjustment is the i-th duty cycle, i is an integer greater than or equal to 0, the 0th duty cycle is the initial duty cycle, and the 0th speed is the initial speed of the fan;

[0080] The fan speed can be the real-time speed of the fan, which can be fed back to the air purification system in real time through the signal feedback line of the fan itself; the pulse width modulation signal can be a PWM pulse signal, and the duty cycle of the signal can be the ratio of the PWM pulse width to the period, wherein the duty cycle of the signal can be set according to the actual situation, such as 40%, 50%, 60%, etc.; the above adjustment is to adjust the duty cycle of the pulse width modulation signal, and different signal duty cycles correspond to different fan speeds. For example, as shown in Table 1, under each PWM duty cycle, the air volume of the fan 2.4 has a range. After the duty cycle of the pulse width modulation signal is adjusted for the i-th time, the fan speed of the air purification system is obtained to obtain the real-time speed of the fan, that is, the i-th speed. It should be noted that this application only describes in detail with the PWM pulse signal as a specific embodiment, and the specific way to adjust the fan speed can also include voltage, current, etc., which are not specifically limited here.

[0081] Table 1

[0082]

[0083] Step S404, determining an i-th fitting equation of the i-th duty cycle among N fitting equations, and determining an i-th air volume of the fan by using the i-th fitting equation, wherein N is an integer greater than or equal to 2, and the N fitting equations correspond one to one to the N duty cycles;

[0084] The above fitting equation can be an equation obtained by fitting according to the fan speed and the air volume corresponding to the speed. Each PWM duty cycle corresponds to a fitting equation. The equation can be a one-variable multi-time equation, such as a one-variable cubic equation, a one-variable quartic equation, etc. The order of the specific equation can be set according to the actual accuracy, wherein the higher the order of the equation, the higher the accuracy of the curve corresponding to the fitting equation. According to the i-th duty cycle where the i-th speed is located, the i-th fitting equation of the i-th duty cycle is determined in the N fitting equations, and the i-th speed is brought into the i-th fitting equation to obtain the i-th air volume. It should be noted that although multiple air volumes can be obtained through the fitting equation, there is only one air volume that is within the actual air volume range of the fan, that is, there is only one effective air volume in the end.

[0085] Optionally, before determining the i-th fitting equation of the i-th duty cycle among the N fitting equations, the N fitting equations are obtained in the following manner, including: when the duty cycle is the i-th duty cycle, respectively obtaining the air volume and speed of the fan under M filter impedances to obtain M air volumes and M speeds, wherein the M air volumes and the M speeds correspond one to one; fitting the M air volumes and the M speeds to obtain the i-th fitting equation of the i-th duty cycle.

[0086] Figure 5 is a scatter diagram of fan speed changes under different PWM duty cycles according to an embodiment of the present invention, such as Figure 5 As shown, A0-A6 are the corresponding scattered data and their actual connecting lines between the fan speed and impedance change when the PWM duty cycle is 40%, 50%, 60%, 70%, 80%, 90%, and 100%, respectively, where the horizontal axis of the scattered points represents the fan air volume, and the vertical axis of the scattered points represents the fan speed. For example, curve A0, the points on the curve from left to right are, when the PWM duty cycle is 40%, the fan speed when the filter impedance (blockage degree) is 100% state, 87.5% state, 75% state, 62.5% state, 50% state, 37.5% state, 25% state, 12.5% ​​state, initial state, and 0% state, and the air volume corresponding to the fan speed. Afterwards, as Figure 6 As shown, these scattered points are fitted into a curve through the fitting tool, and the fitting equation of the curve is obtained, where the equation of curve A0 is , the equation of A1 is , the equation of curve A2 is , the equation of curve A3 is , the equation of curve A4 is , the equation of curve A5 is , the equation of curve A6 is It should be noted that the blockage degree of the above-mentioned filter can be divided according to actual conditions and is not limited here.

[0087] Specifically, determining the i-th air volume of the fan by using the i-th fitting equation includes:

[0088] When i=0, the 0th air volume is obtained by the following 0th fitting equation:

[0089] ;

[0090] When i=1, the first air volume is obtained by the following first fitting equation:

[0091] ;

[0092] When i=2, the second air volume is obtained by the following second fitting equation:

[0093] ;

[0094] When i=3, the third air volume is obtained by the following third fitting equation:

[0095] ;

[0096] When i=4, the fourth air volume is obtained by the following fourth fitting equation:

[0097] ;

[0098] When i=5, the fifth air volume is obtained by the following fifth fitting equation:

[0099] ;

[0100] When i=6, the sixth air volume is obtained by the following sixth fitting equation:

[0101] ;

[0102] Wherein, P is the i-th rotation speed, and Q is the i-th air volume.

[0103] In this embodiment, the speed curve of the fan can be obtained through a wind tunnel experiment. Figure 7 : is a graph showing impedance of filters at different speeds, different air volumes and pressures, and different filter periods according to an embodiment of the present invention. Figure 7As shown, the horizontal axis in the figure represents the air volume Q of fan 2.4, and the vertical axis on the left represents the wind pressure R of fan 2.4. Among them, the solid line curves C0~C6 in the figure respectively represent the air volume and pressure curves of fan 2.4 at 40%, 50%, 60%, 70%, 80%, 90% and 100% PWM; the double-dotted lines F0~F9 respectively represent the impedance curves of filter 2.3 from the no filter state (F0) to the initial state (F1), then to the failure state (F8) and finally to the completely blocked state (F9), among which F1~F8 respectively represent the wind impedance curves of the filter initial state, 12.5% ​​blockage state, 25% blockage state, 37.5% blockage state, 50% blockage state, 62.5% blockage state, 75% blockage state, and the final failure state (87.5% blockage state).

[0104] At the same time, define the intersection point O between the C series curve and the F series curve as the working point of the fan. The horizontal coordinate corresponding to O is the actual air volume Qx of the fan 2.4. In order to ensure a certain wind speed at the air outlet 2.1, it is necessary to ensure that Qx is not less than a minimum value Qmin. Here, it is assumed that Qmin=5CFM. Figure 7 It can be seen that except for the horizontal coordinate Q7=Qmin (5CFM) corresponding to O7, the horizontal coordinate corresponding to any other working point O in the effective area of ​​the filter is greater than Qmin (5CFM). When the fan 2.4 is at the working point O7 (the intersection of the impedance curve when the fan is 100% PWM and the filter fails), the filter 2.3 is in a failure state and needs to be cleaned or replaced in time.

[0105] In addition, it can be seen from the wind tunnel experiment that, under a certain fixed duty cycle, as the impedance of the filter 2.3 increases, the speed of the fan 2.4 will gradually increase, but the air volume will gradually decrease, and the current will also gradually decrease. The corresponding relationship between the air volume, speed and current is shown in Table 2 below:

[0106] Table 2

[0107]

[0108] Step S406, determining whether the filter in the air purification system is invalid through the i-th air volume, wherein the air entering the air purification system is filtered by the filter and then sucked into the fan and blown out from the air outlet.

[0109] Optionally, the executor of the above steps may be a background processor, or other devices with similar processing capabilities, or a machine that integrates at least an image acquisition device and a data processing device, wherein the image acquisition device may include a graphics acquisition module such as a camera, and the data processing device may include a computer, a mobile phone or other terminal, but is not limited thereto.

[0110] Through the above steps, after the duty cycle of the pulse width modulation signal is adjusted for the i-th time, the fan speed of the air purification system is obtained to obtain the i-th speed, wherein the duty cycle obtained after the i-th adjustment is the i-th duty cycle, i is an integer greater than or equal to 0, the 0th duty cycle is the initial duty cycle, and the 0th speed is the initial speed of the fan; the i-th fitting equation of the i-th duty cycle is determined among the N fitting equations, and the i-th air volume of the fan is determined by the i-th fitting equation, wherein N is an integer greater than or equal to 2, and the N fitting equations correspond to the N duty cycles one by one; the i-th air volume is used to determine whether the filter in the air purification system is invalid, wherein the air entering the air purification system is filtered by the filter and then sucked in by the fan and blown out from the air outlet. The problem that the filter effectiveness cannot be judged in the related art is solved, the accuracy of the filter maintenance is improved, and the effectiveness of the air curtain of the air purification system is ensured.

[0111] As an optional embodiment, determining whether the filter in the air purification system is invalid through the i-th air volume includes: when the i-th duty cycle is not the highest duty cycle and the i-th air volume is less than or equal to a preset minimum air volume threshold, adjusting the duty cycle for the i+1th time to obtain the i+1th duty cycle; obtaining the fan speed of the air purification system to obtain the i+1th speed; determining the i+1th fitting equation related to the i+1th duty cycle among N fitting equations, and determining the i+1th air volume of the fan through the i+1th fitting equation; determining whether the filter in the air purification system is invalid through the i+1th air volume.

[0112] As an optional embodiment, whether the filter in the air purification system is failed is determined by the i-th air output volume, and the method further includes: when the i-th duty cycle is the highest duty cycle and the i-th air output volume is less than or equal to a preset minimum air output volume threshold, determining that the filter in the air purification system is failed.

[0113] As an optional embodiment, the method also includes: when the i+1th duty cycle is the highest duty cycle and the i+1th air volume is less than or equal to a preset minimum air volume threshold, determining that the filter in the air purification system is invalid; when the i+1th duty cycle is not the highest duty cycle and the i+1th air volume is less than or equal to the preset minimum air volume threshold, adjusting the duty cycle for the i+2th time to obtain the i+2th duty cycle; and determining whether the filter in the air purification system is invalid based on the i+2th duty cycle.

[0114] The above-mentioned minimum air volume threshold can be the air volume corresponding to the intersection of the fan's 100% PWM and the impedance curve when the filter fails. The above-mentioned i-th air volume can be the air volume determined by the fan's real-time speed through the i-th fitting equation. The above-mentioned i+1-th air volume can be the air volume determined by the fan's real-time speed through the i+1-th fitting equation. Whether the filter fails is determined based on the determined air volume and the minimum fan threshold.

[0115] For example, the i-th air volume is Qx. If Qmax>Qx>Qmin, it is inconvenient to maintain the current PWM, wherein the above Qmax can be determined according to the maximum air volume in Table 1. If Qx≤Qmin, the PWM duty cycle of the fan will be increased to the next level, and so on, so that the system can judge the congestion degree of the filter according to the change of the fan speed, and thus adjust the fan speed by changing the PWM to ensure the effectiveness of the air curtain and realize the adaptive adjustment of the dust prevention effect of the system; at the same time, if Qx determined by the fitting equation is still Qx≤Qmin when PWM is 100%, it is determined that the filter fails, and the system stops the fan and issues a filter failure alarm notification to facilitate maintenance personnel to clean or replace the filter in time, so that the effectiveness of the filter can be judged without additional detection equipment, thereby improving the maintenance accuracy and ensuring the effectiveness of the air curtain.

[0116] As an optional embodiment, Figure 8 The fan speed control logic according to the embodiment of the present invention is Figure 1 ,like Figure 8 As shown, the system obtains the fan speed in real time and determines the fan air volume according to the fitting equation. If the fan air volume is greater than the minimum fan threshold, the current PWM duty cycle is kept unchanged; if the fan air volume is less than or equal to the minimum fan threshold, the PWM duty cycle is increased to the next level, and so on, until the PWM duty cycle is increased to 100%. At this time, if the fan air volume is still less than or equal to the minimum fan threshold, it is determined that the filter has failed.

[0117] Embodiment 2:

[0118] In this embodiment, a method running on the above mobile terminal or network architecture is provided. Fig. 9 The process of the method for detecting filter failure according to an embodiment of the present invention is as follows Figure 2 , applied to an air purification system, the air purification system is arranged on a camera, and the air outlet of the air purification system faces the window of the camera to prevent the window from being contaminated, such as Fig. 9 As shown, the process includes the following steps:

[0119] Step S902, obtaining a minimum air volume threshold of a fan of the air purification system;

[0120] The above-mentioned minimum air volume threshold value may be the air volume corresponding to the intersection of the impedance curve when the fan is 100% PWM and the filter fails.

[0121] Step S904, obtaining the i-th minimum speed threshold according to the minimum air volume threshold and the i-th fitting equation;

[0122] The above fitting equation can be an equation obtained by fitting based on the fan speed and the air volume corresponding to the speed. Each PWM duty cycle corresponds to a fitting equation, which can be a one-variable multi-time equation, such as a one-variable cubic equation, a one-variable quartic equation, etc. The order of the specific equation can be set according to the actual accuracy, wherein the higher the order of the equation, the higher the accuracy of the curve corresponding to the fitting equation. According to the i-th duty cycle at the i-th speed, the i-th fitting equation of the i-th duty cycle is determined in N fitting equations, and the minimum air volume threshold is brought into the i-th fitting equation to obtain the i-th minimum speed threshold.

[0123] Optionally, before obtaining the i-th minimum speed threshold according to the minimum air volume threshold and the i-th fitting equation, the i-th fitting equation is obtained in the following manner, including: when the duty cycle is the i-th duty cycle, respectively obtaining the air volume and speed of the fan under M filter impedances to obtain M air volumes and M speeds, wherein the M air volumes and the M speeds correspond one to one; fitting the M air volumes and the M speeds to obtain the i-th fitting equation for the i-th duty cycle.

[0124] Specifically, the i-th minimum speed threshold is obtained according to the minimum air volume threshold and the i-th fitting equation, including:

[0125] When i=0, the 0th lowest speed threshold is obtained by the following 0th fitting equation:

[0126] ;

[0127] When i=1, the first minimum speed threshold is obtained by the following first fitting equation:

[0128] ;

[0129] When i=2, the second minimum speed threshold is obtained by the following second fitting equation:

[0130] ;

[0131] When i=3, the third lowest speed threshold is obtained by the following third fitting equation:

[0132] ;

[0133] When i=4, the fourth lowest speed threshold is obtained by the following fourth fitting equation:

[0134] ;

[0135] When i=5, the fifth lowest speed threshold is obtained by the following fifth fitting equation:

[0136] ;

[0137] When i=6, the sixth lowest speed threshold is obtained by the following sixth fitting equation:

[0138] ;

[0139] Wherein, T is the minimum air volume threshold, and S is the i-th minimum rotation speed threshold.

[0140] The detailed method of obtaining the above fitting equation can refer to the specific implementation in Example 1, which will not be repeated here.

[0141] Step S906, after the duty cycle of the pulse width modulation signal is adjusted for the i-th time, the fan speed of the air purification system is obtained to obtain the i-th speed, wherein the duty cycle obtained after the i-th adjustment is the i-th duty cycle, i is an integer greater than or equal to 0, the 0th duty cycle is the initial duty cycle, and the 0th speed is the initial speed of the fan;

[0142] The above-mentioned fan speed can be the real-time speed of the fan, which can be fed back to the air purification system in real time through the signal feedback line of the fan itself; the above-mentioned pulse width modulation signal can be a PWM pulse signal, and the duty cycle of the signal can be the ratio of the PWM pulse width to the period, wherein the duty cycle of the signal can be set according to actual conditions, such as 40%, 50%, 60%, etc.; the above-mentioned adjustment is to adjust the duty cycle of the pulse width modulation signal, and different signal duty cycles correspond to different fan speeds; when the PWM duty cycle is the i-th duty cycle, the real-time speed of the fan is obtained as the i-th speed.

[0143] Step S908, determining whether the filter in the air purification system is invalid based on the i-th speed and the i-th minimum speed threshold, wherein the air entering the air purification system is filtered by the filter and then sucked into the fan and blown out from the air outlet.

[0144] Through the above steps, the minimum air volume threshold of the fan of the air purification system is obtained; the i-th minimum speed threshold is obtained according to the minimum air volume threshold and the i-th fitting equation; after the duty cycle of the pulse width modulation signal is adjusted for the i-th time, the fan speed of the air purification system is obtained to obtain the i-th speed, wherein the duty cycle obtained after the i-th adjustment is the i-th duty cycle, i is an integer greater than or equal to 0, the 0th duty cycle is the initial duty cycle, and the 0th speed is the initial speed of the fan; according to the i-th speed and the i-th minimum speed threshold, it is determined whether the filter in the air purification system is invalid, wherein the air entering the air purification system is filtered by the filter, sucked in by the fan, and then blown out from the air outlet. The problem that the effectiveness of the filter cannot be judged in the related technology is solved, the accuracy of the filter maintenance is improved, and the effectiveness of the air curtain of the air purification system is ensured.

[0145] As an optional embodiment, determining whether the filter in the air purification system is invalid based on the i-th speed and the i-th minimum speed threshold includes: when the i-th duty cycle is not the highest duty cycle and the i-th speed is less than the i-th minimum speed threshold, adjusting the duty cycle for the i+1th time to obtain the i+1th duty cycle; obtaining the fan speed of the air purification system to obtain the i+1th speed; determining the i+1th fitting equation with the i+1th duty cycle among N fitting equations, and determining the i+1th minimum speed threshold through the i+1th fitting equation and the minimum air volume threshold; determining whether the filter in the air purification system is invalid through the i+1th speed and the i+1th minimum speed threshold.

[0146] As an optional embodiment, determining whether the filter in the air purification system is failed is based on the i-th speed and the i-th minimum speed threshold, and the method also includes: determining that the filter in the air purification system is failed when the i-th duty cycle is the highest duty cycle and the i-th speed is less than the i-th minimum speed threshold.

[0147] As an optional embodiment, the method also includes: when the i+1th duty cycle is the highest duty cycle and the i+1th speed is less than the i+1th minimum speed threshold, determining that the filter in the air purification system is invalid; when the i+1th duty cycle is not the highest duty cycle and the i+1th speed is less than the i+1th minimum speed threshold, adjusting the duty cycle for the i+2th time to obtain the i+2th duty cycle; and determining whether the filter in the air purification system is invalid based on the i+2th duty cycle.

[0148] The above-mentioned i-th minimum speed threshold can be a speed determined according to the i-th fitting equation and the minimum air volume threshold, and the above-mentioned i+1-th minimum speed threshold can be a speed determined according to the i+1-th fitting equation and the minimum air volume threshold; the above-mentioned i-th speed and i+1-th speed can be the real-time speed of the fan, and whether the filter is invalid is determined according to the i-th minimum speed threshold and the i-th speed, or whether the filter is invalid is determined according to the i+1-th minimum speed threshold and the i+1-th speed.

[0149] For example, the i-th speed is S, and the i-th minimum speed determined by the i-th fitting equation and the minimum air volume threshold is Sy. If S≥Sy, the current PWM is maintained; if S<Sy, the PWM duty cycle of the fan is increased to the next level, and so on. This allows the system to determine the degree of congestion of the filter according to changes in the fan speed, thereby adjusting the fan speed by changing PWM to ensure the effectiveness of the air curtain and achieve adaptive adjustment of the system's dust prevention effect. At the same time, if Sy determined by the fitting equation is still S<Sy when PWM is 100%, the filter is determined to be invalid, and the system stops the fan and issues a filter failure alarm notification to facilitate maintenance personnel to clean or replace the filter in a timely manner, so that the effectiveness of the filter can be determined without additional detection equipment, thereby improving maintenance accuracy and ensuring the effectiveness of the air curtain.

[0150] As an optional embodiment, Fig.10 The fan speed control logic according to the embodiment of the present invention is Figure 2 ,like Fig.10 As shown, the system obtains the fan speed in real time, and determines the i-th minimum speed threshold according to the fitting equation and the minimum air volume threshold. If the fan speed is greater than or equal to the i-th minimum speed threshold, the current PWM duty cycle is kept unchanged; if the fan speed is less than the i-th minimum speed threshold, the PWM duty cycle is increased to the next level, and so on, until the PWM duty cycle is increased to 100%. At this time, if the fan speed is still less than the i-th minimum speed threshold, it is determined that the filter has failed.

[0151] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0152] In this embodiment, a filter failure detection device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0153] Fig.11 The structure of the filter failure detection device according to the embodiment of the present invention is as follows: Figure 1 , applied to an air purification system, the air purification system is arranged on a camera, and the air outlet of the air purification system faces the window of the camera to prevent the window from being contaminated, such as Fig.11 As shown, the device includes: a first acquisition module 1102, which is used to obtain the fan speed of the air purification system after the duty cycle of the pulse width modulation signal is adjusted for the i-th time, and obtain the i-th speed, wherein the duty cycle obtained after the i-th adjustment is the i-th duty cycle, the i is an integer greater than or equal to 0, the 0th duty cycle is the initial duty cycle, and the 0th speed is the initial speed of the fan; a first fitting module 1104, which is used to determine the i-th fitting equation of the i-th duty cycle among N fitting equations, and determine the i-th air volume of the fan through the i-th fitting equation, wherein N is an integer greater than or equal to 2, and the N fitting equations correspond to the N duty cycles one by one; a first determination module 1106, which is used to determine whether the filter in the air purification system is invalid through the i-th air volume, wherein the air entering the air purification system is filtered by the filter, sucked into the fan, and then blown out from the air outlet.

[0154] In an exemplary embodiment, the device is also used to adjust the duty cycle for the i+1th time to obtain the i+1th duty cycle when the i-th duty cycle is not the highest duty cycle and the i-th air volume is less than or equal to a preset minimum air volume threshold; obtain the fan speed of the air purification system to obtain the i+1th speed; determine the i+1th fitting equation related to the i+1th duty cycle among N fitting equations, and determine the i+1th air volume of the fan through the i+1th fitting equation; determine whether the filter in the air purification system is invalid through the i+1th air volume.

[0155] In an exemplary embodiment, the device is also used to determine that the filter in the air purification system is failed when the i-th duty cycle is the highest duty cycle and the i-th air volume is less than or equal to a preset minimum air volume threshold.

[0156] In an exemplary embodiment, the device is also used to determine that the filter in the air purification system is invalid when the i+1th duty cycle is the highest duty cycle and the i+1th air volume is less than or equal to a preset minimum air volume threshold; when the i+1th duty cycle is not the highest duty cycle and the i+1th air volume is less than or equal to the preset minimum air volume threshold, adjust the duty cycle for the i+2th time to obtain the i+2th duty cycle; and determine whether the filter in the air purification system is invalid based on the i+2th duty cycle.

[0157] In an exemplary embodiment, the device is further used to obtain the 0th air volume by the following 0th fitting equation when i=0:

[0158] ;

[0159] When i=1, the first air volume is obtained by the following first fitting equation:

[0160] ;

[0161] When i=2, the second air volume is obtained by the following second fitting equation:

[0162] ;

[0163] When i=3, the third air volume is obtained by the following third fitting equation:

[0164] ;

[0165] When i=4, the fourth air volume is obtained by the following fourth fitting equation:

[0166] ;

[0167] When i=5, the fifth air volume is obtained by the following fifth fitting equation:

[0168] ;

[0169] When i=6, the sixth air volume is obtained by the following sixth fitting equation:

[0170] ;

[0171] Wherein, P is the i-th rotation speed, and Q is the i-th air volume.

[0172] In an exemplary embodiment, the device is also used to obtain the air volume and speed of the fan under M filter impedances respectively when the duty cycle is the i-th duty cycle, and obtain M air volumes and M speeds, wherein the M air volumes and the M speeds correspond one to one; and fit the M air volumes and the M speeds to obtain the i-th fitting equation of the i-th duty cycle.

[0173] Fig.12 The structure of the filter failure detection device according to the embodiment of the present invention is as follows: Figure 2 , applied to an air purification system, the air purification system is arranged on a camera, and the air outlet of the air purification system faces the window of the camera to prevent the window from being contaminated, such as Fig.12 As shown, the device includes: a second acquisition module 1202, used to obtain the minimum air volume threshold of the fan of the air purification system; a second fitting module 1204, used to obtain the i-th minimum speed threshold according to the minimum air volume threshold and the i-th fitting equation; a third acquisition module 1206, used to obtain the fan speed of the air purification system after the duty cycle of the pulse width modulation signal is adjusted for the i-th time, and obtain the i-th speed, wherein the duty cycle obtained after the i-th adjustment is the i-th duty cycle, the i is an integer greater than or equal to 0, the 0th duty cycle is the initial duty cycle, and the 0th speed is the initial speed of the fan; a second determination module 1208, used to determine whether the filter in the air purification system is invalid according to the i-th speed and the i-th minimum speed threshold, wherein the air entering the air purification system is filtered by the filter, sucked into the fan, and then blown out from the air outlet.

[0174] In an exemplary embodiment, the device is also used to adjust the duty cycle for the i+1th time to obtain the i+1th duty cycle when the i-th duty cycle is not the highest duty cycle and the i-th speed is less than the i-th minimum speed threshold; obtain the fan speed of the air purification system to obtain the i+1th speed; determine the i+1th fitting equation related to the i+1th duty cycle among N fitting equations, and determine the i+1th minimum speed threshold through the i+1th fitting equation and the minimum air volume threshold; determine whether the filter in the air purification system is invalid through the i+1th speed and the i+1th minimum speed threshold.

[0175] In an exemplary embodiment, the device is further used to determine that the filter in the air purification system is failed when the i-th duty cycle is the highest duty cycle and the i-th speed is less than the i-th minimum speed threshold.

[0176] In an exemplary embodiment, the device is also used to determine that the filter in the air purification system has failed when the i+1th duty cycle is the highest duty cycle and the i+1th speed is less than the i+1th minimum speed threshold; to adjust the duty cycle for the i+2th time to obtain the i+2th duty cycle when the i+1th duty cycle is not the highest duty cycle and the i+1th speed is less than the i+1th minimum speed threshold; and to determine whether the filter in the air purification system has failed based on the i+2th duty cycle.

[0177] In an exemplary embodiment, the device is further configured to obtain the 0th lowest rotation speed threshold value by the following 0th fitting equation when i=0:

[0178] ;

[0179] When i=1, the first minimum speed threshold is obtained by the following first fitting equation:

[0180] ;

[0181] When i=2, the second minimum speed threshold is obtained by the following second fitting equation:

[0182] ;

[0183] When i=3, the third lowest speed threshold is obtained by the following third fitting equation:

[0184] ;

[0185] When i=4, the fourth lowest speed threshold is obtained by the following fourth fitting equation:

[0186] ;

[0187] When i=5, the fifth lowest speed threshold is obtained by the following fifth fitting equation:

[0188] ;

[0189] When i=6, the sixth lowest speed threshold is obtained by the following sixth fitting equation:

[0190] ;

[0191] Wherein, T is the minimum air volume threshold, and S is the i-th minimum rotation speed threshold.

[0192] In an exemplary embodiment, the device is also used to obtain the air volume and speed of the fan under M filter impedances respectively when the duty cycle is the i-th duty cycle, and obtain M air volumes and M speeds, wherein the M air volumes and the M speeds correspond one to one; and fit the M air volumes and the M speeds to obtain the i-th fitting equation of the i-th duty cycle.

[0193] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0194] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above methods are implemented.

[0195] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0196] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0197] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0198] An embodiment of the present invention further provides a computer program product, including a computer program, which implements the steps of the method described in each embodiment of the present application when executed by a processor.

[0199] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0200] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0201] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for detecting filter failure, It is characterized in that Applied to an air purification system, the air purification system is arranged on a camera, and the air outlet of the air purification system faces the window of the camera to prevent the window from being contaminated, comprising: After the duty cycle of the pulse width modulation signal is adjusted for the i-th time, the fan speed of the air purification system is obtained to obtain the i-th speed, wherein the duty cycle obtained after the i-th adjustment is the i-th duty cycle, i is an integer greater than or equal to 0, the 0th duty cycle is the initial duty cycle, and the 0th speed is the initial speed of the fan; Determine an i-th fitting equation of the i-th duty cycle among N fitting equations, and determine an i-th air volume of the fan by the i-th speed and the i-th fitting equation, wherein N is an integer greater than or equal to 2, and the N fitting equations correspond one to one to the N duty cycles; Whether the filter in the air purification system fails is determined based on whether the i-th duty cycle is the highest duty cycle and the relationship between the air output of the fan and a preset minimum air output threshold, wherein the air output of the fan includes the i-th air output, and the air entering the air purification system is filtered by the filter, sucked into the fan, and then blown out from the air outlet.

2. The method according to claim 1, It is characterized in that Determining whether the filter in the air purification system is invalid according to whether the i-th duty cycle is the highest duty cycle and the relationship between the air volume of the fan and a preset minimum air volume threshold value includes: When the i-th duty cycle is not the highest duty cycle and the i-th air volume is less than or equal to the preset minimum air volume threshold, the duty cycle is adjusted for an i+1th time to obtain an i+1th duty cycle; Obtain the fan speed of the air purification system to obtain the i+1th speed; Determine an i+1th fitting equation corresponding to the i+1th duty cycle among the N fitting equations, and determine an i+1th air output volume of the fan by using the i+1th fitting equation; Whether the filter in the air purification system is invalid is determined by the i+1th air output, wherein the air output of the fan also includes the i+1th air output.

3. The method according to claim 1, It is characterized in that Determining whether the filter in the air purification system is invalid according to whether the i-th duty cycle is the highest duty cycle and the relationship between the air volume of the fan and a preset minimum air volume threshold value includes: When the i-th duty cycle is the highest duty cycle and the i-th air volume is less than or equal to the preset minimum air volume threshold, it is determined that the filter in the air purification system is failed.

4. The method according to claim 2, It is characterized in that The method further comprises: When the i+1th duty cycle is the highest duty cycle and the i+1th air volume is less than or equal to a preset minimum air volume threshold, determining that the filter in the air purification system is inoperative; When the i+1th duty cycle is not the highest duty cycle and the i+1th air volume is less than or equal to the preset minimum air volume threshold, adjusting the duty cycle for the i+2th time to obtain the i+2th duty cycle; Determine whether the filter in the air purification system is invalid according to the (i+2)th duty cycle.

5. The method according to claim 1, It is characterized in that Determining the i-th air volume of the fan by using the i-th fitting equation includes: When i=0, the 0th air volume is obtained by the following 0th fitting equation: ; When i=1, the first air volume is obtained by the following first fitting equation: ; When i=2, the second air volume is obtained by the following second fitting equation: ; When i=3, the third air volume is obtained by the following third fitting equation: ; When i=4, the fourth air volume is obtained by the following fourth fitting equation: ; When i=5, the fifth air volume is obtained by the following fifth fitting equation: ; When i=6, the sixth air volume is obtained by the following sixth fitting equation: ; Wherein, P is the i-th rotation speed, and Q is the i-th air volume.

6. The method according to claim 1 or 5, It is characterized in that Before determining the i-th fitting equation of the i-th duty cycle among the N fitting equations, the N fitting equations are obtained in the following manner, including: When the duty cycle is the i-th duty cycle, the air volume and the rotation speed of the fan under M filter impedances are respectively obtained to obtain M air volumes and M rotation speeds, wherein the M air volumes and the M rotation speeds correspond one to one; The M air volumes and the M rotational speeds are fitted to obtain an i-th fitting equation for the i-th duty cycle.

7. A method for detecting filter failure, It is characterized in that Applied to an air purification system, the air purification system is arranged on a camera, and the air outlet of the air purification system faces the window of the camera to prevent the window from being contaminated, comprising: After the duty cycle of the pulse width modulation signal is adjusted for the i-th time, the fan speed of the air purification system is obtained to obtain the i-th speed, wherein the duty cycle obtained after the i-th adjustment is the i-th duty cycle, i is an integer greater than or equal to 0, the 0th duty cycle is the initial duty cycle, and the 0th speed is the initial speed of the fan; obtaining the minimum air volume threshold of the fan of the air purification system; Determine an i-th fitting equation of the i-th duty cycle among N fitting equations, and obtain an i-th minimum speed threshold according to the minimum air volume threshold and the i-th fitting equation, wherein N is an integer greater than or equal to 2, and the N fitting equations correspond one-to-one to the N duty cycles; Whether the filter in the air purification system is invalid is determined based on whether the i-th duty cycle is the highest duty cycle, the i-th speed and the i-th minimum speed threshold, wherein the air entering the air purification system is filtered by the filter, sucked into the fan, and then blown out from the air outlet.

8. The method according to claim 7, It is characterized in that Determining whether the filter in the air purification system is invalid according to whether the i-th duty cycle is the highest duty cycle, the i-th speed and the i-th minimum speed threshold includes: When the i-th duty cycle is not the highest duty cycle and the i-th speed is less than the i-th lowest speed threshold, adjusting the duty cycle for an i+1th time to obtain an i+1th duty cycle; Obtain the fan speed of the air purification system to obtain the i+1th speed; Determine an i+1th fitting equation corresponding to the i+1th duty cycle among the N fitting equations, and determine an i+1th minimum speed threshold value through the i+1th fitting equation and the minimum air volume threshold value; Whether the filter in the air purification system is invalid is determined by the i+1th speed and the i+1th minimum speed threshold.

9. The method according to claim 7, It is characterized in that Determining whether the filter in the air purification system is invalid according to whether the i-th duty cycle is the highest duty cycle, the i-th speed and the i-th minimum speed threshold, the method further includes: When the i-th duty cycle is the highest duty cycle and the i-th speed is less than the i-th minimum speed threshold, it is determined that the filter in the air purification system is failed.

10. The method according to claim 8, It is characterized in that The method further comprises: When the i+1th duty cycle is the highest duty cycle and the i+1th speed is less than the i+1th minimum speed threshold, determining that the filter in the air purification system is inoperative; When the i+1th duty cycle is not the highest duty cycle and the i+1th speed is less than the i+1th minimum speed threshold, adjusting the duty cycle for the i+2th time to obtain the i+2th duty cycle; Determine whether the filter in the air purification system is invalid according to the (i+2)th duty cycle.

11. The method according to claim 7, It is characterized in that The i-th minimum speed threshold is obtained according to the minimum air volume threshold and the i-th fitting equation, including: When i=0, the 0th lowest speed threshold is obtained by the following 0th fitting equation: ; When i=1, the first minimum speed threshold is obtained by the following first fitting equation: ; When i=2, the second minimum speed threshold is obtained by the following second fitting equation: ; When i=3, the third lowest speed threshold is obtained by the following third fitting equation: ; When i=4, the fourth lowest speed threshold is obtained by the following fourth fitting equation: ; When i=5, the fifth lowest speed threshold is obtained by the following fifth fitting equation: ; When i=6, the sixth lowest speed threshold is obtained by the following sixth fitting equation: ; Wherein, T is the minimum air volume threshold, and S is the i-th minimum rotation speed threshold.

12. The method according to claim 7 or 11, It is characterized in that Before obtaining the i-th minimum speed threshold according to the minimum air volume threshold and the i-th fitting equation, the i-th fitting equation is obtained by the following method, including: When the duty cycle is the i-th duty cycle, the air volume and the rotation speed of the fan under M filter impedances are respectively obtained to obtain M air volumes and M rotation speeds, wherein the M air volumes and the M rotation speeds correspond one to one; The M air volumes and the M rotational speeds are fitted to obtain an i-th fitting equation for the i-th duty cycle.

13. A filter failure detection device, It is characterized in that Applied to an air purification system, the air purification system is arranged on a camera, and the air outlet of the air purification system faces the window of the camera to prevent the window from being contaminated, comprising: a first acquisition module, configured to acquire the fan speed of the air purification system after adjusting the duty cycle of the pulse width modulation signal for the i-th time, and obtain the i-th speed, wherein the duty cycle obtained after the i-th adjustment is the i-th duty cycle, i is an integer greater than or equal to 0, the 0th duty cycle is the initial duty cycle, and the 0th speed is the initial speed of the fan; A first fitting module, used to determine an i-th fitting equation of the i-th duty cycle among N fitting equations, and determine an i-th air volume of the fan by using an i-th speed and the i-th fitting equation, wherein N is an integer greater than or equal to 2, and the N fitting equations correspond one-to-one to the N duty cycles; The first determination module is used to determine whether the filter in the air purification system is invalid based on whether the i-th duty cycle is the highest duty cycle and the relationship between the air output of the fan and a preset minimum air output threshold, wherein the air output of the fan includes the i-th air output, and the air entering the air purification system is filtered by the filter, sucked into the fan, and then blown out from the air outlet.

14. A filter failure detection device, It is characterized in that Applied to an air purification system, the air purification system is arranged on a camera, and the air outlet of the air purification system faces the window of the camera to prevent the window from being contaminated, comprising: A second acquisition module is used to obtain a minimum air volume threshold of a fan of the air purification system; A second fitting module is used to determine an i-th fitting equation of an i-th duty cycle among N fitting equations, and obtain an i-th minimum speed threshold according to the minimum air volume threshold and the i-th fitting equation, wherein N is an integer greater than or equal to 2, and the N fitting equations correspond one-to-one to the N duty cycles; a third acquisition module, configured to acquire the fan speed of the air purification system after adjusting the duty cycle of the pulse width modulation signal for the i-th time, and obtain the i-th speed, wherein the duty cycle obtained after the i-th adjustment is the i-th duty cycle, i is an integer greater than or equal to 0, the 0th duty cycle is the initial duty cycle, and the 0th speed is the initial speed of the fan; The second determination module is used to determine whether the filter in the air purification system is invalid according to whether the i-th duty cycle is the highest duty cycle, the i-th speed and the i-th minimum speed threshold, wherein the air entering the air purification system is filtered by the filter, sucked into the fan, and then blown out from the air outlet.

15. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the computer program implements the steps of the method described in any one of claims 1 to 6, or implements the steps of the method described in any one of claims 7 to 12.

16. An electronic device comprising a memory and a processor, It is characterized in that A computer program is stored in the memory, and the processor is configured to run the computer program to execute the method described in any one of claims 1 to 6, or to implement the steps of the method described in any one of claims 7 to 12.

17. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the computer program implements the steps of the method described in any one of claims 1 to 6, or implements the steps of the method described in any one of claims 7 to 12.