Motor stroke acquisition method and device, storage medium and clothes airing equipment

By acquiring motor running parameters and calculating stroke compensation data, combining historical stroke data and running direction, a method of accurately obtaining target stroke data when the motor stops or is urgently stopped is realized, and the problem of electronic stroke loss in the prior art is solved.

CN119853547APending Publication Date: 2025-04-18GUANGDONG HOTATA TECH GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510056605.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-14
Publication Date
2025-04-18

Smart Images

  • Figure CN119853547A_ABST
    Figure CN119853547A_ABST
Patent Text Reader

Abstract

The invention provides a motor stroke obtaining method and device, a storage medium and clothes airing equipment. The method comprises the steps that motor load parameters, motor running speed and running duration of motor running are obtained; according to the running speed of the motor, the running duration, the load parameters of the motor and a preset load coefficient, stroke compensation data of the motor are obtained; and obtaining target stroke data of the motor according to historical stroke data of the motor, the running direction of the motor and the stroke compensation data. The target stroke data of the motor can be accurately obtained under the condition that the motor stops.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of motor stroke acquisition, and in particular to a motor stroke acquisition method, device, storage medium and clothes drying equipment. Background Art

[0002] In the existing clothes drying machine, the electronic travel of the motor is updated after the motor stops. If the motor stops suddenly and causes the central processor of the clothes drying machine to restart, the central processor does not save the electronic travel before the motor stops suddenly, that is, the electronic travel before the motor stops suddenly has been abnormally lost, which affects the central processor's judgment of the lifting state of the clothes drying machine and the control of the lifting function. Therefore, the existing technology cannot obtain the electronic travel of the motor when the motor stops suddenly. Summary of the invention

[0003] The purpose of the present application is to overcome the shortcomings and deficiencies in the prior art and to provide a method, device, storage medium and clothes drying equipment for obtaining a motor stroke, which can accurately obtain the target stroke data of the motor when the motor stops.

[0004] A first aspect of an embodiment of the present application provides a method for obtaining a motor stroke, comprising:

[0005] Obtaining motor load parameters, motor operating speed and operating time of the motor operation;

[0006] Acquiring stroke compensation data of the motor according to the motor running speed, the running time, the motor load parameter and a preset load coefficient;

[0007] The target stroke data of the motor is acquired according to the historical stroke data of the motor, the running direction of the motor and the stroke compensation data.

[0008] A second aspect of an embodiment of the present application provides a motor stroke acquisition device, comprising:

[0009] A motor operation parameter acquisition module is used to acquire the motor load parameter, motor operation speed and operation time of the motor operation;

[0010] A stroke compensation data acquisition module, used to acquire the stroke compensation data of the motor according to the motor running speed, the running time, the motor load parameter and a preset load coefficient;

[0011] The target stroke data acquisition module is used to acquire the target stroke data of the motor according to the historical stroke data of the motor, the running direction of the motor and the stroke compensation data.

[0012] A third aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the motor stroke acquisition method as described above are implemented.

[0013] A fourth aspect of the embodiments of the present application provides a clothes drying device, comprising a central processing unit, a motor and a clothes drying rod, wherein the central processing unit drives the motor to operate so as to drive the clothes drying rod to rise or fall;

[0014] The central processor obtains the motor running speed, motor load parameters and running time of the motor when the motor is running to drive the clothes drying rod to rise or fall;

[0015] The central processing unit obtains the stroke compensation data of the motor according to the running speed of the motor, the running time, the motor load parameter and the preset load coefficient;

[0016] The central processing unit obtains the target stroke data of the motor according to the historical stroke data of the motor, the running direction of the motor and the stroke compensation data.

[0017] Compared with the related art, the present application obtains the stroke compensation data of the motor according to the motor load parameters, motor running speed and running time of the motor, and a preset load coefficient, and then obtains the target stroke data of the motor according to the historical stroke data of the motor, the running direction of the motor and the stroke compensation data. It combines the influence of the motor running parameters and the motor load parameters on the electronic stroke of the motor after the motor stops, so that when the motor stops, accurate target stroke data of the motor can be obtained. Especially when the motor stops suddenly, the present application can also obtain accurate target stroke data of the motor, thereby overcoming the technical problem in the prior art that the accurate acquisition of the electronic stroke is affected by sudden conditions such as emergency stops of the motor.

