Magnetic levitation motor control method, device, motor controller and storage medium

By obtaining and judging the operating information of the washing machine, using the database table to judge the abnormality of the magnetic levitation motor and converting kinetic energy before power failure, the problem of rotor falling caused by abnormal magnetic levitation motor is solved and the integrity of the washing machine is protected.

CN117811463BActive Publication Date: 2024-09-13深圳市科沃电气技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410223179.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-28
Publication Date
2024-09-13
Estimated Expiration
2044-02-28

AI Technical Summary

Technical Problem

The magnetic levitation motor may be abnormal during the operation of the washing machine. The existing technology directly cuts off the power supply, causing the rotor to fall instantly, causing irreparable damage.

Method used

By obtaining the working mode of the washing machine, magnetic levitation motor operating status information and rotor operating status information, using the standard working information table in the preset database to determine abnormalities, disconnecting the power supply and controlling the downward rotation of the rotor before it stops rotating, converting kinetic energy into Provides electrical energy to the power module to keep the rotor in a suspended state.

Benefits of technology

Accurately determine the abnormality of the magnetic levitation motor and convert kinetic energy before power failure to prevent the rotor from falling and protect the washing machine from damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117811463B
    Figure CN117811463B
Patent Text Reader

Abstract

The present application relates to the field of motor technology, and in particular to a magnetic levitation motor control method, device, motor controller and storage medium. The magnetic levitation motor is used to drive a washing machine to rotate. The method includes disconnecting the power supply when there is an abnormality in the operation of the magnetic levitation motor, controlling the rotor to rotate downward before the rotor of the magnetic levitation motor stops rotating, and converting the kinetic energy of the rotor into electrical energy of the power module of the magnetic levitation motor to put the rotor in a suspended state before the rotor stops rotating. The method can prevent the rotor of the washing machine from falling instantly after a sudden power outage, thereby causing irreparable damage to the washing machine.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of motor technology, and in particular to a magnetic levitation motor control method, device, motor controller and storage medium. Background Art

[0002] With the development of science and technology, magnetic levitation motors have been used in washing machines. Since there is no direct contact between the rotor and the stator of the magnetic levitation motor when it is working, applying the magnetic levitation motor to the washing machine can make the washing machine run more smoothly and help reduce the noise generated during the operation of the washing machine. However, during the operation of the washing machine, the magnetic levitation motor may have abnormalities. When the magnetic levitation motor has an abnormality, the prior art usually directly cuts off the power supply of the washing machine. This method will cause the rotor of the magnetic levitation motor to fall instantly, which may easily cause irreparable damage to the washing machine. Summary of the invention

[0003] The present embodiment provides a magnetic levitation motor control method, device, motor controller and storage medium to solve the problems raised by the background technology.

[0004] In a first aspect, the present application provides a method for controlling a magnetic levitation motor, wherein the magnetic levitation motor is used to drive a washing machine to rotate, and the method comprises:

[0005] Acquiring the working mode, the operating state information of the magnetic suspension motor and the operating state information of the rotor of the washing machine;

[0006] Obtaining a standard working information table of the washing machine in a preset database; wherein the standard working information table includes a plurality of mapping relationships, wherein the mapping relationship is a mapping relationship between a standard working mode, standard magnetic suspension motor operating state information matching the standard working mode, and standard rotor operating state information matching the standard working mode;

[0007] Determining whether the operation of the magnetic levitation motor is abnormal based on the working mode, the operating state information of the magnetic levitation motor, the operating state information of the rotor and the standard working information table;

[0008] If there is an abnormality in the operation of the magnetic levitation motor, the power supply is disconnected, and before the rotor of the magnetic levitation motor stops rotating, the rotor is controlled to rotate downward, and the kinetic energy of the rotor is converted into electrical energy of the power module of the magnetic levitation motor, so that the rotor is in a suspended state before the rotor stops rotating.

[0009] In a second aspect, the present application provides a magnetic levitation motor control device, wherein the magnetic levitation motor is used to drive a washing machine to rotate, and the device comprises:

[0010] A first acquisition module is used to acquire the working mode of the washing machine, the operating state information of the magnetic suspension motor and the operating state information of the rotor;

[0011] A second acquisition module is used to acquire a standard working information table of the washing machine in a preset database; wherein the standard working information table includes a plurality of mapping relationships, and the mapping relationship is a mapping relationship between a standard working mode, standard magnetic suspension motor operating state information matching the standard working mode, and standard rotor operating state information matching the standard working mode;

