Weighing methods, devices, and garment processing equipment
By collecting the current values when the washing machine drum accelerates and rotates at a constant speed, and calculating the relative current value to determine the load weight, the problem of large error in washing machine load weight identification is solved, and higher accuracy and stable load weight calculation are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- XIAOMI TECH (WUHAN) CO LTD
- Filing Date
- 2024-12-30
- Publication Date
- 2026-06-30
AI Technical Summary
In existing technologies, washing machines suffer from large errors and poor stability when identifying load weight. This is mainly due to the load eccentricity during the drum speed ramp-up phase, which causes severe oscillations in the electrical signal and results in a large cumulative error.
The system collects current values during drum acceleration and constant speed rotation, and calculates the relative current values to determine the load weight, thereby reducing accumulated errors and improving calculation accuracy and stability.
By performing univariate current calculations during the drum speed ramp-up and high-speed uniform operation phases, the correlation and linearity between current input and load weight are increased, errors are reduced, and the accuracy and stability of load weight calculation are improved.
Smart Images

Figure CN122304127A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of laundry equipment technology, and in particular to a weighing method, apparatus and garment processing equipment for garment processing. Background Technology
[0002] As people's living standards improve, consumers increasingly demand that washing machines can intelligently and automatically identify load information during operation, and then automatically set the most suitable washing parameters for the current clothes, such as washing temperature, spin speed, and rinsing speed. Among the load information, weight has a high correlation with the above washing parameters, and can directly affect the final washing effect. Therefore, how to accurately identify the load weight is the foundation of intelligent washing machines.
[0003] Currently, the method for identifying load weight is to calculate the load weight based on the cumulative power during the drum speed ramp-up phase. This method requires complex calculations of the cumulative power, derived from four inputs: Q-axis current, Q-axis voltage, D-axis current, and D-axis voltage. However, due to load eccentricity during the drum speed ramp-up phase, the electrical signal oscillates violently, resulting in poor stability. Furthermore, using too many electrical signal measurements can lead to significant cumulative errors, ultimately causing inaccuracies in the final weighing result. Summary of the Invention
[0004] This disclosure provides a weighing method, apparatus, and garment processing equipment to solve problems in related technologies, increase the correlation and stability between current data and load weight, reduce cumulative errors, and improve the accuracy of calculation results.
[0005] A first aspect of this disclosure provides a weighing method for a garment processing device, the method comprising:
[0006] A first current and a second current are collected, wherein the first current is the current when the drum accelerates, and the second current is the current when the drum rotates at a constant speed after acceleration;
[0007] Determine the relative value of the current based on the first current and the second current;
[0008] The corresponding load weight is determined based on the relative value of the current.
[0009] In some embodiments, the acquisition of the first current and the second current includes:
[0010] The motor of the garment processing device is controlled to accelerate from a first speed to a second speed, and the first current during the acceleration period is collected according to a preset collection cycle;
[0011] The motor is controlled to run at the second speed, and the second current during operation is collected according to the preset collection period.
[0012] In some embodiments, the step of collecting the first current during the acceleration period according to a preset collection cycle includes:
[0013] The first Q-axis current during the acceleration period is collected according to the preset collection cycle;
[0014] The second current during operation, acquired according to the preset acquisition period, includes:
[0015] The second Q-axis current during operation is collected according to the preset acquisition period.
[0016] In some embodiments, before determining the relative value of the currents based on the first current and the second current, the method further includes:
[0017] The first current and the second current are preprocessed respectively to obtain the average value of the first current and the average value of the second current;
[0018] Determining the relative value of the current based on the first current and the second current includes:
[0019] The relative value of the current is determined based on the first average current value and the second average current value.
[0020] In some embodiments, the preprocessing of the first current and the second current to obtain the average value of the first current and the average value of the second current includes:
[0021] The first current and the second current are smoothed respectively to obtain the first pre-processed current and the second pre-processed current;
[0022] The mean smoothing calculations are performed on the first preprocessed current and the second preprocessed current respectively to obtain the mean value of the first current and the mean value of the second current.
[0023] In some embodiments, determining the corresponding load weight based on the relative current value includes:
[0024] The load weight of the clothing is determined based on the preset mapping relationship between the relative value of the current and the load weight.
[0025] In some embodiments, determining the corresponding load weight based on the relative current value includes:
[0026] The relative value of the current is input into a pre-trained weight calculation model to calculate the load weight of the clothing.
[0027] In some embodiments, the training method of the weight calculation model includes:
[0028] The first training current and the second training current of the same model are obtained, wherein the first training current is the training current when the drum is accelerated, and the second training current is the training current when the drum rotates at a constant speed after acceleration.
[0029] The relative value of the training current is determined based on the first training current and the second training current;
[0030] The weight calculation model is trained based on the calibrated training load weight and the relative value of the training current to obtain a trained weight calculation model.
[0031] A second aspect of this disclosure provides a garment processing apparatus, the apparatus comprising:
[0032] The acquisition unit is used to acquire a first current and a second current, wherein the first current is the current when the drum accelerates, and the second current is the current when the drum rotates at a constant speed after acceleration.
[0033] The first calculation unit is used to determine the relative value of the current based on the first current and the second current;
[0034] The second calculation unit is used to determine the corresponding load weight based on the relative value of the current.
[0035] In some embodiments, the acquisition unit is further configured to:
[0036] The motor of the garment processing device is controlled to accelerate from a first speed to a second speed, and the first current during the acceleration period is collected according to a preset collection cycle;
[0037] The motor is controlled to run at the second speed, and the second current during operation is collected according to the preset collection period.
[0038] The acquisition unit is also used for:
[0039] The first Q-axis current during the acceleration period is collected according to the preset collection cycle;
[0040] The second Q-axis current during operation is collected according to the preset acquisition period.
[0041] In some embodiments, the apparatus further includes:
[0042] The processing unit is configured to preprocess the first current and the second current respectively before determining the relative value of the current based on the first current and the second current to obtain the first current average value and the second current average value.
[0043] The first calculation unit is further configured to determine the relative value of the current based on the first average current value and the second average current value.
[0044] In some embodiments, the processing unit is further configured to:
[0045] The first current and the second current are smoothed respectively to obtain the first pre-processed current and the second pre-processed current;
[0046] The mean smoothing calculations are performed on the first preprocessed current and the second preprocessed current respectively to obtain the mean value of the first current and the mean value of the second current.
[0047] In some embodiments, the second calculation unit is further configured to determine the load weight of the clothing based on a preset mapping relationship between the relative value of the current and the load weight.
[0048] In some embodiments, the second calculation unit is further configured to input the relative value of the current into a pre-trained weight calculation model for calculation to obtain the load weight of the clothing.
[0049] In some embodiments, the apparatus further includes a training unit for:
[0050] The first training current and the second training current of the same model are obtained, wherein the first training current is the training current when the drum is accelerated, and the second training current is the training current when the drum rotates at a constant speed after acceleration.
[0051] The relative value of the training current is determined based on the first training current and the second training current;
[0052] The weight calculation model is trained based on the calibrated training load weight and the relative value of the training current to obtain a trained weight calculation model.
[0053] A third aspect of this disclosure provides a garment processing apparatus, 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, the instructions being executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect of this disclosure.
[0054] A fourth aspect of this disclosure provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to perform the methods described in the first aspect of this disclosure.
[0055] A fifth aspect of this disclosure provides a chip including one or more interfaces and one or more processors; the interfaces are configured to receive signals from the memory of an electronic device and send signals to the processors, the signals including computer instructions stored in the memory, which, when executed by the processor, cause the electronic device to perform the methods described in the first aspect of this disclosure.
[0056] In summary, the weighing method for the garment processing equipment proposed in this disclosure includes collecting a first current and a second current, wherein the first current is the current during drum acceleration, and the second current is the current during the drum's uniform rotation after acceleration. A relative value of the current is determined based on the first current and the second current, and the corresponding load weight is determined based on the relative value of the current. This disclosure's solution calculates the relative current by analyzing the single-variable current during the drum's speed increase phase and the high-speed uniform operation phase, thereby increasing the correlation between the current input and the load weight and reducing the cumulative error caused by multi-variable measurements. Furthermore, calculating the corresponding load weight using the relative current value increases the linearity between the current input and the load weight, improving both calculation accuracy and the stability of the calculation method.
[0057] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0058] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.
[0059] Figure 1 This is a structural framework diagram of a garment processing device provided in an embodiment of the present disclosure;
[0060] Figure 2 A flowchart illustrating a weighing method for a garment processing device provided in this embodiment of the disclosure;
[0061] Figure 3 A flowchart illustrating another weighing method for a garment processing device provided in this embodiment of the present disclosure;
[0062] Figure 4 A flowchart illustrating another weighing method for a garment processing device provided in this embodiment of the present disclosure;
[0063] Figure 5 This is a schematic diagram of the structure of a weighing device for a garment processing equipment provided in an embodiment of the present disclosure;
[0064] Figure 6 A schematic diagram of the structure of a weighing device for another garment processing apparatus provided in this embodiment of the present disclosure;
[0065] Figure 7 This is a schematic diagram of the structure of a garment processing device provided in an embodiment of the present disclosure;
[0066] Figure 8 This is a schematic diagram of the structure of a chip provided in an embodiment of the present disclosure. Detailed Implementation
[0067] Embodiments of this disclosure are described in detail below. Examples of these embodiments are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this disclosure, and should not be construed as limiting this disclosure.
[0068] As people's living standards improve, consumers increasingly demand that garment processing equipment can intelligently and automatically identify load information during operation, and then automatically set the most suitable washing parameters for the current clothes, such as washing temperature, spin speed, and rinsing speed. Among the load information, weight has a high correlation with the above washing parameters, and can directly affect the final washing effect. Therefore, how to accurately identify the load weight is the foundation of intelligent garment processing equipment.
[0069] Currently, the method for identifying load weight is to calculate the load weight based on the cumulative power during the drum speed ramp-up phase. This method requires complex calculations of the cumulative power, derived from four inputs: Q-axis current, Q-axis voltage, D-axis current, and D-axis voltage. However, due to load eccentricity during the drum speed ramp-up phase, the electrical signal oscillates violently, resulting in poor stability. Furthermore, using too many electrical signal measurements can lead to significant cumulative errors, ultimately causing inaccuracies in the final weighing result.
[0070] Therefore, to address the problems existing in related technologies, this disclosure proposes a weighing method for a garment processing device. This method involves collecting a first current and a second current, where the first current is the current during drum acceleration, and the second current is the current during the drum's uniform rotation after acceleration. A relative value of the currents is determined based on the first and second currents, and the corresponding load weight is determined based on this relative value. This method not only reduces accumulated errors but also improves calculation accuracy and the stability of the calculation method and results.
[0071] This disclosure is not exhaustive, but merely illustrative of some embodiments, and is not intended to limit the scope of protection of this disclosure. Unless otherwise specified, each step in a particular embodiment can be implemented as an independent embodiment, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a particular embodiment can also be implemented as an independent embodiment, and the order of the steps in a particular embodiment can be arbitrarily interchanged. Furthermore, the optional implementation methods in a particular embodiment can be arbitrarily combined; moreover, the embodiments can be arbitrarily combined, for example, some or all steps of different embodiments can be arbitrarily combined, and a particular embodiment can be arbitrarily combined with the optional implementation methods of other embodiments.
[0072] In each of the disclosed embodiments, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions of the embodiments are consistent and can be referenced by each other. Technical features in different embodiments can be combined to form new embodiments based on their inherent logical relationships.
[0073] The terminology used in the embodiments of this disclosure is for the purpose of describing particular embodiments only and is not intended to limit the scope of this disclosure.
[0074] In this embodiment of the disclosure, unless otherwise stated, elements expressed in the singular form, such as "a," "an," "the," "the," "the," "the," "the," "the," "this," etc., can mean "one and only one," or "one or more," "at least one," etc. For example, when using articles such as "a," "an," "the," etc. in translation, the noun following the article can be understood as either a singular expression or a plural expression.
[0075] In some embodiments, the terms “in response to…”, “in response to determining…”, “in the case of…”, “when…”, “if…”, “if…”, etc., can be used interchangeably.
[0076] In some embodiments, the terms “greater than,” “greater than or equal to,” “not less than,” “more than,” “more than or equal to,” “not less than,” “higher than,” “higher than or equal to,” “not lower than,” and “above” can be used interchangeably, as can the terms “less than,” “less than or equal to,” “not greater than,” “less than,” “less than or equal to,” “not more than,” “lower than,” “lower than or equal to,” “not higher than,” and “below”.
[0077] The prefixes such as "first" and "second" in the embodiments of this disclosure are only for distinguishing different descriptive objects and do not constitute restrictions on the position, order, priority, number or content of the descriptive objects. For the description of the descriptive objects, please refer to the description in the claims or the context of the embodiments. The use of prefixes should not constitute unnecessary restrictions.
[0078] In the embodiments disclosed herein, "multiple" refers to two or more.
[0079] In the embodiments disclosed herein, terms such as “import”, “input”, and “read in” can be used interchangeably.
[0080] In some embodiments, devices, etc., can be interpreted as physical or virtual, and their names are not limited to the names recorded in the embodiments. Terms such as “device”, “equipment”, “circuit”, “network element”, “node”, “function”, “unit”, “section”, “system”, “network”, “chip”, “chip system”, “entity”, and “subject” can be used interchangeably.
[0081] In some embodiments, the terms "terminal", "terminal device", "user equipment (UE)", "user terminal", "mobile station (MS)", "mobile terminal (MT)", "subscriber station", "mobile unit", "subscriber unit", "wireless unit", "remote unit", "mobile device", "wireless device", "wireless communication device", "remote device", "mobile subscriber station", "access terminal", "mobile terminal", "wireless terminal", "remote terminal", "handset", "user agent", "mobile client", and "client" can be used interchangeably.
[0082] This disclosure provides a structural framework diagram of a garment processing device, such as... Figure 1 As shown, the garment processing equipment includes a controller, a motor, and a data acquisition device. The motor drives the rollers of the garment processing equipment to rotate, the data acquisition device collects the motor current parameters, and the controller controls the motor to operate according to a predetermined logic.
[0083] Figure 2 This is a flowchart illustrating a weighing method for a garment processing device provided in an embodiment of this disclosure. This method can be applied to various application scenarios, such as garment processing devices (e.g., household washing machines, commercial washing machines, multi-drum washing machines), and can be executed by a garment processing device with integrated data processing capabilities or a processor within the garment processing device, or by other garment processing devices capable of calculating load weight and having a motor-driven load rotation function. This disclosure does not limit the scope of the application. Figure 2 As shown, the weighing method of the garment processing equipment includes steps 101-103.
[0084] Step 101: Collect the first current and the second current, wherein the first current is the current when the drum accelerates, and the second current is the current when the drum rotates at a constant speed after acceleration.
[0085] In the stand-alone washing mode of the garment processing equipment, after the clothes to be washed are put into the garment processing equipment and the garment processing equipment is started, the garment processing equipment needs to go through two speed processes controlled by the motor. The first speed process is called the climbing stage, and the second speed process is called the high-speed constant speed operation stage.
[0086] In practical applications, the garment processing equipment responds to the start command by having the controller send a start command to the motor and issue a first speed that the motor needs to reach. The motor accelerates to the first speed based on the start command, and this process is the climbing phase. After the controller detects that the motor has reached the first speed, it continues to send a command to the motor to continue to increase the speed to a second speed (the second speed is greater than the first speed). The motor responds to the start command to reach the second speed and runs at the second speed, which is the high-speed constant speed operation phase.
[0087] The data acquisition device collects the first current of multiple motors during the motor's climbing phase and the second current of multiple motors during the motor's high-speed, constant-speed operation phase. Specifically, this disclosure does not limit the specific type of data acquisition device or the number of first and second currents collected.
[0088] Step 102: Determine the relative value of the current based on the first current and the second current.
[0089] The purpose of calculating the relative value of the current in this embodiment is to introduce the first current during the motor climbing phase and calculate the relative value of the first current during the motor climbing phase and the second current during the high-speed uniform operation phase, thereby increasing the correlation of the calculated load weight, reducing the cumulative error, and thus improving the accuracy and stability of the calculation of the load weight of clothing.
[0090] Step 103: Determine the corresponding load weight based on the relative value of the current.
[0091] In one implementation of this disclosure, a trained calculation model can be used to calculate the load weight, with the relative current value as input to the model to obtain the corresponding load weight. In another implementation, the load weight can be calculated using a fitted linear equation, with the relative current value as the independent variable to determine the dependent variable, the load weight. Alternatively, the load weight can be determined through the mapping relationship between the relative current value and the load weight. Specifically, this disclosure does not limit the method for calculating the load weight.
[0092] According to the weighing method for the garment processing equipment proposed in this disclosure, the method includes collecting a first current and a second current, wherein the first current is the current during drum acceleration, and the second current is the current during the drum's uniform rotation after acceleration. A relative value of the current is determined based on the first current and the second current, and the corresponding load weight is determined based on the relative value of the current. This disclosure's solution calculates the relative current by analyzing the single-variable current during the drum's speed ramp-up phase and the high-speed uniform operation phase, thereby increasing the correlation between the current input and the load weight and reducing the cumulative error caused by multi-variable measurements. Furthermore, calculating the corresponding load weight using the relative current value increases the linearity between the current input and the load weight, improving both calculation accuracy and the stability of the calculation results.
[0093] Figure 3 A flowchart of a weighing method for a garment processing device proposed in this disclosure is further shown. Based on Figure 2 The illustrated embodiment further explains step 101. Figure 3 This may include the following steps:
[0094] Step 201: Control the motor of the clothing processing device to accelerate from the first speed to the second speed, and collect the first current during the acceleration period according to the preset collection cycle.
[0095] The first current described in this embodiment can be a first Q-axis current, and the second current can be a second Q-axis current, or the first current can be a first D-axis current and the second current can be a second D-axis current, and the specific current is not limited.
[0096] In practical applications, since the first Q-axis current and the second Q-axis current are more stable than the first D-axis current and the second D-axis current, the smaller the error of the relative value of the current determined by the first Q-axis current and the second Q-axis current, the more accurate the final determined load weight will be. Therefore, the following embodiment will be described using the first current as the first Q-axis current and the second current as the second Q-axis current.
[0097] However, this method is not intended to limit the first current to be only the first Q-axis current and the second current to be only the second Q-axis current. When the first current is the first D-axis current and the second current is the second D-axis current, the calculation method is the same as when the first current is the first Q-axis current and the second current is the second Q-axis current, and will not be described in detail in this embodiment.
[0098] The motor receives a first rotational speed r1 set by the processor. The motor drives the roller to accelerate from rest to the first rotational speed r1 with a first acceleration a1, and maintains this speed for a first time s1. After the processor detects that the roller has reached the first rotational speed r1 and the first time s1 has reached a preset threshold, it sends a second rotational speed r2 to the motor. The motor then drives the roller to accelerate from the first rotational speed r1 to the second rotational speed r2 with a second acceleration a2, and maintains this speed for a second time s2. The acquisition device collects the first Q-axis current I during the acceleration period from the first rotational speed r1 to the second rotational speed r2 according to a preset acquisition cycle. Q1 A total of n sets of data were collected, and the collected n sets of data are shown in formula (1):
[0099] I Q1 ={i1,i2,i3,…,i n}Formula (1)
[0100] The magnitudes of the first acceleration a1 and the second acceleration a2 described in this embodiment are related to the motor power and are not specifically limited here.
[0101] In some embodiments, the preset sampling period is an empirical value. The smaller the sampling period, the larger the amount of data collected, and the more accurate the subsequent determination of the load weight, but the more computing resources are required. Conversely, the larger the sampling period, the smaller the amount of data collected, and the lower the accuracy of the subsequent determination of the load weight, but the less computing resources are required. Therefore, when setting the sampling period, it is also necessary to set it according to the processing resources of the garment processing equipment, such as setting it to 100ms, 80ms, or 120ms, etc. The specific settings are not limited in this embodiment.
[0102] Step 202: Control the motor to run at the second speed and collect the second current during operation according to the preset collection cycle.
[0103] After the motor reaches the second speed r2, it continues to run at the second speed r2. The data acquisition device collects the second current I when the drum runs at the second speed r2 (uniform speed operation) according to the preset acquisition cycle. Q2 A total of m sets of data were collected, and the collected m sets of data are shown in formula (2):
[0104] I Q2 ={i1,i2,i3,…,i m}Formula (2)
[0105] The preset sampling period mentioned in steps 201 and 202 is set in the same way. Please refer to the detailed description of step 201.
[0106] Step 203: Preprocess the first current and the second current respectively to obtain the average value of the first current and the average value of the second current.
[0107] In this embodiment, the purpose of preprocessing the first current and the second current is to reduce the oscillation of the relative current value caused by the oscillation of the first current and the second current, which greatly increases the linearity between the relative current value and the load weight, thereby improving the accuracy and stability of the load weight calculation.
[0108] When preprocessing the first current and the second current to obtain the average value of the first current and the average value of the second current, the following methods can be used, but are not limited to:
[0109] For the first current I respectively Q1 and the second current I Q2 Smoothing is performed to obtain the first pre-processed current. and the second pretreatment current The first preprocessing current was respectively... and the second pretreatment current The mean value of the first current is obtained by performing mean smoothing calculation. and the average value of the second current
[0110] The first current I was collected respectively Q1 and the second current I Q2 Mean smoothing is performed to obtain and In some embodiments, the mean smoothing process can be determined using formula (3):
[0111]
[0112] Where k is the number of groups of n first currents I processed. Q1 and the second current I of group m Q2Regarding the window size, the value of k is not limited in this embodiment.
[0113] The first current I is obtained by formula (3). Q1 and the second current I Q2 The first pre-processing current obtained from the processing and the second pretreatment current As shown in formulas (4) and (5) below:
[0114]
[0115]
[0116] For the first pretreatment current and the second pretreatment current When performing mean smoothing calculations, formulas (6) and (7) can be used to determine the result:
[0117]
[0118] Step 204: Determine the relative value of the current based on the first average current value and the second average current value.
[0119] In some embodiments, the Q-axis relative current x is calculated as shown in Equation (8).
[0120]
[0121] First current average and the average value of the second current
[0122] Step 205: Input the relative value of the current into the pre-trained weight calculation model for calculation to obtain the load weight of the clothing.
[0123] After the weight calculation model is trained, it is written into the processor of the clothing processing device. The relative current x is used as the input of the weight calculation model, and the load weight y is output in the weight calculation model based on the preset current-weight mapping relationship.
[0124] The corresponding load weight is obtained by inputting the collected relative values of motor current into a weight calculation model that includes a current-weight mapping relationship. The motor current value I during the speed ramp-up phase is then used. Q1 A weight calculation model is introduced, and its relationship with the current value I during the high-speed phase is calculated. Q2 The relative value x of the current between the two is calculated using a single variable relative value, which increases the correlation between the input of the weight calculation model and the load weight and improves the model stability, reduces the cumulative error, and thus improves the accuracy of the load weight.
[0125] Furthermore, in this embodiment of the disclosure, the aforementioned current value (I) Q1 with I Q2 By performing averaging and mean smoothing, the oscillation of the input value of the weight calculation model is reduced compared with the existing technology, thus greatly increasing the linearity between the input of the weight calculation model and the load weight, thereby improving the accuracy and stability of the weight calculation model.
[0126] In another implementation of this disclosure, when calculating the load weight of the clothing, in addition to the method described in step 205, the load weight of the clothing can also be determined based on a preset mapping relationship between the relative current value and the load weight. Since the clothing processing equipment experiences problems such as load eccentricity during operation, causing significant fluctuations in motor parameters, this disclosure pre-sets a mapping relationship between the single-variable relative current value and the load weight. This increases the stability of the calculated relative current value and the load weight, reduces accumulated errors, and thus improves the accuracy of the load weight.
[0127] The process of presetting the mapping relationship between the relative value of the single variable current and the load weight is as follows: During the testing phase, the test data (including the calibrated relative current value and the calibrated load weight) are used to obtain the preset mapping relationship between the relative current value and the load weight of the clothing through linear fitting. This disclosure does not limit the fitting method used; any fitting method from related technologies can be employed.
[0128] like Figure 4 As shown in the embodiments of this disclosure, a method for training a weight calculation model is also provided, including:
[0129] Step 301: Obtain the first training current and the second training current of the same model, wherein the first training current is the training current when the drum is accelerated, and the second training current is the training current when the drum rotates at a constant speed after acceleration.
[0130] The purpose of obtaining the first and second training currents for the same machine model is that the motor power used by different garment processing devices (different models) may vary, therefore, the collected first and second training currents may differ. Using the first and second training currents corresponding to different models during the weight calculation model training process may cause errors in the calculated load weight. Therefore, when training the weight calculation model, the first and second training currents for the same machine model are used.
[0131] It should be noted that before the clothes are put into the clothes processing equipment, the load weight of the clothes is determined in advance. When the clothes processing equipment is running, the first training current during the roller speed climbing stage and the second training current during the high-speed uniform speed running stage are collected.
[0132] To improve the accuracy of the trained weight calculation model, N (N≥5) garment processing devices of the same model are used for training. On each garment processing device where the weight calculation model is deployed, a first training current and a second training current are collected, each with a load weight ranging from 0 to 10 kg. It should be noted that this embodiment does not limit the number of garment processing devices used for training or the specific load weight. For example, N can be greater than or equal to 10, or greater than or equal to 8, etc., and the load weight can be in the range of 3-15 kg, or the load weight can be in the range of 0-12 kg, etc.
[0133] Step 302: Determine the relative value of the training current based on the first training current and the second training current;
[0134] The calculation principle of the relative value of current used in training is the same. Figure 3 The methods shown are consistent with those described above. For specific details, please refer to the specific methods provided in the above embodiments. The embodiments disclosed herein will not be repeated here.
[0135] Step 303: Train the weight calculation model according to the calibrated training load weight and the relative value of the training current to obtain the trained weight calculation model.
[0136] Using the current data processed in step 302 as the horizontal axis and the load weight as the vertical axis, the current-weight mapping relationship is obtained by linear fitting, as shown in formula (9):
[0137] Formula (9): y = max(ax + b, 1)
[0138] Here, a and b are constants, which are determined through fitting during the training process.
[0139] In some embodiments, the value of a is [6.5-8.5] and the value of b is [3500-5200]. It should be noted that the values of a and b are related to the power of the motor. The fitted values of a and b may differ for different motor power.
[0140] Corresponding to the weighing method of the garment processing equipment described above, the present invention also proposes a garment processing equipment. Since the device embodiments of the present invention correspond to the method embodiments described above, details not disclosed in the device embodiments can be referred to in the method embodiments described above, and will not be repeated here.
[0141] Figure 5 This is a schematic diagram of the structure of a garment processing device provided in an embodiment of the present disclosure. The garment processing device includes:
[0142] The acquisition unit 41 is used to acquire a first current and a second current, wherein the first current is the current when the drum accelerates and the second current is the current when the drum rotates at a constant speed after acceleration.
[0143] The first calculation unit 42 is used to determine the relative value of the current based on the first current and the second current;
[0144] The second calculation unit 43 is used to determine the corresponding load weight based on the relative value of the current.
[0145] According to the garment processing device disclosed herein, the method includes collecting a first current and a second current, wherein the first current is the current during drum acceleration, and the second current is the current during the drum's uniform rotation after acceleration. A relative value of the current is determined based on the first current and the second current, and the corresponding load weight is determined based on the relative value of the current. The solution of this disclosure calculates the relative current by analyzing the single-variable current during the drum's speed increase phase and the high-speed uniform operation phase, thereby increasing the correlation between the current input and the load weight and reducing the cumulative error caused by multi-variable measurements. Furthermore, calculating the corresponding load weight using the relative current value increases the linearity between the current input and the load weight, improving both calculation accuracy and the stability of the calculation results.
[0146] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 6 As shown, the acquisition unit 41 is also used for:
[0147] The motor of the garment processing device is controlled to accelerate from a first speed to a second speed, and the first current during the acceleration period is collected according to a preset collection cycle;
[0148] The motor is controlled to run at the second speed, and the second current during operation is collected according to the preset collection period.
[0149] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 6 As shown, the acquisition unit 41 is also used for:
[0150] The first Q-axis current during the acceleration period is collected according to the preset collection cycle;
[0151] The second Q-axis current during operation is collected according to the preset acquisition period.
[0152] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 6 As shown, the device further includes:
[0153] Processing unit 44 is used to preprocess the first current and the second current respectively before determining the relative value of the current based on the first current and the second current to obtain the first current average value and the second current average value.
[0154] The first calculation unit 42 is further configured to determine the relative value of the current based on the first average current value and the second average current value.
[0155] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 6 As shown, the processing unit 44 is further configured to:
[0156] The first current and the second current are smoothed respectively to obtain the first pre-processed current and the second pre-processed current;
[0157] The mean smoothing calculations are performed on the first preprocessed current and the second preprocessed current respectively to obtain the mean value of the first current and the mean value of the second current.
[0158] In some embodiments, the second calculation unit 43 is further configured to determine the load weight of the clothing based on a preset mapping relationship between the relative value of the current and the load weight.
[0159] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 6 As shown, the second calculation unit 43 is used to input the relative value of the current into a pre-trained weight calculation model for calculation to obtain the load weight of the clothing.
[0160] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 6 As shown, the device further includes a training unit 45, used for:
[0161] The first training current and the second training current of the same model are obtained, wherein the first training current is the training current when the drum is accelerated, and the second training current is the training current when the drum rotates at a constant speed after acceleration.
[0162] The relative value of the training current is determined based on the first training current and the second training current;
[0163] The weight calculation model is trained based on the calibrated training load weight and the relative value of the training current to obtain a trained weight calculation model.
[0164] Since the apparatus provided in this embodiment corresponds to the methods provided in the above embodiments, the implementation of the methods is also applicable to the apparatus provided in this embodiment, and will not be described in detail in this embodiment.
[0165] The methods and apparatus provided in the embodiments of this disclosure have been described above. To implement the functions of the methods provided in the embodiments of this disclosure, the electronic device may include a hardware structure and software modules, and may implement the above functions in the form of a hardware structure, software modules, or a hardware structure plus software modules. One of the above functions may be executed in the form of a hardware structure, software modules, or a hardware structure plus software modules.
[0166] Figure 7 This is a block diagram of a garment processing apparatus 500 for implementing the weighing method of the garment processing apparatus described above, according to an exemplary embodiment.
[0167] Reference Figure 7 The garment processing device 500 may include one or more of the following components: processing component 502, memory 504, power supply component 506, multimedia component 508, audio component 510, input / output (I / O) interface 1012, sensor component 514, and communication component 516.
[0168] Processing component 502 typically controls the overall operation of garment processing device 500, including operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 502 may include one or more modules to facilitate interaction between processing component 502 and other components. For example, processing component 502 may include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502.
[0169] Memory 504 is configured to store various types of data to support the operation of the garment handling device 500. Examples of this data include instructions for any application or method operating on the garment handling device 500. Memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0170] Power supply component 506 provides power to the various components of garment handling equipment 500. Power supply component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to garment handling equipment 500.
[0171] Multimedia component 508 includes a screen that provides an output interface between garment handling device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 508 includes a front-facing camera and / or a rear-facing camera. When garment handling device 500 is in an operating mode, such as a shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0172] Audio component 510 is configured to output and / or input audio signals. For example, audio component 510 includes a microphone (MIC) configured to receive external audio signals when the garment handling device 500 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 504 or transmitted via communication component 516. In some embodiments, audio component 510 also includes a speaker for outputting audio signals.
[0173] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0174] Sensor assembly 514 includes one or more sensors for providing status assessments of various aspects of the garment handling device 500. For example, sensor assembly 514 may detect the on / off state of the garment handling device 500, the relative positioning of components such as the display and keypad of the garment handling device 500, changes in the position of the garment handling device 500 or one of its components, the presence or absence of user contact with the garment handling device 500, the orientation or acceleration / deceleration of the garment handling device 500, and temperature changes of the garment handling device 500. Sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 514 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0175] Communication component 516 is configured to facilitate wired or wireless communication between garment handling device 500 and other devices. Garment handling device 500 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, 4G LTE, 5G NR (New Radio), or combinations thereof. In one exemplary embodiment, communication component 516 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 516 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0176] In an exemplary embodiment, the garment processing device 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0177] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, which can be executed by the processor 520 of the garment processing device 500 to complete the above-described method for image processing. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0178] Embodiments of this disclosure also provide a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to perform the methods described in the above embodiments of this disclosure.
[0179] For cases where electronic devices can be chips or chip systems, see [link to relevant documentation]. Figure 8 The diagram shows the structure of the chip. Figure 8 The chip shown includes a processor 601 and an interface 602. There can be one or more processors 601, and multiple interfaces 602.
[0180] Optionally, the chip also includes a memory 603 for storing necessary computer programs and data.
[0181] Those skilled in the art will also understand that the various illustrative logical blocks and steps listed in the embodiments of this disclosure can be implemented by electronic hardware, computer software, or a combination of both. Whether such functionality is implemented in hardware or software depends on the specific application and the overall system design requirements. Those skilled in the art can implement the functionality using various methods for each specific application, but such implementation should not be construed as exceeding the scope of protection of the embodiments of this disclosure.
[0182] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0183] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0184] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of the invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which embodiments of the invention pertain.
[0185] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processing module, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (control method), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic device, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which programs can be printed, because programs can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.
[0186] It should be understood that various parts of the embodiments of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0187] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0188] Furthermore, the functional units in the various embodiments of the present invention can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc.
[0189] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A method of weighing a laundry treating apparatus, characterized by, The method includes: The first current and the second current are collected, wherein the first current is the current when the drum accelerates, and the second current is the current when the drum rotates at a constant speed after acceleration; Determine the relative value of the current based on the first current and the second current; The corresponding load weight is determined based on the relative value of the current.
2. The method according to claim 1, characterized in that, The acquisition of the first current and the second current includes: The motor of the garment processing device is controlled to accelerate from a first speed to a second speed, and the first current during the acceleration period is collected according to a preset collection cycle; The motor is controlled to run at the second speed at a constant speed, and the second current during operation is collected according to the preset collection period.
3. The method according to claim 2, characterized in that, The step of collecting the first current during the acceleration period according to the preset collection cycle includes: The first Q-axis current during the acceleration period is collected according to the preset collection cycle; The second current during operation, acquired according to the preset acquisition period, includes: The second Q-axis current during operation is collected according to the preset acquisition period.
4. The method according to any one of claims 1 to 3, characterized in that, Before determining the relative value of the currents based on the first current and the second current, the method further includes: The first current and the second current are preprocessed respectively to obtain the average value of the first current and the average value of the second current; Determining the relative value of the current based on the first current and the second current includes: The relative value of the current is determined based on the first average current value and the second average current value.
5. The method according to claim 4, characterized in that, The step of preprocessing the first current and the second current respectively to obtain the average value of the first current and the average value of the second current includes: The first current and the second current are smoothed respectively to obtain the first pre-processed current and the second pre-processed current; The mean smoothing calculations are performed on the first preprocessed current and the second preprocessed current respectively to obtain the mean value of the first current and the mean value of the second current.
6. The method according to any one of claims 1 to 3, characterized in that, The step of determining the corresponding load weight based on the relative value of the current includes: The load weight of the clothing is determined based on the preset mapping relationship between the relative value of the current and the load weight.
7. The method according to any one of claims 1 to 3, characterized in that, The step of determining the corresponding load weight based on the relative value of the current includes: The relative value of the current is input into a pre-trained weight calculation model to calculate the load weight of the clothing.
8. The method according to claim 7, characterized in that, The training method for the weight calculation model includes: The first training current and the second training current of the same model are obtained, wherein the first training current is the training current when the drum is accelerated, and the second training current is the training current when the drum rotates at a constant speed after acceleration. The relative value of the training current is determined based on the first training current and the second training current; The weight calculation model is trained based on the calibrated training load weight and the relative value of the training current to obtain a trained weight calculation model.
9. A weighing device for a garment processing equipment, characterized in that, The device includes: The acquisition unit is used to acquire a first current and a second current, wherein the first current is the current when the drum accelerates, and the second current is the current when the drum rotates at a constant speed after acceleration. The first calculation unit is used to determine the relative value of the current based on the first current and the second current; The second calculation unit is used to determine the corresponding load weight based on the relative value of the current.
10. A garment processing device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
11. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-8.
12. A chip, characterized in that, It includes one or more interfaces and one or more processors; the interfaces are used to receive signals from the memory of an electronic device and send the signals to the processors, the signals including computer instructions stored in the memory, which, when executed by the processors, cause the electronic device to perform the method of any one of claims 1-8.