Clothes weighing method, device, electronic equipment and computer readable storage medium

By obtaining the actual rotation information of the inner drum and motor parameters in the pulsator washing machine, and combining this with reference rotation information to calculate the weight of the clothes, the problem of inaccurate weighing of clothes is solved, and more accurate weight measurement of clothes is achieved.

CN117569043BActive Publication Date: 2026-06-16TCL HOME APPLIANCES (HEFEI) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TCL HOME APPLIANCES (HEFEI) CO LTD
Filing Date
2023-11-10
Publication Date
2026-06-16

AI Technical Summary

Technical Problem

The current weighing method of top-loading washing machines is easily affected by the contact area between the clothes and the impeller, resulting in inaccurate weighing.

Method used

By acquiring the actual rotation information of the inner drum and the motor parameter information, and combining it with the reference rotation information when no clothes are loaded, the actual weight of the clothes is calculated, thus overcoming the influence of the contact area between the clothes and the impeller.

🎯Benefits of technology

It achieves accurate garment weighing regardless of the contact area between the garment and the impeller, improving the accuracy and reliability of weighing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117569043B_ABST
    Figure CN117569043B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a clothes weighing method and device, electronic equipment and computer readable storage medium. The method is applied to a washing machine. The method comprises the following steps: determining actual rotation information of an inner drum of the washing machine when the inner drum rotates, the inner drum containing clothes to be weighed; obtaining motor parameter information of the washing machine when the inner drum rotates; determining reference rotation information corresponding to the inner drum when the inner drum is not loaded with clothes based on the motor parameter information; determining actual weight information of the clothes to be weighed according to the actual rotation information and the reference rotation information; and outputting the actual weight information. By comparing the reference rotation information and the actual rotation information, the actual weight information of the clothes loaded in the inner drum is determined, the weight of the clothes in the inner drum is determined by comparing the rotation information, the influence of the contact area size between the clothes and the pulsator seat on the weighing result is overcome, the effect of not being limited to the contact area between the clothes and the pulsator seat is achieved, and the effect of weighing the clothes in the inner drum is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computers, specifically to a method, apparatus, electronic device, and computer-readable storage medium for weighing clothing. Background Technology

[0002] Currently, for the pulsator washing machines on the market, the method for verifying the weight of the actual clothes in the inner drum is mostly by controlling the forward and reverse rotation of the pulsator. This method is easily affected by the contact area between the actual clothes and the pulsator, thus causing inaccurate weighing. Summary of the Invention

[0003] This application provides a method, apparatus, electronic device, and computer-readable storage medium for weighing clothing, which can weigh clothing in the inner drum without being limited to the contact area between the clothing and the impeller.

[0004] This application provides a method for weighing clothing, applied to a washing machine, the method comprising:

[0005] Determine the actual rotation information of the inner drum of the washing machine when it is rotating, and load the clothes to be weighed into the inner drum;

[0006] Obtain the motor parameter information of the washing machine when the inner drum is rotating;

[0007] Determine reference rotation information based on the motor parameter information when the inner drum is not filled with clothes;

[0008] The actual weight of the garment to be weighed is determined based on the actual rotation information and the reference rotation information.

[0009] Output the actual weight information.

[0010] Accordingly, this application also provides a clothing weighing device for use in a washing machine, the device comprising:

[0011] The actual information determination module is used to determine the actual rotation information of the inner drum of the washing machine when it is rotating, and the inner drum is filled with clothes to be weighed;

[0012] The parameter information acquisition module is used to acquire the motor parameter information of the washing machine when the inner drum is rotating;

[0013] The reference information determination module is used to determine the reference rotation information corresponding to the rotation of the inner drum based on the motor parameter information when no clothes are loaded.

[0014] The weight information determination module is used to determine the actual weight information of the garment to be weighed based on the actual rotation information and the reference rotation information.

[0015] The weight information output module is used to output the actual weight information.

[0016] Optionally, in some embodiments of this application, the weight information determination module includes:

[0017] The calculation unit is used to calculate the difference between the actual rotation information and the reference rotation information to obtain the rotation offset value;

[0018] The first acquisition unit is used to acquire a mapping relationship set, which contains the correspondence between a preset rotation offset value and preset weight information;

[0019] The first determining unit is used to determine the target rotation offset value from the preset rotation offset values ​​of the mapping relationship set based on the rotation offset value;

[0020] The second determining unit is used to take the preset weight information corresponding to the target rotation offset value in the mapping relationship set as the actual weight information of the clothing to be weighed.

[0021] In some embodiments of this application, the actual rotation information includes at least one moment of rotation of the inner cylinder, and the calculation unit includes:

[0022] The first calculation subunit is used to calculate the difference between the actual rotation information and the reference rotation information for each moment, and obtain the rotation offset value at that moment.

