Barrel collision judgment method and device, equipment and storage medium
By using a capacitance sensor in a pulsator washing machine to obtain the distance capacitance value between the outer barrel and the casing, and judging the phenomenon of bumping the barrel based on the capacitance threshold, the problem of inaccurate judgment in the existing technology is solved, and more accurate bucket judgment and timely processing is achieved, improving the user experience.
Patent Information
- Application Number
- CN202311059605.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-22
- Publication Date
- 2025-02-25
AI Technical Summary
The existing pulsator washing machines cannot accurately judge the phenomenon of hitting the barrel when dehydrating at high speed, resulting in inaccurate judgment and inability to control in time, affecting the user experience.
By installing a capacitance sensor in the clothing processing equipment, the distance capacitance value between the outer barrel and the casing during the dehydration process is obtained, and whether the barrel has hit the barrel is determined based on the preset capacitance threshold, and the equipment is then controlled to perform corresponding processing.
It improves the accuracy of the judgment of bumping buckets, can handle bumping buckets in a timely manner, and improves the user experience.
Smart Images

Figure CN119507156A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of smart home appliances, and specifically relates to a barrel collision judgment method, device, equipment and storage medium. Background Art
[0002] At present, there are few methods for sensing the eccentricity of pulsator washing machines. In order to prevent the pulsator washing machine from violently hitting the barrel during high-speed dehydration, a mechanical barrel-hitting switch is generally used. That is, when the inner barrel rotates and causes the outer barrel to move, it will touch the barrel-hitting switch. After being acted upon by external force, the circuit is connected, thereby determining that a barrel-hitting has occurred.
[0003] However, the above method can only determine that the pulsator washing machine has a barrel collision when the outer barrel touches the barrel collision switch. If the outer barrel does not touch the barrel collision switch during the barrel collision process, it will lead to inaccurate judgment and cannot timely control the pulsator washing machine to perform the barrel collision process, affecting the user experience. Summary of the invention
[0004] In order to solve the above problems in the prior art, the present application provides a barrel collision judgment method, device, equipment and storage medium.
[0005] In a first aspect, the present application provides a barrel collision judgment method, the method comprising:
[0006] When the clothes processing device enters a dehydration program, a plurality of capacitance values in each time period are obtained according to a preset time interval, wherein the preset time interval is determined according to different dehydration stages in the dehydration program, and the capacitance value is determined by the distance between the outer tub and the housing of the clothes processing device;
[0007] Determining whether the laundry processing device collides with a barrel according to the magnitude relationship between the capacitance value and the capacitance threshold, wherein the capacitance threshold is a capacitance value obtained in advance when the outer barrel of the laundry processing device collides with the housing;
[0008] If yes, the clothes processing equipment is controlled to perform a barrel collision processing operation.
[0009] In a possible implementation, determining whether the laundry processing device hits a barrel according to the magnitude relationship between the capacitance value and the capacitance threshold value includes:
[0010] If the capacitance values in a single time period are all greater than or equal to the capacitance threshold, it is determined that the clothing processing device has collided with the barrel;
[0011] If the capacitance value in each time period is less than the capacitance threshold, it is determined that the clothing processing device does not collide with the barrel;
[0012] If there is a capacitance value greater than the capacitance threshold among the capacitance values in each time period, the interval time between two consecutive capacitance values greater than or equal to the capacitance threshold is obtained from the capacitance values in each time period, and it is determined whether the clothing processing device has a barrel collision based on the interval time.
[0013] In a possible implementation, determining whether the laundry processing device hits a barrel according to the interval time includes:
[0014] From the interval times, obtaining a target interval time that is less than a time threshold;
[0015] Obtaining the target time period corresponding to the target time interval, and obtaining the number of target time intervals in each of the target time periods;
[0016] If the number is greater than or equal to the first number, it is determined that the clothes processing device has hit the barrel.
[0017] In a possible implementation, the method further includes:
[0018] If the number is less than the first number, the number of the target time periods is obtained, and it is determined whether the laundry processing device hits the barrel according to the number.
[0019] In a possible implementation, determining whether the laundry processing device hits a barrel according to the quantity includes:
[0020] If the number is greater than or equal to the second number, it is determined that the clothes processing device sends a barrel collision.
[0021] In a possible implementation, controlling the clothes processing device to perform a barrel collision processing operation includes:
[0022] If the capacitance values in a single time period are all greater than or equal to the capacitance threshold, controlling the clothing processing device to send a prompt message, wherein the prompt message is used to prompt the user to adjust the position of the clothing to be processed in the barrel;
[0023] If there is a capacitance value greater than the capacitance threshold value among the capacitance values in each time period, the clothing processing device is controlled to perform a shaking operation on the clothing to be processed.
[0024] In a possible implementation, after controlling the clothes processing device to perform a barrel collision processing operation, the method further includes:
[0025] The remaining time of the dehydration program is obtained, and the clothes processing device is controlled to continue dehydrating the clothes to be processed according to the remaining time.
[0026] In a second aspect, the present application provides a control device for barrel collision judgment, including: an acquisition module, a judgment module and a control module, wherein:
[0027] The acquisition module is used to acquire a plurality of capacitance values in each time period according to a preset time interval when the clothes processing device enters a dehydration program, wherein the preset time interval is determined according to different dehydration stages in the dehydration program, and the capacitance value is determined by the distance between the outer barrel and the housing of the clothes processing device;
[0028] The judgment module is used to determine whether the laundry processing device collides with the drum according to the magnitude relationship between the capacitance value and the capacitance threshold, wherein the capacitance threshold is a capacitance value obtained in advance when the outer drum of the laundry processing device collides with the housing;
[0029] The control module is used to control the clothing processing equipment to perform a barrel collision processing operation if so.
[0030] In a possible implementation manner, the determination module is further configured to:
[0031] If the capacitance values in a single time period are all greater than or equal to the capacitance threshold, it is determined that the clothing processing device has collided with the barrel;
[0032] If the capacitance value in each time period is less than the capacitance threshold, it is determined that the clothing processing device does not collide with the barrel;
[0033] If there is a capacitance value greater than the capacitance threshold among the capacitance values in each time period, the interval time between two consecutive capacitance values greater than or equal to the capacitance threshold is obtained from the capacitance values in each time period, and it is determined whether the clothing processing device has a barrel collision based on the interval time.
[0034] In a possible implementation manner, the determination module is further configured to:
[0035] From the interval times, obtaining a target interval time that is less than a time threshold;
[0036] Obtaining the target time period corresponding to the target time interval, and obtaining the number of target time intervals in each of the target time periods;
[0037] If the number is greater than or equal to the first number, it is determined that the clothes processing device has hit the barrel.
[0038] In a possible implementation manner, the determination module is further configured to:
[0039] If the number is less than the first number, the number of the target time periods is obtained, and it is determined whether the laundry processing device hits the barrel according to the number.
[0040] In a possible implementation manner, the determination module is further configured to:
[0041] If the number is greater than or equal to the second number, it is determined that the clothes processing device sends a barrel collision.
[0042] In a possible implementation manner, the control module is further used to:
[0043] If the capacitance values in a single time period are all greater than or equal to the capacitance threshold, controlling the clothing processing device to send a prompt message, wherein the prompt message is used to prompt the user to adjust the position of the clothing to be processed in the barrel;
[0044] If there is a capacitance value greater than the capacitance threshold value among the capacitance values in each time period, the clothing processing device is controlled to perform a shaking operation on the clothing to be processed.
[0045] In a possible implementation manner, the control module is further used to:
[0046] The remaining time of the dehydration program is obtained, and the clothes processing device is controlled to continue dehydrating the clothes to be processed according to the remaining time.
[0047] In a third aspect, the present application further provides a clothing processing device, comprising: at least one processor, a memory and a capacitive sensor, wherein:
[0048] The memory is used to store computer-executable instructions;
[0049] The capacitive sensor faces the outer barrel of the laundry processing device and is arranged at the overflow port of the casing;
[0050] The at least one processor is used to execute the computer-executable instructions stored in the memory, so that the at least one processor executes the barrel collision judgment method as described in any one of the first aspects.
[0051] In a fourth aspect, the present application provides a computer storage medium, wherein the computer storage medium stores computer execution instructions, and when the computer execution instructions are executed by a processor, they are used to implement the barrel collision judgment method as described in any one of the first aspects.
[0052] In a fifth aspect, the present application also provides a computer program product, including a computer program, which, when executed by a processor, can implement the steps of the barrel collision judgment method as described in any of the above items.
[0053] The present application provides a barrel collision judgment method, device, equipment and storage medium, which judges whether the clothing processing device has a barrel collision according to the relationship between the capacitance value obtained by the capacitance sensor of the clothing processing device during the dehydration process and the capacitance threshold when the barrel collision just occurs. Through the above method, the barrel collision judgment is more accurate, the barrel collision processing can be carried out in time, and the user experience is improved at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0055] Figure 1 A flowchart of a barrel collision judgment method provided in an embodiment of the present application Figure 1 ;
[0056] Figure 2 A flowchart of a barrel collision judgment method provided in an embodiment of the present application Figure 2 ;
[0057] Figure 3 A flowchart of a barrel collision judgment method provided in an embodiment of the present application Figure 3 ;
[0058] Figure 4 A schematic diagram of the structure of a control device for barrel collision judgment provided in an embodiment of the present application;
[0059] Figure 5 A schematic structural diagram of a clothing processing device provided in an embodiment of the present application.
[0060] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0062] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein, for example.
[0063] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0064] Currently, there are few methods for sensing the eccentricity of a pulsator washing machine. When the pulsator washing machine is dehydrating at high speed, if there is no eccentricity, the outer drum of the pulsator washing machine will not shake obviously during the dehydration process; if there is eccentricity, the outer drum of the pulsator washing machine will make irregular elliptical motions during the dehydration process, and may even cause a collision with the drum.
[0065] The prior art uses a mechanical barrel bump switch to prevent a pulsator washing machine from barrel bumping during high-speed dehydration. When the inner barrel rotates and causes the outer barrel to move, it will touch the barrel bump switch. After being acted upon by an external force, the barrel bump switch will connect the circuit, thereby determining that a barrel bump has occurred. However, if the outer barrel does not touch the barrel bump switch during the barrel bump process, the above method will result in inaccurate judgment, and the pulsator washing machine will not be able to be controlled to perform a barrel bump in time, affecting the user experience.
[0066] The present application provides a barrel collision judgment method, which judges whether a barrel collision occurs in a clothing processing device according to the relationship between the capacitance value obtained by the capacitance sensor of the clothing processing device during the dehydration process and the capacitance threshold value when the barrel collision just occurs. Through the above method, the barrel collision judgment is more accurate, the barrel collision processing can be carried out in time, and the user experience is improved at the same time.
[0067] Next, the technical solution shown in the present application is described in detail through specific embodiments. It should be noted that the following embodiments can exist independently or in combination with each other, and the same or similar contents will not be described repeatedly in different embodiments.
[0068] Figure 1 A flowchart of a barrel collision judgment method provided in an embodiment of the present application Figure 1 .like Figure 1 As shown, the method includes:
[0069] S101. When the clothes processing device enters a dehydration program, a plurality of capacitance values in each time period are obtained according to a preset time interval.
[0070] In this step, the preset time interval is determined according to the different dehydration stages in the dehydration program. The rotation speed of the clothing processing device is different in different dehydration stages. The later the dehydration stage is, the higher the rotation speed is, and the more likely the barrel collision phenomenon will occur. Therefore, the later the dehydration stage is, the shorter the corresponding preset time interval is. The capacitance value is determined by the distance from the outer barrel of the clothing processing device to the housing.
[0071] The capacitance value is determined by the distance between the outer tub of the laundry processing device and the housing. The capacitance value is inversely proportional to the distance between the outer tub of the laundry processing device and the housing, that is, the closer the distance between the outer tub of the laundry processing device and the housing is, the greater the capacitance value is.
[0072] Specifically, in the high-speed dehydration stage of the clothes processing device, in order to avoid the outer barrel not contacting the barrel bumping switch during the barrel bumping process, so that the clothes processing device can not timely identify the clothes processing device barrel bumping, this embodiment uses the capacitance value to obtain the distance between the outer barrel of the clothes processing device and the housing, and judges whether the clothes processing device barrel bumps based on this.
[0073] Specifically, when it is detected that the clothes treating device enters the dehydration program, a plurality of continuous capacitance values detected by the capacitance sensor in each time period are acquired at preset time intervals.
[0074] Furthermore, in order to increase the accuracy of obtaining the capacitance value, multiple capacitance sensors may be used to obtain average capacitance values, and then whether a barrel collision occurs may be determined based on the average capacitance value.
[0075] S102: Determine whether the laundry processing device hits a tub based on the relationship between the capacitance value and the capacitance threshold.
[0076] In this step, the capacitance threshold is a pre-acquired capacitance value when the outer tub of the laundry processing device collides with the housing.
[0077] Furthermore, when the obtained capacitance value is greater than or equal to the capacitance threshold, it means that the outer barrel and the casing of the clothing processing device collide at this time, and further corresponding processing needs to be performed on the collision barrel.
[0078] Exemplarily, the capacitance value detected by the capacitance sensor is 30, the capacitance threshold is 28, and the capacitance value 30 is greater than the capacitance threshold 28, and it is determined that the outer barrel and the casing of the laundry processing device collide.
[0079] It should be noted that the capacitance value is not only affected by the distance between the outer barrel and the casing of the clothing processing device, but also by factors such as the medium and area between the outer barrel and the casing. During the dehydration process, the water thrown out of the clothes will be discharged through the overflow port of the casing, so the thrown out water also affects the capacitance value detected by the capacitance sensor. Therefore, in order to make the clothing processing device more accurate in judging whether the clothing processing device has hit the barrel based on the capacitance value, a comprehensive judgment is made on whether the clothing processing device has hit the barrel based on the acquisition of multiple capacitance values in each time period and the capacitance values corresponding to the multiple time periods. The specific operation process of how to comprehensively judge whether the clothing processing device has hit the barrel based on the multiple capacitance values in each time period and the capacitance values corresponding to the multiple time periods will be described in the subsequent embodiments, and will not be described in detail here.
[0080] S103: If yes, control the clothes processing equipment to perform a barrel collision processing operation.
[0081] In this step, when it is determined that the capacitance value is greater than the capacitance threshold, it means that the clothing processing device sends a barrel collision signal, and then controls the clothing processing device to perform a barrel collision processing operation.
[0082] In a possible implementation, when it is determined based on the capacitance value that the clothing processing device has collided with the barrel, the clothing processing device is controlled to pause the dehydration program, and the clothing processing device is shaken to evenly distribute the clothing in the barrel.
[0083] Optionally, after controlling the clothes processing device to pause the dehydration program, the clothes processing device can also be controlled to rotate at a lower speed to redistribute the clothes in the barrel.
[0084] The present application provides a barrel collision judgment method, which judges whether a barrel collision occurs in a clothing processing device according to the relationship between the capacitance value obtained by the capacitance sensor of the clothing processing device during the dehydration process and the capacitance threshold value when the barrel collision just occurs. Through the above method, the barrel collision judgment is more accurate, the barrel collision processing can be carried out in time, and the user experience is improved at the same time.
[0085] Figure 2 A flowchart of a barrel collision judgment method provided in an embodiment of the present application Figure 2 The embodiment of the present application provides a detailed description of the operation steps of how to determine whether a barrel collision occurs based on the magnitude relationship of the capacitance values. Figure 2 As shown, the method includes:
[0086] S201. Obtain a magnitude relationship between the multiple capacitance values and a capacitance threshold.
[0087] In this step, considering the effect of water thrown out of the clothes during the dehydration process on the capacitance detected by the capacitive sensor, this embodiment determines whether the clothing processing device hits the barrel based on multiple capacitance values in each of multiple time periods.
[0088] Specifically, the relationship between multiple capacitance values and capacitance thresholds in each of multiple time periods is obtained to determine whether the clothing processing device hits the barrel at the moment corresponding to the capacitance value, and then based on the number of times the barrel hits occur and whether the barrel hits are continuous, it is determined whether the barrel hit of the clothing processing device is affected by the thrown-out water, that is, whether to control the clothing processing device to perform the barrel hit process.
[0089] S202: If the capacitance values within a single time period are all greater than or equal to the capacitance threshold, it is determined that the laundry processing device has hit the barrel.
[0090] In this step, when the clothes in the barrel of the clothing processing device are greatly eccentric, causing the clothing processing device to hit the barrel, the outer barrel of the clothing processing device will be displaced greatly. If the outer barrel of the clothing processing device collides with the casing at this time, then in each dehydration stage, the speed of the clothing processing device continues to increase, the displacement of the outer barrel continues to increase, and the outer barrel continues to collide with the casing.
[0091] Specifically, when each capacitance value obtained by the capacitance sensor in a single time period is greater than or equal to the capacitance threshold, it is determined that the judgment result of the clothing processing device hitting the barrel at this time is not affected by the swung out water, that is, the clothing processing device hits the barrel at this time, and the clothing processing device needs to be controlled to perform the barrel collision processing.
[0092] S203: If the capacitance value in each time period is less than the capacitance threshold, it is determined that the clothing processing device does not collide with the barrel.
[0093] In this step, if you want to determine that the clothing processing device has not hit the barrel, you need to confirm that the clothing processing device has not hit the barrel in each time period, that is, judge that the clothing processing device has not hit the barrel based on multiple capacitance values in each time period in multiple time periods.
[0094] Specifically, when the capacitance value in each time period is less than the capacitance threshold, it means that during the dehydration process of the clothing processing device, the outer barrel of the clothing processing device and the casing have not collided, and the clothing processing device can continue to be controlled to perform the dehydration operation.
[0095] It should be noted that, although the capacitance value detected by the clothing treatment device at this time is affected by the water swung out of the clothing, causing the capacitance sensor to detect a larger capacitance value, all capacitance values at this time are smaller than the capacitance threshold, that is, excluding the influence of the water swung out of the clothing, the capacitance value should be smaller, that is, smaller than the capacitance threshold. It can be explained that, despite the influence of the water swung out of the clothing, as long as the capacitance value in each time period is smaller than the capacitance threshold, it can be determined that the clothing treatment device has not hit the barrel.
[0096] S204. If there is a capacitance value greater than the capacitance threshold among the capacitance values in each time period, obtain the interval time between two capacitance values that are continuously greater than or equal to the capacitance threshold from the capacitance values in each time period, and determine whether the clothing processing device has a barrel collision based on the interval time.
[0097] In this step, the interval time is used to determine whether the barrel bumps corresponding to two capacitance values that are continuously greater than or equal to the capacitance threshold are continuous. That is, if the interval time is less than the time threshold, it means that the barrel bumps corresponding to two capacitance values that are continuously greater than or equal to the capacitance threshold are continuous.
[0098] Furthermore, during the dehydration process, the water thrown out between the outer barrel and the housing also affects the capacitance value, that is, the capacitance value is too large. When the clothing processing device hits the barrel, the capacitance value will continue to be greater than the capacitance threshold, that is, there are multiple consecutive barrel hits; if affected by other factors, the interval between capacitance fluctuations is longer or the capacitance value that is continuously greater than the capacitance threshold will decrease and stabilize later.
[0099] Therefore, in order to more accurately determine whether the laundry processing device has hit the barrel, the number of consecutive barrel hits is recorded, and whether the laundry processing device has hit the barrel is determined based on the number of consecutive barrel hits. The specific operations are:
[0100] From the intervals, obtain a target interval that is less than a time threshold, obtain a target time period corresponding to the target interval, and obtain the number of target intervals in each target time period;
[0101] If the number is greater than or equal to the first number, it is determined that the clothes processing device has hit the barrel.
[0102] Furthermore, when the number is less than the first number, it means that the number of consecutive barrel collisions in each target time period is not large, that is, the capacitance value is likely to be affected by other factors, and the clothing processing device has not collided with the barrel. However, in order to further ensure and prevent missed judgments, if multiple time periods are judged to have continuous barrel collisions based on the capacitance value, it is also judged that the clothing processing device has collided with the barrel at this time. The specific process is:
[0103] If the number is less than the first number, the number of the target time periods is obtained, and if the number is greater than or equal to the second number, it is determined that the laundry processing device sends a barrel collision.
[0104] The present application provides a barrel collision judgment method, which judges whether the barrel collision corresponding to the two capacitance values is a continuous barrel collision according to the interval time between two capacitance values that are continuously greater than the capacitance threshold in a single time period, and judges whether the clothing processing device has a barrel collision according to the number of continuous barrel collisions in a single time period and the number of time periods in which continuous barrel collisions occur. Through the above method, the barrel collision judgment is more prepared, avoiding the extension of the dehydration program or the harm of barrel collision due to misjudgment.
[0105] Figure 3 A flowchart of a barrel collision judgment method provided in an embodiment of the present application Figure 3 The embodiment of the present application provides a detailed description of how to select the corresponding barrel collision processing operation steps according to the capacitance value. Figure 3 As shown, the method includes:
[0106] S301. If the capacitance values within a single time period are all greater than or equal to the capacitance threshold, control the clothing processing device to send a prompt message.
[0107] In this step, the frequency of multiple capacitance values in each of multiple time periods being greater than the capacitance threshold can be used to indicate the magnitude of the clothing eccentricity value, that is, it can reflect the degree of entanglement of the clothing in the barrel.
[0108] Furthermore, if the clothes are slightly entangled, the clothes treatment device can make the clothes in the barrel evenly distributed by a simple barrel bumping operation; if the clothes are significantly entangled, the clothes treatment device cannot ensure that the clothes in the barrel are evenly distributed by a simple barrel bumping operation. Therefore, other processing operations are required.
[0109] Specifically, when it is determined that the clothing processing device hits the barrel, and the capacitance values in a single time period are all greater than or equal to the capacitance threshold, the clothing processing device is controlled to send a prompt message to the user terminal, wherein the prompt message is used to prompt the user to adjust the position of the clothing to be processed in the barrel.
[0110] Furthermore, the prompt message may be a voice message or a text message, and until feedback from the user is received, the clothing processing device is controlled to stop sending the prompt message.
[0111] S302: If there is a capacitance value greater than the capacitance threshold value among the capacitance values in each time period, control the clothing processing device to perform a shaking operation on the clothing to be processed.
[0112] In this step, when it is determined that the clothing processing device has hit the barrel, and there is a capacitance value greater than the capacitance threshold in the capacitance values in each time period, it is determined that the degree of entanglement of the clothes in the barrel of the clothing processing device is small, and the clothing processing device can be directly controlled to shake out the clothes to be processed.
[0113] In a possible implementation, after the shaking operation of the clothing processing devices is completed, the clothing processing devices may be controlled to run at a lower speed for a period of time, thereby further redistributing the clothing processing devices, thereby making the distribution of the clothing processing devices more even.
[0114] Furthermore, too long a dehydration time will affect the moisture content of the clothes to be processed, thereby affecting the wearing experience of the user. Therefore, when it is determined that the clothes to be processed need to be dehydrated and re-dehydrated, the remaining time of the dehydration program is obtained, and the clothes processing device is controlled to continue dehydrating the clothes to be processed according to the remaining time.
[0115] For example, the total duration of the dehydration program is 50 minutes. After 30 minutes of operation, it is determined that a barrel collision occurs, and the capacitance value in each time period is greater than the capacitance threshold, then the clothing treatment device is controlled to perform a shaking operation on the clothes to be processed. After the shaking operation is completed, the remaining time is obtained as 50-30=20 minutes, and the clothing treatment device is controlled to continue dehydrating for 20 minutes.
[0116] The present application provides a barrel collision judgment method, which selects the corresponding barrel collision processing method according to the size of the capacitance value, and continues dehydration according to the remaining dehydration time after the barrel collision processing. Through the above method, the barrel collision is processed in a timely manner, and the excessive dehydration is avoided to affect the user's wearing experience.
[0117] Figure 4 This is a schematic diagram of the structure of a control device for barrel collision judgment provided in an embodiment of the present application. Figure 4 As shown, the device includes: an acquisition module 401, a judgment module 402 and a control module 403, wherein:
[0118] The acquisition module 401 is used to acquire a plurality of capacitance values in each time period according to a preset time interval when the clothes processing device enters a dehydration program, wherein the preset time interval is determined according to different dehydration stages in the dehydration program, and the capacitance value is determined by the distance between the outer barrel and the housing of the clothes processing device;
[0119] The judgment module 402 is used to determine whether the laundry processing device collides with the drum according to the relationship between the capacitance value and the capacitance threshold, wherein the capacitance threshold is a capacitance value obtained in advance when the outer drum of the laundry processing device collides with the housing;
[0120] The control module 403 is used to control the clothing processing device to perform a barrel collision processing operation if yes.
[0121] In a possible implementation manner, the determining module 402 is further configured to:
[0122] If the capacitance values in a single time period are all greater than or equal to the capacitance threshold, it is determined that the clothing processing device has collided with the barrel;
[0123] If the capacitance value in each time period is less than the capacitance threshold, it is determined that the clothing processing device does not collide with the barrel;
[0124] If there is a capacitance value greater than the capacitance threshold among the capacitance values in each time period, the interval time between two consecutive capacitance values greater than or equal to the capacitance threshold is obtained from the capacitance values in each time period, and it is determined whether the clothing processing device has a barrel collision based on the interval time.
[0125] In a possible implementation manner, the determining module 402 is further configured to:
[0126] From the interval times, obtaining a target interval time that is less than a time threshold;
[0127] Obtaining the target time period corresponding to the target time interval, and obtaining the number of target time intervals in each of the target time periods;
[0128] If the number is greater than or equal to the first number, it is determined that the clothes processing device has hit the barrel.
[0129] In a possible implementation manner, the determining module 402 is further configured to:
[0130] If the number is less than the first number, the number of the target time periods is obtained, and it is determined whether the laundry processing device hits the barrel according to the number.
[0131] In a possible implementation manner, the determining module 402 is further configured to:
[0132] If the number is greater than or equal to the second number, it is determined that the clothes processing device sends a barrel collision.
[0133] In a possible implementation manner, the control module 403 is further configured to:
[0134] If the capacitance values in a single time period are all greater than or equal to the capacitance threshold, controlling the clothing processing device to send a prompt message, wherein the prompt message is used to prompt the user to adjust the position of the clothing to be processed in the barrel;
[0135] If there is a capacitance value greater than the capacitance threshold value among the capacitance values in each time period, the clothing processing device is controlled to perform a shaking operation on the clothing to be processed.
[0136] In a possible implementation manner, the control module 403 is further configured to:
[0137] The remaining time of the dehydration program is obtained, and the clothes processing device is controlled to continue dehydrating the clothes to be processed according to the remaining time.
[0138] Figure 5 This is a schematic diagram of the structure of a clothing processing device provided in an embodiment of the present application. Figure 5 As shown, the laundry processing device 50 includes: at least one processor 501, a memory 502 and a capacitive sensor 503, wherein:
[0139] The memory 502 is used to store computer-executable instructions;
[0140] The capacitive sensor 503 faces the outer tub of the laundry processing device and is arranged at the overflow port of the housing;
[0141] The at least one processor 501 is used to execute the computer-executable instructions stored in the memory 502, so that the at least one processor 501 executes the barrel collision judgment method as described in any one of the above items.
[0142] Among them, at least one processor 501 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0143] Optionally, in a specific implementation, the processor 501 and the memory 502 are implemented independently, and the processor 501 and the memory 502 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.
[0144] Optionally, in a specific implementation, if the processor 501 and the memory 502 are integrated on a chip, the processor 501 and the memory 502 can communicate through an internal interface.
[0145] The present application also provides a computer storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the technical solution of the barrel collision judgment method described in any of the above items is implemented.
[0146] The computer-readable storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The computer-readable storage medium may be any available medium that can be accessed by a general or special purpose computer.
[0147] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in the control device of the clothing processing device.
[0148] The division of the units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.
[0149] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0150] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0151] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0152] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0153] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments, and the above embodiments are only used to illustrate the technical solution of the present application rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A barrel collision judgment method, characterized in that: The method comprises: When the clothes processing device enters a dehydration program, a plurality of capacitance values in each time period are obtained according to a preset time interval, wherein the preset time interval is determined according to different dehydration stages in the dehydration program, and the capacitance value is determined by the distance between the outer tub and the housing of the clothes processing device; Determining whether the laundry processing device collides with a barrel according to the magnitude relationship between the capacitance value and the capacitance threshold, wherein the capacitance threshold is a capacitance value obtained in advance when the outer barrel of the laundry processing device collides with the housing; If yes, the clothes processing equipment is controlled to perform a barrel collision processing operation.
2. The method according to claim 1, characterized in that The determining, based on the magnitude relationship between the capacitance value and the capacitance threshold, whether the laundry processing device hits the tub comprises: If the capacitance values in a single time period are all greater than or equal to the capacitance threshold, it is determined that the clothing processing device has collided with the barrel; If the capacitance value in each time period is less than the capacitance threshold, it is determined that the clothing processing device does not collide with the barrel; If there is a capacitance value greater than the capacitance threshold among the capacitance values in each time period, the interval time between two consecutive capacitance values greater than or equal to the capacitance threshold is obtained from the capacitance values in each time period, and it is determined whether the clothing processing device has a barrel collision based on the interval time.
3. The method according to claim 2, characterized in that The determining, according to the interval time, whether the laundry processing device hits the tub comprises: From the interval times, obtaining a target interval time that is less than a time threshold; Obtaining the target time period corresponding to the target time interval, and obtaining the number of target time intervals in each of the target time periods; If the number is greater than or equal to the first number, it is determined that the clothes processing device has hit the barrel.
4. The method according to claim 3, characterized in that The method further comprises: If the number is less than the first number, the number of the target time periods is obtained, and it is determined whether the laundry processing device hits the barrel according to the number.
5. The method according to claim 4, characterized in that The determining, according to the quantity, whether the clothing processing device has collided with a barrel comprises: If the number is greater than or equal to the second number, it is determined that the clothes processing device sends a barrel collision.
6. The method according to claim 5, characterized in that The controlling the clothes processing device to perform a barrel collision processing operation includes: If the capacitance values in a single time period are all greater than or equal to the capacitance threshold, controlling the clothing processing device to send a prompt message, wherein the prompt message is used to prompt the user to adjust the position of the clothing to be processed in the barrel; If there is a capacitance value greater than the capacitance threshold value among the capacitance values in each time period, the clothing processing device is controlled to perform a shaking operation on the clothing to be processed.
7. The method according to any one of claims 1 to 6, characterized in that: After controlling the laundry processing device to perform a barrel collision processing operation, the method further includes: The remaining time of the dehydration program is obtained, and the clothes processing device is controlled to continue dehydrating the clothes to be processed according to the remaining time.
8. A control device for judging a barrel collision, characterized in that: include: Acquisition module, judgment module and control module, where: The acquisition module is used to acquire a plurality of capacitance values in each time period according to a preset time interval when the clothes processing device enters a dehydration program, wherein the preset time interval is determined according to different dehydration stages in the dehydration program, and the capacitance value is determined by the distance between the outer barrel and the housing of the clothes processing device; The judgment module is used to determine whether the laundry processing device collides with the drum according to the magnitude relationship between the capacitance value and the capacitance threshold, wherein the capacitance threshold is a capacitance value obtained in advance when the outer drum of the laundry processing device collides with the housing; The control module is used to control the clothing processing equipment to perform a barrel collision processing operation if so.
9. A clothes processing device, characterized in that: include: at least one processor, memory, and capacitive sensor, wherein: The memory is used to store computer-executable instructions; The capacitive sensor faces the outer barrel of the laundry processing device and is arranged at the overflow port of the casing; The at least one processor is configured to execute the computer-executable instructions stored in the memory, so that the at least one processor performs the method according to any one of claims 1 to 7.
10. A computer storage medium, characterized in that: The computer storage medium stores computer executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.