Washing machine imbalance detection method and device, electronic equipment and computer readable storage medium

By generating and analyzing the speed waveform diagram of the inner barrel of the washing machine, determining the imbalance value of the washing machine, the problem of inaccurate imbalance measurement in the prior art is solved, and higher accuracy and stability are achieved.

CN119287624APending Publication Date: 2025-01-10TCL HOME APPLIANCES (HEFEI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411651006.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-18
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The prior art cannot accurately measure the imbalance value of the washing machine, resulting in the problem of unstable operation of the washing machine or even bumping into the bucket.

Method used

By obtaining the speed data sequence of the barrel in the washing machine, a waveform diagram is generated, and the target area is determined based on the upper envelope and lower envelope lines of the waveform diagram, and the area of ​​the target area is calculated to determine the imbalance value of the washing machine.

Benefits of technology

It improves the accuracy of the imbalance value of the washing machine, ensures the smooth operation of the washing machine, and avoids the phenomenon of bumping into the bucket.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119287624A_ABST
    Figure CN119287624A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a washing machine unbalance detection method and device, electronic equipment and a computer readable storage medium. The method comprises the steps that a rotating speed data sequence of an inner barrel of a washing machine is obtained; generating an oscillogram according to the rotating speed data sequence; and analyzing the oscillogram to obtain an unbalance value of the washing machine. According to the scheme, the unbalance value of the washing machine can be accurately determined.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of washing machines, and specifically to a method, device, electronic device and computer-readable storage medium for detecting imbalance in a washing machine. Background Art

[0002] An unbalanced washing machine may cause the washing machine to run unsteadily or even crash into the drum. In order to ensure the smooth operation of the washing machine, it is necessary to perform an imbalance detection on the washing machine to obtain the out of balance (OOB) value of the washing machine. The related technology mainly measures the imbalance value of the washing machine based on the degree of motor speed fluctuation. However, the motor speed fluctuation degree cannot capture the details of the speed fluctuation, so the accuracy of the determined washing machine imbalance value is low. Summary of the invention

[0003] The embodiments of the present application provide a method, device, electronic device and computer-readable storage medium for detecting imbalance of a washing machine, which can accurately determine the imbalance value of the washing machine.

[0004] In a first aspect, an embodiment of the present application provides a method for detecting imbalance of a washing machine, comprising:

[0005] Get the rotation speed data sequence of the drum in the washing machine;

[0006] generating a waveform diagram according to the rotation speed data sequence;

[0007] The waveform diagram is analyzed to obtain an unbalance value of the washing machine.

[0008] In one embodiment, analyzing the waveform diagram to obtain the imbalance value of the washing machine includes:

[0009] Determine an upper envelope of the waveform according to each positive peak value in the waveform;

[0010] Determine a lower envelope of the waveform according to each negative peak value in the waveform;

[0011] Determining a target area based on an upper envelope and a lower envelope of the waveform;

[0012] An unbalance value of the washing machine is determined according to the area of ​​the target area.

[0013] In one embodiment, there are multiple rotational speed data sequences, and the multiple rotational speed data sequences correspond to multiple given rotational speeds.

[0014] In one embodiment, the step of obtaining a rotation speed data sequence of a drum in a washing machine includes:

[0015] Acquire various rotation speeds of the inner drum of the washing machine when the washing machine operates in response to a first instruction to obtain a first rotation speed data sequence, wherein the first instruction is used to indicate that a given rotation speed of the inner drum of the washing machine is a first rotation speed;

[0016] Acquire various rotation speeds of the inner drum of the washing machine when the washing machine operates in response to a second instruction to obtain a second rotation speed data sequence, wherein the second instruction is used to instruct a given rotation speed of the inner drum of the washing machine to accelerate from the first rotation speed to a second rotation speed;

[0017] The various rotational speeds of the inner drum of the washing machine when the washing machine operates in response to a third instruction are obtained to obtain a third rotational speed data sequence, wherein the third instruction is used to instruct the given rotational speed of the inner drum of the washing machine to slow down from the second rotational speed to the first rotational speed.

[0018] In one embodiment, the waveform diagram includes a plurality of sub-waveform diagrams, each corresponding to a plurality of the rotation speed data sequences;

[0019] The analyzing the waveform diagram to obtain the unbalance value of the washing machine includes:

[0020] Analyze each of the sub-waveform diagrams to obtain a sub-imbalance value of the washing machine;

[0021] The unbalance value of the washing machine is determined according to each of the sub-unbalance values ​​of the washing machine.

[0022] In one embodiment, the step of obtaining a rotation speed data sequence of a drum in a washing machine includes:

[0023] Based on the inner drum speed detection module, obtaining each speed of the inner drum of the washing machine to obtain the speed data sequence; or

[0024] Acquire multiple motor speeds of the motor corresponding to the inner drum of the washing machine, and acquire the transmission ratio of the motor, obtain multiple speeds of the inner drum of the washing machine according to the multiple motor speeds and the transmission ratio, and generate the speed data sequence according to the multiple speeds.

[0025] In one embodiment, the step of obtaining a rotation speed data sequence of a drum in a washing machine includes:

[0026] Acquire multiple rotation speeds of the inner drum of the washing machine;

[0027] Cleaning data of multiple rotation speeds of the inner drum of the washing machine to obtain multiple rotation speeds after cleaning;

[0028] A rotation speed data sequence of the inner barrel of the washing machine is generated based on the plurality of rotation speeds after cleaning.

[0029] In a second aspect, an embodiment of the present application provides a washing machine imbalance detection device, comprising:

[0030] An acquisition module, used to acquire a rotation speed data sequence of the inner barrel of the washing machine;

[0031] A generating module, used for generating a waveform diagram according to the rotation speed data sequence;

[0032] The analysis module is used to analyze the waveform diagram to obtain the imbalance value of the washing machine.

[0033] In one embodiment, the analysis module includes:

[0034] A first determining unit, configured to determine an upper envelope of the waveform according to each positive peak value in the waveform;

[0035] A second determining unit, configured to determine a lower envelope of the waveform graph according to each negative peak value in the waveform graph;

[0036] A region determination unit, configured to determine a target region based on an upper envelope and a lower envelope of the waveform;

[0037] The unbalance value determining unit is used to determine the unbalance value of the washing machine according to the area of ​​the target area.

[0038] In one embodiment, there are multiple rotational speed data sequences, and the multiple rotational speed data sequences correspond to multiple given rotational speeds.

[0039] In one embodiment, the acquisition module includes:

[0040] A first acquisition unit is used to acquire various rotation speeds of the inner drum of the washing machine when the washing machine operates in response to a first instruction, and obtain a first rotation speed data sequence, wherein the first instruction is used to indicate that a given rotation speed of the inner drum of the washing machine is a first rotation speed;

[0041] A second acquisition unit is used to acquire various rotation speeds of the inner drum of the washing machine when the washing machine operates in response to a second instruction, and obtain a second rotation speed data sequence, wherein the second instruction is used to instruct a given rotation speed of the inner drum of the washing machine to accelerate from the first rotation speed to a second rotation speed;

[0042] A third acquisition unit is used to acquire various rotational speeds of the inner drum of the washing machine when the washing machine operates in response to a third instruction, and obtain a third rotational speed data sequence, wherein the third instruction is used to instruct the given rotational speed of the inner drum of the washing machine to slow down from the second rotational speed to the first rotational speed.

[0043] In one embodiment, the waveform diagram includes a plurality of sub-waveform diagrams, each corresponding to a plurality of speed data sequences; the analysis module includes:

[0044] An analyzing unit, configured to analyze each of the sub-waveform diagrams to obtain a sub-imbalance value of the washing machine;

[0045] A determination unit is used to determine the unbalance value of the washing machine according to each sub-unbalance value of the washing machine.

[0046] In one embodiment, the acquisition module includes:

[0047] A first speed acquisition unit, configured to acquire the speeds of the inner drum of the washing machine based on the inner drum speed detection module, and obtain the speed data sequence; or

[0048] The second speed acquisition unit is used to acquire multiple motor speeds of the motor corresponding to the inner drum of the washing machine, and to acquire the transmission ratio of the motor, to obtain multiple speeds of the inner drum of the washing machine according to the multiple motor speeds and the transmission ratio, and to generate the speed data sequence according to the multiple speeds.

[0049] In one embodiment, the acquisition module includes:

[0050] A rotation speed acquisition unit, used to acquire multiple rotation speeds of the inner drum of the washing machine;

[0051] A cleaning unit, used for cleaning data of multiple rotation speeds of the inner drum of the washing machine to obtain multiple rotation speeds after cleaning;

[0052] A generating unit is used to generate a rotation speed data sequence of the inner barrel of the washing machine according to the plurality of rotation speeds after cleaning.

[0053] In a third aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps in the above-mentioned washing machine imbalance detection method when executed by the processor.

[0054] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned washing machine imbalance detection method are implemented.

[0055] In a fifth aspect, the embodiments of the present application further provide a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in various optional implementations described in the embodiments of the present application.

[0056] In summary, in the embodiment of the present application, the speed data sequence of the inner drum of the washing machine includes multiple speeds of the inner drum of the washing machine; the waveform generated according to the speed data sequence can reflect the changes and fluctuations between the multiple speeds of the inner drum of the washing machine. Therefore, the imbalance value of the washing machine obtained by analyzing the waveform takes into account the changes and fluctuations between the multiple speeds of the inner drum of the washing machine, and has a high accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the technical solutions in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0058] Figure 1 It is a schematic diagram of the steps of a washing machine imbalance detection method provided by an embodiment of the present application;

[0059] Figure 2 is a schematic diagram of determining an unbalance value of a washing machine provided by an embodiment of the present application;

[0060] Figure 3 is a flow chart of a washing machine imbalance detection method provided by an embodiment of the present application;

[0061] Figure 4 1 is a schematic diagram of the principle of a washing machine imbalance detection method provided by an embodiment of the present application;

[0062] Figure 5 This is a schematic diagram of the structure of a washing machine imbalance detection device provided in an embodiment of the present application.

[0063] Figure 6 It is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0064] The following will be combined with the drawings in this application to clearly and completely describe the technical solutions in this application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments in the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0065] In one embodiment, Figure 1As shown, a method for detecting imbalance of a washing machine is provided. Although a logical order is shown in the step schematic diagram, in some cases, the steps shown or described may be performed in an order different from that shown in the figure. Specifically, the method for detecting imbalance of a washing machine may be applied to a microcontroller unit (MCU) in a washing machine. After acquiring corresponding data, each sensor in the washing machine transmits the data to the MCU, which analyzes and processes the data to obtain an imbalance value of the washing machine.

[0066] It should be noted that the order of description of the following embodiments is not intended to limit the priority order of the embodiments.

[0067] according to Figure 1 The washing machine imbalance detection method shown in the figure includes at least steps S110 to S130, which are described in detail as follows:

[0068] In step S110, a rotation speed data sequence of the inner drum of the washing machine is obtained.

[0069] The inner drum of a washing machine is the core component of the washing machine's washing part. It is the part inside the washing machine that holds clothes and is used to wash, rinse and dehydrate clothes.

[0070] A speed data sequence of a washing machine drum is a sequence of multiple speeds of the washing machine drum under a given speed instruction. The speed data sequence of the washing machine drum includes multiple speeds of the washing machine drum collected according to a preset speed sampling frequency.

[0071] For example, given a speed instruction for a washing machine, the speed of the washing machine drum reaches 1000 rpm. Three seconds after the washing machine drum receives the speed instruction, multiple speeds of the washing machine drum are collected, and the speed data sequence collected for the washing machine drum is (1039, 1027, 983, 1012, 935...).

[0072] The reason why the speed of the washing machine drum is collected only after a fixed time has passed since the washing machine drum receives the speed command is to avoid collecting a speed that differs greatly from the given speed during the acceleration / deceleration process of the washing machine drum.

[0073] In another embodiment, after the washing machine inner drum receives the speed instruction to operate, the speed of the washing machine inner drum is directly collected, and then the speed that differs greatly from the given speed during the acceleration / deceleration process of the washing machine inner drum is removed through data cleaning.

[0074] In one embodiment, in order to ensure that a sufficient number of washing machine rotation speeds are collected so that there is sufficient data for subsequent analysis to obtain an accurate imbalance value, the corresponding sampling duration t>2 / rotation speed sampling frequency in each rotation speed data sequence may be determined.

[0075] There is usually a difference between the speed included in the collected speed data sequence of the washing machine drum and the given speed, which is caused by reasons such as imbalance of the washing machine drum, motor limitation or transmission system loss.

[0076] In step S120, a waveform diagram is generated according to the rotation speed data sequence.

[0077] The speeds in the speed data sequence are sorted according to the order of acquisition time. In one embodiment, a coordinate system is established with time as the horizontal axis and speed as the vertical axis, and each speed in the speed data sequence is plotted on the coordinate axis, and each speed is moved averaged or exponentially smoothed to generate a waveform.

[0078] In another embodiment, a tool such as MATLAB (a mathematical software) or SciPy (a mathematical function library) can be used to directly generate a waveform graph based on the rotation speed data sequence.

[0079] In step S130, the waveform diagram is analyzed to obtain an unbalance value of the washing machine.

[0080] The waveform diagram can reflect the fluctuation degree of the rotation speed. Therefore, by analyzing and processing the waveform diagram, the imbalance value of the washing machine can be obtained.

[0081] By adopting the technical solution of the embodiment of the present application, the speed data sequence of the inner drum of the washing machine includes multiple speeds of the inner drum of the washing machine; the waveform generated according to the speed data sequence can reflect the changes and fluctuations between the multiple speeds of the inner drum of the washing machine. Therefore, the unbalance value of the washing machine obtained by analyzing the waveform takes into account the changes and fluctuations between the multiple speeds of the inner drum of the washing machine, and has a high accuracy.