[0023] The second calculation subunit is used to take the average value of the rotation offset values ​​at each of the aforementioned times as the rotation offset value.

[0024] In some embodiments of this application, the actual rotation information includes the geometric center position information of the inner cylinder, and the actual information determination module includes:

[0025] The third determining unit is used to determine, based on the geometric center point of the inner drum in its static state when it is stationary, a first auxiliary point on the drum cover that is on the same vertical line as the geometric center point in its static state, and a second auxiliary point on the washing machine that is on the same horizontal line as the geometric center point in its static state.

[0026] The fourth determining unit is used to determine the distance between the first point of the rotation state geometric center point and the second auxiliary point by means of a triangle formed by the rotation state geometric center point of the inner drum, the first auxiliary point and the second auxiliary point when the inner drum of the washing machine rotates.

[0027] The second acquisition unit is used to acquire the second point distance between the geometric center point of the static state and the second auxiliary point;

[0028] The fifth determining unit is used to determine the geometric center position information of the inner cylinder based on the distance between the first point and the distance between the second point.

[0029] In some embodiments of this application, the actual rotation information includes the geometric center position information of the inner cylinder, and the actual information determination module includes:

[0030] A position information determination unit is used to determine the first edge position information of the inner cylinder when it is stationary, and to determine the second edge position information of the inner cylinder when it is rotating;

[0031] The first actual information determination unit is used to determine the inner cylinder geometric center position information of the inner cylinder based on the first edge position information and the second edge position information.

[0032] In some embodiments of this application, the actual rotation information includes the geometric center position information of the inner cylinder, and the actual information determination module includes:

[0033] A reference position determination unit is used to determine the reference position information of a marker on the inner cylinder at any point in time during the rotation of the inner cylinder, wherein the marker has relative position information with respect to the geometric center point of the inner cylinder.

[0034] A geometric center position determination unit is used to determine the position information of the geometric center point based on the reference position information and the relative position information;

[0035] The second actual information determination unit is used to use the position information as the geometric center position information of the inner cylinder.

[0036] In some embodiments of this application, the actual rotation information includes the inner cylinder rotation speed information, and the actual information determination module includes:

[0037] A recording unit is used to record the time it takes for the marker on the inner cylinder to rotate one revolution.

[0038] The third actual information determination unit is used to calculate the inner drum rotation speed information of the washing machine when the inner drum rotates based on the circumference of one revolution of the flag position and the revolution time.

[0039] Thirdly, embodiments of this application also provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps in the above-described method for weighing clothing.

[0040] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the above-described method for weighing clothing.

[0041] Fifthly, embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described in embodiments of this application.

[0042] This application embodiment is applied to a washing machine. It determines the actual rotation information of the inner drum of the washing machine when it is rotating. The inner drum is filled with clothes to be weighed. The motor parameter information of the washing machine is obtained when the inner drum is rotating. The reference rotation information corresponding to the rotation of the inner drum based on the motor parameter information is determined when the inner drum is not filled with clothes. Based on the actual rotation information and the reference rotation information, the actual weight information of the clothes to be weighed is determined and the actual weight information is output.

[0043] Specifically, by comparing the reference rotation information of the inner drum when no clothes are loaded with the actual rotation information when clothes are loaded, based on the same motor parameter information, the actual weight information of the clothes loaded in the inner drum is determined. This achieves the determination of the weight of the clothes in the inner drum by comparing the rotation information, overcoming the influence of the size of the contact area between the clothes and the impeller plate on the weighing result, and achieving the effect of weighing the clothes in the inner drum without being limited by the contact area between the clothes and the impeller plate. Attached Figure Description

[0044] To more clearly illustrate the technical solutions in this application, the accompanying drawings used 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 effort.

[0045] Figure 1 This is a schematic diagram of a scenario for the clothing weighing method provided in an embodiment of this application;

[0046] Figure 2 This is a schematic flowchart of the clothing weighing method provided in the embodiments of this application;

[0047] Figure 3 This is another schematic flowchart of the clothing weighing method provided in the embodiments of this application;

[0048] Figure 4 This is a schematic diagram of the structure of the clothing weighing device provided in the embodiments of this application;

[0049] Figure 5 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation

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

[0051] This application provides a method, apparatus, electronic device, and computer-readable storage medium for weighing clothing. Specifically, this application provides a clothing weighing apparatus suitable for electronic devices, including a washing machine.

[0052] Please see Figure 1 , Figure 1 This is a schematic diagram illustrating a scenario where a washing machine performs the clothing weighing method according to an embodiment of this application. The specific execution process of the washing machine performing the clothing weighing method is as follows:

[0053] The washing machine 10 determines the actual rotation information of the inner drum when it is rotating. The inner drum is filled with clothes to be weighed. The washing machine 10 obtains the motor parameter information of the washing machine when the inner drum is rotating. The washing machine 10 determines the reference rotation information corresponding to the rotation of the inner drum based on the motor parameter information when no clothes are filled. The washing machine 10 determines the actual weight information of the clothes to be weighed based on the actual rotation information and the reference rotation information, and outputs the actual weight information.

[0054] It should be noted that the actual rotation information refers to the rotation of the inner drum when clothes are actually weighed, while the reference rotation information refers to the rotation of the inner drum when no clothes are loaded, under the same motor parameters. This rotation information includes the geometric center position and rotation speed of the inner drum. It is understandable that the geometric center position of the inner drum shifts when it is stationary and rotating.

[0055] In this embodiment, the actual weight of the clothes in the inner drum is determined by comparing the reference rotation information of the inner drum when no clothes are loaded with the actual rotation information when clothes are loaded, based on the same motor parameter information. This achieves the determination of the weight of the clothes in the inner drum by comparing the rotation information, overcoming the influence of the size of the contact area between the clothes and the impeller plate on the weighing result, and achieving the effect of weighing the clothes in the inner drum without being limited by the contact area between the clothes and the impeller plate.

[0056] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the priority of the embodiments.

[0057] Please see Figure 2 , Figure 2This is a flowchart illustrating the clothing weighing method provided in an embodiment of this application. The clothing weighing method is applied to a washing machine, and the specific process is as follows:

[0058] 101. Determine the actual rotation information of the inner drum of the washing machine when it is rotating, and load the clothes to be weighed into the inner drum.

[0059] Understandably, the washing machine includes a top-loading washing machine, which has an inner drum, and the rotation of the inner drum drives the rotation of the clothes inside the inner drum.

[0060] It is understandable that the actual rotation information is the rotation information of the inner cylinder when it is rotating, which may include the geometric center position information of the inner cylinder and the rotation speed information of the inner cylinder.

[0061] It is understandable that the clothes to be weighed are clothes that need to be washed. By weighing these clothes, the amount of water injected into the inner drum and the amount of detergent added can be controlled, thus speeding up the washing process. Correspondingly, based on the clothing weight test phase, the clothes to be weighed can also be clean and tidy. That is, the clothes (or other items can be used to replace clothes during the test phase) are simply used as the object of measurement.

[0062] 102. Obtain the motor parameter information of the washing machine when the inner drum is rotating.

[0063] It should be noted that the motor parameters include the actual voltage input to the power supply and the output current when the inner cylinder rotates. The actual voltage and output current can be obtained by a voltmeter and an ammeter, respectively.

[0064] 103. Determine the reference rotation information corresponding to the rotation of the inner drum based on the motor parameter information when no clothes are loaded.

[0065] For example, a rated motor is adjusted based on the actual voltage and output current, and the inner drum without clothes is rotated based on the adjusted rated motor to obtain reference rotation information.

[0066] Correspondingly, this reference rotation information can also be obtained in advance based on tests with different input voltages and output currents. For example, reference rotation information corresponding to different input voltages and output currents can be obtained through testing and configured into a data table. When real-time reference rotation information corresponding to input voltages and output currents is needed, it can be retrieved from this data table.

[0067] Understandably, the rotation of the inner drum is affected differently depending on whether clothes are loaded or not. Therefore, it is possible to obtain reference rotation information for an empty inner drum when it rotates based on motor rotation parameters, and then analyze the actual rotation information for a drum with loaded clothes to obtain the weight information of the clothes in the inner drum.

[0068] 104. Determine the actual weight information of the garment to be weighed based on the actual rotation information and the reference rotation information.

[0069] Understandably, since whether or not there are clothes to be weighed in the inner drum is the only influencing variable, the influence of the clothes to be weighed on the rotation of the inner drum can be obtained by comparing the actual rotation information and the reference rotation information.

[0070] 105. Output the actual weight information.

[0071] Understandably, after obtaining the weight information of the clothes in the inner drum through weighing, this weight information can be output so that the user or the washing machine's post-processing program can know the weight of the clothes in the inner drum. For example, the washing machine's post-processing program can calculate the required water intake and detergent volume based on this actual weight information.

[0072] In summary, this application embodiment determines the actual weight of the clothes in the inner drum by comparing the reference rotation information of the inner drum when no clothes are loaded with the actual rotation information when clothes are loaded, based on the same motor parameter information. This achieves the determination of the weight of the clothes in the inner drum by comparing the rotation information, overcoming the influence of the size of the contact area between the clothes and the impeller plate on the weighing result, and achieving the effect of weighing the clothes in the inner drum without being limited by the contact area between the clothes and the impeller plate.

