Control method and device of clothes treatment equipment, clothes treatment equipment and medium

By monitoring the timing deviation of the external crystal oscillator in the laundry processing equipment and switching to the internal crystal oscillator as the clock source, the problem of inaccurate equipment operation caused by the timing deviation of the external crystal oscillator is solved, ensuring the normal operation of the equipment and the improvement of user experience.

CN119308106APending Publication Date: 2025-01-14HEFEI MIDEA WASHING MACHINE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310865025.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-13
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

When existing clothing processing equipment uses external crystal oscillators as clock source, the timing deviation occurs, causing the controller to be unable to control the equipment operation normally, affecting the user experience.

Method used

By monitoring the timing deviation of the external crystal oscillator, when the deviation threshold is reached, switch to the internal crystal oscillator as the clock source to ensure the accuracy of timing and the normal operation of the equipment.

Benefits of technology

It effectively solves the problem of inaccurate equipment operation caused by external crystal oscillator timing deviation, and ensures the normal operation of clothing processing equipment and the improvement of user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119308106A_ABST
    Figure CN119308106A_ABST
Patent Text Reader

Abstract

The invention relates to a control method and device of clothes processing equipment, the clothes processing equipment and a medium. The control method of the clothes processing equipment comprises the following steps: determining that a clock source of a controller of the clothes processing equipment is an external crystal oscillator; and determining that the timing deviation of the external crystal oscillator reaches a deviation threshold value, and switching the clock source of the controller from the external crystal oscillator to the internal crystal oscillator. When the timing deviation of the external crystal oscillator reaches the deviation threshold value, the controller does not accurately time by taking the external crystal oscillator as the clock source and cannot accurately control the operation of the clothes processing equipment, so that the internal crystal oscillator capable of working normally is switched, the internal crystal oscillator is taken as the clock source for timing, and the operation of the clothes processing equipment can be accurately controlled. Compared with timing by taking the external crystal oscillator with the timing deviation reaching the deviation threshold value as the clock source, the operation of the clothes processing equipment can be accurately controlled, and the use experience of a user is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of smart home technology, and in particular to a control method and device for a clothing processing device, a clothing processing device, and a medium. Background Art

[0002] Clothes processing equipment is generally equipped with an external crystal oscillator and an internal crystal oscillator. The advantage of an external crystal oscillator over an internal crystal oscillator is that the timing accuracy based on the external crystal oscillator is higher than the timing accuracy based on the internal crystal oscillator under normal working conditions. In order to ensure the timing accuracy of the clothing processing equipment during operation, the clothing processing equipment in the prior art generally adopts a solution based on external crystal oscillator timing. However, the external crystal oscillator may be abnormal, causing the controller to deviate from the timing using it as the clock source, and then the controller of the clothing processing equipment cannot normally control the clothing processing equipment to run the cleaning program, which brings a poor user experience. Summary of the invention

[0003] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a control method and device for a clothes processing device, a clothes processing device and a medium.

[0004] In a first aspect, the present disclosure provides a control method for a laundry processing device, comprising:

[0005] Determining that a clock source of a controller of the laundry processing device is an external crystal oscillator;

[0006] It is determined that the timing deviation of the external crystal oscillator reaches a deviation threshold, and the clock source of the controller is switched from the external crystal oscillator to an internal crystal oscillator.

[0007] Optionally, determining that the timing deviation of the external crystal oscillator timing reaches a deviation threshold comprises:

[0008] Obtaining a first count value within a preset time with an external crystal oscillator as a clock source and a second count value with an internal crystal oscillator as a clock source;

[0009] It is determined that a difference between the first count value and the second count value reaches a deviation threshold.

[0010] Optionally, the acquiring of a first count value with an external crystal oscillator as a clock source and a second count value with an internal crystal oscillator as a clock source within a preset time includes:

[0011] Controlling the external crystal oscillator to be the clock source of the first timer, and the internal crystal oscillator to be the clock source of the second timer;

[0012] It is determined that the counting time of the second timer reaches a preset time, and a first counting value of the first timer and a second counting value of the second timer are obtained.

[0013] Optionally, the acquiring of a first count value with an external crystal oscillator as a clock source and a second count value with an internal crystal oscillator as a clock source within a preset time includes:

[0014] Controlling the external crystal oscillator to be the clock source of the first timer, and the internal crystal oscillator to be the clock source of the second timer;

[0015] It is determined that the counting time of the first timer reaches a preset time, and a first counting value of the first timer and a second counting value of the second timer are obtained.

[0016] Optionally, it also includes:

[0017] It is determined that the difference between the first count value and the second count value does not reach a deviation threshold, and the count values ​​of the first timer and the second timer are cleared.

[0018] Optionally, the internal crystal oscillator includes an internal high-speed crystal oscillator;

[0019] The obtaining of the second count value with the internal crystal oscillator as the clock source comprises: obtaining the second count value with the internal high-speed crystal oscillator as the clock source;

[0020] The step of switching the clock source of the controller from the external crystal oscillator to the internal crystal oscillator comprises:

[0021] The clock source of the controller is switched from the external crystal oscillator to the internal high-speed crystal oscillator.

[0022] Optionally, the internal crystal oscillator includes an internal low-speed crystal oscillator and an internal high-speed crystal oscillator;

[0023] The obtaining of the second count value with the internal crystal oscillator as the clock source comprises: obtaining the second count value with the internal low-speed crystal oscillator as the clock source;

[0024] The step of switching the clock source of the controller from the external crystal oscillator to the internal crystal oscillator comprises:

[0025] Switching the clock source of the controller from the external crystal oscillator to the internal high-speed crystal oscillator;

[0026] Wherein, the operating frequency of the internal low-speed crystal oscillator is lower than the operating frequency of the internal high-speed crystal oscillator.

[0027] In a second aspect, the present disclosure further provides a control device for a laundry processing device, comprising:

[0028] The control module is used to determine that the clock source of the controller of the clothing processing device is an external crystal oscillator; determine that the timing deviation of the external crystal oscillator reaches a deviation threshold, and switch the clock source of the controller from the external crystal oscillator to the internal crystal oscillator.

[0029] In a third aspect, the present disclosure further provides a clothing processing device, comprising a processor and a memory, wherein the processor executes the steps of any one of the methods described in the first aspect by calling a program or instruction stored in the memory.

[0030] In a fourth aspect, the present disclosure further provides a storage medium storing a program or instruction, wherein the program or instruction enables a computer to execute the steps of the method as described in any one of the first aspects.

[0031] The present disclosure provides a control method, device, clothing processing device and medium for clothing processing equipment; the control method for clothing processing equipment includes: determining that the clock source of the controller of the clothing processing equipment is an external crystal oscillator; determining that the timing deviation of the external crystal oscillator reaches the deviation threshold, and switching the clock source of the controller from the external crystal oscillator to the internal crystal oscillator. When the timing deviation of the external crystal oscillator reaches the deviation threshold, it means that the controller is no longer accurate in timing with the external crystal oscillator as the clock source, and cannot more accurately control the operation of the clothing processing equipment, thereby switching to the internal crystal oscillator that can work normally, and timing with the internal crystal oscillator as the clock source. Compared with still timing with the external crystal oscillator whose timing deviation reaches the deviation threshold as the clock source, the operation of the clothing processing equipment can be more accurately controlled, ensuring the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0034] Figure 1 A schematic flow chart of a control method for a clothes processing device provided by an embodiment of the present disclosure;

[0035] Figure 2 A schematic diagram of the structure of a control device for a clothes processing device provided by an embodiment of the present disclosure;

[0036] Figure 3 A schematic diagram of the structure of a clothing processing device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0037] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0038] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0039] A control method, device, clothing processing device and medium for clothing processing equipment provided by an embodiment of the present disclosure will be exemplarily described below in conjunction with the accompanying drawings.

[0040] Figure 1 A schematic flow chart of a control method for a clothes processing device provided in an embodiment of the present disclosure includes:

[0041] S101, determining that a clock source of a controller of a laundry processing device is an external crystal oscillator;

[0042] S102: Determine that the timing deviation of the external crystal oscillator reaches a deviation threshold, and switch the clock source of the controller from the external crystal oscillator to the internal crystal oscillator.