[0082] Based on the above technical solution, as an embodiment, step S110 may include: based on the inner drum speed detection module, obtaining each speed of the inner drum of the washing machine to obtain the speed data sequence; or, obtaining multiple motor speeds of the motor corresponding to the inner drum of the washing machine, and obtaining the transmission ratio of the motor, obtaining multiple speeds of the inner drum of the washing machine according to the multiple motor speeds and the transmission ratio, and generating the speed data sequence according to the multiple speeds.

[0083] In one embodiment, the washing machine has a built-in inner barrel speed detection module, which can directly collect multiple speeds of the inner barrel of the washing machine and generate a speed data sequence according to the multiple speeds of the inner barrel of the washing machine.

[0084] The inner barrel speed detection module may be a speed sensor, and the speed sensor may be a Hall effect sensor or a photoelectric sensor, etc. The inner barrel speed detection module is connected to the micro control unit of the washing machine. After the inner barrel speed detection module collects the speed of the inner barrel of the washing machine, the speed of the inner barrel of the washing machine may be transmitted to the micro control unit of the washing machine.

[0085] In another embodiment, the rotation speed of the inner drum of the washing machine can be estimated by the motor speed of the motor corresponding to the inner drum of the washing machine. The motor corresponding to the inner drum of the washing machine is a motor that drives the inner drum of the washing machine to operate, and the motor is connected to the inner drum through a pulley or a gear set. The rotation speed of the inner drum of the washing machine is the product of the motor speed and the transmission ratio, wherein the transmission ratio is the ratio of the rotation speed of the inner drum of the washing machine to the motor speed, which is pre-configured and the transmission ratio can be directly obtained.

[0086] According to the transmission ratio and the multiple motor speeds of the motor, multiple speeds of the inner drum of the washing machine can be obtained, and then the speed data sequence of the inner drum of the washing machine can be obtained. Among them, the sampling time and sampling frequency of the multiple motor speeds are consistent with the sampling time and sampling frequency of the speed of the inner drum of the washing machine mentioned above.

[0087] By adopting the technical solution of the embodiment of the present application, when the washing machine has an inner barrel speed detection module, the speed of the inner barrel of the washing machine can be directly collected through the inner barrel speed detection module, and when the washing machine does not have an inner barrel speed detection module, the speed of the inner barrel of the washing machine can be obtained through the motor speed. In this way, a variety of collection methods for obtaining the speed of the inner barrel of the washing machine are provided, which can meet different needs and have high flexibility.

[0088] Based on the above technical solution, as an embodiment, step S110 may include: obtaining multiple rotational speeds of the inner barrel of the washing machine; performing data cleaning on the multiple rotational speeds of the inner barrel of the washing machine to obtain multiple rotational speeds after cleaning; and generating a rotational speed data sequence of the inner barrel of the washing machine based on the multiple rotational speeds after cleaning.

[0089] After obtaining multiple rotation speeds of the drum in the washing machine, data cleaning can be performed on the multiple rotation speeds. Data cleaning can include removing multiple rotation speeds that were collected earlier, because the multiple rotation speeds that were collected earlier may be in the acceleration / deceleration process and have not yet reached the given rotation speed. Data cleaning can also include: removing outliers, smoothing, and / or filling missing values.

[0090] A rotation speed data sequence of the inner barrel of the washing machine is generated according to the multiple rotation speeds after washing.

[0091] By adopting the technical solution of the embodiment of the present application, the speed data is cleaned, and the micro control unit generates a speed data sequence according to the cleaned speed, which can ensure the safety of the micro control unit and the smoothness of the data.

[0092] Based on the above technical solution, as an embodiment, step S130 may include: determining the upper envelope of the waveform graph according to each positive peak in the waveform graph; determining the lower envelope of the waveform graph according to each negative peak in the waveform graph; determining the target area based on the upper envelope and lower envelope of the waveform graph; determining the imbalance value of the washing machine according to the area of ​​the target area.

[0093] Figure 2 FIG. 1 is a schematic diagram of determining the imbalance value of a washing machine provided by an embodiment of the present application. Figure 2 As shown, by connecting each positive peak in the waveform in sequence, the upper envelope of the waveform can be obtained; by connecting each negative peak in the waveform in sequence, the lower envelope of the waveform can be obtained. By connecting the two ends of the upper envelope and the lower envelope of the waveform, the target area can be obtained. The area of ​​the target area is calculated and determined as the unbalance value of the washing machine.

[0094] By adopting the technical solution of the embodiment of the present application, the target area is determined by the waveform diagram, and the area of ​​the target area can reflect the degree of fluctuation of the rotation speed. The greater the degree of fluctuation, the larger the area of ​​the target area. Therefore, the imbalance value of the washing machine is determined according to the area of ​​the target area, and the obtained imbalance value is relatively accurate.