[0073] Optionally, the difference between the actual rotation information and the reference rotation information can be used to reflect the comparison result between the actual rotation information and the reference rotation information. Therefore, the difference between the actual rotation information and the reference rotation information can be calculated, and the actual weight information of the garment to be weighed can be obtained based on the mapping relationship between the difference and the weight information. That is, optionally, in some embodiments of this application, the step "determining the actual weight information of the garment to be weighed based on the actual rotation information and the reference rotation information" includes:

[0074] The difference between the actual rotation information and the reference rotation information is calculated to obtain the rotation offset value;

[0075] Obtain a mapping relationship set, which contains the correspondence between preset rotation offset values ​​and preset weight information;

[0076] Based on the rotation offset value, the target rotation offset value is determined from the preset rotation offset values ​​in the mapping relationship set;

[0077] The preset weight information corresponding to the target rotation offset value in the mapping relationship set is used as the actual weight information of the clothing to be weighed.

[0078] In this embodiment of the application, the mapping relationship set is established in advance through a preliminary experiment. For example, the correspondence between rotation offset value and weight information is obtained through the preliminary experiment, and the mapping relationship set is established based on the correspondence. Accordingly, the rotation offset value located in the mapping relationship set is used as the preset rotation offset value, and the weight information located in the mapping relationship set is used as the preset weight information.

[0079] Understandably, by obtaining a set of mapping relationships through preliminary experiments, the weight information of the clothes in the inner drum can be quickly obtained after calculating the rotation offset value between the actual rotation information and the reference rotation information, thus improving the efficiency of generating weighing information.

[0080] The rotation offset value reflects the difference in rotation information of the washing machine's inner drum when clothes are loaded and when no clothes are loaded. Since the inner drum contains actual rotation information at multiple moments during rotation, comparing the actual rotation information at multiple moments with reference rotation information can improve the accuracy of the rotation offset value calculation. Optionally, in some embodiments of this application, the actual rotation information includes at least one moment of the inner drum's rotation. The step "calculating the difference between the actual rotation information and the reference rotation information to obtain the rotation offset value" includes:

[0081] For each moment of actual rotation information, the difference between the actual rotation information and the reference rotation information is calculated to obtain the rotation offset value at that moment.

[0082] The average value of the rotation offset at each of the aforementioned times is taken as the rotation offset value.

[0083] It is understandable that the accuracy of the rotation offset value can be improved by using the average of the rotation offset values ​​at various moments during the rotation of the inner cylinder.

[0084] Optionally, in this embodiment, the actual rotation information includes the geometric center position information of the inner drum. The position of the geometric center point of the inner drum differs depending on whether clothes are loaded or not. For example, the more clothes loaded and the greater their weight, the greater the difference in the position information of the geometric center point of the inner drum. Therefore, the weight information of the clothes in the inner drum can be analyzed by calculating the difference in the geometric center position information. That is, optionally, in some embodiments of this application, the actual rotation information includes the geometric center position information of the inner drum. The step "determining the actual rotation information of the inner drum of the washing machine when it rotates" includes:

[0085] Based on the geometric center point of the inner drum in its stationary state, a first auxiliary point is determined from the drum cover of the inner drum that is on the same vertical line as the geometric center point in its stationary state, and a second auxiliary point is determined from the washing machine that is on the same horizontal line as the geometric center point in its stationary state.

[0086] When the inner drum of the washing machine rotates, the distance between the geometric center point of the rotation state and the first point of the second auxiliary point is determined by the triangle formed by the geometric center point of the inner drum during rotation, the first auxiliary point, and the second auxiliary point.

[0087] Obtain the second point distance between the geometric center point of the static state and the second auxiliary point;

[0088] The geometric center position information of the inner cylinder is determined based on the distance between the first point and the distance between the second point.

[0089] In this method, triangles are formed by connecting points, and the distance or length of the connecting lines can be calculated using the characteristics of triangles.

[0090] It is understandable that the geometric center point in the static state is the geometric center point of the inner cylinder in the static state, and the geometric center point in the rotating state is the geometric center point of the inner cylinder in the rotating state. The position information of the geometric center point in the rotating state is the position information of the geometric center of the inner cylinder, which is the center point of the cavity of the inner cylinder.

[0091] By constructing a triangle based on the positional relationships between points on the washing machine, the distance between points can be calculated based on the characteristics of the triangle. For example, when the inner drum is stationary, the geometric center point of the stationary inner drum and the center of the inner drum lid (the first auxiliary point) are on the same vertical line. Similarly, a second auxiliary point on the washing machine that is on the same horizontal line as the geometric center point can be found. For example, a second auxiliary point that is horizontal to the geometric center point can be found on the linkage switch lever of the washing machine. Thus, a right triangle can be obtained through the stationary geometric center point, the first auxiliary point, and the second auxiliary point.