[0018] In order to more clearly understand the present application, the specific implementation of the present application will be described below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a flow chart of a method for obtaining a motor stroke according to an embodiment of the present application.

[0020] Figure 2 This is a flowchart of steps S21-S23 of a method for acquiring a motor stroke according to an embodiment of the present application.

[0021] Figure 3 This is a flowchart of steps S31 - S32 of a method for acquiring a motor stroke according to an embodiment of the present application.

[0022] Figure 4This is a schematic diagram of module connections of a motor travel acquisition device according to an embodiment of the present application.

[0023] 100. Motor stroke acquisition device; 101. Motor operation parameter acquisition module; 102. Stroke compensation data acquisition module; 103. Target stroke data acquisition module. DETAILED DESCRIPTION

[0024] In order to make the objectives, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0025] It should be clear that 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 the embodiments of the present application.

[0026] When the following description relates to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances. The singular forms of "a", "said" and "the" used in the present application and the appended claims are also intended to include the majority form, unless the context clearly indicates other meanings. The words "if" / "if" used herein can be interpreted as "at the time of" or "when" or "in response to determination".

[0027] In addition, in the description of this application, unless otherwise specified, "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0028] See also Figure 1 , which is a flow chart of a motor travel acquisition method of an embodiment of the present application. The motor travel acquisition method of this embodiment is applied to a clothes drying device, wherein the clothes drying device includes a motor and a clothes drying rod. When the motor is running, the clothes drying rod is driven to rise or fall. The motor travel acquisition method includes:

[0029] S1: Obtaining the motor load parameter, motor running speed and running time of the motor.

[0030] Among them, the motor load parameters, motor operating speed and operating time all refer to the motor operation data before the motor stops.

[0031] The motor load parameter refers to the resistance overcome when the motor runs to drive the load object to move. For example, when the motor runs to drive the clothesline to move, the resistance overcome includes: the weight of the clothesline and the weight of the items hung on the clothesline. The motor running speed refers to the rotational speed of the motor when it drives the load object to move. The running time refers to the time from the start of the motor to the stop of the motor.

[0032] S2: Acquire stroke compensation data of the motor according to the motor running speed, the running time, the motor load parameter and a preset load coefficient.

[0033] The stroke compensation data refers to the data that is not saved because the motor is stopped.

[0034] See also Figure 2 In a feasible embodiment, the stroke compensation data of the motor can be obtained by the following steps:

[0035] S21: Obtaining a first running stroke before the motor stops according to the running speed of the motor and the running time.

[0036] The first running stroke before the motor stops is not affected by the motor stopping, so the first running stroke is proportional to the running speed and running time of the motor.

[0037] S22: Obtaining a second running stroke after the motor stops according to the motor load parameter and the load coefficient.

[0038] After the motor stops, under the influence of the motor load parameters, the motor speed will gradually decrease to zero. Therefore, the second operating stroke after the motor stops is affected by the motor load parameters. Specifically, the relationship between the second operating stroke and the motor load parameters is expressed by a preset load coefficient, where the load coefficient has a value range of (0, 1.4).

[0039] S23: Obtaining the stroke compensation data according to the first operation stroke and the second operation stroke.

[0040] The stroke compensation data can be obtained by superimposing the first operation stroke and the second operation stroke.

[0041] S3: acquiring target stroke data of the motor according to the historical stroke data of the motor, the running direction of the motor and the stroke compensation data.

[0042] The historical travel data refers to the travel data before the motor runs this time, and can be the travel data after the motor stops running last time. The running direction of the motor determines the addition and subtraction relationship between the historical travel data and the travel compensation data. After adding and subtracting the historical travel data and the travel compensation data according to the running direction, the target travel data of the motor can be accurately obtained.

[0043] Compared with the related art, the present application obtains the stroke compensation data of the motor based on the motor load parameters, motor running speed and running time before the motor stops, and a preset load coefficient, and then obtains the target stroke data of the motor based on the motor's historical stroke data, the motor's running direction and stroke compensation data. It combines the parameters before the motor stops and the influence of the motor load parameters on the motor's electronic stroke after the motor stops, so that when the motor stops, accurate target stroke data of the motor can be obtained. In particular, when the motor stops suddenly, the present application can also obtain accurate target stroke data of the motor, overcoming the technical problem in the prior art that the accurate acquisition of the electronic stroke is affected by sudden conditions such as emergency stops of the motor.