[0012] A judgment module, used for judging whether the operation of the magnetic levitation motor is abnormal based on the working mode, the operating state information of the magnetic levitation motor, the rotor operating state information and the standard working information table;

[0013] The control module is used to disconnect the power supply if there is an abnormality in the operation of the magnetic levitation motor, control the rotor to rotate downward before the rotor of the magnetic levitation motor stops rotating, and convert the kinetic energy of the rotor into electrical energy of the power module of the magnetic levitation motor, so as to put the rotor in a suspended state before the rotor stops rotating.

[0014] In a third aspect, the present application provides a motor controller, comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the magnetic levitation motor control method as described above is implemented.

[0015] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the magnetic levitation motor control method as described above is implemented.

[0016] The present application provides a magnetic levitation motor control method, device, motor controller and storage medium, wherein the magnetic levitation motor is used to drive a washing machine to rotate, and the method comprises obtaining a working mode of the washing machine, operating state information of the magnetic levitation motor and operating state information of a rotor; obtaining a standard operating information table of the washing machine in a preset database; wherein the standard operating information table comprises a plurality of mapping relationships, wherein the mapping relationship is a mapping relationship between a standard operating mode, standard operating state information of the magnetic levitation motor matching the standard operating mode and standard operating state information of a rotor matching the standard operating mode;

[0017] Based on the working mode, the running state information of the magnetic levitation motor, the running state information of the rotor and the standard working information table, it is judged whether the working of the magnetic levitation motor is abnormal; if the working of the magnetic levitation motor is abnormal, the power supply is disconnected, and before the rotor of the magnetic levitation motor stops rotating, the rotor is controlled to rotate downward, and the kinetic energy of the rotor is converted into the electric energy of the power module of the magnetic levitation motor, so that the rotor is in a suspended state before the rotor stops rotating. This method, on the one hand, can accurately judge whether the working of the magnetic levitation motor is abnormal, and on the other hand, when the working of the magnetic levitation motor is abnormal, by disconnecting the power supply, before the rotor of the magnetic levitation motor stops rotating, the rotor is controlled to rotate downward, and the kinetic energy of the rotor is converted into the electric energy of the power module of the magnetic levitation motor, so that the rotor is in a suspended state before the rotor stops rotating. It can prevent the rotor of the washing machine from falling instantly after a sudden power outage, causing irreparable damage to the washing machine. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0019] Figure 1 A schematic diagram of a flow chart of a magnetic levitation motor control method provided in an embodiment of the present application;

[0020] Figure 2 A schematic block diagram of the structure of a magnetic levitation motor control device provided in an embodiment of the present application;

[0021] Figure 3 A schematic block diagram of the structure of a motor controller provided in an embodiment of the present application. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0023] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0024] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0025] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0026] With the development of science and technology, magnetic levitation motors have been used in washing machines. Since there is no direct contact between the rotor and stator of the magnetic levitation motor when it is working, applying the magnetic levitation motor to the washing machine can make the washing machine run more smoothly and help reduce the noise generated during the operation of the washing machine. However, during the operation of the washing machine, the magnetic levitation motor may be abnormal. When the magnetic levitation motor is abnormal, the prior art usually directly cuts off the power supply of the washing machine. This method will cause the rotor of the magnetic levitation motor to fall instantly, which is easy to cause irreparable damage to the washing machine. To this end, the embodiments of the present application provide a magnetic levitation motor control method, device, motor controller and storage medium to solve the above problems.

[0027] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0028] See also Figure 1 , Figure 1 The flowchart of the magnetic levitation motor control method provided in the embodiment of the present application is as follows. The magnetic levitation motor is used to drive the washing machine to rotate. Figure 1 As shown, the magnetic levitation motor control method provided in the embodiment of the present application includes steps S100 to S400.

[0029] Step S100, obtaining the working mode of the washing machine, the operating state information of the magnetic levitation motor and the operating state information of the rotor.

[0030] It is understandable that the execution subject of step S100 to step S400 may be a magnetic levitation motor control device, or a terminal or a server. The following description will be made by taking a server as an example.

[0031] Specifically, in step S100, the server obtains the working mode of the washing machine, the operating state information of the magnetic levitation motor and the operating state information of the rotor.

[0032] Among them, the working modes of the washing machine include but are not limited to washing, rinsing, quick wash, wool / hand wash and centrifugal, the operating status information of the magnetic levitation motor includes but is not limited to the motor current and the motor voltage, and the rotor operating status information includes but is not limited to the rotor speed, the rotor vibration frequency and the rotor offset.

