CN110017565B - Control method of air conditioner, air conditioner and computer readable storage medium - Google Patents
Control method of air conditioner, air conditioner and computer readable storage medium Download PDFInfo
- Publication number
- CN110017565B CN110017565B CN201910158203.6A CN201910158203A CN110017565B CN 110017565 B CN110017565 B CN 110017565B CN 201910158203 A CN201910158203 A CN 201910158203A CN 110017565 B CN110017565 B CN 110017565B
- Authority
- CN
- China
- Prior art keywords
- filter screen
- working state
- preset distance
- current working
- air conditioner
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/30—Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
- F24F11/32—Responding to malfunctions or emergencies
- F24F11/38—Failure diagnosis
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/30—Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
- F24F11/32—Responding to malfunctions or emergencies
- F24F11/39—Monitoring filter performance
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
- F24F11/64—Electronic processing using pre-stored data
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/70—Control systems characterised by their outputs; Constructional details thereof
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F13/00—Details common to, or for air-conditioning, air-humidification, ventilation or use of air currents for screening
- F24F13/28—Arrangement or mounting of filters
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2221/00—Details or features not otherwise provided for
- F24F2221/22—Cleaning ducts or apparatus
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Physics & Mathematics (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Air Conditioning Control Device (AREA)
Abstract
The invention discloses a control method of an air conditioner, which comprises the following steps: after a filter screen cleaning instruction is detected, controlling the filter screen to move for a first preset distance in the first direction; detecting the current working state of the microswitch; when the current working state is a closed state, controlling the filter screen to move in the second direction by the first preset distance; and when the current working state of the microswitch is a closed state, controlling the filter screen to move a second preset distance according to the first direction. The invention also discloses an air conditioner and a computer readable storage medium. According to the invention, when the filter screen is in a reset state, the filter screen is prevented from abutting against the microswitch, so that the problems of microswitch failure, filter screen deformation and the like caused by long-term abutting of the filter screen against the microswitch are avoided.
Description
Technical Field
The present invention relates to the field of air conditioners, and in particular, to a method for controlling an air conditioner, and a computer-readable storage medium.
Background
Existing household appliances, such as air conditioning equipment, generally filter dust in air through a filter screen. When cleaning the filter screen, drive the filter screen motion through drive arrangement, detect the filter screen position through micro-gap switch, when the filter screen resets, filter screen butt micro-gap switch for micro-gap switch is closed. However, the filter screen is long-term to butt micro-gap switch causes micro-gap switch inefficacy, filter screen deformation scheduling problem easily to lead to the filter screen motion to have the trouble, influence indoor air quality.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a control method of an air conditioner, the air conditioner and a computer readable storage medium, and aims to avoid the fact that a filter screen is abutted against a microswitch when the filter screen is in a reset state, so that the problems of microswitch failure, filter screen deformation and the like caused by the fact that the filter screen is abutted against the microswitch for a long time are solved.
In order to achieve the above object, the present invention provides a method for controlling an air conditioner, the air conditioner including a filter screen, the filter screen being operated in a first direction or a second direction, the first direction being opposite to the second direction, the method comprising the steps of:
after a filter screen cleaning instruction is detected, controlling the filter screen to move for a first preset distance in the first direction;
moving the filter screen for a first preset distance in the first direction, and detecting the current working state of the microswitch;
when the current working state is a closed state, controlling the filter screen to move the first preset distance in the second direction, and detecting the current working state of the microswitch;
and when the current working state is a closed state, controlling the filter screen to move in the first direction for a second preset distance, wherein the second preset distance is smaller than the first preset distance.
Optionally, after detecting a filter screen cleaning instruction, after controlling the filter screen to move a first preset distance in the first direction, the method further includes:
detecting the current working state of the microswitch when the filter screen moves a third preset distance in the first direction, wherein the initial working state of the microswitch is detected after the filter screen cleaning instruction is detected, and the third preset distance is smaller than the first preset distance;
and when the initial working state is a closed state and the current working state is the closed state, judging the motion fault of the filter screen.
Optionally, the control method of the air conditioner further includes:
when the initial working state is a closed state and the current working state is a closed state, controlling the filter screen to move according to the second direction;
when the filter screen moves the third preset distance in the second direction, detecting the current working state of the microswitch;
and when the current working state is a closed state, judging the motion fault of the filter screen.
Optionally, after the step of detecting the current working state of the micro switch when the filter screen moves the third preset distance in the second direction, the control method of the air conditioner further includes:
when the current working state is an elastic opening state, controlling the filter screen to move according to the second direction, and detecting the current working state of the microswitch when the filter screen moves according to the second direction by the third preset distance;
and when the current working state is an elastic opening state, judging the movement fault of the filter screen.
Optionally, after the step of detecting the current working state of the micro switch when the filter screen moves a third preset distance in the first direction, the method further includes:
when the initial working state is a closed state and the current working state is an elastic open state, controlling the filter screen to move according to the first direction, and detecting the current working state of the microswitch when the filter screen moves according to the first direction by the third preset distance;
when the current working state is an elastic opening state, controlling the filter screen to move according to the second direction, and detecting the current working state of the microswitch when the filter screen moves according to the second direction by the third preset distance;
and when the current working state is an elastic opening state, judging the movement fault of the filter screen.
Optionally, after the step of detecting the current working state of the micro switch when the filter screen moves a third preset distance in the first direction, the method further includes:
when the initial working state is an elastic opening state and the current working state is an elastic opening state, controlling the filter screen to move according to the second direction;
when the filter screen moves the third preset distance in the second direction, detecting the current working state of the microswitch;
and when the current working state is an elastic opening state, judging the movement fault of the filter screen.
Optionally, after the step of detecting the current working state of the micro switch when the filter screen moves a third preset distance in the first direction, the method further includes:
when the initial working state is an elastic opening state and the current working state is a closed state, controlling the filter screen to move according to the second direction and detecting the current working state of the microswitch;
and when the current working state is a closed state, controlling the filter screen to move in the first direction by the second preset distance.
Optionally, the control method of the air conditioner further includes:
when the air conditioner is powered on, controlling the filter screen to move according to the second direction, and detecting the current working state of the microswitch;
and when the current working state is a closed state, controlling the filter screen to move in the first direction by the second preset distance.
Optionally, the step of controlling the filter screen to move in the second direction includes:
and controlling the filter screen to move the first preset distance according to the second direction.
Optionally, the control method of the air conditioner further includes:
after the filter screen moves the third preset distance in the second direction, detecting the current working state of the microswitch;
and when the current working state is a closed state, judging the motion fault of the filter screen.
Optionally, after the filter screen moves in the second direction by the third preset distance and the step of detecting the current working state of the microswitch, the method further includes:
when the current working state is a closed state, controlling the filter screen to continuously move according to the second direction;
when the movement distance of the filter screen reaches the first preset distance, detecting the current working state of the microswitch;
and when the current working state is an elastic opening state, judging the movement fault of the filter screen.
Optionally, when the motion fault of the filter screen is judged, prompt information is output.
Optionally, the driving device includes an engaging member, the second end abuts against the engaging member of the driving device when the filter screen moves in the first direction, and when the current working state is the closed state, the step of controlling the filter screen to move in the first direction for a second preset distance further includes:
detecting whether an occlusion part of the driving device abuts against the filter screen;
and when the meshing part of the driving device is not abutted to the filter screen, judging the filter screen movement fault.
In order to achieve the above object, the present invention further provides an air conditioner, including a filter screen, the filter screen operating in a first direction or a second direction, the first direction being opposite to the second direction, the air conditioner further including a memory, a processor, and a control program of the air conditioner stored in the memory and operable on the processor, wherein the control program of the air conditioner implements the steps of the control method of the air conditioner when executed by the processor.
In addition, in order to achieve the above object, the present invention also provides a computer-readable storage medium having a control program of an air conditioner stored thereon, which when executed by a processor, implements the steps of the control method of the air conditioner described above.
According to the control method of the air conditioner, the air conditioner and the computer readable storage medium provided by the embodiment of the invention, after a filter screen cleaning instruction is detected, the filter screen is controlled to move for the first preset distance according to the first direction, when the current working state of the micro switch is in a closed state, the filter screen is controlled to move for the first preset distance according to the second direction, and when the current working state of the micro switch is in the closed state, the filter screen is controlled to move for the second preset distance according to the first direction. According to the invention, when the filter screen is in a reset state, the filter screen is prevented from abutting against the microswitch, so that the problems of microswitch failure, filter screen deformation and the like caused by long-term abutting of the filter screen against the microswitch are avoided.
Drawings
FIG. 1 is a schematic diagram of an apparatus in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic view of a screen movement system of the present invention;
FIG. 3 is a flowchart illustrating a control method of an air conditioner according to an embodiment of the present invention;
FIG. 4 is a flow chart illustrating a control method of an air conditioner according to another embodiment of the present invention;
fig. 5 is a flowchart illustrating a control method of an air conditioner according to another embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a control method of an air conditioner, which avoids the filter screen from abutting against a microswitch when the filter screen is in a reset state, thereby avoiding the problems of the microswitch failure, the filter screen deformation and the like caused by the long-term abutment of the filter screen against the microswitch.
As shown in fig. 1, fig. 1 is a schematic diagram of a hardware operating environment of a terminal according to an embodiment of the present invention.
The terminal of the embodiment of the invention is air conditioning equipment, such as an air conditioner. As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display (Display), an input unit such as a Keyboard (Keyboard), a remote controller, and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (such as a non-volatile memory, e.g., disk storage) and the memory 1005 may optionally also be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the terminal shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a control program of an air conditioner.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a control program of the air conditioner stored in the memory 1005 and perform the following operations:
after a filter screen cleaning instruction is detected, controlling the filter screen to move for a first preset distance in the first direction;
moving the filter screen for a first preset distance in the first direction, and detecting the current working state of the microswitch;
when the current working state is a closed state, controlling the filter screen to move the first preset distance in the second direction, and detecting the current working state of the microswitch;
and when the current working state is a closed state, controlling the filter screen to move in the first direction for a second preset distance, wherein the second preset distance is smaller than the first preset distance.
Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:
detecting the current working state of the microswitch when the filter screen moves a third preset distance in the first direction, wherein the initial working state of the microswitch is detected after the filter screen cleaning instruction is detected, and the third preset distance is smaller than the first preset distance;
and when the initial working state is a closed state and the current working state is the closed state, judging the motion fault of the filter screen.
Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:
when the initial working state is a closed state and the current working state is a closed state, controlling the filter screen to move according to the second direction;
when the filter screen moves the third preset distance in the second direction, detecting the current working state of the microswitch;
and when the current working state is a closed state, judging the motion fault of the filter screen.
Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:
when the current working state is an elastic opening state, controlling the filter screen to move according to the second direction, and detecting the current working state of the microswitch when the filter screen moves according to the second direction by the third preset distance;
and when the current working state is an elastic opening state, judging the movement fault of the filter screen.
Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:
when the initial working state is a closed state and the current working state is an elastic open state, controlling the filter screen to move according to the first direction, and detecting the current working state of the microswitch when the filter screen moves according to the first direction by the third preset distance;
when the current working state is an elastic opening state, controlling the filter screen to move according to the second direction, and detecting the current working state of the microswitch when the filter screen moves according to the second direction by the third preset distance;
and when the current working state is an elastic opening state, judging the movement fault of the filter screen.
Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:
when the initial working state is an elastic opening state and the current working state is an elastic opening state, controlling the filter screen to move according to the second direction;
when the filter screen moves the third preset distance in the second direction, detecting the current working state of the microswitch;
and when the current working state is an elastic opening state, judging the movement fault of the filter screen.
Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:
when the initial working state is an elastic opening state and the current working state is a closed state, controlling the filter screen to move according to the second direction and detecting the current working state of the microswitch;
and when the current working state is a closed state, controlling the filter screen to move in the first direction by the second preset distance.
Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:
when the air conditioner is powered on, controlling the filter screen to move according to the second direction, and detecting the current working state of the microswitch;
and when the current working state is a closed state, controlling the filter screen to move in the first direction by the second preset distance.
Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:
and controlling the filter screen to move the first preset distance according to the second direction.
Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:
after the filter screen moves the third preset distance in the second direction, detecting the current working state of the microswitch;
and when the current working state is a closed state, judging the motion fault of the filter screen.
Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:
when the current working state is a closed state, controlling the filter screen to continuously move according to the second direction;
when the movement distance of the filter screen reaches the first preset distance, detecting the current working state of the microswitch;
and when the current working state is an elastic opening state, judging the movement fault of the filter screen.
Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:
and outputting prompt information when the motion fault of the filter screen is judged.
Further, the processor 1001 may call a control program of the air conditioner stored in the memory 1005, and also perform the following operations:
detecting whether an occlusion part of the driving device abuts against the filter screen;
and when the meshing part of the driving device is not abutted to the filter screen, judging the filter screen movement fault.
Referring to fig. 3, in an embodiment, the method for controlling the air conditioner includes the steps of:
step 10, after a filter screen cleaning instruction is detected, controlling the filter screen to move for a first preset distance in the first direction;
step 20, moving the filter screen for a first preset distance in the first direction, and detecting the current working state of the microswitch;
step 30, when the current working state is a closed state, controlling the filter screen to move the first preset distance in the second direction, and detecting the current working state of the microswitch;
and step 40, when the current working state is a closed state, controlling the filter screen to move a second preset distance in the first direction, wherein the second preset distance is smaller than the first preset distance.
The scheme of the embodiment is suitable for all air conditioners with filter screen movement systems.
Alternatively, taking the screen movement system shown in fig. 2 as an example, the air conditioner includes a micro switch, a screen, a driving device and a cleaning device.
The filter screen can be soft material, including relative first end and second end, first end and micro-gap switch butt when the filter screen moves according to first direction, second end and micro-gap switch butt when the filter screen moves according to the second direction, first direction with the second direction is opposite. It should be noted that the first direction, the second direction, the first end and the second end may be set according to practical applications, and the present invention is not limited specifically. For example, as shown in fig. 2, the first direction is clockwise, the second direction is counterclockwise, when the filter screen continuously moves in the clockwise direction, the first end of the filter screen abuts against the microswitch, and when the filter screen continuously moves in the counterclockwise direction, the second end of the filter screen abuts against the microswitch, that is, only one end of the filter screen abuts against the microswitch at the same time.
One end of the filter screen is abutted to the microswitch, the microswitch is in a closed state, and the filter screen is not contacted with the microswitch, and the microswitch is in an elastic opening state. The micro switch can be used for detecting the position of the filter screen and judging whether the filter screen has a motion fault. Specifically, the filter screen is controlled to move towards a first direction and a second direction or towards the first direction and the second direction in sequence, the current working state of the microswitch is detected in the movement process, the position of the filter screen is detected according to the current working state of the microswitch, and whether the filter screen has movement faults or not is judged. For example, after the filter screen cleaning instruction is detected, an initial working state of the micro switch is detected, if the initial working state of the micro switch is an bouncing-off state, the filter screen is controlled to move in a second direction for a first preset distance, at the moment, the filter screen should be in a reset state, a current working state of the micro switch should be in a closed state, if the current working state of the micro switch is detected to be the bouncing-off state, a filter screen movement fault is determined, and if the current working state of the micro switch is detected to be the closed state, the filter screen is located at a position where two ends of the filter screen are not abutted to the micro switch. It should be noted that the first preset distance may be set to a single-pass movement distance from a position where the second end of the screen abuts against the micro switch to a position where the first end of the screen abuts against the micro switch.
When a filter screen cleaning instruction is detected, the driving device controls the filter screen to move so that the filter screen passes through the cleaning device to perform cleaning operation. The driving device may be a stepping motor, and the driving device may control a movement distance of the filter screen. The cleaning device can clean the filter screen in a dry cleaning mode, a water washing mode and the like, and detailed description is omitted. Specifically, after detecting the clean instruction of filter screen, the first preset distance of control filter screen according to the first direction motion, so that the filter screen carries out cleaning operation through cleaning device, when detecting micro-gap switch's current operating condition is the closure state, explain the first end butt micro-gap switch of filter screen, the first preset distance of control filter screen according to the second direction motion this moment, in order to reset the filter screen, when micro-gap switch's current operating condition is the closure state, explain the second end butt micro-gap switch of filter screen, avoid filter screen long-term butt micro-gap switch to cause the micro-gap switch to become invalid this moment, the filter screen warp scheduling problem, the control filter screen is according to the second preset distance of first direction motion. It should be noted that the second preset distance is smaller than the first preset distance.
Drive arrangement includes the interlock part, the filter screen according when first direction motion the second end with drive arrangement's interlock part butt, when current operating condition is the closure state, control the filter screen according after the step of first direction motion second preset distance, still include: detecting whether an occlusion part of the driving device abuts against the filter screen; and when the meshing part of the driving device is not abutted to the filter screen, judging the filter screen movement fault. Therefore, the filter screen is prevented from falling off, and the normal movement of the filter screen is guaranteed.
In the technical scheme disclosed in this embodiment, after detecting the clean instruction of filter screen, control the filter screen and move first preset distance according to the first direction to when micro-gap switch current operating condition is the closure state, control the filter screen moves first preset distance according to the second direction, when micro-gap switch current operating condition is the closure state, control the filter screen and move second preset distance according to the first direction. Like this, when the filter screen is in the reset state, avoid filter screen butt micro-gap switch to the long-term butt micro-gap switch of filter screen has been avoided and has been caused micro-gap switch inefficacy, filter screen deformation scheduling problem.
In an embodiment, as shown in fig. 4, based on the embodiment shown in fig. 3, after the step of controlling the filter screen to move in the first direction for a first preset distance after detecting a filter screen cleaning command, the method further includes:
step 50, detecting the current working state of the microswitch when the filter screen moves in the first direction for a third preset distance, wherein the initial working state of the microswitch is detected after the filter screen cleaning instruction is detected, and the third preset distance is smaller than the first preset distance;
and step 60, when the initial working state is a closed state and the current working state is the closed state, judging that the filter screen has a motion fault.
In this embodiment, after detecting the clean instruction of filter screen, control filter screen motion, so that the filter screen process cleaning device carries out clean operation, at the in-process of filter screen motion, detects whether there is dyskinesia in the filter screen.
In this embodiment, the third preset distance is smaller than the first preset distance, and the first preset distance may be set to be a single-pass movement distance from a position where the second end of the filter screen abuts against the micro switch to a position where the first end of the filter screen abuts against the micro switch, for example, the number of steps of the driving device corresponding to the first preset distance is 6800 steps; the third preset distance may take different values under different conditions, for example, the number of steps of the driving device corresponding to the third preset distance may be 5700 steps, 800 steps, and the like, and the different conditions refer to an initial working state and a current working state of the micro switch.
In this embodiment, when the initial working state is a closed state and the current working state is a closed state, the filter screen is controlled to move in the second direction; when the filter screen moves the third preset distance in the second direction, detecting the current working state of the microswitch; and when the current working state is a closed state, judging the motion fault of the filter screen.
In this embodiment, when the filter screen moves in the second direction by the third preset distance, the current working state of the microswitch is detected; when the current working state is an elastic opening state, controlling the filter screen to move according to the second direction, and detecting the current working state of the microswitch when the filter screen moves according to the second direction by the third preset distance; and when the current working state is an elastic opening state, judging the movement fault of the filter screen.
In this embodiment, when the filter screen moves a third preset distance in the first direction, the current working state of the microswitch is detected; when the initial working state is a closed state and the current working state is an elastic open state, controlling the filter screen to move according to the first direction, and detecting the current working state of the microswitch when the filter screen moves according to the first direction by the third preset distance; when the current working state is an elastic opening state, controlling the filter screen to move according to the second direction, and detecting the current working state of the microswitch when the filter screen moves according to the second direction by the third preset distance; and when the current working state is an elastic opening state, judging the movement fault of the filter screen.
In this embodiment, when the filter screen moves a third preset distance in the first direction, the current working state of the microswitch is detected; when the initial working state is an elastic opening state and the current working state is an elastic opening state, controlling the filter screen to move according to the second direction; when the filter screen moves the third preset distance in the second direction, detecting the current working state of the microswitch; and when the current working state is an elastic opening state, judging the movement fault of the filter screen.
For example, after a filter screen cleaning instruction is detected, when the micro switch is in a closed state, the filter screen is controlled to move in the first direction for a third preset distance, if the micro switch is still in the closed state, the filter screen is controlled to move in the second direction for the third preset distance, and if the micro switch is still in the closed state, it is determined that the filter screen has a fault in the movement;
after a filter screen cleaning instruction is detected, when the microswitch is in a closed state, the filter screen is controlled to move for a third preset distance in the first direction, if the microswitch is still in the closed state, the filter screen is controlled to move for the third preset distance in the second direction, if the microswitch is in an open state, the filter screen is controlled to move for the third preset distance in the second direction, and if the microswitch is still in the open state, the fault of the filter screen movement is judged;
after a filter screen cleaning instruction is detected, when the microswitch is in a closed state, the filter screen is controlled to move for a third preset distance in the first direction, if the microswitch is in an bouncing-off state, the filter screen is controlled to move for the third preset distance in the first direction, if the microswitch is in the bouncing-off state, the filter screen is controlled to move for the third preset distance in the second direction, and if the microswitch is still in the bouncing-off state, the condition that the filter screen fails to move is judged;
after a filter screen cleaning instruction is detected, when the microswitch is in a closed state, the filter screen is controlled to move for a third preset distance in the first direction, if the microswitch is in an open state, the filter screen is controlled to move for the third preset distance in the first direction, if the microswitch is in the closed state, the filter screen is controlled to move for the third preset distance in the second direction, and if the microswitch is still in the closed state, the condition that the filter screen fails to move is judged;
after a filter screen cleaning instruction is detected, when the microswitch is in an bouncing state, the filter screen is controlled to move in the first direction for a third preset distance, and if the microswitch is in the bouncing state, the filter screen is judged to have a fault;
after a filter screen cleaning instruction is detected, when the microswitch is in an bouncing state, the filter screen is controlled to move for a first preset distance in a second direction, if the microswitch is in the bouncing state, the filter screen is controlled to move for a third preset distance in the second direction, and if the microswitch is still in the bouncing state, the condition that the filter screen has a fault in the movement is judged;
after a filter screen cleaning instruction is detected, when the microswitch is in an bouncing-off state, the filter screen is controlled to move for a first preset distance in a second direction, if the microswitch is in a closed state, the filter screen is controlled to move for a third preset distance in the second direction, if the microswitch is still in the closed state, the filter screen is judged to have a fault in the movement, if the microswitch is in the bouncing-off state, the filter screen is controlled to move for the third preset distance in the second direction, and if the microswitch is still in the bouncing-off state, the filter screen is judged to have a fault in the movement.
In this embodiment, when the filter screen moves a third preset distance in the first direction, the current working state of the microswitch is detected; when the initial working state is an elastic opening state and the current working state is a closed state, controlling the filter screen to move according to the second direction and detecting the current working state of the microswitch; and when the current working state is a closed state, controlling the filter screen to move in the first direction by the second preset distance. Specifically, the filter screen is controlled to move in the second direction by the first preset distance so as to reset the filter screen. When micro-gap switch's current operating condition was the closure state, the second end butt micro-gap switch of explanation filter screen, in order to avoid the filter screen to butt micro-gap switch for a long time to cause micro-gap switch inefficacy, filter screen deformation scheduling problem this moment, the control filter screen is according to the second preset distance of first direction motion. It should be noted that the second preset distance is smaller than the first preset distance.
And detecting whether the filter screen has movement disorder or not in the process of resetting the filter screen. Specifically, after the filter screen moves a third preset distance in the second direction, the current working state of the microswitch is detected; and when the current working state is a closed state, judging the motion fault of the filter screen. Further, after the step of detecting the current working state of the micro switch after the filter screen moves a third preset distance in the second direction, the method further comprises: when the current working state is a closed state, controlling the filter screen to continuously move according to the second direction; when the movement distance of the filter screen reaches the first preset distance, detecting the current working state of the microswitch; and when the current working state is an elastic opening state, judging the movement fault of the filter screen.
In this embodiment, when it is determined that the filter screen has a motion failure, prompt information is output. The prompt information can be character information, voice information and the like, and can be output to a display screen of the air conditioner, a preset mobile terminal and the like. Therefore, when the filter screen movement is detected to have a fault, a user is timely reminded to maintain the air conditioner, and the normal operation of the air conditioner is guaranteed.
In the technical scheme disclosed in this embodiment, when the filter screen moves a third preset distance in the first direction, when the initial working state of the micro switch is the closed state and the current working state of the micro switch is the closed state, it is determined that the filter screen has a motion fault. Therefore, the movement fault of the filter screen is detected in time, and the indoor air quality is guaranteed.
In an embodiment, as shown in fig. 5, on the basis of any one of the embodiments of fig. 3 to 4, the method for controlling an air conditioner further includes:
step 70, when the air conditioner is powered on, controlling the filter screen to move according to the second direction, and detecting the current working state of the microswitch;
and 80, controlling the filter screen to move in the first direction by the second preset distance when the current working state is the closed state.
In this embodiment, when the air conditioner is powered on, the filter screen is reset, specifically, the filter screen is controlled to move in the second direction by the first preset distance, so as to reset the filter screen. When micro-gap switch's current operating condition was the closure state, the second end butt micro-gap switch of explanation filter screen, in order to avoid the filter screen to butt micro-gap switch for a long time to cause micro-gap switch inefficacy, filter screen deformation scheduling problem this moment, the control filter screen is according to the second preset distance of first direction motion. It should be noted that the second preset distance is smaller than the first preset distance.
In this embodiment, in the process of resetting the filter screen, whether the filter screen has dyskinesia is detected.
Specifically, after the filter screen moves a third preset distance in the second direction, the current working state of the microswitch is detected; and when the current working state is a closed state, judging the motion fault of the filter screen.
Further, after the step of detecting the current working state of the micro switch after the filter screen moves a third preset distance in the second direction, the method further comprises: when the current working state is a closed state, controlling the filter screen to continuously move according to the second direction; when the movement distance of the filter screen reaches the first preset distance, detecting the current working state of the microswitch; and when the current working state is an elastic opening state, judging the movement fault of the filter screen.
For example, the air conditioner is powered on, when the microswitch is in a closed state, the filter screen is controlled to move for a third preset distance in the second direction, if the microswitch is still in the closed state, the filter screen is controlled to move for the third preset distance in the first direction, and if the microswitch is still in the closed state, the condition that the filter screen fails to move is judged;
the air conditioner is powered on, when the microswitch is in a closed state, the filter screen is controlled to move for a third preset distance in the second direction, if the microswitch is in an flick state, the filter screen is controlled to move for the third preset distance in the second direction, and if the microswitch is still in the flick state, the fact that the filter screen fails in moving is judged;
the air conditioner is powered on, when the microswitch is in an bouncing state, the filter screen is controlled to move for a third preset distance in the second direction, and if the microswitch is in the bouncing state, the filter screen is judged to have a fault; and when the microswitch is in the flick state, the filter screen is controlled to move for a first preset distance in a second direction, and if the microswitch is in the flick state, the filter screen is judged to have a fault in the movement.
In the technical scheme that this embodiment is disclosed, when the air conditioner was powered on, the control filter screen moved according to the second direction, and when micro-gap switch's current operating condition was the closure state, control the filter screen according to first direction motion the distance is predetermine to the second, like this, is in when the filter screen is reset state, avoids filter screen butt micro-gap switch to the long-term butt micro-gap switch of filter screen has been avoided and has caused micro-gap switch inefficacy, filter screen deformation scheduling problem.
The invention also provides an air conditioner, which comprises a filter screen, wherein the filter screen runs in a first direction or a second direction, the first direction is opposite to the second direction, the air conditioner also comprises a memory, a processor and a control program of the air conditioner, the control program of the air conditioner is stored in the memory and can run on the processor, and the control program of the air conditioner is configured to realize the steps of the control method of the air conditioner under the execution main body of the air conditioner.
The embodiment of the invention also provides a computer readable storage medium, wherein a control program of the air conditioner is stored on the computer readable storage medium, and the control program of the air conditioner is executed by a processor to realize the steps of the control method of the air conditioner under the execution main body of the air conditioner.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a television, a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (13)
1. A control method of an air conditioner, characterized in that the air conditioner comprises a filter screen, the filter screen runs towards a first direction or a second direction, the first direction is opposite to the second direction, the control method of the air conditioner comprises the following steps:
after a filter screen cleaning instruction is detected, controlling the filter screen to move for a first preset distance in the first direction;
moving the filter screen for a first preset distance in the first direction, and detecting the current working state of the microswitch;
when the current working state is a closed state, controlling the filter screen to move the first preset distance in the second direction, and detecting the current working state of the microswitch;
and when the current working state is a closed state, controlling the filter screen to move in the first direction for a second preset distance, wherein the second preset distance is smaller than the first preset distance.
2. The control method of an air conditioner according to claim 1, further comprising:
in the process of controlling the filter screen to move in the first direction for a first preset distance, when the filter screen moves in the first direction for a third preset distance, detecting the current working state of the microswitch, wherein after the filter screen cleaning instruction is detected, the initial working state of the microswitch is detected, and the third preset distance is smaller than the first preset distance;
and when the initial working state is a closed state and the current working state is the closed state, judging the motion fault of the filter screen.
3. The control method of an air conditioner according to claim 2, further comprising:
when the initial working state is a closed state and the current working state is a closed state, controlling the filter screen to move according to the second direction;
when the filter screen moves the third preset distance in the second direction, detecting the current working state of the microswitch;
and when the current working state is a closed state, judging the motion fault of the filter screen.
4. The method for controlling an air conditioner according to claim 2, further comprising, after the step of detecting a current operation state of the micro switch when the filter screen moves a third preset distance in the first direction:
when the initial working state is a closed state and the current working state is an elastic open state, controlling the filter screen to move according to the first direction, and detecting the current working state of the microswitch when the filter screen moves according to the first direction by the third preset distance;
when the current working state is a closed state, controlling the filter screen to move according to the second direction, and detecting the current working state of the microswitch when the filter screen moves according to the second direction by the third preset distance;
and when the current working state is a closed state, judging the motion fault of the filter screen.
5. The method for controlling an air conditioner according to claim 2, further comprising, after the step of detecting a current operation state of the micro switch when the filter screen moves a third preset distance in the first direction:
when the initial working state is an elastic opening state and the current working state is a closed state, controlling the filter screen to move according to the second direction and detecting the current working state of the microswitch;
and when the current working state is a closed state, controlling the filter screen to move in the first direction by the second preset distance.
6. The control method of an air conditioner according to claim 1, further comprising:
when the air conditioner is powered on, controlling the filter screen to move according to the second direction, and detecting the current working state of the microswitch;
and when the current working state is a closed state, controlling the filter screen to move in the first direction by the second preset distance.
7. The control method of an air conditioner according to claim 1, 5 or 6, wherein the step of controlling the filter screen to move in the second direction includes:
and controlling the filter screen to move the first preset distance according to the second direction.
8. The control method of an air conditioner according to claim 7, further comprising:
in the process of controlling the filter screen to move for the first preset distance in the second direction, after the filter screen moves for a third preset distance in the second direction, detecting the current working state of the microswitch;
and when the current working state is a closed state, judging the motion fault of the filter screen.
9. The method for controlling an air conditioner according to claim 8, further comprising, after the step of detecting a current operation state of the micro switch after the filter screen moves the third preset distance in the second direction:
when the current working state is a closed state, controlling the filter screen to continuously move according to the second direction;
detecting the current working state of the microswitch when the filter screen is controlled to move in the second direction for the first preset distance;
and when the current working state is an elastic opening state, judging the movement fault of the filter screen.
10. The control method of an air conditioner according to any one of claims 2 to 6, wherein a prompt message is outputted when it is judged that the filter screen is moved in failure.
11. The method of claim 8, wherein the driving device includes a biting member, the second end of the filter screen abuts against the biting member of the driving device when the filter screen moves in the first direction, and the step of controlling the filter screen to move in the first direction by a second predetermined distance when the current operation state is the closed state further comprises:
detecting whether an occlusion part of the driving device abuts against the filter screen;
and when the meshing part of the driving device is not abutted to the filter screen, judging the filter screen movement fault.
12. An air conditioner, characterized in that the air conditioner comprises a filter screen, the filter screen is operated in a first direction or a second direction, the first direction is opposite to the second direction, the air conditioner further comprises a memory, a processor and a control program of the air conditioner stored on the memory and operable on the processor, and the control program of the air conditioner realizes the steps of the control method of the air conditioner according to any one of claims 1 to 11 when executed by the processor.
13. A computer-readable storage medium, characterized in that a control program of an air conditioner is stored thereon, which when executed by a processor implements the steps of the control method of the air conditioner according to any one of claims 1 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910158203.6A CN110017565B (en) | 2019-03-03 | 2019-03-03 | Control method of air conditioner, air conditioner and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910158203.6A CN110017565B (en) | 2019-03-03 | 2019-03-03 | Control method of air conditioner, air conditioner and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110017565A CN110017565A (en) | 2019-07-16 |
CN110017565B true CN110017565B (en) | 2021-03-19 |
Family
ID=67189242
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910158203.6A Active CN110017565B (en) | 2019-03-03 | 2019-03-03 | Control method of air conditioner, air conditioner and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110017565B (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4041962B2 (en) * | 2002-09-11 | 2008-02-06 | 株式会社富士通ゼネラル | Air conditioner |
CN101338924B (en) * | 2008-08-29 | 2010-06-02 | 广东志高空调有限公司 | Split hanging machine air conditioner with filtering net automatic cleaning device |
JP2012057917A (en) * | 2010-09-13 | 2012-03-22 | Mitsubishi Heavy Ind Ltd | Air conditioner |
JP5080633B2 (en) * | 2010-12-08 | 2012-11-21 | シャープ株式会社 | Filter holding device, filter cleaning device, and air conditioner |
JP6081762B2 (en) * | 2012-10-02 | 2017-02-15 | シャープ株式会社 | Filter holding device, filter cleaning device, and air conditioner |
CN106016520B (en) * | 2016-05-06 | 2019-10-25 | 广东美的制冷设备有限公司 | Air conditioner and its cleaning control method |
CN105910178A (en) * | 2016-05-06 | 2016-08-31 | 广东美的制冷设备有限公司 | Air conditioner and cleaning control method thereof |
-
2019
- 2019-03-03 CN CN201910158203.6A patent/CN110017565B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110017565A (en) | 2019-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8250242B2 (en) | Field bus system | |
CN106152415B (en) | Fault determination method and device for communication line wiring of air conditioning system | |
CN115616973B (en) | Implementation method, system, equipment and medium for breakpoint debugging function | |
CN109269009B (en) | Control method of air conditioner, air conditioner and computer readable storage medium | |
CN110017565B (en) | Control method of air conditioner, air conditioner and computer readable storage medium | |
CN108050667B (en) | Method for calculating frequency threshold of compressor, multi-split air conditioner and storage medium | |
WO2021004109A1 (en) | Fault handling method, device, electronic device, and storage medium | |
CN110017566B (en) | Control method of air conditioner, air conditioner and computer readable storage medium | |
JP2015088822A (en) | Communication device, communication method, and communication system | |
KR20100030110A (en) | Method of debuging softwere for air-conditioner | |
CN106799526B (en) | The control system and spark-erosion machine tool of spark-erosion machine tool | |
CN210118825U (en) | Air conditioning system and indoor unit | |
JP4057564B2 (en) | Test equipment | |
WO2014162505A1 (en) | Portable relay apparatus, control method, program, and remote operation system | |
CN113535589A (en) | Interface test method and device, electronic equipment and storage medium | |
CN110515567A (en) | Relay protection device and constant value printing method thereof | |
WO2014106494A1 (en) | Method and device for setting touch vibration function of touch screen | |
JP2911342B2 (en) | Method for executing forced operation of air conditioner | |
CN110881271A (en) | Curtain control method and curtain control equipment | |
CN117074708B (en) | Sample detection device and control method thereof | |
CN114904830B (en) | Washing path control method, device, equipment and readable storage medium | |
WO2014162589A1 (en) | Electronic device and electronic device control method | |
JP4873121B2 (en) | Processing system, projector, program, information storage medium, and setting information update method | |
JP2013160480A (en) | Remote controller of air conditioner | |
JP6431502B2 (en) | Control device, program, and control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |