Washing machine control method, apparatus, washing machine, and storage medium
By implementing pre-weighing and pre-eccentricity detection in the washing machine, and using low speed to pre-determine load eccentricity, the problem of drum impact and displacement during weighing detection is solved, achieving more efficient and safer load detection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TCL HOME APPLIANCES (HEFEI) CO LTD
- Filing Date
- 2023-11-24
- Publication Date
- 2026-05-12
AI Technical Summary
In existing technologies, washing machines require the drum to rotate at high speed before weighing, which causes the drum system to swing significantly and the drum to collide and shift.
By performing pre-weighing detection and pre-eccentricity detection in the washing machine control method, the first and second preset speeds, which are lower than the weighing detection speed, are used to pre-determine the drum load eccentricity, and if necessary, the speed is accelerated to a higher third preset speed for weighing detection, thus avoiding impact displacement during high-speed rotation.
This effectively avoids drum impact and displacement caused by excessive load eccentricity during washing machine weighing and testing, thus improving the accuracy and safety of the test.
Smart Images

Figure CN117488507B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of washing machine control technology, specifically to a washing machine control method, device, washing machine, and storage medium. Background Technology
[0002] Out-of-Body (OOB) inspection and weighing are crucial steps before the washing machine spins. They measure the load eccentricity within the drum, preventing excessive drum swaying and displacement due to large load eccentricity during spin-drying. However, the weighing test, which precedes the OOB inspection, also needs to be performed while the drum is rotating at high speed. This can also lead to significant drum swaying and displacement during the weighing test. Summary of the Invention
[0003] This invention provides a washing machine control method, device, washing machine, and storage medium, aiming to avoid excessive swinging of the drum system and displacement of the drum during weighing detection.
[0004] In a first aspect, embodiments of the present invention provide a washing machine control method, the method comprising:
[0005] If the motor speed of the washing machine reaches the first preset speed, the washing machine is controlled to perform a pre-weighing detection to obtain the first load value;
[0006] If the motor speed reaches the second preset speed, the washing machine is controlled to perform pre-eccentricity detection to obtain the first eccentricity value;
[0007] If the first eccentricity value is less than the preset eccentricity threshold corresponding to the first load value, the motor speed is controlled to accelerate to a third preset speed for weighing detection to obtain a second load value, wherein the third preset speed is greater than the second preset speed and the third preset speed is greater than the first preset speed.
[0008] Optionally, after the step of controlling the motor speed to accelerate to a third preset speed for weighing and obtaining the second load value, the method further includes:
[0009] The motor speed is controlled to decrease to the second preset speed for eccentricity detection, and a second eccentricity value is obtained;
[0010] If the second eccentricity value is less than the preset eccentricity threshold corresponding to the second load value, then the washing machine is controlled to perform a spin-drying operation.
[0011] Optionally, controlling the motor speed to decrease to the second preset speed for eccentricity detection to obtain a second eccentricity value includes:
[0012] If the motor speed drops to the second preset speed, the washing machine is controlled to perform instantaneous eccentricity detection to obtain the instantaneous eccentricity value;
[0013] If the instantaneous eccentricity value is less than the preset instantaneous eccentricity threshold corresponding to the second load value, the motor speed is controlled to maintain the second preset speed for at least a preset time, and eccentricity detection is performed within the preset time to obtain the second eccentricity value.
[0014] Optionally, if the motor speed of the washing machine reaches a first preset speed, the washing machine is controlled to perform a pre-weighing detection to obtain a first load value, including:
[0015] Obtain the drum rotation speed associated with the model of the washing machine, and set the drum rotation speed to the first preset speed;
[0016] The motor speed is controlled to accelerate from the speed of the garment roller to the first preset speed, and a pre-weighing detection is performed during the acceleration process to obtain the first load value.
[0017] Optionally, controlling the washing machine to perform a pre-weighing detection to obtain a first load value includes:
[0018] The washing machine is controlled to perform a pre-weighing detection to obtain an initial load value;
[0019] Obtain the pre-weighing time period for the washing machine to perform pre-weighing detection;
[0020] The weighing correction value is determined based on the duration of the pre-weighing period and the preset correction relationship;
[0021] The first load value is determined based on the weighing correction value and the initial load value.
[0022] Optionally, determining the weighing correction value based on the duration of the pre-weighing period and a preset correction relationship includes:
[0023] Obtain images of the inside of the washing machine drum during the pre-weighing period;
[0024] The drum-mounting status of the target clothes inside the washing machine is determined based on the drum image and the standard drum-mounting image.
[0025] The weighing correction value is determined based on the maintenance duration, the tube attachment state, and a preset correction relationship.
[0026] Optionally, the washing machine includes an ultrasonic detection device, which is disposed adjacent to the rotating shaft of the washing machine. Acquiring the image of the inside of the washing machine during the pre-weighing period includes:
[0027] The ultrasonic testing device is controlled to emit sound wave signals into the drum of the washing machine during the pre-weighing test;
[0028] The vertical projection image of the target clothing is determined based on the return time of the sound wave signal;
[0029] The vertically projected image is used as the image inside the cylinder.
[0030] Secondly, embodiments of the present invention provide a washing machine control device, the washing machine control device comprising:
[0031] A pre-weighing module is used where the third preset speed is greater than the second preset speed, and the third preset speed is greater than the first preset speed.
[0032] The pre-eccentric module is used to control the washing machine to perform pre-eccentric detection and obtain a first eccentric value if the motor speed reaches a second preset speed.
[0033] An acceleration module is used to control the motor speed to accelerate to a third preset speed for weighing detection if the first eccentricity value is less than a preset eccentricity threshold corresponding to the first load value, thereby obtaining a second load value. The third preset speed is greater than the second preset speed and the third preset speed is greater than the first preset speed.
[0034] Thirdly, embodiments of the present invention also provide a washing machine, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of any washing machine control method provided in the embodiments of the present invention.
[0035] Fourthly, embodiments of the present invention also provide a computer-readable storage medium, which includes a computer program. When the computer program is run on an electronic device, the computer program is used to cause the electronic device to perform the steps of any of the washing machine control methods provided in the embodiments of the present invention.
[0036] This invention first controls the washing machine to perform a pre-weighing detection if the motor speed reaches a first preset speed, obtaining a first load value. If the motor speed reaches a second preset speed, the washing machine is controlled to perform a pre-eccentricity detection, obtaining a first eccentricity value. If the first eccentricity value is less than a preset eccentricity threshold corresponding to the first load value, the motor speed is controlled to accelerate to a third preset speed for weighing detection, obtaining a second load value. The third preset speed is greater than both the second and first preset speeds. Because the washing machine motor speed will pass through the first and second preset speeds before high-speed rotation for weighing detection at the third preset speed, the first preset speed can be used for pre-weighing detection, and the second preset speed can be used for pre-eccentricity detection. This allows for a preliminary assessment of the drum load eccentricity and determines whether to accelerate to the higher third preset speed for weighing detection. This effectively prevents the drum from impacting and shifting during high-speed rotation due to excessive load eccentricity. Attached Figure Description
[0037] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0038] Figure 1 This is a flowchart illustrating one embodiment of the washing machine control method provided in this invention.
[0039] Figure 2 This is a flowchart illustrating another embodiment of the washing machine control method provided in this invention.
[0040] Figure 3 This is a simplified structural diagram of the washing machine provided in an embodiment of the present invention;
[0041] Figure 4 This is a schematic diagram of the structure of the washing machine control device provided in an embodiment of the present invention;
[0042] Figure 5 This is a schematic diagram of the structure of the washing machine provided in an embodiment of the present invention. Detailed Implementation
[0043] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. Furthermore, in the description of the embodiments of the present invention, the terms "first," "second," etc., are only used for distinguishing descriptions and should not be construed as indicating or implying relative importance. Therefore, features defined with "first" or "second" may explicitly or implicitly include one or more features. In the description of the embodiments of the present invention, "multiple" means two or more, unless otherwise explicitly specified.
[0044] This invention provides a washing machine control method, apparatus, washing machine, and computer-readable storage medium.
[0045] Specifically, this embodiment will be described from the perspective of a washing machine control device, which can be integrated into the washing machine, that is, the washing machine control method of this embodiment can be executed by the washing machine.
[0046] The following detailed description is provided in conjunction with the accompanying drawings. In this embodiment, a washing machine is used as the executing entity. It should be noted that the order of description in the following embodiments is not intended to limit the preferred order of the embodiments. Although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than that shown in the accompanying drawings.
[0047] According to the background art description of the present invention, the weighing test required before OOB (out-of-center) detection actually needs to be performed when the drum is rotating at high speed, which can easily lead to large swing of the drum system and displacement of the drum due to impact during the weighing test.
[0048] To address the above problems, this invention discloses a washing machine control method, please refer to [reference needed]. Figure 1 The specific flow of this washing machine control method can be summarized in steps S10 to S40, wherein:
[0049] Step S10: If the motor speed of the washing machine reaches the first preset speed, then control the washing machine to perform a pre-weighing detection to obtain the first load value;
[0050] In this embodiment, the main body executing the washing machine control method can be a washing machine, which includes a drum and a motor. The target clothes to be washed are placed inside the drum. The drum is rotated by the washing machine's motor. The target clothes and cleaning water have a certain weight, and when the drum rotates, the target clothes inside exacerbate the drum's oscillation. The greater the load eccentricity of the target clothes, the greater the amplitude of the drum's oscillation. If the load eccentricity is too large, during operations requiring high-speed drum rotation, such as spin-drying, the drum's oscillation amplitude will be excessive, causing the drum to collide with the washing machine's outer casing and shift, easily leading to washing machine malfunction. Therefore, before performing high-speed operations such as spin-drying, the washing machine performs OOB (Out-of-Body) detection (eccentricity detection) and weighing detection. OOB detection measures the eccentricity value of the washing machine drum, and OOB detection also detects the load value of the washing machine drum. The eccentricity value and the load value together characterize the washing machine's load eccentricity. However, to obtain an accurate load value, weighing detection needs to be performed at high-speed rotation, typically 140-160 rpm. This leads to the problem of drum collision and displacement during weighing detection if the washing machine's load eccentricity is too large.
[0051] If the starting conditions for weighing detection are met due to receiving control commands or other reasons, the motor speed of the washing machine needs to be gradually accelerated to the third preset speed for weighing detection. During this acceleration process, the motor speed of the washing machine will pass through the second preset speed and the first preset speed, which are lower than the third preset speed. These two speeds are used for pre-eccentricity detection and pre-weighing detection.
[0052] If the washing machine motor speed reaches the first preset speed, the washing machine is controlled to perform a pre-weighing detection. The pre-weighing detection is different from the weighing detection. This is because the first preset speed corresponding to the pre-weighing detection is lower than the third preset speed corresponding to the weighing detection. Therefore, during the pre-weighing detection, the target clothes in the drum may not have been attached to the drum yet, or the detection time for the pre-weighing detection after they have been attached to the drum is short. As a result, the first load value obtained by the pre-weighing detection is coarser than the second load value obtained by the weighing detection, but it can roughly represent the weight of the load in the drum.
[0053] It should be noted that the pre-weighing detection and weighing detection do not directly use gravity to weigh the load and obtain the weight of the load as the load value. Instead, they control the motor to rotate and drive the drum to rotate for a certain period of time. The larger the type of load inside the drum, the greater the power consumption of the washing machine. Therefore, the power consumption of the washing machine during this period is used to represent the weight of the load inside the drum. In other words, the power consumption of the washing machine during this period is used as the load value.
[0054] Step S20: If the motor speed reaches the second preset speed, then control the washing machine to perform pre-eccentricity detection to obtain the first eccentricity value;
[0055] In this embodiment, if the washing machine motor speed reaches the first preset speed, the washing machine is controlled to perform a pre-eccentricity detection. The pre-eccentricity detection is an eccentricity detection performed before the weighing detection. The pre-eccentricity detection needs to be performed at a certain speed, generally within 90-100 revolutions per minute. The pre-eccentricity detection can detect the eccentricity value of the load inside the drum. Due to the different distribution of target clothes inside the drum, the weight corresponding to different positions is different, causing the center of gravity of the drum rotation to be unstable. The eccentricity value can characterize this distribution difference and the instability of the center of gravity. The larger the eccentricity value, the greater the distribution difference, and the more unstable the center of gravity, the more likely the problem of impact displacement will occur. Therefore, if the eccentricity value is too large, it is necessary to perform a shaking operation again to readjust the eccentricity value inside the drum.
[0056] It should be noted that both the first and second preset speeds are lower than the third preset speed, i.e., lower than the motor speed required for weighing detection. Furthermore, the first and second preset speeds must be lower than the preset safe speeds. For example, 140-160 RPM is the motor speed for weighing detection, while speeds exceeding 100 RPM are the preset safe speeds. Therefore, pre-eccentricity detection and pre-weighing detection need to be completed before the speed reaches 100 RPM.
[0057] Step S30: If the first eccentricity value is less than the preset eccentricity threshold corresponding to the first load value, then control the motor speed to accelerate to the third preset speed for weighing detection to obtain the second load value, wherein the third preset speed is greater than the second preset speed and the third preset speed is greater than the first preset speed.
[0058] In this embodiment, it is necessary to determine whether the load eccentricity is too large, which requires combining the load value and the eccentricity value. For loads with large load values, the corresponding eccentricity value can be smaller, and conversely, for loads with small load values, the corresponding eccentricity value can be larger. Therefore, different preset eccentricity thresholds can be set according to different load values to limit the eccentricity value of loads of different weights, avoiding excessive eccentricity values for large loads that are prone to impact displacement.
[0059] Optionally, multiple load value ranges corresponding to different load types and preset eccentricity thresholds are preset. The load type of the load in the drum is determined based on the load value range corresponding to the first load value. Then, the preset eccentricity threshold corresponding to the load type is determined as the preset eccentricity threshold corresponding to the first load value. The first eccentricity value determined by pre-eccentricity detection is compared with the preset eccentricity threshold corresponding to the first load value.
[0060] If the first eccentricity value is greater than or equal to the preset eccentricity threshold corresponding to the first load value, it indicates that the eccentricity value corresponding to the current load is too large, and the washing machine needs to be controlled to perform a shaking operation to redistribute the target clothes inside the drum. If the first eccentricity value is less than the preset eccentricity threshold corresponding to the first load value, it indicates that the eccentricity value corresponding to the current load will not cause impact displacement during weighing detection, and the motor speed of the washing machine can be controlled to continue to accelerate to a third preset speed for weighing detection, obtaining a more accurate second load value, which is used to determine whether operations requiring long-term high-speed rotation, such as spin-drying, can be performed.
[0061] In the technical solution disclosed in this embodiment, before the washing machine motor rotates at high speed for weighing detection at the third preset speed, the motor speed will go through the first preset speed and the second preset speed. The first preset speed can be used for pre-weighing detection, and the second preset speed can be used for pre-eccentricity detection. This allows for a preliminary determination of the drum load eccentricity of the washing machine, and selection of whether to accelerate to the third preset speed for weighing detection. This effectively avoids the washing machine from being impacted and displaced during high-speed rotation for weighing detection due to excessive load eccentricity.
[0062] Furthermore, after step S30, the following steps are also included:
[0063] The motor speed is controlled to decrease to the second preset speed for eccentricity detection, and a second eccentricity value is obtained;
[0064] If the second eccentricity value is less than the preset eccentricity threshold corresponding to the second load value, then the washing machine is controlled to perform a spin-drying operation.
[0065] In this embodiment, the washing machine performs a weighing detection to accurately determine the load eccentricity during the spin-drying operation, preventing drum impact and displacement. After the weighing detection, a more accurate eccentricity detection can be performed again. The motor speed is controlled to decrease from a third preset speed to a second preset speed for eccentricity detection, obtaining a more accurate second eccentricity value. Based on the second load value obtained from the weighing detection, a more accurate preset eccentricity threshold corresponding to the current load is determined. The second eccentricity value is compared with the preset eccentricity threshold corresponding to the second load value. If the second eccentricity value is greater than or equal to the preset eccentricity threshold corresponding to the second load value, it indicates that the eccentricity value corresponding to the current load is too large, and the washing machine needs to perform a shaking operation to redistribute the target clothes in the drum. Then, the eccentricity detection is performed again. If the number of redistribution operations exceeds a preset number, an alarm message can be output. If the second eccentricity value is less than the preset eccentricity threshold corresponding to the second load value, it indicates that the eccentricity value corresponding to the current load will not cause impact and displacement during the spin-drying operation, and the washing machine can be controlled to perform the spin-drying operation.
[0066] It should be noted that the correspondence between the second load value and the preset eccentricity threshold may differ from the correspondence between the first load value and the preset eccentricity threshold. This is because the correspondence between the second load value and the preset eccentricity threshold may be determined based on the rotational requirements of the dehydration operation, while the correspondence between the first load value and the preset eccentricity threshold may be determined based on the rotational requirements of the weighing detection.
[0067] Further, the step of controlling the motor speed to decrease to the second preset speed for eccentricity detection and obtaining the second eccentricity value includes:
[0068] If the motor speed drops to the second preset speed, the washing machine is controlled to perform instantaneous eccentricity detection to obtain the instantaneous eccentricity value;
[0069] If the instantaneous eccentricity value is less than the preset instantaneous eccentricity threshold corresponding to the second load value, the motor speed is controlled to maintain the second preset speed for at least a preset time, and eccentricity detection is performed within the preset time to obtain the second eccentricity value.
[0070] In this embodiment, eccentricity detection is used to determine load eccentricity during the dehydration operation, while pre-eccentricity detection is used for load eccentricity determination during weighing. The dehydration operation has higher requirements for rotation speed and time compared to weighing, increasing the probability of drum impact displacement. Therefore, eccentricity detection needs to be more accurate than pre-eccentricity detection. During eccentricity detection, an instantaneous eccentricity detection can be performed at the beginning of the detection process, i.e., when the motor speed decreases to the second preset speed. The instantaneous eccentricity value is obtained, and it is determined whether the instantaneous eccentricity value is less than the preset instantaneous eccentricity threshold corresponding to the second load value. If not, a shaking operation is immediately performed to save operation time. If so, the motor speed is maintained at the second preset speed for at least a preset time, and eccentricity detection is performed within this preset time to obtain the second eccentricity value corresponding to the preset time period. Based on this second eccentricity value, a load eccentricity determination is made to determine whether dehydration can continue. This two-stage eccentricity detection not only saves operation time but also further avoids drum impact displacement during the dehydration operation.
[0071] Optionally, based on any of the above embodiments, in another embodiment of the washing machine control method of the present invention, before step S10, the method further includes:
[0072] Step S40: Obtain the clothes drum speed associated with the model of the washing machine, and set the clothes drum speed to the first preset speed;
[0073] In this embodiment, during pre-weighing or weighing detection, the closer the clothes are to the drum wall, the more accurate the load value of the pre-weighing or weighing detection. The washing machine needs to reach a certain rotation speed before it can perform the drum-mounting detection. The drum-mounting speed associated with the washing machine model is obtained and set as a first preset speed. Once the drum-mounting speed is reached, the washing machine can be controlled to perform the weighing detection.
[0074] Step S50: Control the motor speed to accelerate from the clothing roller speed to the first preset speed, and perform pre-weighing detection during the acceleration process to obtain the first load value.
[0075] In this embodiment, the typical washing machine's drum rotation speed is around 80 rpm, while the second preset rotation speed for pre-eccentricity detection is between 90 and 100 rpm. Therefore, the typical washing machine's drum rotation speed is lower than the second preset rotation speed for pre-eccentricity detection. The washing machine is controlled to perform pre-weighing detection within the time it takes for the electronic speed control to accelerate from the drum rotation speed to the first preset speed, thus obtaining a first load value. After pre-eccentricity detection, the comparison result between the first eccentricity value and the preset eccentricity threshold corresponding to the first load value can be quickly determined, thereby preventing the washing machine from accelerating further. This allows the drum to stop rotating in a short time at a lower speed, saving operation and rotation time, and further preventing drum impact and displacement.
[0076] Optionally, refer to Figure 2 Based on any of the above embodiments, in another embodiment of the washing machine control method of the present invention, step S10 further includes:
[0077] S11. Control the washing machine to perform a pre-weighing detection to obtain the initial load value;
[0078] In this embodiment, the washing machine is controlled to perform a pre-weighing detection. The pre-weighing detection takes a certain amount of time to detect the initial load value. However, since the pre-weighing detection needs to be performed with the load attached to the drum, it is assumed that the time between the drum attachment time and the safe speed limit is limited. For example, the time between the drum rotation speed and the second preset speed is 10 seconds, while the weighing detection requires 20 seconds. Therefore, insufficient weighing time will lead to an inaccurate initial load value obtained from the pre-weighing detection.
[0079] S12. Obtain the pre-weighing time period for the washing machine to perform pre-weighing detection;
[0080] In this embodiment, when the pre-weighing detection of the washing machine begins, the start time of the pre-weighing detection is recorded, and when the pre-weighing detection ends, the end time of the pre-weighing detection is determined. The pre-weighing period for the pre-weighing detection is determined based on the start time and end time of the pre-weighing detection.
[0081] S13. Determine the weighing correction value based on the duration of the pre-weighing period and the preset correction relationship;
[0082] In this embodiment, the duration of pre-weighing detection is determined based on the pre-weighing period. The weighing correction value corresponding to the current duration of pre-weighing detection is determined based on the correction relationship between the duration, a preset duration, and the weighing correction value. This correction relationship can be learned from a large number of tests or from the historical operation of the washing machine, using the duration and actual load values to find the corresponding pattern between the duration and the weighing correction value as the correction relationship.
[0083] S14. Determine the first load value based on the weighing correction value and the initial load value.
[0084] In this embodiment, the initial load value is corrected based on the weighing correction value to obtain a first load value that is closer to the true load value.
[0085] In this embodiment, the initial load value obtained from the pre-weighing detection is corrected based on the maintenance time of the pre-weighing detection, so that the first load value is closer to the true load value. This allows for a more accurate assessment of the risk of impact displacement during load weighing detection, thereby better avoiding impact displacement.
[0086] Furthermore, determining the weighing correction value based on the duration of the pre-weighing period and a preset correction relationship includes:
[0087] Obtain images of the inside of the washing machine drum during the pre-weighing period;
[0088] The drum-mounting status of the target clothes inside the washing machine is determined based on the drum image and the standard drum-mounting image.
[0089] The weighing correction value is determined based on the maintenance duration, the tube attachment state, and a preset correction relationship.
[0090] In this embodiment, besides the duration of the pre-weighing detection affecting its accuracy, the drum-attachment state also influences the accuracy. Higher motor speeds result in more closely attached target clothing within the drum, leading to higher accuracy in pre-weighing detection. The washing machine also acquires an image of the drum's interior during the pre-weighing period. The washing machine includes an image acquisition device for capturing this image. After acquiring the drum image, it is compared with a standard attached-drum image to determine the attachment state of the target clothing. The standard attached-drum image can be an image of the clothing attached to the drum when the motor speed is at or above a third preset speed. Comparing the two images determines the attachment state of the washing machine during the pre-weighing period, and whether this attachment state accurately reflects the degree to which the target clothing is attached to the drum.
[0091] The system obtains a preset correction relationship between the drum-attaching state, the duration of the hold, and the weighing correction value. This correction relationship can be learned from a large number of tests or from the washing machine's historical operation data, using the duration of the hold, the drum-attaching state, and the actual load value (which can be the load value obtained by weighing the washing machine after reaching the third preset speed). The system finds the corresponding pattern between the duration of the hold, the drum-attaching state, and the weighing correction value as the correction relationship. Based on the preset correction relationship and the duration of the hold and the drum-attaching state within the pre-weighing period, the weighing correction value is determined, correcting the initial load value to obtain a more accurate first correction value. This allows for a more accurate assessment of the risk of impact displacement during load-bearing weighing detection, thus better avoiding impact displacement.
[0092] Furthermore, the washing machine includes an ultrasonic detection device, which is disposed adjacent to the rotating shaft of the washing machine. The step of acquiring the image inside the drum of the washing machine during the pre-weighing period includes:
[0093] The ultrasonic testing device is controlled to emit sound wave signals into the drum of the washing machine during the pre-weighing test;
[0094] The vertical projection image of the target clothing is determined based on the return time of the sound wave signal;
[0095] The vertically projected image is used as the image inside the cylinder.
[0096] In this embodiment, the washing machine includes an ultrasonic detection device, as shown in the reference. Figure 3The ultrasonic detection device is installed adjacent to the rotating shaft of the washing machine drum. The main direction of the ultrasonic detection device's emitted sound wave signal is horizontal with the rotating shaft, allowing it to be transmitted vertically into the washing machine drum. When the sound wave signal encounters an obstacle, it is reflected back to the ultrasonic detection device. Based on the return time and transmission speed of the sound wave signal, the ultrasonic detection device can calculate the signal's flight distance. Based on the flight distance, it determines the reflection point within the target distance range as the target clothing, thereby constructing a vertical projection image of the target clothing relative to the bottom of the drum. The vertical projection image directly reflects the positional relationship between the target clothing and the drum wall, thus determining the adhesion status. The vertical projection image can be used as an image inside the drum, more efficiently determining the adhesion status of the target clothing to the drum wall.
[0097] This embodiment also provides a washing machine control device, which can be integrated into the washing machine. For example, such as... Figure 4 As shown, the washing machine control device may include:
[0098] The pre-weighing module 1001 is used to ensure that the third preset speed is greater than the second preset speed, wherein the third preset speed is greater than the first preset speed.
[0099] The pre-eccentric module 1002 is used to control the washing machine to perform pre-eccentric detection and obtain a first eccentric value if the motor speed reaches a second preset speed.
[0100] The acceleration module 1003 is used to control the motor speed to accelerate to a third preset speed for weighing detection if the first eccentricity value is less than the preset eccentricity threshold corresponding to the first load value, thereby obtaining a second load value. The third preset speed is greater than the second preset speed and the third preset speed is greater than the first preset speed.
[0101] Optionally, the washing machine control device may further include: a spin-drying module, used to control the motor speed to decrease to the second preset speed for eccentricity detection, and obtain a second eccentricity value;
[0102] If the second eccentricity value is less than the preset eccentricity threshold corresponding to the second load value, then the washing machine is controlled to perform a spin-drying operation.
[0103] Optionally, the dehydration module is further configured to control the washing machine to perform instantaneous eccentricity detection and obtain an instantaneous eccentricity value if the motor speed drops to the second preset speed;
[0104] If the instantaneous eccentricity value is less than the preset instantaneous eccentricity threshold corresponding to the second load value, the motor speed is controlled to maintain the second preset speed for at least a preset time, and eccentricity detection is performed within the preset time to obtain the second eccentricity value.
[0105] Optionally, the pre-weighing module 1001 is further configured to obtain the clothes drum rotation speed associated with the model of the washing machine, and set the clothes drum rotation speed to the first preset speed;
[0106] The motor speed is controlled to accelerate from the speed of the garment roller to the first preset speed, and a pre-weighing detection is performed during the acceleration process to obtain the first load value.
[0107] Optionally, the pre-weighing module 1001 is also used to control the washing machine to perform pre-weighing detection to obtain an initial load value;
[0108] Obtain the pre-weighing time period for the washing machine to perform pre-weighing detection;
[0109] The weighing correction value is determined based on the duration of the pre-weighing period and the preset correction relationship;
[0110] The first load value is determined based on the weighing correction value and the initial load value.
[0111] Optionally, an image of the inside of the washing machine drum is acquired during the pre-weighing period;
[0112] The drum-mounting status of the target clothes inside the washing machine is determined based on the drum image and the standard drum-mounting image.
[0113] The weighing correction value is determined based on the maintenance duration, the tube attachment state, and a preset correction relationship.
[0114] Optionally, the pre-weighing module 1001 is also used to control the ultrasonic detection device to emit sound wave signals into the drum of the washing machine when performing the pre-weighing detection;
[0115] The vertical projection image of the target clothing is determined based on the return time of the sound wave signal;
[0116] The vertically projected image is used as the image inside the cylinder.
[0117] like Figure 5 As shown, Figure 5 This is a schematic diagram of a washing machine provided in an embodiment of the present invention. The washing machine 1100 includes a processor 1101 with one or more processing cores, a memory 1102 with one or more computer-readable storage media, and a computer program stored on the memory 1102 and executable on the processor. The processor 1101 and the memory 1102 are electrically connected. Those skilled in the art will understand that the washing machine structure shown in the figure does not constitute a limitation on the washing machine, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0118] The processor 1101 is the control center of the washing machine 1100. It connects to various parts of the washing machine 1100 via various interfaces and lines. By running or loading software programs and / or units stored in the memory 1102, and by calling data stored in the memory 1102, it executes various functions of the washing machine 1100 and processes data, thereby providing overall monitoring of the washing machine 1100. The processor 1101 can be a CPU, GPU, network processor (NP), etc., and can implement or execute the methods, steps, and logic diagrams disclosed in the embodiments of this invention.
[0119] In this embodiment of the invention, the processor 1101 in the washing machine 1100 loads the instructions corresponding to the processes of one or more applications into the memory 1102 according to the following steps, and the processor 1101 runs the applications stored in the memory 1102 to realize various functions, such as:
[0120] If the motor speed of the washing machine reaches the first preset speed, the washing machine is controlled to perform a pre-weighing detection to obtain the first load value;
[0121] If the motor speed reaches the second preset speed, the washing machine is controlled to perform pre-eccentricity detection to obtain the first eccentricity value;
[0122] If the first eccentricity value is less than the preset eccentricity threshold corresponding to the first load value, the motor speed is controlled to accelerate to a third preset speed for weighing detection to obtain a second load value, wherein the third preset speed is greater than the second preset speed and the third preset speed is greater than the first preset speed.
[0123] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0124] Optional, such as Figure 5 As shown, the washing machine 1100 also includes: a touch screen display 1103, a radio frequency circuit 1104, an audio circuit 1105, an input unit 1106, and a power supply 1107. The processor 1101 is electrically connected to the touch screen display 1103, the radio frequency circuit 1104, the audio circuit 1105, the input unit 1106, and the power supply 1107. Those skilled in the art will understand that... Figure 5 The washing machine structure shown does not constitute a limitation on the washing machine and may include more or fewer parts than shown, or combine certain parts, or have different arrangements of parts.
[0125] The touch display screen 1103 can be used to display a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. The touch display screen 1103 may include a display panel and a touch panel. The display panel can be used to display information input by the user or information provided to the user, as well as various GUIs of the washing machine. These GUIs can be composed of graphics, text, icons, video, and any combination thereof. Optionally, the display panel can be configured using a liquid crystal display (LCD), organic light-emitting diode (OLED), or other similar technologies. The touch panel can be used to collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel), and generate corresponding operation commands, which then execute the corresponding program. Optionally, the touch panel may include a touch detection device and a touch controller. The touch detection device detects the user's touch location and the signal generated by the touch operation, transmitting the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 1101. It can also receive and execute commands from the processor 1101. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processor 1101 to determine the type of touch event. Subsequently, the processor 1101 provides corresponding visual output on the display panel based on the type of touch event. In this embodiment, the touch panel and the display panel can be integrated into the touch display screen 1103 to achieve input and output functions. However, in some embodiments, the touch panel and the touch display screen 1103 can be used as two independent components to achieve input and output functions. That is, the touch display screen 1103 can also be used as part of the input unit 1106 to achieve input functions.
[0126] The radio frequency circuit 1104 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other washing machines, and to transmit and receive signals with network devices or other washing machines.
[0127] Audio circuit 1105 can be used to provide an audio interface between the user and the washing machine via a speaker and a microphone. Audio circuit 1105 can convert received audio data into electrical signals and transmit them to the speaker, where the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by audio circuit 1105, converted back into audio data, and then processed by processor 1101 before being transmitted via radio frequency circuit 1104 to, for example, another washing machine, or output to memory 1102 for further processing. Audio circuit 1105 may also include an earphone jack to provide communication between external headphones and the washing machine.
[0128] The input unit 1106 can be used to receive input numbers, characters, or user characteristic information (such as fingerprints, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
[0129] Power supply 1107 is used to supply power to the various components of washing machine 1100. Optionally, power supply 1107 can be logically connected to processor 1101 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. Power supply 1107 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0130] although Figure 5 As not shown in the diagram, the washing machine 1100 may also include a camera, sensor, wireless fidelity module, Bluetooth module, etc., which will not be described in detail here.
[0131] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0132] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0133] Therefore, embodiments of the present invention provide a computer-readable storage medium storing a plurality of computer programs, which can be loaded by a processor to execute any of the washing machine control methods provided in the embodiments of the present invention. The computer program can execute the following steps of the washing machine control method:
[0134] If the motor speed of the washing machine reaches the first preset speed, the washing machine is controlled to perform a pre-weighing detection to obtain the first load value;
[0135] If the motor speed reaches the second preset speed, the washing machine is controlled to perform pre-eccentricity detection to obtain the first eccentricity value;
[0136] If the first eccentricity value is less than the preset eccentricity threshold corresponding to the first load value, the motor speed is controlled to accelerate to a third preset speed for weighing detection to obtain a second load value, wherein the third preset speed is greater than the second preset speed and the third preset speed is greater than the first preset speed.
[0137] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0138] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0139] Since the computer program stored in the computer-readable storage medium can execute any of the washing machine control methods provided in the embodiments of the present invention, the beneficial effects that any of the washing machine control methods provided in the embodiments of the present invention can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0140] In the above embodiments of the washing machine control device, computer-readable storage medium, washing machine, and computer program product, the descriptions of each embodiment have different focuses. Parts not described in detail in a particular embodiment can be referred to in the relevant descriptions of other embodiments. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes and beneficial effects of the washing machine control device, computer-readable storage medium, computer program product, washing machine, and their corresponding units described above can be referred to the description of the washing machine control method in the above embodiments, and will not be repeated here.
[0141] The foregoing has provided a detailed description of a washing machine control method, device, washing machine, computer-readable storage medium, and computer program product provided by embodiments of the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A washing machine control method, characterized in that, The method includes: If the motor speed of the washing machine reaches the first preset speed, the washing machine is controlled to perform a pre-weighing detection to obtain the first load value; If the motor speed reaches the second preset speed, the washing machine is controlled to perform pre-eccentricity detection to obtain the first eccentricity value; If the first eccentricity value is less than the preset eccentricity threshold corresponding to the first load value, then the motor speed is controlled to accelerate to a third preset speed for weighing detection to obtain a second load value, wherein the third preset speed is greater than the second preset speed, and the third preset speed is greater than the first preset speed; further comprising: The motor speed is controlled to decrease to the second preset speed for eccentricity detection, and a second eccentricity value is obtained; If the second eccentricity value is less than the preset eccentricity threshold corresponding to the second load value, then control the washing machine to perform a spin-drying operation; The step of controlling the motor speed to decrease to the second preset speed for eccentricity detection and obtaining the second eccentricity value includes: If the motor speed drops to the second preset speed, the washing machine is controlled to perform instantaneous eccentricity detection to obtain the instantaneous eccentricity value; If the instantaneous eccentricity value is less than the preset instantaneous eccentricity threshold corresponding to the second load value, the motor speed is controlled to maintain the second preset speed for at least a preset time, and eccentricity detection is performed within the preset time to obtain the second eccentricity value.
2. The washing machine control method as described in claim 1, characterized in that, If the motor speed of the washing machine reaches a first preset speed, the washing machine is controlled to perform a pre-weighing detection to obtain a first load value, including: Obtain the drum rotation speed associated with the model of the washing machine, and set the drum rotation speed to the first preset speed; The motor speed is controlled to accelerate to the first preset speed, and a pre-weighing detection is performed during the acceleration process to obtain the first load value.
3. The washing machine control method as described in claim 1, characterized in that, The process of controlling the washing machine to perform a pre-weighing detection to obtain the first load value includes: The washing machine is controlled to perform a pre-weighing detection to obtain an initial load value; Obtain the pre-weighing time period for the washing machine to perform pre-weighing detection; The weighing correction value is determined based on the duration of the pre-weighing period and the preset correction relationship; The first load value is determined based on the weighing correction value and the initial load value.
4. The washing machine control method as described in claim 3, characterized in that, The step of determining the weighing correction value based on the duration of the pre-weighing period and a preset correction relationship includes: Obtain images of the inside of the washing machine drum during the pre-weighing period; The drum-mounting status of the target clothes inside the washing machine is determined based on the drum image and the standard drum-mounting image. The weighing correction value is determined based on the maintenance duration, the tube attachment state, and a preset correction relationship.
5. The washing machine control method as described in claim 3, characterized in that, The washing machine includes an ultrasonic testing device, which is disposed adjacent to the rotating shaft of the washing machine. Acquiring the image of the inside of the washing machine drum during the pre-weighing period includes: The ultrasonic testing device is controlled to emit sound wave signals into the drum of the washing machine during the pre-weighing test; The vertical projection image of the target clothing is determined based on the return time of the sound wave signal; The vertically projected image is used as the image inside the cylinder.
6. A washing machine control device, characterized in that, The washing machine control device includes: The pre-weighing module is used to control the washing machine to perform pre-weighing detection and obtain a first load value if the motor speed of the washing machine reaches a first preset speed. The pre-eccentric module is used to control the washing machine to perform pre-eccentric detection and obtain a first eccentric value if the motor speed reaches a second preset speed. An acceleration module is used to control the motor speed to accelerate to a third preset speed for weighing detection if the first eccentricity value is less than a preset eccentricity threshold corresponding to the first load value, thereby obtaining a second load value. The third preset speed is greater than the second preset speed and the third preset speed is greater than the first preset speed. The dehydration module is used to control the motor speed to decrease to the second preset speed for eccentricity detection and obtain a second eccentricity value; if the second eccentricity value is less than the preset eccentricity threshold corresponding to the second load value, the washing machine is controlled to perform a dehydration operation; the dehydration module is also used to control the washing machine to perform instantaneous eccentricity detection and obtain an instantaneous eccentricity value if the motor speed decreases to the second preset speed; if the instantaneous eccentricity value is less than the preset instantaneous eccentricity threshold corresponding to the second load value, the motor speed is controlled to maintain the second preset speed for at least a preset time, and eccentricity detection is performed within the preset time to obtain the second eccentricity value.
7. A washing machine, characterized in that, It includes a processor and a memory, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of any of the washing machine control methods of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a computer program that, when run on an electronic device, causes the electronic device to perform the steps of any of the washing machine control methods of claims 1-5.