[0033] Step S200, obtaining a standard working information table of the washing machine in a preset database; wherein the standard working information table includes multiple mapping relationships, and the mapping relationship is a mapping relationship between a standard working mode, standard magnetic levitation motor operating status information matching the standard working mode, and standard rotor operating status information matching the standard working mode.

[0034] Specifically, after obtaining the working mode of the washing machine, the operating state information of the magnetic levitation motor and the operating state information of the rotor, the server obtains a standard working information table of the washing machine from a preset database.

[0035] It should be noted that the step of obtaining the standard operating information table of the washing machine from the preset database includes the following steps:

[0036] Scanning a graphic code provided on the washing machine by a preset code scanning device to obtain a logo image of the washing machine;

[0037] For each frame of the logo image, the saturation of each pixel of the image is calculated, and the semantic category of the pixel corresponding to the maximum saturation among all the saturations corresponding to the image is obtained; wherein, among all the pixels of the image, at least one pixel has the maximum saturation;

[0038] performing deduplication processing on all the semantic categories to obtain multiple target semantic categories;

[0039] Based on the number of times each of the target semantic categories appears in all the semantic categories, the target semantic categories are arranged in sequence to obtain a semantic category sequence; wherein the number of times each of the target semantic categories in the semantic category sequence appears in all the semantic categories decreases in sequence;

[0040] Performing feature coding on each semantic category in the semantic category sequence to obtain a plurality of feature codes, and arranging each feature code in sequence based on the sequence of the semantic category corresponding to each feature code in the semantic category to obtain a feature code sequence;

[0041] Constructing a blank set for each different character in the feature code sequence;

[0042] For each of the blank sets, placing feature codes of characters corresponding to the blank set in the blank set to obtain multiple target sets;

[0043] For each of the target sets, the number of different characters in the target set is used as the target number, and the target numbers are arranged in sequence to obtain a digital sequence; wherein the target numbers in the digital sequence increase in sequence;

[0044] A target number is generated based on the characteristic coding sequence and the digital sequence, and a standard operation information table of the washing machine is obtained from a preset database based on the target number.

[0045] It should be noted that the obtaining of the semantic category of the pixel corresponding to the maximum saturation among all the saturations corresponding to the image includes:

[0046] Marking pixels corresponding to maximum saturation in the image;

[0047] The annotated image is input into a preset semantic segmentation model to obtain the semantic category of the pixel corresponding to the maximum saturation.

[0048] Among them, the semantic segmentation model includes an input layer, a feature extraction layer, a semantic category generation layer and an output layer, the input layer is used to receive the annotated image, the feature extraction layer is used to extract pixel features of pixels corresponding to the maximum saturation, the semantic category generation layer generates semantic categories based on the pixel features, and the output layer outputs the semantic categories.

[0049] It should be noted that generating a target number based on the characteristic coding sequence and the digital sequence includes the following steps:

[0050] Combining the target numbers of the digital sequence in sequence to obtain a digital coding sequence;

[0051] For each coded digit of the digital coding sequence, determine a target letter corresponding to the coded digit in the characteristic coding sequence; wherein the sequence number of the target letter in the characteristic coding sequence is consistent with the coded digit;

[0052] Based on the sequence of the coding numbers corresponding to the target letters in the digital coding sequence, the target letters are arranged in sequence to obtain the target number.

[0053] Exemplarily, if the digital sequence is 12, 11, 5, 9, 3, 6, 8, 7, and the characteristic coding sequence is EDγUPRθλYθHGMηNYεAGδTγ, then the digital coding sequence is 1211593687, and the target number is EDEEPYγRλθ.

[0054] It can be understood that the above method can accurately obtain the standard working information of the washing machine.

[0055] Step S300: judging whether there is any abnormality in the operation of the magnetic levitation motor based on the working mode, the operating state information of the magnetic levitation motor, the rotor operating state information and the standard working information table.

[0056] Specifically, after acquiring the standard working information table, the server determines whether there is any abnormality in the working of the magnetic levitation motor based on the working mode, the operating state information of the magnetic levitation motor, the rotor operating state information and the standard working information table.

[0057] It should be noted that judging whether the operation of the magnetic levitation motor is abnormal based on the working mode, the operating state information of the magnetic levitation motor, the rotor operating state information and the standard working information table comprises the following steps:

[0058] Traversing the standard work information table, and determining the mapping relationship corresponding to the standard work mode consistent with the work mode in the standard work information table as the target mapping relationship;

