Eccentricity value fitting method, eccentricity value fitting device, controller and washing machine
By obtaining the standard linear equations of several load weights and adjusting the detection algorithm parameters, the problems of inaccurate and low versatility of eccentric value fitting in the existing technology are solved, and the accurate fitting of the eccentric detection value and the standard value and the data volume are realized. reduce.
Patent Information
- Application Number
- CN202411070997.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-12-06
AI Technical Summary
The existing eccentric fitting methods require a large amount of data to be fitted one by one under different load weights. The fitting is inaccurate and the fitting needs to be repeated during later optimization and adjustment, resulting in large data volume and low versatility.
By obtaining the standard linear equations of several load weights, adjusting the parameters of the eccentricity detection algorithm, so that the slope direction of the target linear equation is consistent with the standard linear equation, and determining the fitting ratio to achieve accurate fit between the eccentricity detection value and the standard value. It can be used later Fit proportions optimize detection values under other load weights.
The precise fitting of the eccentric detection value and the standard value is achieved, which reduces the amount of data, improves the fitting efficiency and versatility, and avoids repeated fitting work.
Smart Images

Figure CN119083115A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of lifting motor control, and in particular to an eccentricity value fitting method, an eccentricity value fitting device, a controller and a washing machine. Background Art
[0002] Eccentricity detection is an important function of a washing machine. The eccentricity detection value represents the load balance state of the inner drum of the washing machine. After the washing machine is put into use, the eccentricity detection algorithm is used to detect the eccentricity of the washing machine to obtain the eccentricity detection value, which may be different from the eccentricity standard value. Alternatively, a washing machine may have one to three motor controller suppliers, and the eccentricity detection values detected by each motor controller may not be the same. Therefore, it is necessary to unify the eccentricity detection value and make the eccentricity detection value the same or close to the eccentricity standard value, that is, it is necessary to fit the eccentricity detection value and the eccentricity standard value.
[0003] The current eccentricity value fitting method is to fit different eccentricity weights under each load weight one by one. The amount of data required is large, the fitting is not accurate, and the fitting work needs to be repeated when optimizing and adjusting the eccentricity value detection under other load weights in the later stage. Summary of the invention
[0004] The present application solves at least one of the above-mentioned technical problems to a certain extent. To this end, the present application provides an eccentricity value fitting method, an eccentricity value fitting device, a controller and a washing machine, which can use less data to achieve accurate fitting and matching of eccentricity detection values and eccentricity standard values, and the method has high versatility.
[0005] In a first aspect, an embodiment of the present application provides an eccentricity value fitting method, which is applied to a washing machine, and the method comprises:
[0006] obtaining several load weights of the washing machine;
[0007] For each load weight, a standard straight line equation is obtained, wherein the standard straight line equation is a mapping relationship between different eccentric weights and eccentric standard values;
[0008] Adjusting the parameters of the eccentricity detection algorithm so that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation, wherein the target straight line equation is a mapping relationship between different eccentric weights and corresponding eccentricity detection values under each load weight, and the eccentricity detection value is detected by using the adjusted eccentricity detection algorithm;
[0009] Determining a fitting ratio between the eccentricity detection value and the eccentricity standard value;
[0010] A target eccentricity detection value is determined according to the eccentricity detection value and the fitting ratio.
[0011] In some embodiments, the adjusting the parameters of the eccentricity detection algorithm for each load weight so that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation further includes:
[0012] obtaining at least two of the load weights;
[0013] Acquire at least two target slopes, wherein the at least two target slopes are slopes of target straight line equations corresponding to the at least two load weights;
[0014] Obtaining at least two standard slopes, wherein the at least two standard slopes are standard straight line equations corresponding to the at least two load weights;
[0015] acquiring a first ratio between the at least two target slopes;
[0016] obtaining a second ratio between the at least two standard slopes;
[0017] Among them, when a first ratio between the first ratio and the second ratio is less than or equal to a first preset threshold and greater than or equal to a second preset threshold, it is determined that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation.
[0018] In some embodiments, determining the fitting ratio between the eccentricity detection value and the eccentricity standard value comprises:
[0019] For each eccentric weight, obtaining the eccentricity detection value and the eccentricity standard value;
[0020] Acquire a third ratio of the eccentricity detection value to the eccentricity standard value;
[0021] An average value of the third ratios is determined as the fitting ratio.
[0022] In some embodiments, determining a target eccentricity detection value according to the eccentricity detection value and the fitting ratio includes:
[0023] Determine target eccentric weight;
[0024] Obtaining the eccentricity detection value corresponding to the target eccentricity weight;
[0025] The product of the target eccentricity detection value and the fitting ratio is determined as the target eccentricity detection value.
[0026] In a second aspect, an embodiment of the present application provides a dehydration speed control method, which is applicable to a washing machine, and the method includes:
[0027] Obtaining the current load weight of the washing machine;
[0028] Determine the target eccentricity limit corresponding to the current load weight;
[0029] Detecting a current eccentricity value of the washing machine;
[0030] When the current eccentricity value is less than the target eccentricity limit value, the washing machine is controlled to dehydrate at a target dehydration speed, wherein the target dehydration speed is greater than or equal to a preset speed.
[0031] In a third aspect, an embodiment of the present application provides an eccentricity detection device, which is applied to a washing machine. The eccentricity detection device includes:
[0032] A first acquisition module, used to acquire a plurality of load weights of the washing machine;
[0033] A second acquisition module is used to acquire a standard straight line equation for each load weight, wherein the standard straight line equation is a mapping relationship between different eccentric weights and eccentric standard values;
[0034] An adjustment module, used for adjusting the parameters of the eccentricity detection algorithm so that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation, wherein the target straight line equation is a mapping relationship between different eccentric weights and corresponding eccentricity detection values under each load weight, and the eccentricity detection value is detected by using the adjusted eccentricity detection algorithm;
[0035] A first determination module, used to determine a fitting ratio between the eccentricity detection value and the eccentricity standard value;
[0036] The second determination module is used to determine a target eccentricity detection value according to the eccentricity detection value and the fitting ratio.
[0037] In a fourth aspect, an embodiment of the present application provides a controller, comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the eccentricity value fitting method as described above.
[0038] In a fifth aspect, an embodiment of the present application provides a washing machine, comprising the controller as described above.
[0039] Compared with the prior art, the present application has at least the following beneficial effects: in the eccentricity value fitting method of the present application, firstly, several load weights of the washing machine are obtained, and for each load weight, a standard straight line equation is obtained, wherein the standard straight line equation is a mapping relationship between different eccentric weights and standard eccentricity values, and the parameters of the eccentricity value detection algorithm are adjusted so that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation, wherein the target straight line equation is a mapping relationship between different eccentric weights and corresponding eccentricity detection values under each load weight, and the eccentricity detection value is detected by using the adjusted eccentricity value detection algorithm, and then the fitting ratio is determined according to the eccentricity detection value and the eccentricity standard value, and finally the target eccentricity detection value is determined according to the eccentricity detection value and the fitting ratio. The eccentricity value fitting method adjusts the slope direction of the target straight line equation to make it consistent with the slope direction of the standard straight line equation, thereby making the change direction of the eccentricity detection value consistent with the standard eccentricity value, improving the fit between the target eccentricity detection value and the eccentricity standard value, and realizing the final fitting of the target eccentricity detection value and the eccentricity standard value through the fitting ratio between the eccentricity detection value and the eccentricity standard value, and further realizing the accurate fitting matching of the target eccentricity detection value and the eccentricity standard value. Moreover, this method only needs several groups of eccentricity detection value data to realize accurate fitting, and the subsequent fitting ratio can realize the target eccentricity detection value under other load weights, without repeating the fitting work, thereby improving the versatility of the eccentricity value fitting method. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0041] Figure 1 It is a structural schematic diagram of a washing machine provided in an embodiment of the present application;
[0042] Figure 2 It is a schematic diagram of a controller structure provided in an embodiment of the present application;
[0043] Figure 3 This is a flow chart of one of the eccentricity value fitting methods provided in an embodiment of the present application;
[0044] Figure 4 is a schematic diagram of one of the standard straight lines provided in the embodiments of the present application;
[0045] Figure 5 is a schematic diagram of one of the test environments provided in an embodiment of the present application;
[0046] Figure 6 is a schematic diagram of one of the original straight lines provided in an embodiment of the present application;
[0047] Figure 7 The embodiment of this application provides Figure 3 Schematic diagram of the process of step S30;
[0048] Figure 8 The embodiment of this application provides Figure 3 Schematic diagram of the process of step S40;
[0049] Fig. 9 This is a schematic flow chart of a dehydration speed control method provided in an embodiment of the present application;
[0050] Fig.10 It is a structural schematic diagram of an eccentricity detection device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0052] It should be noted that, if there is no conflict, the various features in the embodiments of the present application can be combined with each other, all within the scope of protection of the present application. In addition, although the functional module division is performed in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a sequence different from the module division in the device or the flow chart. Furthermore, the words "first", "second", "third", etc. used in this application do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.
[0053] The washing machine includes a drum assembly (inner drum, outer drum, door, drive motor), a control unit (main control panel, variable frequency drive board, function keys, door lock safety switch, controller and other control circuits) and an outer box. These three basic components are assembled and fixed together to form a washing machine.
[0054] Specifically, the washing machine may include an inner drum, which can perform tasks such as washing and dehydrating. The inner drum may be provided with a plurality of lifting ribs and a plurality of drainage holes. Figure 1As shown, the washing machine may also include a dehydration motor 10 and a controller 20. When the washing machine is dehydrating, the controller 20 controls the dehydration motor 10 so that the dehydration motor 10 drives the inner drum to accelerate to a speed exceeding a critical speed. During this process, the clothes in the inner drum continue to roll as the lifting ribs rotate, and finally, under the action of centripetal force, they are tightly attached to the barrel wall of the inner drum and rotate synchronously with the inner drum without any relative movement. Then, the dehydration motor 10 drives the inner drum to maintain a constant speed and continue to rotate for a set time. Within the set time, the water on the clothes in the inner drum can be discharged through the drainage holes of the inner drum, thereby achieving dehydration of the clothes.
[0055] In addition, the normal dehydration of the washing machine includes two processes, the first process is the pre-dehydration process, and the second process is the high-speed dehydration process. The washing machine generally performs eccentricity detection before high-speed dehydration, and the detected eccentricity value is transmitted to the controller 20, which is processed and analyzed by the controller 20. When the detected eccentricity value exceeds the preset range, the washing machine will correct the deviation, for example: performing a shaking operation on the clothes so that the clothes are evenly distributed in the inner drum of the washing machine, reducing the current eccentricity value. When the detected eccentricity value is within the set range, the controller 20 can control the washing machine to enter the high-speed dehydration process, which can effectively protect the washing machine from being damaged due to excessive eccentricity load during high-speed dehydration.
[0056] Under different load weights, the eccentricity value of the washing machine detected is different under the same eccentricity weight. Under the same load weight, the eccentricity value of the washing machine detected is also different under different eccentricity weights. Before the washing machine is put into use after leaving the factory, the eccentricity value of the washing machine will be calibrated to obtain the corresponding eccentricity standard value under each load weight and each eccentricity weight. After the washing machine is put into use, the eccentricity detection algorithm is used to detect the eccentricity value of the washing machine to obtain the eccentricity detection value, which may be different from the eccentricity standard value. Alternatively, a washing machine may have one to three motor controller suppliers, and the eccentricity detection values detected by each motor controller may be different.
[0057] Therefore, it is necessary to unify the eccentricity detection value and make it the same or close to the eccentricity standard value, that is, it is necessary to fit the eccentricity detection value and the eccentricity standard value so that the detected current eccentricity detection value is closer to the eccentricity standard value when the washing machine leaves the factory, so as to improve the accuracy of the eccentricity detection value and thereby improve the dehydration effect of the washing machine.
[0058] The current eccentricity value fitting method is to fit different eccentricity weights under each load weight one by one. The amount of data required is large, the fitting is not accurate, and the fitting work needs to be repeated when optimizing and adjusting the eccentricity value detection under other load weights in the later stage.
[0059] Based on the above reasons, an embodiment of the present application provides an eccentricity value fitting method, which is applied to a washing machine. The method includes first obtaining several load weights of the washing machine, and obtaining a standard straight line equation for each load weight, wherein the standard straight line equation is a mapping relationship between different eccentric weights and eccentricity standard values, and adjusting the parameters of the eccentricity value detection algorithm so that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation, wherein the target straight line equation is a mapping relationship between different eccentric weights and corresponding eccentricity detection values under each load weight, and the eccentricity detection value is detected using the adjusted eccentricity value detection algorithm, and then determining the fitting ratio based on the eccentricity detection value and the eccentricity standard value, and finally determining the target eccentricity detection value based on the eccentricity detection value and the fitting ratio.
[0060] The eccentricity value fitting method adjusts the slope direction of the target straight line equation to make it consistent with the slope direction of the standard straight line equation, thereby making the change direction of the eccentricity detection value and the standard eccentricity value consistent, improving the fit between the target eccentricity detection value and the eccentricity standard value, and realizing the final fitting of the target eccentricity detection value and the eccentricity standard value through the fitting ratio between the eccentricity detection value and the eccentricity standard value, and further realizing the accurate fitting matching of the target eccentricity detection value and the eccentricity standard value.
[0061] Moreover, the eccentricity value fitting method uses several groups of eccentricity detection value data to achieve fitting with the eccentricity standard value. The amount of data used is small, and when it is necessary to optimize and adjust the target eccentricity detection value under other load weights in the future, it is only necessary to obtain the fitting ratio between the eccentricity detection value under other load weights and the eccentricity standard value, and then determine the target eccentricity detection value under other load weights through the eccentricity detection value and the fitting ratio. There is no need to repeat the fitting work, which improves the versatility of the eccentricity value fitting method.
[0062] Please also read Figure 2 , Figure 2 2 is a schematic diagram of the hardware structure of a controller provided in an embodiment of the present application. The controller 20 includes at least one processor 201 ( Figure 2 The controller 20 may be in the form of a chip.
[0063] In which, the memory 202 stores instructions that can be executed by the at least one processor 201, and the instructions are executed by the at least one processor 201. The processor 201 is used to provide computing and control capabilities to execute relevant commands, for example, to control the lifting motor device to execute any one of the eccentricity value fitting methods provided in the following embodiments of the present application.
[0064] The memory 202, as a non-transient computer-readable storage medium, can be used to store non-transient software programs, non-transient computer executable programs and modules, such as the program instructions / modules corresponding to the eccentricity value fitting method provided in the following embodiments of the present application. The processor 201 can implement the eccentricity value fitting method in any of the following method embodiments by running the non-transient software programs, instructions and modules stored in the memory 202. Specifically, the memory 202 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In some embodiments, the memory 202 may also include a memory remotely arranged relative to the processor 201, and these remote memories may be connected to the processor 201 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network and a combination thereof.
[0065] In some embodiments, the controller 20 can be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a single chip microcomputer, an ARM (Acorn RISC Machine) or other programmable logic device, a discrete gate or transistor logic, a discrete hardware component, or any combination of these components. In addition, the controller 20 can also be any conventional processor, controller, microcontroller or state machine. The controller 20 can also be implemented as a combination of computing devices, for example, a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors combined with a DSP, and / or any other such configuration.
[0066] This application embodiment provides an eccentricity value fitting method, see Figure 3 , Figure 3 The flowchart of the eccentricity value fitting method provided in the embodiment of the present application is shown in S100, and the method includes but is not limited to the following steps:
[0067] S10: Obtaining several load weights of the washing machine;
[0068] The load weight of the washing machine can be divided into multiple gears, such as: no load [0Kg, 3Kg), small load [3Kg, 6Kg), medium load [6Kg, 10Kg), medium and large load [10Kg, 15Kg), heavy load [15Kg, 20Kg), overweight load [20Kg, 25Kg].
[0069] The number of selected load weights can be set as needed. The more load weights are selected, the higher the accuracy of the fitting. The specific value of the load weight can be set according to the selection. The boundary value of each gear can be selected as the load weight used by the eccentricity value fitting method. For example: select 0Kg, 6Kg, 20Kg and 25Kg load weights to execute the eccentricity value fitting method.
[0070] In some embodiments, in order to improve the accuracy of fitting, the number of load weights may be increased, for example: selecting load weights of 0Kg, 3Kg, 6Kg, 10Kg, 15Kg, 20Kg and 25Kg.
[0071] In other embodiments, various load weights within the gear range may also be selected, for example: selecting load weights of 1Kg, 4Kg, 8Kg, 13Kg, 15Kg, 22Kg and 24Kg.
[0072] S20: for each load weight, obtaining a standard straight line equation, wherein the standard straight line equation is a mapping relationship between different eccentric weights and eccentric standard values;
[0073] Before the washing machine leaves the factory, the eccentricity value of the washing machine will be calibrated. For each load weight, the corresponding eccentricity standard value under different eccentric weights can be calibrated. According to each eccentric weight and its corresponding eccentricity standard value, the standard linear equation corresponding to each load weight can be obtained.
[0074] For example: the load weight includes a first load weight and a second load weight, and the eccentric weight may include 0g, 500g, 1000g, 1500g and 2000g. Then, for the first load weight, the corresponding eccentric standard value under each eccentric weight can be calibrated. According to each eccentric weight and the corresponding eccentric standard value, the first standard linear equation corresponding to the first load weight can be obtained. Similarly, the second standard linear equation corresponding to the second load weight can be obtained.
[0075] A coordinate system consisting of eccentric weight and eccentric value is established, the horizontal coordinate of the coordinate system is the eccentric weight, and the vertical coordinate of the coordinate system is the eccentric value. The first standard straight line corresponding to the first standard straight line equation and the second standard straight line corresponding to the second standard straight line equation can be drawn in the coordinate system.
[0076] Similarly, if there are multiple load weights, the standard straight line equation corresponding to each load weight can be obtained, and multiple standard straight lines can be obtained in the coordinate system. If the load weights are 0Kg, 2.5Kg, 5Kg, 7.5Kg, 10Kg, 12.5Kg, 15.0Kg, 17.5Kg, 20.0Kg and 22.5Kg, the standard straight lines corresponding to each load weight are as follows: Figure 4 shown.
[0077] After the standard straight line equation or the standard straight line is obtained through calibration, it is stored in a memory and can be directly obtained when executing the fitting method.
[0078] In some embodiments, when executing the eccentricity value fitting method, for each load weight, the eccentricity standard value corresponding to each eccentric weight is tested one by one, thereby obtaining the corresponding standard straight line equation or standard straight line. The specific testing method is similar to the above calibration to obtain the standard straight line equation or the equation of the standard straight line, and will not be repeated here.
[0079] S30: adjusting the parameters of the eccentricity detection algorithm so that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation, wherein the target straight line equation is a mapping relationship between different eccentric weights and corresponding eccentricity detection values under each load weight, and the eccentricity detection value is detected by using the adjusted eccentricity detection algorithm;
[0080] The current eccentricity detection algorithm is used to detect the eccentricity detection value under each eccentric weight. Specifically, the test environment is as follows Figure 5 As shown, the test environment includes a washing machine inner drum, a load block and an eccentric block. In this embodiment, the weight of each load block is 3 kg, and the weight of each eccentric block is 200 g. The number of load blocks and eccentric blocks to be placed in the inner drum can be determined according to the weight and eccentric weight of the load to be tested, and the weight of each load block and eccentric block can be set as needed.
[0081] For example, if the load weight is 0 kg and the eccentric weight is 200 g, the test environment is as follows: Figure 5 As shown in the diagram on the left, only one eccentric block is set in the inner drum of the washing machine. If the load weight is 3Kg and the eccentric weight is 600g, the test environment is as follows: Figure 5 As shown in the schematic diagram on the right, a load block and three eccentric blocks are arranged in the inner drum of the washing machine, and the load block can also be arranged on top of one of the eccentric blocks.
[0082] In each test environment, an eccentricity detection algorithm is used to detect the current eccentricity value to obtain an eccentricity detection value, wherein the eccentricity detection algorithm generally detects the rotation speed fluctuation to represent the eccentricity detection value.
[0083] For example, if the load weight includes a first load weight and a second load weight, and the eccentric weights include 0g, 500g, 1000g, 1500g, and 2000g, then for the first load weight, the corresponding eccentricity detection value under each eccentric weight can be tested, and the first original linear equation corresponding to the first load weight can be obtained according to each eccentric weight and the corresponding eccentricity detection value. Similarly, the second original linear equation corresponding to the second load weight can be obtained. The first original linear equation and the second original linear equation are both mapping relationships between different eccentric weights and corresponding eccentricity detection values.
[0084] A coordinate system consisting of eccentric weight and eccentric value is established, the abscissa of the coordinate system is the eccentric weight, and the ordinate of the coordinate system is the eccentric value. A first original straight line corresponding to the first original straight line equation and a second original straight line corresponding to the second original straight line equation can be drawn in the coordinate system.
[0085] Similarly, if there are multiple load weights, the original straight line equation corresponding to each load weight can be obtained, and multiple original straight lines can be obtained in the coordinate system. If the load weights are 0Kg, 2.5Kg, 5Kg, 7.5Kg, 10Kg, 12.5Kg, 15.0Kg, 17.5Kg, 20.0Kg and 22.5Kg, the original straight lines corresponding to each load weight are as follows: Figure 6 shown.
[0086] During the detection process, if the parameters of the eccentricity detection algorithm are adjusted, and the current eccentricity detection value is detected by the adjusted eccentricity detection algorithm, the current eccentricity detection value will also change accordingly. Therefore, the corresponding eccentricity detection value can be adjusted by adjusting the parameters of the eccentricity detection algorithm. For example: by adjusting the speed control parameters, such as KP, KI and other parameters, the speed fluctuation amount can be adjusted, and then the eccentricity detection value can be adjusted.
[0087] If the corresponding eccentricity detection value is adjusted under the same load weight and eccentricity weight, the corresponding original straight line equation and the original straight line will change accordingly, and the slope of the original straight line will also change accordingly. Therefore, in order to improve the accuracy of the fitting between the eccentricity detection value and the eccentricity standard value, the parameters of the eccentricity value detection algorithm are adjusted so that the slope of the original straight line is adjusted accordingly. The straight line obtained after adjustment is the target straight line, and its corresponding equation is the target straight line equation, and the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation.
[0088] When the ratio between the slope of the target straight line equation and the slope of the standard straight line equation is close to 1, it is confirmed that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation. In some embodiments, if there is only one target straight line equation and one standard straight line equation, the target slope corresponding to the target straight line equation and the standard slope corresponding to the standard straight line equation are obtained. When the ratio between the target slope and the standard slope is less than or equal to the first preset threshold and greater than or equal to the second preset threshold, it is determined that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation. The average of the first preset threshold and the second preset threshold is 1.
[0089] In some embodiments, in order to further improve the fitting accuracy, the ratio between the slopes corresponding to the target straight line equations and the slopes corresponding to the standard straight line equations can be made close to 1 to ensure that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation. Figure 7 As shown, step S30 also includes:
[0090] S301: Obtain at least two load weights among the load weights;
[0091] S302: Acquire at least two target slopes, wherein the at least two target slopes are slopes of target straight line equations corresponding to the at least two load weights;
[0092] S303: Obtain at least two standard slopes, wherein the at least two standard slopes are standard straight line equations corresponding to the at least two load weights;
[0093] S304: Acquire a first ratio between the at least two target slopes;
[0094] S305: Obtain a second ratio between the at least two standard slopes;
[0095] S306: When a first ratio between the first ratio and the second ratio is less than or equal to a first preset threshold and greater than or equal to a second preset threshold, it is determined that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation.
[0096] In some embodiments, the first load weight and the second load weight in the load weight are obtained, and then the first target slope and the second target slope are obtained, wherein the first target slope is the slope of the first target straight line equation corresponding to the first load weight, and the second target slope is the slope of the second target straight line equation corresponding to the second load weight, and then the first ratio between the first target slope and the second target slope is obtained, and then the first standard slope and the second standard slope are obtained, wherein the first standard slope is the slope of the first standard straight line equation corresponding to the first load weight, and the second standard slope is the slope of the second standard straight line equation corresponding to the second load weight, and finally the second ratio between the first standard slope and the second standard slope is obtained, wherein when the first ratio between the first ratio and the second ratio is less than or equal to the first preset threshold value and greater than or equal to the second preset threshold value, it is determined that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation. The average value of the first preset threshold value and the second preset threshold value is 1.
[0097] For example: if the first target slope is K1, the second target slope is K2, the first standard slope is KA, and the second standard slope is KB, then first obtain the first ratio A=K1 / K2, and then obtain the second ratio B=KA / KB. When the first ratio A / B is less than or equal to the first preset threshold and greater than or equal to the second preset threshold, it is considered that the first ratio A / B is close to 1, and it is determined that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation.
[0098] In some embodiments, multiple load weights are obtained, and then the parameters of the eccentricity detection algorithm are adjusted according to the ratio between the target slope of the target straight line equation corresponding to each load weight and the standard slope of the corresponding standard straight line equation, until the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation.
[0099] For example: if the target slopes are K1, K2, K3, K4, K5, and K6, and the standard slopes are KA, KB, KC, KD, KE, and KF, first obtain the first ratio A=K1 / K2 / K3 / K4 / K5 / K6, and then obtain the second ratio B=KA / KB / KC / KD / KE / KF. When the first ratio A / B is less than or equal to the first preset threshold and greater than or equal to the second preset threshold, it is considered that the first ratio A / B is close to 1, and it is determined that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation.
[0100] Therefore, when obtaining the first ratio and the second ratio, the more target slopes and standard slopes are selected, the higher the final fitting accuracy is.
[0101] S40: determining a fitting ratio between the eccentricity detection value and the eccentricity standard value;
[0102] For the same load weight and the same eccentric weight, the eccentricity detection value corresponding to the target straight line equation and the eccentricity standard value corresponding to the standard straight line equation are obtained, and the fitting ratio is determined according to the ratio between the eccentricity detection value and the eccentricity standard value.
[0103] Specifically, Figure 8 As shown, step S40 includes:
[0104] S401: for each eccentric weight, obtaining the eccentricity detection value and the eccentricity standard value;
[0105] S402: Obtaining a third ratio of the eccentricity detection value to the eccentricity standard value;
[0106] S403: Determine an average value of each of the third ratios as the fitting ratio.
[0107] A first load weight in the load weights is obtained, and the first load weight is any load weight in the load weights. The first load weight corresponds to the target straight line equation and the standard straight line equation. For each eccentric weight, an eccentricity detection value corresponding to the target straight line equation and an eccentricity standard value corresponding to the standard straight line equation are obtained. The eccentricity detection value is divided by the eccentricity standard value to obtain a third ratio, and then the average value of each third ratio is determined as the fitting ratio.
[0108] For example: the first load weight is 2.5 kg, and the corresponding target straight line equation is: y = k1 x+b1, the corresponding standard straight line equation is: y=kAx+b2, the eccentric weights are 0g, 500g, 1000g and 1500g respectively, then when the eccentric weight is 0g, the corresponding eccentricity detection value and the eccentricity standard value are y0 and yA0 respectively, and the first third ratio Z0=y0 / yA0 is obtained, when the eccentric weight is 500g, the corresponding eccentricity detection value and the eccentricity standard value are y1 and yA1 respectively, and the second third ratio Z1=y1 / yA1 is obtained, when the eccentric weight is 1000g, the corresponding eccentricity detection value and the eccentricity standard value are y2 and yA2 respectively, and the third third ratio Z2=y2 / yA2 is obtained, similarly, the fourth third ratio Z3 and the fifth third ratio Z4 can be obtained, the average value Z of Z1, Z2, Z3 and Z4 is obtained, and the average value Z is determined as the fitting ratio.
[0109] S50: determining a target eccentricity detection value according to the eccentricity detection value and the fitting ratio.
[0110] The product of each eccentricity detection value and the fitting ratio is determined as each target eccentricity detection value. Specifically, first determine the target eccentricity weight, obtain the eccentricity detection value corresponding to the target eccentricity weight, and then determine the product of the target eccentricity detection value and the fitting ratio as the target eccentricity detection value.
[0111] For example: for the first load weight, it corresponds to the first target straight line equation. If the target eccentric weight is 0g, the target eccentricity detection value y0 corresponding to 0g is determined according to the first target straight line equation, and then y0'=y0*Z is calculated, and y0' is determined as the final target eccentricity detection value corresponding to 0g under the first load weight.
[0112] Similarly, if the target eccentric weight is 500g, the target eccentricity detection value y1 corresponding to 500g is determined according to the first target straight line equation, and then y1'=y1*Z is calculated, and y1' is determined as the final target eccentricity detection value corresponding to 500g under the first load weight.
[0113] For other load weights, such as the second load weight, it corresponds to the second target straight line equation. If the target eccentric weight is 0g, the target eccentricity detection value y00 corresponding to 0g is determined according to the second target straight line equation, and then y00'=y0*Z is calculated, and y00' is determined as the final target eccentricity detection value corresponding to 0g under the second load weight.
[0114] By analogy, the final target eccentricity detection value corresponding to other eccentric weights is the same as the above embodiment, and the final target eccentricity detection value is obtained by multiplying the target eccentricity detection value corresponding to each eccentric weight by the fitting ratio Z. The specific process is not repeated here. When subsequently optimizing and adjusting the final target eccentricity detection value of other load weights, it is only necessary to adjust the fitting ratio, and there is no need to repeat the fitting work, which reduces the workload. That is, the eccentricity value fitting method only needs to use the data of part of the load weight to complete the accurate fitting, and has high versatility.
[0115] In summary, the eccentricity value fitting method adjusts the slope direction of the target straight line equation to make it consistent with the slope direction of the standard straight line equation, thereby making the change direction of the eccentricity detection value consistent with the standard eccentricity value, improving the fit between the target eccentricity detection value and the eccentricity standard value, and through the fitting ratio between the eccentricity detection value and the eccentricity standard value, the final target eccentricity detection value and the eccentricity standard value are fitted, and the target eccentricity detection value and the eccentricity standard value are further accurately fitted. Moreover, this method only needs several sets of eccentricity detection value data to achieve accurate fitting, and the target eccentricity detection value under other load weights can be achieved by using the fitting ratio in the future, without repeating the fitting work, thereby improving the versatility of the eccentricity value fitting method.
[0116] See also Fig. 9 , Fig. 9 A dehydration speed control method provided by an embodiment of the present invention is applied to a washing machine, such as Fig. 9 As shown, the method S200 includes:
[0117] S201: Obtaining the current load weight of the washing machine;
[0118] Weigh the clothes in the inner drum of the washing machine to obtain the current load weight, for example: the current load weight is 2.5Kg.
[0119] S202: Determine a target eccentricity limit value corresponding to the current load weight;
[0120] The target eccentricity limit is the eccentricity limit value corresponding to the current load weight. Only when the eccentricity value of the washing machine is less than the target eccentricity limit value can the washing machine be controlled to adopt the high-speed dehydration mode. Otherwise, the inner drum is prone to collide with the washing machine body when rotating at high speed.
[0121] S203: Detecting the current eccentricity value of the washing machine;
[0122] The adjusted eccentricity value detection algorithm is used to detect the current eccentricity value of the washing machine, and then the current eccentricity value is multiplied by the fitting ratio to obtain the final current eccentricity value.
[0123] S204: When the current eccentricity value is less than the target eccentricity limit value, controlling the washing machine to dehydrate at a target dehydration speed, wherein the target dehydration speed is greater than or equal to a preset speed.
[0124] The washing machine dehydrates at the target dehydration speed, that is, high-speed dehydration is adopted. If the current eccentricity value is greater than or equal to the target eccentricity limit value, it indicates that the inner drum has excessive eccentricity due to uneven distribution of clothes, and high-speed dehydration cannot be adopted. The washing machine will redistribute the clothes and perform eccentricity value detection again until the current eccentricity value is less than the target eccentricity limit value, and then high-speed dehydration is adopted.
[0125] It should be noted that in each of the above embodiments, there is not necessarily a certain order between the above steps. A person skilled in the art can understand, based on the description of the embodiments of the present application, that in different embodiments, the above steps may have different execution orders, that is, they may be executed in parallel, may be executed interchangeably, and so on.
[0126] As another aspect of the embodiment of the present application, the embodiment of the present application provides an eccentricity detection device. The eccentricity detection device can be a software module, and the software module includes a number of instructions, which are stored in a memory in the electronic controller. The processor can access the memory and call the instructions for execution to complete the eccentricity value fitting method described in the above embodiments.
[0127] In some embodiments, the eccentricity detection device can also be constructed by hardware devices, for example, the eccentricity detection device can be constructed by one or more chips, and the chips can work in coordination with each other to complete the eccentricity value fitting method described in the above embodiments. For another example, the eccentricity detection device can also be constructed by various logic devices, such as a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a single-chip microcomputer, an ARM (Acorn RISC Machine) or other programmable logic devices, discrete gates or transistor logic, discrete hardware components, or any combination of these components.
[0128] See also Fig.10 , Fig.10 An embodiment of the present application provides an eccentricity detection device, and the eccentricity detection device 200 includes a first acquisition module 201, a second acquisition module 202, an adjustment module 203, a first determination module 204 and a second determination module 205.
[0129] Wherein, the first acquisition module 201 is used to acquire several load weights of the washing machine;
[0130] The second acquisition module 202 is used to acquire a standard straight line equation for each load weight, wherein the standard straight line equation is a mapping relationship between different eccentric weights and eccentric standard values;
[0131] The adjustment module 203 is used to adjust the parameters of the eccentricity detection algorithm so that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation, wherein the target straight line equation is a mapping relationship between different eccentric weights and corresponding eccentricity detection values under each load weight, and the eccentricity detection value is detected by using the adjusted eccentricity detection algorithm;
[0132] The first determination module 204 is used to determine the fitting ratio between the eccentricity detection value and the eccentricity standard value;
[0133] The second determination module 205 is used to determine a target eccentricity detection value according to the eccentricity detection value and the fitting ratio.
[0134] Therefore, the eccentricity detection device adjusts the slope direction of the target straight line equation to make it consistent with the slope direction of the standard straight line equation, thereby making the change direction of the eccentricity detection value consistent with the standard eccentricity value, improving the fit between the target eccentricity detection value and the eccentricity standard value, and realizing the final fitting of the target eccentricity detection value and the eccentricity standard value through the fitting ratio between the eccentricity detection value and the eccentricity standard value, and further realizing the accurate fitting matching of the target eccentricity detection value and the eccentricity standard value. And only a few sets of eccentricity detection value data are needed to achieve accurate fitting, and the target eccentricity detection value under other load weights can be achieved by using the fitting ratio in the future, without repeating the fitting work, thereby improving the versatility of the eccentricity value fitting method.
[0135] It should be noted that, since the eccentricity detection device 200 and the eccentricity value fitting method in the above embodiment are based on the same application concept, the corresponding contents in the above method embodiment are also applicable to the device embodiment and will not be described in detail here.
[0136] The present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors, for example Figure 2 A processor 201 in the embodiment may enable the one or more processors to execute the eccentricity value fitting method in any of the above method embodiments.
[0137] An embodiment of the present application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a controller, the controller executes any one of the eccentricity value fitting methods.
[0138] In summary, the eccentricity value fitting method adjusts the slope direction of the target straight line equation to make it consistent with the slope direction of the standard straight line equation, thereby making the change direction of the eccentricity detection value consistent with the standard eccentricity value, improving the fit between the target eccentricity detection value and the eccentricity standard value, and through the fitting ratio between the eccentricity detection value and the eccentricity standard value, the final target eccentricity detection value and the eccentricity standard value are fitted, and the target eccentricity detection value and the eccentricity standard value are further accurately fitted. And only a few groups of eccentricity detection value data are needed to achieve accurate fitting, and the target eccentricity detection value under other load weights can be achieved by using the fitting ratio in the future, without repeating the fitting work, thereby improving the versatility of the eccentricity value fitting method.
[0139] The above described device or equipment embodiments are merely illustrative, wherein the unit modules described as separate components may or may not be physically separated, and the components displayed as module units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network module units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0140] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the eccentricity value fitting method described in each embodiment or some parts of the embodiment.
[0141] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Under the concept of the present application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes in different aspects of the present application as described above, which are not provided in detail for the sake of simplicity. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. An eccentricity value fitting method, characterized in that: Applied to a washing machine, the method comprises: obtaining several load weights of the washing machine; For each load weight, a standard straight line equation is obtained, wherein the standard straight line equation is a mapping relationship between different eccentric weights and eccentric standard values; Adjusting the parameters of the eccentricity detection algorithm so that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation, wherein the target straight line equation is a mapping relationship between different eccentric weights and corresponding eccentricity detection values under each load weight, and the eccentricity detection value is detected by using the adjusted eccentricity detection algorithm; Determining a fitting ratio between the eccentricity detection value and the eccentricity standard value; A target eccentricity detection value is determined according to the eccentricity detection value and the fitting ratio.
2. The method according to claim 1, characterized in that The method further comprises adjusting the parameters of the eccentricity detection algorithm for each load weight so that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation: obtaining at least two of the load weights; Acquire at least two target slopes, wherein the at least two target slopes are slopes of target straight line equations corresponding to the at least two load weights; Obtaining at least two standard slopes, wherein the at least two standard slopes are standard straight line equations corresponding to the at least two load weights; acquiring a first ratio between the at least two target slopes; obtaining a second ratio between the at least two standard slopes; Among them, when a first ratio between the first ratio and the second ratio is less than or equal to a first preset threshold and greater than or equal to a second preset threshold, it is determined that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation.
3. The method according to claim 1, characterized in that Determining the fitting ratio between the eccentricity detection value and the eccentricity standard value includes: For each eccentric weight, obtaining the eccentricity detection value and the eccentricity standard value; Acquire a third ratio of the eccentricity detection value to the eccentricity standard value; An average value of the third ratios is determined as the fitting ratio.
4. The method according to any one of claims 1 to 3, characterized in that: The step of determining a target eccentricity detection value according to the eccentricity detection value and the fitting ratio comprises: Determine target eccentric weight; Obtaining the eccentricity detection value corresponding to the target eccentricity weight; The product of the target eccentricity detection value and the fitting ratio is determined as the target eccentricity detection value.
5. A dehydration speed control method, characterized in that: In a washing machine, the method comprises: Obtaining the current load weight of the washing machine; Determine the target eccentricity limit corresponding to the current load weight; Detecting a current eccentricity value of the washing machine; When the current eccentricity value is less than the target eccentricity limit value, the washing machine is controlled to dehydrate at a target dehydration speed, wherein the target dehydration speed is greater than or equal to a preset speed.
6. An eccentricity detection device, characterized in that: Applied to a washing machine, the eccentricity detection device comprises: A first acquisition module, used to acquire a plurality of load weights of the washing machine; A second acquisition module is used to acquire a standard straight line equation for each load weight, wherein the standard straight line equation is a mapping relationship between different eccentric weights and eccentric standard values; An adjustment module, used for adjusting the parameters of the eccentricity detection algorithm so that the slope direction of the target straight line equation is consistent with the slope direction of the standard straight line equation, wherein the target straight line equation is a mapping relationship between different eccentric weights and corresponding eccentricity detection values under each load weight, and the eccentricity detection value is detected by using the adjusted eccentricity detection algorithm; A first determination module, used to determine a fitting ratio between the eccentricity detection value and the eccentricity standard value; The second determination module is used to determine a target eccentricity detection value according to the eccentricity detection value and the fitting ratio.
7. A controller, characterized in that: The controller comprises: At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the eccentricity value fitting method as described in any one of claims 1-5.
8. A washing machine, characterized in that: Comprising a controller as claimed in claim 7.
