A washing machine and a control method thereof

By detecting the speed difference during the accelerated rotation of the inner drum of the washing machine and reducing the speed accordingly, the problem of the outer drum hitting the cabinet and the cabinet shifting during the clothes fragrance process is solved, thus ensuring the smooth progress of the clothes fragrance process.

CN116200911BActive Publication Date: 2026-05-12HISENSE(SHANDONG)REFRIGERATOR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HISENSE(SHANDONG)REFRIGERATOR CO LTD
Filing Date
2023-01-03
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

During the clothes fragrance process, the outer drum may collide with the cabinet or the cabinet may shift, causing the clothes fragrance process to fail.

Method used

By detecting the speed difference in real time during the accelerated rotation of the inner drum, and reducing the inner drum speed when the speed difference is too large, the outer drum is prevented from hitting the box and the box from shifting due to excessive eccentricity, thus ensuring that the clothes are evenly distributed.

Benefits of technology

This effectively prevents the outer drum from hitting the cabinet and the cabinet from shifting due to excessive eccentricity of the washing machine, ensuring the smooth progress of the clothes fragrance process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116200911B_ABST
    Figure CN116200911B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a washing machine and a control method thereof, relates to the technical field of washing machines, and is used for preventing the outer drum from colliding with the box body and the box body from being displaced during a clothes aromatherapy process. The washing machine comprises a controller which is configured to: acquire a first rotating speed of an inner drum when the inner drum is accelerated to rotate; acquire a first rotating speed difference when the first rotating speed reaches a first target rotating speed; control the rotating speed of the inner drum to be reduced to a second target rotating speed if the first rotating speed difference is above a first preset rotating speed difference, and control the inner drum to increase the rotating speed to the first target rotating speed after a first preset time length; control the rotating speed of the inner drum to be increased to a third target rotating speed if the first rotating speed difference is below the first preset rotating speed difference; acquire a second rotating speed difference when the rotating speed of the inner drum reaches the third target rotating speed; control the rotating speed of the inner drum to be reduced to a fourth target rotating speed if the second rotating speed difference is above a second preset rotating speed difference; and control the washing machine to enter a clothes aromatherapy mode if the second rotating speed difference is below the second preset rotating speed difference.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of washing machine technology, and in particular to a washing machine and its control method. Background Technology

[0002] The advent of washing machines has freed users' hands. With the advancement of technology, users' washing needs are constantly increasing. They not only require washing machines to clean clothes and remove stains, but also require washing machines to sterilize and remove bacteria from clothes. They even hope that clothes will have a fragrance to improve wearing comfort.

[0003] Current washing machines can meet users' needs for scented clothes. However, during the clothes fragrance process, the outer drum may collide with the cabinet or the cabinet may shift, which may prevent the clothes fragrance process from proceeding smoothly. Summary of the Invention

[0004] This application provides a washing machine and its control method to prevent the outer drum from hitting the cabinet and the cabinet from shifting during the clothes fragrance process, thereby ensuring the smooth progress of the clothes fragrance process.

[0005] In a first aspect, embodiments of this application provide a washing machine, the washing machine comprising:

[0006] The box body has a clothing loading port on its side wall;

[0007] The outer cylinder is located inside the box, with its opening facing the clothing inlet. The outer cylinder is used to hold water.

[0008] The inner tube, located inside the outer tube, is used to hold clothing;

[0009] A speed sensor, installed in the inner cylinder, is used to detect the rotational speed of the inner cylinder;

[0010] The controller is configured as follows:

[0011] When the inner drum of the washing machine is rotating at an accelerated speed, the first rotation speed of the inner drum is obtained through the speed sensor;

[0012] When the first rotational speed is detected to have reached the first target rotational speed, the first rotational speed difference is obtained; wherein, the first rotational speed difference is the difference between the second rotational speed reached by the inner cylinder after accelerating to the first target rotational speed for a first preset number of revolutions and the first preset rotational speed;

[0013] If the first speed difference is greater than the first preset speed difference, the inner cylinder is controlled to decrease from the second speed to the second target speed, and after the inner cylinder rotates at the second target speed for a first preset time, the inner cylinder is controlled to increase its speed to the first target speed; or...

[0014] If the first speed difference is below the first preset speed difference, control the inner cylinder to increase from the second speed to the third target speed;

[0015] When the rotational speed of the inner cylinder is detected to reach the third target rotational speed, the second rotational speed difference is obtained; wherein, the second rotational speed difference is the difference between the third rotational speed reached by the inner cylinder after accelerating to the third target rotational speed for the second preset number of revolutions and the second preset rotational speed.

[0016] If the second speed difference is greater than the second preset speed difference, the inner cylinder is controlled to decrease from the third speed to the fourth target speed, and after the inner cylinder rotates at the fourth target speed for a second preset time, the inner cylinder is controlled to increase its speed to the third target speed; or...

[0017] If the second speed difference is below the second preset speed difference, the washing machine will be controlled to enter the clothes fragrance mode.

[0018] The technical solution provided in this application provides at least the following beneficial effects: When the inner drum of the washing machine is accelerating, the first rotational speed of the inner drum is obtained; when the first rotational speed is detected to have reached the first target rotational speed, the first rotational speed difference is obtained, and then the first rotational speed difference is compared with the first preset rotational speed difference to determine whether the washing machine has excessive eccentricity. It is understood that if the first rotational speed difference is above the first preset rotational speed difference, it indicates that the washing machine is excessively eccentric. By controlling the inner drum to decrease from the second rotational speed to the second target rotational speed, the eccentricity of the washing machine is reduced. After controlling the inner drum to rotate at the second target rotational speed for a first preset time, the rotational speed of the inner drum is increased to the first target rotational speed, so that the clothes inside the washing machine are evenly distributed, thereby reducing the eccentricity of the washing machine and preventing the outer drum from hitting the cabinet and the cabinet from shifting due to the eccentricity of the washing machine. If the first rotational speed difference is below the first preset rotational speed difference, it indicates that the washing machine has not excessive eccentricity and can accelerate normally. Therefore, the rotational speed of the inner drum is increased from the second rotational speed to the third target rotational speed. When the inner drum's rotation speed is detected to have reached the third target speed, the second speed difference is obtained. This second speed difference is then compared with the second preset speed difference to determine if excessive eccentricity has occurred when the inner drum's rotation speed is high. Understandably, if the second speed difference is above the second preset speed difference, it indicates excessive eccentricity. The inner drum's rotation speed is reduced from the third to the fourth target speed. After rotating at the fourth target speed for a second preset time, the inner drum's rotation speed is increased to the third target speed to ensure even distribution of clothes within the washing machine. This reduces eccentricity and prevents the outer drum from colliding with the cabinet or the cabinet from shifting due to excessive eccentricity. If the second speed difference is below the second preset speed difference, it indicates that excessive eccentricity has not occurred, and the washing machine can normally enter the clothes fragrance mode.

[0019] In this way, by repeatedly detecting the speed difference of the inner drum during the accelerated rotation of the inner drum, and reducing the speed of the inner drum when the speed difference is too large, the outer drum is prevented from hitting the cabinet and the cabinet from shifting due to excessive eccentricity of the inner drum, thus ensuring that the clothes fragrance process can proceed smoothly.

[0020] In some embodiments, the washing machine further includes: a first detergent dispenser disposed inside the casing for holding detergent; a first water inlet valve connected to the first detergent dispenser; a drain pump disposed at the bottom of the casing; a water level sensor disposed on the outer drum for detecting the water level frequency value inside the outer drum; and a controller configured to, before controlling the washing machine to enter the clothes fragrance mode, further configured to: if the second speed difference is below the second preset speed difference, control the inner drum to increase its speed to the fifth target speed, control the first water inlet valve to open, and obtain the first water level frequency value of the outer drum through the water level sensor; when the first water level frequency value of the outer drum is detected to reach the first preset water level, control the first water inlet valve to close, and control the inner drum to stop rotating after a third preset time, so that water in the first detergent dispenser flows into the outer drum; control the drain pump to open, and control the drain pump to close after a fourth preset time; control the inner drum to accelerate its rotation, and control the washing machine to enter the clothes fragrance mode after detecting that the speed of the inner drum has reached the fifth target speed.

[0021] In some embodiments, the washing machine further includes: a second dispensing box disposed inside the casing for holding fragrance liquid; a second water inlet valve connected to the second dispensing box; a drying air duct formed between the casing and the upper part of the outer drum, wherein a fan and a heating device are disposed within the drying air duct; and a controller configured to control the washing machine to operate in the clothes fragrance mode, specifically configured to: control the first water inlet valve to open, and after a fifth preset time period following the control of the first water inlet valve to open, control the first water inlet valve to close, and control the second water inlet valve to open; acquire a second water level frequency value of the outer drum; and, upon detecting that the second water level frequency value of the outer drum reaches a second preset water level, control the second water inlet valve to close, control the fan and heating device to start working, and control the inner drum to adjust its rotation speed to a preset drying speed.

[0022] In some embodiments, the controller is configured to control the second water inlet valve to close, control the fan and heating device to start working, and control the inner drum to adjust its speed to a preset drying speed. Specifically, it is configured to control the fan and heating device to start working and control the inner drum to adjust its speed to a preset drying speed after the second water inlet valve has been closed for a sixth preset period of time.

[0023] In some embodiments, the washing machine further includes: a temperature sensor for detecting the temperature value of the inner drum; a controller configured to control the fan and heating device to start working, and after controlling the inner drum to adjust its rotation speed to a preset drying speed, and further configured to: control the heating device to stop working after a seventh preset time period; acquire the temperature value of the inner drum through the temperature sensor; and control the fan to stop working, control the inner drum to stop rotating, and control the drain pump to start working when the detected temperature value of the inner drum is below a preset temperature value.

[0024] Secondly, a control method for a washing machine is provided. The method includes: acquiring a first rotational speed of the inner drum while it is accelerating; acquiring a first speed difference when the first rotational speed is detected to have reached a first target rotational speed; wherein the first speed difference is the difference between a second rotational speed reached by the inner drum after accelerating for a first preset number of revolutions at the first target rotational speed and a first preset rotational speed; if the first speed difference is above the first preset speed difference, controlling the inner drum to decrease its rotational speed from the second speed to the second target rotational speed, and after controlling the inner drum to rotate at the second target rotational speed for a first preset time, controlling the inner drum to increase its rotational speed to the first target rotational speed; or, if the first speed difference is below the first preset speed difference, controlling the inner drum to increase its rotational speed from the second speed to a third target rotational speed; acquiring a second speed difference when the rotational speed of the inner drum is detected to have reached the third target rotational speed; wherein the second speed difference is the difference between the second rotational speed reached by the inner drum and the first target rotational speed.

[0025] The difference between the third speed reached after accelerating to the third target speed and the second preset speed 5 after rotating for the second preset number of revolutions; if the second speed difference is above the second preset speed difference, control the inner drum to reduce from the third speed to the fourth target speed, and after controlling the inner drum to rotate at the fourth target speed for the second preset time, control the inner drum to increase its speed to the third target speed; or, if the second speed difference is below the second preset speed difference, control the washing machine to enter the clothes fragrance mode.

[0026] In some embodiments, before controlling the washing machine to enter the clothes fragrance mode, the method further includes: if the second speed difference is below the second preset speed difference, after controlling the inner drum to increase its speed to the fifth target speed, controlling the first water inlet valve to open, and acquiring the first water level frequency value of the outer drum; if the first water level frequency value of the outer drum is detected to reach the first preset water level, controlling the first water inlet valve to close, and after a third preset time, controlling the inner drum to stop rotating, so that the water in the first dispensing box flows...

[0027] Enter the outer drum; control the drain pump to start, and after the drain pump has been running for four preset times, control the drain pump to stop; control the inner drum to accelerate its rotation, and after detecting that the inner drum's speed has reached the fifth target speed, control the washing machine to enter the clothes fragrance mode.

[0028] In some embodiments, controlling the washing machine to enter the clothes fragrance mode includes: controlling the first water inlet valve to open, and after a fifth preset time period following the opening of the first water inlet valve, controlling the first water inlet valve to open.

[0029] The water valve is closed, and the second inlet valve is opened; the second water level frequency value of the outer cylinder is acquired; if the second water level frequency value of the outer cylinder reaches the second preset water level, the second inlet valve is closed.

[0030] The control fan and heating device are started to work, and the inner drum is controlled to adjust its speed to the preset drying speed.

[0031] In some embodiments, controlling the second water inlet valve to close, controlling the fan and heating device to start working, and controlling the inner drum to adjust its rotation speed to a preset drying speed includes: controlling the second water inlet valve to close

[0032] After the sixth preset time period, the control fan and heating device start working, and the inner drum is adjusted to the preset drying speed.

[0033] In some embodiments, after the control fan and heating device start working and the inner cylinder adjusts its rotation speed to a preset drying speed, the method further includes: after the control heating device has been working for a seventh preset time, controlling the heating device to stop working; obtaining the temperature value of the inner cylinder; and if the temperature value of the inner cylinder is detected to be below a preset temperature value, controlling the fan to stop working, controlling the inner cylinder to stop rotating, and controlling the drain pump to start working.

[0034] Thirdly, embodiments of this application provide a controller, including: one or more processors;

[0035] One or more memories; wherein the one or more memories are used to store computer program code, the computer program code including computer instructions, and when one or more processors execute the computer instructions, the controller executes a washing machine control method provided in the second aspect.

[0036] Fourthly, embodiments of this application provide a computer-readable storage medium including computer instructions that, when executed on a computer, cause the computer to perform a washing machine control method provided in the second aspect.

[0037] Fifthly, embodiments of the present invention provide a computer program product that can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program product can realize the washing machine control method provided in the second aspect.

[0038] It should be noted that the aforementioned computer instructions may be stored, in whole or in part, on a computer-readable storage medium. This computer-readable storage medium may be packaged together with the controller's processor, or it may be packaged separately from the controller's processor; this application does not impose any limitations on this.

[0039] The beneficial effects described in aspects two through five of this application can be referred to the analysis of the beneficial effects of aspect one, and will not be repeated here. Attached Figure Description

[0040] The accompanying drawings are provided to further understand the technical solutions of the present invention and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of the present invention and do not constitute a limitation on the technical solutions of the present invention.

[0041] Figure 1 This is a schematic diagram of the structure of a washing machine provided in an embodiment of this application;

[0042] Figure 2 A hardware configuration block diagram of a washing machine provided in an embodiment of this application;

[0043] Figure 3 This is a schematic diagram illustrating the composition of a smart home system provided in an embodiment of this application;

[0044] Figure 4 A flowchart illustrating a control method for a washing machine provided in an embodiment of this application;

[0045] Figure 5 A flowchart illustrating another control method for a washing machine provided in an embodiment of this application;

[0046] Figure 6 A flowchart illustrating another control method for a washing machine provided in an embodiment of this application;

[0047] Figure 7 A flowchart illustrating another control method for a washing machine provided in an embodiment of this application;

[0048] Figure 8 This application provides a schematic diagram of the control flow of a washing machine according to an embodiment of the present application.

[0049] Figure 9 This is a schematic diagram of the control flow of another washing machine provided in an embodiment of this application;

[0050] Figure 10 This is a schematic diagram of the hardware structure of a controller provided in an embodiment of this application. Detailed Implementation

[0051] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0052] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indication will also change accordingly.

[0053] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0054] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "connected" and "linked" should be interpreted broadly, for example, as a fixed connection, a detachable connection, or an integral connection. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances. Furthermore, when describing pipelines, the terms "connected" and "linked" as used in this application have the meaning of establishing electrical connection. The specific meaning needs to be understood in conjunction with the context.

[0055] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0056] As described in the background section above, during the fabric fragrance process, drum washing machines or washer-dryer combos may experience issues such as the outer drum colliding with the cabinet or the cabinet shifting, which can prevent the fabric fragrance process from proceeding smoothly.