[0059] The magnetic levitation motor operating state information and the standard magnetic levitation motor operating state information corresponding to the target mapping relationship are respectively input into a preset motor operating feature extraction model to obtain a first motor operating feature vector and a second motor operating feature vector; wherein the first motor operating feature vector is a feature vector corresponding to the magnetic levitation motor operating state information, and the second motor operating feature vector is a feature vector corresponding to the standard magnetic levitation motor operating state information corresponding to the target mapping relationship; wherein the motor operating feature extraction model includes an input layer, a motor operating feature extraction layer, a motor operating feature vector generation layer and an output layer;

[0060] The rotor operation state information and the standard rotor operation state information corresponding to the target mapping relationship are respectively input into a preset rotor operation feature extraction model to obtain a first rotor operation feature vector and a second rotor operation feature vector; wherein the first rotor operation feature vector is a feature vector corresponding to the rotor operation state information, and the second rotor operation feature vector is a feature vector corresponding to the standard rotor operation state information corresponding to the target mapping relationship; wherein the rotor operation feature extraction model includes an input layer, a rotor operation feature extraction layer, a rotor operation feature vector generation layer and an output layer;

[0061] Calculating the similarity between the first motor operation feature vector and the second motor operation feature vector to obtain a first similarity, and calculating the similarity between the first rotor operation feature vector and the second rotor operation feature vector to obtain a second similarity;

[0062] Compare the first similarity and the second similarity with a preset similarity respectively; wherein the preset similarity is not less than 95%;

[0063] If both the first similarity and the second similarity are not less than the preset similarity, calculating the similarity between the first motor operation feature vector and the first rotor operation feature vector to obtain a third similarity, and calculating the similarity between the second motor operation feature vector and the second rotor operation feature vector to obtain a fourth similarity;

[0064] Calculating an absolute value of a difference between the third similarity and the fourth similarity, and comparing the absolute value with a preset absolute value; wherein the preset absolute value is not greater than 0.1%;

[0065] If the absolute value is greater than the preset absolute value, it is determined that the operation of the magnetic levitation motor is abnormal.

[0066] It can be understood that if at least one of the first similarity and the second similarity is less than the preset similarity, it is determined that there is an abnormality in the operation of the magnetic levitation motor. In order to save the computing power of the server, at this time, there is no need to execute the steps of calculating the third similarity and the fourth similarity, and the steps below this step.

[0067] It can be understood that the above method calculates the similarity between the first motor operation characteristic vector and the first rotor operation characteristic vector to obtain the third similarity when the first similarity and the second similarity are not less than the preset similarity, and calculates the similarity between the second motor operation characteristic vector and the second rotor operation characteristic vector to obtain the fourth similarity, and calculates the absolute value of the difference between the third similarity and the fourth similarity, and compares the absolute value with the preset absolute value, which helps to accurately determine whether there is an abnormality in the magnetic levitation motor.

[0068] Step S400: If there is an abnormality in the operation of the magnetic levitation motor, disconnect the power supply, control the rotor to rotate downward before the rotor of the magnetic levitation motor stops rotating, and convert the kinetic energy of the rotor into electrical energy of the power module of the magnetic levitation motor, so as to put the rotor in a suspended state before the rotor stops rotating.

[0069] Specifically, when the server determines that there is an abnormality in the operation of the magnetic levitation motor, the server controls the power supply to be disconnected, controls the rotor to rotate downward before the rotor of the magnetic levitation motor stops rotating, and converts the kinetic energy of the rotor into electrical energy of the power module of the magnetic levitation motor, so as to put the rotor in a suspended state before the rotor stops rotating.

[0070] Wherein, an electromotive force feedback system is provided between the rotor and the power module. Before the power is disconnected, the electromotive force feedback system is in an idle state. After the power is disconnected, the electromotive force feedback system is started.

[0071] It should be noted that controlling the rotor to rotate downward includes the following steps:

[0072] Obtaining the rotational kinetic energy of the rotor before power is disconnected, and inputting the rotational kinetic energy into a preset rotor motion time estimation model to obtain the time required for the rotor to stop moving when it has the rotational kinetic energy;

[0073] Acquire a target distance; the target distance is the distance between the rotor and the target position before the power is disconnected, and the rotor is in a non-suspended state at the target position;

[0074] Dividing the target distance by the time to obtain a target speed;

[0075] The target speed is used as the axial speed of the rotor to control the downward rotational movement of the rotor.