[0043] Exemplarily, the clothing processing device in the embodiment of the present disclosure represents a functional device that can process clothing, for example, it can realize one or more or all functions of cleaning, dehydrating, drying, softening, etc. of clothing. The process of clothing processing by the clothing processing device is generally controlled by the controller of the clothing processing device. For example, the controller can control the rotation of the motor, etc. Taking the cleaning of clothing as an example, the cleaning time can be a minutes, which requires the cleaning time to be timed. Generally, an external crystal oscillator and an internal crystal oscillator are configured in the clothing processing device. Both the external crystal oscillator and the internal crystal oscillator can output clock pulses at a certain frequency. The controller can use the clock pulses output by the external crystal oscillator or the internal crystal oscillator for timing, that is, the controller can use the external crystal oscillator or the internal crystal oscillator as the clock source for timing. Among them, the internal crystal oscillator is a crystal oscillator built into the controller chip of the clothing processing device, and the external crystal oscillator is a crystal oscillator independently set outside the chip. Based on the characteristics of the external crystal oscillator and the internal crystal oscillator, the accuracy of timing with the external crystal oscillator as the clock source is generally higher than the accuracy of timing with the internal crystal oscillator as the clock source. Therefore, the existing scheme generally only uses the external crystal oscillator as the clock source for timing.

[0044] However, in some possible scenarios, the external crystal oscillator, as a physical device, may not be able to output clock pulses of accurate frequency due to external or even internal factors, which may cause the controller to use the external crystal oscillator as the clock source to time inaccurately, resulting in the controller being unable to accurately control the clothing processing equipment to process clothes or even unable to operate. If not handled in a timely manner, it may cause user dissatisfaction and affect the user experience. Some existing solutions use a watchdog method to detect the external crystal oscillator. Specifically, when the controller is in sleep mode, the system cannot be awakened because the external crystal oscillator cannot work. At this time, the watchdog timer overflow interrupt is used for processing. When the watchdog overflows, other clock sources are switched. However, the middle solution is only applicable to the case where the external crystal oscillator fails completely.

[0045] Based on the above problems, the embodiment of the present disclosure provides a control method for a clothing processing device, which can be switched to an internal crystal oscillator in time after the controller uses an external crystal oscillator as a clock source and the timing deviation of the external crystal oscillator reaches a deviation threshold, and the internal crystal oscillator is used as the clock source for timing. The deviation threshold represents a value used to characterize the timing deviation, for example, it can be b, and if the value of the timing deviation is greater than or equal to b, it can represent that the timing deviation has reached the deviation threshold. In this scenario, since the timing deviation of the external crystal oscillator has reached the deviation threshold, it can be considered that it is completely incapable of timing, so the external crystal oscillator cannot be used as the clock source for timing, and the internal crystal oscillator can work normally and can be used as the clock source for timing. Therefore, after switching to the internal crystal oscillator and the controller uses the internal crystal oscillator as the clock source for timing, the controller can also relatively accurately control the operation of the clothing processing device. Compared with some solutions in the prior art, the control method for a clothing processing device provided by the embodiment of the present disclosure has a wider range of applications, and can be switched to the internal crystal oscillator in time after the timing deviation of the external crystal oscillator reaches the deviation threshold, which guarantees the user experience to a greater extent.

[0046] In some embodiments, determining that the timing deviation of the external crystal oscillator timing reaches the deviation threshold includes:

[0047] Obtaining a first count value within a preset time with an external crystal oscillator as a clock source and a second count value with an internal crystal oscillator as a clock source;

[0048] It is determined that a difference between the first count value and the second count value reaches a deviation threshold.

[0049] Exemplarily, for example, the first count value obtained within the preset time is p times, the second count value is q times, and the deviation threshold is r times. If the absolute value of the difference between p and q is greater than or equal to r, it can be determined that the difference between the first count value and the second count value reaches the deviation threshold. Conversely, if the absolute value of the difference between p and q is less than r, it can be determined that the difference between the first count value and the second count value does not reach the deviation threshold.

[0050] Through the above method, it can be more accurately determined whether the timing deviation of the external crystal oscillator timing reaches the deviation threshold.

[0051] In some embodiments, obtaining a first count value with an external crystal oscillator as a clock source within a preset time and a second count value with an internal crystal oscillator as a clock source includes:

[0052] Controlling the external crystal oscillator to be the clock source of the first timer, and the internal crystal oscillator to be the clock source of the second timer;

[0053] It is determined that the counting time of the second timer reaches a preset time, and a first counting value of the first timer and a second counting value of the second timer are obtained.

[0054] Exemplarily, the first timer and the second timer both represent functional devices that can perform timing and counting. As a possible implementation, the first timer and the second timer can be started simultaneously for counting, and when the counting time of the second timer reaches the preset time, the first count value corresponding to the first timer and the second count value corresponding to the second timer are counted. For example, the first count value of the first timer and the second count value of the second timer can be obtained after the counting time of the second timer reaches x seconds. The counting time corresponding to the first count value and the second count value is the same, and the second count value is a relatively accurate count value, so the first count value can be judged based on the second count value. If the difference between the second count value and the first count value reaches the deviation threshold, it can be said that the first count value is inaccurate, that is, the first count value and the second count value can be determined in the above manner, and then it is determined whether the difference between the second count value and the first count value reaches the deviation threshold.

[0055] In some embodiments, obtaining a first count value with an external crystal oscillator as a clock source within a preset time and a second count value with an internal crystal oscillator as a clock source includes:

[0056] Controlling the external crystal oscillator to be the clock source of the first timer, and the internal crystal oscillator to be the clock source of the second timer;

[0057] It is determined that the counting time of the first timer reaches a preset time, and a first counting value of the first timer and a second counting value of the second timer are obtained.

[0058] As another possible implementation, the first timer and the second timer may be started to count, and when the counting time of the first timer reaches the preset time, the first count value corresponding to the first timer and the second count value corresponding to the second timer may be counted. For example, the first count value of the first timer and the second count value of the second timer may be obtained after the counting time of the first timer reaches y seconds. The counting time corresponding to the first count value and the second count value is the same, and the second count value is a relatively accurate count value, so the first count value may be compared with the more accurate second count value. If the difference between the second count value and the first count value reaches the deviation threshold, it can be said that the first count value is inaccurate, that is, the first count value and the second count value may be determined in the above manner, and then it is determined whether the difference between the second count value and the first count value reaches the deviation threshold.

[0059] In some embodiments, it also includes:

[0060] It is determined that the difference between the first count value and the second count value does not reach the deviation threshold, and the count values ​​of the first timer and the second timer are cleared.

[0061] For example, if the difference between the first count value and the second count value reaches the deviation threshold, it can be shown that the external crystal oscillator can be used as a clock source to accurately time. At this time, the count values ​​of the first timer and the second timer can be cleared to zero, and the counting judgment can be re-performed, that is, it is possible to continuously determine whether the timing deviation of the external crystal oscillator reaches the deviation threshold. Based on the above scheme, if it is determined at any possible time point that the timing deviation of the external crystal oscillator reaches the deviation threshold, the external crystal oscillator can be switched to the internal crystal oscillator, and the internal crystal oscillator is used as the clock source for timing, so as to ensure that the controller can control the normal operation of the clothing processing device and ensure the user experience.

[0062] In some embodiments, the internal crystal oscillator includes an internal low-speed crystal oscillator and an internal high-speed crystal oscillator;

[0063] Acquiring a second count value with the internal crystal oscillator as the clock source includes: acquiring a second count value with the internal low-speed crystal oscillator as the clock source;

[0064] Switching the controller's clock source from an external crystal oscillator to an internal crystal oscillator includes:

[0065] Switch the controller's clock source from an external crystal oscillator to an internal high-speed crystal oscillator;

[0066] Among them, the operating frequency of the internal low-speed crystal oscillator is lower than the operating frequency of the internal high-speed crystal oscillator.

[0067] Exemplarily, the internal crystal oscillator may include an internal high-speed crystal oscillator and an internal low-speed crystal oscillator, and the difference between the internal high-speed crystal oscillator and the internal low-speed crystal oscillator is the operating frequency. The disclosed embodiment involves three types of crystal oscillators, namely, an external crystal oscillator, an internal high-speed crystal oscillator, and an internal low-speed crystal oscillator. In terms of the accuracy of timing as a clock source, the accuracy of the external crystal oscillator is greater than the accuracy of the internal high-speed crystal oscillator, and the accuracy of the external crystal oscillator is also greater than the accuracy of the internal high-speed crystal oscillator.

