Washing machine and control method, device, storage medium and computer program product thereof

By setting up electromagnetic devices on the outer wall of the inner barrel of the washing machine and performing eccentric detection, the damage caused by the contact between the metal foreign objects in the clothes and the inner barrel of the washing machine is solved, accurate detection and reminder are achieved, and user experience is improved.

CN119243436BActive Publication Date: 2025-02-25GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411774239.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-02-25
Estimated Expiration
2044-12-05

AI Technical Summary

Technical Problem

During the washing machine washing clothes, the metal foreign matter mixed into the clothes comes into contact with the inner drum of the washing machine, which will damage the washing machine and clothes and affect the user experience.

Method used

Electromagnetic devices are installed on the outer wall of the inner cylinder of the washing machine, and the inner cylinder is eccentric to accurately determine whether there are foreign objects in the clothes. By obtaining the weight of the clothes in the inner cylinder, determining the eccentricity threshold, and performing eccentricity detection in the first and second rounds after shaking, and combining the energization of the electromagnetic device, it is determined whether there is a foreign object.

Benefits of technology

It realizes that the clothes are accurately detected whether there are metal foreign objects in the clothes without increasing the cost and structural complexity of the washing machine, and promptly reminds the users to avoid damaging the washing machine and clothes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119243436B_ABST
    Figure CN119243436B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of washing machines, and discloses a washing machine and a control method, device, storage medium and computer program product thereof. The washing machine has an inner drum, and an electromagnetic device is arranged on the outer wall of the inner drum; the method comprises: after the washing machine is powered on, obtaining the weight of the clothes in the inner drum; determining the eccentricity value threshold of the inner drum according to the weight of the clothes in the inner drum, and controlling the inner drum to shake; obtaining the eccentricity value of the inner drum; determining whether the clothes in the inner drum contain foreign matter according to the eccentricity value of the inner drum and the eccentricity value threshold of the inner drum, combined with the power-on condition of the control electromagnetic device: if so, initiating a reminder message that the clothes in the inner drum contain foreign matter, and controlling the washing machine to suspend the execution of a preset washing program; otherwise, controlling the washing machine to execute the preset washing program. The scheme, by arranging an electromagnetic device on the outer wall of the inner drum of the washing machine and performing eccentricity detection on the inner drum to accurately determine whether the clothes contain foreign matter, has little impact on the structure of the washing machine and is low in cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of washing machines, and specifically relates to a control method, device, washing machine, storage medium and computer program product of a washing machine, and more particularly to a metal foreign body detection method, device, washing machine, storage medium and computer program product of a washing machine. Background Art

[0002] As people's living standards continue to improve, washing machines have gradually become one of the essential home appliances in people's homes. Most people use washing machines as the main tool for washing clothes. Due to the fast pace of life, people often forget to check the pockets of clothes when washing clothes, and the pockets of clothes often contain metal foreign objects such as coins, keys, metal ornaments, mobile phones, and headphones. Since the clothes are repeatedly stirred during the washing process, these metal foreign objects are likely to fall out of the pockets of the clothes and directly contact the inner drum of the washing machine, which will damage the washing machine and the clothes and affect the user experience.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The object of the present invention is to provide a control method, device, washing machine, storage medium and computer program product for a washing machine, so as to solve the problem that during the washing process of the washing machine, metal foreign matter mixed in the clothes contacts the inner drum of the washing machine, which may damage the washing machine and the clothes and affect the user experience. The electromagnetic device is arranged on the outer wall of the inner drum of the washing machine, and the eccentricity detection of the inner drum is performed to accurately determine whether the clothes contain foreign matter, and the structure of the washing machine is less affected and the cost is low.

[0005] The present invention provides a control method for a washing machine, wherein the washing machine has an inner drum, and an electromagnetic device is arranged on the outer wall of the inner drum; the control method for the washing machine comprises: after the washing machine is powered on, obtaining the weight of the clothes in the inner drum; determining the eccentricity value threshold of the inner drum according to the weight of the clothes in the inner drum, and controlling the inner drum to shake; obtaining the eccentricity value of the inner drum; determining whether the clothes in the inner drum contain foreign matter according to the eccentricity value of the inner drum and the eccentricity value threshold of the inner drum, combined with the power-on condition of controlling the electromagnetic device: if so, initiating a reminder message that the clothes in the inner drum contain foreign matter, and controlling the washing machine to pause the execution of a preset washing program; otherwise, controlling the washing machine to execute the preset washing program.

[0006] In some embodiments, the electromagnetic device includes: more than two electromagnets; the more than two electromagnets are evenly distributed on the outer wall of the inner cylinder.

[0007] In some embodiments, the eccentricity value of the inner cylinder includes: an eccentricity detection value of a first round, and an eccentricity detection value of a second round; wherein obtaining the eccentricity value of the inner cylinder includes: in the first round, when the electromagnetic device is not powered on, obtaining a detection value obtained by a preset eccentricity detection device when the inner cylinder is subjected to eccentricity detection, and recording it as the eccentricity detection value of the first round; in the second round, when the electromagnetic device is powered on, obtaining a detection value obtained by a preset eccentricity detection device when the inner cylinder is subjected to eccentricity detection, and recording it as the eccentricity detection value of the second round.

[0008] In some embodiments, the eccentricity value of the inner drum includes: an eccentricity detection value of a first round, and an eccentricity detection value of a second round; according to the eccentricity value of the inner drum, and the eccentricity value threshold of the inner drum, combined with the power-on condition of controlling the electromagnetic device, determining whether the clothes in the inner drum contain foreign matter, including: after controlling the inner drum to be shaken, when the electromagnetic device is not powered on, determining whether the clothes in the inner drum contain foreign matter according to the eccentricity detection value of the first round, and the eccentricity value threshold of the inner drum, so as to perform a first round of eccentricity detection of whether the clothes in the inner drum contain foreign matter; after the first round of eccentricity detection of whether the clothes in the inner drum contain foreign matter is completed, when the electromagnetic device is powered on, determining whether the clothes in the inner drum contain foreign matter according to the eccentricity detection value of the second round, and the eccentricity value threshold of the inner drum, so as to perform a second round of eccentricity detection of whether the clothes in the inner drum contain foreign matter.

[0009] In some embodiments, determining whether the clothes in the inner drum contain foreign matter based on the eccentricity detection value of the first round and the eccentricity value threshold of the inner drum includes: determining whether the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner drum; and accumulating the number of times the eccentricity detection value of the first round is determined to be greater than or equal to the eccentricity value threshold of the inner drum to obtain the accumulated detection number of the first round; if it is determined that the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner drum, accumulating the number of times the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner drum to obtain the eccentricity excess number of the first round; then, determining whether the eccentricity excess number of the first round is greater than or equal to the eccentricity value threshold of the inner drum. If the eccentricity detection value of the first round is less than the eccentricity value threshold of the inner drum, or if the eccentricity detection number of the first round is not greater than the preset number of excess times, it is determined whether the cumulative detection number of the first round is greater than or equal to the preset detection number: if so, it is determined that the first round of eccentricity detection of whether the clothes in the inner drum contain foreign objects is completed, and the electromagnetic device is controlled to be energized to perform a second round of eccentricity detection of whether the clothes in the inner drum contain foreign objects; otherwise, return to re-determine whether the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner drum.

[0010] In some embodiments, determining whether the clothes in the inner drum contain foreign matter based on the eccentricity detection value of the second round and the eccentricity value threshold of the inner drum includes: determining whether the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum; and accumulating the number of times the eccentricity detection value of the second round is determined to be greater than or equal to the eccentricity value threshold of the inner drum to obtain the accumulated detection number of the second round; if it is determined that the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum, accumulating the number of times the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum to obtain the eccentricity excess number of the second round; then, determining the number of times the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum Whether the number of eccentricity excesses in the second round is greater than the preset number of excesses: if it is determined that the number of eccentricity excesses in the second round is greater than the preset number of excesses, it is determined that the clothes in the inner drum contain foreign matter; if it is determined that the eccentricity detection value of the second round is less than the eccentricity value threshold of the inner drum, or if it is determined that the number of eccentricity excesses in the second round is not greater than the preset number of excesses, it is determined whether the cumulative number of detections in the second round is greater than or equal to the preset number of detections: if so, it is determined that the second round of eccentricity detection of whether the clothes in the inner drum contain foreign matter is completed, and it is determined that the clothes in the inner drum do not contain foreign matter; otherwise, return to re-determine whether the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum.

[0011] Matching the above method, the present invention provides a control device for a washing machine on the other hand, the washing machine having an inner drum, and an electromagnetic device is arranged on the outer wall of the inner drum; the control device of the washing machine comprises: an acquisition unit, configured to acquire the weight of the clothes in the inner drum after the washing machine is powered on; a control unit, configured to determine the eccentricity value threshold of the inner drum according to the weight of the clothes in the inner drum, and control the inner drum to shake; the acquisition unit is also configured to acquire the eccentricity value of the inner drum; the control unit is also configured to determine whether the clothes in the inner drum contain foreign matter based on the eccentricity value of the inner drum and the eccentricity value threshold of the inner drum, combined with the power-on condition of controlling the electromagnetic device: if so, a reminder message that the clothes in the inner drum contain foreign matter is initiated, and the washing machine is controlled to pause the execution of a preset washing program; otherwise, the washing machine is controlled to execute the preset washing program.