[0076] The method provided in this embodiment can, on the one hand, accurately determine whether there is an abnormality in the operation of the magnetic levitation motor, and on the other hand, when there is an abnormality in the operation of the magnetic levitation motor, by disconnecting the power supply, before the rotor of the magnetic levitation motor stops rotating, control the rotor to rotate downward, and convert the kinetic energy of the rotor into the electric energy of the power module of the magnetic levitation motor, so as to put the rotor in a suspended state before the rotor stops rotating. This can prevent the rotor of the washing machine from falling instantly after a sudden power outage, thereby causing irreparable damage to the washing machine.

[0077] In some embodiments, before inputting the rotational kinetic energy into a preset rotor motion time estimation model, the method further includes:

[0078] Acquire a training data set; the training data set includes a plurality of mapping relationships, the mapping relationship is a mapping relationship between rotational kinetic energy and time, and the time is the time required for the rotor to stop moving when it has the rotational kinetic energy;

[0079] Dividing the training data set into a training set and a validation set;

[0080] Sending the training set and the preset initial rotor motion time estimation model to a plurality of terminal devices, so that each of the terminal devices respectively trains the initial rotor motion time estimation model based on the training set to obtain a plurality of first intermediate rotor motion time estimation models; wherein each of the terminal devices is different from each other;

[0081] acquiring each of the first intermediate rotor motion time estimation models, and fusing model parameters of each of the first intermediate rotor motion time estimation models to obtain fused model parameters;

[0082] Replacing any model parameter of the first intermediate rotor motion time estimation model based on the fusion model parameters to obtain a second intermediate rotor motion time estimation model;

[0083] Calculating a first fitness of the second intermediate rotor motion time estimation model based on the validation set, and comparing the first fitness with a preset fitness;

[0084] If the first fitness is less than the preset fitness, performing population evolution on the second intermediate rotor motion time estimation model based on a preset genetic algorithm to obtain a plurality of third intermediate rotor motion time estimation models;

[0085] Calculating the second fitness of each of the third intermediate rotor motion time estimation models based on the validation set, and comparing the largest second fitness with the preset fitness;

[0086] If the largest of the second fitness is greater than the preset fitness, the third intermediate rotor motion time estimation model corresponding to the largest of the second fitness is used as the rotor motion time estimation model.

[0087] The genetic algorithm is an optimization algorithm obtained by simulating the evolution process of nature based on the theory of natural selection.

[0088] Among them, the population evolution refers to the process of iterating the population of model parameters of the second intermediate rotor motion time estimation model, gradually optimizing the gene expression form of individuals in the population, so that all individuals in the population obtain the optimal solution, wherein an individual represents a set of model parameters of the second intermediate rotor motion time estimation model, and each individual is different.

[0089] The method provided in this embodiment helps to improve the training effect of the rotor motion time estimation model, thereby improving the accuracy of the rotor motion time estimation, which helps to improve the control effect of the magnetic levitation motor control method.

[0090] See also Figure 2 , Figure 21 is a schematic block diagram of the structure of a magnetic levitation motor control device 100 provided in an embodiment of the present application. The magnetic levitation motor control device 100 is used to drive a washing machine to rotate. Figure 2 As shown, the magnetic suspension motor control device 100 includes:

[0091] The first acquisition module 110 is used to acquire the working mode of the washing machine, the operating state information of the magnetic suspension motor and the operating state information of the rotor.

[0092] The second acquisition module 120 is used to obtain the standard working information table of the washing machine in a preset database; wherein the standard working information table includes multiple mapping relationships, and the mapping relationship is a mapping relationship between a standard working mode, standard magnetic levitation motor operating status information matching the standard working mode, and standard rotor operating status information matching the standard working mode.

[0093] The judgment module 130 is used to judge whether there is any abnormality in the operation of the magnetic levitation motor based on the working mode, the operating state information of the magnetic levitation motor, the rotor operating state information and the standard working information table.

[0094] The control module 140 is used to disconnect the power supply if there is an abnormality in the operation of the magnetic levitation motor, control the rotor to rotate downward before the rotor of the magnetic levitation motor stops rotating, and convert the kinetic energy of the rotor into electrical energy of the power module of the magnetic levitation motor to put the rotor in a suspended state before the rotor stops rotating.

[0095] It should be noted that technicians in the relevant technical field can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described device and each module can refer to the corresponding process in the aforementioned magnetic levitation motor control method embodiment, and will not be repeated here.

[0096] The magnetic levitation motor control device 100 provided in the above embodiment can be implemented in the form of a computer program. The computer program can be used in Figure 3 The motor controller 200 is shown to operate.

