Driving wheel control system based on weak magnetic control
Through the drive wheel control system based on field weakening control, the problems of slow response speed and low positioning accuracy of the traditional drive wheel control system in complex environments and variable loads are solved. Efficient and precise motor control is achieved, which improves the efficiency of the drive wheel. positioning accuracy and response speed.
Patent Information
- Application Number
- CN202410839382.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-10
AI Technical Summary
The traditional driving wheel control system has slow response speed and low positioning accuracy in complex environments and variable loads, and cannot meet the needs of modern robot systems.
The drive wheel control system based on field weakening control is adopted. Through the collaborative work of the walking module, command receiving module and power output module, the motor speed and drive wheel speed are monitored in real time, and the motor operating status is dynamically adjusted to ensure that the motor operates under different load and speed requirements. Work in the optimal state to achieve precise control and quick response.
It improves the positioning accuracy and response speed of the driving wheel, enhances the stability and adaptive ability of the system, reduces the back electromotive force, and improves the speed stability of the motor speed under large load conditions.
Smart Images

Figure CN118631118A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of drive wheel control, and in particular to a drive wheel control system based on magnetic field weakening control. Background Art
[0002] With the improvement of industrial automation, the requirements for drive wheel control systems are getting higher and higher. In some scenarios that require precise positioning and fast response, traditional control methods have problems such as slow response speed and low positioning accuracy, which cannot meet the needs of modern robot systems.
[0003] Traditional control methods and direct drive technologies perform poorly in complex environments and variable loads, and are prone to unsatisfactory control effects. In addition, these methods often fail to achieve efficient operation and precise control of the motor, resulting in limited positioning accuracy and response speed of the drive wheel control system. Therefore, a new control system is needed to overcome the problems faced by the existing technology and improve the control effect and performance of the drive wheel. A drive wheel control system solution based on weak magnetic control has emerged, aiming to achieve efficient operation and precise control of the motor through a weak magnetic control strategy, thereby improving the positioning accuracy and response speed of the drive wheel. Summary of the invention
[0004] In view of the above-mentioned defects, the purpose of the present invention is to propose a drive wheel control system based on weak magnetic field control, aiming to achieve efficient operation and precise control of the motor through a weak magnetic field control strategy, thereby improving the positioning accuracy and response speed of the drive wheel.
[0005] To achieve this object, the present invention adopts the following technical solutions:
[0006] A driving wheel control system based on weak magnetic control, characterized in that it includes: a walking module, a command receiving module and a power output module, and each module can communicate with each other;
[0007] The instruction receiving module is used to respond to the driving instruction, obtain the expected speed of the driving wheel according to the driving instruction, obtain the target speed of the motor according to the expected speed, and send the target speed of the motor to the weak magnetic control submodule;
[0008] The power output module includes a motor, a weak magnetic control submodule and a signal conversion submodule, the motor is used to provide power for the walking module, the weak magnetic control submodule is used to detect the current speed of the motor, adjust the current of the motor according to the current speed and the target speed of the motor, input the current into the controller to generate a voltage corresponding to the current, generate a motor drive signal based on the voltage, and adjust the current speed of the motor to the target speed according to the motor drive signal;
[0009] The walking module includes a plurality of driving wheels and a power distribution module. The power distribution module is used to distribute the output power of the motor to the plurality of driving wheels to drive the corresponding driving wheels when the current speed of the motor is adjusted to the target speed.
[0010] Preferably, obtaining the desired speed of the driving wheel according to the driving instruction, and obtaining the target speed of the motor according to the desired speed includes:
[0011] Analyze the driving instruction, generate a desired speed of the driving wheel according to the driving instruction, and calculate the power P required for the driving wheel to reach the desired speed;
[0012] The target speed of the motor is calculated according to the torque of the motor and the power required to reach the desired speed. The expression of the target speed of the motor is shown in the following formula:
[0013]
[0014] Wherein, n is the target speed of the motor, P is the power required for the driving wheel to reach the desired speed, π is pi, and T is the torque of the motor.
[0015] Preferably, the walking module further comprises a load detection module, and the load detection module is used to detect the load change of the driving wheel control system;
[0016] Obtaining the desired speed of the driving wheel according to the driving instruction, and obtaining the target speed of the motor according to the desired speed includes:
[0017] Analyze the driving instruction, generate the expected speed of the driving wheel according to the driving instruction, and calculate the power P1 required for the driving wheel to reach the expected speed before the load changes;
[0018] The power ΔP required to overcome the load is obtained according to the load change, and the power P2 required for the drive wheel to reach the desired speed under the load change condition is obtained according to the power required for the drive wheel to reach the desired speed before the load change and the power required to overcome the load, as shown in the following formula:
[0019] P2=P1+ΔP
[0020] The target speed of the motor is calculated based on the torque of the motor and the power required for the drive wheel to reach the desired speed. The expression of the target speed of the motor is shown in the following formula:
[0021]
[0022] Among them, n is the target speed of the motor, P is the power required for the driving wheel to reach the desired speed, π is pi, T is the torque of the motor, and P2 is the power required for the driving wheel to reach the desired speed under load changes.
[0023] Preferably, a wheel speed detection module is further included, the driving instruction includes a steering instruction, and the instruction receiving module further includes:
[0024] parsing the steering command, and determining the steering angle and steering direction of the driving wheel according to the steering command;
[0025] Acquiring the real-time speed of the driving wheel from the wheel speed detection module, and calculating the turning radius of the driving wheel according to the real-time speed and the turning angle;
[0026] The driving wheels are differentially controlled according to the turning radius of the driving wheels, and the power distribution module distributes power to the driving wheels according to the turning radius and the steering angle of the driving wheels.
[0027] Preferably, determining the steering angle of the driving wheel according to the steering instruction comprises:
[0028] According to the steering instruction, a simulated steering trajectory of the corresponding driving wheel is generated based on a preset tool;
[0029] A tangent line of the center point of the driving wheel on the simulated steering trajectory is generated, and a steering angle of the driving wheel is determined according to the current forward direction of the driving wheel and the tangent line.
[0030] Preferably, the turning radius of the driving wheel is calculated according to the real-time speed and the turning angle as shown in the following formula:
[0031]
[0032] Among them, R is the steering radius of the driving wheel, V is the real-time speed of the driving wheel, g is the acceleration of gravity, and θ is the steering angle of the driving wheel.
[0033] Preferably, the magnetic field weakening control submodule comprises:
[0034] Step S1: Obtain the current speed of the motor, and determine whether the motor needs to be accelerated according to the target speed and the current speed. If the motor needs to be accelerated, execute step S2;
[0035] Step S2: Determine whether the current motor speed is lower than the turning speed; if so, execute step S3; if not, execute step S4;
[0036] Step S3: Generate corresponding d-axis and q-axis currents using the MTPA current control method, and execute step S5;
[0037] Step S4: acquiring the d-axis current according to the motor's operating parameters, design parameters and target speed, acquiring the q-axis current limit value according to the maximum current and the d-axis current, and executing step S5;
[0038] Step S5: inputting the d-axis current and the q-axis current into the controller to obtain the d-axis and q-axis voltages, and driving the motor to operate according to the d-axis and q-axis voltages;
[0039] Step S6: Repeat steps S2-S5 until the current speed reaches the target speed.
[0040] Preferably, the operating parameters in step S4 include: a given current of the q-axis and a feedback current of the q-axis; and the design parameters include: a rated current of the motor and a rated speed of the motor.
[0041] Preferably, the step of obtaining the current of the d-axis in step S4 is as follows:
[0042] Get the given current I of the q axis in real time qRef , the given current I qRef Input to the low-pass filter to get the first parameter I' qRef ;
[0043] Get the feedback current I of the q axis in real time q , the given current I q Input to the low-pass filter to obtain the second parameter I' q ;
[0044] Get the first parameter I' qRef and the second parameter I′ q The difference E is used as the input of the PI controller to obtain the current feedback given term D1;
[0045] According to the rated current I n and rated speed ω n Calculate the amplification factor Kc of the feedforward given term of the weak magnetic current;
[0046] The speed increment of the current weak magnetic field is obtained, and the speed increment is adjusted by the amplification factor Kc to obtain the current feedback given item D2;
[0047] The d-axis current I is obtained by adding the feedback given term D1 and the feedforward given term D2. d .
[0048] Preferably, the formula for obtaining the current feedback given term D1 is as follows:
[0049] D1(t)=K p E(t)+K i ∫E(t)dt
[0050] Where t is time, K q With K i They are the proportional gain coefficient and the integral gain coefficient in the PI controller respectively;
[0051] The formula for obtaining the amplification factor Kc is as follows:
[0052]
[0053] Among them I n is the rated current, ω n is the rated speed;
[0054] The formula for obtaining the feedforward given item D2 is as follows:
[0055] D2=-|(S t -S z )×K c |
[0056] Where S t is the target speed, S z is the turning speed.
[0057] One of the above technical solutions has the following advantages or beneficial effects:
[0058] By real-time monitoring of the motor speed and the speed of the drive wheel, the motor's operating state can be dynamically adjusted to ensure that the motor always works in the optimal state under different load and speed requirements. The command receiving module determines the motor's target speed based on the drive command, the real-time speed of the drive wheel and the real-time speed of the motor, achieving precise control of the motor, which helps to improve the stability and reliability of the entire system and ensure that the drive wheel can run at the predetermined speed and direction. The wheel speed detection module monitors the speed of the drive wheel in real time and feeds this information back to the command receiving module. The system can adjust the motor's operating state in time to adapt to different working conditions. This real-time feedback mechanism helps to improve the system's adaptive ability and anti-interference ability. After weak magnetic control, the speed response of the motor speed during rapid switching can be improved, ensuring the speed stability of the motor under heavy load conditions, and reducing the back electromotive force when the power input voltage is limited, so as to achieve the purpose of increasing the motor speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 is a schematic diagram of the structure of a driving wheel control system provided in an embodiment of the present application;
[0060] Figure 2 is a flow chart of the target speed of the motor of the driving wheel control system provided in the embodiment of the present application;
[0061] Figure 3is a flow chart of a target speed of a motor taking load changes into consideration in a driving wheel control system provided by an embodiment of the present application;
[0062] Figure 4 is a steering process control diagram of a command receiving module of a driving wheel control system provided in an embodiment of the present application;
[0063] Figure 5 It is a structural schematic diagram of the steering angle generation of the drive wheel control system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0065] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0066] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "plurality" means two or more.
[0067] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0068] like Figure 1 As shown, a preferred embodiment of the present application includes: a walking module, a command receiving module and a power output module, and each module can communicate with each other;
[0069] The instruction receiving module is used to respond to the driving instruction, obtain the expected speed of the driving wheel according to the driving instruction, obtain the target speed of the motor according to the expected speed, and send the target speed of the motor to the weak magnetic control submodule;
[0070] The power output module includes a motor, a weak magnetic control submodule and a signal conversion submodule, wherein the motor is used to provide power for the walking module, and the weak magnetic control submodule is used to detect the current speed of the motor, adjust the current of the motor according to the current speed and the target speed of the motor, input the current into a controller to generate a voltage corresponding to the current, and drive the motor by the voltage until the current speed of the motor is equal to the target speed;
[0071] The walking module includes a plurality of driving wheels and a power distribution module, and the power distribution module is used to distribute the output power of the motor to the plurality of driving wheels to drive the driving wheels.
[0072] Among them, the output end of the motor is connected to the walking module, and the motor transmits the output power to the walking module. The power output by the motor is distributed to each driving wheel in a certain proportion through the power distribution module, thereby driving the driving wheel to rotate.
[0073] When the system is working, the speed of the motor can be measured using measuring tools such as sensors, and sent to the instruction receiving module. The instruction receiving module receives the driving instructions of the operator. The driving instructions here include but are not limited to acceleration, deceleration, uniform speed and other instructions. According to the current speed of the driving wheel and the speed of the motor, the speed of the motor is continuously adjusted to realize the driving instructions. For example, when the driving instruction is an acceleration instruction, the power provided by the current motor speed is not enough to provide enough output power to the driving wheel after being distributed by the power distribution module to meet the requirements of the driving instruction, so it is necessary to increase the speed of the motor to increase the power output of the motor. On the contrary, if the driving instruction is a uniform speed instruction, the speed of the motor needs to be increased when the load of the system increases, and the speed of the motor needs to be reduced when the load of the system decreases. The instruction receiving module determines the target speed of the motor according to the driving instruction, the real-time speed of the driving wheel and the real-time speed of the motor, realizes the precise control of the motor, helps to improve the stability and reliability of the entire system, and ensures that the driving wheel can run at a predetermined speed and direction.
[0074] Weak magnetic control is a motor control technology. The weak magnetic control submodule is responsible for monitoring the motor speed. When the motor is running at a low speed, the motor still needs to have a stable speed and output power. When the motor is running at a high speed, the magnetic field of the motor will be enhanced. When the power input voltage is limited, the back electromotive force needs to be reduced to increase the speed. Therefore, weak magnetic control can make the motor respond to the control signal more flexibly, quickly adjust the speed and output power, and improve the response speed and control performance of the system. After the weak magnetic control of the weak magnetic control submodule, the output current of the weak magnetic control submodule is generated by the controller to generate the corresponding voltage. Using this voltage to drive the motor can provide a more stable output, thereby achieving precise control and movement.
[0075] like Figure 2 As shown, in another preferred embodiment of the present application, obtaining the desired speed of the driving wheel according to the driving instruction, and obtaining the target speed of the motor according to the desired speed includes:
[0076] Step S101: parsing the driving instruction, generating a desired speed of the driving wheel according to the driving instruction, and calculating the power P required for the driving wheel to reach the desired speed;
[0077] Step S102: Calculate the target speed of the motor according to the torque of the motor and the power required to reach the desired speed. The target speed of the motor is expressed as follows:
[0078]
[0079] Wherein, n is the target speed of the motor, P is the power required for the driving wheel to reach the desired speed, π is pi, and T is the torque of the motor.
[0080] Among them, the encoder is a sensing device installed on the motor shaft. It outputs a pulse signal by detecting the rotation angle or position. The incremental encoder determines the speed by counting the number of pulses, while the absolute encoder determines the angle position by a unique encoding value. The real-time speed of the motor is obtained through the encoder. The real-time speed data is used for the power state of the system, and the motor input is adjusted to correct the deviation to achieve stable speed control.
[0081] Specifically, the specific content of the drive instruction, such as the uniform speed instruction, is analyzed to obtain the expected speed of v = 20m / s. The power required to maintain the state corresponding to the drive instruction is calculated through the expected speed of the drive wheel, and the target speed of the motor is calculated through the power. The torque of drive wheels of different specifications is different, and their power will be different at the same speed. By calculating the power required for each drive wheel, power distribution can be performed to ensure that each drive wheel can get enough power and maximize the energy of the entire power system. By calculating the target speed, the subsequent weak magnetic control submodule can be used to perform weak magnetic control on the motor to optimize the dynamic performance of the vehicle, including acceleration response, energy efficiency and handling stability.
[0082] like Figure 3 As shown, in another preferred embodiment of the present application, the walking module further includes a load detection module, and the load detection module is used to detect the load change of the driving wheel control system;
[0083] The step of obtaining the target speed of the motor according to the driving instruction, the real-time speed of the driving wheel and the real-time speed of the motor comprises:
[0084] Step S201: parsing the driving instruction, generating a desired speed of the driving wheel according to the driving instruction, and calculating the power P1 required for the driving wheel to reach the desired speed before the load changes;
[0085] Step S202: The power ΔP required to overcome the load is obtained according to the load change, and the power P2 required for the driving wheel to reach the desired speed under the load change is obtained according to the power required for the driving wheel to reach the desired speed before the load change and the power required to overcome the load, as shown in the following formula:
[0086] P2=P1+ΔP
[0087] Where P2 is the power required for the drive wheel to reach the desired speed under load changes;
[0088] Step S203: Calculate the target speed of the motor according to the torque of the motor and the power required for the driving wheel to reach the desired speed. The target speed of the motor is expressed as follows:
[0089]
[0090] Among them, n is the target speed of the motor, P is the power required for the driving wheel to reach the desired speed, π is pi, T is the torque of the motor, and P2 is the power required for the driving wheel to reach the desired speed under load changes.
[0091] Specifically, in step S201, at a moment before the load changes, the power required for the drive wheel to reach the desired speed is calculated for the subsequent calculation of the target speed of the motor. In step S202, the power required to overcome the load work is calculated. For step S203, in combination with step S201 and step S202, when the load of the system increases, if you want to keep the motion state unchanged, you need to increase the speed of the motor to provide higher power, then the target speed of the motor will increase according to the increase in load. Conversely, when the load of the system decreases, if you want to keep the motion state unchanged, the target speed of the motor will decrease according to the decrease in load, so as to ensure that the system can operate effectively and respond to external control requirements.
[0092] like Figure 4 As shown, it is further explained that it also includes a wheel speed detection module, the driving instruction includes a steering instruction, and the instruction receiving module also includes:
[0093] Step S301: parsing the steering instruction, and determining the steering angle and steering direction of the driving wheel according to the steering instruction;
[0094] Specifically, by parsing the steering command and obtaining the information in the steering command, the steering angle and steering direction of each drive wheel are determined. By parsing the steering command, the system can know where each drive wheel should rotate, and cyclically determine the steering angle of the drive wheel to facilitate the subsequent realization of the desired steering behavior of the vehicle.
[0095] Step S302: acquiring the real-time speed of the driving wheel from the wheel speed detection module, and calculating the turning radius of the driving wheel according to the real-time speed and the turning angle;
[0096] Specifically, the turning radius is the radius of the arc described by the center line of the driving wheel when the driving wheel is turning. The wheel speed detection module is used to obtain the real-time speed information of the driving wheel, and then the turning radius of the driving wheel is calculated based on the received steering angle and real-time speed. The calculation of the turning radius is the key link in the steering of the driving wheel, which directly affects the driving trajectory and stability of the driving wheel when turning.
[0097] Step S303: differentially controlling the driving wheels according to the turning radius of the driving wheels, and the power distribution module distributes power to the driving wheels according to the turning radius and the steering angle of the driving wheels.
[0098] Specifically, when two wheels at different positions are turning, the speed of the driving wheel close to the center of the bend will be lower than that of the driving wheel far from the center of the bend, because the driving wheel close to the center of the bend requires a smaller turning radius, while the speed of the driving wheels on the outside will be relatively high because they need to travel a longer path. Therefore, in this embodiment, a differential controller can be used to perform differential control on the driving wheels according to the turning radius, and the power distribution of the driving wheels is adjusted through the power distribution module according to the turning radius and turning angle of the driving wheels, so as to maintain the steering stability of the driving wheels of the system. In actual use, the system will continuously adjust the power distribution of the driving wheels according to the steering angle and radius of the driving wheels to ensure the coordination of each driving wheel when turning.
[0099] Further, determining the steering angle of the driving wheel according to the steering instruction includes:
[0100] According to the steering instruction, a simulated steering trajectory of the corresponding driving wheel is generated based on a preset tool;
[0101] A tangent line of the center point of the driving wheel on the simulated steering trajectory is generated, and a steering angle of the driving wheel is determined according to the current forward direction of the driving wheel and the tangent line.
[0102] Specifically, a simulated steering trajectory can be generated using an arc model in geometry or numerical simulation software, wherein the simulated steering trajectory refers to generating an ideal turning trajectory based on a preset tool (such as a geometric model or numerical simulation software) and the steering command received by the vehicle. This trajectory describes the path that the driving wheels should follow when the vehicle turns, that is, the position of the center point of the driving wheels at different time points. During the turning process, the steering angle of the driving wheels needs to be dynamically adjusted according to the geometric relationship between the current position of the vehicle and the simulated steering trajectory, so the determination of the steering angle is cyclical, such as Figure 5 As shown, first determine the forward direction of the driving wheel, and make a tangent at the center point of the driving wheel on the simulated steering trajectory. The angle between the forward direction and the tangent at the center point of the driving wheel is the steering angle θ of the driving wheel at the next moment. At each subsequent moment, the position of the center point of the driving wheel on the simulated steering trajectory will be different, the forward direction will be different, and the steering angle will gradually change until the steering is completed.
[0103] Furthermore, the steering radius of the driving wheel is calculated according to the real-time speed and the steering angle as shown in the following formula:
[0104]
[0105] Among them, R is the steering radius of the driving wheel, V is the real-time speed of the driving wheel, g is the acceleration of gravity, and θ is the steering angle of the driving wheel.
[0106] Furthermore, the magnetic field weakening control submodule includes:
[0107] Step S1: Obtain the current speed of the motor, and determine whether the motor needs to be accelerated according to the target speed and the current speed. If the motor needs to be accelerated, execute step S2;
[0108] Specifically, when providing power to the drive wheel, the current speed of the motor is determined by the encoder, and the target speed of the motor sent by the instruction receiving module is received, that is, the motor speed required to implement the drive instruction. When the current speed of the motor is lower than the target speed, the speed of the motor will be increased. At this time, the output of current will be increased to achieve the purpose of increasing the speed.
[0109] If there is no need to speed up, since the target speed is lower than the current speed, you only need to reduce the current output. At this time, weak magnetic control is not involved, so you only need to use the controller to control the speed of the motor.
[0110] Step S2: Determine whether the current motor speed is lower than the turning speed; if so, execute step S3; if not, execute step S4;
[0111] Step S3: Generate corresponding d-axis and q-axis currents using the MTPA current control method, and execute step S5;
[0112] Specifically, the output current I is divided into the output current I on the d-axis d And the current I output to the q axis q , where the current I q The main control is the current in the torque direction, where the current I d The main control is the current in the direction of the magnetic field. Weak magnetic control is a kind of current I q and current I d The purpose of the control method is to weaken the motor magnetic field and reduce the back electromotive force when the power input voltage is limited, so as to increase the motor speed. For this reason, the present invention first determines whether the current speed is lower than the turning speed. When the current speed is lower than the turning speed, it means that the motor is still running in the constant torque area, and there is no need to use weak magnetic control to reduce the motor back electromotive force or increase the speed. At this time, the MTPA method is used to reduce the current I d Set it to 0 and then calculate the minimum current I q To generate as much torque as possible, so that the motor can quickly increase the speed, so that the current speed quickly approaches the target speed. d =0, the d-axis current of the motor is always zero, reducing the electromagnetic interference and vibration caused by the change of the d-axis current, which helps to maintain the stable operation of the motor.
[0113] Step S4: acquiring the d-axis current according to the motor's operating parameters, design parameters and target speed, acquiring the q-axis current limit value according to the maximum current and the d-axis current, and executing step S5;
[0114] Specifically, when the current speed of the motor is greater than the turning speed, the motor control enters the weak magnetic control stage. Based on the operating parameters and design parameters, the d-axis current is controlled and the q-axis current is limited. The speed can be accelerated to quickly reach the target speed. At the same time, the q-axis current is limited. If the q-axis current I d If the value is too high, it may cause large torque fluctuations in the dynamic response of the motor, affecting the stable operation of the motor. By limiting the q-axis current command, the torque fluctuation can be reduced and the stability of the motor can be enhanced.
[0115] Step S5: inputting the d-axis current and the q-axis current into the controller to obtain the d-axis and q-axis voltages, and driving the motor to operate according to the d-axis and q-axis voltages;
[0116] Finally, I q ,I d Inverse PARK transformation is performed to generate Ua and Ub control signals, which are then sent to the SVPWM module to generate drive signals to control the motor.
[0117] Step S6: Repeat steps S2-S5 until the current speed reaches the target speed.
[0118] When controlling the driving wheel, this embodiment detects the current speed of the motor in real time and selects different processing methods according to different current speeds, so that the motor can run smoothly when the speed is increased, and there is no need to rely on complex magnetic control algorithms during adjustment, thereby improving the stability and anti-interference ability of weak magnetic speed and making the motor speed adjustment easy to implement in engineering.
[0119] Furthermore, the operating parameters in step S4 include: a given current of the q-axis and a feedback current of the q-axis; and the design parameters include: a rated current of the motor and a rated speed of the motor.
[0120] Furthermore, the steps of obtaining the d-axis current in step S4 are as follows:
[0121] Get the given current I of the q axis in real time qRef , the given current I qRef Input to the low-pass filter to get the first parameter I' qRef ;
[0122] Get the feedback current I of the q axis in real time q , the given current I q Input to the low-pass filter to obtain the second parameter I' q ;
[0123] By acquiring the given current and feedback current of the q-axis in real time and applying a low-pass filter for processing, more stable and accurate current parameters can be obtained. This method helps to accurately control the operation of the motor and improve stability and reliability.
[0124] Get the first parameter I' qRef and the second parameter I′ q The difference E is used as the input of the PI controller to obtain the current feedback given term D1;
[0125] By calculating the difference E between the given current and the feedback current and using it as the input of the PI controller, a feedback given term D1 for adjusting the current can be obtained. The PI controller can effectively reduce the error and improve the accuracy of current control.
[0126] According to the rated current I n and rated speed ω n Calculate the amplification factor Kc of the feedforward given term of the weak magnetic current;
[0127] The calculated amplification factor Kc is determined based on the rated current and rated speed of the motor. The speed increment is adjusted by the amplification factor Kc, which can ensure that the motor runs in an efficient and stable state.
[0128] The speed increment of the current weak magnetic field is obtained, and the speed increment is adjusted by the amplification factor Kc to obtain the current feedback given item D2;
[0129] The d-axis current I is obtained by adding the feedback given term D1 and the feedforward given term D2. d .
[0130] Combining feedback control and feedforward control, the d-axis current is obtained through a simple addition operation. The d-axis current can be accurately obtained without relying on complex algorithms. The feedforward given term D1 of the weak magnetic current can improve the speed response of the motor speed during rapid switching, and the feedback given term of the weak magnetic current ensures the speed stability of the motor under heavy load. This weak magnetic control method has low calculation amount, simple structure and high operation stability.
[0131] Furthermore, the formula for obtaining the current feedback given term D1 is as follows:
[0132] D1(t)=K p E(t)+K i ∫E(t)dt
[0133] Where t is time, K q With K i They are the proportional gain coefficient and the integral gain coefficient in the PI controller respectively;
[0134] The magnification factor K is obtained c The specific formula for obtaining is as follows:
[0135]
[0136] Among them I n is the rated current, ω n is the rated speed;
[0137] The formula for obtaining the feedforward given item D2 is as follows:
[0138] D2=-|(S t -S z )×K c |
[0139] Where S t is the target speed, S z is the turning speed.
[0140] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0141] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
Claims
1. A drive wheel control system based on weak magnetic control, characterized in that: include: The walking module, command receiving module and power output module can communicate with each other; The instruction receiving module is used to respond to the driving instruction, obtain the expected speed of the driving wheel according to the driving instruction, obtain the target speed of the motor according to the expected speed, and send the target speed of the motor to the weak magnetic control submodule; The power output module includes a motor, a weak magnetic control submodule and a signal conversion submodule, the motor is used to provide power for the walking module, the weak magnetic control submodule is used to detect the current speed of the motor, adjust the current of the motor according to the current speed and the target speed of the motor, input the current into the controller to generate a voltage corresponding to the current, generate a motor drive signal based on the voltage, and adjust the current speed of the motor to the target speed according to the motor drive signal; The walking module includes a plurality of driving wheels and a power distribution module. The power distribution module is used to distribute the output power of the motor to the plurality of driving wheels to drive the corresponding driving wheels when the current speed of the motor is adjusted to the target speed.
2. The driving wheel control system according to claim 1, characterized in that: Obtaining the desired speed of the driving wheel according to the driving instruction, and obtaining the target speed of the motor according to the desired speed includes: Analyze the driving instruction, generate a desired speed of the driving wheel according to the driving instruction, and calculate the power P required for the driving wheel to reach the desired speed; The target speed of the motor is calculated according to the torque of the motor and the power required to reach the desired speed. The expression of the target speed of the motor is shown in the following formula: Wherein, n is the target speed of the motor, P is the power required for the driving wheel to reach the desired speed, π is pi, and T is the torque of the motor.
3. The driving wheel control system according to claim 1, characterized in that: The walking module also includes a load detection module, which is used to detect the load change of the driving wheel control system; Obtaining the desired speed of the driving wheel according to the driving instruction, and obtaining the target speed of the motor according to the desired speed includes: Analyze the driving instruction, generate the expected speed of the driving wheel according to the driving instruction, and calculate the power P1 required for the driving wheel to reach the expected speed before the load changes; The power ΔP required to overcome the load is obtained according to the load change, and the power P2 required for the drive wheel to reach the desired speed under the load change condition is obtained according to the power required for the drive wheel to reach the desired speed before the load change and the power required to overcome the load, as shown in the following formula: P2=P1+ΔP The target speed of the motor is calculated based on the torque of the motor and the power required for the drive wheel to reach the desired speed. The expression of the target speed of the motor is shown in the following formula: Among them, n is the target speed of the motor, P is the power required for the driving wheel to reach the desired speed, π is pi, T is the torque of the motor, and P2 is the power required for the driving wheel to reach the desired speed under load changes.
4. The driving wheel control system according to claim 1, characterized in that: It also includes a wheel speed detection module, the driving instruction includes a steering instruction, and the instruction receiving module also includes: parsing the steering command, and determining the steering angle and steering direction of the driving wheel according to the steering command; Acquiring the real-time speed of the driving wheel from the wheel speed detection module, and calculating the turning radius of the driving wheel according to the real-time speed and the turning angle; The driving wheels are differentially controlled according to the turning radius of the driving wheels, and the power distribution module distributes power to the driving wheels according to the turning radius and the steering angle of the driving wheels.
5. The driving wheel control system according to claim 4, characterized in that: Determining the steering angle of the driving wheel according to the steering instruction comprises: According to the steering instruction, a simulated steering trajectory of the corresponding driving wheel is generated based on a preset tool; A tangent line of the center point of the driving wheel on the simulated steering trajectory is generated, and a steering angle of the driving wheel is determined according to the current forward direction of the driving wheel and the tangent line.
6. The driving wheel control system according to claim 4, characterized in that: The steering radius of the driving wheel is calculated according to the real-time speed and the steering angle as shown in the following formula: Among them, R is the steering radius of the driving wheel, V is the real-time speed of the driving wheel, g is the acceleration of gravity, and θ is the steering angle of the driving wheel.
7. The driving wheel control system according to claim 1, characterized in that: The magnetic field weakening control submodule comprises: Step S1: Obtain the current speed of the motor, and determine whether the motor needs to be accelerated according to the target speed and the current speed. If the motor needs to be accelerated, execute step S2; Step S2: Determine whether the current motor speed is lower than the turning speed; if so, execute step S3; if not, execute step S4; Step S3: Generate corresponding d-axis and q-axis currents using the MTPA current control method, and execute step S5; Step S4: acquiring the d-axis current according to the motor's operating parameters, design parameters and target speed, acquiring the q-axis current limit value according to the maximum current and the d-axis current, and executing step S5; Step S5: inputting the d-axis current and the q-axis current into the controller to obtain the d-axis and q-axis voltages, and driving the motor to operate according to the d-axis and q-axis voltages; Step S6: Repeat steps S2-S5 until the current speed reaches the target speed.
8. The driving wheel control system according to claim 7, characterized in that: The operating parameters in step S4 include: a given current of the q-axis and a feedback current of the q-axis; The design parameters include: rated current of the motor and rated speed of the motor.
9. The driving wheel control system according to claim 8, characterized in that: The steps for obtaining the current of the d-axis in step S4 are as follows: Get the given current I of the q axis in real time qRef , the given current I qRef Input to the low-pass filter to get the first parameter I q ′ Ref ; Get the feedback current I of the q axis in real time q , the given current I q Input to the low-pass filter to obtain the second parameter I q ′ ; Get the first parameter I q ′ Ref With the second parameter I q ′ The difference E is used as the input of the PI controller to obtain the current feedback given term D1; According to the rated current I n and rated speed ω n Calculate the amplification factor Kc of the feedforward given term of the weak magnetic current; The speed increment of the current weak magnetic field is obtained, and the speed increment is adjusted by the amplification factor Kc to obtain the current feedback given item D2; The d-axis current I is obtained by adding the feedback given term D1 and the feedforward given term D2. d .
10. The driving wheel control system according to claim 9, characterized in that: The formula for obtaining the current feedback given term D1 is as follows: D1(t)=K p E(t)+K i ∫E(t)dt Where t is time, K q With K i They are the proportional gain coefficient and the integral gain coefficient in the PI controller respectively; The formula for obtaining the amplification factor Kc is as follows: Among them I n is the rated current, ω n is the rated speed; The formula for obtaining the feedforward given item D2 is as follows: D2=-|(S t -S z )×K c | Where S t is the target speed, S z is the turning speed.
Citation Information
Cited By
Motion control method and device of nuclear power wiping robot and electronic equipment
CN119820562A