[0012] In some embodiments, the electromagnetic device includes: more than two electromagnets; the more than two electromagnets are evenly distributed on the outer wall of the inner cylinder.

[0013] In some embodiments, the eccentricity value of the inner cylinder includes: an eccentricity detection value of a first round, and an eccentricity detection value of a second round; wherein, the acquisition unit, for acquiring the eccentricity value of the inner cylinder, includes: in the first round, when the electromagnetic device is not powered on, acquiring a detection value obtained by a preset eccentricity detection device when the inner cylinder is subjected to eccentricity detection, and recording it as the eccentricity detection value of the first round; in the second round, when the electromagnetic device is powered on, acquiring a detection value obtained by a preset eccentricity detection device when the inner cylinder is subjected to eccentricity detection, and recording it as the eccentricity detection value of the second round.

[0014] In some embodiments, the eccentricity value of the inner drum includes: an eccentricity detection value of a first round, and an eccentricity detection value of a second round; the control unit determines whether the clothes in the inner drum contain foreign matter according to the eccentricity value of the inner drum and the eccentricity value threshold of the inner drum, combined with controlling the power-on status of the electromagnetic device, including: after controlling the inner drum to be shaken, when the electromagnetic device is not powered on, determining whether the clothes in the inner drum contain foreign matter according to the eccentricity detection value of the first round and the eccentricity value threshold of the inner drum, so as to perform a first round of eccentricity detection of whether the clothes in the inner drum contain foreign matter; after the first round of eccentricity detection of whether the clothes in the inner drum contain foreign matter is completed, when the electromagnetic device is powered on, determining whether the clothes in the inner drum contain foreign matter according to the eccentricity detection value of the second round and the eccentricity value threshold of the inner drum, so as to perform a second round of eccentricity detection of whether the clothes in the inner drum contain foreign matter.

[0015] In some embodiments, the control unit determines whether the clothes in the inner drum contain foreign matter based on the eccentricity detection value of the first round and the eccentricity value threshold of the inner drum, including: determining whether the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner drum; and accumulating the number of times the eccentricity detection value of the first round is determined to be greater than or equal to the eccentricity value threshold of the inner drum to obtain the accumulated detection number of the first round; if it is determined that the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner drum, then accumulating the number of times the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner drum to obtain the eccentricity excess number of the first round; then, determining the eccentricity excess number of the first round Whether the number is greater than a preset number of excess times: if it is determined that the eccentricity excess times of the first round are greater than the preset number of excess times, it is determined that the clothes in the inner drum contain foreign matter; if it is determined that the eccentricity detection value of the first round is less than the eccentricity value threshold of the inner drum, or if it is determined that the eccentricity excess times of the first round are not greater than the preset number of excess times, it is determined whether the cumulative number of detections in the first round is greater than or equal to the preset number of detections: if so, it is determined that the first round of eccentricity detection of whether the clothes in the inner drum contain foreign matter is completed, and the electromagnetic device is controlled to be energized to perform a second round of eccentricity detection of whether the clothes in the inner drum contain foreign matter; otherwise, return to re-determine whether the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner drum.

[0016] In some embodiments, the control unit determines whether the clothes in the inner drum contain foreign matter based on the eccentricity detection value of the second round and the eccentricity value threshold of the inner drum, including: determining whether the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum; and accumulating the number of times the eccentricity detection value of the second round is determined to be greater than or equal to the eccentricity value threshold of the inner drum to obtain the accumulated detection number of the second round; if it is determined that the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum, then accumulating the number of times the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum to obtain the eccentricity exceedance number of the second round; then, determining the Whether the number of eccentricity excesses in the second round is greater than a preset number of excesses: if it is determined that the number of eccentricity excesses in the second round is greater than the preset number of excesses, it is determined that the clothes in the inner drum contain foreign matter; if it is determined that the eccentricity detection value of the second round is less than the eccentricity value threshold of the inner drum, or if it is determined that the number of eccentricity excesses in the second round is not greater than the preset number of excesses, it is determined whether the cumulative number of detections in the second round is greater than or equal to the preset number of detections: if so, it is determined that the second round of eccentricity detection of whether the clothes in the inner drum contain foreign matter is ended, and it is determined that the clothes in the inner drum do not contain foreign matter; otherwise, return to re-determine whether the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum.

[0017] Matching the above device, the present invention provides a washing machine on another aspect, comprising: the control device of the washing machine described above.

[0018] Matching the above method, the present invention provides a storage medium on another aspect, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the steps of the above-mentioned washing machine control method.

[0019] Matching the above method, the present invention provides a computer program product on another aspect, including a computer program, which implements the steps of the above washing machine control method when executed by a processor.

[0020] Therefore, the scheme of the present invention is to set an electromagnetic device (such as four annular sheet magnets) on the outer wall of the inner drum of the washing machine, and pre-train to obtain the inner drum eccentricity value thresholds corresponding to different mass ranges of the clothes in the inner drum; when it is necessary to detect foreign objects in the clothes in the inner drum, determine the corresponding eccentricity value threshold (such as the preset eccentricity value threshold L0) according to the weight of the clothes in the inner drum; then shake the clothes in the inner drum, and perform the first and second rounds of eccentricity detection on the inner drum; in the first round, obtain the current eccentricity value of the inner drum after shaking, and determine the corresponding eccentricity value threshold according to the current eccentricity value of the first round being greater than or equal to the preset eccentricity value threshold In the first round, the number of times the eccentricity value is detected is used to determine whether the clothes contain foreign matter; in the second round, after the four annular sheet magnets are energized, the current eccentricity value of the inner drum is obtained, and whether the clothes contain foreign matter is determined according to the number of times the current eccentricity value of the second round is greater than or equal to the preset eccentricity value threshold; if it is determined that the clothes contain foreign matter, a reminder message is initiated and the subsequent operation of the washing machine is paused; if it is determined that the clothes do not contain foreign matter, the washing machine is controlled to operate normally; thus, an electromagnetic device is arranged on the outer wall of the inner drum of the washing machine, and the eccentricity of the inner drum is detected to accurately determine whether the clothes contain foreign matter, and the impact on the structure of the washing machine is small and the cost is low.

[0021] Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present invention.

[0022] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A schematic flow chart of an embodiment of a method for controlling a washing machine of the present invention;

[0024] Figure 2 It is a flow chart of an embodiment of the method of the present invention for determining whether the clothes in the inner drum contain foreign matter by controlling the power supply condition of the electromagnetic device;

[0025] Figure 3It is a flow chart of an embodiment of determining whether the clothes in the inner drum contain foreign matter according to the eccentricity detection value of the first wheel in the method of the present invention;

[0026] Figure 4 It is a flow chart of an embodiment of determining whether the clothes in the inner drum contain foreign matter according to the eccentricity detection value of the second wheel in the method of the present invention;

[0027] Figure 5 It is a structural schematic diagram of an embodiment of a control device for a washing machine of the present invention;

[0028] Figure 6 It is a schematic flow chart of an embodiment of a method for detecting metal foreign matter in a washing machine of the present invention;

[0029] Figure 7 The figure is a schematic diagram of the structure of the installation and distribution of the electromagnets inside the washing machine according to one embodiment of the present invention.

[0030] In conjunction with the accompanying drawings, the reference numerals in the embodiments of the present invention are as follows:

[0031] 1, 2, 3, 4 - electromagnets; 5 - inner drum of washing machine; 10 - acquisition unit; 20 - control unit. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0033] Considering that during the washing process of clothes, the washing machine is constantly stirred repeatedly, the pockets of clothes often contain metal foreign objects such as coins, keys, metal ornaments, mobile phones, and headphones, which are likely to fall out of the pockets of clothes and directly come into contact with the inner drum of the washing machine, causing wear and tear of the inner drum of the washing machine and the clothes. In addition, smaller foreign objects such as coins, keys, and metal ornaments can easily get stuck in the gaps in the inner drum, which may cause problems such as jamming of the inner drum and overloading of the motor, causing serious damage to the washing machine. In addition, electronic products such as mobile phones and headphones cannot be used after being soaked in water, causing property loss to users.

[0034] The solution for detecting metal foreign matter in clothes in washing machines in related schemes is to realize metal foreign matter detection by adding multiple devices such as metal detection devices and infrared detection devices, which increases the cost of washing machines and has limitations in identifying non-metallic foreign matter.

[0035] It can be seen that during the operation of the laundry equipment (i.e., washing machine), if there are foreign objects such as keys and mobile phones in the clothes, and they are not identified in time and the user is prompted to take them out, the continued operation of the washing machine will cause the user's property loss and other bad experiences. In related schemes, a combination of multiple devices such as metal detection devices, infrared detection devices, and audio detection devices are usually used for foreign object detection. The use of multiple detection devices not only increases the cost of the washing machine, but also affects the structure of the original washing machine. Therefore, some problems need to be solved, such as: during the washing process of clothes, foreign objects cannot be detected and there is a lack of warning reminders; in related schemes, the detection of foreign objects requires the use of multiple devices in combination, which increases the cost of the washing machine and affects the structure of the original washing machine.