[0068] In the process of determining the second count value, since only the second timer is needed, it does not need an excessively high frequency of the internal crystal oscillator, and the internal low-speed crystal oscillator can be used as the clock source for counting. The second count value can be determined by the internal low-speed crystal oscillator, and then it is determined that the count deviation of the external crystal oscillator reaches the deviation threshold. In the process of switching the clock source of the controller from the external crystal oscillator to the internal crystal oscillator, since the controller needs to use this as the clock source to control the operation of the clothing processing device, a higher frequency is required, and the external crystal oscillator can be switched to the internal high-speed crystal oscillator to better control the operation of the clothing processing device.

[0069] Based on the above scheme, the embodiment of the present disclosure can reduce the loss of electric energy and can perform timing more accurately while ensuring that it can accurately determine whether the external crystal oscillator can be used as a clock source to more accurately time.

[0070] In some embodiments, the internal crystal oscillator comprises an internal high-speed crystal oscillator;

[0071] Acquiring a second count value with the internal crystal oscillator as the clock source includes: acquiring a second count value with the internal high-speed crystal oscillator as the clock source;

[0072] Switching the controller's clock source from an external crystal oscillator to an internal crystal oscillator includes:

[0073] Switch the controller's clock source from an external crystal oscillator to an internal high-speed crystal oscillator.

[0074] For example, in some possible scenarios, only an internal high-speed crystal oscillator may be provided in the clothing processing device, or the internal low-speed crystal oscillator may not be used due to some reasons. In this scenario, the embodiment of the present disclosure can use the internal high-speed crystal oscillator as the clock source to count and determine the second count value, and then determine that the count deviation of the external crystal oscillator reaches the deviation threshold. In the process of switching the external crystal oscillator, the external crystal oscillator can also be switched to the internal high-speed crystal oscillator, and the internal high-speed crystal oscillator can be used as the clock source for timing to more accurately control the operation of the clothing processing device.

[0075] Figure 2 A schematic diagram of the structure of a control device for a clothes processing device provided in an embodiment of the present disclosure includes:

[0076] The control module 201 is used to determine that the clock source of the controller of the clothing processing device is an external crystal oscillator; determine that the timing deviation of the external crystal oscillator reaches a deviation threshold, and switch the clock source of the controller from the external crystal oscillator to the internal crystal oscillator.

[0077] The control device of the clothing processing equipment provided by the embodiment of the present disclosure has the same technical features as the control method embodiment of the above-mentioned clothing processing equipment, and therefore can also solve the same technical problems as the control method embodiment of the above-mentioned clothing processing equipment and achieve the same technical effects, which will not be repeated here.

[0078] Figure 3 A structural schematic diagram of a clothing processing device provided in an embodiment of the present disclosure, the clothing processing device includes a processor 301 and a memory 302, and the processor 301 executes the steps of any method in the above embodiments by calling a program or instruction stored in the memory 302.

[0079] Specifically, Figure 3 As shown, the clothing processing device can be configured to include at least one processor 301, at least one memory 302, and at least one communication interface 303. The various components in the clothing processing device are coupled together via a bus system 304. The communication interface 303 is used for information transmission between external devices. It is understood that the bus system 304 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 304 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, the bus system 304 is not described in detail. Figure 3 Various buses are labeled as bus system 304 .

[0080] It is understood that the memory 302 in this embodiment may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. In some implementations, the memory 302 stores the following elements: executable units or data structures, or their subsets, or their extended set operating systems and applications. In the disclosed embodiment, the processor 301 executes the steps of each embodiment of the method provided in the disclosed embodiment by calling the program or instruction stored in the memory 302.

[0081] The method provided in the embodiment of the present disclosure can be applied to the processor 301, or implemented by the processor 301. The processor 301 can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 301 or an instruction in the form of software. The above-mentioned processor 301 can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0082] The steps of the method provided in the embodiment of the present disclosure can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software units in the decoding processor. The software unit can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 302, and the processor 301 reads the information in the memory 302 and completes the steps of the method in combination with its hardware.