[0057] Based on this, this application provides a washing machine and its control method. When the inner drum of the washing machine is accelerating, a first rotational speed of the inner drum is acquired. When the first rotational speed is detected to have reached a first target rotational speed, a first speed difference is acquired. Then, the first speed difference is compared with a first preset speed difference to determine whether the washing machine has excessive eccentricity. It can be understood that if the first speed difference is above the first preset speed difference, it indicates excessive eccentricity in the washing machine. The inner drum is controlled to decrease from a second rotational speed to a second target rotational speed to reduce the eccentricity. After the inner drum rotates at the second target rotational speed for a first preset time, the rotational speed of the inner drum is increased to the first target rotational speed to ensure even distribution of clothes inside the washing machine, thereby reducing eccentricity and preventing the outer drum from colliding with the casing and the casing from shifting due to eccentricity. If the first speed difference is below the first preset speed difference, it indicates that the washing machine has not excessive eccentricity and can accelerate normally. Therefore, the rotational speed of the inner drum is increased from the second rotational speed to a third target rotational speed. When the inner drum's rotation speed is detected to have reached the third target speed, the second speed difference is obtained. This second speed difference is then compared with the second preset speed difference to determine if excessive eccentricity has occurred when the inner drum's rotation speed is high. Understandably, if the second speed difference is above the second preset speed difference, it indicates excessive eccentricity. The inner drum's rotation speed is reduced from the third to the fourth target speed. After rotating at the fourth target speed for a second preset time, the inner drum's rotation speed is increased to the third target speed to ensure even distribution of clothes within the washing machine. This reduces eccentricity and prevents the outer drum from colliding with the cabinet or the cabinet from shifting due to excessive eccentricity. If the second speed difference is below the second preset speed difference, it indicates that excessive eccentricity has not occurred, and the washing machine can normally enter the clothes fragrance mode.

[0058] In this way, by repeatedly detecting the speed difference of the inner drum during the accelerated rotation of the inner drum, and reducing the speed of the inner drum when the speed difference is too large, the outer drum is prevented from hitting the cabinet and the cabinet from shifting due to excessive eccentricity of the inner drum, thus ensuring that the clothes fragrance process can proceed smoothly.

[0059] To further describe the scheme of this application, a detailed description of the scheme will be provided below with reference to the accompanying drawings. Figure 1 The diagram shown is a structural schematic of a washing machine provided in an embodiment of this application.

[0060] In some embodiments, the washing machine may be a front-loading washing machine with a drying function or a washer-dryer combo.

[0061] like Figure 1 As shown, the washing machine 100 includes a casing 101, an outer drum 102, an inner drum 103, and a controller 104. Figure 1 (Not shown in the image).

[0062] In some embodiments, the housing 101 has a clothing inlet on its side wall. For example, a user can put clothing into the inner drum 103 through the clothing inlet.

[0063] In some embodiments, the outer cylinder 102 is disposed inside the housing 101, and the opening of the outer cylinder 102 is opposite to the clothing inlet for holding water.

[0064] In some embodiments, the inner cylinder 103 is disposed inside the outer cylinder 102 and is used to hold clothing.

[0065] In some embodiments, the clothing may be new clothes that do not need to be washed, or clothes that have not been worn for a long time after washing and whose fragrance has become very weak during the washing process and need to be scented again.

[0066] In some embodiments, controller 104 refers to a device that can generate operation control signals based on instruction opcodes and timing signals to instruct the garment processing device 100 to execute control instructions. Exemplarily, controller 104 can be a central processing unit (CPU), a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. Controller 104 can also be other devices with processing functions, such as circuits, devices, or software modules; this application embodiment does not impose any limitations on this.

[0067] Figure 2 An exemplary hardware configuration block diagram of a washing machine 100 in an embodiment of this application is shown.

[0068] like Figure 2 As shown, the washing machine 100 may also include one or more of the following: a first feed box 105, a second feed box 106, a first water inlet valve 107, a second water inlet valve 108, a drain pump 109, a fan 110, a heating device 111, a speed sensor 112, a water level sensor 113, a temperature sensor 114, a motor 115, a display 116, a memory 117, and a communication device 118.

[0069] In some embodiments, the first dispensing box 105, also known as the detergent box, is disposed inside the housing 101 and is used to hold detergent.

[0070] In some embodiments, the second dispensing box 106, also known as the aromatherapy liquid box, is disposed inside the housing 101 and is used to hold aromatherapy liquid.

[0071] In some embodiments, the first water inlet valve 107 is connected to the controller 104, and the outlet of the first water inlet valve 107 is connected to the first dispensing box 105.

[0072] In some embodiments, the second inlet valve 108 is connected to the controller 104, and the outlet of the inlet valve 107 is connected to the second dispensing box 106.

[0073] In some embodiments, a drain pump 109 is connected to a controller 104 and is located at the bottom of the housing 101 to drain water from the outer cylinder 102.

[0074] In some embodiments, a drying air duct is formed between the upper part of the housing 101 and the outer cylinder 102, and a fan 110 and a heating device 111 are provided in the drying air duct.

[0075] In some embodiments, the fan 110 is connected to the controller 104. After the fan 110 starts to rotate, it can carry the fragrance molecules emitted by the fragrance liquid at the bottom of the outer cylinder 102 into the inner cylinder 103 through the drying air duct to fragrance the clothes in the inner cylinder 103, thereby keeping the clothes in the inner cylinder 103 fragrant for a long time.

[0076] In some embodiments, the heating device 111 is connected to the controller 104 and can be used to heat the air inside the outer cylinder 102 to promote the evaporation of the aromatherapy liquid at the bottom of the outer cylinder 102. The heating device 111 can be a commonly used electric heating device that uses electrical energy to achieve a heating effect, including but not limited to steam heaters and hot air heaters.

[0077] In some embodiments, the speed sensor 112 is connected to the controller 104 and is disposed in the inner cylinder 103 to detect the speed of the inner cylinder 103.

[0078] In some embodiments, the water level sensor 113 is connected to the controller 104 and is disposed in the outer cylinder 102 to detect the water level frequency value inside the outer cylinder 102.

[0079] In some embodiments, temperature sensor 114 is connected to controller 104 to detect the temperature value of inner cylinder 103.

[0080] In some embodiments, the motor 115 is connected to the controller 104 to drive the inner drum 103 and provide power for low-speed rotation during washing and even distribution and high-speed rotation during spin-drying. For example, the motor 115 of the washing machine can be a fixed-frequency motor, a variable-frequency motor, or a brushless DC motor.

[0081] In some embodiments, the display 116 is connected to the controller 104. The display 116 may be a liquid crystal display or an organic light-emitting diode (OLED) display. The specific type, size, and resolution of the display 116 are not limited. Those skilled in the art will understand that the display 116 can be modified in terms of performance and configuration as needed.

[0082] The display 116 can be used to display the control panel of the washing machine 100 to achieve human-machine interaction. The washing machine 100 can use the display 116 to provide feedback on its current status, such as whether it is in washing or drying mode. The display 116 is connected to the controller 104. The display 116 can be used to display various image contents sent from the network server.

[0083] In some embodiments, the memory 117 is used to store applications and data. The controller 104 executes various functions and data processing of the washing machine 100 by running the applications and data stored in the memory 117. The memory 117 mainly includes a program storage area and a data storage area. The program storage area can store the operating system and applications required for at least one function (such as voice prompt function, information display function, etc.). The data storage area can store data created when using the washing machine 100 (such as product information of laundry detergent, etc.). In addition, the memory 117 may include high-speed random access memory and may also include non-volatile memory, such as disk storage devices, flash memory devices, or other volatile solid-state storage devices.

[0084] In some embodiments, the communication device 118 is a component used to communicate with external devices or servers according to various communication protocol types. For example, the communication device 118 may include at least one of the following: a Wi-Fi module, a Bluetooth module, a wired Ethernet module, a near-field communication (NFC) module, or other network communication protocol chips or NFC chips, as well as an infrared receiver. The communication device 118 can be used to communicate with other devices or communication networks (such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.). For example, the communication device 118 is connected to a controller 104, which can communicate with terminal devices through the communication device 118. If the actual power consumption is greater than or equal to a power consumption threshold, the controller can send a prompt message to the terminal device through the communication device 118.

[0085] although Figure 2 As not shown, the washing machine 100 may also include a power supply device (such as a battery and a power management chip) to supply power to various components. The battery can be logically connected to the controller 104 through the power management chip, thereby enabling the washing machine 100 to perform functions such as power consumption management through the power supply device.

[0086] In some embodiments, the washing machine 100 can be used in a smart home system. Figure 3 This is a schematic diagram of a smart home system provided as an embodiment of this application. Figure 3 As shown, the smart home system may include a washing machine 100, a server 200, a terminal device 300, and an access point (AP) 400.

[0087] In some embodiments, access point 400 can be used to provide a signal source for a Wi-Fi network. For example, access point 400 can be a router. Alternatively, access point 400 can also be a smart home device.

[0088] In some embodiments, after the washing machine 100 and the terminal device 300 are connected to the same access point 400, they join the Wi-Fi network created by the access point 400. Then, the washing machine 100 and the terminal device 300 can use this Wi-Fi network to communicate with the server 200 on the network side through the access point 400. Simultaneously, the washing machine 100 and the terminal device 300 located within the same Wi-Fi network can also communicate with each other through the access point 400.

[0089] In some embodiments, the terminal device 400 can be a mobile phone, tablet computer, laptop computer, etc. Taking a mobile phone as an example, the user can use the mobile phone to send control commands to the washing machine 100.

[0090] For example, a user can download a smart home app on their mobile phone. This app can be used to manage smart home devices located on the same Wi-Fi network. This embodiment uses a washing machine 100 as an example. The user can then select the washing machine 100 as the online device and choose the desired control function from its management options. This could include functions such as starting, stopping, and switching modes (e.g., washing mode, drying mode). If the app detects that the user has clicked the start button for the washing machine 100, the mobile phone can send a start command to the access point 400 using the current Wi-Fi network. The access point 400 can then send this start command to the washing machine 100, causing it to power on and begin operation.

[0091] In some embodiments, server 200 may be a single server or a server cluster consisting of multiple servers. In some embodiments, the server cluster may also be a distributed cluster. This application does not limit the specific form of server 200. It is understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the washing machine. In other embodiments of this application, the washing machine may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0092] The technical solutions provided in the embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0093] This application provides a control method for a washing machine, which is applied to a controller, and the controller can be as described above. Figure 2 The controller 104 shown is as follows: Figure 4 As shown, the method includes the following steps:

[0094] S101. When the inner drum of the washing machine is rotating at an accelerated speed, obtain the first rotational speed of the inner drum.

[0095] In some embodiments, when a user needs to scent clothes using a washing machine, the user can add the scent liquid into the second dispensing box (i.e., the scent liquid container) and then place the dry clothes through the washing machine.

[0096] The washing machine's loading port places clothes into the inner drum. The user can then send five control commands to the washing machine to activate the clothes fragrance function. Upon receiving the user's control command to activate the clothes fragrance function, the washing machine's controller responds by accelerating the rotation of the inner drum.

[0097] Optionally, the user can send control commands to the washing machine to control the washing machine to perform clothes fragrance, which may include one or more of the following implementation methods: 0 Implementation method 1: The user sends control commands to the washing machine to control the washing machine to perform clothes fragrance through the washing machine's display.

[0098] In some embodiments, the washing machine's display shows options such as start, fabric fragrance, and timer. Users can select the fabric fragrance program option via the touchscreen display and issue control commands to control the washing machine to perform the fabric fragrance function.

[0099] 5. Implementation Method 2: The user sends a control command to the washing machine through the terminal device to control the washing machine to perform the clothes fragrance function.

[0100] In some embodiments, users can access the washing machine's control panel via a smart home app on their terminal device, selecting the online device as the washing machine. The control panel may include icons for options such as washing, fabric fragrance, drainage, and disinfection. Users can click the "0" icon for the fabric fragrance option to send control commands to the washing machine to activate the fabric fragrance function.

[0101] Implementation method 3: The user sends a voice command to the washing machine to control the washing machine to perform the clothes fragrance function.

[0102] In some embodiments, the washing machine is equipped with a voice recognition module connected to the controller for recognizing user voice commands. When the user needs the washing machine to perform a clothes fragrance function, the user can issue a voice command to control the washing machine to perform the function.

[0103] After receiving a control command from the user to control the washing machine to scent clothes, the controller responds by controlling the inner drum to start rotating faster.

[0104] In some embodiments, in order to promptly identify whether the eccentricity of the inner cylinder is too large, the controller obtains the first rotational speed value of the inner cylinder through a speed sensor during the process of the inner cylinder accelerating.

[0105] 0. This is understandable. When the inner drum reaches a certain speed, the clothes inside may be unevenly distributed, causing the inner drum to rotate unbalanced. In other words, the washing machine may become eccentric. Excessive eccentricity may cause the outer drum to collide with the cabinet or the cabinet to shift, making it difficult for the subsequent clothes fragrance process to proceed smoothly. Therefore, the controller obtains the first speed value of the inner drum during the acceleration process.

[0106] S102. When the first rotational speed is detected to have reached the first target rotational speed, the first rotational speed difference is obtained.

[0107] Understandably, when the inner drum of the washing machine accelerates for a period of time, and the inner drum speed is detected to reach the first target speed, it means that the inner drum speed of the washing machine is too high. It is necessary to determine whether the washing machine is too eccentric to prevent the outer drum from hitting the cabinet and the cabinet from shifting.

[0108] In some embodiments, when the first rotational speed is detected to have reached the first target rotational speed, the degree of eccentricity is related to the first rotational speed difference.

[0109] The first speed difference is the difference between the second speed reached by the inner drum after accelerating at the first target speed for the first preset number of revolutions and the first preset speed. The first target speed, the first preset number of revolutions, and the first preset speed can all be preset at the factory of the washing machine, and this application embodiment does not limit them. For example, the first target speed is 500 rpm, the first preset number of revolutions is 2, and the first preset speed is 600 rpm.

[0110] For example, suppose the first target rotation speed is 500 rpm, the first preset number of revolutions is 2, and the first preset rotation speed is 600 rpm. After the inner drum of the washing machine accelerates to rotate 2 revolutions at 500 rpm, the second rotation speed reached is 550 rpm. Therefore, the difference between the second rotation speed of 550 rpm and the first preset rotation speed of 600 rpm is 50 rpm, which is also the first rotation speed difference of 50 rpm.

[0111] S103. If the first speed difference is above the first preset speed difference, control the inner cylinder to reduce from the second speed to the second target speed, and after controlling the inner cylinder to rotate at the second target speed for a first preset time, control the inner cylinder to increase the speed to the first target speed.

[0112] Understandably, if the first speed difference is greater than the first preset speed difference, it means that the washing machine is too eccentric, which may cause the outer drum to collide with the cabinet or the cabinet to shift. Therefore, the inner drum of the washing machine needs to slow down to make the clothes inside the inner drum more evenly distributed. After the clothes inside the washing machine are distributed more evenly after the speed is reduced for a period of time, the eccentricity of the washing machine is reduced, preventing the outer drum from colliding with the cabinet or the cabinet from shifting. Then the washing machine is controlled to continue to accelerate.

[0113] In some embodiments, when the washing machine's eccentricity is too large, in order to distribute the clothes in the inner drum more evenly, that is, to prevent the outer drum from hitting the cabinet or the cabinet from shifting, the inner drum is controlled to reduce its second rotation speed to a second target rotation speed, and then controlled to rotate at the second target rotation speed for a first preset time. It should be noted that after rotating for the first preset time, the washing machine's eccentricity has been reduced, preventing the outer drum from hitting the cabinet or the cabinet from shifting. Then, the washing machine is controlled to accelerate, that is, the inner drum's rotation speed is increased to the first target rotation speed.

[0114] The first preset speed difference, the second target speed, and the first preset duration can all be preset at the factory of the washing machine, and this application embodiment does not limit them. For example, the first preset speed difference is 20 rpm, the second target speed is 400 rpm, and the first preset duration is 2 seconds.

[0115] For example, suppose the first target speed is 500 rpm, the second speed is 550 rpm, the first speed difference is 50 rpm, the first preset speed difference is 20 rpm, the second target speed is 400 rpm, and the first preset duration is 2 seconds. When the first speed difference of 50 rpm is greater than the first preset speed difference of 20 rpm, the inner cylinder speed is controlled to decrease from 550 rpm to 400 rpm. After controlling the inner cylinder to rotate at 400 rpm for 2 seconds, the inner cylinder speed is controlled to increase to 500 rpm to prevent the outer cylinder from colliding with the housing and the housing from shifting.

[0116] S104. If the first speed difference is below the first preset speed difference, control the inner cylinder to increase from the second speed to the third target speed.

[0117] Understandably, if the first speed difference is below the first preset speed difference, it means that the washing machine has a low degree of eccentricity or no eccentricity at this time, and the clothes in the inner drum are distributed more evenly. There will be no situation where the outer drum hits the cabinet or the cabinet shifts. At this time, the inner drum can be controlled to continue to accelerate, that is, the inner drum can be controlled to increase from the second speed to the third target speed.

[0118] The third target rotation speed can be preset at the factory, and this application embodiment does not limit this. For example, the third target rotation speed is 600 rpm.

[0119] For example, assuming the first speed difference is 10 rpm, the first preset speed difference is 20 rpm, the third target speed can be 600 rpm, and the second speed is 550 rpm. When the first speed difference of 10 rpm is below the first preset speed difference of 20 rpm, the inner cylinder speed is controlled to increase from 550 rpm to 600 rpm.

[0120] S105. If the rotational speed of the inner cylinder is detected to reach the third target rotational speed, the second rotational speed difference is obtained.

[0121] Understandably, when the inner drum speed is detected to have reached the third target speed, it means that the inner drum speed of the washing machine is relatively high. It is necessary to re-evaluate whether the washing machine is excessively eccentric in order to prevent the outer drum from hitting the cabinet or the cabinet from shifting.

[0122] In some embodiments, when the rotational speed of the inner cylinder is detected to reach the third target rotational speed, the degree of eccentricity is related to the second rotational speed difference.

[0123] The second speed difference is the difference between the third speed reached by the inner drum after accelerating to the third target speed and rotating for the second preset number of revolutions, and the second preset speed. Both the second preset number of revolutions and the second preset speed can be preset at the factory of the washing machine, and this application embodiment does not limit them. For example, the second preset number of revolutions is 3, and the second preset speed is 700 rpm.

[0124] For example, suppose the third target rotational speed is 600 rpm, the second preset number of revolutions is 3, and the second preset rotational speed is 700 rpm. When the inner cylinder's rotational speed is detected to reach 600 rpm, the inner cylinder accelerates at 600 rpm for 3 revolutions to reach 760 rpm. Therefore, the difference between the third rotational speed of 760 rpm and the second preset rotational speed of 700 rpm is 60 rpm, which is the second rotational speed difference of 60 rpm.

[0125] S106. If the second speed difference is above the second preset speed difference, control the inner cylinder to reduce the speed from the third speed to the fourth target speed, and after controlling the inner cylinder to rotate at the fourth target speed for a second preset time, control the inner cylinder to increase the speed to the third target speed.

[0126] Understandably, if the second speed difference exceeds the second preset speed difference, it indicates that the washing machine's eccentricity is too large, potentially causing the outer drum to collide with the cabinet and the cabinet to shift. In this case, the inner drum's speed can be reduced from the third target speed to the fourth target speed to decrease the eccentricity. After the inner drum rotates at the fourth target speed for a second preset time, the eccentricity of the washing machine is reduced, preventing the outer drum from colliding with the cabinet and the cabinet from shifting, allowing the inner drum to continue accelerating. Therefore, after the inner drum rotates at the fourth target speed for a second preset time, the inner drum's speed is increased to the third target speed.

[0127] The second preset speed difference, the fourth target speed, and the second preset duration can all be preset at the factory of the washing machine, and this application embodiment does not limit them. For example, the second preset speed difference is 30 rpm, the fourth target speed is 500 rpm, and the second preset duration is 3 seconds.

[0128] For example, assume the second speed difference is 60 rpm, the second preset speed difference is 30 rpm, the fourth target speed is 500 rpm, the second preset duration is 3 seconds, the third speed is 760 rpm, and the third target speed is 600 rpm. When the second speed difference of 60 rpm is greater than the second preset speed difference of 30 rpm, the inner cylinder speed is controlled to decrease from 760 rpm to 500 rpm. After controlling the inner cylinder to rotate at 500 rpm for 3 seconds, the inner cylinder speed is then controlled to increase to 600 rpm.

[0129] S107. If the second speed difference is below the second preset speed difference, control the washing machine to enter the clothes fragrance mode.

[0130] Understandably, if the second spin speed difference is below the second preset spin speed difference, it means that the washing machine's eccentricity is low or non-existent, and the clothes inside the drum are more evenly distributed. In this case, controlling the washing machine to enter the aromatherapy mode can provide a better fragrance effect on the clothes. Therefore, when the second spin speed difference is below the second preset spin speed difference, the washing machine should be controlled to enter the clothes aromatherapy mode.

[0131] For example, suppose the second speed difference is 10 rpm and the second preset speed difference is 30 rpm. When the second speed difference is 10 rpm or less than the second preset speed difference of 30 rpm, the washing machine is controlled to enter the clothes fragrance mode.

[0132] based on Figure 4 The illustrated embodiment provides at least the following beneficial effects: When the inner drum of the washing machine is accelerating, a first rotational speed of the inner drum is acquired; when the first rotational speed is detected to have reached a first target rotational speed, a first speed difference is acquired, and then the first speed difference is compared with a first preset speed difference to determine whether the washing machine has excessive eccentricity. It is understood that if the first speed difference is above the first preset speed difference, it indicates excessive eccentricity in the washing machine. The eccentricity is reduced by controlling the inner drum to decrease from a second rotational speed to a second target rotational speed. After controlling the inner drum to rotate at the second target rotational speed for a first preset time, the inner drum's rotational speed is increased to the first target rotational speed to ensure even distribution of clothes within the washing machine, thereby reducing eccentricity and preventing the outer drum from colliding with the casing and the casing from shifting due to eccentricity. If the first speed difference is below the first preset speed difference, it indicates that the washing machine has not excessive eccentricity and can accelerate normally. Therefore, the inner drum's rotational speed is increased from the second rotational speed to a third target rotational speed. When the inner drum's rotational speed is detected to have reached the third target rotational speed, a second speed difference is acquired, and then the second speed difference is compared with a second preset speed difference to determine whether excessive eccentricity has occurred when the inner drum's rotational speed is high. Understandably, if the second speed difference is above the second preset speed difference, it means that the washing machine is too eccentric. By controlling the inner drum to reduce its speed from the third speed to the fourth target speed, and after controlling the inner drum to rotate at the fourth target speed for a second preset time, the inner drum speed is increased to the third target speed, so that the clothes in the washing machine are evenly distributed, thereby reducing the eccentricity of the washing machine and preventing the outer drum from hitting the cabinet and the cabinet from shifting due to excessive eccentricity. If the second speed difference is below the second preset speed difference, it means that the washing machine is not too eccentric, and the washing machine can normally enter the clothes fragrance mode.

[0133] In this way, by repeatedly detecting the speed difference of the inner drum during the accelerated rotation of the inner drum, and reducing the speed of the inner drum when the speed difference is too large, the outer drum is prevented from hitting the cabinet and the cabinet from shifting due to excessive eccentricity of the inner drum, thus ensuring that the clothes fragrance process can proceed smoothly.

[0134] In some embodiments, before controlling the washing machine to enter the clothes fragrance mode, that is, before step S107, such as Figure 5 As shown, the method may further include the following steps:

[0135] S201. If the second speed difference is below the second preset speed difference, control the inner cylinder to increase the speed to the fifth target speed, then control the first water inlet valve to open, and obtain the first water level frequency value of the outer cylinder.

[0136] If the second speed difference is below the second preset speed difference, it indicates that the washing machine's eccentricity is low, and it can enter the clothes fragrance mode. However, the washing machine's drain pump may contain residual wash water from the previous wash. If this residual wash water is not drained, it may affect the fragrance effect, thus impacting the user experience. Therefore, before controlling the washing machine to enter the clothes fragrance mode, this residual wash water needs to be drained to prevent contamination of the fragrance liquid. This is achieved by opening the first water inlet valve, injecting a certain amount of water into the outer drum to drain the residual water and prevent contamination of the fragrance liquid. Additionally, since the clothes in the inner drum are dry, the inner drum needs to rotate at a higher speed before the outer drum receives water to prevent water from entering the inner drum and wetting the clothes inside. This can be achieved by controlling the inner drum to increase its speed to the fifth target speed before opening the first water inlet valve.

[0137] It is understandable that there may not be much residual washing water in the washing machine's drain pump. In order to avoid wasting water resources, the first water level frequency value of the outer drum is obtained after the first water inlet valve is opened.

[0138] The fifth target rotation speed can be preset at the factory, and this application embodiment 5 does not limit it. For example, the fifth target rotation speed can be 800 rpm.

[0139] S202. When the first water level frequency value of the outer cylinder is detected to reach the first preset water level, the first water inlet valve is controlled to close, and the inner cylinder is controlled to stop rotating after a third preset time.

[0140] Understandably, when the first water level frequency value of the outer drum is detected to reach the first preset water level, it means that the water in the outer drum of the washing machine has already emptied the water remaining in the drain pump. At this time, the outer drum of the washing machine does not need to be filled with water anymore. The first water inlet valve can be closed, and after the third preset time, the inner drum can be stopped from rotating so that the water in the first dispensing box can flow fully into the outer drum.

[0141] The third preset duration can be preset at the factory, and this embodiment does not limit this. For example, the third preset duration is 10 seconds.

[0142] S203. Control the drainage pump to start, and after the drainage pump has been running for a fourth preset time, control the drainage pump to shut down.

[0143] In some embodiments, after the inner drum stops rotating, the drain pump is turned on. At this time, water in the outer drum of the washing machine is discharged, and water remaining in the drain pump is also discharged. After a fourth preset time has elapsed since the drain pump started, the water remaining in the drain pump has been drained, and the drainage process is complete.

[0144] Once completed, the aromatherapy liquid used in subsequent aromatherapy processes will not be contaminated, and the drain pump can be turned off at this point.

[0145] The fourth preset duration can be preset at the factory, and this embodiment does not limit this. For example, the fourth preset duration is 20 seconds.

[0146] S204. Control the inner drum to accelerate its rotation, and after detecting that the inner drum's rotation speed has reached the fifth target speed, control the washing machine to enter the clothes fragrance mode.

[0147] 5. In some embodiments, after drainage is completed, the inner drum is controlled to rotate faster, and the above steps S101 to S106 can be repeated to make the clothes in the inner drum more evenly distributed, so that the fragrance of the clothes in the subsequent clothes fragrance mode is more evenly distributed, and the clothes have a better fragrance effect.

[0148] It should be noted that when the washing machine enters the clothes fragrance mode, the outer drum needs to be filled with water again to rinse the fragrance liquid, so that the fragrance liquid can evaporate better and improve the fragrance effect on the clothes. During the process of the outer drum being filled with water again, in order to prevent water from the outer drum from entering the inner drum and wetting the clothes, the inner drum needs to rotate faster. After detecting that the inner drum's speed has reached the fifth target speed, the washing machine is controlled to enter the clothes fragrance mode.

[0149] based on Figure 5The illustrated embodiment provides at least the following beneficial effects: After controlling the inner drum to increase its rotation speed to the fifth target speed, the first water inlet valve is opened, causing the first water level frequency value of the outer drum to reach the first preset water level. After a third preset time, the inner drum stops rotating. Then, the drain pump is turned on, and after a fourth preset time, the drain pump is turned off. The inner drum then accelerates its rotation, and after detecting that the inner drum's rotation speed has reached the fifth target speed, the washing machine enters the clothes fragrance mode. That is, water is injected into the outer drum of the washing machine to drain the water remaining in the drain pump, while simultaneously ensuring that the water in the first detergent dispenser flows fully into the outer drum, and then most of the water remaining in the drain pump is drained to prevent contamination of the fragrance liquid.

[0150] In some embodiments, such as Figure 6 As shown, controlling the washing machine to enter the clothes fragrance mode can be achieved through the following steps:

[0151] S301. Control the first water inlet valve to open, and after the first water inlet valve has been open for a fifth preset time, control the first water inlet valve to close and control the second water inlet valve to open.

[0152] In some embodiments, when controlling the washing machine to enter the clothing fragrance mode, the space below the bottom of the outer drum of the washing machine can be filled with water first. This way, when the fragrance liquid is rinsed with water, the fragrance liquid can be located in the space above the bottom of the outer drum, which can increase the evaporation area of ​​the fragrance liquid and rinse it clean at the same time. That is, the first water inlet valve is opened, and after the first water inlet valve has been open for a fifth preset time, at which point the space below the bottom of the outer drum of the washing machine is filled with water, the first water inlet valve is then closed, and the second water inlet valve is opened. Since the second water inlet valve is connected to the second dispensing box, which is used to hold the fragrance liquid, the opening of the second water inlet valve means that water is introduced to rinse the fragrance liquid.

[0153] S302, Obtain the second water level frequency value of the outer cylinder.

[0154] Understandably, a certain amount of water is needed to rinse the aromatherapy liquid completely. In order to know in a timely manner whether the aromatherapy liquid has been rinsed out and to close the second water inlet valve in time to avoid wasting water resources, after the second water inlet valve is opened, the controller obtains the second water level frequency value of the outer cylinder through the water level sensor.

[0155] S303. When the second water level frequency value of the outer cylinder is detected to reach the second preset water level, the second water inlet valve is closed, the fan and heating device are started to work, and the inner cylinder is adjusted to the preset drying speed.

[0156] Understandably, when the second water level frequency value of the outer cylinder reaches the second preset water level, it means that the aromatherapy liquid in the second dispensing box has been rinsed clean. At this point, the second water inlet valve can be closed to avoid wasting water. The fan and heating device can then be started, and the inner cylinder's rotation speed can be adjusted to the preset drying speed.

[0157] It should be understood that starting the heating device accelerates the evaporation of the fragrance liquid at the bottom of the outer drum; starting the fan allows the fragrance to be carried into the inner drum through the drying duct, thus enhancing the fragrance of the clothes inside; and adjusting the inner drum's rotation speed to the preset drying speed ensures a more even fragrance effect on the clothes.

[0158] In some embodiments, in order to make the fragrance effect on the clothes more even, when the inner drum is adjusted to the preset drying speed, the inner drum can also be controlled to rotate in both directions to shake the clothes in the inner drum, so as to make the fragrance effect on the clothes in the inner drum more even.

[0159] In some embodiments, the preset drying speed may be preset at the factory, and this application embodiment does not limit this. For example, the preset drying speed is 900 rpm.

[0160] In some embodiments, in order to ensure that the water and aromatherapy liquid in the second dispensing box have been fully siphoned into the outer cylinder, the second water inlet valve is closed, the fan and heating device are started to work, and the inner cylinder is adjusted to the preset drying speed. This can be specifically implemented by the following steps: after the second water inlet valve has been closed for a sixth preset time, the fan and heating device are started to work, and the inner cylinder is adjusted to the preset drying speed.

[0161] The sixth preset duration is set at the factory of the washing machine, and this embodiment does not limit it. The sixth preset duration can be 10 seconds.

[0162] It should be understood that it takes a certain amount of time for the water and aromatherapy liquid in the second dispensing box to be siphoned into the outer cylinder. Therefore, after the second water inlet valve is closed and a sixth preset time has elapsed, it can be ensured that the water and aromatherapy liquid in the second dispensing box have been fully siphoned into the outer cylinder.

[0163] The above embodiments focus on the beginning process of the clothing fragrance process. In some embodiments, the washing machine control method provided in this application also involves the ending process of the clothing fragrance process, such as... Figure 7 As shown, after step S303, the method further includes the following steps:

[0164] S401. After the heating device has been operating for a seventh preset time, the heating device shall stop operating.

[0165] Understandably, the heating device stops operating after the seventh preset time. This is because the clothes in the washing machine need a certain amount of time to release their fragrance, but excessively long fragrance release time would affect the user's wearing experience. Additionally, after the seventh preset time, the fragrance liquid will have completely evaporated; continuing to operate the heating device at this point would waste electricity. Therefore, the heating device stops operating after the seventh preset time.

[0166] The seventh preset duration is set at the factory when the washing machine leaves the factory, and this embodiment of the application does not limit it. For example, the seventh preset duration can be 10 minutes.

[0167] In some embodiments, to avoid excessive fragrance on clothing or to avoid wasting electrical resources, the heating device is controlled to stop working after a seventh preset time period.

[0168] S402, Obtain the temperature value of the inner cylinder.

[0169] In some embodiments, after the heating device stops working, the temperature inside the inner drum is still relatively high. If the user takes out clothes at this time, it may cause a dangerous situation. At this time, the fan continues to rotate to cool down the drum. During the cooling process, the temperature value of the inner drum can be obtained by the temperature sensor.

[0170] S403. When the temperature of the inner cylinder is detected to be below the preset temperature value, the fan is controlled to stop working, the inner cylinder is controlled to stop rotating, and the drain pump is controlled to start working.

[0171] Understandably, if the temperature of the inner drum is detected to be below the preset temperature, it means that the temperature of the inner drum is low and it will not cause any danger if the user takes out clothes at this time. Therefore, it is not necessary to continue cooling down. Thus, the fan is stopped, the inner drum stops rotating, and the drain pump starts working.

[0172] In some embodiments, when the water in the outer drum is detected to be completely drained, the controller controls the drain pump to shut off and controls the washing machine door lock to open.

[0173] The following example illustrates a washing machine control method provided in this application. Figure 8 The diagram shown is a schematic diagram of the control flow of a washing machine provided in accordance with an exemplary embodiment of this application.