[0044] In a feasible embodiment, the step S21: obtaining a first running stroke of the motor before the motor stops according to the running speed of the motor and the running time, comprises:

[0045] The first running stroke is obtained by the following formula:

[0046] S1=V×T

[0047] Wherein, S1 is the first running stroke, V is the motor running speed, and T is the running time.

[0048] In this embodiment, data of the first running stroke can be accurately obtained according to the running speed and running time of the motor.

[0049] In a feasible embodiment, the step S22: obtaining a second running stroke after the motor stops according to the motor load parameter and the load coefficient, comprises:

[0050] The second running stroke is obtained by the following formula:

[0051] S2=F×f

[0052] Among them, S2 is the second operating stroke, F is the motor load parameter, and f is the load coefficient.

[0053] In this embodiment, data of the first operating stroke can be accurately obtained according to the motor load parameter and the load coefficient.

[0054] In a feasible embodiment, the step S23: obtaining the stroke compensation data according to the first operating stroke and the second operating stroke includes:

[0055] The stroke compensation data is obtained by the following formula:

[0056] S=S1+S2

[0057] Wherein, S is the stroke compensation data, S1 is the first operating stroke, and S2 is the second operating stroke.

[0058] In this embodiment, stroke compensation data can be accurately obtained according to the first operating stroke and the second operating stroke.

[0059] See also Figure 3 In a feasible embodiment, the step of S3: acquiring the target stroke data of the motor according to the historical stroke data of the motor, the running direction of the motor and the stroke compensation data, comprises:

[0060] S31: If the running direction of the motor is the first direction, the sum of the historical stroke data and the stroke compensation data is determined as the target stroke data.

[0061] Among them, for the clothes drying equipment, the first direction is the direction in which the motor drives the clothes drying rod to descend.

[0062] S32: If the running direction of the motor is the second direction, the difference between the historical stroke data and the stroke compensation data is determined as the target stroke data.

[0063] Among them, for the clothes drying equipment, the second direction is the direction in which the motor drives the clothes drying rod to rise.

[0064] In a feasible embodiment, the step of S1: obtaining the motor load parameter before the motor stops, comprises:

[0065] S11: Acquire current parameters output to the motor when the motor is running.

[0066] The current parameter output to the motor refers to the current used to drive the motor to run, that is, the current output to the motor.

[0067] S12: According to the preset correspondence between the current parameter and the load parameter, the motor load parameter corresponding to the current parameter is obtained.

[0068] Among them, the greater the resistance overcome by the motor when driving the load object to move, the greater the current required for the motor to operate, that is, the greater the current parameter output to the motor, therefore, the corresponding relationship between the preset current parameter and the load parameter is positively correlated, that is, the corresponding relationship between the current parameter and the load parameter is expressed as the greater the current parameter, the greater the motor load parameter.

[0069] In this embodiment, according to the correspondence between the preset current parameters and the load parameters, the motor load parameters corresponding to the motor operation can be obtained.

[0070] See also Figure 4 The second embodiment of the present application provides a motor stroke acquisition device, comprising:

[0071] A motor operation parameter acquisition module is used to acquire the motor load parameter, motor operation speed and operation time of the motor operation;

[0072] A stroke compensation data acquisition module, used to acquire the stroke compensation data of the motor according to the motor running speed, the running time, the motor load parameter and a preset load coefficient;

[0073] The target stroke data acquisition module is used to acquire the target stroke data of the motor according to the historical stroke data of the motor, the running direction of the motor and the stroke compensation data.

[0074] It should be noted that the motor stroke acquisition device provided in the second embodiment of the present application only uses the division of the above-mentioned functional modules as an example when executing the motor stroke acquisition method. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the motor stroke acquisition device provided in the second embodiment of the present application and the motor stroke acquisition method of the first embodiment of the present application belong to the same concept. The implementation process is detailed in the method embodiment, which will not be repeated here.

[0075] A third embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the motor stroke acquisition method as described above are implemented.

[0076] A fourth embodiment of the present application provides a clothes drying device, comprising a central processing unit, a motor and a clothes drying rod, wherein the central processing unit drives the motor to operate so as to drive the clothes drying rod to rise or fall;