[0095] In another embodiment, the areas of multiple regions enclosed by the waveform graph and the abscissa axis may be obtained, and the unbalance value of the washing machine may be determined according to the sum of the areas of the multiple regions.

[0096] Based on the above technical solution, as an embodiment, there are multiple rotational speed data sequences, and the multiple rotational speed data sequences correspond to multiple given rotational speeds.

[0097] In order to obtain more accurate results, multiple speed data sequences can be generated based on the multiple speeds of the washing machine drum at different given speeds. Multiple instructions are sent to the washing machine, each instruction corresponds to a given speed of the washing machine drum, and the speed of the washing machine drum when responding to each instruction is collected.

[0098] In this way, the unbalanced state of the washing machine at a certain rotation speed is avoided, and the difference between the unbalanced state of the washing machine and the actual unbalanced state of the washing machine is avoided, so as to obtain a more accurate result.

[0099] In one embodiment, obtaining the rotation speed data sequence of the inner drum of the washing machine may include:

[0100] Acquire various rotation speeds of the inner drum of the washing machine when the washing machine operates in response to a first instruction to obtain a first rotation speed data sequence, wherein the first instruction is used to indicate that a given rotation speed of the inner drum of the washing machine is a first rotation speed;

[0101] Acquire various rotation speeds of the inner drum of the washing machine when the washing machine operates in response to a second instruction to obtain a second rotation speed data sequence, wherein the second instruction is used to instruct a given rotation speed of the inner drum of the washing machine to accelerate from the first rotation speed to a second rotation speed;

[0102] The various rotational speeds of the inner drum of the washing machine when the washing machine operates in response to a third instruction are obtained to obtain a third rotational speed data sequence, wherein the third instruction is used to instruct the given rotational speed of the inner drum of the washing machine to slow down from the second rotational speed to the first rotational speed.

[0103] A first instruction is sent to the inner barrel of the washing machine. The given speed corresponding to the first instruction is the first speed. The first instruction is used to instruct the speed of the inner barrel of the washing machine to reach the first speed and maintain the sampling time. When the inner barrel of the washing machine runs according to the first instruction and reaches the speed target, multiple speeds of the inner barrel of the washing machine are obtained, and a first speed data sequence is generated according to the multiple speeds. The absolute value of the difference between the speed target and the given speed does not exceed a preset range.

[0104] The given speed corresponding to the first instruction is the first speed, but the actual speed of the washing machine drum when responding to the first instruction may not be the first speed due to reasons such as imbalance of the washing machine drum, motor limitation or transmission system loss. Therefore, as long as the washing machine drum runs according to the first instruction to reach the speed target, multiple speeds of the washing machine drum can be collected.

[0105] It is also possible to regard that the rotation speed of the washing machine drum reaches a given rotation speed after the washing machine drum runs for a fixed time in response to the first instruction. At this time, multiple rotation speeds of the washing machine drum are collected and a rotation speed data sequence is generated based on the multiple rotation speeds.

[0106] A second instruction is sent to the inner drum of the washing machine, the given speed corresponding to the second instruction is the second speed, and the second instruction is used to instruct the speed of the inner drum of the washing machine to accelerate from the first speed to the second speed and maintain the sampling time. When the inner drum of the washing machine runs according to the second instruction and reaches the speed target, multiple speeds of the inner drum of the washing machine are collected, and a second speed data sequence is generated according to the multiple speeds.

[0107] A third instruction is sent to the inner barrel of the washing machine, the given speed corresponding to the third instruction is the first speed, and the third instruction is used to instruct the speed of the inner barrel of the washing machine to decelerate from the second speed to the first speed and maintain the sampling time. When the inner barrel of the washing machine runs according to the third instruction and reaches the speed target, multiple speeds of the inner barrel of the washing machine are collected, and a third speed data sequence is generated according to the multiple speeds.

[0108] A fourth instruction may also be sent to the inner barrel of the washing machine, the given speed corresponding to the fourth instruction being the second speed, and the second instruction being used to instruct the speed of the inner barrel of the washing machine to accelerate from the first speed to the second speed and maintain the sampling duration. When the inner barrel of the washing machine runs according to the fourth instruction and reaches the speed target, multiple speeds of the inner barrel of the washing machine are collected, and a fourth speed data sequence is generated based on the multiple speeds.

[0109] In this way, the speed data sequences corresponding to the first speed and the second speed are cross-collected, and the multiple speed data sequences obtained include speed data sequences after acceleration and deceleration processes. The imbalance value of the washing machine is determined based on the multiple speed data sequences, and the acceleration and deceleration scenarios of the drum in the washing machine are taken into consideration. The obtained imbalance value of the washing machine is more accurate.