[0174] like Figure 8As shown, after the washing machine is started, it performs a clothes fragrance treatment. While the inner drum is accelerating, a speed sensor obtains the first rotational speed of the inner drum. When the first rotational speed is detected to have reached a first target rotational speed, a first speed difference is obtained. This first speed difference is the difference between the second rotational speed reached by the inner drum after accelerating at the first target rotational speed for a first preset number of revolutions and the first preset rotational speed. If the first speed difference is greater than the first preset speed difference, the inner drum is controlled to decrease from the second rotational speed to the second target rotational speed. After the inner drum rotates at the second target rotational speed for a first preset time, the inner drum is controlled to increase its rotational speed to the first target rotational speed. The target speed; or, if the first speed difference is below the first preset speed difference, the inner drum is controlled to increase from the second speed to the third target speed; when the inner drum's speed is detected to have reached the third target speed, the second speed difference is obtained; wherein, the second speed difference is the difference between the third speed reached by the inner drum after accelerating at the third target speed for a second preset number of revolutions and the second preset speed; if the second speed difference is above the second preset speed difference, the inner drum is controlled to decrease from the third speed to the fourth target speed, and after controlling the inner drum to rotate at the fourth target speed for a second preset time, the inner drum is controlled to increase its speed to the third target speed; or, if the second speed difference is below the second preset speed difference, the washing machine is controlled to enter the clothes fragrance mode. Figure 8 In this context, V0 is the first target speed; △V1 is the first speed difference; N1 is the first preset number of revolutions; V' is the first preset speed; V01 is the second target speed; t1 is the first preset duration; V1 is the third target speed; △V2 is the second speed difference; N2 is the second preset number of revolutions; V” is the second preset speed; V02 is the fourth target speed; and t2 is the second preset duration.

[0175] If the second rotational speed difference is below the second preset rotational speed difference, the inner cylinder is controlled to increase its rotational speed to the fifth target rotational speed. Then, the first water inlet valve is opened, and the first water level frequency value of the outer cylinder is acquired. If the first water level frequency value of the outer cylinder reaches the first preset water level, the first water inlet valve is closed, and after a third preset time, the inner cylinder stops rotating, allowing water from the first dispensing box to flow into the outer cylinder. The drain pump is then turned on, and after a fourth preset time, it is turned off. Figure 8 In the diagram, V2 represents the fifth target rotational speed; A represents the first preset water level; t' represents the third preset duration; and t3 represents the fourth preset duration.

[0176] After controlling the drain pump to shut down, such as Figure 9 The diagram shown is a schematic diagram of the control flow of a washing machine provided in accordance with an exemplary embodiment of this application.

[0177] After the drain pump is shut off, and the inner drum of the washing machine is accelerating, the first rotational speed of the inner drum is obtained through a speed sensor; when the inner drum of the washing machine is accelerating, the first rotational speed of the inner drum is obtained; when the first rotational speed is detected to have reached the first target rotational speed, the first rotational speed difference is obtained; wherein, the first rotational speed difference is the difference between the second rotational speed reached by the inner drum after accelerating at the first target rotational speed for a first preset number of revolutions and the first preset rotational speed; if the first rotational speed difference is greater than the first preset rotational speed difference, the inner drum is controlled to decrease from the second rotational speed to the second target rotational speed, and after the inner drum is controlled to rotate at the second target rotational speed for a first preset time, the inner drum is controlled to increase its rotational speed to the first target rotational speed; Alternatively, if the first speed difference is below the first preset speed difference, the inner drum is controlled to increase from the second speed to the third target speed; when the inner drum's speed is detected to have reached the third target speed, the second speed difference is obtained; wherein, the second speed difference is the difference between the third speed reached by the inner drum after accelerating at the third target speed for a second preset number of revolutions and the second preset speed; if the second speed difference is above the second preset speed difference, the inner drum is controlled to decrease from the third speed to the fourth target speed, and after controlling the inner drum to rotate at the fourth target speed for a second preset time, the inner drum's speed is controlled to increase to the third target speed; or, if the second speed difference is below the second preset speed difference, the washing machine is controlled to enter the clothes fragrance mode. Figure 9 In this context, V0 is the first target speed; △V1 is the first speed difference; N1 is the first preset number of revolutions; V' is the first preset speed; V01 is the second target speed; t1 is the first preset duration; V1 is the third target speed; △V2 is the second speed difference; N2 is the second preset number of revolutions; V” is the second preset speed; V02 is the fourth target speed; and t2 is the second preset duration.

[0178] If the second rotational speed difference is below the second preset rotational speed difference, the inner cylinder is controlled to increase its rotational speed to the fifth target rotational speed. Then, the first water inlet valve is opened, and the first water level frequency value of the outer cylinder is acquired. If the first water level frequency value of the outer cylinder reaches the first preset water level, the first water inlet valve is closed, and after a third preset time, the inner cylinder stops rotating, allowing water from the first dispensing box to flow into the outer cylinder. The drain pump is then turned on, and after a fourth preset time, it is turned off. Figure 9 In the diagram, V2 represents the fifth target rotational speed; A represents the first preset water level; t' represents the third preset duration; and t3 represents the fourth preset duration.

[0179] The inner drum is controlled to rotate at an accelerated speed, and after the inner drum's speed is detected to reach the fifth target speed, the washing machine is controlled to enter the clothes fragrance mode. Figure 9 In this context, V2 represents the fifth target rotational speed.

[0180] The system controls the first water inlet valve to open, and after a fifth preset time period, controls the first water inlet valve to close and controls the second water inlet valve to open; it acquires the second water level frequency value of the outer cylinder; when the second water level frequency value of the outer cylinder reaches the second preset water level, it controls the second water inlet valve to close; after a sixth preset time period, it controls the fan and heating device to start working, and controls the inner cylinder to adjust its rotation speed to the preset drying speed. Figure 9 In the middle, the detergent dispenser is inlet when the first inlet valve is open; the detergent dispenser stops inlet when the first inlet valve is closed; the air freshener dispenser is inlet when the second inlet valve is open; t4 is the fifth preset time; B is the second preset water level; t” is the sixth preset time; V 烘干 This is the preset drying speed.

[0181] After the heating device has operated for a preset seven-hour period, it stops; the temperature of the inner drum is acquired; if the inner drum temperature is detected to be below the preset value, the fan stops, the inner drum stops rotating, and the drain pump starts operating. Furthermore, once the water in the outer drum is completely drained, the controller shuts off the drain pump, ending the washing machine's clothes fragrance function. Figure 9 In this context, t5 represents the seventh preset duration; T represents the preset temperature value.

[0182] As can be seen, the above mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, the embodiments of this application provide corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the modules and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this invention.

[0183] This application embodiment can divide the controller into functional modules according to the above method example. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. Optionally, the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0184] This application also provides a hardware structure diagram of a controller, such as... Figure 10As shown, the controller 1000 includes a processor 1001. Optionally, the controller 1000 also includes a memory 1002 and a communication interface 1003 connected to the processor 1001. The processor 1001, memory 1002, and communication interface 1003 are connected via a bus 1004.

[0185] Processor 1001 may be a central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. Processor 1001 may also be any other device with processing capabilities, such as a circuit, device, or software module. Processor 1001 may also include multiple CPUs, and processor 1001 may be a single-core processor or a multi-core processor. Here, "processor" can refer to one or more devices, circuits, or processing cores used to process data (e.g., computer program instructions).

[0186] The memory 1002 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or it may be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer. This application embodiment does not impose any limitations on this. The memory 1002 may exist independently or may be integrated with the processor 1001. The memory 1002 may contain computer program code. The processor 1001 is used to execute the computer program code stored in the memory 1002, thereby implementing the control method provided in this application embodiment.

[0187] The communication interface 1003 can be used to communicate with other devices or communication networks (such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc.). The communication interface 1003 can be a module, circuit, transceiver, or any device capable of enabling communication.

[0188] Bus 1004 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Bus 1004 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 10 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0189] This invention also provides a computer-readable storage medium including computer-executable instructions that, when executed on a computer, cause the computer to perform the method provided in the above embodiments.

[0190] This invention also provides a computer program product that can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program product can implement the methods provided in the above embodiments.

[0191] Those skilled in the art will recognize that, in one or more of the examples above, the functions described in this invention can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium accessible to a general-purpose or special-purpose computer.