[0077] The central processor obtains the motor running speed, motor load parameters and running time of the motor that drives the clothes drying rod to rise or fall before the motor stops;

[0078] The central processing unit obtains the stroke compensation data of the motor according to the running speed of the motor, the running time, the motor load parameter and the preset load coefficient;

[0079] The central processing unit obtains the target stroke data of the motor according to the historical stroke data of the motor, the running direction of the motor and the stroke compensation data.

[0080] The device embodiments described above are merely illustrative, wherein the components described as separate parts may or may not be physically separated, and the parts displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application. Ordinary technicians in this field can understand and implement it without creative work.

[0081] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0082] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the function selected in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 function selected in a box or multiple boxes.

[0083] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 steps for the function selected in a box or multiple boxes.

[0084] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0085] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0086] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0087] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0088] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for obtaining a motor stroke, characterized in that: include: Obtain the motor load parameters, motor running speed and running time of the motor; Acquiring stroke compensation data of the motor according to the motor running speed, the running time, the motor load parameter and a preset load coefficient; The target stroke data of the motor is acquired according to the historical stroke data of the motor, the running direction of the motor and the stroke compensation data.

2. The motor stroke acquisition method according to claim 1, characterized in that: The step of obtaining the stroke compensation data of the motor according to the motor running speed, the running time, the motor load parameter and the preset load coefficient comprises: Obtaining a first running stroke before the motor stops according to the running speed of the motor and the running time; Obtaining a second running stroke after the motor stops according to the motor load parameter and the load coefficient; The stroke compensation data is obtained according to the first operation stroke and the second operation stroke.

3. The motor stroke acquisition method according to claim 2, characterized in that: The step of obtaining a first running stroke of the motor before stopping according to the running speed of the motor and the running time comprises: The first running stroke is obtained by the following formula: S1=V×T Wherein, S1 is the first running stroke, V is the motor running speed, and T is the running time.

4. The motor stroke acquisition method according to claim 2, characterized in that: The step of obtaining a second running stroke after the motor stops according to the motor load parameter and the load coefficient comprises: The second running stroke is obtained by the following formula: S2=F×f Among them, S2 is the second operating stroke, F is the motor load parameter, and f is the load coefficient.

5. The motor stroke acquisition method according to claim 2, characterized in that: The step of obtaining the stroke compensation data according to the first operating stroke and the second operating stroke comprises: The stroke compensation data is obtained by the following formula: S=S1+S2 Wherein, S is the stroke compensation data, S1 is the first operating stroke, and S2 is the second operating stroke.

6. The motor stroke acquisition method according to claim 1, characterized in that: The step of acquiring the target stroke data of the motor according to the historical stroke data of the motor, the running direction of the motor and the stroke compensation data comprises: If the running direction of the motor is the first direction, the sum of the historical stroke data and the stroke compensation data is determined as the target stroke data; If the running direction of the motor is the second direction, the difference between the historical stroke data and the stroke compensation data is determined as the target stroke data.

7. The motor stroke acquisition method according to claim 1, characterized in that: The step of obtaining the motor load parameter of the motor operation includes: Acquire current parameters output to the motor when the motor is running; According to the preset correspondence between the current parameter and the load parameter, the motor load parameter corresponding to the current parameter is obtained.

8. A motor stroke acquisition device, characterized in that: include: The motor operation parameter acquisition module is used to obtain the motor load parameters, motor operation speed and operation time of the motor operation; A stroke compensation data acquisition module, used to acquire the stroke compensation data of the motor according to the motor running speed, the running time, the motor load parameter and a preset load coefficient; The target stroke data acquisition module is used to acquire the target stroke data of the motor according to the historical stroke data of the motor, the running direction of the motor and the stroke compensation data.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the motor stroke acquisition method according to any one of claims 1 to 7 are implemented.

10. A clothes drying device, characterized in that: It includes a central processing unit, a motor and a clothes drying rod, wherein the central processing unit drives the motor to operate so as to drive the clothes drying rod to rise or fall; The central processor obtains the motor running speed, motor load parameters and running time of the motor that drives the clothes drying rod to rise or fall before the motor stops; The central processor obtains the stroke compensation data of the motor according to the running speed of the motor, the running time, the motor load parameter and the preset load coefficient; The central processing unit obtains the target stroke data of the motor according to the historical stroke data of the motor, the running direction of the motor and the stroke compensation data.