[0083] The embodiment of the present disclosure further provides a storage medium, wherein the storage medium stores a program or an instruction, and the program or the instruction enables a computer to execute the steps of any one of the methods in the above method embodiments.

[0084] The storage medium provided by the embodiment of the present disclosure can execute the steps of any one of the methods in the above-mentioned control method embodiments of the clothing processing device, and thus can also achieve the same technical effect as the above-mentioned control method of the clothing processing device.

[0085] In addition to the above-mentioned method and clothing cleaning device, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to perform the method steps of various embodiments of the present application.

[0086] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the embodiments of the present invention, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0087] In addition, the embodiments of the present application may also be a storage medium on which computer program instructions are stored. When the computer program instructions are executed by the processor 301, the processor 301 executes the method steps of various embodiments of the present application.

[0088] The storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0089] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0090] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A control method for a clothes processing device, characterized in that: include: Determining that a clock source of a controller of the laundry processing device is an external crystal oscillator; It is determined that the timing deviation of the external crystal oscillator reaches a deviation threshold, and the clock source of the controller is switched from the external crystal oscillator to an internal crystal oscillator.

2. The method according to claim 1, characterized in that Determining that the timing deviation of the external crystal oscillator timing reaches the deviation threshold comprises: Obtaining a first count value within a preset time with an external crystal oscillator as a clock source and a second count value with an internal crystal oscillator as a clock source; It is determined that a difference between the first count value and the second count value reaches a deviation threshold.

3. The method according to claim 2, characterized in that The obtaining of a first count value with an external crystal oscillator as a clock source and a second count value with an internal crystal oscillator as a clock source within a preset time includes: Controlling the external crystal oscillator to be the clock source of the first timer, and the internal crystal oscillator to be the clock source of the second timer; It is determined that the counting time of the second timer reaches a preset time, and a first counting value of the first timer and a second counting value of the second timer are obtained.

4. The method according to claim 2, characterized in that: The obtaining of a first count value with an external crystal oscillator as a clock source and a second count value with an internal crystal oscillator as a clock source within a preset time includes: Controlling the external crystal oscillator to be the clock source of the first timer, and the internal crystal oscillator to be the clock source of the second timer; It is determined that the counting time of the first timer reaches a preset time, and a first counting value of the first timer and a second counting value of the second timer are obtained.

5. The method according to claim 3 or 4, characterized in that: Also includes: It is determined that the difference between the first count value and the second count value does not reach a deviation threshold, and the count values ​​of the first timer and the second timer are cleared.

6. The method according to any one of claims 2 to 4, characterized in that: The internal crystal oscillator includes an internal high-speed crystal oscillator; The obtaining of the second count value with the internal crystal oscillator as the clock source comprises: obtaining the second count value with the internal high-speed crystal oscillator as the clock source; The step of switching the clock source of the controller from the external crystal oscillator to the internal crystal oscillator comprises: The clock source of the controller is switched from the external crystal oscillator to the internal high-speed crystal oscillator.

7. The method according to any one of claims 2 to 4, characterized in that: The internal crystal oscillator includes an internal low-speed crystal oscillator and an internal high-speed crystal oscillator; The obtaining of the second count value with the internal crystal oscillator as the clock source comprises: obtaining the second count value with the internal low-speed crystal oscillator as the clock source; The step of switching the clock source of the controller from the external crystal oscillator to the internal crystal oscillator comprises: Switching the clock source of the controller from the external crystal oscillator to the internal high-speed crystal oscillator; Wherein, the operating frequency of the internal low-speed crystal oscillator is lower than the operating frequency of the internal high-speed crystal oscillator.

8. A control device for a clothes processing device, characterized in that: include: A control module, used to determine that a clock source of a controller of the laundry processing device is an external crystal oscillator; It is determined that the timing deviation of the external crystal oscillator reaches a deviation threshold, and the clock source of the controller is switched from the external crystal oscillator to an internal crystal oscillator.

9. A clothes processing device, characterized in that: The method comprises a processor and a memory, wherein the processor executes the steps of the method according to any one of claims 1 to 7 by calling a program or instruction stored in the memory.

10. A storage medium, characterized in that: The storage medium stores a program or an instruction, and the program or the instruction enables a computer to execute the steps of the method according to any one of claims 1 to 7.