[0092] As the inner cylinder rotates, the geometric center point of the inner cylinder shifts position during rotation. That is, the position of the geometric center point in the rotating state is offset from that in the stationary state. Therefore, multiple triangles can be obtained based on the lines connecting the geometric center point in the rotating state with the first auxiliary point, the second auxiliary point, and the geometric center point in the stationary state. The rotational offset value between the geometric center point in the rotating state and the geometric center point in the stationary state can be obtained by calculating the distance between the points.

[0093] For example, the stationary geometric center point, the rotating geometric center point, and the second auxiliary point can be fuzzily considered as lying on a straight line. The distance between the rotating geometric center point and the second auxiliary point is calculated using the coordinates of the second auxiliary point, the stationary geometric center point, and the first auxiliary point, as well as the angles between these points. This first-point distance is then used to calculate the distance between the rotating geometric center point and the stationary geometric center point. Finally, combining this distance with the position information of the stationary geometric center point, the position information of the inner cylinder's geometric center point in the rotating state is obtained. The included angles can be calculated using image recognition technology after capturing images of the inner cylinder during rotation.

[0094] Optionally, in this embodiment, the geometric center position information of the inner drum can also be determined based on the height change and position change of the inner drum edge. That is, optionally, in some embodiments of this application, the actual rotation information includes the geometric center position information of the inner drum. The step "determining the actual rotation information of the inner drum of the washing machine when it rotates" includes:

[0095] Determine the first edge position information of the inner cylinder when it is stationary, and determine the second edge position information of the inner cylinder when it is rotating;

[0096] The geometric center position information of the inner cylinder is determined based on the first edge position information, the second edge position information, and the diameter information.

[0097] It should be noted that the first edge position information and the second edge position information are both determined based on the same reference point, for example, the right edge point of the inner drum, which is the point on the inner drum that is closest to the side wall of the washing machine.

[0098] Because the internal space of the washing machine is relatively small, the offset of the inner drum when it rotates is also small. Therefore, the offset of the edge can be approximated as the offset of the geometric center point of the inner drum. The offset of the edge can be calculated using the first edge position information and the second edge position information when the inner drum is stationary and rotating. For example, the coordinate difference can be calculated using the coordinates corresponding to the first edge position information and the second edge position information to obtain the offset of the geometric center point of the inner drum. This offset, combined with the position information of the geometric center point of the inner drum when it is stationary, can be used to obtain the position information of the geometric center point of the inner drum when it is rotating.

[0099] Optionally, in this embodiment, a marker for the geometric center point of the inner drum can be configured on the inner drum. This marker has relative position information to the geometric center point of the inner drum. Therefore, by collecting the reference position information of the marker when the inner drum rotates, the geometric center position information of the inner drum when rotating can be calculated using the reference position information and the relative position information. That is, optionally, in some embodiments of this application, the actual rotation information includes the geometric center position information of the inner drum. The step "determining the actual rotation information of the inner drum of the washing machine when it rotates" includes:

[0100] At any point in time during the rotation of the inner cylinder, the reference position information of the marker on the inner cylinder is determined, and the marker and the geometric center point of the inner cylinder have relative position information.

[0101] The position information of the geometric center point is determined based on the reference position information and the relative position information;

[0102] The location information is used as the geometric center location information of the inner cylinder.

[0103] Multiple flags can be configured, and the reference position information of the flags can be obtained by analyzing the images captured when the inner cylinder is rotating. For example, the images of the inner cylinder rotating can be captured by a camera, and the reference position information of the flags in the images can be determined by image recognition technology.

[0104] Accordingly, in the embodiments of this application, the reference position information of the marker can also be obtained through a distance sensor.

[0105] It is understood that the actual rotation information may also include the rotation speed information of the inner drum, which can be calculated by recording the time it takes for the inner drum to rotate one revolution and the circumference of the inner drum. That is, optionally, in some embodiments of this application, the actual rotation information includes the rotation speed information of the inner drum, and the step "determining the actual rotation information of the inner drum of the washing machine when it is rotating" includes:

[0106] Record the time it takes for the marker on the inner cylinder to rotate one revolution;

[0107] Based on the circumference of one rotation of the flag and the rotation time, the rotation speed information of the inner drum of the washing machine is calculated.

[0108] In summary, by comparing the reference rotation information of the inner drum when no clothes are loaded with the actual rotation information when clothes are loaded, based on the same motor parameter information, the actual weight information of the clothes loaded in the inner drum can be determined. This achieves the goal of determining the weight of the clothes in the inner drum by comparing the rotation information, overcoming the influence of the size of the contact area between the clothes and the impeller plate on the weighing result, and achieving the effect of weighing clothes in the inner drum without being limited by the contact area between the clothes and the impeller plate.

[0109] By using the geometric center position information and rotation speed information of the inner drum as the actual rotation information of the inner drum, the weight of clothes in the inner drum can be analyzed by the changes in geometric center position and rotation speed. By using the position information of the first auxiliary point, the second auxiliary point, and the marker position that are positionally related to the geometric center point of the inner drum in the washing machine, the geometric center position information of the inner drum during rotation can be obtained.