[0110] In addition, a comparative analysis can be performed based on the first speed data sequence and the third speed data sequence with the same given speed, as well as a comparative analysis can be performed based on the second speed data sequence and the fourth speed data sequence with the same given speed, to determine the speed change of the washing machine at different stages, thereby obtaining a more accurate imbalance value.

[0111] In one embodiment, the multiple given speeds corresponding to the multiple speed data sequences may include a forward rotation speed and a reverse rotation speed, so as to determine the unbalance values ​​of the washing machine in the forward rotation scenario and the reverse rotation scenario respectively.

[0112] Based on the above technical solution, as an embodiment, the waveform diagram includes multiple sub-waveform diagrams, which respectively correspond to multiple speed data sequences; the analysis of the waveform diagram to obtain the imbalance value of the washing machine may include: analyzing each of the sub-waveform diagrams to obtain the sub-imbalance value of the washing machine; and determining the imbalance value of the washing machine according to each sub-imbalance value of the washing machine.

[0113] A sub-waveform is generated according to each speed data sequence. For each sub-waveform, the upper envelope of the sub-waveform is determined according to each positive peak value in the sub-waveform; the lower envelope of the sub-waveform is determined according to each negative peak value in the sub-waveform; the sub-target area is determined based on the upper envelope and the lower envelope of the sub-waveform; and the sub-unbalance value of the washing machine is determined according to the area of ​​the sub-target area.

[0114] Specifically, the method of analyzing each sub-waveform diagram to obtain the sub-imbalance value of the washing machine can refer to the method of analyzing each waveform diagram to obtain the unbalance value of the washing machine described above, which will not be repeated here.

[0115] The weighted sum of each sub-imbalance value of the washing machine is performed to obtain the imbalance value of the washing machine. The weight corresponding to each sub-imbalance value can be determined according to the sampling time length of the speed data sequence corresponding to the sub-imbalance value, and the weight is inversely proportional to the sampling time length.

[0116] In this way, because the multiple speed data sequences take into account the acceleration scenario and the deceleration scenario of the drum in the washing machine, the imbalance value of the washing machine determined based on the multiple sub-waveform graphs generated based on the multiple speed data sequences is more accurate.

[0117] In one embodiment, Figure 3 As shown, the number of unbalanced detections i can be set to 0 first, and the parameters of the washing machine can be initialized. A first instruction is issued to control the speed of the drum of the washing machine to reach a first speed n 1 , and maintain the sampling time t 1 , collect t 1 Multiple speeds within a certain time period, and obtain a first speed data sequence N 1 Then the second instruction is issued to control the speed of the washing machine barrel to accelerate to the second speed n 2 , and maintain the sampling time t 2 , collect t 2 Multiple speeds within the time length, obtain the second speed data sequence N 2 The third instruction is issued to control the speed of the drum of the washing machine to slow down to the first speed n. 1 , and maintain the sampling time t 1 , collect t 1 Multiple speeds within the time length, obtain the third speed data sequence N 3 The fourth instruction is issued to control the speed of the washing machine drum to accelerate to the second speed n 2 , and maintain the sampling time t 2 , collect t 2 Multiple speeds within the time length, obtain the fourth speed data sequence N 4 Among them, n 2 ≥n 1 >0,t 1 >2 / speed sampling frequency, t 2 >2 / speed sampling frequency. For the collected speed data sequence N 1 、N 2 、N 3 and N 4 Data cleaning is performed to ensure the safety of the chip and the smoothness of the data. Then the speed data sequence after data cleaning is plotted as a waveform to obtain P 1 , P 2 , P 3 and P 4 . 1 , P2 , P 3 and P 4 Analyze and get the imbalance value. When the imbalance value is normal, control the inner barrel speed back to the initial value and record the imbalance value, and the process ends. When the imbalance value is an abnormal value, the number of attempts is accumulated in a loop. If the number of attempts i is less than the maximum number of attempts i max , then return to the parameter initialization step to re-test the imbalance. If the number of attempts i is greater than or equal to the maximum number of attempts i max , an abnormal imbalance value measurement alarm is issued and the process terminates.

[0118] In one embodiment, Figure 4 As shown, detecting whether the speed of the drum in the washing machine reaches the target speed and collecting the speed of the drum in the washing machine can be realized by a sensor outside the microcontroller unit. The sensor transmits the collected speed data sequence to the microcontroller unit, which cleans the data and draws a waveform according to the cleaned data, then analyzes the waveform, and finally obtains the imbalance value of the washing machine.

[0119] In order to better implement the washing machine imbalance detection method of the present application, the present application also provides a washing machine imbalance detection device based on the above washing machine imbalance detection method. The meanings of the terms are the same as those in the above washing machine imbalance detection method, and the specific implementation details can refer to the description in the method embodiment.

