Laundry treating apparatus, method of weighing, device, electronic device, and storage medium
By collecting current values in a drum washing machine and comparing the target current relative value with historical current relative values, the problem of large errors in calculating the weight of clothes in small drum scenarios is solved, and accurate identification and stability of the load weight of clothes 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 the case of a front-loading washing machine with a small drum, existing technologies have a large margin of error when calculating the weight of clothes based on motor operating parameters, making it impossible to accurately identify the load weight and affecting the washing effect.
By collecting the current values when the drum accelerates and rotates at a constant speed, the target relative current value is calculated and compared with the historical relative current value to determine the weight of the clothing load. By using the preset mapping relationship between the relative current value and the load weight, accurate weighing is achieved.
While ensuring the accuracy of historical relative current values, it eliminates errors in calculating the weight of clothing loads, improving the accuracy and stability of the calculation, and is suitable for every clothing processing device.
Smart Images

Figure CN122304128A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of laundry equipment technology, and in particular to a weighing method, apparatus, electronic device and storage medium for a garment processing device. 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 is highly correlated with the above washing parameters, and can directly affect the final washing effect. Therefore, accurately identifying the load weight is the foundation of intelligent washing machines.
[0003] Currently, the method for calculating the load weight of a large drum washing machine involves collecting motor operating parameters and inputting them into a fitted weight calculation formula set in the firmware to obtain the corresponding weight of the clothes. This calculation method is suitable for large drum scenarios where motor operating parameters and clothing weight are strongly correlated. However, for the small drum of a drum washing machine, it has a large resistance torque when empty, making the influence of changes in motor operating parameters on changes in clothing weight less significant. Therefore, in the case of a small drum washing machine, using motor operating parameters to calculate the weight of clothes results in a larger error. Summary of the Invention
[0004] This disclosure provides a weighing method and apparatus for garment processing equipment, an electronic device, a storage medium, and a chip to solve problems in related technologies. It enables the application of different historical current relative values for weighing each garment processing device, eliminating errors in garment load weight calculation while ensuring the accuracy of historical current relative values.
[0005] A first aspect of this disclosure provides a weighing method for a garment processing device, the method comprising:
[0006] The relative value of the target current is determined based on 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.
[0007] The clothing load weight of the clothing processing equipment is determined based on the target current relative value and the historical current relative value.
[0008] In some embodiments of this disclosure, determining the clothing load weight of the clothing handling device based on the target current relative value and the historical current relative value includes:
[0009] Based on the preset mapping relationship between relative current values and clothing load weight, the clothing load weight corresponding to the target relative current value is determined.
[0010] In some embodiments of this disclosure, determining the clothing load weight of the clothing handling device based on the target current relative value and the historical current relative value includes:
[0011] The historical current relative values are sorted to obtain the sorting results;
[0012] The clothing load weight of the clothing processing equipment is determined based on the target current relative value and the sorting result.
[0013] In some embodiments of this disclosure, determining the clothing load weight of the clothing processing device based on the target current relative value and the sorting result includes:
[0014] The load weight ranges are divided according to the sorting results, and the relative current magnitudes correspond to the load weight ranges.
[0015] The target load weight range is determined by matching the relative value of the target current with a preset number of load weight ranges.
[0016] In some embodiments of this disclosure, after determining the clothing load weight of the clothing handling device based on the target current relative value and historical current relative values, the method further includes:
[0017] The target current relative value is stored as the historical current relative value for the next calculation of load weight.
[0018] In some embodiments of this disclosure, determining the clothing load weight of the clothing handling device based on the target current relative value and the historical current relative value includes:
[0019] Obtain the device identifier of the garment processing equipment;
[0020] The corresponding historical current relative value is determined based on the device identifier;
[0021] The clothing load weight of the clothing processing equipment is determined based on the target current relative value and the historical current relative value.
[0022] In some embodiments of this disclosure, before determining the clothing load weight of the clothing handling device based on the target current relative value and historical current relative values, the method further includes:
[0023] The capacity information of the washing drum is determined based on the equipment identification of the garment processing equipment;
[0024] The step of determining the clothing load weight of the clothing processing equipment based on the target current relative value and the historical current relative value includes:
[0025] The clothing load weight of the clothing processing equipment is determined based on the capacity information, the target current relative value, and the historical current relative value.
[0026] In some embodiments of this disclosure, determining the clothing load weight of the clothing handling device based on the capacity information, the target current relative value, and the historical current relative value includes:
[0027] Determine the corresponding rated capacity based on the capacity information;
[0028] If the rated capacity is determined to be less than or equal to a preset capacity threshold, the clothing load weight of the clothing processing equipment is determined based on the target current relative value and the historical current relative value.
[0029] In some embodiments of this disclosure, determining the relative value of the target current based on the first current and the second current includes:
[0030] Obtain the first current and the second current;
[0031] The relative value of the target current is determined based on the first current and the second current.
[0032] In some embodiments of this disclosure, before determining the relative value of the target current based on the first current and the second current, the method further includes:
[0033] The first current and the second current are preprocessed respectively to obtain the maximum current value and the average current value;
[0034] Determining the relative value of the target current based on the first current and the second current includes:
[0035] The relative value of the current is determined based on the maximum current value and the average current value.
[0036] In some embodiments of this disclosure, the preprocessing of the first current and the second current to obtain the maximum current value and the average current value respectively includes:
[0037] The first current and the second current are smoothed respectively to obtain the first pre-processed current and the second pre-processed current;
[0038] The first preprocessed current and the second preprocessed current are respectively subjected to mean smoothing calculation to obtain the maximum value of the current and the mean value of the current.
[0039] In some embodiments of this disclosure, obtaining the first current and the second current includes:
[0040] 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;
[0041] 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.
[0042] A second aspect of this disclosure provides a weighing device for a garment processing apparatus, comprising:
[0043] The first determining unit is used to determine the relative value of the target current based on the first current and the second current, wherein the first current is the current when the drum is accelerated, and the second current is the current when the drum rotates at a constant speed after acceleration.
[0044] The second determining unit is used to determine the clothing load weight of the clothing processing equipment based on the target current relative value and the historical current relative value.
[0045] In some embodiments of this disclosure, the second determining unit is further configured to:
[0046] Based on the preset mapping relationship between relative current values and clothing load weight, the clothing load weight corresponding to the target relative current value is determined.
[0047] In some embodiments of this disclosure, the second determining unit is further configured to:
[0048] The historical current relative values are sorted to obtain the sorting results;
[0049] The clothing load weight of the clothing processing equipment is determined based on the target current relative value and the sorting result.
[0050] In some embodiments of this disclosure, the second determining unit is further configured to:
[0051] The load weight ranges are divided according to the sorting results, and the relative current magnitudes correspond to the load weight ranges.
[0052] The target load weight range is determined by matching the relative value of the target current with a preset number of load weight ranges.
[0053] In some embodiments of this disclosure, the apparatus further includes:
[0054] The storage unit is used to store the target current relative value as the historical current relative value for the next calculation of the load weight after the second determining unit determines the load weight of the clothing processing device based on the target current relative value and the historical current relative value.
[0055] In some embodiments of this disclosure, the second determining unit is further configured to:
[0056] Obtain the device identifier of the garment processing equipment;
[0057] The corresponding historical current relative value is determined based on the device identifier;
[0058] The clothing load weight of the clothing processing equipment is determined based on the target current relative value and the historical current relative value.
[0059] In some embodiments of this disclosure, the apparatus further includes:
[0060] The third determining unit is used to determine the capacity information of the washing drum based on the equipment identifier of the clothing processing equipment before the second determining unit determines the clothing load weight of the clothing processing equipment based on the target current relative value and the historical current relative value.
[0061] The second determining unit is further configured to determine the clothing load weight of the clothing processing equipment based on the capacity information, the target current relative value, and the historical current relative value.
[0062] In some embodiments of this disclosure, the second determining unit is further configured to:
[0063] Determine the corresponding rated capacity based on the capacity information;
[0064] If the rated capacity is determined to be less than or equal to a preset capacity threshold, the clothing load weight of the clothing processing equipment is determined based on the target current relative value and the historical current relative value.
[0065] In some embodiments of this disclosure, the first determining unit includes:
[0066] The acquisition module is used to acquire the first current and the second current;
[0067] A determining module is used to determine the relative value of the target current based on the first current and the second current.
[0068] In some embodiments of this disclosure, the first determining unit further includes:
[0069] The processing module is used to preprocess the first current and the second current respectively before determining the relative value of the target current based on the first current and the second current, so as to obtain the maximum current value and the average current value respectively.
[0070] The determining module is further configured to determine the relative value of the current based on the maximum current value and the average current value.
[0071] In some embodiments of this disclosure, the processing module is further configured to:
[0072] The first current and the second current are smoothed respectively to obtain the first pre-processed current and the second pre-processed current;
[0073] The first preprocessed current and the second preprocessed current are respectively subjected to mean smoothing calculation to obtain the maximum value of the current and the mean value of the current.
[0074] In some embodiments of this disclosure, the acquisition module is further configured to:
[0075] 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;
[0076] 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.
[0077] A third aspect of this disclosure provides a weighing system for a garment processing device, comprising a server and a garment processing device, wherein,
[0078] The garment processing device is used to collect a first current and a second current, and send the first current and the second current to the server, 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;
[0079] The server is configured to receive the first current and the second current sent by the clothing processing device;
[0080] The relative value of the target current is determined based on the first current and the second current;
[0081] The clothing load weight of the clothing processing equipment is determined based on the target current relative value and the historical current relative value.
[0082] A fourth aspect of this disclosure provides an electronic device 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 to enable the at least one processor to perform the methods described in the first aspect of this disclosure.
[0083] A fifth 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.
[0084] A sixth 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 processors, cause the electronic device to perform the methods described in the first aspect of this disclosure.
[0085] In summary, the weighing method for the garment processing equipment proposed in this disclosure includes determining a target current relative value based on 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 uniform rotation of the drum after acceleration. The garment load weight of the garment processing equipment is determined based on the target current relative value and historical current relative values. The target current relative value is calculated based on the collected first and second motor currents, and then compared with historical current relative values to determine the garment load weight. This method applies different historical current relative values to weigh each garment processing device, eliminating errors in garment load weight calculation while ensuring the accuracy of the historical current relative values.
[0086] 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
[0087] 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.
[0088] Figure 1 A flowchart illustrating a weighing method for a garment processing device provided in this embodiment of the disclosure;
[0089] Figure 2 A flowchart illustrating a weighing method for a garment processing device provided in this embodiment of the disclosure;
[0090] Figure 3 A flowchart illustrating a weighing method for a garment processing device provided in this embodiment of the disclosure;
[0091] Figure 4 A schematic diagram of a load weight range provided for an embodiment of this disclosure;
[0092] Figure 5 A flowchart illustrating a weighing method for a garment processing device provided in this embodiment of the disclosure;
[0093] Figure 6 A flowchart illustrating a weighing method for a garment processing device provided in this embodiment of the disclosure;
[0094] Figure 7 A flowchart illustrating a weighing method for a garment processing device provided in this embodiment of the disclosure;
[0095] Figure 8 A flowchart illustrating a weighing method for a garment processing device provided in this embodiment of the disclosure;
[0096] Figure 9 A flowchart illustrating a weighing method for a garment processing device provided in this embodiment of the disclosure;
[0097] Figure 10 A flowchart illustrating a weighing method for a garment processing device provided in this embodiment of the disclosure;
[0098] Figure 11 A flowchart illustrating a weighing method for a garment processing device provided in this embodiment of the disclosure;
[0099] Figure 12 A flowchart illustrating a weighing method for a garment processing device provided in this embodiment of the disclosure;
[0100] Figure 13 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;
[0101] Figure 14 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;
[0102] Figure 15 This is a schematic diagram of the structure of a weighing system for a garment processing device provided in an embodiment of the present disclosure;
[0103] Figure 16 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure;
[0104] Figure 17 This is a schematic diagram of the structure of a chip provided in an embodiment of the present disclosure. Detailed Implementation
[0105] 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.
[0106] 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 is highly correlated with the above washing parameters, and can directly affect the final washing effect. Therefore, accurately identifying the load weight is the foundation of intelligent washing machines.
[0107] Currently, the method for calculating the load weight of a large drum washing machine involves collecting motor operating parameters and inputting them into a fitted weight calculation formula set in the firmware to obtain the corresponding weight of the clothes. This calculation method is suitable for large drum scenarios where motor operating parameters and clothing weight are strongly correlated. However, for the small drum of a drum washing machine, it has a large resistance torque when empty, making the influence of changes in motor operating parameters on changes in clothing weight less significant. Therefore, in the case of a small drum washing machine, using motor operating parameters to calculate the weight of clothes results in a larger error.
[0108] Therefore, in order to solve the problems existing in the related technologies, this disclosure proposes a weighing method for a garment processing device, which determines a target current relative value based on 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 garment load weight of the garment processing device is determined based on the target current relative value and the historical current relative value.
[0109] This scheme calculates the target current relative value based on the collected first and second currents of the motor, and compares the current relative value with the historical current relative value to determine the weight of the clothing load. This allows for the application of different historical current relative values for weighing each clothing processing device, eliminating the error in calculating the weight of the clothing load while ensuring the accuracy of the historical current relative value.
[0110] 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.
[0111] 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.
[0112] 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.
[0113] 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.
[0114] In some embodiments, the terms “in response to…”, “in response to determining…”, “in the case of…”, “when…”, “if…”, “if…”, etc., can be used interchangeably.
[0115] 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”.
[0116] 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.
[0117] In the embodiments disclosed herein, "multiple" refers to two or more.
[0118] In the embodiments disclosed herein, terms such as “import”, “input”, and “read in” can be used interchangeably.
[0119] 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.
[0120] 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", "useragent", "mobile client", and "client" can be used interchangeably.
[0121] Figure 1 This is a flowchart illustrating a weighing method for a garment processing device provided in this disclosure. This method can be applied to various scenarios involving garment processing devices (such as household washing machines, commercial washing machines, and multi-drum washing machines). For example, it 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. Furthermore, it can also be executed by an IoT platform (such as a server) with bidirectional message communication capabilities within the garment processing device. This disclosure does not limit the scope of the method. Figure 1 As shown, the weighing method of the garment processing equipment includes steps 101-102.
[0122] Step 101: Determine the relative value of the target current based on 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.
[0123] The garment processing equipment described in this embodiment includes a main control board, a frequency converter, a direct drive motor, and a data acquisition device. The main control board controls the washing process, the frequency converter controls the motor operation, the direct drive motor drives the washing drum (roller) to rotate, and the data acquisition device collects the motor's operating parameters.
[0124] When the main control board of the garment processing equipment is set to stand-alone washing mode, after the clothes to be washed are put into the garment processing equipment and the garment processing equipment is started, the frequency converter board controls the motor to run, and the washing drum is driven to rotate by the direct drive motor. It needs to go through two speed processes. The first speed process is called the climbing stage, and the second speed process is called the high-speed constant speed operation stage.
[0125] 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 direct drive 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 direct drive 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.
[0126] The data acquisition device collects the first current of multiple sets of direct-drive motors during the motor's climbing phase, and collects the second current of multiple sets of motors during the high-speed, constant-speed operation phase of the direct-drive motors. Specifically, this disclosure does not limit the specific type of data acquisition device or the number of first and second currents collected.
[0127] The purpose of calculating the relative value of the target 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 value 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.
[0128] Step 102: Determine the clothing load weight of the clothing processing equipment based on the target current relative value and the historical current relative value.
[0129] In related technologies, the calculation method for calculating the load weight of clothing has a certain consistency in different clothing processing equipment of the same model. However, for the scenario of small tube weighing, it has a large resistance torque when there is no clothing, which makes the changes in motor operating parameters not sensitive to the changes in clothing weight. At the same time, it results in a large variance between different clothing processing equipment, that is, poor consistency.
[0130] In this embodiment of the disclosure, when calculating the weight of the clothing load, the historical relative current value of each clothing processing device, i.e., the target relative current value, is used to calculate the complex weight of the clothing. Since the historical relative current value is the only historical data stored by the clothing processing device, it has the characteristics of being unique and singular. This enables the application of different or the same historical relative current value to weigh each clothing processing device, thereby eliminating the error caused by the inconsistency between different clothing processing devices while ensuring the accuracy of the historical relative current value.
[0131] In the embodiments of this disclosure, the calculated load weight of clothing can be a load weight range or a load weight value. Specifically, the embodiments of this disclosure do not limit the specific form of the load weight of clothing.
[0132] As one implementation of this disclosure, if a processor for determining the load weight of clothing is configured in a clothing processing device, after determining the load weight of clothing, the washing parameters or drying parameters corresponding to the load weight of clothing are obtained, and the clothing is washed or dried.
[0133] As another implementation of this disclosure, if the processor for determining the load weight of the clothes is configured in the server, after determining the load weight of the clothes, under network conditions, the server sends the load weight of the clothes and the corresponding washing parameters or drying parameters to the clothes processing device. After receiving the load weight of the clothes and the corresponding washing parameters or drying parameters, the clothes processing device performs washing or drying of the clothes.
[0134] In summary, the weighing method for the garment processing equipment proposed in this disclosure includes determining a target current relative value based on 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 uniform rotation of the drum after acceleration. The garment load weight of the garment processing equipment is determined based on the target current relative value and historical current relative values. The target current relative value is calculated based on the collected first and second motor currents, and then compared with historical current relative values to determine the garment load weight. This method applies different historical current relative values to weigh each garment processing device, eliminating errors in garment load weight calculation while ensuring the accuracy of the historical current relative values.
[0135] Figure 2A flowchart of a weighing method for a garment processing device proposed in this disclosure is further shown. Based on Figure 1 The illustrated embodiment further explains step 102. Figure 2 This may include the following steps:
[0136] Step 201: Determine the relative value of the target current based on 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.
[0137] For details on step 201, please refer to the relevant detailed explanation of step 101, which will not be repeated here.
[0138] Step 202: Determine the weight of clothing load corresponding to the target relative current value based on the preset mapping relationship between the relative current value and the weight of clothing load.
[0139] Because the garment processing equipment has problems such as load eccentricity during operation, the motor parameters fluctuate greatly. Therefore, the embodiments of this disclosure pre-set the mapping relationship between the relative value of the single variable current and the load weight, which increases the stability between the relative value of the current and the load weight, reduces the cumulative error, and thus improves the accuracy of the load weight.
[0140] 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.
[0141] Figure 3 A flowchart of a weighing method for a garment processing device proposed in this disclosure is further shown. Based on Figure 1 The illustrated embodiment further explains step 102. Figure 3 This may include the following steps:
[0142] Step 301: Sort the relative values of the historical currents to obtain the sorting results.
[0143] Before calculating the load weight of the clothes in this (kth wash), the server or clothes processing equipment will store the historical (k-1) relative current values, sort all k-1 historical relative current values according to their size, and obtain the sorting result.
[0144] like Figure 4 As shown, Figure 4This explanation uses an example of 12 washes (k=12). The circles in the diagram represent historical relative current values. When sorting, the values are arranged from smallest to largest to obtain the sorting result. It should be clarified that this explanation is not intended to limit the number of washes or the sorting method. In practical applications, the historical relative current values can also be sorted from largest to smallest; there are no specific restrictions.
[0145] Step 302: Determine the clothing load weight of the clothing processing equipment based on the target current relative value and the sorting result.
[0146] As one implementation of this disclosure, after obtaining the sorting results, there is a corresponding relationship between the historical relative current value and the historical clothing load weight. Therefore, when calculating the current clothing load weight, the target relative current value is first matched with the sorting results, and it is determined which historical relative current value in the sorting results the target relative current value matches, or which two historical relative current values it is between. The clothing load weight is determined based on the matching results and the corresponding relationship between the historical relative current value and the historical clothing load weight.
[0147] As another implementation of this disclosure, this embodiment is applied to a scenario involving small-drum washing machines (such as underwear washing machines, sock washing machines, etc.). "Small-drum" refers to a washing drum with a capacity less than a preset capacity threshold, such as 1KG or 2KG. Since the weight of clothing that the washing machine can carry is relatively small, a range of clothing load weights can be determined first when determining the load weight of the washing machine. Figure 5 The method shown includes:
[0148] Step 501: Divide the load weight range into a preset number according to the sorting result, and the relative current magnitude corresponds to the load weight range.
[0149] Please continue reading. Figure 4 After sorting the historical relative current values, the system is further divided into a preset number of load weight intervals (taking three load weight intervals as an example). Load weight interval 1 is [1,3], load weight interval 2 is [4,7], and load weight interval 3 is [8,11]. In practical applications, the number of load weight intervals can be increased as the number of historical relative current values increases, or the number of load weight intervals can be set and kept constant. Specific embodiments of this disclosure are not limited to this.
[0150] It should be noted that, taking a load weight range of 3 as an example, when the number of historical current relative values is less than 3, i.e., when the number of washing cycles k=1 or k=2, it is not applicable to use [this method / approach]. Figure 5The method shown is used to determine the load weight because when the number of historical current relative values is less than 3, it is impossible to divide the load weight range into a preset number.
[0151] Step 502: Match the relative value of the target current with a preset number of load weight ranges to determine the target load weight range.
[0152] The relative values of the current correspond to the load weight ranges; that is, different load weight ranges are divided according to the magnitude of the relative current values, as can be seen from the figure. Figure 4 To illustrate, we will take three load weight ranges as an example. Each load weight range corresponds to a different weight level of clothing, as shown in the figure.
[0153] Since this embodiment applies to a small-drum scenario in a garment processing device, where the capacity of the washing drum is less than a preset capacity threshold (e.g., 1KG), and because the garment processing device can only handle a small amount of clothing, and the small drum itself is small in size and weight, it is not suitable for the precise weighing of conventional large drums. Therefore, a load weight range division method is adopted. Thus, this embodiment divides the garment load weight into three levels (light weight, medium weight, and heavy weight) to meet the requirements. For business needs with higher precision, the garment load weight can also be divided into four or five levels, etc.
[0154] Figure 4 This is merely an illustrative explanation of the relationship between relative current values, load weight ranges, and clothing load weights, and is not intended to limit the number of relative current values, the number and length of the divided load weight ranges, or the clothing load weight levels. Specific embodiments of this disclosure are not described.
[0155] As another implementation of the embodiments of this disclosure, besides Figure 4 In addition to the three-level garment load weight division shown, based on the preset mapping relationship between relative current values and load weight ranges, after obtaining the target relative current value, the corresponding load weight range can be directly determined based on the preset mapping relationship between relative current values and load weight ranges. The load weight range corresponds to the specific garment load weight. For example, load weight range 1: 1g-300g corresponds to a garment load weight of 150g, load weight range 2: 301g-700g corresponds to a garment load weight of 500g, load weight range 3: 701g-1000g corresponds to a garment load weight of 900g, and so on. Specifically, the correspondence between load weight ranges and garment load weights is not specifically limited in this embodiment.
[0156] The method described in this embodiment actively updates the historical relative current values in the database after each wash, achieving an online learning function. That is, by continuously learning and adapting to data changes, long-term efficiency is improved. Specifically, after determining the load weight of the laundry processing equipment based on the target relative current value and historical relative current values, the target relative current value is stored as the historical relative current value for the next load weight calculation. Figure 4 The number of washes mentioned above, k=12 for this wash, will store the relative current value and the corresponding load weight of the clothes obtained in this calculation, so as to serve as the historical relative current value when calculating the load weight of the clothes in the next wash k=13.
[0157] In scenarios where load weighing is performed by a server, the server communicates with multiple garment processing devices. To ensure that a different model (trained from historical relative current values) is applied to each device for weighing, and to eliminate errors caused by inconsistencies between different machines while maintaining model accuracy, it is necessary to first determine which garment processing device's load weight is being calculated when calculating the garment load weight. Figure 6 As shown, it includes:
[0158] Step 601: Determine the relative value of the target current based on 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. Obtain the device identifier of the clothing processing equipment.
[0159] For details on step 601, please refer to the relevant detailed explanation of step 101, which will not be repeated here.
[0160] Step 602: Obtain the device identifier of the clothing processing equipment, and determine the corresponding historical current relative value based on the device identifier.
[0161] On the server side, historical relative current values of all garment processing devices with which it has bidirectional data communication are stored. Therefore, before specifically calculating the garment load weight corresponding to the garment processing device, it is necessary to obtain the device identifier of the garment processing device and query the corresponding historical relative current value in the database based on the device identifier. This realizes that different historical relative current values are used for weighing each garment processing device, eliminating the calculation error caused by the poor consistency between different machines.
[0162] When obtaining the device identifier, the device identifier of the clothing processing device can be carried when the clothing processing device reports the first current and the second current in step 601, or an instruction message to report the device identifier can be sent to the clothing processing device to obtain the device identifier. Specifically, the method of obtaining the device identifier is not limited in this embodiment.
[0163] Step 603: Determine the clothing load weight of the clothing processing equipment based on the target current relative value and the historical current relative value.
[0164] For details on step 603, please refer to the relevant detailed explanation of step 102, which will not be repeated here.
[0165] As illustrated in the above embodiments, this disclosure applies to scenarios where the garment handling equipment is a small drum. Therefore, before calculating the garment load weight, it should be determined whether the garment handling equipment is a small drum. If it is a large drum scenario, the method described in this disclosure is not applicable, because large drums require higher accuracy in calculating the garment load weight. The method described in this disclosure is insufficient to calculate a highly accurate garment load weight. Figure 7 As shown, it includes:
[0166] Step 701: Determine the capacity information of the washing drum based on the equipment identifier of the clothing processing equipment.
[0167] For instructions on obtaining the device identifier, please refer to the detailed explanation of step 602, which will not be repeated here.
[0168] When garment processing equipment leaves the factory, the capacity information corresponding to different equipment identifiers is determined. Therefore, once the equipment identifier is known, the capacity information of the corresponding washing drum can be determined.
[0169] Step 702: Determine the clothing load weight of the clothing processing equipment based on the capacity information, the target current relative value, and the historical current relative value.
[0170] When determining the clothing load weight of the clothing processing equipment based on the capacity information, the target current relative value, and the historical current relative value, the following methods can be used, but are not limited to: Figure 8 As shown, it includes:
[0171] Step 7021: Determine the corresponding rated capacity based on the capacity information.
[0172] In some embodiments, capacity information refers to the rated capacity of the garment processing equipment, specifically the rated capacity of the inner drum of the garment processing equipment.
[0173] In some embodiments, the capacity information may also include the cylinder volume; specifically, there are no limitations on the capacity information.
[0174] If the rated capacity is determined to be less than or equal to the preset capacity threshold, then step 7022 is executed; if the rated capacity is determined to be greater than the preset capacity threshold, then the process ends.
[0175] The preset capacity threshold needs to be set according to the specific size of the washing drum. For example, the preset capacity threshold may be 1kg, 2kg, etc., or, when the capacity information is the drum volume, the corresponding preset capacity threshold may be 6L, 10L, etc. The specific value is not limited.
[0176] Step 7022: Determine the clothing load weight of the clothing processing equipment based on the target current relative value and the historical current relative value.
[0177] For details on step 7022, please refer to the relevant detailed explanation of step 102, which will not be repeated here.
[0178] Figure 9 A flowchart of a weighing method for a garment processing device proposed in this disclosure is further shown. Based on Figure 1 The illustrated embodiment further explains step 101. Figure 9 This may include the following steps:
[0179] Step 901: Obtain the first current and the second current.
[0180] When obtaining the first current and the second current, the following methods can be used, but are not limited to: Figure 10 As shown, it includes:
[0181] Step 9011: 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.
[0182] 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 current I during the acceleration period from the first rotational speed r1 to the second rotational speed r2 according to a preset acquisition cycle. S1 A total of n sets of data were collected, and the collected n sets of data are shown in formula (1):
[0183] I S1 ={i S1_1 i S1_2 i S1_3 ,…,i S1_m}Formula (1)
[0184] 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.
[0185] 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.
[0186] Step 9012: Control the motor to run at the second speed at a constant speed, and collect the second current during operation according to the preset collection cycle.
[0187] 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. S2 A total of m sets of data were collected, and the collected m sets of data are shown in formula (2):
[0188] I S2 ={i S2_1 i S2_2 i S2_3 ,…,i S2_n}Formula (2)
[0189] The preset sampling period mentioned in step 9012 is set in the same way as that in step 9011. Please refer to the detailed description of step 9011.
[0190] Step 902: Preprocess the first current and the second current respectively to obtain the maximum current value and the average current value.
[0191] When preprocessing the first current and the second current to obtain the maximum current and the average current respectively, the following methods can be used, but are not limited to: Figure 11 As shown, it includes:
[0192] Step 9021: Smooth the first current and the second current respectively to obtain the first pre-processed current and the second pre-processed current.
[0193] 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.
[0194] 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:
[0195] For the first current I respectively S1 and the second current I S2 Smoothing is performed to obtain the first pre-processed current. and the second pretreatment current
[0196]
[0197]
[0198] Step 9022: Perform mean smoothing calculations on the first preprocessed current and the second preprocessed current respectively to obtain the maximum current value and the average current value.
[0199] Calculated The maximum value I S ′ 1 and mean I S ′ 2, as shown in equations (5) and (6).
[0200]
[0201] For the first pre-processing current The reason for calculating its maximum current is that the three-phase current fluctuates significantly during the speed ramp-up process of the small cylinder, and the average value cannot fully represent the motor's operating condition during the speed ramp-up phase; Regarding The reason for calculating its average current is that when the small cylinder operates at a fixed speed during the high-speed, constant-speed phase, the current fluctuation is small, and its average current can represent the motor's operating condition during the high-speed, constant-speed phase.
[0202] Step 903: Determine the relative value of the current based on the maximum current value and the average current value.
[0203] The relative value of the target current x is calculated as shown in formula (7). Using the relative value of the target current as an indicator can further reduce the error caused by current fluctuation.
[0204] x=|I S ′ 1-I S - 2|Formula (7)
[0205] It should be noted that the weighing method of the clothing processing equipment described in this embodiment is applicable to multiple weighing stages in a single washing process, such as weighing dry clothes and weighing wet clothes. The purpose of weighing dry clothes is to determine the corresponding washing parameters based on the dry clothes weighing results, and the purpose of weighing wet clothes is to determine the drying parameters based on the wet clothes weighing results.
[0206] like Figure 12 As shown, Figure 12 This application scenario uses a cloud server to calculate the load weight. After the user puts clothes into the small drum, closes the drum door, selects the small drum washing mode, and clicks the start button, the garment processing equipment receives the start command and proceeds accordingly. Figure 12 The process of controlling the washing is executed. For details on the washing control process, please refer to the detailed description of the above embodiments, and therefore will not be repeated here.
[0207] Corresponding to the weighing method of the garment processing equipment described above, the present invention also proposes a weighing device for 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.
[0208] Figure 13 This is a schematic diagram of the structure of a weighing device for a garment processing equipment according to an embodiment of the present disclosure. The weighing device for the garment processing equipment includes:
[0209] The first determining unit 11 is used to determine the relative value of the target current based on the first current and the second current, wherein the first current is the current when the drum is accelerated, and the second current is the current when the drum rotates at a constant speed after acceleration.
[0210] The second determining unit 12 is used to determine the clothing load weight of the clothing processing equipment based on the target current relative value and the historical current relative value.
[0211] In summary, the weighing device for the garment processing equipment proposed in this disclosure includes determining a target current relative value based on 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 uniform rotation of the drum after acceleration. The garment load weight of the garment processing equipment is determined based on the target current relative value and historical current relative values. The target current relative value is calculated based on the collected first and second motor currents, and then compared with historical current relative values to determine the garment load weight. This achieves the application of different historical current relative values for weighing each garment processing device, eliminating errors in garment load weight calculation while ensuring the accuracy of the historical current relative values.
[0212] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 14 As shown, the second determining unit 12 is further configured to:
[0213] Based on the preset mapping relationship between relative current values and clothing load weight, the clothing load weight corresponding to the target relative current value is determined.
[0214] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 14 As shown, the second determining unit 12 is further configured to:
[0215] The historical current relative values are sorted to obtain the sorting results;
[0216] The clothing load weight of the clothing processing equipment is determined based on the target current relative value and the sorting result.
[0217] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 14 As shown, the second determining unit 12 is further configured to:
[0218] The load weight ranges are divided according to the sorting results, and the relative current magnitudes correspond to the load weight ranges.
[0219] The target load weight range is determined by matching the relative value of the target current with a preset number of load weight ranges.
[0220] The target load weight range is defined as the load weight of the clothing processing equipment.
[0221] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 14 As shown, the device further includes:
[0222] The storage unit 13 is used to store the target current relative value as the historical current relative value for the next calculation of the load weight after the second determining unit determines the load weight of the clothing processing device based on the target current relative value and the historical current relative value.
[0223] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 14 As shown, the second determining unit 12 is further configured to:
[0224] Obtain the device identifier of the garment processing equipment;
[0225] The corresponding historical current relative value is determined based on the device identifier;
[0226] The clothing load weight of the clothing processing equipment is determined based on the target current relative value and the historical current relative value.
[0227] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 14 As shown, the device further includes:
[0228] The third determining unit 14 is used to determine the capacity information of the washing drum based on the equipment identifier of the clothing processing equipment before the second determining unit determines the clothing load weight of the clothing processing equipment based on the target current relative value and the historical current relative value.
[0229] The second determining unit 12 is further configured to determine the clothing load weight of the clothing processing equipment based on the capacity information, the target current relative value, and the historical current relative value.
[0230] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 14 As shown, the second determining unit 12 is also used for:
[0231] Determine the corresponding rated capacity based on the capacity information;
[0232] If the rated capacity is determined to be less than or equal to a preset capacity threshold, the clothing load weight of the clothing processing equipment is determined based on the target current relative value and the historical current relative value.
[0233] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 14 As shown, the first determining unit 11 includes:
[0234] Acquisition module 111 is used to acquire the first current and the second current;
[0235] The determining module 112 is used to determine the relative value of the target current based on the first current and the second current.
[0236] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 14 As shown, the first determining unit 11 further includes:
[0237] Processing module 113 is used to preprocess the first current and the second current respectively before determining the relative value of the target current based on the first current and the second current, so as to obtain the maximum current value and the average current value respectively.
[0238] The determining module 112 is further configured to determine the relative value of the current based on the maximum current value and the average current value.
[0239] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 14 As shown, the processing module 113 is further configured to:
[0240] The first current and the second current are smoothed respectively to obtain the first pre-processed current and the second pre-processed current;
[0241] The first preprocessed current and the second preprocessed current are respectively subjected to mean smoothing calculation to obtain the maximum value of the current and the mean value of the current.
[0242] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 14 As shown, the acquisition module 111 is further configured to:
[0243] 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;
[0244] 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.
[0245] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 15 As shown, this disclosure proposes a weighing system for a garment processing device, including a server 21 and a garment processing device 22, wherein...
[0246] The garment processing device 21 is used to collect a first current and a second current, and send the first current and the second current to the server 22, 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;
[0247] The server 22 is used to receive the first current and the second current sent by the clothing processing device 21;
[0248] The relative value of the target current is determined based on the first current and the second current;
[0249] The clothing load weight of the clothing processing equipment is determined based on the target current relative value and the historical current relative value.
[0250] 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.
[0251] 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.
[0252] Figure 16 This is a block diagram illustrating an electronic device 300 for implementing the weighing method of the above-described garment processing equipment, according to an exemplary embodiment. For example, the electronic device 300 can be a garment processing equipment, such as a sock washing machine, an underwear washing machine, a multi-drum washing machine including a small tub, a commercial washing machine, a household washing machine, etc.
[0253] Reference Figure 16 The electronic device 300 may include one or more of the following components: processing component 302, memory 304, power supply component 306, multimedia component 308, audio component 310, input / output (I / O) interface 312, sensor component 314, and communication component 316.
[0254] Processing component 302 typically controls the overall operation of electronic device 300, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 302 may include one or more processors 330 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 302 may include one or more modules to facilitate interaction between processing component 302 and other components. For example, processing component 302 may include a multimedia module to facilitate interaction between multimedia component 308 and processing component 302.
[0255] Memory 304 is configured to store various types of data to support the operation of electronic device 300. Examples of such data include instructions for any application or method operating on electronic device 300, contact data, phonebook data, messages, pictures, videos, etc. Memory 304 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.
[0256] Power supply component 306 provides power to various components of electronic device 300. Power supply component 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 300.
[0257] Multimedia component 308 includes a screen that provides an output interface between electronic device 300 and 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 308 includes a front-facing camera and / or a rear-facing camera. When electronic device 300 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.
[0258] Audio component 310 is configured to output and / or input audio signals. For example, audio component 310 includes a microphone (MIC) configured to receive external audio signals when electronic device 300 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 304 or transmitted via communication component 316. In some embodiments, audio component 310 also includes a speaker for outputting audio signals.
[0259] I / O interface 312 provides an interface between processing component 302 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.
[0260] Sensor assembly 314 includes one or more sensors for providing state assessments of various aspects of electronic device 300. For example, sensor assembly 314 may detect the on / off state of electronic device 300, the relative positioning of components such as the display and keypad of electronic device 300, changes in position of electronic device 300 or a component of electronic device 300, the presence or absence of user contact with electronic device 300, orientation or acceleration / deceleration of electronic device 300, and temperature changes of electronic device 300. Sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 314 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0261] Communication component 316 is configured to facilitate wired or wireless communication between electronic device 300 and other devices. Electronic device 300 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, 4G LTE, 5G NR (NewRadio), or combinations thereof. In one exemplary embodiment, communication component 316 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 316 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.
[0262] In an exemplary embodiment, the electronic device 300 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.
[0263] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 304 including instructions, which can be executed by a processor 330 of an electronic device 300 to perform 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.
[0264] 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.
[0265] For cases where electronic devices can be chips or chip systems, see [link to relevant documentation]. Figure 17 The diagram shows the structure of the chip. Figure 17 The chip shown includes a processor 41 and an interface 42. There can be one or more processors 41, and multiple interfaces 42.
[0266] Optionally, the chip also includes a memory 43 for storing necessary computer programs and data.
[0267] 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.
[0268] 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.
[0269] 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.
[0270] 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.
[0271] 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.
[0272] 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.
[0273] 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.
[0274] 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.
[0275] 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 weighing method for a garment processing device, characterized in that, include: The relative value of the target current is determined based on 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. The clothing load weight of the clothing processing equipment is determined based on the target current relative value and the historical current relative value.
2. The method according to claim 1, characterized in that, The step of determining the clothing load weight of the clothing processing equipment based on the target current relative value and the historical current relative value includes: Based on the preset mapping relationship between relative current values and clothing load weight, the clothing load weight corresponding to the target relative current value is determined.
3. The method according to claim 1, characterized in that, The step of determining the clothing load weight of the clothing processing equipment based on the target current relative value and the historical current relative value includes: The historical current relative values are sorted to obtain the sorting results; The clothing load weight of the clothing processing equipment is determined based on the target current relative value and the sorting result.
4. The method according to claim 3, characterized in that, The step of determining the clothing load weight of the clothing processing equipment based on the target current relative value and the sorting result includes: The load weight ranges are divided according to the sorting results, and the relative current magnitudes correspond to the load weight ranges. The target load weight range is determined by matching the relative value of the target current with a preset number of load weight ranges.
5. The method according to claim 1, characterized in that, After determining the clothing load weight of the clothing processing equipment based on the target current relative value and the historical current relative value, the method further includes: The target current relative value is stored as the historical current relative value for the next calculation of load weight.
6. The method according to claim 1, characterized in that, The step of determining the clothing load weight of the clothing processing equipment based on the target current relative value and the historical current relative value includes: Obtain the device identifier of the garment processing equipment; The corresponding historical current relative value is determined based on the device identifier; The clothing load weight of the clothing processing equipment is determined based on the target current relative value and the historical current relative value.
7. The method according to claim 1, characterized in that, Before determining the clothing load weight of the clothing processing equipment based on the target current relative value and the historical current relative value, the method further includes: The capacity information of the washing drum is determined based on the equipment identification of the garment processing equipment; The step of determining the clothing load weight of the clothing processing equipment based on the target current relative value and the historical current relative value includes: The clothing load weight of the clothing processing equipment is determined based on the capacity information, the target current relative value, and the historical current relative value.
8. The method according to claim 7, characterized in that, Determining the clothing load weight of the clothing processing equipment based on the capacity information, the target current relative value, and the historical current relative value includes: Determine the corresponding rated capacity based on the capacity information; If the rated capacity is determined to be less than or equal to a preset capacity threshold, the clothing load weight of the clothing processing equipment is determined based on the target current relative value and the historical current relative value.
9. The method according to claim 1, characterized in that, Determining the relative value of the target current based on the first current and the second current includes: Obtain the first current and the second current; The relative value of the target current is determined based on the first current and the second current.
10. The method according to claim 9, characterized in that, Before determining the relative value of the target current 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 maximum current and the average current. Determining the relative value of the target current based on the first current and the second current includes: The relative value of the current is determined based on the maximum current value and the average current value.
11. The method according to claim 10, characterized in that, The preprocessing of the first current and the second current to obtain the maximum current value and the average current value 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 first preprocessed current and the second preprocessed current are respectively subjected to mean smoothing calculation to obtain the maximum value of the current and the mean value of the current.
12. The method according to claim 9, characterized in that, The step of obtaining 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 cycle.
13. A weighing device for a garment processing equipment, characterized in that, include: The first determining unit is used to determine the relative value of the target current based on the first current and the second current, wherein the first current is the current when the drum is accelerated, and the second current is the current when the drum rotates at a constant speed after acceleration. The second determining unit is used to determine the clothing load weight of the clothing processing equipment based on the target current relative value and the historical current relative value.
14. A weighing system for a garment processing device, characterized in that, Includes servers and garment processing equipment, among which, The garment processing device is used to collect a first current and a second current, and send the first current and the second current to the server, 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 server is configured to receive the first current and the second current sent by the clothing processing device; The relative value of the target current is determined based on the first current and the second current; The clothing load weight of the clothing processing equipment is determined based on the target current relative value and the historical current relative value.
15. An electronic device, characterized in that, include: At least one processor; as well as and 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-12.
16. 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-12.
17. 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-12.