Motor speed control method, device, medium and equipment
The artificial neural network model uses a three-phase phase voltage signal to predict the position and speed of the motor rotor, which solves the cost and stability problems of the traditional motor speed control relying on sensors, and achieves high-precision and safe motor speed control.
Patent Information
- Application Number
- CN202410378814.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-29
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-03-29
AI Technical Summary
Traditional brushless DC motors rely on a large number of sensors in speed control, which increases cost and installation difficulty, and is sensitive to electromagnetic interference, which can easily lead to signal measurement errors and overspeed uncontrolled.
The artificial neural network model is used to predict the rotor position and speed characteristics based on the three-phase phase voltage signal. The tangent component of the rotor is calculated by the first artificial neural network model, the second artificial neural network model calculates the current rotation speed, and adjusts the phase according to the speed error. voltage signal to achieve motor speed control.
Without relying on complex sensors, the motor speed is predicted quickly and accurately, improving control safety and rotor position judgment accuracy, and reducing calculation errors.
Smart Images

Figure CN118282255B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of motor control methods, and in particular to a motor speed control method, device, medium and equipment. Background Art
[0002] Driven by the national energy conservation and emission reduction development, electric-driven new energy vehicles have developed rapidly. Among them, brushless DC motors are widely used in electric power steering systems and traction drive systems in automobiles. Traditional brushless DC motors use position sensors (such as Hall sensors) or sensors connected to the shaft (such as resolvers and encoders) to complete phase determination, thereby realizing rotor phase switching and speed prediction and control. However, the use of a large number of sensors increases the cost and installation difficulty of the motor, and the sensitivity to electromagnetic interference may deteriorate the signal measurement in the motor. For example, when the resolver fails, it is easy to cause the motor to overspeed and be uncontrolled. Summary of the invention
[0003] In view of the above technical problems, the present invention provides a motor speed control method, device, medium and equipment to solve the shortcomings of the prior art that motor speed control relies on a large number of sensors.
[0004] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0005] According to one aspect of the present invention, a motor speed control method is proposed, the method comprising:
[0006] Collecting three-phase phase voltage signals of the motor at the current time point and the next time point, taking the three-phase phase voltage signals at the current time point, the three-phase phase voltage signals at the next time point, and the time interval as input, taking the tangent component of the rotation angle of the rotor of the motor as output, and training to obtain a first artificial neural network model, wherein a complete rotation cycle of the rotor is divided into a plurality of rotation angles, and the tangent component is a tangent value of an angle range corresponding to each rotation angle;
[0007] The rotor position is sampled at a fixed time interval, a speed feature is calculated based on the change of the rotor position with the time interval, and the time interval and the rotor position are used as inputs, and the speed feature is used as output to train a second artificial neural network model;
[0008] Based on the real-time monitored phase voltage signal and the monitored time series, the first artificial neural network model is used to calculate the tangent component of the rotor in real time. Based on the tangent component and the time series, the second artificial neural network model is used to calculate the current rotational speed of the rotor in real time. Based on the error between the current rotational speed and the reference speed set by the controller, the phase voltage signal is adjusted.
[0009] Furthermore, the motor is a brushless DC motor.
[0010] Furthermore, the phase voltage signals of the three phases of the motor are collected from a three-phase inverter. When the phase voltage signals are collected, they are subjected to common-mode noise suppression through a differential amplifier, and are subjected to signal filtering through LC filtering and RC filtering.
[0011] Furthermore, the first artificial neural network model includes an input layer, an output layer, and a hidden layer. The input layer has 7 input nodes, the output layer has 1 output node, the hidden layer uses the ReLU function as an activation function, and uses the Softmax function to process the result of the output layer, converting the output data into a probability distribution, representing the predicted probability of each of the tangent components, and taking the tangent component with the highest probability as the output.
[0012] Furthermore, the second artificial neural network model is trained using a back propagation algorithm to optimize network weights and biases by minimizing a cross entropy loss function.
[0013] Furthermore, when calculating the speed feature, it includes:
[0014] Based on the encoder, obtaining the rotor positions at two consecutive time intervals, and calculating the position difference between the two rotor positions;
[0015] The position difference is divided by the time interval to obtain the velocity characteristic.
[0016] Furthermore, the first artificial neural network model and the second artificial neural network model are ANN models.
[0017] According to a second aspect of the present disclosure, there is provided a motor speed control device, comprising:
[0018] A position prediction module is used to collect the phase voltage signals of the three phases of the motor at the current time point and the next time point, take the phase voltage signals of the three phases at the current time point, the phase voltage signals of the three phases at the next time point, and the time interval as input, take the tangent component of the rotation angle of the rotor of the motor as output, and train to obtain a first artificial neural network model, wherein a complete rotation cycle of the rotor is divided into a plurality of rotation angles, and the tangent component is a tangent value of an angle range corresponding to each rotation angle;
[0019] A speed prediction module is used to sample the rotor position at a fixed time interval, calculate the speed feature based on the change of the rotor position with the time interval, take the time interval and the rotor position as input, take the speed feature as output, and train to obtain a second artificial neural network model;
[0020] The speed control module is used to calculate the tangent component of the rotor in real time using the first artificial neural network model based on the phase voltage signal monitored in real time and the monitored time series, and to calculate the current rotational speed of the rotor in real time using the second artificial neural network model based on the tangent component and the time series, and to adjust the phase voltage signal based on the error between the current rotational speed and a reference speed set by a controller.
[0021] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, storing a computer program, wherein the computer program implements the motor speed control method as described above when executed by a processor.
[0022] According to a fourth aspect of the present disclosure, there is provided a motor speed control device, comprising: a processor; and a memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor executes the above-mentioned motor speed control method.
[0023] The technical solution disclosed in this disclosure has the following beneficial effects:
[0024] Based on the real-time acquisition of the three-phase phase voltage, the motor rotor speed can be predicted quickly and accurately without relying on various complex sensors, which greatly improves the safety of motor control; based on the setting of the tangent component, the accuracy of rotor position judgment can be improved and the error caused by calculation can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 is a flow chart of a motor speed control method in an embodiment of this specification;
[0026] Figure 2 is a structural block diagram of a motor speed control device in an embodiment of this specification;
[0027] Figure 3 It is a terminal device for implementing a motor speed control method in an embodiment of this specification;
[0028] Figure 4 A computer-readable storage medium storing a motor speed control method in an embodiment of this specification. DETAILED DESCRIPTION
[0029] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0030] In addition, the accompanying drawings are only schematic illustrations of the present disclosure. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities, which do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0031] The present invention provides a method for controlling the speed of a product motor. Figure 1 FIG. 1 is a flow chart of a motor speed control method for a product provided by an embodiment of the present invention. The method can be applied to electronic devices such as personal computers and servers. The method can be executed by a device, which can be implemented by software and / or hardware. The device can be a motor controller. The method can include the following steps S101 to S103:
[0032] In step S101, the phase voltage signals of the three phases of the motor at the current time point and the next time point are collected, and the phase voltage signals of the three phases at the current time point, the phase voltage signals of the three phases at the next time point, and the time interval are taken as input, and the tangent component of the rotation angle of the rotor of the motor is taken as output. The first artificial neural network model is trained to obtain a first artificial neural network model, in which a complete rotation cycle of the rotor is divided into multiple rotation angles, and the tangent component is a tangent value of an angle range corresponding to each rotation angle.
[0033] In order to facilitate calculation, it is assumed that the motor is an ideal three-phase brushless DC motor, the influence of cogging effect and magnetic circuit saturation, eddy current and hysteresis loss are not considered, the rotation period of the rotor is 360°, and the inverter generates a three-phase signal for control. The phase voltage signal can also be measured in real time from the inverter without going deep into the motor for measurement.
[0034] In the control and operation of brushless DC motors, it is crucial to accurately detect the angular position of the rotor, which can directly affect the commutation and overall performance of the motor. Commutation refers to the change in the direction of the current in the motor, which is essential for the normal operation of the brushless DC motor. The number of poles of the motor determines the resolution of the rotor angle, that is, the minimum angle change that the motor can distinguish. If the resolution is not high enough, it may lead to inaccurate position detection, thereby affecting the performance and efficiency of the motor. To overcome this limitation, the present embodiment provides a method of using a tangential component. This method divides an electrical cycle of the motor rotor into multiple rotation angles and assigns a tangential component to each step, each rotation angle corresponding to a specific angle range. In this way, even if the physical number of poles of the motor limits the resolution, through this tangential component method, the actual rotation angle of the rotor can be more accurately tracked and controlled, thereby improving the accuracy and performance of the motor control.
[0035] In step S102, the rotor position is sampled at fixed time intervals, and a speed characteristic is calculated based on the change of the rotor position with the time interval. The time interval and the rotor position are used as inputs, and the speed characteristic is used as output to train a second artificial neural network model.
[0036] Among them, during model training, an encoder can be used in sampling the rotor position. After the model is trained, the encoder is not needed in subsequent speed prediction. In this embodiment, by collecting samples of the rotor position and calculating the speed ratio characteristics between these samples, the speed of the rotor can be estimated. Specifically, by analyzing the position changes of the rotor at different time points, the accurate estimation of the rotor speed is achieved, so that the operating state of the motor can be effectively monitored and controlled without a physical sensor.
[0037] In step S103, based on the real-time monitored phase voltage signal and the monitored time series, the first artificial neural network model is used to calculate the tangent component of the rotor in real time, and based on the tangent component and the time series, the second artificial neural network model is used to calculate the current speed of the rotor in real time, and based on the error between the current speed and the reference speed set by the controller, the phase voltage signal is adjusted.
[0038] Among them, after obtaining the two artificial neural network models, it is only necessary to measure the phase voltage signal to predict the position of the rotor. After obtaining the position of the rotor, the speed of the rotor can be predicted. Then, it can be coordinated with the controller. If the current speed is faster than the reference speed, it will slow down. If it is slower, it will speed up so that the error gradually approaches zero.
[0039] In one embodiment, the phase voltage signals of the three phases of the motor are collected from a three-phase inverter. When the phase voltage signals are collected, they are subjected to common-mode noise suppression through a differential amplifier, and are subjected to signal filtering through LC filtering and RC filtering.
[0040] Among them, based on the differential amplifier, common mode noise can be suppressed, and LC filtering and RC filtering can be used to filter the signal, so that the controller can collect pure phase voltage signals, which can reduce errors in subsequent training or speed calculations.
[0041] In one embodiment, the first artificial neural network model includes an input layer, an output layer, and a hidden layer, the input layer has 7 input nodes, the output layer has 1 output node, the hidden layer uses the ReLU function as an activation function, and uses the Softmax function to process the result of the output layer, converting the output data into a probability distribution, representing the predicted probability of each of the tangent components, and taking the tangent component with the highest probability as the output.
[0042] Among them, the seven input nodes correspond to the three phase voltages at the current time, the phase voltage at the next time point, and the interval between two times.
[0043] In one embodiment, the second artificial neural network model is trained using a back propagation algorithm to optimize network weights and biases by minimizing a cross entropy loss function.
[0044] In one embodiment, when calculating the speed characteristic, it includes: based on an encoder, obtaining the rotor position of two consecutive time intervals, calculating the position difference between the two rotor positions; dividing the position difference by the time interval to obtain the speed characteristic.
[0045] In one embodiment, the first artificial neural network model and the second artificial neural network model are ANN models.
[0046] Based on the same idea, Figure 2 As shown, a motor speed control device is provided, comprising:
[0047] The position prediction module 201 is used to collect the phase voltage signals of the three phases of the motor at the current time point and the next time point, take the phase voltage signals of the three phases at the current time point, the phase voltage signals of the three phases at the next time point, and the time interval as input, take the tangent component of the rotation angle of the rotor of the motor as output, and train to obtain a first artificial neural network model, wherein a complete rotation cycle of the rotor is divided into a plurality of rotation angles, and the tangent component is a tangent value of an angle range corresponding to each rotation angle;
[0048] The speed prediction module 202 is used to sample the rotor position at a fixed time interval, calculate the speed feature based on the change of the rotor position with the time interval, take the time interval and the rotor position as input, take the speed feature as output, and train a second artificial neural network model;
[0049] The speed control module 203 is used to calculate the tangent component of the rotor in real time using the first artificial neural network model based on the phase voltage signal monitored in real time and the monitored time series, and to calculate the current speed of the rotor in real time using the second artificial neural network model based on the tangent component and the time series, and to adjust the phase voltage signal based on the error between the current speed and the reference speed set by the controller.
[0050] Based on the real-time acquisition of the three-phase phase voltage, this device can quickly and accurately predict the motor rotor speed without relying on various complex sensors, which greatly improves the safety of motor control; based on the setting of the tangent component, it can improve the accuracy of rotor position judgment and reduce the error caused by calculation.
[0051] The specific details of each module / unit in the above-mentioned device have been described in detail in the implementation method of the method part. The undisclosed details can be found in the implementation method of the method part, so they will not be repeated here.
[0052] Based on the same idea, the embodiment of this specification also provides a motor speed control device, such as Figure 3 shown.
[0053] The motor speed control device may be the terminal device or the server provided in the above embodiments.
[0054] The motor speed control device may have relatively large differences due to different configurations or performances, and may include one or more processors 301, memory 302 and a bus, and the memory 302 may store one or more storage applications or data. Among them, the memory 302 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) and / or a cache memory unit, that is, for example, a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on an electronic device, and may further include a read-only storage unit. The application stored in the memory 302 may include one or more program modules (not shown in the figure), such program modules include but are not limited to: an operating system, one or more application programs, other program modules and program data, each of these examples or some combination may include the implementation of a network environment. Further, the processor 301 can be configured to communicate with the memory 302 to execute a series of computer executable instructions in the memory 302 on the motor speed control device. The motor speed control device may also include one or more power supplies 303, one or more wired or wireless network interfaces 304, one or more I / O interfaces (input and output interfaces) 305, one or more external devices 306 (e.g., a keyboard), and may also communicate with one or more devices that enable a user to interact with the device, and / or communicate with any device that enables the device to communicate with one or more other computing devices (e.g., a router, a network switch, etc.). Such communication may be performed via the I / O interface 305. Furthermore, the device may also communicate with one or more networks (e.g., a local area network (LAN)) via the wired or wireless interface 304.
[0055] The processor 301 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 301 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes various functions of the processing device and processes data by running or executing programs or modules (such as product motor speed control programs, etc.) stored in the memory 11, and calling data stored in the memory.
[0056] The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 302 and at least one processor 301, etc.
[0057] The power supply can be logically connected to the at least one processor 301 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power supply can also include any components such as one or more DC or AC power supplies, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The electronic device 1 can also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0058] Optionally, the processing device may further include a user interface, which may be a display (Display). Optionally, the user interface may also be a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.
[0059] Figure 3 Only the motor speed control device with components is shown, and it can be understood by those skilled in the art that Figure 3 The structure shown does not constitute a limitation on the motor speed control device, and may include fewer or more components than shown, or combine certain components, or arrange the components differently.
[0060] Specifically, in this embodiment, the motor speed control device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions in the motor speed control device, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following:
[0061] Collecting three-phase phase voltage signals of the motor at the current time point and the next time point, taking the three-phase phase voltage signals at the current time point, the three-phase phase voltage signals at the next time point, and the time interval as input, taking the tangent component of the rotation angle of the rotor of the motor as output, and training to obtain a first artificial neural network model, wherein a complete rotation cycle of the rotor is divided into a plurality of rotation angles, and the tangent component is a tangent value of an angle range corresponding to each rotation angle;
[0062] The rotor position is sampled at a fixed time interval, a speed feature is calculated based on the change of the rotor position with the time interval, and the time interval and the rotor position are used as inputs, and the speed feature is used as output to train a second artificial neural network model;
[0063] Based on the real-time monitored phase voltage signal and the monitored time series, the first artificial neural network model is used to calculate the tangent component of the rotor in real time. Based on the tangent component and the time series, the second artificial neural network model is used to calculate the current rotational speed of the rotor in real time. Based on the error between the current rotational speed and the reference speed set by the controller, the phase voltage signal is adjusted.
[0064] Based on the same idea, the exemplary embodiment of the present invention also provides a computer-readable storage medium, on which a program product capable of implementing the above method of this specification is stored. In some possible implementations, various aspects of the present disclosure can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification.
[0065] refer to Figure 4 As shown, a program 700 for implementing the above method according to an exemplary embodiment of the present disclosure is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0066] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0067] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0068] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, CSS, HTML, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0069] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the exemplary implementation of the present disclosure.
[0070] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiment of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0071] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0072] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0073] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A motor speed control method, characterized in that: The method comprises: Collecting three-phase phase voltage signals of the motor at the current time point and the next time point, taking the three-phase phase voltage signals at the current time point, the three-phase phase voltage signals at the next time point, and the time interval as input, taking the tangent component of the rotation angle of the rotor of the motor as output, and training to obtain a first artificial neural network model, wherein a complete rotation cycle of the rotor is divided into a plurality of rotation angles, and the tangent component is a tangent value of an angle range corresponding to each rotation angle; The rotor position is sampled at a fixed time interval, a speed feature is calculated based on the change of the rotor position with the time interval, and the time interval and the rotor position are used as inputs, and the speed feature is used as output to train a second artificial neural network model; Based on the real-time monitored phase voltage signal and the monitored time series, the first artificial neural network model is used to calculate the tangent component of the rotor in real time. Based on the tangent component and the time series, the second artificial neural network model is used to calculate the current rotational speed of the rotor in real time. Based on the error between the current rotational speed and the reference speed set by the controller, the phase voltage signal is adjusted.
2. The motor speed control method according to claim 1, characterized in that: The motor is a brushless DC motor.
3. The motor speed control method according to claim 1, characterized in that: The phase voltage signals of the three phases of the motor are collected from a three-phase inverter. When the phase voltage signals are collected, they are subjected to common-mode noise suppression through a differential amplifier, and are subjected to signal filtering through LC filtering and RC filtering.
4. The motor speed control method according to claim 1, characterized in that: The first artificial neural network model includes an input layer, an output layer, and a hidden layer. The input layer has 7 input nodes, the output layer has 1 output node, the hidden layer uses the ReLU function as an activation function, and uses the Softmax function to process the result of the output layer, converting the output data into a probability distribution, representing the predicted probability of each of the tangent components, and taking the tangent component with the highest probability as the output.
5. The motor speed control method according to claim 1, characterized in that: The second artificial neural network model is trained using a back propagation algorithm to optimize network weights and biases by minimizing a cross entropy loss function.
6. The motor speed control method according to claim 1, characterized in that: When calculating the speed characteristics, it includes: Based on the encoder, obtaining the rotor positions at two consecutive time intervals, and calculating the position difference between the two rotor positions; The position difference is divided by the time interval to obtain the velocity characteristic.
7. The motor speed control method according to claim 1, characterized in that: The first artificial neural network model and the second artificial neural network model are ANN models.
8. A motor speed control device, characterized in that: include: A position prediction module is used to collect the phase voltage signals of the three phases of the motor at the current time point and the next time point, take the phase voltage signals of the three phases at the current time point, the phase voltage signals of the three phases at the next time point, and the time interval as input, take the tangent component of the rotation angle of the rotor of the motor as output, and train to obtain a first artificial neural network model, wherein a complete rotation cycle of the rotor is divided into a plurality of rotation angles, and the tangent component is a tangent value of an angle range corresponding to each rotation angle; A speed prediction module is used to sample the rotor position at a fixed time interval, calculate the speed feature based on the change of the rotor position with the time interval, take the time interval and the rotor position as input, take the speed feature as output, and train to obtain a second artificial neural network model; The speed control module is used to calculate the tangent component of the rotor in real time using the first artificial neural network model based on the phase voltage signal monitored in real time and the monitored time series, and to calculate the current rotational speed of the rotor in real time using the second artificial neural network model based on the tangent component and the time series, and to adjust the phase voltage signal based on the error between the current rotational speed and a reference speed set by a controller.
9. A motor speed control device, characterized in that: The device comprises: a processor; and a memory arranged to store computer executable instructions which, when executed, cause the processor to: Collecting three-phase phase voltage signals of the motor at the current time point and the next time point, taking the three-phase phase voltage signals at the current time point, the three-phase phase voltage signals at the next time point, and the time interval as input, taking the tangent component of the rotation angle of the rotor of the motor as output, and training to obtain a first artificial neural network model, wherein a complete rotation cycle of the rotor is divided into a plurality of rotation angles, and the tangent component is a tangent value of an angle range corresponding to each rotation angle; The rotor position is sampled at a fixed time interval, a speed feature is calculated based on the change of the rotor position with the time interval, and the time interval and the rotor position are used as inputs, and the speed feature is used as output to train a second artificial neural network model; Based on the real-time monitored phase voltage signal and the monitored time series, the first artificial neural network model is used to calculate the tangent component of the rotor in real time. Based on the tangent component and the time series, the second artificial neural network model is used to calculate the current rotational speed of the rotor in real time. Based on the error between the current rotational speed and the reference speed set by the controller, the phase voltage signal is adjusted.
10. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the motor speed control method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Direct thrust control method for permanent magnet linear synchronous motor
CN115313932A
Position control type DC brush motor control method
CN116317733A
Neural network reversal control frequency converter of induction motor and structure method
CN1431769A
Method for estimating the angular position of a rotor of an electric drive system
US20180226906A1