[0120] See also Figure 5 , Figure 5 : is a structural schematic diagram of a washing machine imbalance detection device provided in an embodiment of the present application, the washing machine imbalance detection device comprising:

[0121] An acquisition module 501 is used to acquire a rotation speed data sequence of the inner drum of the washing machine;

[0122] A generating module 502, configured to generate a waveform diagram according to the rotation speed data sequence;

[0123] The analysis module 503 is used to analyze the waveform diagram to obtain the imbalance value of the washing machine.

[0124] In one embodiment, the analysis module 503 includes:

[0125] A first determining unit, configured to determine an upper envelope of the waveform according to each positive peak value in the waveform;

[0126] A second determining unit, configured to determine a lower envelope of the waveform graph according to each negative peak value in the waveform graph;

[0127] A region determination unit, configured to determine a target region based on an upper envelope and a lower envelope of the waveform;

[0128] The unbalance value determining unit is used to determine the unbalance value of the washing machine according to the area of ​​the target area.

[0129] In one embodiment, there are multiple rotational speed data sequences, and the multiple rotational speed data sequences correspond to multiple given rotational speeds.

[0130] In one embodiment, the acquisition module 501 includes:

[0131] A first acquisition unit is used to acquire various rotation speeds of the inner drum of the washing machine when the washing machine operates in response to a first instruction, and obtain a first rotation speed data sequence, wherein the first instruction is used to indicate that a given rotation speed of the inner drum of the washing machine is a first rotation speed;

[0132] A second acquisition unit is used to acquire various rotation speeds of the inner drum of the washing machine when the washing machine operates in response to a second instruction, and obtain a second rotation speed data sequence, wherein the second instruction is used to instruct a given rotation speed of the inner drum of the washing machine to accelerate from the first rotation speed to a second rotation speed;

[0133] A third acquisition unit is used to acquire various rotational speeds of the inner drum of the washing machine when the washing machine operates in response to a third instruction, and obtain a third rotational speed data sequence, wherein the third instruction is used to instruct the given rotational speed of the inner drum of the washing machine to slow down from the second rotational speed to the first rotational speed.

[0134] In one embodiment, the waveform diagram includes a plurality of sub-waveform diagrams, each corresponding to a plurality of speed data sequences; the analysis module 503 includes:

[0135] An analyzing unit, configured to analyze each of the sub-waveform diagrams to obtain a sub-imbalance value of the washing machine;

[0136] A determination unit is used to determine the unbalance value of the washing machine according to each sub-unbalance value of the washing machine.

[0137] In one embodiment, the acquisition module 501 includes:

[0138] A first speed acquisition unit, configured to acquire the speeds of the inner drum of the washing machine based on the inner drum speed detection module, and obtain the speed data sequence; or

[0139] The second speed acquisition unit is used to acquire multiple motor speeds of the motor corresponding to the inner drum of the washing machine, and to acquire the transmission ratio of the motor, to obtain multiple speeds of the inner drum of the washing machine according to the multiple motor speeds and the transmission ratio, and to generate the speed data sequence according to the multiple speeds.

[0140] In one embodiment, the acquisition module 501 includes:

[0141] A rotation speed acquisition unit, used to acquire multiple rotation speeds of the inner drum of the washing machine;

[0142] A cleaning unit, used for cleaning data of multiple rotation speeds of the inner drum of the washing machine to obtain multiple rotation speeds after cleaning;

[0143] A generating unit is used to generate a rotation speed data sequence of the inner barrel of the washing machine according to the plurality of rotation speeds after cleaning.

[0144] By adopting the technical solution of the embodiment of the present application, the speed data sequence of the inner drum of the washing machine includes multiple speeds of the inner drum of the washing machine; the waveform generated according to the speed data sequence can reflect the changes and fluctuations between the multiple speeds of the inner drum of the washing machine. Therefore, the unbalance value of the washing machine obtained by analyzing the waveform takes into account the changes and fluctuations between the multiple speeds of the inner drum of the washing machine, and has a high accuracy.

[0145] For the specific definition of the washing machine imbalance detection device, please refer to the definition of the washing machine imbalance detection method above, which will not be repeated here. Each module in the above-mentioned washing machine imbalance detection device can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0146] In addition, the present application also provides an electronic device, such as Figure 6 As shown, it shows a schematic diagram of the structure of the electronic device involved in this application, specifically:

[0147] The electronic device may include one or more processors 601 of processing cores and one or more computer-readable storage media memories 602 and other components. Those skilled in the art will appreciate that Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0148] The processor 601 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 602, and calling data stored in the memory 602, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 601.

[0149] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.