[0192] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0193] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely exemplary; for instance, the division of modules or units is only a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed between each other may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms. Units described as separate components may or may not be physically separate; components shown as units may be one physical unit or multiple physical units, i.e., they may be located in one place or distributed in multiple different places. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0194] Furthermore, the functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0195] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A washing machine, characterized in that, include: The box body has a clothing loading port on its side wall; An outer cylinder is disposed inside the box, with its opening facing the clothing inlet, and the outer cylinder is used to hold water; The inner tube, located inside the outer tube, is used to hold clothing; A speed sensor is installed in the inner cylinder to detect the rotational speed of the inner cylinder; The controller is configured as follows: When the inner drum of the washing machine is rotating at an accelerated speed, the first rotational speed of the inner drum is obtained by the speed sensor; When the first rotational speed is detected to have reached the first target rotational speed, a first rotational speed difference is obtained; wherein, the first rotational speed difference is the difference between the second rotational speed reached by the inner cylinder after accelerating to rotate a first preset number of revolutions at the first target rotational speed and the first preset rotational speed; If the first speed difference is greater than a first preset speed difference, the inner cylinder is controlled to decrease from the second speed to the second target speed, and after the inner cylinder is controlled to rotate at the second target speed for a first preset time, the inner cylinder is controlled to increase its speed to the first target speed; or... If the first speed difference is below the first preset speed difference, control the inner cylinder to increase from the second speed to the third target speed; When the rotational speed of the inner cylinder is detected to reach the third target rotational speed, a second rotational speed difference is obtained; wherein, the second rotational speed difference is the difference between the third rotational speed reached by the inner cylinder after accelerating to rotate a second preset number of revolutions at the third target rotational speed and the second preset rotational speed. If the second speed difference is greater than the second preset speed difference, the inner cylinder is controlled to decrease from the third speed to the fourth target speed, and after the inner cylinder is controlled to rotate at the fourth target speed for a second preset time, the inner cylinder is controlled to increase its speed to the third target speed; or... If the second speed difference is below the second preset speed difference, the washing machine is controlled to enter the clothes fragrance mode.

2. The washing machine according to claim 1, characterized in that, The washing machine also includes: The first dispensing box is located inside the box and is used to hold detergent; The first water inlet valve is connected to the first dispensing box; A drain pump is located at the bottom of the housing; A water level sensor is installed in the outer cylinder to detect the frequency value of the water level inside the outer cylinder; Before being configured to control the washing machine to enter the clothes fragrance mode, the controller is further configured to: If the second speed difference is below the second preset speed difference, the inner cylinder is controlled to increase its speed to the fifth target speed, and then the first water inlet valve is controlled to open, and the first water level frequency value of the outer cylinder is obtained through the water level sensor. When the first water level frequency value of the outer cylinder is detected to reach the first preset water level, the first water inlet valve is controlled to close, and after a third preset time, the inner cylinder is controlled to stop rotating so that the water in the first dispensing box flows into the outer cylinder. Control the drainage pump to start, and control the drainage pump to shut down after a fourth preset time period has elapsed since the drainage pump started; The inner drum is controlled to rotate faster, and after the rotation speed of the inner drum is detected to reach the fifth target rotation speed, the washing machine is controlled to enter the clothes fragrance mode.

3. The washing machine according to claim 2, characterized in that, The washing machine also includes: The second dispensing box is located inside the box and is used to hold the aromatherapy liquid; The second water inlet valve is connected to the second dispensing box; A drying air duct is formed between the upper part of the box body and the outer cylinder, and a fan and a heating device are installed in the drying air duct; When the controller is configured to control the washing machine to enter the clothes fragrance mode, it is specifically configured as follows: Control the first water inlet valve to open, and after the first water inlet valve has been open for a fifth preset time, control the first water inlet valve to close and control the second water inlet valve to open. Obtain the second water level frequency value of the outer cylinder; When the second water level frequency value of the outer cylinder is detected to reach the second preset water level, the second water inlet valve is closed, the fan and the heating device are started to work, and the inner cylinder is adjusted to the preset drying speed.

4. The washing machine according to claim 3, characterized in that, The controller is configured to close the second water inlet valve, start the fan and heating device, and adjust the inner drum to a preset drying speed. Specifically, it is configured as follows: After the second water inlet valve has been closed for a six-preset period, the fan and heating device are started to work, and the inner cylinder is adjusted to a preset drying speed.

5. The washing machine according to claim 3 or 4, characterized in that, The washing machine also includes: A temperature sensor is used to detect the temperature value of the inner cylinder; The controller is configured to control the fan and the heating device to start working, and after controlling the inner drum to adjust its rotation speed to a preset drying speed, it is also configured to: After the heating device has been operating for a seventh preset period of time, the heating device is controlled to stop operating. The temperature value of the inner cylinder is obtained through the temperature sensor; If the temperature of the inner cylinder is detected to be below a preset temperature value, the fan is controlled to stop working, the inner cylinder is controlled to stop rotating, and the drain pump is controlled to start working.

6. A method for controlling a washing machine, characterized in that, The method includes: When the inner drum of the washing machine is rotating at an accelerated speed, the first rotational speed of the inner drum is obtained; When the first rotational speed is detected to have reached the first target rotational speed, a first rotational speed difference is obtained; wherein, the first rotational speed difference is the difference between the second rotational speed reached by the inner cylinder after accelerating to rotate a first preset number of revolutions at the first target rotational speed and the first preset rotational speed; If the first speed difference is greater than a first preset speed difference, the inner cylinder is controlled to decrease from the second speed to the second target speed, and after the inner cylinder is controlled to rotate at the second target speed for a first preset time, the inner cylinder is controlled to increase its speed to the first target speed; or... If the first speed difference is below the first preset speed difference, control the inner cylinder to increase from the second speed to the third target speed; When the rotational speed of the inner cylinder is detected to reach the third target rotational speed, a second rotational speed difference is obtained; wherein, the second rotational speed difference is the difference between the third rotational speed reached by the inner cylinder after accelerating to rotate a second preset number of revolutions at the third target rotational speed and the second preset rotational speed. If the second speed difference is greater than the second preset speed difference, the inner cylinder is controlled to decrease from the third speed to the fourth target speed, and after the inner cylinder is controlled to rotate at the fourth target speed for a second preset time, the inner cylinder is controlled to increase its speed to the third target speed; or... If the second speed difference is below the second preset speed difference, the washing machine is controlled to enter the clothes fragrance mode.

7. The method according to claim 6, characterized in that, Before controlling the washing machine to enter the clothes fragrance mode, the method further includes: If the second speed difference is below the second preset speed difference, control the inner cylinder to increase the speed to the fifth target speed, then control the first water inlet valve to open, and obtain the first water level frequency value of the outer cylinder; When the first water level frequency value of the outer cylinder is detected to reach the first preset water level, the first water inlet valve is controlled to close, and after a third preset time, the inner cylinder is controlled to stop rotating so that the water in the first dispensing box flows into the outer cylinder. Control the drainage pump to start, and control the drainage pump to shut down after a fourth preset time period has elapsed since the drainage pump started; The inner drum is controlled to rotate faster, and after the rotation speed of the inner drum is detected to reach the fifth target rotation speed, the washing machine is controlled to enter the clothes fragrance mode.

8. The method according to claim 7, characterized in that, The control of the washing machine to enter the clothes fragrance mode includes: Control the first water inlet valve to open, and after the first water inlet valve has been open for a fifth preset time, control the first water inlet valve to close and control the second water inlet valve to open. Obtain the second water level frequency value of the outer cylinder; When the second water level frequency value of the outer cylinder is detected to reach the second preset water level, the second water inlet valve is closed, the fan and heating device are started to work, and the inner cylinder is adjusted to the preset drying speed.

9. The method according to claim 8, characterized in that, The steps of controlling the second water inlet valve to close, controlling the fan and heating device to start working, and controlling the inner drum to adjust its rotation speed to a preset drying speed include: After the second water inlet valve has been closed for a six-preset period, the fan and heating device are started to work, and the inner cylinder is adjusted to a preset drying speed.

10. The method according to claim 8 or 9, characterized in that, After the fan and heating device are started to operate, and the inner drum is adjusted to a preset drying speed, the method further includes: After the heating device has been operating for a seventh preset period of time, the heating device is controlled to stop operating. Obtain the temperature value of the inner cylinder; If the temperature of the inner cylinder is detected to be below a preset temperature value, the fan is controlled to stop working, the inner cylinder is controlled to stop rotating, and the drain pump is controlled to start working.