A clothing processing device and a control method thereof
By updating the corresponding relationship in the controller of the clothing processing device, the absolute encoder simulates the working logic of the relative encoder, solving the compatibility problem between the absolute encoder and the relative encoder, and improving the user experience and equipment. adaptability.
Patent Information
- Application Number
- CN202211026934.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-25
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-08-25
AI Technical Summary
In existing clothing processing devices, the working logic of absolute encoders and relative encoders is different, which makes it impossible to achieve computer board compatibility between different models, and the hardware circuit needs to be changed when the function of another encoder needs to be realized. and software control methods are not conducive to the derivation of the complete machine model.
In the controller of the clothes processing device, the corresponding relationship is updated according to the current pointer position and function gear sequence of the absolute encoder, so that the absolute encoder simulates the working logic of the relative encoder, so that the absolute encoder can be encoded after turning on the machine. The function gear indicated by the pointer position of the device is the first function gear in the function gear sequence, which improves the user experience.
The working logic of the absolute value encoder simulating the relative value encoder is realized, allowing users to be more regular when selecting functions, improving the user experience, without changing the order of candidate positions and function gears, and adapting to the compatibility needs of different models.
Smart Images

Figure CN115434113B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of encoders, and in particular to a clothing processing device and a control method thereof. Background Art
[0002] With the development of science and technology, the functions of clothes handling devices such as washing machines and clothes dryers are increasing, and the buttons corresponding to various functions are increasing. In order to reduce the number of function buttons, most clothes handling devices have added encoders. Users rotate the function selection button to drive the encoder to rotate, so that the encoder outputs a signal representing the position of its pointer, and then selects a menu option to set the function parameters, such as adjusting the time, selecting a working program, etc.
[0003] At present, most clothing processing devices use absolute encoders or relative encoders (also known as incremental encoders). Absolute encoders determine the code by mechanical position, and do not need to be memorized. When the pointer position of the absolute encoder needs to be read, it can be directly read. Relative encoders convert displacement into a periodic electrical signal, and then convert this electrical signal into counting pulses, using the number of pulses to represent the size of the displacement.
[0004] Therefore, these two encoders require different hardware circuits and software control methods, and it is impossible to achieve compatibility between computer boards of different models. If a clothing processing device adopts one of the encoders, the function of the other encoder cannot be realized. When the function of the other encoder needs to be realized, the hardware circuit and software control method need to be changed at the same time, which is not conducive to the derivation of the whole model of the clothing processing device. Summary of the invention
[0005] The embodiments of the present application provide a clothing processing device and a control method thereof, which are used to solve the problem that an absolute value encoder cannot simulate the working logic of a relative value encoder.
[0006] In a first aspect, a laundry processing device is provided, having a functional gear sequence, comprising:
[0007] An absolute value encoder corresponds to a plurality of candidate positions, and the plurality of candidate positions respectively correspond to a plurality of functional gears in a functional gear sequence;
[0008] The controller is configured as:
[0009] In response to the laundry processing device being turned on, obtaining a first function gear and a current first pointer position of an absolute encoder, wherein the first function gear is the first function gear in a function gear sequence, and the first pointer position is one of a plurality of candidate positions;
[0010] The first corresponding relationship is updated according to the first pointer position and the first function gear position to obtain a second corresponding relationship; wherein the first corresponding relationship is the corresponding relationship between the function gear position and the candidate position before power-on; in the second corresponding relationship, the arrangement order of the candidate positions is the same as the arrangement order of the candidate positions in the first corresponding relationship, the arrangement order of the function gear position is the same as the arrangement order of the function gear position in the first corresponding relationship, and the first function gear position corresponds to the first pointer position;
[0011] In response to the user's operation of rotating the pointer position, the function gear selected by the user is determined according to the second pointer position after rotation and the second corresponding relationship.
[0012] The technical solution provided by the embodiment of the present application brings at least the following beneficial effects: due to the different working logics of the absolute encoder and the relative encoder, after the clothing processing device is turned off, if the user rotates the function selection knob, the pointer position of the absolute encoder is the position after the user rotates, and the corresponding function gear will change. The technical solution provided by the present application, after the clothing processing device is turned on, according to the current pointer position of the absolute encoder and the first function gear in the function gear sequence of the clothing processing device, updates the correspondence between the function gear before turning on and the candidate position to obtain a second correspondence. In the second correspondence, the first function gear corresponds to the first pointer position, so that the absolute encoder can simulate the working logic of the relative encoder. After the clothing processing device is turned on, the function gear indicated by the pointer position of the absolute encoder is the first function gear in the function gear sequence, which is more regular and can improve the user experience.
[0013] In some embodiments, the controller of the clothing processing device executes updating the first correspondence according to the first pointer position and the first functional gear to obtain the second correspondence, and is specifically configured as follows: when the first pointer position is used as a candidate position corresponding to the first functional gear, the plurality of candidate positions are respectively corresponded to the plurality of functional gears in the functional gear sequence according to the arrangement order of the plurality of candidate positions in the first correspondence to obtain the second correspondence. In this way, the second correspondence can be obtained without changing the arrangement order of the plurality of candidate positions in the first correspondence, or the arrangement order of the functional gears of the clothing processing device, so that the first pointer position corresponds to the first functional gear. In this way, after the clothing processing device is turned on, the first pointer position corresponds to the first functional gear, which can improve the user experience.
[0014] In some embodiments, the controller of the laundry processing device executes to obtain the first function gear and the current first pointer position of the absolute value encoder in response to the laundry processing device being turned on, and is specifically configured as: when the power-off memory function is not turned on, in response to the laundry processing device being turned on, the first function gear and the current first pointer position of the absolute value encoder are obtained. Wherein, when the power-off memory function of the laundry processing device is not turned on, the laundry processing device can be turned on manually by the user, and after the user manually turns it on, the controller obtains the first function gear and the current first pointer position of the absolute value encoder.
[0015] In some embodiments, when the power-off memory function is turned on, the controller of the clothing processing device is configured to: in response to the clothing processing device being turned on, obtain the first pointer position and the second function gear, the second function gear being the function gear corresponding to the function running before the clothing processing device is powered off; update the third corresponding relationship according to the first pointer position and the second function gear, and obtain the fourth corresponding relationship; wherein the third corresponding relationship is the corresponding relationship between the function gear and the candidate position before power off; in the fourth corresponding relationship, the arrangement order of the candidate position is the same as the arrangement order of the candidate position in the third corresponding relationship, the arrangement order of the function gear is the same as the arrangement order of the function gear in the third corresponding relationship, and the second function gear corresponds to the first pointer position; in response to the user's operation of rotating the pointer position, determine the function gear selected by the user according to the second pointer position after rotation and the fourth corresponding relationship. After the clothing processing device is powered off, if the user rotates the function selection knob, the pointer position of the absolute encoder is the position after the user rotates, and the corresponding function gear changes. When the power-off memory function is turned on, after the laundry processing device is turned on, the correspondence between the function gear before power off and the candidate position is updated according to the current pointer position of the absolute encoder and the function gear corresponding to the function running before the laundry processing device is powered off, and a fourth correspondence is obtained. In the fourth correspondence, the second function gear corresponds to the first pointer position, so that the absolute encoder can simulate the working logic of the relative encoder. After the laundry processing device is turned on, the function gear indicated by the pointer position of the absolute encoder corresponds to the function running before the laundry processing device is powered off, so that when the user selects a function again, the user can start from the function running before the laundry processing device is powered off, which is more regular and can improve the user experience.
[0016] In some embodiments, the controller executes updating the third correspondence according to the first pointer position and the second function gear to obtain a fourth correspondence, which is specifically configured as follows: when the first pointer position is used as a candidate position corresponding to the second function gear, the plurality of candidate positions are respectively corresponded to the plurality of function gears in the function gear sequence according to the arrangement order of the plurality of candidate positions in the third correspondence to obtain the fourth correspondence. In this way, the fourth correspondence can be obtained without changing the arrangement order of the plurality of candidate positions in the third correspondence or the arrangement order of the function gears of the clothing treatment device, so that the first pointer position corresponds to the second function gear, so that when the clothing treatment device is powered on again after power failure, the first pointer position corresponds to the function gear corresponding to the function running before power failure, which can improve the user experience.
[0017] In some embodiments, the clothing treatment device further comprises: a plurality of indicator lights, respectively used to indicate the states of a plurality of function gears; wherein the working states of the indicator lights include: a first state, a second state and a third state; the controller is further configured to: when the clothing treatment device does not perform any function corresponding to the function gear, control the first indicator light to be in the first state, and the remaining indicator lights to be in the second state, the function gear indicated by the first indicator light is the current function gear, and the current function gear corresponds to the current pointer position of the absolute encoder; when the target function performed by the clothing treatment device corresponds to the current function gear, control the first indicator light to be in the first state, and the remaining indicator lights to be in the third state; when the target function performed by the clothing treatment device corresponds to any other function gear, control the first indicator light to be in the first state, the second indicator light to be in the second state, and the remaining indicator lights to be in the third state, the other function gear is the function gear other than the current function gear, and the function gear indicated by the second indicator light corresponds to the target function. In this way, by controlling the indicator lights to be in different states, the user can be more clearly informed of the function gear currently selected and the function gear corresponding to the function being run by the clothing treatment device, so that the user can better understand the operation of the clothing treatment device and improve the user's use experience.
[0018] In some embodiments, when the target function executed by the clothing processing device corresponds to any other function gear, the controller is further configured to: if no start command is received within a preset time period, update the fifth correspondence according to the current pointer position and the function gear corresponding to the target function to obtain a sixth correspondence; wherein the fifth correspondence is the correspondence between the function gear and the candidate position when the clothing processing device starts to execute the target function; in the sixth correspondence, the arrangement order of the candidate positions is the same as the arrangement order of the candidate positions in the fifth correspondence, the arrangement order of the function gear is the same as the arrangement order of the function gear in the fifth correspondence, and the function gear corresponding to the target function corresponds to the current pointer position; in response to the user's operation of rotating the pointer position, determine the function gear selected by the user according to the second pointer position after rotation and the sixth correspondence. In this way, if no start command is received within the preset time, it indicates that the user has not operated within the preset time. Then, the fifth correspondence is updated according to the current pointer position and the function gear corresponding to the target function. After the sixth correspondence is obtained, the current pointer position corresponds to the function gear corresponding to the target function. After the user rotates the function selection knob again, the selection can be started from the function gear corresponding to the target function, which is more regular. Then, the controller of the clothing processing device determines the function gear selected by the user according to the sixth correspondence and the pointer position after the user rotates, thereby bringing a better user experience to the user.
[0019] In a second aspect, a control method for a clothing processing device is provided, wherein the clothing processing device has a function gear sequence; the clothing processing device also includes an absolute value encoder, the absolute value encoder corresponds to a plurality of candidate positions, and the plurality of candidate positions respectively correspond to a plurality of function gears in the function gear sequence; in response to the clothing processing device being turned on, a first function gear and a current first pointer position of the absolute value encoder are obtained, the first function gear is the first function gear in the function gear sequence, and the first pointer position is one of the plurality of candidate positions; a first corresponding relationship is updated according to the first pointer position and the first function gear to obtain a second corresponding relationship; wherein the first corresponding relationship is a corresponding relationship between the function gear and the candidate position before turning on; in the second corresponding relationship, an arrangement order of the candidate positions is the same as an arrangement order of the candidate positions in the first corresponding relationship, an arrangement order of the function gears is the same as an arrangement order of the function gears in the first corresponding relationship, and the first function gear corresponds to the first pointer position; in response to the user's operation of rotating the pointer position, the function gear selected by the user is determined according to the second pointer position after rotation and the second corresponding relationship.
[0020] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on any of the above-mentioned devices, the device executes any of the above-mentioned control methods for clothing processing devices.
[0021] In a fourth aspect, an embodiment of the present application provides a chip, comprising: a processor and a memory; the memory is used to store computer execution instructions, the processor is connected to the memory, and when the chip is running, the processor executes the computer execution instructions stored in the memory so that the chip executes any one of the above-mentioned control methods for clothing processing devices.
[0022] In a fifth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on any of the above-mentioned devices, enables the device to execute any of the above-mentioned control methods for clothing processing devices.
[0023] In addition, the technical effects brought about by any design method in the second to fifth aspects can refer to the technical effects brought about by the different design methods in the above-mentioned first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A schematic structural diagram of a clothing processing device provided in an embodiment of the present application;
[0025] Figure 2 A schematic diagram of the functional gear positions of a clothing processing device provided in an embodiment of the present application;
[0026] Figure 3 A schematic diagram of a code channel of an absolute value encoder provided in an embodiment of the present application;
[0027] Figure 4 A schematic flow chart of a control method for a clothes processing device provided in an embodiment of the present application;
[0028] Figure 5 Schematic diagram of an application scenario of a control method for a clothes processing device provided in an embodiment of the present application Figure 1 ;
[0029] Figure 6 A schematic flow chart of another control method for a clothes processing device provided in an embodiment of the present application;
[0030] Figure 7 Schematic diagram of an application scenario of a control method for a clothes processing device provided in an embodiment of the present application Figure 2 ;
[0031] Figure 8 A schematic diagram of a working logic of a controller updating a third corresponding relationship provided in an embodiment of the present application;
[0032] Fig. 9 A schematic flow chart of another control method for a clothes processing device provided in an embodiment of the present application;
[0033] Fig.10Schematic diagram of an application scenario of a control method for a clothes processing device provided in an embodiment of the present application Figure 3 ;
[0034] Fig.11 A schematic flow chart of another control method for a clothes processing device provided in an embodiment of the present application;
[0035] Fig.12 A schematic diagram of the hardware structure of a controller provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0037] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0038] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances. In addition, when describing a pipeline, the "connected" and "connection" used in this application have the meaning of conduction. The specific meaning needs to be understood in conjunction with the context.
[0039] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0040] To facilitate understanding, the basic concepts of some terms or technologies involved in the embodiments of the present application are first briefly introduced and explained.
[0041] An encoder is a device that compiles and converts signals (such as bit streams) or data into a signal form that can be used for communication, transmission and storage. The encoder converts angular displacement or linear displacement into electrical signals. The former is called a code disk and the latter is called a yardstick.
[0042] According to the working principle, encoders can be divided into absolute value encoders and relative value encoders.
[0043] The absolute encoder, also known as the absolute encoder, has a certain binary digital code for each candidate position. Its indication is only related to the starting and ending positions of the measurement, but not to the intermediate process of the measurement. The absolute encoder contains a holding power supply. When the clothing treatment device is powered off, the holding power supply can power the absolute encoder, so that the absolute encoder can record the position after the user rotates the function selection knob when the clothing treatment device is powered off. That is, after the clothing treatment device is powered on, the position indicated by the absolute encoder pointer is the position after the user rotates it.
[0044] Relative encoder, also known as relative encoder or incremental encoder, converts the displacement of the pointer into a periodic electrical signal, and then converts the electrical signal into counting pulses, with the number of pulses indicating the magnitude of the displacement. The relative encoder does not contain a holding power supply, and cannot record the position of the user's function rotary knob when the clothing treatment device is powered off. After the clothing treatment device is powered on, the position indicated by the relative encoder pointer is still the position before the power off.
[0045] At present, most clothing processing devices have added encoders. Users rotate the function selection button to drive the encoder to rotate, so that the encoder outputs a signal representing the position of its pointer, and then selects a menu option to set the function parameters, such as adjusting the time, selecting a working program, etc. The encoder used in the clothing processing device is an absolute encoder or a relative encoder (also called an incremental encoder). The absolute encoder can determine the pointer position in real time. When the clothing processing device needs to read the pointer position of the absolute encoder, it can be directly read. The relative encoder converts the displacement into an electrical signal and cannot record the displacement during the power failure of the clothing processing device. These two encoders require different hardware circuits and software control methods, and cannot achieve computer board compatibility between different models. If the clothing processing device uses one of the encoders, the function of the other encoder cannot be realized. When the function of the other encoder needs to be realized, the hardware circuit and software control method need to be changed at the same time, which is not conducive to the derivation of the whole model of the clothing processing device.
[0046] In view of this, the present application provides a clothing processing device, which has a function gear sequence, including an absolute value encoder and a controller. After the clothing processing device is turned on, the controller updates the correspondence between the function gear before startup and the candidate position according to the current pointer position of the absolute value encoder and the first function gear in the function gear sequence of the clothing processing device, and obtains a second correspondence. In the second correspondence, the arrangement order of the candidate positions is the same as the arrangement order of the candidate positions in the first correspondence, the arrangement order of the function gears is the same as the arrangement order of the function gears in the first correspondence, and the first function gear corresponds to the first pointer position. Therefore, the absolute value encoder can simulate the working logic of the relative value encoder, then after the clothing processing device is turned on, the function gear indicated by the pointer position of the absolute value encoder is the first function gear in the function gear sequence, which is more regular and can improve the user experience.
[0047] The clothes processing device provided in the embodiment of the present application may be a washing machine, a clothes dryer, etc., which is not limited in the embodiment of the present application. For the convenience of description, the embodiment of the present application takes the clothes processing device as a washing machine as an example for explanation.
[0048] In some embodiments, Figure 1 Schematic diagram of a laundry processing device according to an exemplary embodiment of the present application. Figure 1 As shown, the laundry treating apparatus 1 includes a top case 11 , a function selection knob 12 , an encoder 13 (not shown), a display 14 and a controller 15 (not shown).
[0049] In some embodiments, the top shell 11 is a part of the outer shell of the clothing treatment device 1 and is used to provide physical structural support for the clothing treatment device 1 to implement various functions.
[0050] In some embodiments, the function selection knob 12 is disposed on the top shell 11, and the user can select different function gears by rotating the function selection knob 12. The multiple function gears indicated by the function selection knob 12 form a function gear sequence arranged in a rotation order. Figure 2 As shown, the function selection knob 12 can correspond to 16 function gears, and the function gears 1 to 16 are respectively: standard, strong, gentle, quick wash, washing, rinsing, dehydration, drum cleaning, woolen fabrics, down jackets, sportswear, blended fabrics, large items, small items, underwear, and sterilization.
[0051] Optionally, the laundry processing device 1 may also have one or more function buttons, such as a power button, a power off button, a start button, a pause button, etc. The user can select different function gears through the function selection knob 12, and control the laundry processing device 1 to turn on or off, start or pause the function corresponding to the function gear through the function buttons.
[0052] Optionally, all function buttons of the laundry processing device 1 are integrated on the function selection knob 12, that is, the laundry processing device does not have function buttons other than the function selection knob 12. For example, the user rotates the function selection knob 12 to point to a function position other than the shutdown function position, thereby instructing the laundry processing device 1 to turn on. For another example, the user presses and rotates the function selection knob 12 to instruct the laundry processing device 1 to start running or pause running the function corresponding to the current function position. For another example, the user rotates the function selection knob 12 to point to the shutdown function position, and after a preset time, the controller 15 controls the laundry processing device 1 to shut down.
[0053] In some embodiments, the absolute encoder 13 corresponds to a plurality of candidate positions, and the plurality of candidate positions respectively correspond to a plurality of functional gears in the functional gear sequence.
[0054] In some embodiments, the absolute encoder 13 includes a code disk 131 and a body. The code disk 131 and the body are electrically connected, and can output a binary digital code corresponding to the current pointer position of the code disk 131 .
[0055] In the embodiments of the present application, Figure 3 As shown, the code disk 131 is provided with a plurality of code tracks, which are circular areas on the code disk 131 , each code track corresponds to one coding position, and each code track is connected to a coding conductive sheet to determine a coding number corresponding to the current pointer position.
[0056] Exemplarily, when the function selection knob 12 drives the absolute encoder 13 to rotate counterclockwise, the corresponding relationship between the code numbers output by each code channel of the code disk 131 and each function gear can be shown in Table 1. In Table 1, the code numbers output by each code channel corresponding to function gear 1 are all 1, and the code numbers output by each code channel corresponding to function gear 2 to function gear 8 and the code numbers output by each code channel corresponding to function gear 10 to function gear 16 are changed compared to the code numbers of only one code bit of the previous function gear. For example, when rotating from function gear 1 to function gear 2: the code bit of the first bit changes from 1 to 0; when rotating from function gear 2 to function gear 3, the code bit of the second bit changes from 1 to 0; when rotating from function gear 3 to function gear 4, the code bit of the first bit changes from 1 to 0; when rotating from function gear 4 to function gear 5, the code bit of the third bit changes from 1 to 0. When rotating from function gear position 8 to function gear position 9 and from function gear position 15 back to function gear position 1, the coding numbers of two coding positions change. For example, when rotating from function gear position 8 to function gear position 9, the coding position of the 4th position changes from 1 to 0, and the coding position of the 3rd position changes from 0 to 1; when rotating from function gear position 15 back to function gear position 1, the coding position of the 4th position changes from 0 to 1, and the coding position of the 3rd position changes from 0 to 1.
[0057] Table 1
[0058]
[0059]
[0060] In some embodiments, the display 14 may be a liquid crystal display or an organic light-emitting diode (OLED) display. The specific type, size, and resolution of the display are not limited. It is understood by those skilled in the art that the display may be modified in performance and configuration as required.
[0061] In some embodiments, the display 14 can be used to display the control panel of the laundry processing device 1 or the operation information of the laundry processing device 1. For example, the laundry processing device 1 can display the working parameters currently set by the user through the display 14, such as the function gear selected by the user, the set operation time, etc.
[0062] In some embodiments, the clothing treatment device 1 may further include a voice prompt device. The voice prompt device is used to play voice prompt information according to a program. The content of the voice prompt information may be preset by the manufacturer of the clothing treatment device 1, or may be set by the user through the control panel of the clothing treatment device 1. For example, when the user selects the rinsing function, the voice prompt device plays audio such as "the rinsing function has been selected" to prompt the user that the rinsing function has been selected.
[0063] In some embodiments, the controller 15 refers to a device that can generate an operation control signal according to the instruction operation code and the timing signal to instruct the clothing processing device 1 to execute the control instruction. Exemplarily, the controller 15 can be a central processing unit (CPU), a general-purpose processor network processor (NP), a digital signal processor (DSP), a programmable logic device (PLD), a microprocessor, a microcontroller or any combination thereof. The controller can also be other devices with processing functions, such as circuits, devices or software modules, and the embodiments of the present application do not impose any restrictions on this.
[0064] Exemplarily, after obtaining the function level selected by the user, if a start instruction from the user is received, the controller 15 controls the clothing treatment device 1 to start running the function corresponding to the function level selected by the user to meet the user's needs.
[0065] In some embodiments, Figure 2 As shown, the clothing treatment device 1 also includes a plurality of indicator lights 16, and the plurality of indicator lights 16 correspond one-to-one to the plurality of functional gears of the clothing treatment device 1, and the plurality of indicator lights 16 are respectively used to indicate the states of the plurality of functional gears. Among them, the working states of the indicator lights 16 include: a first state, a second state, and a third state. Exemplarily, the first state may be a full-bright state, the second state may be a half-bright state, and the third state may be an off state. Alternatively, the first state, the second state, and the third state are different colors; or, the first state is a constant-bright state, the second state is a flashing state, and the third state is an off state; or, the first state is a circular mark, the second state is a square mark, and the third state is a triangular mark. It should be understood that the first state, the second state, and the third state are only used to distinguish the working states of the plurality of indicator lights 16, and the embodiments of the present application do not specifically limit the specific implementation methods of the first state, the second state, and the third state.
[0066] In some embodiments, the clothing treatment device 1 may further include a communicator. The communicator is a component for communicating with an external device or server according to various communication protocol types. For example, the communicator may include a wireless communication technology (Wi-Fi) module, a Bluetooth module, a wired Ethernet module, a near field communication technology (NFC) module, and other network communication protocol chips or near field communication protocol chips, and at least one of an infrared receiver. The communicator can be used to communicate with other devices or communication networks (such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.).
[0067] In some embodiments, the controller 15 can communicate with the terminal device used by the user through the communicator. For example, after the function selected by the user ends, the controller 15 sends a prompt message to the mobile phone used by the user through the communicator to prompt the user that the clothing treatment device 1 has stopped working.
[0068] Based on the above-mentioned clothes processing device, Figure 4 As shown, an embodiment of the present application provides a control method for a clothes processing device, which is applied to a controller of the clothes processing device. The method comprises the following steps:
[0069] S101. In response to the laundry processing apparatus being turned on, the controller obtains a first functional gear and a current first pointer position of an absolute encoder.
[0070] The first functional gear is the first functional gear in the functional gear sequence, and the first pointer position is one of a plurality of candidate positions.
[0071] In some embodiments, the function gear sequence may be set by the manufacturer of the clothing treatment device at the factory stage of the clothing treatment device, or may be set by the user according to personal preference. For example, if the user sets the function selection knob to select the function gear by rotating in a clockwise direction, the function gears in the function gear sequence are also arranged in a clockwise rotation order.
[0072] In some embodiments, the controller first determines whether the power-off memory function of the clothing processing device is turned on. If the power-off memory function is not turned on, the controller receives a power-on command from the user, and then controls the clothing processing device to turn on and obtain the first function gear and the first pointer position. The power-off memory function means that when the clothing processing device suddenly loses power, the working state of the clothing processing device (such as the function and running time of the clothing processing device) can be recorded, and after the clothing processing device is powered on again, it starts working according to the working state before the power failure.
[0073] In this way, when the power-off memory function of the clothing processing device is not turned on, indicating that the clothing processing device is manually turned on by the user, the controller obtains the first function gear and the current first pointer position of the absolute encoder, which facilitates the control process of the absolute encoder in the subsequent process.
[0074] S102: The controller updates the first corresponding relationship according to the first pointer position and the first functional gear position to obtain a second corresponding relationship.
[0075] Among them, the first corresponding relationship is the corresponding relationship between the function gear and the candidate position before power-on; in the second corresponding relationship, the arrangement order of the candidate positions is the same as the arrangement order of the candidate positions in the first corresponding relationship, the arrangement order of the function gear is the same as the arrangement order of the function gear in the first corresponding relationship, and the first function gear corresponds to the first pointer position.
[0076] In some embodiments, the controller updates the first correspondence relationship based on the first pointer position and the first functional gear to obtain a second correspondence relationship, which can be specifically implemented as follows: when the first pointer position is used as a candidate position corresponding to the first functional gear, the controller corresponds the multiple candidate positions to the multiple functional gears in the functional gear sequence according to the arrangement order of the multiple candidate positions in the first correspondence relationship to obtain the second correspondence relationship.
[0077] Exemplarily, the correspondence between the function gear position and the candidate position before power-on, that is, the first correspondence, can be as follows: Figure 5As shown in (a), the binary digital code output by the absolute encoder corresponding to function gear 1 is 1111, the binary digital code corresponding to function gear 2 is 0111, the binary digital code corresponding to function gear 3 is 0011, the binary digital code corresponding to function gear 4 is 1011, the binary digital code corresponding to function gear 5 is 1001, the binary digital code corresponding to function gear 6 is 0001, the binary digital code corresponding to function gear 7 is 0101, the binary digital code corresponding to function gear 8 is 1101, the binary digital code corresponding to function gear 9 is 1110, the binary digital code corresponding to function gear 10 is 0110, the binary digital code corresponding to function gear 11 is 0010, the binary digital code corresponding to function gear 12 is 1010, the binary digital code corresponding to function gear 13 is 1000, the binary digital code corresponding to function gear 14 is 0000, the binary digital code corresponding to function gear 15 is 0100, and the binary digital code corresponding to function gear 16 is 1100.
[0078] Assuming that the first function gear is function gear 1, the binary digital code corresponding to the first pointer position is 1101, and the first pointer position is taken as the candidate position corresponding to the first function gear, that is, the binary digital code corresponding to the first function gear is 1101, then according to the arrangement order of the multiple candidate positions in the first corresponding relationship, the multiple candidate positions are respectively corresponding to the multiple function gears in the function gear sequence, and the second corresponding relationship can be obtained as follows: Figure 5 As shown in (b) in . In the second corresponding relationship, the binary digital code output by the absolute value encoder corresponding to function gear 1 is 1101, the binary digital code corresponding to function gear 2 is 1110, the binary digital code corresponding to function gear 3 is 0110, the binary digital code corresponding to function gear 4 is 0010, the binary digital code corresponding to function gear 5 is 1010, the binary digital code corresponding to function gear 6 is 1000, the binary digital code corresponding to function gear 7 is 0000, the binary digital code corresponding to function gear 8 is 0100, the binary digital code corresponding to function gear 9 is 1100, the binary digital code corresponding to function gear 10 is 1111, the binary digital code corresponding to function gear 11 is 0111, the binary digital code corresponding to function gear 12 is 0011, the binary digital code corresponding to function gear 13 is 1011, the binary digital code corresponding to function gear 14 is 1001, the binary digital code corresponding to function gear 15 is 0001, and the binary digital code corresponding to function gear 16 is 0101.
[0079] In this way, the second corresponding relationship can be obtained without changing the arrangement order of multiple candidate positions in the first corresponding relationship or the arrangement order of the functional gears of the clothing processing device, so that the first pointer position corresponds to the first functional gear. In this way, after the clothing processing device is turned on, the first pointer position corresponds to the first functional gear, which can improve the user experience.
[0080] In some embodiments, the startup process of the clothing processing device includes a startup animation. The controller updates the second corresponding relationship after the startup animation ends, so that after the startup animation ends, the user can start selecting from the first function gear in the function gear sequence, thereby improving the user experience.
[0081] S103 , in response to the user's operation of rotating the pointer position, the controller determines the function gear selected by the user according to the second pointer position after rotation and the second corresponding relationship.
[0082] Exemplarily, after the controller determines the second corresponding relationship, it receives an operation by the user to rotate the pointer position. If the binary digital code corresponding to the second pointer position after rotation is 0011, it can be determined that the function gear selected by the user is function gear 12, and the controller can control the clothing processing device to run the function corresponding to function gear 12.
[0083] Figure 4 The technical solution shown brings at least the following beneficial effects: due to the different working logics of the absolute encoder and the relative encoder, after the clothing processing device is turned off, if the user rotates the function selection knob, the pointer position of the absolute encoder is the position after the user rotates, and the corresponding function gear will change. The technical solution provided by the present application updates the correspondence between the function gear before startup and the candidate position according to the current pointer position of the absolute encoder and the first function gear in the function gear sequence of the clothing processing device after the clothing processing device is turned on, and obtains a second correspondence. In the second correspondence, the first function gear corresponds to the first pointer position, so that the absolute encoder can simulate the working logic of the relative encoder. After the clothing processing device is turned on, the function gear indicated by the pointer position of the absolute encoder is the first function gear in the function gear sequence, which is more regular and can improve the user experience.
[0084] In some embodiments, when the power-off memory function is turned on, the present application also provides another control method for the laundry processing device, such as Figure 6 As shown, the method comprises the following steps:
[0085] S201. In response to the laundry processing apparatus being turned on, the controller obtains a first pointer position and a second functional gear position.
[0086] The second function gear is a function gear corresponding to the function that the clothing processing device was running before power failure.
[0087] In some embodiments, the controller can write the working status of the clothing processing device before power failure into the memory, and read the data from the memory after powering on again, so that the clothing processing device can restore the working status before power failure, thereby realizing the power-off memory function of the clothing processing device.
[0088] S202: The controller updates the third corresponding relationship according to the first pointer position and the second functional gear position to obtain a fourth corresponding relationship.
[0089] Among them, the third corresponding relationship is the corresponding relationship between the functional gear and the candidate position before power failure; in the fourth corresponding relationship, the arrangement order of the candidate positions is the same as the arrangement order of the candidate positions in the third corresponding relationship, the arrangement order of the functional gear is the same as the arrangement order of the functional gear in the third corresponding relationship, and the second functional gear corresponds to the first pointer position.
[0090] In some embodiments, the controller updates the third correspondence relationship based on the first pointer position and the second function gear position to obtain a fourth correspondence relationship, which can be specifically implemented as follows: when the first pointer position is taken as the candidate position corresponding to the second function gear position, the controller corresponds the multiple candidate positions to the multiple function gear positions in the function gear sequence according to the arrangement order of the multiple candidate positions in the third correspondence relationship to obtain the fourth correspondence relationship.
[0091] Exemplarily, the correspondence between the functional gear position and the candidate position before power failure, that is, the third correspondence, can be as follows: Figure 7 As shown in (a), the binary digital code output by the absolute encoder corresponding to function gear 1 is 1101, the binary digital code corresponding to function gear 2 is 1111, the binary digital code corresponding to function gear 3 is 1110, the binary digital code corresponding to function gear 4 is 1010, the binary digital code corresponding to function gear 5 is 1011, the binary digital code corresponding to function gear 6 is 1001, the binary digital code corresponding to function gear 7 is 1000, the binary digital code corresponding to function gear 8 is 0000, the binary digital code corresponding to function gear 9 is 0001, the binary digital code corresponding to function gear 10 is 0011, the binary digital code corresponding to function gear 11 is 0010, the binary digital code corresponding to function gear 12 is 0110, the binary digital code corresponding to function gear 13 is 0111, the binary digital code corresponding to function gear 14 is 0101, the binary digital code corresponding to function gear 15 is 0100, and the binary digital code corresponding to function gear 16 is 1100.
[0092] Assuming that the second function gear is function gear 5, the binary digital code corresponding to the first pointer position is 0011, and the first pointer position is used as the candidate position corresponding to the second function gear, that is, the binary digital code corresponding to the second function gear is 0011, then according to the arrangement order of the multiple candidate positions in the first corresponding relationship, the multiple candidate positions are respectively corresponding to the multiple function gears in the function gear sequence, and the second corresponding relationship can be obtained as follows: Figure 7 As shown in (b) in . In the second corresponding relationship, the binary digital code output by the absolute value encoder corresponding to function gear 1 is 1001, the binary digital code corresponding to function gear 2 is 1000, the binary digital code corresponding to function gear 3 is 0000, the binary digital code corresponding to function gear 4 is 0001, the binary digital code corresponding to function gear 5 is 0011, the binary digital code corresponding to function gear 6 is 0010, the binary digital code corresponding to function gear 7 is 0110, the binary digital code corresponding to function gear 8 is 0111, the binary digital code corresponding to function gear 9 is 0101, the binary digital code corresponding to function gear 10 is 0100, the binary digital code corresponding to function gear 11 is 1100, the binary digital code corresponding to function gear 12 is 1101, the binary digital code corresponding to function gear 13 is 1111, the binary digital code corresponding to function gear 14 is 1110, the binary digital code corresponding to function gear 15 is 1010, and the binary digital code corresponding to function gear 16 is 1011.
[0093] In this way, the fourth correspondence can be obtained without changing the arrangement order of multiple candidate positions in the third correspondence or the arrangement order of the functional gears of the clothing processing device, so that the first pointer position corresponds to the second functional gear. In this way, when the clothing processing device is powered on again after power failure, the first pointer position corresponds to the functional gear corresponding to the function running before power failure, which can improve the user experience.
[0094] S203: In response to the user's operation of rotating the pointer position, the controller determines the function gear selected by the user according to the second pointer position after rotation and the fourth corresponding relationship.
[0095] Exemplarily, after the controller determines the fourth corresponding relationship, it receives an operation by the user to rotate the pointer position. If the binary digital code corresponding to the second pointer position after rotation is 0100, it can be determined that the function gear selected by the user is function gear 10, and the controller can control the clothing processing device to run the function corresponding to function gear 10.
[0096] Figure 6The technical solution shown brings at least the following beneficial effects: after the power-off of the clothing treatment device, if the user rotates the function selection knob, the pointer position of the absolute encoder is the position after the user rotates, and the corresponding function gear will change. When the power-off memory function is turned on, after the clothing treatment device is turned on, according to the current pointer position of the absolute encoder and the function gear corresponding to the function running before the clothing treatment device is powered off, the corresponding relationship between the function gear before power off and the candidate position is updated to obtain a fourth corresponding relationship. In the fourth corresponding relationship, the second function gear corresponds to the first pointer position, so that the absolute encoder can simulate the working logic of the relative encoder. After the clothing treatment device is turned on, the function gear indicated by the pointer position of the absolute encoder corresponds to the function running before the clothing treatment device is powered off. Therefore, when the user selects a function again, he can start from the function running before the clothing treatment device is powered off, which is more regular and can improve the user's experience.
[0097] Combine the following Figure 6 The illustrated embodiment exemplarily introduces the working logic of the controller in the present application for performing an update operation on the third corresponding relationship.
[0098] like Figure 8 As shown, i, j, m, x, y, and z are initially assigned 0, and the controller starts to update the correspondence between the candidate positions of the absolute encoder and the functional gear positions of the laundry processing device:
[0099] (1) The controller obtains the function gear A0 corresponding to the function running before the laundry processing device loses power, and the function gear A1 corresponding to the current pointer position of the absolute encoder.
[0100] (2) Taking i as the count value, query the N1th function gear position in the third corresponding relationship corresponding to A1;
[0101] (3) Using j as the count value, query the N0th function gear position in the third corresponding relationship corresponding to A0;
[0102] (4) Using x, y, z, and m as count values, the third corresponding relationship is rearranged to obtain a fourth corresponding relationship; wherein the value range of x is 0-15;
[0103] (5) When x+N0<16 and x+N1<16, the pointer position of the absolute value encoder corresponding to the x+N0th functional gear position in the fourth corresponding relationship should be equal to the pointer position of the absolute value encoder corresponding to the x+N1th functional gear position in the third corresponding relationship;
[0104] (6) When x+N0<16 and x+N1≥16, the pointer position of the absolute value encoder corresponding to the x+N0th functional gear in the fourth corresponding relationship should be equal to the pointer position of the absolute value encoder corresponding to the yth functional gear in the third corresponding relationship;
[0105] (7) When x+N0≥16 and x+N1<16, the pointer position of the absolute value encoder corresponding to the zth functional gear position in the fourth corresponding relationship shall be equal to the pointer position of the absolute value encoder corresponding to the x+N1th functional gear position in the third corresponding relationship;
[0106] (8) When x+N0≥16, x+N1≥16 and y<16, the pointer position of the absolute value encoder corresponding to the zth functional gear position in the fourth corresponding relationship shall be equal to the pointer position of the absolute value encoder corresponding to the yth functional gear position in the third corresponding relationship;
[0107] (9) When x+N0≥16, x+N1≥16 and y≥16, the pointer position of the absolute value encoder corresponding to the zth functional gear in the fourth corresponding relationship should be equal to the pointer position of the absolute value encoder corresponding to the mth functional gear in the third corresponding relationship.
[0108] For example, assuming that the third correspondence is as shown in Table 2:
[0109] Table 2
[0110]
[0111] Query A1 corresponds to the 5th functional gear in the third corresponding relationship, that is, i=5; query A0 corresponds to the 10th functional gear in the third corresponding relationship, that is, j=10; use x count accumulation to assign the pointer position of the absolute encoder corresponding to the functional gear in the fourth corresponding relationship, and get Table 3, at this time x=6.
[0112] Table 3
[0113]
[0114] By accumulating the counts of x and z, the pointer position of the absolute encoder corresponding to the functional gear in the fourth corresponding relationship is assigned accordingly, and Table 4 is obtained. At this time, x=11 and z=5.
[0115] Table 4
[0116]
[0117] By accumulating the counts of x, z and m, the pointer position of the absolute encoder corresponding to the functional gear in the fourth corresponding relationship is assigned accordingly, and Table 5 is obtained. At this time, x=15, z=9, and m=4.
[0118] Table 5
[0119]
[0120] For another example, assuming that the third correspondence is as shown in Table 2, query A1 corresponds to the 10th functional gear in the third correspondence, that is, i=10; query A0 corresponds to the 5th functional gear in the third correspondence, that is, j=5; use x count accumulation to assign the pointer position of the absolute encoder corresponding to the functional gear in the fourth correspondence, and obtain Table 6, where x=6.
[0121] Table 6
[0122]
[0123] By accumulating the x and y counts, the pointer position of the absolute encoder corresponding to the functional gear position in the fourth corresponding relationship is assigned accordingly, and Table 7 is obtained. At this time, x=11 and y=4.
[0124] Table 7
[0125]
[0126] By accumulating the counts of x, z and y, the pointer position of the absolute encoder corresponding to the functional gear in the fourth corresponding relationship is assigned accordingly, and Table 8 is obtained. At this time, x=15, z=3, and y=8.
[0127] Table 8
[0128]
[0129] In some embodiments, the present application also provides another control method for a clothes processing device, such as Fig. 9 As shown, when the clothing processing device does not execute the function corresponding to any functional gear, the controller of the clothing processing device executes step S301; when the target function executed by the clothing processing device corresponds to the current functional gear, the controller executes step S302; when the target function executed by the clothing processing device corresponds to any other functional gear, the controller executes step S303.
[0130] S301. The controller controls a first indicator light to be in a first state and other indicator lights to be in a second state.
[0131] Among them, the function gear position indicated by the first indicator light is the current function gear position, and the current function gear position corresponds to the current pointer position of the absolute encoder.
[0132] For example, assuming that the first state is fully lit, the second state is half lit, and the third state is off, if the function gear corresponding to the current pointer position of the absolute encoder is function gear 6, then the first indicator light corresponds to function gear 6. Fig.10As shown in (a), the first indicator light is in full-brightness state, and the other indicator lights are in half-brightness state.
[0133] S302: The controller controls the first indicator light to be in a first state, and the other indicator lights to be in a third state.
[0134] For example, if the function gear corresponding to the current pointer position of the absolute encoder is function gear 6, and the clothing processing device is running the function corresponding to function gear 6, the first indicator light corresponds to function gear 6. Fig.10 As shown in (b), the first indicator light is in full on state, and the other indicator lights are in off state.
[0135] S303: The controller controls the first indicator light to be in the first state, the second indicator light to be in the second state, and the remaining indicator lights to be in the third state.
[0136] Among them, other function gears are function gears other than the current function gear, and the function gear indicated by the second indicator light corresponds to the target function.
[0137] For example, if the function gear corresponding to the current pointer position of the absolute encoder is function gear 6, and the clothing processing device is running the function corresponding to function gear 3, the first indicator light corresponds to function gear 6, and the second indicator light corresponds to function gear 3. Fig.10 As shown in (c) in the figure, the first indicator light is in full-brightness state, the second indicator light is in half-brightness state, and the remaining indicator lights are in off state.
[0138] Fig. 9 The technical solution shown brings at least the following beneficial effects: by controlling the indicator light to be in different states, the user can be more clearly informed of the currently selected function gear and the function gear corresponding to the function currently running in the clothing processing device, so that the user can better understand the operation of the clothing processing device and improve the user's usage experience.
[0139] In some embodiments, if the laundry treating apparatus is in a shutdown state, the controller controls all indicator lights to be in an off state.
[0140] In some embodiments, based on Fig. 9 ,like Fig.11 As shown, the control method of the clothes processing device further includes the following steps:
[0141] S304: If no start instruction is received within the preset time, the controller updates the fifth corresponding relationship according to the current pointer position and the function gear corresponding to the target function to obtain a sixth corresponding relationship.
[0142] Among them, the fifth correspondence is the correspondence between the function gear and the candidate position when the clothing processing device starts to execute the target function; in the sixth correspondence, the arrangement order of the candidate positions is the same as the arrangement order of the candidate positions in the fifth correspondence, the arrangement order of the function gear is the same as the arrangement order of the function gear in the fifth correspondence, and the function gear corresponding to the target function corresponds to the current pointer position.
[0143] The specific implementation method of the sixth corresponding relationship can refer to the above description and will not be repeated here.
[0144] S305 . In response to the user's operation of rotating the pointer position, determine the function gear selected by the user according to the second pointer position after rotation and the sixth corresponding relationship.
[0145] Fig.11 The technical solution shown brings at least the following beneficial effects: if no start command is received within the preset time, it indicates that the user has not operated within the preset time, then the fifth correspondence is updated according to the current pointer position and the function gear corresponding to the target function, and after the sixth correspondence is obtained, the current pointer position corresponds to the function gear corresponding to the target function, and after the user rotates the function selection knob again, the selection can be started from the function gear corresponding to the target function, which is more regular, and then the controller of the clothing processing device determines the function gear selected by the user according to the sixth correspondence and the pointer position after the user rotates, thereby bringing a better user experience to the user.
[0146] It can be seen that the above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to achieve the above functions, the embodiment of the present application provides a hardware structure and / or software module corresponding to each function. It should be easily appreciated by those skilled in the art that, in combination with the modules and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0147] The embodiment of the present application can divide the controller into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0148] The present application also provides a hardware structure diagram of a controller, such as Fig.12 As shown, the controller 400 includes a processor 401, and optionally, further includes a memory 402 and a communication interface 403 connected to the processor 401. The processor 401, the memory 402 and the communication interface 403 are connected via a bus 404.
[0149] Processor 401 may be a central processing unit (CPU), a general-purpose processor network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. Processor 401 may also be any other device having a processing function, such as a circuit, a device, or a software module. Processor 401 may also include multiple CPUs, and processor 401 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, or processing cores for processing data (such as computer program instructions).
[0150] The memory 402 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, and the embodiment of the present application does not impose any restrictions on this. The memory 402 may exist independently or be integrated with the processor 401. Among them, the memory 402 may contain a computer program code. The processor 401 is used to execute the computer program code stored in the memory 402, so as to realize the control method provided in the embodiment of the present application.
[0151] The communication interface 403 can be used to communicate with other devices or communication networks (such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc. The communication interface 403 can be a module, a circuit, a transceiver or any device that can achieve communication.
[0152] The bus 404 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus 404 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.12 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0153] An embodiment of the present application further provides a computer-readable storage medium, comprising computer-executable instructions, which, when executed on a computer, enable the computer to execute any one of the control methods for a clothing processing device provided in the above embodiments.
[0154] An embodiment of the present application further provides a computer program product including computer executable instructions, which, when executed on a computer, enables the computer to execute any one of the control methods for a clothing processing device provided in the above embodiments.
[0155] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer-executable instructions. When the computer-executable instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer-executable instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer-executable instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more servers that can be integrated with the medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).
[0156] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other changes to the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0157] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
[0158] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A clothes processing device having a functional gear sequence, characterized in that: include: An absolute value encoder corresponds to a plurality of candidate positions, wherein the plurality of candidate positions respectively correspond to a plurality of functional gears in the functional gear sequence; The controller is configured as: When the power-off memory function is not turned on, in response to the laundry processing device being turned on, obtaining a first function gear and a current first pointer position of the absolute encoder, wherein the first function gear is the first function gear in the function gear sequence, and the first pointer position is one of a plurality of candidate positions; In the case where the first pointer position is used as a candidate position corresponding to the first functional gear, the plurality of candidate positions are respectively corresponded to the plurality of functional gears in the functional gear sequence according to the arrangement order of the plurality of candidate positions in the first corresponding relationship, so as to obtain a second corresponding relationship; wherein the first corresponding relationship is a corresponding relationship between functional gears and candidate positions before power-on; in the second corresponding relationship, the arrangement order of candidate positions is the same as the arrangement order of candidate positions in the first corresponding relationship, the arrangement order of functional gears is the same as the arrangement order of functional gears in the first corresponding relationship, and the first functional gear corresponds to the first pointer position; In response to the user's operation of rotating the pointer position, the function gear selected by the user is determined according to the second pointer position after rotation and the second corresponding relationship.
2. The clothes treating device according to claim 1, characterized in that: When the power-off memory function is turned on, the controller is configured as follows: In response to the laundry processing device being turned on, acquiring the first pointer position and a second function gear, wherein the second function gear is a function gear corresponding to the function being run before the laundry processing device is powered off; According to the first pointer position and the second function gear, the third corresponding relationship is updated to obtain a fourth corresponding relationship; wherein the third corresponding relationship is the corresponding relationship between the function gear and the candidate position before power failure; in the fourth corresponding relationship, the arrangement order of the candidate positions is the same as the arrangement order of the candidate positions in the third corresponding relationship, the arrangement order of the function gear is the same as the arrangement order of the function gear in the third corresponding relationship, and the second function gear corresponds to the first pointer position; In response to the user's operation of rotating the pointer position, the function gear selected by the user is determined according to the second pointer position after rotation and the fourth corresponding relationship.
3. The clothes treating device according to claim 2, characterized in that: The controller executes updating the third corresponding relationship according to the first pointer position and the second functional gear to obtain a fourth corresponding relationship, and is specifically configured as follows: When the first pointer position is used as the candidate position corresponding to the second functional gear, the multiple candidate positions are respectively corresponded to the multiple functional gears in the functional gear sequence according to the arrangement order of the multiple candidate positions in the third corresponding relationship to obtain the fourth corresponding relationship.
4. The clothes processing device according to any one of claims 1 to 3, characterized in that: The laundry processing device further comprises: A plurality of indicator lights, respectively used to indicate the states of the plurality of functional gears; The working states of the indicator light include: a first state, a second state and a third state; The controller is further configured to: When the laundry processing device does not perform any function corresponding to any function gear, the first indicator light is controlled to be in a first state, and the other indicator lights are controlled to be in a second state, the function gear indicated by the first indicator light is a current function gear, and the current function gear corresponds to a current pointer position of the absolute encoder; When the target function executed by the laundry processing device corresponds to the current function gear, controlling the first indicator light to be in a first state and the remaining indicator lights to be in a third state; When the target function executed by the clothing processing device corresponds to any other function gear, the first indicator light is controlled to be in a first state, the second indicator light is controlled to be in a second state, and the remaining indicator lights are controlled to be in a third state. The other function gear is a function gear other than the current function gear, and the function gear indicated by the second indicator light corresponds to the target function.
5. The clothes treating device according to claim 4, characterized in that: When the target function executed by the laundry treatment device corresponds to any other functional gear, the controller is further configured to: If the start instruction is not received within the preset time, the fifth correspondence is updated according to the current pointer position and the function gear corresponding to the target function to obtain a sixth correspondence; wherein the fifth correspondence is the correspondence between the function gear and the candidate position when the clothing processing device starts to execute the target function; in the sixth correspondence, the arrangement order of the candidate positions is the same as the arrangement order of the candidate positions in the fifth correspondence, the arrangement order of the function gear is the same as the arrangement order of the function gear in the fifth correspondence, and the function gear corresponding to the target function corresponds to the current pointer position; In response to the user's operation of rotating the pointer position, the function gear selected by the user is determined according to the second pointer position after rotation and the sixth corresponding relationship.
6. A control method for a clothes processing device according to any one of claims 1 to 5, characterized in that: The clothes processing device has a functional gear sequence; The clothing processing device further comprises an absolute value encoder, the absolute value encoder corresponds to a plurality of candidate positions, and the plurality of candidate positions respectively correspond to a plurality of functional gears in the functional gear sequence; the method comprises: When the power-off memory function is not turned on, in response to the laundry processing device being turned on, obtaining a first function gear and a current first pointer position of the absolute encoder, wherein the first function gear is the first function gear in the function gear sequence, and the first pointer position is one of a plurality of candidate positions; In the case where the first pointer position is used as a candidate position corresponding to the first functional gear, the plurality of candidate positions are respectively corresponded to the plurality of functional gears in the functional gear sequence according to the arrangement order of the plurality of candidate positions in the first corresponding relationship, so as to obtain a second corresponding relationship; wherein the first corresponding relationship is a corresponding relationship between functional gears and candidate positions before power-on; in the second corresponding relationship, the arrangement order of candidate positions is the same as the arrangement order of candidate positions in the first corresponding relationship, the arrangement order of functional gears is the same as the arrangement order of functional gears in the first corresponding relationship, and the first functional gear corresponds to the first pointer position; In response to the user's operation of rotating the pointer position, the function gear selected by the user is determined according to the second pointer position after rotation and the second corresponding relationship.