[0110] Please see Figure 3 As shown, Figure 3 This is another flowchart illustrating the clothing weighing method provided in this application embodiment, specifically:

[0111] 201. The microcontroller unit of the washing machine drives the inner drum of the washing machine to rotate, and the inner drum is filled with clothes to be weighed;

[0112] 202. The microcontroller unit of the washing machine collects the geometric center position information of the inner drum when the clothes to be weighed are inserted and the drum is rotating.

[0113] 203. The microcontroller unit of the washing machine obtains the rotation speed information of the inner drum by measuring the number of times the fixed point of the inner drum passes the linkage switch baffle within a unit collection time.

[0114] 204. The washing machine's microcontroller determines the actual input voltage and output current of the power supply at this time;

[0115] 205. The microcontroller unit of the washing machine determines the reference rotation information corresponding to the actual voltage and output current by looking up the parameter table. The reference rotation information includes the reference geometric center position information and the reference rotation speed information.

[0116] The reference rotation information is the theoretical rotation information of the inner drum when it is empty, based on the actual input voltage and output current. The parameter table records the theoretical rotation information corresponding to each input voltage and output current.

[0117] 206. The microcontroller unit of the washing machine calculates the difference between the position information of the inner drum assembly center and the reference geometric center position information to obtain the geometric center position offset value;

[0118] 207. The washing machine's microcontroller calculates the difference between the inner drum's rotation speed information and the reference rotation speed information to obtain the rotation speed offset value;

[0119] 208. The microcontroller unit of the washing machine determines the actual weight information of the clothes to be weighed in the inner drum by looking up the mapping relationship set based on the geometric center position offset value and the rotation speed offset value.

[0120] 209. The washing machine's microcontroller unit outputs and displays the actual weight information.

[0121] In summary, this application embodiment determines the actual weight of the clothes in the inner drum by comparing the reference rotation information of the inner drum when no clothes are loaded with the actual rotation information when clothes are loaded, based on the same motor parameter information. This achieves the determination of the weight of the clothes in the inner drum by comparing the rotation information, overcoming the influence of the size of the contact area between the clothes and the impeller plate on the weighing result, and achieving the effect of weighing the clothes in the inner drum without being limited by the contact area between the clothes and the impeller plate.

[0122] To facilitate better implementation of the clothing weighing method of this application, this application also provides a clothing weighing device based on the above-described clothing weighing method. The meanings of the terms used are the same as in the clothing weighing method described above, and specific implementation details can be found in the description of the method embodiments.

[0123] Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of the clothing weighing device provided in an embodiment of this application, wherein the clothing weighing device is applied to a washing machine, and the device can be specifically as follows:

[0124] The actual information determination module 301 is used to determine the actual rotation information of the inner drum of the washing machine when it is rotating, and the inner drum is filled with clothes to be weighed;

[0125] The parameter information acquisition module 302 is used to acquire the motor parameter information of the washing machine when the inner drum is rotating;

[0126] Reference information determination module 303 is used to determine reference rotation information corresponding to the rotation of the inner drum based on the motor parameter information when no clothes are loaded;

[0127] The weight information determination module 304 is used to determine the actual weight information of the garment to be weighed based on the actual rotation information and the reference rotation information.

[0128] The weight information output module 305 is used to output the actual weight information.

[0129] Optionally, in some embodiments of this application, the weight information determination module 304 includes:

[0130] The calculation unit is used to calculate the difference between the actual rotation information and the reference rotation information to obtain the rotation offset value;

[0131] The first acquisition unit is used to acquire a mapping relationship set, which contains the correspondence between a preset rotation offset value and preset weight information;

[0132] The first determining unit is used to determine the target rotation offset value from the preset rotation offset values ​​of the mapping relationship set based on the rotation offset value;

[0133] The second determining unit is used to take the preset weight information corresponding to the target rotation offset value in the mapping relationship set as the actual weight information of the clothing to be weighed.

[0134] In some embodiments of this application, the actual rotation information includes at least one moment of rotation of the inner cylinder, and the calculation unit includes:

[0135] The first calculation subunit is used to calculate the difference between the actual rotation information and the reference rotation information for each moment, and obtain the rotation offset value at that moment.

[0136] The second calculation subunit is used to take the average value of the rotation offset values ​​at each of the aforementioned times as the rotation offset value.

[0137] In some embodiments of this application, the actual rotation information includes the geometric center position information of the inner cylinder, and the actual information determination module 301 includes:

[0138] The third determining unit is used to determine, based on the geometric center point of the inner drum in its static state when it is stationary, a first auxiliary point on the drum cover that is on the same vertical line as the geometric center point in its static state, and a second auxiliary point on the washing machine that is on the same horizontal line as the geometric center point in its static state.