[0097] See also Figure 3 , Figure 3 The motor controller 200 provided in the embodiment of the present application is a schematic block diagram of the structure, wherein the motor controller 200 includes a processor 201 and a memory 202, wherein the processor 201 and the memory 202 are connected via a system bus 203, wherein the memory 202 may include a non-volatile storage medium and an internal memory.

[0098] The non-volatile storage medium can store a computer program. The computer program includes program instructions, and when the program instructions are executed by the processor 201, the processor 201 can execute any of the above-mentioned magnetic levitation motor control methods.

[0099] The processor 201 is used to provide computing and control capabilities to support the operation of the entire motor controller 200 .

[0100] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor 201, the processor 201 can execute any of the above-mentioned magnetic levitation motor control methods.

[0101] Those skilled in the art will understand that Figure 3 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the motor controller 200 involved in the scheme of the present application. The specific motor controller 200 may include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.

[0102] It should be understood that the processor 201 may be a central processing unit (CPU), and the processor 201 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0103] In some embodiments, the processor 201 is used to run a computer program stored in the memory to implement the following steps:

[0104] Acquiring the working mode, the operating state information of the magnetic suspension motor and the operating state information of the rotor of the washing machine;

[0105] Obtaining a standard working information table of the washing machine in a preset database; wherein the standard working information table includes a plurality of mapping relationships, wherein the mapping relationship is a mapping relationship between a standard working mode, standard magnetic suspension motor operating state information matching the standard working mode, and standard rotor operating state information matching the standard working mode;

[0106] Determining whether the operation of the magnetic levitation motor is abnormal based on the working mode, the operating state information of the magnetic levitation motor, the operating state information of the rotor and the standard working information table;

[0107] If there is an abnormality in the operation of the magnetic levitation motor, the power supply is disconnected, and before the rotor of the magnetic levitation motor stops rotating, the rotor is controlled to rotate downward, and the kinetic energy of the rotor is converted into electrical energy of the power module of the magnetic levitation motor, so that the rotor is in a suspended state before the rotor stops rotating.

[0108] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by one or more processors, the one or more processors implement the magnetic levitation motor control method provided in the embodiment of the present application.

[0109] The computer-readable storage medium may be an internal storage unit of the motor controller 200 in the aforementioned embodiment, such as a hard disk or memory of the motor controller 200. The computer-readable storage medium may also be an external storage device of the motor controller 200, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped with the motor controller 200.

[0110] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A magnetic levitation motor control method, characterized in that: The magnetic suspension motor is used to drive the washing machine to rotate, and the method includes: Acquiring the working mode, the operating state information of the magnetic suspension motor and the operating state information of the rotor of the washing machine; Obtaining a standard working information table of the washing machine in a preset database; wherein the standard working information table includes a plurality of mapping relationships, wherein the mapping relationship is a mapping relationship between a standard working mode, standard magnetic suspension motor operating state information matching the standard working mode, and standard rotor operating state information matching the standard working mode; Determining whether the operation of the magnetic levitation motor is abnormal based on the working mode, the operating state information of the magnetic levitation motor, the operating state information of the rotor and the standard working information table; If the magnetic levitation motor is abnormal in operation, the power supply is disconnected, and before the rotor of the magnetic levitation motor stops rotating, the rotor is controlled to rotate downward, and the kinetic energy of the rotor is converted into electric energy of the power module of the magnetic levitation motor, so that the rotor is in a suspended state before the rotor stops rotating; Wherein, judging whether the operation of the magnetic levitation motor is abnormal based on the working mode, the operating state information of the magnetic levitation motor, the rotor operating state information and the standard working information table includes: Traversing the standard work information table, and determining the mapping relationship corresponding to the standard work mode consistent with the work mode in the standard work information table as the target mapping relationship; The magnetic levitation motor operating state information and the standard magnetic levitation motor operating state information corresponding to the target mapping relationship are respectively input into a preset motor operating feature extraction model to obtain a first motor operating feature vector and a second motor operating feature vector; wherein the first motor operating feature vector is a feature vector corresponding to the magnetic levitation motor operating state information, and the second motor operating feature vector is a feature vector corresponding to the standard magnetic levitation motor operating state information corresponding to the target mapping relationship; The rotor operation state information and the standard rotor operation state information corresponding to the target mapping relationship are respectively input into a preset rotor operation feature extraction model to obtain a first rotor operation feature vector and a second rotor operation feature vector; wherein the first rotor operation feature vector is a feature vector corresponding to the rotor operation state information, and the second rotor operation feature vector is a feature vector corresponding to the standard rotor operation state information corresponding to the target mapping relationship; Calculating the similarity between the first motor operation feature vector and the second motor operation feature vector to obtain a first similarity, and calculating the similarity between the first rotor operation feature vector and the second rotor operation feature vector to obtain a second similarity; Comparing the first similarity and the second similarity with preset similarities respectively; If both the first similarity and the second similarity are not less than the preset similarity, calculating the similarity between the first motor operation feature vector and the first rotor operation feature vector to obtain a third similarity, and calculating the similarity between the second motor operation feature vector and the second rotor operation feature vector to obtain a fourth similarity; Calculating an absolute value of a difference between the third similarity and the fourth similarity, and comparing the absolute value with a preset absolute value; If the absolute value is greater than the preset absolute value, it is determined that the operation of the magnetic levitation motor is abnormal; The step of controlling the rotor to rotate downwards comprises: Obtaining the rotational kinetic energy of the rotor before power is disconnected, and inputting the rotational kinetic energy into a preset rotor motion time estimation model to obtain the time required for the rotor to stop moving when it has the rotational kinetic energy; Obtaining a target distance; the target distance is the distance between the rotor and the target position before the power is disconnected, and the rotor is in a non-suspended state at the target position; Dividing the target distance by the time to obtain a target speed; The target speed is used as the axial speed of the rotor to control the downward rotational movement of the rotor.

2. The magnetic levitation motor control method according to claim 1, characterized in that: The magnetic suspension motor operation status information includes the motor current and the motor voltage; The rotor operation status information includes the rotor speed, the rotor vibration frequency and the rotor offset.

3. The magnetic levitation motor control method according to claim 1, characterized in that: The step of obtaining the standard operation information table of the washing machine from a preset database includes: Scanning the graphic code provided on the washing machine by a preset code scanning device to obtain the identification image of the washing machine; For each frame of the logo image, the saturation of each pixel of the image is calculated, and the semantic category of the pixel corresponding to the maximum saturation among all the saturations corresponding to the image is obtained; wherein, among all the pixels of the image, at least one pixel has the maximum saturation; performing deduplication processing on all the semantic categories to obtain multiple target semantic categories; Based on the number of times each of the target semantic categories appears in all the semantic categories, the target semantic categories are arranged in sequence to obtain a semantic category sequence; wherein the number of times each of the target semantic categories in the semantic category sequence appears in all the semantic categories decreases in sequence; Performing feature coding on each semantic category in the semantic category sequence to obtain a plurality of feature codes, and arranging each feature code in sequence based on the sequence of the semantic category corresponding to each feature code in the semantic category to obtain a feature code sequence; Constructing a blank set for each different character in the feature code sequence; For each of the blank sets, placing feature codes of characters corresponding to the blank set in the blank set to obtain multiple target sets; For each of the target sets, the number of different characters in the target set is used as the target number, and the target numbers are arranged in sequence to obtain a digital sequence; wherein the target numbers in the digital sequence increase in sequence; A target number is generated based on the characteristic coding sequence and the digital sequence, and a standard operation information table of the washing machine is obtained from a preset database based on the target number.

4. The magnetic levitation motor control method according to claim 3, characterized in that: The generating of the target number based on the characteristic coding sequence and the digital sequence comprises: Combining the target numbers of the digital sequence in sequence to obtain a digital coding sequence; For each coded digit of the digital coding sequence, determine a target letter corresponding to the coded digit in the characteristic coding sequence; wherein the sequence number of the target letter in the characteristic coding sequence is consistent with the coded digit; Based on the sequence of the coding numbers corresponding to the target letters in the digital coding sequence, the target letters are arranged in sequence to obtain the target number.

5. The magnetic levitation motor control method according to claim 1, characterized in that: Before inputting the rotational kinetic energy into a preset rotor motion time estimation model, the method further includes: Acquire a training data set; the training data set includes a plurality of mapping relationships, the mapping relationship is a mapping relationship between rotational kinetic energy and time, and the time is the time required for the rotor to stop moving when it has the rotational kinetic energy; Dividing the training data set into a training set and a validation set; Sending the training set and the preset initial rotor motion time estimation model to a plurality of terminal devices, so that each of the terminal devices respectively trains the initial rotor motion time estimation model based on the training set to obtain a plurality of first intermediate rotor motion time estimation models; wherein each of the terminal devices is different from each other; acquiring each of the first intermediate rotor motion time estimation models, and fusing model parameters of each of the first intermediate rotor motion time estimation models to obtain fused model parameters; Replacing any model parameter of the first intermediate rotor motion time estimation model based on the fusion model parameters to obtain a second intermediate rotor motion time estimation model; Calculating a first fitness of the second intermediate rotor motion time estimation model based on the validation set, and comparing the first fitness with a preset fitness; If the first fitness is less than the preset fitness, performing population evolution on the second intermediate rotor motion time estimation model based on a preset genetic algorithm to obtain a plurality of third intermediate rotor motion time estimation models; Calculating the second fitness of each of the third intermediate rotor motion time estimation models based on the validation set, and comparing the largest second fitness with the preset fitness; If the largest of the second fitness is greater than the preset fitness, the third intermediate rotor motion time estimation model corresponding to the largest of the second fitness is used as the rotor motion time estimation model.