[0150] In one embodiment, the electronic device further includes a power supply 603 for supplying power to various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 603 can also include any components such as one or more DC or AC power supplies, recharging systems, power supply device debugging circuits, power converters or inverters, and power status indicators.

[0151] In one embodiment, the electronic device may further include an input unit 604, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0152] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 601 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 will run the application programs stored in the memory 602, thereby implementing the steps in any one of the washing machine imbalance detection methods provided in the embodiments of the present application.

[0153] Those skilled in the art will understand that Figure 6 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0154] In one embodiment, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the method described in any embodiment of the present application is implemented.

[0155] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method described in any embodiment of the present application is implemented.

[0156] In some embodiments, a computer program product is also proposed, including a computer program or instructions, which implement the method described in any embodiment of the present application when executed by a processor.

[0157] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0158] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0159] To this end, the present application provides a computer-readable storage medium on which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any washing machine imbalance detection method provided in the present application.

[0160] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0161] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0162] Since the instructions stored in the computer-readable storage medium can execute the steps in any washing machine imbalance detection method provided in the present application, the beneficial effects that can be achieved by any washing machine imbalance detection method provided in the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

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

[0164] The above is a detailed introduction to a washing machine imbalance detection method, device, electronic device and computer-readable storage medium provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for detecting imbalance of a washing machine, characterized in that: include: Get the rotation speed data sequence of the drum in the washing machine; generating a waveform diagram according to the rotation speed data sequence; The waveform diagram is analyzed to obtain an unbalance value of the washing machine.

2. The method according to claim 1, characterized in that The analyzing the waveform diagram to obtain the unbalance value of the washing machine includes: Determine an upper envelope of the waveform according to each positive peak value in the waveform; Determine a lower envelope of the waveform according to each negative peak value in the waveform; Determining a target area based on an upper envelope and a lower envelope of the waveform; An unbalance value of the washing machine is determined according to the area of ​​the target area.

3. The method according to claim 1, characterized in that There are multiple rotational speed data sequences, and the multiple rotational speed data sequences correspond to multiple given rotational speeds.

4. The method according to claim 3, characterized in that: The step of obtaining the rotation speed data sequence of the inner drum of the washing machine comprises: Acquire various rotation speeds of the inner drum of the washing machine when the washing machine operates in response to a first instruction to obtain a first rotation speed data sequence, wherein the first instruction is used to indicate that a given rotation speed of the inner drum of the washing machine is a first rotation speed; Acquire various rotation speeds of the inner drum of the washing machine when the washing machine operates in response to a second instruction to obtain a second rotation speed data sequence, wherein the second instruction is used to instruct a given rotation speed of the inner drum of the washing machine to accelerate from the first rotation speed to a second rotation speed; The various rotational speeds of the inner drum of the washing machine when the washing machine operates in response to a third instruction are obtained to obtain a third rotational speed data sequence, wherein the third instruction is used to instruct the given rotational speed of the inner drum of the washing machine to slow down from the second rotational speed to the first rotational speed.

5. The method according to claim 3, characterized in that: The waveform diagram includes a plurality of sub-waveform diagrams, each corresponding to a plurality of speed data sequences; The analyzing the waveform diagram to obtain the unbalance value of the washing machine includes: Analyze each of the sub-waveform diagrams to obtain a sub-imbalance value of the washing machine; The unbalance value of the washing machine is determined according to each of the sub-unbalance values ​​of the washing machine.

6. The method according to any one of claims 1 to 5, characterized in that: The step of obtaining the rotation speed data sequence of the inner drum of the washing machine comprises: Based on the inner drum speed detection module, obtaining each speed of the inner drum of the washing machine to obtain the speed data sequence; or Acquire multiple motor speeds of the motor corresponding to the inner drum of the washing machine, and acquire the transmission ratio of the motor, obtain multiple speeds of the inner drum of the washing machine according to the multiple motor speeds and the transmission ratio, and generate the speed data sequence according to the multiple speeds.

7. The method according to any one of claims 1 to 5, characterized in that: The step of obtaining the rotation speed data sequence of the inner drum of the washing machine comprises: Acquire multiple rotation speeds of the inner drum of the washing machine; Cleaning data of multiple rotation speeds of the inner drum of the washing machine to obtain multiple rotation speeds after cleaning; A rotation speed data sequence of the inner barrel of the washing machine is generated based on the plurality of rotation speeds after cleaning.

8. A washing machine imbalance detection device, characterized in that: include: An acquisition module, used to acquire a rotation speed data sequence of the inner barrel of the washing machine; A generating module, used for generating a waveform diagram according to the rotation speed data sequence; The analysis module is used to analyze the waveform diagram to obtain the imbalance value of the washing machine.

9. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the washing machine imbalance detection method as claimed in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the washing machine imbalance detection method according to any one of claims 1 to 7 are implemented.