[0139] The fourth determining unit is used to determine the distance between the first point of the rotation state geometric center point and the second auxiliary point by means of a triangle formed by the rotation state geometric center point of the inner drum, the first auxiliary point and the second auxiliary point when the inner drum of the washing machine rotates.

[0140] The second acquisition unit is used to acquire the second point distance between the geometric center point of the static state and the second auxiliary point;

[0141] The fifth determining unit is used to determine the geometric center position information of the inner cylinder based on the distance between the first point and the distance between the second point.

[0142] In some embodiments of this application, the actual rotation information includes the geometric center position information of the inner cylinder, and the actual information determination module 301 includes:

[0143] A position information determination unit is used to determine the first edge position information of the inner cylinder when it is stationary, and to determine the second edge position information of the inner cylinder when it is rotating;

[0144] The first actual information determination unit is used to determine the inner cylinder geometric center position information of the inner cylinder based on the first edge position information and the second edge position information.

[0145] In some embodiments of this application, the actual rotation information includes the geometric center position information of the inner cylinder, and the actual information determination module 301 includes:

[0146] A reference position determination unit is used to determine the reference position information of a marker on the inner cylinder at any point in time during the rotation of the inner cylinder, wherein the marker has relative position information with respect to the geometric center point of the inner cylinder.

[0147] A geometric center position determination unit is used to determine the position information of the geometric center point based on the reference position information and the relative position information;

[0148] The second actual information determination unit is used to use the position information as the geometric center position information of the inner cylinder.

[0149] In some embodiments of this application, the actual rotation information includes the inner cylinder rotation speed information, and the actual information determination module 301 includes:

[0150] A recording unit is used to record the time it takes for the marker on the inner cylinder to rotate one revolution.

[0151] The third actual information determination unit is used to calculate the inner drum rotation speed information of the washing machine when the inner drum rotates based on the circumference of one revolution of the flag position and the revolution time.

[0152] In this embodiment, the actual information determination module 301 first determines the actual rotation information of the inner drum of the washing machine when it is rotating, with clothes to be weighed loaded in the inner drum. Then, the parameter information acquisition module 302 acquires the motor parameter information of the washing machine when the inner drum is rotating. Subsequently, the reference information determination module 303 determines the reference rotation information corresponding to the rotation of the inner drum based on the motor parameter information when no clothes are loaded. Then, the weight information determination module 304 determines the actual weight information of the clothes to be weighed based on the actual rotation information and the reference rotation information. Finally, the weight information output module 305 outputs the actual weight information.

[0153] In this embodiment, the actual weight of the clothes in the inner drum is determined by comparing the reference rotation information of the inner drum when no clothes are loaded with the actual rotation information when clothes are loaded, based on the same motor parameter information. This achieves the determination of the weight of the clothes in the inner drum by comparing the rotation information, overcoming the influence of the size of the contact area between the clothes and the impeller plate on the weighing result, and achieving the effect of weighing the clothes in the inner drum without being limited by the contact area between the clothes and the impeller plate.

[0154] In addition, this application also provides an electronic device, such as Figure 5 As shown, it illustrates the structural diagram of the electronic device involved in this application, specifically:

[0155] The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will understand that... Figure 5 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:

[0156] The processor 401 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 402, and by calling data stored in the memory 402, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 401.

[0157] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, 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 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0158] The electronic device also includes a power supply 403 that supplies power to the various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 403 may also include one or more DC or AC power supplies, recharging systems, power equipment debugging circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0159] The electronic device may also include an input unit 404, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0160] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 402 according to the following instructions, and the processor 401 runs the applications stored in the memory 402, thereby implementing the steps in any of the clothing weighing methods provided in the embodiments of this application.

[0161] This application embodiment is applied to a washing machine. It determines the actual rotation information of the inner drum of the washing machine when it is rotating. The inner drum is filled with clothes to be weighed. The motor parameter information of the washing machine is obtained when the inner drum is rotating. The reference rotation information corresponding to the rotation of the inner drum based on the motor parameter information is determined when the inner drum is not filled with clothes. Based on the actual rotation information and the reference rotation information, the actual weight information of the clothes to be weighed is determined and the actual weight information is output.

[0162] Specifically, by comparing the reference rotation information of the inner drum when no clothes are loaded with the actual rotation information when clothes are loaded, based on the same motor parameter information, the actual weight information of the clothes loaded in the inner drum is determined. This achieves the determination of the weight of the clothes in the inner drum by comparing the rotation information, overcoming the influence of the size of the contact area between the clothes and the impeller plate on the weighing result, and achieving the effect of weighing the clothes in the inner drum without being limited by the contact area between the clothes and the impeller plate.