[0036] Therefore, the scheme of the present invention proposes a control method for a washing machine, specifically a metal foreign body detection method for a washing machine, which adopts a scheme of identifying foreign bodies using eccentricity detection, can accurately identify metal foreign bodies in the washing machine, has little impact on the structure of the washing machine, and has low cost.

[0037] According to an embodiment of the present invention, a method for controlling a washing machine is provided. Figure 1 The schematic flow chart of an embodiment of the method of the present invention is shown. The washing machine has an inner drum (such as Figure 7 The washing machine inner drum 5 shown in the figure has an electromagnetic device (such as four annular sheet magnets) arranged on the outer wall of the inner drum; in the scheme of the present invention, Figure 1 As shown, the control method of the washing machine includes: steps S10 to S13.

[0038] In step S10, after the washing machine is powered on, the clothes in the inner drum are weighed to obtain the weight of the clothes in the inner drum.

[0039] In step S11, after obtaining the weight of the clothes in the inner drum, the eccentricity threshold of the inner drum is determined according to the weight of the clothes in the inner drum, and the inner drum is controlled to be shaken to make the clothes in the inner drum evenly distributed.

[0040] In step S12, after the inner cylinder is controlled to be shaken, the eccentricity value of the inner cylinder is detected to obtain the eccentricity value of the inner cylinder.

[0041] In step S13, based on the eccentricity value of the inner drum and the eccentricity value threshold of the inner drum, combined with the power supply condition of the electromagnetic device, it is determined whether the clothes in the inner drum contain foreign matter: if so, a reminder message is sent that the clothes in the inner drum contain foreign matter, and the washing machine is controlled to pause the execution of a preset washing program; otherwise, the washing machine is controlled to execute the preset washing program.

[0042] The scheme of the present invention proposes a scheme of identifying foreign objects by using eccentricity detection. For foreign objects with heavier weight, they are mixed into the washing drum, which will cause uneven mass distribution in the drum. The eccentricity detection method is adopted to analyze the eccentricity value and identify them; for metal foreign objects with smaller mass, they are mixed into the drum, which also affects the mass distribution in the washing drum, but the impact is smaller. The scheme of the present invention applies magnetic force around the washing drum to expand the influence of small-mass metal foreign objects in the washing drum on the eccentricity value, thereby identifying them and improving the accuracy of foreign object identification. In this way, by using the scheme of identifying foreign objects by using eccentricity detection, not only can metal foreign objects in the washing machine be accurately identified, but also the impact on the structure of the washing machine is smaller and the cost is lower.

[0043] In some embodiments, the electromagnetic device comprises: two or more electromagnets; the two or more electromagnets are evenly distributed on the outer wall of the inner cylinder. That is, the electromagnetic device comprises: two or more electromagnets evenly distributed on the outer wall of the inner cylinder (such as Figure 7 The electromagnet 1, electromagnet 2, electromagnet 3 and electromagnet 4).

[0044] Figure 7 This is a schematic diagram of the structure of the installation and distribution of the electromagnets inside the washing machine of one embodiment of the present invention. Figure 7 As shown, four electromagnets, such as electromagnet 1, electromagnet 2, electromagnet 3 and electromagnet 4, are installed around the inner drum 5 of the washing machine. In order to ensure that the magnetic force has an effect on possible foreign matter, the solution of the present invention installs the electromagnet on the outer wall of the inner drum 5 of the washing machine; in order to prevent the electromagnet from affecting the rotation balance of the inner drum of the washing machine and to avoid the foreign matter in the washing machine drum being unable to be affected by too few magnets, four annular sheet magnets (such as electromagnet 1, electromagnet 2, electromagnet 3 and electromagnet 4) are installed around the outer wall of the inner drum 5 of the washing machine.

[0045] In the scheme of the present invention, eccentricity detection is performed on clothes of different mass ranges. Since the eccentricity values ​​measured by the eccentricity detection fluctuate, the eccentricity threshold values ​​of different mass ranges are calculated through training. Then, eccentricity detection is performed on clothes mixed with foreign matter and the measured eccentricity values ​​are analyzed. Since the density of foreign matter and clothes is quite different, the mass distribution of the pile of clothes in the drum mixed with foreign matter and the pile of clothes in the drum with only clothes under the same mass is different. Therefore, when the pile of clothes mixed with foreign matter is subjected to eccentricity detection, the eccentricity value data measured multiple times will be higher than the eccentricity value data of clothes of the same mass as a whole, and the foreign matter can be identified by the difference in eccentricity values. If a metal foreign matter with a large mass, such as a mobile phone, is mixed into clothes, it will cause serious uneven mass distribution in the drum, and the center of gravity will be biased toward the location of the mobile phone, and the measured eccentricity value will be larger.

[0046] In the scheme of the present invention, for metal foreign bodies with smaller mass, since their mass has less influence on the mass distribution in the washing machine drum, electromagnets are installed around the washing machine drum, and magnetism is generated by energizing the electromagnets to attract metal foreign bodies with smaller mass, thereby expanding their influence on the eccentricity value during eccentricity detection, and comparing the eccentricity value threshold of clothes with the same mass to determine whether there is a foreign body. Metal foreign bodies with smaller mass, such as Bluetooth headsets, keys, etc., have less influence on the mass distribution in the drum, and the influence on the eccentricity value is expanded through magnetic attraction, so that the eccentricity value is different from the eccentricity value of normal clothes, which can not only accurately identify metal foreign bodies in the washing machine, but also have less influence on the structure of the washing machine, and the cost is low.

[0047] In some embodiments, the eccentricity value of the inner cylinder includes: an eccentricity detection value of the first wheel (such as the current eccentricity value L1 of the first wheel), and an eccentricity detection value of the second wheel (such as the current eccentricity value L2 of the second wheel).

[0048] Wherein, obtaining the eccentricity value of the inner cylinder in step S10 includes: in the first round, when the electromagnetic device is not powered on, obtaining a detection value obtained by a preset eccentricity detection device for detecting the eccentricity of the inner cylinder, which is recorded as the eccentricity detection value of the first round; and, in the second round, when the electromagnetic device is powered on, obtaining a detection value obtained by a preset eccentricity detection device for detecting the eccentricity of the inner cylinder, which is recorded as the eccentricity detection value of the second round.

[0049] In the scheme of the present invention, in order to solve the problem of metal foreign objects mixed into the washing machine during the washing process, the eccentricity value detection method is used to perform two rounds of foreign object identification and detection: in the first round of foreign object identification and detection, due to the presence of large foreign objects, the mass distribution in the washing machine drum will be uneven, which will have a greater impact on the eccentricity value during eccentricity detection. By comparing the current eccentricity value L1 of the first round with the preset eccentricity value L0, the large foreign objects can be directly identified and an alarm can be processed; the second round of foreign object identification and detection is aimed at smaller metal foreign objects that have not been detected. By energizing the electromagnets around the washing machine drum, the smaller metal foreign objects can be attracted by magnetism, thereby enhancing the impact on the eccentricity value, thereby identifying them and issuing an alarm. Not only can the metal foreign objects in the washing machine be accurately identified, but also the structure of the washing machine has less impact and the cost is low.

[0050] In some embodiments, the eccentricity value of the inner cylinder includes: an eccentricity detection value of the first wheel (such as the current eccentricity value L1 of the first wheel), and an eccentricity detection value of the second wheel (such as the current eccentricity value L2 of the second wheel).

[0051] For the specific process of determining whether the clothes in the inner drum contain foreign matter according to the eccentricity value of the inner drum and the eccentricity value threshold of the inner drum in step S13, combined with controlling the power supply of the electromagnetic device, please refer to the following exemplary description.

[0052] Combine the following Figure 2 The flowchart of an embodiment of the method of the present invention is shown, which combines the power-on condition of controlling the electromagnetic device to determine whether the clothes in the inner drum contain foreign matter, further illustrating the specific process of determining whether the clothes in the inner drum contain foreign matter in combination with the power-on condition of controlling the electromagnetic device in step S13, including: step S20 to step S21.

[0053] Step S20, after controlling the inner drum to shake, when the electromagnetic device is not powered on, determine whether the clothes in the inner drum contain foreign matter based on the eccentricity detection value of the first round and the eccentricity value threshold of the inner drum, so as to perform a first round of eccentricity detection on whether the clothes in the inner drum contain foreign matter.

[0054] Step S21, after the first round of eccentricity detection of whether the clothes in the inner drum contain foreign objects is completed, when the electromagnetic device is energized, based on the eccentricity detection value of the second round and the eccentricity value threshold of the inner drum, it is determined whether the clothes in the inner drum contain foreign objects, so as to perform a second round of eccentricity detection of whether the clothes in the inner drum contain foreign objects.

[0055] In the scheme of the present invention, the mass distribution in the drum of clothes mixed with metal foreign matter and clothes without metal foreign matter is different under the same mass. The clothes mixed with metal foreign matter will cause the mass distribution in the drum to be more uneven, and the eccentricity value measured during eccentricity detection will be larger. Therefore, according to the difference in eccentricity value, it can be judged whether the metal foreign matter is mixed in the washing drum. As for smaller metal foreign matter, due to its small mass, it has little effect on the mass distribution in the drum, and it may not be recognized. Therefore, electromagnets are added around the drum to attract metal foreign matter through magnetic force, so as to further expand the influence of small metal foreign matter on the eccentricity value, so as to identify it. Not only can the metal foreign matter in the washing machine be accurately identified, but also the structure of the washing machine has little effect and the cost is low.

[0056] In some embodiments, the specific process of determining whether the clothes in the inner drum contain foreign matter based on the eccentricity detection value of the first wheel and the eccentricity value threshold of the inner drum in step S20 is described in the following exemplary embodiment.

[0057] Combine the following Figure 3 The flowchart of an embodiment of the method of the present invention for determining whether the clothes in the inner drum contain foreign matter according to the eccentricity detection value of the first wheel is shown, further illustrating the specific process of determining whether the clothes in the inner drum contain foreign matter according to the eccentricity detection value of the first wheel in step S20, including: steps S30 to S32.

[0058] Step S30, determining whether the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner cylinder; and accumulating the number of times of determining whether the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner cylinder to obtain the accumulated detection number of the first round.

[0059] Step S31, if it is determined that the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner drum, the number of times the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner drum is accumulated to obtain the number of eccentricity excesses of the first round; then, it is determined whether the number of eccentricity excesses of the first round is greater than a preset number of excesses: if it is determined that the number of eccentricity excesses of the first round is greater than the preset number of excesses, it is determined that the clothes in the inner drum contain foreign matter. The preset number of excesses is, for example, m times.

[0060] Step S32, if it is determined that the eccentricity detection value of the first round is less than the eccentricity value threshold of the inner drum, or if it is determined that the eccentricity excess times of the first round are not greater than the preset excess times, then determine whether the cumulative detection times of the first round are greater than or equal to the preset detection times: if so, then determine that the clothes in the inner drum contain foreign matter, initiate a reminder message that the clothes in the inner drum contain foreign matter, control the washing machine to pause the preset washing program, and determine that the first round of eccentricity detection of whether the clothes in the inner drum contain foreign matter is completed, control the electromagnetic device to be powered on to perform the second round of eccentricity detection of whether the clothes in the inner drum contain foreign matter; otherwise, return to re-determine whether the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner drum. The preset detection times are such as n times.

[0061] Figure 6 FIG. 1 is a flow chart of an embodiment of a method for detecting metal foreign bodies in a washing machine according to the present invention. Figure 6 As shown, the method for detecting metal foreign matter in a washing machine includes:

[0062] Step S101, after the washing machine is powered on, a weighing program is first executed to obtain the weight of the clothes in the washing machine drum, and a preset eccentricity value threshold L0 is determined according to an eccentricity value threshold corresponding table, and then step S102 is executed.

[0063] Step S102: After weighing is completed, the washing machine rotates the inner drum of the washing machine to shake out the clothes so that the clothes are evenly distributed, and then step S103 is executed. The washing machine shakes out the clothes by rotating the drum. Specifically, the inner drum rotates at different speeds, sometimes fast and sometimes slow, which helps the clothes to tumble in the drum, thereby achieving the effect of evenly distributing the clothes in the drum.

[0064] After the shaking is completed in step S103, the first round of eccentricity detection is started, and n eccentricity detections are performed. The current eccentricity value L1 of the first round measured in each eccentricity detection is compared with the preset eccentricity value threshold L0 determined in step S101, that is, step S104 is executed to determine whether the current eccentricity value L1 of the first round is greater than the preset eccentricity value threshold L0: if the current eccentricity value L1 of the first round is greater than the preset eccentricity value threshold L0, step S110 is performed, and the number of times the current eccentricity value L1 of the first round exceeds (that is, is greater than or equal to) the preset eccentricity value threshold L0 is recorded to obtain the number of eccentricity detections; if the current eccentricity value L1 of the first round is less than the preset eccentricity value threshold L0, step S105 is performed to determine whether the number of eccentricity detections reaches the set n times, where n is a positive integer. Among them, eccentricity detection is a method for detecting the balance of the inner drum of a washing machine. For example, when the motor of a washing machine works under different loads, the current will be different; if the inner drum is eccentric, the motor needs more force to maintain balance, and the current will increase; therefore, by monitoring the current changes of the motor, the eccentricity of the inner drum can be determined.

[0065] Step S104: compare the current eccentricity value L1 of the first round measured in real time with the preset eccentricity value threshold L0.

[0066] Step S105, determine whether the number of eccentricity detection times reaches the set n times: if not, continue to perform eccentricity detection; if satisfied, proceed to step S106.

[0067] In the scheme of the present invention, in the first round of foreign object identification and detection, the presence of heavy foreign objects will cause uneven mass distribution in the washing machine drum, which will have a greater impact on the eccentricity value during eccentricity detection. By comparing the current eccentricity value L1 of the first round with the preset eccentricity value L0, the heavy foreign objects can be directly identified and an alarm can be performed. This can not only accurately identify metal foreign objects in the washing machine, but also has less impact on the structure of the washing machine and is low in cost.

[0068] In some embodiments, the specific process of determining whether the clothes in the inner drum contain foreign matter based on the eccentricity detection value of the second wheel and the eccentricity value threshold of the inner drum in step S21 is described in the following exemplary embodiment.

[0069] Combine the following Figure 4 The flowchart of an embodiment of the method of the present invention for determining whether the clothes in the inner drum contain foreign matter according to the eccentricity detection value of the second wheel is shown, further illustrating the specific process of determining whether the clothes in the inner drum contain foreign matter according to the eccentricity detection value of the second wheel in step S21, including: steps S40 to S42.

[0070] Step S40, determining whether the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner cylinder; and accumulating the number of times of determining whether the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner cylinder to obtain the accumulated detection number of the second round.

[0071] Step S41: if it is determined that the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum, the number of times the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum is accumulated to obtain the number of eccentricity excesses of the second round; then, it is determined whether the number of eccentricity excesses of the second round is greater than a preset number of excesses: if it is determined that the number of eccentricity excesses of the second round is greater than the preset number of excesses, it is determined that the clothes in the inner drum contain foreign matter. The preset number of excesses is m times.

[0072] Step S42, if it is determined that the eccentricity detection value of the second round is less than the eccentricity value threshold of the inner drum, or if it is determined that the eccentricity excess times of the second round are not greater than the preset excess times, then determine whether the cumulative detection times of the second round are greater than or equal to the preset detection times: if so, then determine whether the second round eccentricity detection of whether the clothes in the inner drum contain foreign matter is completed, and determine that the clothes in the inner drum do not contain foreign matter, and control the washing machine to execute the preset washing program; otherwise, return to re-determine whether the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum. The preset detection times are, for example, n times.

[0073] like Figure 6 As shown, the metal foreign body detection method of the washing machine also includes:

[0074] Step S106: After completing the first round of eccentricity detection, if no foreign matter is found, start the second round of eccentricity detection. Specifically, first energize the electromagnet, and then start n eccentricity detections, execute step S107 to compare the current eccentricity value L2 measured in each eccentricity detection with the preset eccentricity value threshold L0 determined in step S101: if the current eccentricity value L2 is greater than the preset eccentricity value threshold L0, perform step S112, record the number of times the current eccentricity value L2 exceeds (that is, is greater than or equal to) the preset eccentricity value threshold L0 to obtain the number of eccentricity detections; if the current eccentricity value L2 is less than the preset eccentricity value threshold L0, perform step S108 to determine whether the number of eccentricity detections reaches the set n times.

[0075] Step S107: compare the current eccentricity value L2 measured in real time with the preset eccentricity value threshold L0.

[0076] Step S108, determine whether the number of eccentricity detection times reaches the set n times: if not, continue to perform eccentricity detection; if satisfied, proceed to step S109.

[0077] Step S109: The washing machine detects that there is no foreign matter and starts normal operation.

[0078] Step S110: When the current eccentricity detection value L1 of the first round measured each time is greater than the preset eccentricity value threshold L0, the number of eccentricity detection times of the first round is increased by 1, and then step S111 is executed.

[0079] Step S111, determine the number of times the current eccentricity detection value L1 of the first round is greater than the preset eccentricity value threshold value L0: if the number is greater than m times, proceed to step S114, and issue an alarm to remind the user that there is a foreign object. Since the eccentricity value of the eccentricity detection fluctuates, the occasional abnormal eccentricity value is eliminated and the number limit is set. Only when the number of times the test eccentricity value is greater than the preset eccentricity value L0 reaches m times, it is considered that there is a foreign object, thereby improving the accuracy of the detection; if the number is less than m times, continue the first round of eccentricity detection. Among them, a round of eccentricity detection is performed n times in total. When there are m times of eccentricity values ​​exceeding the threshold, a foreign object alarm is issued; when the number of times the eccentricity value exceeds the threshold is less than m times, it jumps to the eccentricity detection number judgment, and the next stage is performed only after completing n times of detection, otherwise the first round of eccentricity detection is continued.

[0080] Step S112: When the current eccentricity detection value L2 of the second round measured each time in the second round is greater than the preset eccentricity value threshold L0, the number of times is increased by 1.

[0081] Step S113, determine the number of times the current eccentricity detection value L2 of the second round is greater than the preset eccentricity value threshold L0: if the number is greater than m times, proceed to step S114, issue an alarm to remind the user that there is a foreign object; if the number is less than m times, continue the second round of eccentricity detection.

[0082] Step S114, determine whether there is a foreign object, trigger an alarm, and prompt the user; the second round of eccentricity detection is for the screening detection of small-mass metal foreign objects, and the detection method is the same as the first round of eccentricity detection.

[0083] In the scheme of the present invention, the second round of foreign object identification and detection is aimed at smaller metal foreign objects that have not been detected. By energizing the electromagnets around the washing drum, the smaller metal foreign objects are attracted by magnetism, and the effect on the eccentricity value is enhanced, so that they can be identified and an alarm is issued. This can not only accurately identify metal foreign objects in the washing machine, but also has less impact on the structure of the washing machine and is low in cost.

[0084] As shown in Table 1 and Table 2, the eccentricity threshold value table corresponding to clothes of different masses and the average eccentricity value table for the case of foreign matter mixed in, the scheme of the present invention requires eccentricity detection training for clothes of different mass ranges M (such as M1, M2, etc.), and a specified rotation speed A needs to be given. This rotation speed A needs to be consistent with the rotation speed of the first and second rounds of eccentricity detection. Through eccentricity detection training, the eccentricity threshold value L (such as L1, L2, etc.) for the case of only clothes of different masses is obtained; similarly, the rotation speed is controlled to be A, and n rounds of eccentricity detection are performed on piles of clothes of different masses mixed with foreign matter to obtain the average eccentricity value N (such as N1, N2, etc.). Eccentricity detection is performed for the two cases of metal foreign matter mixed in the washing drum and no metal foreign matter mixed in, and the difference in eccentricity values ​​of the two cases with the same mass is compared. In the case of the same mass, N>L. Among them, because the eccentricity value detected by the eccentricity detection fluctuates, the eccentricity needs to be detected n times for one round of eccentricity detection, and the average eccentricity value is to eliminate the abnormal influence of the eccentricity value in individual cases. Figure 6 The function of setting the number of times m exceeding the eccentricity threshold value in is the same as that in , which is to eliminate the influence of individual abnormal data and improve the accuracy of detection.

[0085] Table 1

[0086]

[0087] Table 2

[0088]

[0089] In the solution of the present invention, the eccentricity value needs to be trained according to the mass of the clothes in the washing machine drum, and a weighing eccentricity variable table is generated. Then, when the user puts the clothes in, the clothes are weighed to determine the mass M of the clothes, and the preset eccentricity value L0 corresponding to the mass M of the clothes is found through the weighing eccentricity variable table. The preset eccentricity value L0 is the eccentricity value threshold that the current mass M of the clothes can reach under the specified speed step S.

[0090] Among them, when performing eccentricity detection, the measured eccentricity value data is affected by the mass of the clothes in the drum and the mass distribution in the drum: under the same conditions, the greater the mass of the clothes in the drum, the greater the measured eccentricity value; under the same conditions, the more uniform the mass distribution in the drum, the smaller the measured eccentricity value. After weighing first to ensure the quality conditions in the drum, eccentricity detection is performed to collect eccentricity value data; during the eccentricity detection process, the clothes will be shaken to ensure that the eccentricity value is collected under the condition of relatively uniform distribution of clothes. Through multiple rounds of training, it can be found that under the speed step S, the collected eccentricity value data will eventually approach a fixed value, that is, the preset eccentricity value L0 when the mass of the clothes is M.

[0091] In the scheme of the present invention, it is designed to install electromagnets around the outer wall of the inner drum of the washing machine, detect and analyze the eccentricity value of the clothes in the washing machine drum through eccentricity detection, and compare the preset eccentricity value threshold of the clothes under the same mass to determine whether there is a foreign body; for smaller metal foreign bodies, the influence of the metal foreign body on the eccentricity value is increased by the magnetic force of the electromagnet, and then it is identified. In this way, the eccentricity values ​​measured in different drum conditions are analyzed by eccentricity detection, so as to identify the metal foreign body, avoiding the influence of internal factors of the washing machine; and for the situation that the metal foreign body with smaller mass is difficult to detect, by arranging electromagnets around the outer wall of the inner drum of the washing machine and energizing them, when smaller metal foreign bodies such as keys and Bluetooth headsets are mixed in, their influence on the eccentricity value can also be expanded, so that they can be identified, not only can the metal foreign bodies in the washing machine be accurately identified, but also the influence on the structure of the washing machine is small, and the cost is low. The scheme of the present invention is different from the method of electromagnetic detection of metal foreign bodies, which only uses the magnetic attraction of the electromagnet to expand the influence of small mass metal foreign bodies on the mass distribution in the drum, thereby affecting the eccentricity value.

[0092] By adopting the technical solution of this embodiment, an electromagnetic device (such as four annular sheet magnets) is arranged on the outer wall of the inner drum of the washing machine, and the inner drum eccentricity value thresholds corresponding to different mass ranges of the clothes in the inner drum are pre-trained; when it is necessary to detect foreign objects in the clothes in the inner drum, the corresponding eccentricity value threshold (such as the preset eccentricity value threshold L0) is determined according to the weight of the clothes in the inner drum; then the clothes in the inner drum are shaken out, and the first and second rounds of eccentricity detection are performed on the inner drum; in the first round, the current eccentricity value of the inner drum is obtained after shaking out, and the current eccentricity value of the first round is greater than or equal to the preset eccentricity value. In the first round, the four annular sheet magnets are energized to obtain the current eccentricity value of the inner drum, and the number of times the current eccentricity value of the second round is greater than or equal to the preset eccentricity value threshold value is used to determine whether the clothes contain foreign objects; if it is determined that the clothes contain foreign objects, a reminder message is sent and the subsequent operation of the washing machine is paused; if it is determined that the clothes do not contain foreign objects, the washing machine is controlled to operate normally; thus, an electromagnetic device is arranged on the outer wall of the inner drum of the washing machine, and the eccentricity of the inner drum is detected to accurately determine whether the clothes contain foreign objects, and the impact on the structure of the washing machine is small and the cost is low.

[0093] According to an embodiment of the present invention, a control device for a washing machine corresponding to the control method for a washing machine is also provided. Figure 5 The structural schematic diagram of an embodiment of the device of the present invention is shown. The washing machine has an inner drum (such as Figure 7 The washing machine inner drum 5 shown in the figure has an electromagnetic device (such as four annular sheet magnets) arranged on the outer wall of the inner drum; in the scheme of the present invention, Figure 5 As shown, the control device of the washing machine includes: an acquisition unit 10 and a control unit 20.

[0094] The acquisition unit 10 is configured to weigh the clothes in the inner drum to acquire the weight of the clothes in the inner drum after the washing machine is powered on. The specific functions and processing of the acquisition unit 10 refer to step S10.

[0095] The control unit 20 is configured to determine the eccentricity threshold of the inner drum according to the weight of the clothes in the inner drum after obtaining the weight of the clothes in the inner drum, and control the inner drum to shake so that the clothes in the inner drum are evenly distributed. The specific functions and processing of the control unit 20 refer to step S11.

[0096] The acquisition unit 10 is further configured to detect the eccentricity value of the inner drum to acquire the eccentricity value of the inner drum after controlling the inner drum to be shaken. The specific function and processing of the acquisition unit 10 can also be seen in step S12.

[0097] The control unit 20 is further configured to determine whether the clothes in the inner drum contain foreign matter according to the eccentricity value of the inner drum and the eccentricity value threshold of the inner drum, combined with the power-on condition of the electromagnetic device: if so, a reminder message is sent that the clothes in the inner drum contain foreign matter, and the washing machine is controlled to pause the execution of the preset washing program; otherwise, the washing machine is controlled to execute the preset washing program. The specific functions and processing of the control unit 20 refer to step S13.

[0098] The scheme of the present invention proposes a scheme of identifying foreign objects by using eccentricity detection. For foreign objects with heavier weight, they are mixed into the washing drum, which will cause uneven mass distribution in the drum. The eccentricity detection method is adopted to analyze the eccentricity value and identify them; for metal foreign objects with smaller mass, they are mixed into the drum, which also affects the mass distribution in the washing drum, but the impact is smaller. The scheme of the present invention applies magnetic force around the washing drum to expand the influence of small-mass metal foreign objects in the washing drum on the eccentricity value, thereby identifying them and improving the accuracy of foreign object identification. In this way, by using the scheme of identifying foreign objects by using eccentricity detection, not only can metal foreign objects in the washing machine be accurately identified, but also the impact on the structure of the washing machine is smaller and the cost is lower.

[0099] In some embodiments, the electromagnetic device comprises: two or more electromagnets; the two or more electromagnets are evenly distributed on the outer wall of the inner cylinder. That is, the electromagnetic device comprises: two or more electromagnets evenly distributed on the outer wall of the inner cylinder (such as Figure 7 The electromagnet 1, electromagnet 2, electromagnet 3 and electromagnet 4).

[0100] Figure 7 This is a schematic diagram of the structure of the installation and distribution of the electromagnets inside the washing machine of one embodiment of the present invention. Figure 7 As shown, four electromagnets, such as electromagnet 1, electromagnet 2, electromagnet 3 and electromagnet 4, are installed around the inner drum 5 of the washing machine. In order to ensure that the magnetic force has an effect on possible foreign matter, the solution of the present invention installs the electromagnet on the outer wall of the inner drum 5 of the washing machine; in order to prevent the electromagnet from affecting the rotation balance of the inner drum of the washing machine and to avoid the foreign matter in the washing machine drum being unable to be affected by too few magnets, four annular sheet magnets (such as electromagnet 1, electromagnet 2, electromagnet 3 and electromagnet 4) are installed around the outer wall of the inner drum 5 of the washing machine.

[0101] In the scheme of the present invention, eccentricity detection is performed on clothes of different mass ranges. Since the eccentricity values ​​measured by the eccentricity detection fluctuate, the eccentricity threshold values ​​of different mass ranges are calculated through training. Then, eccentricity detection is performed on clothes mixed with foreign matter and the measured eccentricity values ​​are analyzed. Since the density of foreign matter and clothes is quite different, the mass distribution of the pile of clothes in the drum mixed with foreign matter and the pile of clothes in the drum with only clothes under the same mass is different. Therefore, when the pile of clothes mixed with foreign matter is subjected to eccentricity detection, the eccentricity value data measured multiple times will be higher than the eccentricity value data of clothes of the same mass as a whole, and the foreign matter can be identified by the difference in eccentricity values. If a metal foreign matter with a large mass, such as a mobile phone, is mixed into clothes, it will cause serious uneven mass distribution in the drum, and the center of gravity will be biased toward the location of the mobile phone, and the measured eccentricity value will be larger.

[0102] In the scheme of the present invention, for metal foreign bodies with smaller mass, since their mass has less influence on the mass distribution in the washing machine drum, electromagnets are installed around the washing machine drum, and magnetism is generated by energizing the electromagnets to attract metal foreign bodies with smaller mass, thereby expanding their influence on the eccentricity value during eccentricity detection, and comparing the eccentricity value threshold of clothes with the same mass to determine whether there is a foreign body. Metal foreign bodies with smaller mass, such as Bluetooth headsets, keys, etc., have less influence on the mass distribution in the drum, and the influence on the eccentricity value is expanded through magnetic attraction, so that the eccentricity value is different from the eccentricity value of normal clothes, which can not only accurately identify metal foreign bodies in the washing machine, but also have less influence on the structure of the washing machine, and the cost is low.

[0103] In some embodiments, the eccentricity value of the inner cylinder includes: an eccentricity detection value of the first wheel (such as the current eccentricity value L1 of the first wheel), and an eccentricity detection value of the second wheel (such as the current eccentricity value L2 of the second wheel).

[0104] The obtaining unit 10 obtains the eccentricity value of the inner cylinder, including:

[0105] The acquisition unit 10 is further configured to acquire, in the first round, a detection value obtained by a preset eccentricity detection device performing eccentricity detection on the inner cylinder when the electromagnetic device is not powered on, and record the eccentricity detection value of the first round. And,

[0106] The acquisition unit 10 is further configured to acquire, under the second round, a detection value obtained by a preset eccentricity detection device performing eccentricity detection on the inner cylinder when the electromagnetic device is powered on, and record it as the eccentricity detection value of the second round.

[0107] In the scheme of the present invention, in order to solve the problem of metal foreign objects mixed into the washing machine during the washing process, the eccentricity value detection method is used to perform two rounds of foreign object identification and detection: in the first round of foreign object identification and detection, due to the presence of large foreign objects, the mass distribution in the washing machine drum will be uneven, which will have a greater impact on the eccentricity value during eccentricity detection. By comparing the current eccentricity value L1 of the first round with the preset eccentricity value L0, the large foreign objects can be directly identified and an alarm can be processed; the second round of foreign object identification and detection is aimed at smaller metal foreign objects that have not been detected. By energizing the electromagnets around the washing machine drum, the smaller metal foreign objects can be attracted by magnetism, thereby enhancing the impact on the eccentricity value, thereby identifying them and issuing an alarm. Not only can the metal foreign objects in the washing machine be accurately identified, but also the structure of the washing machine has less impact and the cost is low.

[0108] In some embodiments, the eccentricity value of the inner cylinder includes: an eccentricity detection value of the first wheel (such as the current eccentricity value L1 of the first wheel), and an eccentricity detection value of the second wheel (such as the current eccentricity value L2 of the second wheel).

[0109] The control unit 20 determines whether the clothes in the inner drum contain foreign matter according to the eccentricity value of the inner drum and the eccentricity value threshold of the inner drum in combination with controlling the power supply of the electromagnetic device, including:

[0110] The control unit 20 is further configured to, after controlling the inner drum to be shaken, determine whether the clothes in the inner drum contain foreign matter according to the eccentricity detection value of the first round and the eccentricity value threshold of the inner drum when the electromagnetic device is not powered on, so as to perform a first round of eccentricity detection of whether the clothes in the inner drum contain foreign matter. The specific functions and processing of the control unit 20 are also referred to step S20.

[0111] The control unit 20 is further configured to determine whether the clothes in the inner drum contain foreign objects according to the second round of eccentricity detection value and the eccentricity value threshold of the inner drum when the electromagnetic device is powered on after the first round of eccentricity detection of whether the clothes in the inner drum contain foreign objects is completed, so as to perform the second round of eccentricity detection of whether the clothes in the inner drum contain foreign objects. The specific functions and processing of the control unit 20 are also shown in step S21.

[0112] In the scheme of the present invention, the mass distribution in the drum of clothes mixed with metal foreign matter and clothes without metal foreign matter is different under the same mass. The clothes mixed with metal foreign matter will cause the mass distribution in the drum to be more uneven, and the eccentricity value measured during eccentricity detection will be larger. Therefore, according to the difference in eccentricity value, it can be judged whether the metal foreign matter is mixed in the washing drum. As for smaller metal foreign matter, due to its small mass, it has little effect on the mass distribution in the drum, and it may not be recognized. Therefore, electromagnets are added around the drum to attract metal foreign matter through magnetic force, so as to further expand the influence of small metal foreign matter on the eccentricity value, so as to identify it. Not only can the metal foreign matter in the washing machine be accurately identified, but also the structure of the washing machine has little effect and the cost is low.

[0113] In some embodiments, the control unit 20 determines whether the clothes in the inner drum contain foreign matter according to the eccentricity detection value of the first wheel and the eccentricity value threshold of the inner drum, including:

[0114] The control unit 20 is further configured to determine whether the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner cylinder; and to accumulate the number of times of determining whether the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner cylinder to obtain the accumulated detection number of the first round. The specific functions and processing of the control unit 20 are also referred to step S30.

[0115] The control unit 20 is further configured to, if it is determined that the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner drum, accumulate the number of times that the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner drum, and obtain the number of eccentricity exceeding times of the first round; then, determine whether the number of eccentricity exceeding times of the first round is greater than the preset number of exceeding times: if it is determined that the number of eccentricity exceeding times of the first round is greater than the preset number of exceeding times, determine that the clothes in the inner drum contain foreign matter. The specific functions and processing of the control unit 20 are also referred to step S31. Among them, the preset number of exceeding times is m times.

[0116] The control unit 20 is also specifically configured to determine whether the cumulative detection times of the first round are greater than or equal to the preset detection times if it is determined that the eccentricity detection value of the first round is less than the eccentricity value threshold of the inner drum, or if it is determined that the eccentricity excess times of the first round are not greater than the preset excess times: if so, it is determined that the clothes in the inner drum contain foreign matter, a reminder message of the clothes in the inner drum containing foreign matter is initiated, and the washing machine is controlled to pause the preset washing program, and the first round of eccentricity detection of whether the clothes in the inner drum contain foreign matter is determined to be completed, and the electromagnetic device is powered on to perform the second round of eccentricity detection of whether the clothes in the inner drum contain foreign matter; otherwise, return to re-determine whether the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner drum. The specific functions and processing of the control unit 20 are also referred to step S32. Among them, the preset detection times are such as n times.

[0117] Figure 6 FIG. 1 is a flow chart of an embodiment of a method for detecting metal foreign bodies in a washing machine according to the present invention. Figure 6 As shown, the method for detecting metal foreign matter in a washing machine includes:

[0118] Step S101, after the washing machine is powered on, a weighing program is first executed to obtain the weight of the clothes in the washing machine drum, and a preset eccentricity value threshold L0 is determined according to an eccentricity value threshold corresponding table, and then step S102 is executed.

[0119] Step S102: After weighing is completed, the washing machine rotates the inner drum of the washing machine to shake out the clothes so that the clothes are evenly distributed, and then executes step S103.

[0120] After the shaking is completed in step S103, the first round of eccentricity detection is started, and n eccentricity detections are performed. The current eccentricity value L1 of the first round measured in each eccentricity detection is compared with the preset eccentricity value threshold L0 determined in step S101, that is, step S104 is executed to determine whether the current eccentricity value L1 of the first round is greater than the preset eccentricity value threshold L0: if the current eccentricity value L1 of the first round is greater than the preset eccentricity value threshold L0, step S110 is performed, and the number of times the current eccentricity value L1 of the first round exceeds (that is, is greater than or equal to) the preset eccentricity value threshold L0 is recorded to obtain the number of eccentricity detections; if the current eccentricity value L1 of the first round is less than the preset eccentricity value threshold L0, step S105 is performed to determine whether the number of eccentricity detections reaches the set n times, where n is a positive integer.

[0121] Step S104: compare the current eccentricity value L1 of the first round measured in real time with the preset eccentricity value threshold L0.

[0122] Step S105, determine whether the number of eccentricity detection times reaches the set n times: if not, continue to perform eccentricity detection; if satisfied, proceed to step S106.

[0123] In the scheme of the present invention, in the first round of foreign object identification and detection, the presence of heavy foreign objects will cause uneven mass distribution in the washing machine drum, which will have a greater impact on the eccentricity value during eccentricity detection. By comparing the current eccentricity value L1 of the first round with the preset eccentricity value L0, the heavy foreign objects can be directly identified and an alarm can be performed. This can not only accurately identify metal foreign objects in the washing machine, but also has less impact on the structure of the washing machine and is low in cost.

[0124] In some embodiments, the control unit 20 determines whether the clothes in the inner drum contain foreign matter according to the eccentricity detection value of the second wheel and the eccentricity value threshold of the inner drum, including:

[0125] The control unit 20 is further configured to determine whether the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner cylinder; and to accumulate the number of times of determining whether the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner cylinder to obtain the accumulated detection number of the second round. The specific functions and processing of the control unit 20 are also shown in step S40.

[0126] The control unit 20 is further configured to accumulate the number of times that the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum if it is determined that the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum, and obtain the number of eccentricity exceeding times of the second round; then, determine whether the number of eccentricity exceeding times of the second round is greater than the preset number of exceeding times: if it is determined that the number of eccentricity exceeding times of the second round is greater than the preset number of exceeding times, it is determined that the clothes in the inner drum contain foreign matter. The specific functions and processing of the control unit 20 are also referred to step S41. Among them, the preset number of exceeding times is m times.

[0127] The control unit 20 is also specifically configured to determine whether the cumulative detection times of the second round are greater than or equal to the preset detection times if it is determined that the eccentricity detection value of the second round is less than the eccentricity value threshold of the inner drum, or if it is determined that the eccentricity excess times of the second round are not greater than the preset excess times: if so, the second round eccentricity detection of whether the clothes in the inner drum contain foreign matter is determined to be completed, and it is determined that the clothes in the inner drum do not contain foreign matter, and the washing machine is controlled to execute the preset washing program; otherwise, it returns to re-determine whether the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum. The specific functions and processing of the control unit 20 are also referred to step S42. Among them, the preset detection times are such as n times.

[0128] like Figure 6As shown, the metal foreign body detection method of the washing machine also includes:

[0129] Step S106: After completing the first round of eccentricity detection, if no foreign matter is found, start the second round of eccentricity detection. Specifically, first energize the electromagnet, and then start n eccentricity detections, execute step S107 to compare the current eccentricity value L2 measured in each eccentricity detection with the preset eccentricity value threshold L0 determined in step S101: if the current eccentricity value L2 is greater than the preset eccentricity value threshold L0, perform step S112, record the number of times the current eccentricity value L2 exceeds (that is, is greater than or equal to) the preset eccentricity value threshold L0 to obtain the number of eccentricity detections; if the current eccentricity value L2 is less than the preset eccentricity value threshold L0, perform step S108 to determine whether the number of eccentricity detections reaches the set n times.

[0130] Step S107: compare the current eccentricity value L2 measured in real time with the preset eccentricity value threshold L0.

[0131] Step S108, determine whether the number of eccentricity detection times reaches the set n times: if not, continue to perform eccentricity detection; if satisfied, proceed to step S109.

[0132] Step S109: The washing machine detects that there is no foreign matter and starts normal operation.

[0133] Step S110: When the current eccentricity detection value L1 of the first round measured each time is greater than the preset eccentricity value threshold L0, the number of eccentricity detection times of the first round is increased by 1, and then step S111 is executed.

[0134] Step S111, determine the number of times the current eccentricity detection value L1 of the first round is greater than the preset eccentricity value threshold L0: if the number is greater than m times, proceed to step S114, issue an alarm, and remind the user that there is a foreign object. Since the eccentricity value of the eccentricity detection fluctuates, occasional abnormal eccentricity values ​​are eliminated and a number limit is set. Only when the test eccentricity value is greater than the preset eccentricity value L0 for m times, is it considered that there is a foreign object, thereby improving the accuracy of the detection; if the number is less than m times, continue the first round of eccentricity detection.

[0135] Step S112: When the current eccentricity detection value L2 of the second round measured each time in the second round is greater than the preset eccentricity value threshold L0, the number of times is increased by 1.

[0136] Step S113, determine the number of times the current eccentricity detection value L2 of the second round is greater than the preset eccentricity value threshold L0: if the number is greater than m times, proceed to step S114, issue an alarm to remind the user that there is a foreign object; if the number is less than m times, continue the second round of eccentricity detection.

[0137] Step S114, determine whether there is a foreign object, trigger an alarm, and prompt the user; the second round of eccentricity detection is for the screening detection of small-mass metal foreign objects, and the detection method is the same as the first round of eccentricity detection.

[0138] In the scheme of the present invention, the second round of foreign object identification and detection is aimed at smaller metal foreign objects that have not been detected. By energizing the electromagnets around the washing drum, the smaller metal foreign objects are attracted by magnetism, and the effect on the eccentricity value is enhanced, so that they can be identified and an alarm is issued. This can not only accurately identify metal foreign objects in the washing machine, but also has less impact on the structure of the washing machine and is low in cost.

[0139] As shown in Table 1 and Table 2, the eccentricity threshold value table corresponding to clothes of different masses and the average eccentricity value table for the case of foreign matter mixed in, the scheme of the present invention requires eccentricity detection training for clothes of different mass ranges M (such as M1, M2, etc.), and a specified rotation speed A needs to be given. This rotation speed A needs to be consistent with the rotation speed of the first and second rounds of eccentricity detection. Through eccentricity detection training, the eccentricity threshold value L (such as L1, L2, etc.) for the case of only clothes of different masses is obtained; similarly, the rotation speed is controlled to be A, and n rounds of eccentricity detection are performed on piles of clothes of different masses mixed with foreign matter to obtain the average eccentricity value N (such as N1, N2, etc.). Eccentricity detection is performed for the two cases of metal foreign matter mixed in the washing drum and no metal foreign matter mixed in, and the difference in eccentricity values ​​of the two cases with the same mass is compared. In the case of the same mass, N>L.

[0140] In the solution of the present invention, the eccentricity value needs to be trained according to the mass of the clothes in the washing machine drum, and a weighing eccentricity variable table is generated. Then, when the user puts the clothes in, the clothes are weighed to determine the mass M of the clothes, and the preset eccentricity value L0 corresponding to the mass M of the clothes is found through the weighing eccentricity variable table. The preset eccentricity value L0 is the eccentricity value threshold that the current mass M of the clothes can reach under the specified speed step S.

[0141] Among them, when performing eccentricity detection, the measured eccentricity value data is affected by the mass of the clothes in the drum and the mass distribution in the drum: under the same conditions, the greater the mass of the clothes in the drum, the greater the measured eccentricity value; under the same conditions, the more uniform the mass distribution in the drum, the smaller the measured eccentricity value. After weighing first to ensure the quality conditions in the drum, eccentricity detection is performed to collect eccentricity value data; during the eccentricity detection process, the clothes will be shaken to ensure that the eccentricity value is collected under the condition of relatively uniform distribution of clothes. Through multiple rounds of training, it can be found that under the speed step S, the collected eccentricity value data will eventually approach a fixed value, that is, the preset eccentricity value L0 when the mass of the clothes is M.

[0142] In the scheme of the present invention, it is designed to install electromagnets around the outer wall of the inner drum of the washing machine, detect and analyze the eccentricity value of the clothes in the washing machine drum through eccentricity detection, and compare the preset eccentricity value threshold of the clothes under the same mass to determine whether there is a foreign body; for smaller metal foreign bodies, the influence of the metal foreign body on the eccentricity value is increased by the magnetic force of the electromagnet, and then it is identified. In this way, the eccentricity values ​​measured in different drum conditions are analyzed by eccentricity detection, so as to identify the metal foreign body, avoiding the influence of internal factors of the washing machine; and for the situation that the metal foreign body with smaller mass is difficult to detect, by arranging electromagnets around the outer wall of the inner drum of the washing machine and energizing them, when smaller metal foreign bodies such as keys and Bluetooth headsets are mixed in, their influence on the eccentricity value can also be expanded, so that they can be identified, not only can the metal foreign bodies in the washing machine be accurately identified, but also the influence on the structure of the washing machine is small, and the cost is low. The scheme of the present invention is different from the method of electromagnetic detection of metal foreign bodies, which only uses the magnetic attraction of the electromagnet to expand the influence of small mass metal foreign bodies on the mass distribution in the drum, thereby affecting the eccentricity value.

[0143] Since the processing and functions implemented by the device of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned method, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.

[0144] According to an embodiment of the present invention, a washing machine corresponding to the control device of the washing machine is also provided. The washing machine may include: the control device of the washing machine described above.

[0145] Since the processing and functions implemented by the washing machine of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned devices, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.

[0146] According to an embodiment of the present invention, a computer program product corresponding to a washing machine is also provided, comprising a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned method for controlling the washing machine are implemented.

[0147] Since the processing and functions implemented by the product of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned washing machine, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.

[0148] According to an embodiment of the present invention, a storage medium corresponding to a washing machine control method is also provided, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the steps of the washing machine control method described above.

[0149] Since the processing and functions implemented by the storage medium of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned method, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.

[0150] In summary, it is easy for those skilled in the art to understand that, under the premise of no conflict, the above-mentioned advantageous methods can be freely combined and superimposed.

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

Claims

1. A method for controlling a washing machine, characterized in that: The washing machine has an inner drum, and an electromagnetic device is arranged on the outer wall of the inner drum; the control method of the washing machine includes: After the washing machine is powered on, obtaining the weight of the clothes in the inner drum; According to the weight of the clothes in the inner drum, determining the eccentricity threshold of the inner drum, and controlling the inner drum to shake out the clothes; Obtaining the eccentricity value of the inner cylinder; According to the eccentricity value of the inner drum and the eccentricity value threshold of the inner drum, combined with the power-on condition of the electromagnetic device, it is determined whether the clothes in the inner drum contain foreign matter: if so, a reminder message is sent that the clothes in the inner drum contain foreign matter, and the washing machine is controlled to pause the execution of a preset washing program; otherwise, the washing machine is controlled to execute the preset washing program; The eccentricity value of the inner drum includes: an eccentricity detection value of a first round and an eccentricity detection value of a second round; the eccentricity detection value of the first round is a current eccentricity value of the inner drum obtained after shaking out; the eccentricity detection value of the second round is a current eccentricity value of the inner drum obtained after the electromagnetic device is powered on; according to the eccentricity value of the inner drum and the eccentricity value threshold of the inner drum, combined with controlling the power-on condition of the electromagnetic device, determining whether the clothes in the inner drum contain foreign matter includes: After the inner drum is controlled to be shaken, when the electromagnetic device is not powered on, determining whether the clothes in the inner drum contain foreign matter according to the eccentricity detection value of the first round and the eccentricity value threshold of the inner drum, so as to perform a first round of eccentricity detection on whether the clothes in the inner drum contain foreign matter; After the first round of eccentricity detection for whether the clothes in the inner drum contain foreign objects is completed, when the electromagnetic device is energized, it is determined whether the clothes in the inner drum contain foreign objects based on the eccentricity detection value of the second round and the eccentricity value threshold of the inner drum, so as to perform a second round of eccentricity detection for whether the clothes in the inner drum contain foreign objects.

2. The control method of the washing machine according to claim 1, characterized in that: The electromagnetic device comprises: more than two electromagnets; the more than two electromagnets are evenly distributed on the outer wall of the inner cylinder.

3. The control method of the washing machine according to claim 1, characterized in that: Obtaining the eccentricity value of the inner cylinder includes: In the first round, when the electromagnetic device is not powered on, a detection value obtained by a preset eccentricity detection device performing eccentricity detection on the inner cylinder is obtained, and recorded as the eccentricity detection value of the first round; In the second round, when the electromagnetic device is powered on, a detection value obtained by the preset eccentricity detection device performing eccentricity detection on the inner cylinder is obtained and recorded as the eccentricity detection value of the second round.

4. The control method of the washing machine according to claim 1, characterized in that: Determining whether the clothes in the inner drum contain foreign matter according to the eccentricity detection value of the first wheel and the eccentricity value threshold of the inner drum includes: Determine whether the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner cylinder; and accumulate the number of times of determining whether the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner cylinder to obtain the accumulated detection number of the first round; If it is determined that the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner drum, the number of times that the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner drum is accumulated to obtain the number of eccentricity excesses of the first round; then, it is determined whether the number of eccentricity excesses of the first round is greater than a preset number of excesses: if it is determined that the number of eccentricity excesses of the first round is greater than the preset number of excesses, it is determined that the clothes in the inner drum contain foreign matter; If it is determined that the eccentricity detection value of the first round is less than the eccentricity value threshold of the inner drum, or if it is determined that the eccentricity excess times of the first round are not greater than the preset excess times, then it is determined whether the cumulative detection times of the first round are greater than or equal to the preset detection times: if so, then it is determined that the first round of eccentricity detection of whether the clothes in the inner drum contain foreign matter is completed, and the electromagnetic device is controlled to be energized to perform a second round of eccentricity detection of whether the clothes in the inner drum contain foreign matter; otherwise, return to re-determine whether the eccentricity detection value of the first round is greater than or equal to the eccentricity value threshold of the inner drum.

5. The control method of a washing machine according to any one of claims 1 to 4, characterized in that: Determining whether the clothes in the inner drum contain foreign matter according to the eccentricity detection value of the second wheel and the eccentricity value threshold of the inner drum includes: Determine whether the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner cylinder; and accumulate the number of times of determining whether the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner cylinder to obtain the accumulated number of detections of the second round; If it is determined that the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum, the number of times that the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum is accumulated to obtain the number of eccentricity excesses of the second round; then, it is determined whether the number of eccentricity excesses of the second round is greater than a preset number of excesses: if it is determined that the number of eccentricity excesses of the second round is greater than the preset number of excesses, it is determined that the clothes in the inner drum contain foreign matter; If it is determined that the eccentricity detection value of the second round is less than the eccentricity value threshold of the inner drum, or if it is determined that the eccentricity excess times of the second round are not greater than the preset excess times, it is determined whether the cumulative detection times of the second round are greater than or equal to the preset detection times: if so, it is determined that the second round eccentricity detection of whether the clothes in the inner drum contain foreign matter is completed, and it is determined that the clothes in the inner drum do not contain foreign matter; otherwise, return to re-determine whether the eccentricity detection value of the second round is greater than or equal to the eccentricity value threshold of the inner drum.

6. A control device for a washing machine, characterized in that: The washing machine has an inner drum, and an electromagnetic device is arranged on the outer wall of the inner drum; the control device of the washing machine includes: an acquisition unit, configured to acquire the weight of the clothes in the inner drum after the washing machine is powered on; A control unit, configured to determine an eccentricity threshold of the inner drum according to the weight of the clothes in the inner drum, and control the inner drum to shake out; The acquisition unit is further configured to acquire the eccentricity value of the inner cylinder; The control unit is further configured to determine whether the clothes in the inner drum contain foreign matter according to the eccentricity value of the inner drum and the eccentricity value threshold of the inner drum, combined with the power-on condition of the electromagnetic device: if so, initiate a reminder message that the clothes in the inner drum contain foreign matter, and control the washing machine to pause the execution of a preset washing program; otherwise, control the washing machine to execute the preset washing program; The eccentricity value of the inner drum includes: an eccentricity detection value of a first round and an eccentricity detection value of a second round; the eccentricity detection value of the first round is a current eccentricity value of the inner drum obtained after shaking out; the eccentricity detection value of the second round is a current eccentricity value of the inner drum obtained after the electromagnetic device is powered on; the control unit determines whether the clothes in the inner drum contain foreign matter according to the eccentricity value of the inner drum and the eccentricity value threshold of the inner drum, combined with controlling the power-on condition of the electromagnetic device, including: After the inner drum is controlled to be shaken, when the electromagnetic device is not powered on, determining whether the clothes in the inner drum contain foreign matter according to the eccentricity detection value of the first round and the eccentricity value threshold of the inner drum, so as to perform a first round of eccentricity detection on whether the clothes in the inner drum contain foreign matter; After the first round of eccentricity detection for whether the clothes in the inner drum contain foreign objects is completed, when the electromagnetic device is energized, it is determined whether the clothes in the inner drum contain foreign objects based on the eccentricity detection value of the second round and the eccentricity value threshold of the inner drum, so as to perform a second round of eccentricity detection for whether the clothes in the inner drum contain foreign objects.

7. A washing machine, characterized in that: include: The control device for a washing machine as claimed in claim 6.

8. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the control method for the washing machine according to any one of claims 1 to 5.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method for controlling the washing machine according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Metal foreign matter detection method and device, clothes processing equipment and product

    CN113718476A

  • Clothes processing equipment and control method and device thereof

    CN115897116A