Clothes dryer, control method and control device thereof and storage medium
By introducing a timer mechanism with closed timing and open timing in the dryer, the problems of repeated drainage and false alarms of the dryer are solved, and the system stability and user experience are improved.
Patent Information
- Application Number
- CN202511141284.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-14
- Publication Date
- 2025-10-10
AI Technical Summary
Existing clothes dryers have problems with repeated drainage and false alarms during operation, causing internal components of the machine to become damp and providing a poor user experience.
By monitoring the status of the float switch in real time, two timers, closing timing and opening timing, are introduced. The drainage action is triggered and the count value is cleared only when the float switch is continuously closed or opened for a certain period of time, avoiding misjudgment caused by water level fluctuations and bubbles.
It effectively avoids frequent start and stop of the drainage pump and system false alarms, improves the stability and reliability of the system, and enhances user experience.
Smart Images

Figure CN120759081A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of clothes dryers, and in particular relates to a clothes dryer and a control method, a control device, and a storage medium thereof. Background Art
[0002] In the related art, a clothes dryer usually includes a first water box and a second water box. The second water box is arranged above the first water box. The drainage pump is used to transport the water in the first water box to the second water box. The water overflowing from the second water box is suitable for flowing back to the first water box. The water level of the first water level is detected by a float switch to control the dryer to drain or alarm.
[0003] When the water level is at the critical point of the float switch, the float may frequently switch between closed and open due to water flow fluctuations or machine vibrations, causing the drainage pump to be started and stopped frequently and for a short time, resulting in repeated drainage and false alarms. Summary of the Invention
[0004] The embodiments of the present application provide a clothes dryer and a control method, a control device, and a storage medium thereof to solve the problems of repeated drainage and false alarms in existing clothes dryers during operation.
[0005] In a first aspect, an embodiment of the present application provides a control method for a clothes dryer, the clothes dryer comprising a drying drum, a first water box, a second water box, a drain pump, and a float switch, wherein the first water box is configured to collect condensed water generated during the drying process of the drying drum, the second water box is disposed above the first water box, and water overflowing from the second water box is adapted to flow back into the first water box; the drain pump is configured to transport water from the first water box to the second water box; and the float switch is disposed in the first water box. The control method comprises:
[0006] S1: Real-time monitoring of the operating status of the float switch;
[0007] S2: When it is detected that the float switch is in a closed state, a first timer is started to count the closing state. If the closing state count reaches a first preset time, a drainage action is triggered and the first count value is increased by one.
[0008] S3: when it is detected that the float switch is in the disconnected state, starting a second timer to perform disconnection timing, and if the duration of the disconnection timing reaches a second preset duration, clearing the first count value;
[0009] S4: Based on the first count value, control the clothes dryer to issue an alarm.
[0010] In some embodiments of the present application, controlling the clothes dryer to sound an alarm based on the first count value includes:
[0011] In a case that the first count value is greater than or equal to a preset count value, the clothes dryer is controlled to perform an alarm.
[0012] In some embodiments of the present application, in the step S2, the triggering of the first drainage action comprises:
[0013] starting the drainage pump to run for a first drainage duration, then stopping the drainage pump and entering a waiting state, and the duration of the waiting state is a waiting duration.
[0014] In some embodiments of the present application, the method further comprises:
[0015] In the duration of the drainage action, the monitoring of the state of the float switch and the timing are suspended.
[0016] In some embodiments of the present application, in the step S3, the method further comprises:
[0017] When it is monitored that the float switch changes from the closed state to the open state, the second timer is immediately started to perform open timing.
[0018] In some embodiments of the present application, in the step S2, the method further comprises:
[0019] If the float switch is opened before the closed timing reaches the first preset duration, the first timer is stopped and reset, and the first count value is not increased.
[0020] In some embodiments of the present application, the first preset duration and the second preset duration are both 3-5 seconds.
[0021] And / or, the preset count value is 4 times.
[0022] And / or, after the first count value is cleared, the method further comprises: stopping the second timer and resetting.
[0023] In a second aspect, the embodiments of the present application also provide a control device of a clothes dryer, the clothes dryer comprising a drying cylinder, a first water box, a second water box, a drainage pump and a float switch, the first water box being used to collect condensed water in a drying process of the drying cylinder, the second water box being arranged above the first water box, and water overflowing from the second water box being suitable to flow back to the first water box; the drainage pump being used to transport water in the first water box to the second water box; the float switch being arranged in the first water box; the control device comprising:
[0024] a monitoring module, configured to monitor a running state of the float switch in real time;
[0025] a draining module configured to start a first timer to perform a closing timing when it is monitored that the float switch is in a closed state, and if a length of the closing timing reaches a first preset length, trigger a draining action once and increase a first count value by one;
[0026] a clearing module configured to start a second timer to perform an opening timing when it is monitored that the float switch is in an open state, and if a length of the opening timing reaches a second preset length, clear the first count value;
[0027] an alarming module configured to control the clothes dryer to perform an alarm based on the first count value.
[0028] In a third aspect, an embodiment of the present application provides a clothes dryer, comprising:
[0029] a drying drum;
[0030] a first water box configured to collect condensed water during a drying process of the drying drum, and a second water box arranged above the first water box, wherein water overflowed from the second water box is adapted to flow back to the first water box;
[0031] a draining pump configured to deliver water in the first water box to the second water box;
[0032] a float switch arranged in the first water box;
[0033] a controller electrically connected with the float switch and the draining pump, and configured to perform the control method of the clothes dryer as described in the above embodiment.
[0034] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the steps of the control method of the clothes dryer as described in the above embodiment.
[0035] The control method of the clothes dryer provided in the embodiments of the present application comprises: monitoring the running state of a float switch in real time; when it is monitored that the float switch is in a closed state, starting a first timer to perform closed timing, if the length of the closed timing reaches a first preset length, triggering a drainage action once and adding one to a first count value; when it is monitored that the float switch is in an open state, starting a second timer to perform open timing, if the length of the open timing reaches a second preset length, clearing the first count value; and controlling the clothes dryer to perform alarm based on the first count value. By introducing two timing values of closed timing and open timing to comprehensively judge, only when the float switch is continuously closed for a certain time, it is determined that the water level signal is valid and the drainage is triggered, and the instantaneous closed signal caused by water level fluctuation, bubbles and the like is effectively filtered out. At the same time, only when the float switch is continuously opened for a certain time, it is considered that the drainage is effective, and the count value is cleared. This design fundamentally avoids the frequent start and stop of the drainage pump and the false alarm of the system caused by signal jitter, and significantly improves the stability and reliability of the system. BRIEF DESCRIPTION OF DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.
[0037] In order to more completely understand the present application and its beneficial effects, the following will be described in conjunction with the drawings. In the following description, the same reference numerals represent the same parts.
[0038] Figure 1 Flowchart of the control method of the clothes dryer provided in the embodiments of the present application Figure 1 .
[0039] Figure 2 Flowchart of the control method of the clothes dryer provided in the embodiments of the present application Figure 2 .
[0040] Figure 3 Structural schematic diagram of the control device of the clothes dryer provided in the embodiments of the present application.
[0041] Figure 4 Structural schematic diagram of the controller provided in the embodiments of the present application. DETAILED DESCRIPTION
[0042] The embodiments of the present application will be further described in detail below in conjunction with the drawings and embodiments. The following embodiments are used to illustrate the present application, but cannot be used to limit the scope of the present application.
[0043] In the description of the embodiments of the present application, it should be noted that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limiting the embodiments of the present application. In addition, the terms "first", "second", and "third" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.
[0044] In the description of the embodiments of this application, it should be noted that, unless otherwise specified or limited, the terms "connected" and "connection" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections or electrical connections; they can refer to direct connections or indirect connections through an intermediate medium. Those skilled in the art will understand the specific meanings of the above terms in the embodiments of this application based on the specific circumstances.
[0045] In the embodiments of the present application, unless otherwise expressly specified or limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or that the first and second features are in indirect contact through an intermediate medium. Furthermore, a first feature being "above," "above," and "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below," "below," and "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0046] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiments of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.
[0047] In the related art, a clothes dryer is usually provided with a lower water box (first water box) and an upper water box (second water box). The first water box is arranged below the clothes dryer and is used to collect water from the clothes during rotation and heating. The first water box is usually not detachable. The second water box is arranged above the first water box, i.e. the second water box is usually detachably arranged on the top of the clothes dryer. Water in the first water box is pumped to the second water box by a drainage pump. When the water in the second water box reaches a certain amount, the excess water can overflow to the first water box below through a pipeline. The water level in the first water box is detected by a float switch to control the drainage of the clothes dryer or to alarm.
[0048] When the water level is at the critical point of the action of the float switch, the float switch may frequently switch between closing and opening due to water flow fluctuations or machine vibration, causing the drainage pump to be frequently and temporarily started and stopped, and causing repeated drainage and false alarms. This situation not only causes the internal components of the machine to be wet, affecting the safety of use, but also causes water droplets to form on the cover plate and the handle if the alarm is not reported for a long time, which may cause yellowing after a long time, affecting the user experience.
[0049] During different stages of drying clothes, the generation rate of condensed water changes. In some stages, transient fluctuations in the water level can cause the float switch to close temporarily. If the system lacks an effective judgment mechanism, it may be misjudged as full, thereby issuing an incorrect alarm. The existing simple logic of the clothes dryer, i.e. closing for drainage and opening for stopping, cannot cope with complex actual working conditions, such as air bubbles in the drainage pipeline and inertial impact of water flow, which can affect the stability of the float switch state and thus affect the reliability of the entire drainage system.
[0050] Embodiments of the present application provide a clothes dryer, a control method and device thereof, and a storage medium, to solve the problem of repeated drainage and false alarms of the existing clothes dryer during operation. The following will be described in conjunction with the accompanying drawings. Figures 1-4
[0051] According to an embodiment of the present application, referring to FIGS. 1 and 2, a control method of a clothes dryer includes: Figure 1 Figure 2
[0052] S1: Real-time monitoring of the operating state of the float switch;
[0053] In this embodiment, the clothes dryer comprises a drying drum, a first water box, a second water box, a drainage pump, and a float switch. The drying drum is the main space for clothes drying. During the drying process, the high-humidity air generated is condensed by the condensing system, and the condensed water is collected in the first water box. The first water box is usually arranged at the bottom of the clothes dryer. The second water box is arranged above the first water box and is usually a water storage box that can be easily pulled out by the user. The inlet of the drainage pump is connected to the bottom of the first water box through a pipeline, and the outlet is connected to the inside of the second water box through a pipeline, for pumping water in the first water box to the second water box. When the second water box is full, the excess water will flow back to the first water box through the overflow port, forming a cycle. The float switch is arranged in the first water box and is used to detect the water level of the first water box. When the water level rises to a certain height, the float rises, the contact closes, and a closed signal is output. When the water level drops to a certain height, the float drops, the contact opens, and an open signal is output. The controller is electrically connected with the float switch and the drainage pump, for receiving the signal of the float switch and controlling the start and stop of the drainage pump and the operation of the alarm module (such as a buzzer and an indicator light) according to the preset control logic.
[0054] After the clothes dryer enters the drying program, the control system continuously or at a certain frequency reads the signal of the float switch to determine whether the float switch is currently in a closed state or an open state.
[0055] S2: When it is monitored that the float switch is in a closed state, a first timer is started to count the closed time. If the closed time reaches a first preset time length, a drainage action is triggered once, and a first count value is increased by one.
[0056] For example, when the controller monitors that the float switch changes from an open state to a closed state, a first timer inside the controller is immediately started to count the time. The first timer is used to continuously count the closed state of the float switch. At the same time, the controller continuously monitors the state of the float switch. If the float switch is disconnected due to water level fluctuation or other reasons before the first timer reaches the first preset time length (for example, 4 seconds), the controller determines that this closed state is an invalid signal, and immediately stops and resets the first timer, and does not increase the first count value. If the first timer successfully reaches the first preset time length (i.e., the float switch is continuously closed for 4 seconds), the controller determines that the water level of the first water box has reached the threshold value that requires drainage. At this time, the controller triggers a drainage action once, and increases an internal first count value by one.
[0057] In an optional embodiment, in step S2, triggering a drainage action once includes: starting the drainage pump to run for a first drainage time length, then stopping the drainage pump and entering a waiting state, and the duration of the waiting state is a waiting time length.
[0058] Optionally, the specific process of triggering a drainage action is as follows: starting the drain pump 103, running it for a fixed first drainage time (e.g., 20 seconds), then automatically stopping the drain pump and entering a waiting state (e.g., waiting for 15 seconds) to wait for the water level to stabilize. The waiting time ensures that the water pumped into the second water box can fully flow back into the second water box after a period of time.
[0059] During the 20 seconds when the drainage pump is running and the 15 seconds when it is waiting, in order to prevent the drainage action itself from interfering with the float switch status, the controller can suspend the monitoring of the float switch status and all related timing operations.
[0060] S3: When the float switch is detected to be in the disconnected state, the second timer is started to count the disconnection time. If the disconnection time reaches the second preset time, the first count value is reset to zero.
[0061] After a drainage operation is completed, or when the water level drops naturally during the drying process, when the controller detects that the float switch changes from closed to open, it immediately starts the internal second timer to count the number of times the float switch is open.
[0062] If the second timer successfully reaches the second preset duration (e.g., also set to 4 seconds), the controller determines that the previous drainage action was effective and the water level in the first water box has dropped significantly. At this point, the controller resets the first count value N to zero (N = 0) and stops and resets the second timer. This reset operation means that as long as there is one effective drainage, the system considers the current drainage cycle to be successful, thereby resetting the alarm trigger condition.
[0063] S4: Based on the first count value, the clothes dryer is controlled to generate an alarm.
[0064] In an optional embodiment, controlling the clothes dryer to sound an alarm based on the first count value includes: controlling the clothes dryer to sound an alarm when the first count value is greater than or equal to a pre-set value.
[0065] For example, each time the controller increases the first count value N, it determines whether N is greater than or equal to a pre-set value (for example, set to 4 times). If N < 4, the system does not issue any alarms and continues the normal drying and drainage monitoring cycle. If N >= 4, the controller determines that the system has attempted to drain water 4 times in a row, but the water level problem of the first water box 101 remains unresolved (indicating that the second water box 102 is full). At this point, the controller immediately controls the alarm module (such as a buzzer and / or LED indicator) to issue an alarm signal, reminding the user to pour out the water in the water box, and can stop the drying process to prevent water overflow and cause a safety accident.
[0066] This embodiment doesn't trigger an alarm immediately upon the float switch closing. Instead, it determines the alarm by accumulating the number of drain triggers, i.e., the first count value. Only when the water level problem persists after multiple consecutive drain triggers is the alarm determined to be full or a drainage system malfunction. This ensures the accuracy and seriousness of the alarm, avoids false alarms caused by temporary drainage problems, and greatly improves the user experience.
[0067] In an optional embodiment, the control method further includes suspending monitoring and timing of the float switch status during the duration of the drainage action.
[0068] In this embodiment, the float status is not detected during drainage. The drainage pump is considered to be started and running during the drainage cycle. The float status is detected again at the end of the drainage cycle. If the float switch is closed for 4 consecutive seconds, it is considered that the first water box is full, and another drainage cycle is triggered.
[0069] In an optional embodiment, in step S3, the control method further includes: when it is monitored that the float switch changes from the closed state to the open state, immediately starting a second timer to perform open timing.
[0070] In this embodiment, the disconnection timer for the float switch to be continuously disconnected for 4 seconds starts from the moment the float is disconnected. This can avoid the situation where the float switch neither meets the requirements of being closed nor disconnected for 4 seconds. The float disconnection is most likely to occur between the time when the drain pump starts to drain and the time when the water overflowing from the upper water box has not yet flowed down to the lower water box. During this period, if the lower water box is continuously disconnected for 4 seconds, it means that the lower water box has not reached the float closure situation, and drying can continue. At the same time, the trigger count value is cleared to avoid frequent triggering of the alarm.
[0071] The above control method not only solves the problem of repeated drainage, but also ensures that the alarm is triggered only when the first and second water boxes meet the trigger conditions simultaneously, thus reducing the frequent alarms and providing timely prompts. By properly optimizing the counting value of the drainage algorithm, safety accidents are effectively prevented and the user experience is also improved.
[0072] In an optional embodiment, in step S2, the control method further includes: if the float switch is disconnected before the closing timing reaches the first preset time length, stopping and resetting the first timer, and not increasing the first count value.
[0073] In this embodiment, if the float switch is disconnected prematurely due to water level fluctuations or other reasons before the timing value of the first timer reaches the first preset time length (for example, set to 4 seconds), the controller determines that this closure is an invalid signal, immediately stops and resets the first timer, and does not increase the first count value, thereby avoiding frequent triggering of drainage of the dryer.
[0074] In an optional embodiment, the first preset time length and the second preset time length are both 3-5 seconds. The first preset time length and the second preset time length can be equal or not equal, which is not limited in the embodiment.
[0075] In an optional embodiment, the number of preset values is 4, and optionally, the number of preset values can also be 3, 5 or other numbers, which can be adjusted and set according to actual needs.
[0076] In an optional embodiment, after the first count value is cleared, the control method further comprises: stopping and resetting the second timer, and re-performing a new round of timing and monitoring.
[0077] The control method of the clothes dryer provided in the embodiment of the application comprises: monitoring the running state of the float switch in real time; when it is monitored that the float switch is in a closed state, starting a first timer to perform closed timing, if the time length of the closed timing reaches a first preset time length, triggering a drainage action once, and adding one to a first count value; when it is monitored that the float switch is in an open state, starting a second timer to perform open timing, if the time length of the open timing reaches a second preset time length, clearing the first count value; and based on the first count value, controlling the clothes dryer to perform alarm. By introducing two timing values of the closed timing and the open timing for comprehensive judgment, only when the float switch is continuously closed for a certain time, it is determined as an effective water level signal and drainage is triggered, and the instantaneous closed signal caused by water level fluctuation, bubbles and the like is effectively filtered out. At the same time, only when the float switch is continuously opened for a certain time, it is considered that the drainage is effective, and the count value is cleared. This design fundamentally avoids the frequent start and stop of the drainage pump and the false alarm of the system caused by signal jitter, and significantly improves the stability and reliability of the system.
[0078] In a second aspect, the embodiment of the application further provides a control device of a clothes dryer. The clothes dryer comprises a drying cylinder, a first water box, a second water box, a drainage pump and a float switch. The first water box is used to collect condensed water in a drying process of the drying cylinder. The second water box is arranged above the first water box, and water overflowing from the second water box is suitable for flowing back to the first water box. The drainage pump is used to transport water in the first water box to the second water box. The float switch is arranged in the first water box. The control device comprises: Figure 3 As shown in the figure, the control device comprises:
[0079] A monitoring module 301 is configured to monitor the running state of the float switch in real time.
[0080] A drainage module 302 is configured to, when it is monitored that the float switch is in a closed state, start a first timer to perform closed timing, if the time length of the closed timing reaches a first preset time length, trigger a drainage action once, and add one to a first count value.
[0081] The zeroing module 303 is configured to start a second timer to perform open timing when it is monitored that the float switch is in an open state, and clear the first count value if the open timing reaches a second preset time length.
[0082] The alarm module 304 is configured to control the clothes dryer to perform alarm based on the first count value.
[0083] The control device of the clothes dryer of the embodiment can be applied to the clothes dryer, and is configured to perform the control method of the above embodiment and has the beneficial effects of the above embodiment. The specific implementation manner can refer to the above embodiment, and the embodiment will not be described herein.
[0084] In a third aspect, the embodiment provides a clothes dryer, which comprises a drying drum, a first water box, a second water box, a drainage pump and a float switch. The first water box is configured to collect condensed water during the drying process of the drying drum. The second water box is arranged above the first water box, and water overflowing from the second water box is adapted to flow back to the first water box. The drainage pump is configured to deliver water in the first water box to the second water box. The float switch is arranged in the first water box. A controller is electrically connected with the float switch and the drainage pump, and is configured to perform the control method of the clothes dryer of the above embodiment.
[0085] The clothes dryer of the embodiment triggers the float action and clears the count value of the accumulated drainage by setting two timing modes. The count value is set to a 4-second filter to avoid false clearing. When the float switch is open, the 4-second filter is performed to avoid clearing at an inappropriate time and not clearing in time, which effectively solves the problem of repeated drainage, avoids repeated pumping to cause the drainage pump to work continuously, saves energy resources, and avoids safety accidents and the phenomenon of yellowing of the surface of the machine.
[0086] Figure 4 An example of an entity structure diagram of a controller is shown in FIG. 4. Figure 4 As shown in FIG. 4, the controller can include a processor 401, a communications interface 402, a memory 403 and a communications bus 404. The processor 401, the communications interface 402 and the memory 403 can communicate with each other through the communications bus 404. The processor 401 can invoke the logic instructions in the memory 403 to perform the steps of the control method of the clothes dryer.
[0087] In addition, the logic instructions in the above-mentioned memory 403 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory 403 (ROM, Read-Only Memory), a random access memory 403 (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes.
[0088] On the other hand, an embodiment of the present application also provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the control method of the dryer provided by the above-mentioned method embodiments.
[0089] On the other hand, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, which is implemented to execute the control method of the dryer provided in the above embodiments when the computer program is executed by the processor 401.
[0090] Computer-readable storage media can be any available media or data storage devices that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO)), optical storage (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (such as ROMs, EPROMs, EEPROMs, non-volatile memories (NAND FLASH), solid-state drives (SSDs)), etc.
[0091] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units. That is, they may be located in one place or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0092] Those skilled in the art can clearly understand the implementation of the various embodiments by means of software and necessary general hardware platforms through the description of the above embodiments, and of course, the various embodiments can also be implemented by hardware. Based on such understanding, the above technical solutions can be embodied in the form of a software product, and the computer software product can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of the various embodiments or some parts of the embodiments.
[0093] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.
[0094] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for some technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for controlling a clothes dryer, characterized in that: The clothes dryer includes a drying drum, a first water box, a second water box, a drainage pump and a float switch, wherein the first water box is used to collect condensed water generated by the drying drum during drying, and the second water box is arranged above the first water box, and water overflowing from the second water box is adapted to flow back to the first water box; The drainage pump is used to transport water in the first water box to the second water box; The float switch is provided in the first water box; the control method includes: S1: Real-time monitoring of the operating status of the float switch; S2: When it is detected that the float switch is in a closed state, a first timer is started to count the closing state. If the closing state count reaches a first preset time, a drainage action is triggered and the first count value is increased by one. S3: when it is detected that the float switch is in the disconnected state, starting a second timer to perform disconnection timing, and if the duration of the disconnection timing reaches a second preset duration, clearing the first count value; S4: Based on the first count value, control the clothes dryer to issue an alarm.
2. The control method for a clothes dryer according to claim 1, characterized in that: The controlling the clothes dryer to sound an alarm based on the first count value includes: When the first count value is greater than or equal to a pre-set value, the clothes dryer is controlled to sound an alarm.
3. The control method for a clothes dryer according to claim 1, wherein: In S2, triggering a drainage action includes: The drainage pump is started to run for a first drainage time, and then the drainage pump is stopped and enters a waiting state, wherein the duration of the waiting state is the waiting time.
4. The control method for a clothes dryer according to claim 1, characterized in that: The method further comprises: During the duration of the drainage action, monitoring and timing of the float switch state are suspended.
5. The control method for a clothes dryer according to claim 1, characterized in that: In S3, the method further includes: When it is detected that the float switch changes from the closed state to the open state, the second timer is immediately started to perform open timing.
6. The control method for a clothes dryer according to claim 1, characterized in that: In S2, the method further includes: If the float switch is disconnected before the closing time reaches the first preset time, the first timer is stopped and reset, and the first count value is not increased.
7. The control method for a clothes dryer according to any one of claims 1 to 6, characterized in that: The first preset duration and the second preset duration are both 3-5 seconds; And / or, after clearing the first count value, the method further includes: stopping and resetting the second timer.
8. A control device for a clothes dryer, characterized in that: The clothes dryer includes a drying drum, a first water box, a second water box, a drainage pump and a float switch, wherein the first water box is used to collect condensed water generated by the drying drum during drying, and the second water box is arranged above the first water box, and water overflowing from the second water box is adapted to flow back to the first water box; The drainage pump is used to transport water in the first water box to the second water box; The float switch is arranged in the first water box; The control device comprises: Monitoring module, used to monitor the operating status of the float switch in real time; a drainage module, configured to, when detecting that the float switch is in a closed state, start a first timer for closing timing, and trigger a drainage action if the closing timing reaches a first preset time, and increase the first count value by one; a clearing module, configured to start a second timer to perform a disconnection timing when detecting that the float switch is in a disconnected state, and clear the first count value if the disconnection timing reaches a second preset time; An alarm module is configured to control the clothes dryer to sound an alarm based on the first count value.
9. A clothes dryer, characterized in that: include: Drying drum; a first water box and a second water box, wherein the first water box is used to collect condensed water generated during the drying process of the drying drum, and the second water box is arranged above the first water box, and water overflowing from the second water box is suitable for flowing back to the first water box; a drainage pump, configured to transport water in the first water box to the second water box; a float switch, disposed in the first water box; A controller is electrically connected to the float switch and the drain pump, and is configured to execute the control method for the clothes dryer according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the control method for a clothes dryer according to any one of claims 1 to 7 are implemented.