Synchronous motor control method and device, equipment and storage medium
By constructing a lookup table and current closed-loop control, the problem of low accuracy of motor active heating control is solved, more efficient motor active heating is achieved, and the winter low-temperature endurance of pure electric vehicles is improved.
Patent Information
- Application Number
- CN202410717216.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-08-27
AI Technical Summary
Existing motor active heating control has low accuracy and poor control effect, making it difficult to effectively improve the cruising range of pure electric vehicles under low-temperature conditions in winter.
By constructing one-dimensional and two-dimensional lookup tables, the target query current is determined based on the active heating target current, the magnetic field direction axis current and the vertical direction axis current are determined, and current closed-loop control is performed to achieve switching between magnetization and weakening, and improve the motor active heating control. Accuracy.
It effectively improves the accuracy of motor active heating control, overcomes the problems of low control accuracy and poor effect in the existing technology, and improves the cruising range of pure electric vehicles under low-temperature conditions in winter.
Smart Images

Figure CN118554850A
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to synchronous motor control methods, devices, equipment and storage media. Background Art
[0002] In automotive motor control systems, permanent magnet synchronous motors, especially built-in permanent magnet synchronous motors, have been widely used due to their high power density, high efficiency and small size. At present, most pure electric vehicle air conditioning systems use PTC electric heaters for heating in winter heating conditions, and their heating efficiency is less than 1. The energy consumption of the air conditioning system greatly affects the driving range of pure electric vehicles. In order to solve this problem, engineers proposed an active motor heating function: using motor waste heat to heat the battery pack and the cabin. In addition, in a low-temperature environment, the energy obtained in the braking condition cannot be effectively recovered due to the limited power of the battery. At this time, by changing the operating conditions of the motor and reducing the motor operating efficiency, the excess energy is transferred to the battery pack and the cabin in the form of motor waste heat. The effective use of motor waste heat can effectively improve the driving range of pure electric vehicles under low-temperature conditions in winter.
[0003] There are generally two existing motor active heating control schemes: the first scheme is that if the motor dq axis current is implemented by voltage & speed & torque calibration map, the active heating scheme is implemented by changing the table voltage or table speed; the second scheme is that if the motor dq axis current is implemented by MTPA + active magnetic weakening, the active heating scheme is implemented by adding additional reduced efficiency d axis current on the basis of active magnetic weakening d axis current. However, the existing motor active heating control has low precision and poor control effect.
[0004] Therefore, how to effectively improve the control accuracy of active heating of motors is a problem that needs to be solved urgently.
[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0006] The main purpose of this application is to provide a synchronous motor control method, device, equipment and storage medium, aiming to solve the technical problem of how to effectively improve the accuracy of active heating control of the motor.
[0007] To achieve the above object, the present application proposes a synchronous motor control method, the method comprising:
[0008] determining a target query current based on the one-dimensional query table and the active heating target current;
[0009] Constructing a two-dimensional query table, and determining the magnetic field direction axis current and the vertical direction axis current based on the target current and the two-dimensional query table;
[0010] The synchronous motor is subjected to current closed-loop control according to the magnetic field direction shaft current and the vertical direction shaft current.
[0011] In one embodiment, determining the target query current based on the one-dimensional query table and the active heating target current includes:
[0012] acquiring an active heating request power, and determining an active heating target current based on the active heating request power;
[0013] constructing a one-dimensional query table, and determining a first query current based on the one-dimensional query table;
[0014] A target inquiry current is determined based on the active heating target current and the first inquiry current.
[0015] In one embodiment, the step of constructing a one-dimensional query table and determining the first query current based on the one-dimensional query table includes:
[0016] Acquire the rated voltage of the synchronous motor, perform MTPA calibration on the synchronous motor according to the rated voltage and the preset speed, and obtain the corresponding relationship between the requested torque and the current modulus value;
[0017] Constructing a one-dimensional query table according to the correspondence between the requested torque and the query circuit;
[0018] A current command torque of the synchronous motor is acquired, and a first query current is determined according to the current command torque and the one-dimensional query table.
[0019] In one embodiment, determining a target query current based on the active heating target current and the first query current includes:
[0020] Acquire a current output voltage of the synchronous motor, and determine a voltage difference according to the current output voltage and a preset voltage threshold;
[0021] Inputting the voltage difference into a PI controller to generate a compensation current;
[0022] determining a reference current according to the compensation current and the active heating target current;
[0023] A target inquiry current is determined according to the reference current and the first inquiry current.
[0024] In one embodiment, the two-dimensional query table includes a first two-dimensional query table and a second two-dimensional query table, and the step of constructing the two-dimensional query table and determining the magnetic field direction axis current and the vertical direction axis current based on the target query current and the two-dimensional query table includes:
[0025] constructing a first two-dimensional query table;
[0026] Determine the magnetic field direction axis current according to the first two-dimensional query table and the target query current;
[0027] Constructing a second two-dimensional query table according to the magnetic field direction shaft current;
[0028] The vertical direction shaft current is determined according to the magnetic field direction shaft current and the second two-dimensional query table.
[0029] In one embodiment, constructing the first two-dimensional query table includes:
[0030] Obtain multiple requested torques and corresponding current modulus values;
[0031] Performing magnetization calibration and magnetic field weakening calibration respectively according to the multiple requested torques and corresponding current modulus values to obtain a magnetization query table and a magnetic field weakening query table;
[0032] A first two-dimensional lookup table is constructed according to the magnetization lookup table and the magnetic weakening lookup table.
[0033] In one embodiment, the magnetic field direction axis current includes a first magnetic field direction axis current and a second magnetic field direction axis current, and determining the magnetic field direction axis current according to the first two-dimensional query table and the target query current includes:
[0034] Get the current speed of the synchronous motor;
[0035] When the current speed is greater than a first speed threshold, querying a weak magnetic field query table in the first two-dimensional query table according to the target query current to obtain a shaft current in a first magnetic field direction;
[0036] When the current rotation speed is less than the second rotation speed threshold, the magnetization query table in the first two-dimensional query table is queried according to the target query current to obtain the shaft current in the second magnetic field direction.
[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a synchronous motor control device, the synchronous motor control device comprising:
[0038] A determination module, configured to determine a target query current based on a one-dimensional query table and an active heating target current;
[0039] A construction module, used to construct a two-dimensional query table, and determine the magnetic field direction axis current and the vertical direction axis current based on the target current and the two-dimensional query table;
[0040] The control module is used to perform current closed-loop control on the synchronous motor according to the magnetic field direction shaft current and the vertical direction shaft current.
[0041] In addition, to achieve the above-mentioned purpose, the present application also proposes a synchronous motor control device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the synchronous motor control method as described above.
[0042] In addition, to achieve the above objectives, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the synchronous motor control method described above are implemented.
[0043] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the synchronous motor control method described above are implemented.
[0044] The present application provides a synchronous motor control method. The present application can effectively improve the accuracy of the target query current by first determining the target query current based on a one-dimensional query table and the active heating target current; constructing a two-dimensional query table, and determining the magnetic field direction axis current and the vertical direction axis current based on the target current and the two-dimensional query table, so as to realize the switching between magnetization and magnetic weakening and ensure the active heating function and NVH performance; and performing current closed-loop control on the synchronous motor according to the magnetic field direction axis current and the vertical direction axis current, so as to effectively improve the active heating control accuracy of the motor.
[0045] In summary, the present application constructs a two-dimensional query table, determines the magnetic field direction axis current and the vertical direction axis current according to the target current query table, and then performs current closed-loop control on the synchronous motor to achieve active intervention, thereby overcoming the technical defects of the existing motor active heating control with low accuracy and poor control effect, and can effectively improve the accuracy of motor active heating control. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0047] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0048] Figure 1 A flowchart of a synchronous motor control method according to the present invention;
[0049] Figure 2 A schematic diagram of a flow chart provided for Embodiment 2 of the synchronous motor control method of the present application;
[0050] Figure 3 This is a schematic diagram of the module structure of the synchronous motor control device according to an embodiment of the present application;
[0051] Figure 4 Schematic diagram of the device structure of the hardware operating environment involved in the synchronous motor control method in the embodiment of the present application.
[0052] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0053] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0054] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0055] The main solution of the embodiment of the present application is: determine the target query current based on a one-dimensional query table and the active heating target current; construct a two-dimensional query table, and determine the magnetic field direction axis current and the vertical direction axis current based on the target current and the two-dimensional query table; perform current closed-loop control of the synchronous motor according to the magnetic field direction axis current and the vertical direction axis current.
[0056] There are generally two existing motor active heating control schemes: the first scheme is that if the motor dq axis current is implemented by voltage & speed & torque calibration map, the active heating scheme is implemented by changing the table lookup voltage or table lookup speed; the second scheme is that if the motor dq axis current is implemented by MTPA + active magnetic weakening, the active heating scheme is implemented by adding additional reduced efficiency d axis current on the basis of active magnetic weakening d axis current. However, the existing motor active heating control accuracy is low and the control effect is poor. Therefore, how to effectively improve the motor active heating control accuracy is a problem that needs to be solved urgently.
[0057] The present application constructs a two-dimensional query table, determines the magnetic field direction axis current and the vertical direction axis current according to the target current query table, and then performs current closed-loop control on the synchronous motor to achieve active intervention, thereby overcoming the technical defects of the existing motor active heating control with low accuracy and poor control effect, and can effectively improve the accuracy of motor active heating control.
[0058] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a synchronous motor control device, etc. The following takes the synchronous motor control device as an example to illustrate this embodiment and the following embodiments.
[0059] Based on this, the embodiment of the present application provides a synchronous motor control method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the synchronous motor control method of the present application.
[0060] In this embodiment, the synchronous motor control method includes steps S10 to S30:
[0061] Step S10, determining a target query current based on a one-dimensional query table and an active heating target current.
[0062] It should be noted that the one-dimensional query table refers to a one-dimensional relationship table between the requested torque T and the output current modulus Imod, which is used to query the requested torque T to obtain the corresponding output current modulus Imod.
[0063] It can be understood that the active heating target current Imod0 refers to a target current value calculated according to the heating requirement of the synchronous motor.
[0064] In a feasible implementation, step S10 may include: obtaining an active heating request power, and determining an active heating target current based on the active heating request power; constructing a one-dimensional query table, and determining a first query current based on the one-dimensional query table; and determining a target query current based on the active heating target current and the first query current.
[0065] It should be noted that the active heating request power is a request power value input by a user or a system according to the heating demand of the synchronous motor. The active heating target current is calculated based on the active heating request power.
[0066] It can be understood that by substituting the requested power P of active heating into the calculation formula P=I 2 *Rcu, calculate the active heating target current Imod0, Rcu is the motor winding resistance.
[0067] In a feasible implementation manner, constructing a one-dimensional query table and determining a first query current based on the one-dimensional query table include: obtaining a rated voltage of the synchronous motor, performing MTPA calibration on the synchronous motor according to the rated voltage and a preset speed, and obtaining a correspondence between a requested torque and a current modulus value; constructing a one-dimensional query table according to the correspondence between the requested torque and the query circuit; obtaining a current command torque of the synchronous motor, and determining a first query current according to the current command torque and the one-dimensional query table.
[0068] It should be noted that the rated voltage of the synchronous motor is a basic parameter for motor design and operation. By calibrating the MTPA (maximum torque / current ratio) according to the rated voltage and the preset speed, the optimal current modulus of the synchronous motor under different requested torques can be obtained, that is, the correspondence between the requested torque T and the output current modulus Imod. This correspondence reflects the current demand of the synchronous motor under different load conditions and is the key to achieving efficient and stable operation.
[0069] It is understandable that after determining the corresponding relationship between the requested torque and the current modulus, a one-dimensional query table can be constructed, which takes the requested torque as input and outputs the corresponding current modulus. In the actual operation process, only the current command torque T of the synchronous motor is needed to query the one-dimensional query table to quickly obtain the corresponding first query current, that is, to obtain the output current Imod1 of the conventional MTPA, thereby simplifying the current control process and improving the control efficiency.
[0070] In a specific implementation, the process of constructing a one-dimensional query table may include: under the normal operating state of the synchronous motor, according to the preset torque range and current range, the output current modulus Imod corresponding to different requested torques T is obtained through calibration experiments or simulation simulations, and stored as a one-dimensional query table. When it is necessary to actively heat the synchronous motor, the active heating request power is first obtained, and the active heating target current Imod0 is calculated based on the relationship between power and current (for example, power is equal to the square of the current multiplied by the resistance). Then, according to the currently requested torque T, the corresponding first query current Imod1 is queried in the one-dimensional query table. Finally, the target query current Imod3 is determined based on the active heating target current Imod0 and the first query current Imod1.
[0071] In a feasible implementation manner, determining the target query current based on the active heating target current and the first query current includes: acquiring the current output voltage of the synchronous motor, and determining a voltage difference based on the current output voltage and a preset voltage threshold; inputting the voltage difference into a PI controller to generate a compensation current; determining a reference current based on the compensation current and the active heating target current; and determining the target query current based on the reference current and the first query current.
[0072] It should be noted that the preset voltage threshold refers to the maximum allowable target limit Umax set by the controller. According to the current output voltage Us and the maximum allowable target limit Umax set by the controller, the voltage difference ΔUs is obtained by difference, which is input to the PI controller. The PI outputs the compensation current ΔImod, which is superimposed on Imod0 to obtain Imod2=Imod0+ΔImod. Imod2 is compared with Imod1, and the larger value is taken to obtain the target query current Imod3=max(Imod1,Imod2).
[0073] Step S20, constructing a two-dimensional lookup table, and determining the magnetic field direction axis current and the perpendicular direction axis current based on the target current and the two-dimensional lookup table.
[0074] It should be noted that the two-dimensional query table includes a first two-dimensional query table and a second two-dimensional query table. The input of the first two-dimensional query table is the command torque T and the target current Imod, and the table output is the d-axis current Id, that is, the axis current in the direction of the magnetic field. The input of the second two-dimensional query table is the d-axis current Id and the requested torque T, and the table output is the q-axis current Iq, that is, the axis current in the vertical direction.
[0075] It can be understood that the magnetic field direction axis is the d-axis, and the vertical direction axis is the q-axis. The d-axis and q-axis are two coordinate axes in the dq coordinate system, which are used to describe the magnetic field direction and vertical direction in the circuit. These two axes are usually associated with a specific part or a specific direction in the circuit, such as the rotor magnetic field direction and vertical direction of the motor. The d-axis (magnetic field direction axis) is an axis aligned with the magnetic field direction in the circuit. The q-axis (vertical direction axis) is an axis aligned with the vertical direction of the magnetic field in the circuit. The d-axis current represents the current component in the d-axis direction, which is used to control the magnetic field direction of the motor. By adjusting the d-axis current, the magnetic field strength and direction of the motor can be controlled. The q-axis current represents the current component in the q-axis direction, which is used to control the torque of the motor. By adjusting the q-axis current, the output torque of the motor can be controlled.
[0076] Step S30, performing current closed-loop control on the synchronous motor according to the magnetic field direction shaft current and the vertical direction shaft current.
[0077] It should be noted that in the present embodiment, the synchronous motor is a permanent magnet synchronous motor. A permanent magnet synchronous motor (PMSM) is a synchronous motor that uses a permanent magnet as an excitation source. A permanent magnet synchronous motor generally has the advantages of high efficiency, high power density, fast response speed, and low maintenance cost. The permanent magnets of a permanent magnet synchronous motor are generally mounted on a rotor to generate a constant magnetic field, while the windings on the stator generate a rotating magnetic field by controlling the current. By controlling the magnetic field interaction between the rotor and the stator, the torque output of the motor can be achieved. A permanent magnet synchronous motor generally requires the use of vector control technology to achieve precise torque control and speed control. By controlling the current and magnetic field direction of the motor, the performance of the motor can be optimized, and the efficiency and response speed can be improved.
[0078] It can be understood that by performing current closed-loop control on the synchronous motor according to the shaft current in the magnetic field direction and the shaft current in the vertical direction to achieve active heating control, the accuracy of the active heating control of the motor can be effectively improved.
[0079] The present embodiment provides a synchronous motor control method. The present embodiment can effectively improve the accuracy of the target query current by first determining the target query current based on a one-dimensional query table and the active heating target current; constructing a two-dimensional query table, and determining the magnetic field direction axis current and the vertical direction axis current based on the target current and the two-dimensional query table, so as to realize the switching between magnetization and magnetic weakening and ensure the active heating function and NVH performance; performing current closed-loop control on the synchronous motor according to the magnetic field direction axis current and the vertical direction axis current, so as to effectively improve the active heating control accuracy of the motor.
[0080] In summary, this embodiment constructs a two-dimensional query table, determines the magnetic field direction axis current and the vertical direction axis current according to the target current query table, and then performs current closed-loop control on the synchronous motor to achieve active intervention, thereby overcoming the technical defects of the existing motor active heating control with low accuracy and poor control effect, and can effectively improve the motor active heating control accuracy.
[0081] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can refer to the above introduction, and will not be repeated later. Figure 2 , the step S20 further includes steps S201-S204:
[0082] Step S201, constructing a first two-dimensional query table.
[0083] It should be noted that the input of the first two-dimensional lookup table is the command torque T and the target current Imod, and the output of the lookup table is the d-axis current Id, that is, the magnetic field direction axis current.
[0084] It is understandable that when constructing the first two-dimensional query table, based on the parameters and characteristics of the motor, the command torque T and the target current Imod are used as input parameters, and the d-axis current Id under different command torques and target currents is determined through a large amount of experimental data or theoretical calculations. These data are stored in the first two-dimensional query table according to a certain rule and format, so that the required d-axis current value can be quickly obtained through the query table later.
[0085] In a feasible implementation, step S201 may include: obtaining multiple requested torques and corresponding current modulus values; performing magnetization calibration and magnetic weakening calibration according to the multiple requested torques and corresponding current modulus values, respectively, to obtain a magnetization query table and a magnetic weakening query table; and constructing a first two-dimensional query table according to the magnetization query table and the magnetic weakening query table.
[0086] It should be noted that magnetization refers to increasing the magnetic flux to improve the output torque of the motor during the control process of the synchronous motor, while field weakening refers to reducing the magnetic flux to widen the speed regulation range of the motor. Therefore, by performing magnetization calibration and field weakening calibration respectively, the optimal magnetic field direction axis current (d-axis current) under different requested torques and current modulus values can be obtained, thereby constructing a more accurate first two-dimensional query table.
[0087] It is understandable that the magnetization calibration focuses on the motor performance in the low speed and high torque area, and improves the motor's output capacity by increasing the magnetic flux, while the magnetic weakening calibration focuses on the motor performance in the high speed and low torque area, and reduces the magnetic flux to prevent the motor from overheating and ensure stable operation. During the calibration process, factors such as the motor's thermal characteristics, electromagnetic characteristics, and control strategy need to be considered to ensure the accuracy and reliability of the calibration results.
[0088] It is worth noting that by constructing the first two-dimensional query table, the corresponding d-axis current value can be quickly queried under different command torques and target currents, thereby achieving precise control of the synchronous motor, effectively improving the accuracy of the motor's active heating control, and optimizing the motor's operating efficiency and performance.
[0089] In the specific implementation, a two-dimensional table Table1 is established according to MTPA, that is, the first two-dimensional query table, one axis is the command torque T, the other axis is the target current Imod, and the table output is the d-axis current Id. Through different torque T and current modulus Imod, the positive and negative half-axes of the MTPA id are calibrated for magnetization and weakening magnetism, respectively, and the magnetization half table and the weakening half table are obtained respectively, namely, the magnetization query table and the weakening query table. The two half tables are flipped and spliced to form a square table Table1, namely the cross MTPA, and the diagonal of the table is the calibration Id data of the MTPA.
[0090] Step S202: determining the magnetic field direction axis current according to the first two-dimensional query table and the target query current.
[0091] It should be noted that the magnetic field direction shaft current includes the first magnetic field direction shaft current and the second magnetic field direction shaft current. The selection of magnetization and weakening is performed according to the motor speed n, and then it is determined whether the magnetic field direction shaft current includes the first magnetic field direction shaft current or the second magnetic field direction shaft current.
[0092] In a feasible implementation, step 202 may include: obtaining a current speed of the synchronous motor; when the current speed is greater than a first speed threshold, querying a weak magnetic field query table in the first two-dimensional query table according to the target query current to obtain a shaft current in a first magnetic field direction; when the current speed is less than a second speed threshold, querying a magnetization query table in the first two-dimensional query table according to the target query current to obtain a shaft current in a second magnetic field direction.
[0093] It should be noted that the first speed threshold and the second speed threshold can be set according to the actual operating conditions and performance requirements of the motor. Usually, the first speed threshold will be set before the motor enters the weak magnetic field area, and the second speed threshold will be set before the motor enters the magnetization area. When the speed of the motor exceeds the first speed threshold, it means that the motor has entered the high speed area. At this time, it is necessary to obtain the shaft current in the first magnetic field direction through the weak magnetic field query table to reduce the magnetic flux, reduce the magnetic resistance loss inside the motor, and improve the operating efficiency of the motor. When the speed of the motor is lower than the second speed threshold, it means that the motor has entered the low speed and high torque area. At this time, it is necessary to obtain the shaft current in the second magnetic field direction through the magnetization query table to increase the magnetic flux and improve the output torque capacity of the motor.
[0094] In the specific implementation, the selection of magnetization and weakening is carried out according to the speed n of the motor, and two speed thresholds are set, the first speed threshold n0 and the second speed threshold n1. When n is greater than n0, weakening is required, and the x-axis is set to Imod, and the y-axis is set to T. The input signal Imod3 and the requested torque T are used to query the weakening query table, and the shaft current in the first magnetic field direction is output; when n is less than n1, magnetization is required, and the x and y axes are swapped, that is, the x-axis is set to the requested torque T, and the y-axis is set to Imod, and the input signal sequence is swapped at the same time, and the magnetization query table is queried to obtain the shaft current in the second magnetic field direction.
[0095] Step S203, constructing a second two-dimensional query table according to the magnetic field direction shaft current.
[0096] It should be noted that the input of the second two-dimensional lookup table is the d-axis current Id and the requested torque T, and the lookup table output is the q-axis current Iq, ie, the vertical axis current.
[0097] In a specific implementation, a two-dimensional lookup table Table2 of the d-axis current Id and the requested torque T output Iq is established, and the table can be obtained by scanning and calibrating on the test bench.
[0098] Step S204, determining the vertical direction axis current according to the magnetic field direction axis current and the second two-dimensional query table.
[0099] It should be noted that the d-axis current Id and the requested torque T are used as inputs of the second two-dimensional query table Table2 to obtain the final output q-axis current Iq, and Id and Iq are output as command currents to the current control module for current closed-loop control.
[0100] In this embodiment, the magnetic field direction axis current and the vertical direction axis current are determined respectively by constructing a first two-dimensional query table and a second two-dimensional query table, and then the synchronous motor heating control is performed, which can effectively improve the motor active heating control accuracy.
[0101] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the synchronous motor control method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.
[0102] This application also provides a synchronous motor control device, please refer to Figure 3 , the synchronous motor control device comprises:
[0103] The determination module 10 is configured to determine a target query current based on a one-dimensional query table and an active heating target current.
[0104] The construction module 20 is used to construct a two-dimensional query table, and determine the magnetic field direction axis current and the vertical direction axis current based on the target current and the two-dimensional query table.
[0105] The control module 30 is used to perform current closed-loop control on the synchronous motor according to the magnetic field direction shaft current and the vertical direction shaft current.
[0106] The present embodiment provides a synchronous motor control device. The present embodiment can effectively improve the accuracy of the target query current by first determining the target query current based on a one-dimensional query table and the active heating target current; constructing a two-dimensional query table, and determining the magnetic field direction axis current and the vertical direction axis current based on the target current and the two-dimensional query table, so as to realize the switching between magnetization and magnetic weakening and ensure the active heating function and NVH performance; and performing current closed-loop control on the synchronous motor according to the magnetic field direction axis current and the vertical direction axis current, so as to effectively improve the active heating control accuracy of the motor.
[0107] In summary, this embodiment constructs a two-dimensional query table, determines the magnetic field direction axis current and the vertical direction axis current according to the target current query table, and then performs current closed-loop control on the synchronous motor to achieve active intervention, thereby overcoming the technical defects of the existing motor active heating control with low accuracy and poor control effect, and can effectively improve the motor active heating control accuracy.
[0108] Optionally, the determination module 10 is also used to obtain an active heating request power, determine an active heating target current based on the active heating request power; construct a one-dimensional query table, determine a first query current based on the one-dimensional query table; and determine a target query current based on the active heating target current and the first query current.
[0109] Optionally, the determination module 10 is also used to obtain the rated voltage of the synchronous motor, perform MTPA calibration on the synchronous motor according to the rated voltage and the preset speed, and obtain the correspondence between the requested torque and the current modulus value; construct a one-dimensional query table according to the correspondence between the requested torque and the query circuit; obtain the current command torque of the synchronous motor, and determine the first query current according to the current command torque and the one-dimensional query table.
[0110] Optionally, the determination module 10 is also used to obtain the current output voltage of the synchronous motor, determine the voltage difference according to the current output voltage and a preset voltage threshold; input the voltage difference into a PI controller to generate a compensation current; determine a reference current according to the compensation current and the active heating target current; and determine a target query current according to the reference current and the first query current.
[0111] Optionally, the construction module 20 is also used to construct a first two-dimensional query table; determine the magnetic field direction axis current according to the first two-dimensional query table and the target query current; construct a second two-dimensional query table according to the magnetic field direction axis current; determine the vertical direction axis current according to the magnetic field direction axis current and the second two-dimensional query table.
[0112] Optionally, the construction module 20 is also used to obtain multiple requested torques and corresponding current modulus values; perform magnetization calibration and magnetic weakening calibration according to the multiple requested torques and corresponding current modulus values, respectively, to obtain a magnetization query table and a magnetic weakening query table; and construct a first two-dimensional query table based on the magnetization query table and the magnetic weakening query table.
[0113] Optionally, the construction module 20 is also used to obtain the current speed of the synchronous motor; when the current speed is greater than a first speed threshold, the weak magnetic field query table in the first two-dimensional query table is queried according to the target query current to obtain the shaft current in the first magnetic field direction; when the current speed is less than a second speed threshold, the magnetization query table in the first two-dimensional query table is queried according to the target query current to obtain the shaft current in the second magnetic field direction.
[0114] The synchronous motor control device provided by the present application adopts the synchronous motor control method in the above embodiment, which can solve the technical problem of how to effectively improve the control accuracy of active heating of the motor. Compared with the prior art, the beneficial effects of the synchronous motor control device provided by the present application are the same as the beneficial effects of the synchronous motor control method provided by the above embodiment, and the other technical features in the synchronous motor control device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0115] The present application provides a synchronous motor control device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the synchronous motor control method in the above-mentioned embodiment one.
[0116] Reference below Figure 4 , which shows a schematic diagram of the structure of a synchronous motor control device suitable for implementing the embodiment of the present application. The synchronous motor control device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The synchronous motor control device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0117] like Figure 4As shown, the synchronous motor control device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the synchronous motor control device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the synchronous motor control device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a synchronous motor control device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0118] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0119] The synchronous motor control device provided by the present application adopts the synchronous motor control method in the above embodiment, which can solve the technical problem of how to effectively improve the control accuracy of active heating of the motor. Compared with the prior art, the beneficial effects of the synchronous motor control device provided by the present application are the same as the beneficial effects of the synchronous motor control method provided by the above embodiment, and the other technical features in the synchronous motor control device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0120] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0121] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0122] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the synchronous motor control method in the above-mentioned embodiment.
[0123] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer 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. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0124] The computer-readable storage medium may be included in the synchronous motor control device; or may exist independently without being assembled into the synchronous motor control device.
[0125] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the synchronous motor control device, the synchronous motor control device: determines the target query current based on the one-dimensional query table and the active heating target current; constructs a two-dimensional query table, and determines the magnetic field direction axis current and the vertical direction axis current based on the target current and the two-dimensional query table; and performs current closed-loop control on the synchronous motor according to the magnetic field direction axis current and the vertical direction axis current.
[0126] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0127] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0128] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0129] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned synchronous motor control method, and can solve the technical problem of how to effectively improve the accuracy of active heating control of the motor. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the synchronous motor control method provided in the above-mentioned embodiment, and will not be repeated here.
[0130] The present application also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of the synchronous motor control method as described above are implemented.
[0131] The computer program product provided in this application can solve the technical problem of how to effectively improve the accuracy of active heating control of the motor. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the synchronous motor control method provided in the above embodiment, which will not be repeated here.
[0132] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A synchronous motor control method, characterized in that: The method comprises: determining a target query current based on the one-dimensional query table and the active heating target current; Constructing a two-dimensional query table, and determining the magnetic field direction axis current and the vertical direction axis current based on the target current and the two-dimensional query table; The synchronous motor is subjected to current closed-loop control according to the magnetic field direction shaft current and the vertical direction shaft current.
2. The method according to claim 1, characterized in that The step of determining the target query current based on the one-dimensional query table and the active heating target current includes: acquiring an active heating request power, and determining an active heating target current based on the active heating request power; constructing a one-dimensional query table, and determining a first query current based on the one-dimensional query table; A target inquiry current is determined based on the active heating target current and the first inquiry current.
3. The method according to claim 2, characterized in that The step of constructing a one-dimensional query table and determining a first query current based on the one-dimensional query table includes: Acquire the rated voltage of the synchronous motor, perform MTPA calibration on the synchronous motor according to the rated voltage and the preset speed, and obtain the corresponding relationship between the requested torque and the current modulus value; Constructing a one-dimensional query table according to the correspondence between the requested torque and the query circuit; A current command torque of the synchronous motor is acquired, and a first query current is determined according to the current command torque and the one-dimensional query table.
4. The method according to claim 3, characterized in that The determining a target inquiry current based on the active heating target current and the first inquiry current includes: Acquire a current output voltage of the synchronous motor, and determine a voltage difference according to the current output voltage and a preset voltage threshold; Inputting the voltage difference into a PI controller to generate a compensation current; determining a reference current according to the compensation current and the active heating target current; A target inquiry current is determined according to the reference current and the first inquiry current.
5. The method according to claim 1, characterized in that The two-dimensional query table includes a first two-dimensional query table and a second two-dimensional query table. The two-dimensional query table is constructed, and the magnetic field direction axis current and the vertical direction axis current are determined based on the target query current and the two-dimensional query table, including: constructing a first two-dimensional query table; Determine the magnetic field direction axis current according to the first two-dimensional query table and the target query current; Constructing a second two-dimensional query table according to the magnetic field direction shaft current; The vertical direction shaft current is determined according to the magnetic field direction shaft current and the second two-dimensional query table.
6. The method according to claim 5, characterized in that The constructing of the first two-dimensional query table comprises: Obtain multiple requested torques and corresponding current modulus values; Performing magnetization calibration and magnetic field weakening calibration respectively according to the multiple requested torques and corresponding current modulus values to obtain a magnetization query table and a magnetic field weakening query table; A first two-dimensional lookup table is constructed according to the magnetization lookup table and the magnetic weakening lookup table.
7. The method according to claim 5, characterized in that The magnetic field direction axis current includes a first magnetic field direction axis current and a second magnetic field direction axis current, and determining the magnetic field direction axis current according to the first two-dimensional query table and the target query current includes: Get the current speed of the synchronous motor; When the current speed is greater than a first speed threshold, querying a weak magnetic field query table in the first two-dimensional query table according to the target query current to obtain a shaft current in a first magnetic field direction; When the current rotation speed is less than the second rotation speed threshold, the magnetization query table in the first two-dimensional query table is queried according to the target query current to obtain the shaft current in the second magnetic field direction.
8. A synchronous motor control device, characterized in that: The synchronous motor control device comprises: A determination module, configured to determine a target query current based on a one-dimensional query table and an active heating target current; A construction module, used to construct a two-dimensional query table, and determine the magnetic field direction axis current and the vertical direction axis current based on the target current and the two-dimensional query table; The control module is used to perform current closed-loop control on the synchronous motor according to the magnetic field direction shaft current and the vertical direction shaft current.
9. A synchronous motor control device, characterized in that: The synchronous motor control device comprises: a memory, a processor, and a synchronous motor control program stored in the memory and executable on the processor, wherein the synchronous motor control program is configured to implement the synchronous motor control method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a synchronous motor control program, and when the synchronous motor control program is executed by the processor, the synchronous motor control method according to any one of claims 1 to 7 is implemented.