6. A magnetic levitation motor control device, characterized in that: The magnetic suspension motor is used to drive the washing machine to rotate, and the device includes: A first acquisition module is used to acquire the working mode of the washing machine, the operating state information of the magnetic suspension motor and the operating state information of the rotor; A second acquisition module is used to acquire a standard working information table of the washing machine in a preset database; wherein the standard working information table includes a plurality of mapping relationships, and the mapping relationship is a mapping relationship between a standard working mode, standard magnetic suspension motor operating state information matching the standard working mode, and standard rotor operating state information matching the standard working mode; A judgment module, used for judging whether the operation of the magnetic levitation motor is abnormal based on the working mode, the operating state information of the magnetic levitation motor, the rotor operating state information and the standard working information table; a control module, configured to disconnect the power supply if there is an abnormality in the operation of the magnetic levitation motor, control the rotor to rotate downward before the rotor of the magnetic levitation motor stops rotating, and convert the kinetic energy of the rotor into electric energy of the power supply module of the magnetic levitation motor, so as to put the rotor in a suspended state before the rotor stops rotating; Wherein, judging whether the operation of the magnetic levitation motor is abnormal based on the working mode, the operating state information of the magnetic levitation motor, the rotor operating state information and the standard working information table includes: Traversing the standard work information table, and determining the mapping relationship corresponding to the standard work mode consistent with the work mode in the standard work information table as the target mapping relationship; The magnetic levitation motor operating state information and the standard magnetic levitation motor operating state information corresponding to the target mapping relationship are respectively input into a preset motor operating feature extraction model to obtain a first motor operating feature vector and a second motor operating feature vector; wherein the first motor operating feature vector is a feature vector corresponding to the magnetic levitation motor operating state information, and the second motor operating feature vector is a feature vector corresponding to the standard magnetic levitation motor operating state information corresponding to the target mapping relationship; The rotor operation state information and the standard rotor operation state information corresponding to the target mapping relationship are respectively input into a preset rotor operation feature extraction model to obtain a first rotor operation feature vector and a second rotor operation feature vector; wherein the first rotor operation feature vector is a feature vector corresponding to the rotor operation state information, and the second rotor operation feature vector is a feature vector corresponding to the standard rotor operation state information corresponding to the target mapping relationship; Calculating the similarity between the first motor operation feature vector and the second motor operation feature vector to obtain a first similarity, and calculating the similarity between the first rotor operation feature vector and the second rotor operation feature vector to obtain a second similarity; Comparing the first similarity and the second similarity with preset similarities respectively; If both the first similarity and the second similarity are not less than the preset similarity, calculating the similarity between the first motor operation feature vector and the first rotor operation feature vector to obtain a third similarity, and calculating the similarity between the second motor operation feature vector and the second rotor operation feature vector to obtain a fourth similarity; calculating an absolute value of a difference between the third similarity and the fourth similarity, and comparing the absolute value with a preset absolute value; If the absolute value is greater than the preset absolute value, it is determined that the operation of the magnetic levitation motor is abnormal; The step of controlling the rotor to rotate downwards comprises: Obtaining the rotational kinetic energy of the rotor before power is disconnected, and inputting the rotational kinetic energy into a preset rotor motion time estimation model to obtain the time required for the rotor to stop moving when it has the rotational kinetic energy; Acquire a target distance; the target distance is the distance between the rotor and the target position before the power is disconnected, and the rotor is in a non-suspended state at the target position; Dividing the target distance by the time to obtain a target speed; The target speed is used as the axial speed of the rotor to control the downward rotational movement of the rotor.

7. A motor controller, characterized in that: The motor controller includes a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the magnetic levitation motor control method according to any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium, characterized in that: A computer program is stored on the computer-readable storage medium, wherein when the computer program is executed by a processor, the magnetic levitation motor control method according to any one of claims 1 to 5 is implemented.