[0163] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0164] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0165] Therefore, this application provides a computer-readable storage medium storing a computer program that can be loaded by a processor to execute the steps in any of the clothing weighing methods provided in this application.

[0166] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

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

[0168] Since the instructions stored in the computer-readable storage medium can execute the steps of any of the clothing weighing methods provided in this application, the beneficial effects that any of the clothing weighing methods provided in this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.

[0169] The above provides a detailed description of a method, apparatus, electronic device, and computer-readable storage medium for weighing clothing provided in this application. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of the present invention.

[0170] It should be noted that, in the specific embodiments of this application, data related to the speed information, geometric center position information, input voltage and output current of the washing machine's inner drum during rotation are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

Claims

1. A method for weighing clothing, characterized in that, Applied to a washing machine, the method includes: Determine the actual rotation information of the inner drum of the washing machine when it is rotating, and load the clothes to be weighed into the inner drum; Obtain the motor parameter information of the washing machine when the inner drum is rotating; Determine reference rotation information based on the motor parameter information when the inner drum is not filled with clothes; The actual weight of the garment to be weighed is determined based on the actual rotation information and the reference rotation information. Output the actual weight information; The actual rotation information includes the geometric center position information of the inner drum. Determining the actual rotation information of the inner drum of the washing machine during rotation includes: Based on the geometric center point of the inner drum in its stationary state, a first auxiliary point is determined from the drum cover of the inner drum that is on the same vertical line as the geometric center point in its stationary state, and a second auxiliary point is determined from the washing machine that is on the same horizontal line as the geometric center point in its stationary state. When the inner drum of the washing machine rotates, the distance between the geometric center point of the rotation state and the first point of the second auxiliary point is determined by the triangle formed by the geometric center point of the inner drum during rotation, the first auxiliary point, and the second auxiliary point. Obtain the second point distance between the geometric center point of the static state and the second auxiliary point; The geometric center position information of the inner cylinder is determined based on the distance between the first point and the distance between the second point.

2. The method for weighing clothing according to claim 1, characterized in that, The step of determining the actual weight information of the garment to be weighed based on the actual rotation information and the reference rotation information includes: The difference between the actual rotation information and the reference rotation information is calculated to obtain the rotation offset value; Obtain a mapping relationship set, which contains the correspondence between preset rotation offset values ​​and preset weight information; Based on the rotation offset value, the target rotation offset value is determined from the preset rotation offset values ​​in the mapping relationship set; The preset weight information corresponding to the target rotation offset value in the mapping relationship set is used as the actual weight information of the clothing to be weighed.

3. The method for weighing clothing according to claim 2, characterized in that, The inner cylinder contains actual rotation information at multiple moments during rotation. Calculating the difference between the actual rotation information and the reference rotation information to obtain the rotation offset value includes: For each moment of actual rotation information, the difference between the actual rotation information and the reference rotation information is calculated to obtain the rotation offset value at that moment. The average value of the rotation offset at each of the aforementioned times is taken as the rotation offset value.

4. The method for weighing clothing according to claim 1, characterized in that, The actual rotation information includes the inner drum rotation speed information. Determining the actual rotation information of the inner drum of the washing machine during rotation includes: Record the time it takes for the marker on the inner cylinder to rotate one revolution; Based on the circumference of one rotation of the flag and the rotation time, the rotation speed information of the inner drum of the washing machine is calculated.

5. A garment weighing device, characterized in that, Applied to a washing machine, the device includes: The actual information determination module is used to determine the actual rotation information of the inner drum of the washing machine when it is rotating, and the inner drum is filled with clothes to be weighed; The parameter information acquisition module is used to acquire the motor parameter information of the washing machine when the inner drum is rotating; The reference information determination module is used to determine the reference rotation information corresponding to the rotation of the inner drum based on the motor parameter information when no clothes are loaded. The weight information determination module is used to determine the actual weight information of the garment to be weighed based on the actual rotation information and the reference rotation information. The weight information output module is used to output the actual weight information; The actual rotation information includes the geometric center position information of the inner drum. Determining the actual rotation information of the inner drum of the washing machine during rotation includes: Based on the geometric center point of the inner drum in its stationary state, a first auxiliary point is determined from the drum cover of the inner drum that is on the same vertical line as the geometric center point in its stationary state, and a second auxiliary point is determined from the washing machine that is on the same horizontal line as the geometric center point in its stationary state. When the inner drum of the washing machine rotates, the distance between the geometric center point of the rotation state and the first point of the second auxiliary point is determined by the triangle formed by the geometric center point of the inner drum during rotation, the first auxiliary point, and the second auxiliary point. Obtain the second point distance between the geometric center point of the static state and the second auxiliary point; The geometric center position information of the inner cylinder is determined based on the distance between the first point and the distance between the second point.

6. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the garment weighing method as described in any one of claims 1-4.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the clothing weighing method as described in any one of claims 1-4.