CN116667710A - Motor control method, motor control device, electronic equipment and storage medium - Google Patents
Motor control method, motor control device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN116667710A CN116667710A CN202310666232.XA CN202310666232A CN116667710A CN 116667710 A CN116667710 A CN 116667710A CN 202310666232 A CN202310666232 A CN 202310666232A CN 116667710 A CN116667710 A CN 116667710A
- Authority
- CN
- China
- Prior art keywords
- permanent magnet
- output voltage
- magnet synchronous
- synchronous motor
- reactive current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P6/00—Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P23/00—Arrangements or methods for the control of AC motors characterised by a control method other than vector control
- H02P23/14—Estimation or adaptation of motor parameters, e.g. rotor time constant, flux, speed, current or voltage
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P25/00—Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details
- H02P25/02—Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details characterised by the kind of motor
- H02P25/022—Synchronous motors
- H02P25/024—Synchronous motors controlled by supply frequency
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P29/00—Arrangements for regulating or controlling electric motors, appropriate for both AC and DC motors
- H02P29/02—Providing protection against overload without automatic interruption of supply
- H02P29/032—Preventing damage to the motor, e.g. setting individual current limits for different drive conditions
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P2207/00—Indexing scheme relating to controlling arrangements characterised by the type of motor
- H02P2207/05—Synchronous machines, e.g. with permanent magnets or DC excitation
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Control Of Ac Motors In General (AREA)
- Control Of Motors That Do Not Use Commutators (AREA)
Abstract
Description
技术领域technical field
本申请涉及电气控制技术领域,尤其涉及一种电机控制方法、装置、电子设备和存储介质。The present application relates to the technical field of electrical control, and in particular to a motor control method, device, electronic equipment and storage medium.
背景技术Background technique
永磁同步电机具有功率效率高、功率因数高以及体积小的优点,且永磁同步电机的转动惯量小,允许的脉冲转矩大,因此可获得较高的加速度,永磁同步电机的动态性能较好,结构紧凑,运行可靠性较高,同时结构简单易于维护,因此永磁同步电机被广泛应用于生产和生活中。The permanent magnet synchronous motor has the advantages of high power efficiency, high power factor and small size, and the moment of inertia of the permanent magnet synchronous motor is small, and the allowable pulse torque is large, so it can obtain higher acceleration and the dynamic performance of the permanent magnet synchronous motor Excellent, compact structure, high operational reliability, simple structure and easy maintenance, so permanent magnet synchronous motors are widely used in production and life.
目前,变频器采用矢量控制方式或可编程V/F控制方式驱动永磁同步电机。At present, the frequency converter uses the vector control method or the programmable V/F control method to drive the permanent magnet synchronous motor.
但是,采用矢量控制方式驱动永磁同步电机的成本较高,而采用可编程V/F控制方式时由于永磁同步电机种类以及负载的种类较多,调试难度较高,且负载发生变化时容易造成永磁同步电机失步,永磁同步电机的稳定性差,因此现有的电机控制方法实用性低。However, the cost of driving the permanent magnet synchronous motor with the vector control method is relatively high, and when the programmable V/F control method is used, due to the large number of types of permanent magnet synchronous motors and loads, it is difficult to debug, and it is easy to adjust when the load changes. The permanent magnet synchronous motor is caused to be out of step, and the stability of the permanent magnet synchronous motor is poor, so the existing motor control method has low practicability.
发明内容Contents of the invention
有鉴于此,本申请提供的电机控制方法、装置、电子设备和存储介质,可以防止永磁同步电机失步,因此具有较高的实用性。In view of this, the motor control method, device, electronic equipment and storage medium provided by the present application can prevent the out-of-step of the permanent magnet synchronous motor, so it has high practicability.
根据本申请实施例的第一方面,提供了一种电机控制方法,包括:获取永磁同步电机的无功电流平均值;以与目标频率相对应的第一输出电压驱动所述永磁同步电机运行;检测所述永磁同步电机运行过程中的第一无功电流值;根据所述第一无功电流值和所述无功电流平均值,对所述第一输出电压进行调整获得第二输出电压,并以所述第二输出电压驱动所述永磁同步电机运行。According to the first aspect of the embodiments of the present application, there is provided a motor control method, including: obtaining the average value of the reactive current of the permanent magnet synchronous motor; driving the permanent magnet synchronous motor with a first output voltage corresponding to the target frequency running; detecting the first reactive current value during the operation of the permanent magnet synchronous motor; adjusting the first output voltage to obtain the second reactive current value according to the first reactive current value and the reactive current average value output voltage, and drive the permanent magnet synchronous motor to run with the second output voltage.
在一种可能的实现方式中,所述获取永磁同步电机的无功电流平均值,包括:获取所述永磁同步电机的额定运行频率;控制所述永磁同步电机以第一频率运行,其中,所述第一频率与所述额定运行频率的比值为预设的比值阈值,所述比值阈值小于或等于1;检测所述永磁同步电机的无功电流,获得至少两个第二无功电流值;将所述至少两个第二无功电流值的平均值确定为所述无功电流平均值。In a possible implementation manner, the obtaining the average reactive current of the permanent magnet synchronous motor includes: obtaining the rated operating frequency of the permanent magnet synchronous motor; controlling the permanent magnet synchronous motor to run at a first frequency, Wherein, the ratio of the first frequency to the rated operating frequency is a preset ratio threshold, and the ratio threshold is less than or equal to 1; the reactive current of the permanent magnet synchronous motor is detected, and at least two second reactive currents are obtained. a reactive current value; determining an average value of the at least two second reactive current values as the reactive current average value.
在一种可能的实现方式中,所述比值阈值为1/2。In a possible implementation manner, the ratio threshold is 1/2.
在一种可能的实现方式中,所述以与目标频率相对应的第一输出电压驱动所述永磁同步电机运行,包括:获取所述永磁同步电机的额定反电势电压;据所述额定运行频率和所述额定反电势电压之间的线性关系,确定所述目标频率对应的所述第一输出电压;以所述第一输出电压驱动所述永磁同步电机运行,其中,所述第一输出电压小于或等于所述额定反电势电压。In a possible implementation manner, the driving the permanent magnet synchronous motor to run with the first output voltage corresponding to the target frequency includes: obtaining the rated back EMF voltage of the permanent magnet synchronous motor; The linear relationship between the operating frequency and the rated back EMF voltage determines the first output voltage corresponding to the target frequency; the permanent magnet synchronous motor is driven to run with the first output voltage, wherein the first An output voltage less than or equal to the rated back EMF voltage.
在一种可能的实现方式中,所述根据所述第一无功电流值和所述无功电流平均值,对所述第一输出电压进行调整获得第二输出电压,并以所述第二输出电压驱动所述永磁同步电机运行,包括:若所述第一无功电流值与所述无功电流平均值的差值位于预设的波动范围内,则将所述第一输出电压确定为所述第二输出电压,并以所述第二输出电压驱动所述永磁同步电机运行。In a possible implementation manner, according to the first reactive current value and the reactive current average value, the first output voltage is adjusted to obtain a second output voltage, and the second The output voltage drives the permanent magnet synchronous motor to run, including: if the difference between the first reactive current value and the reactive current average value is within a preset fluctuation range, determining the first output voltage is the second output voltage, and drives the permanent magnet synchronous motor to run with the second output voltage.
在一种可能的实现方式中,所述根据所述第一无功电流值和所述无功电流平均值,对所述第一输出电压进行调整获得第二输出电压,并以所述第二输出电压驱动所述永磁同步电机运行,包括:若所述第一无功电流值与所述无功电流平均值的差值大于第一阈值,则减少所述第一输出电压,获得所述第二输出电压,并以所述第二输出电压驱动所述永磁同步电机运行。In a possible implementation manner, according to the first reactive current value and the reactive current average value, the first output voltage is adjusted to obtain a second output voltage, and the second The output voltage drives the permanent magnet synchronous motor to run, including: if the difference between the first reactive current value and the reactive current average value is greater than a first threshold, then reduce the first output voltage to obtain the second output voltage, and drive the permanent magnet synchronous motor to run with the second output voltage.
在一种可能的实现方式中,所述根据所述第一无功电流值和所述无功电流平均值,对所述第一输出电压进行调整获得第二输出电压,并以所述第二输出电压驱动所述永磁同步电机运行,包括:若所述第一无功电流值与所述无功电流平均值的差值小于第二阈值,则增大所述第一输出电压,获得所述第二输出电压,并以所述第二输出电压驱动所述永磁同步电机运行。In a possible implementation manner, according to the first reactive current value and the reactive current average value, the first output voltage is adjusted to obtain a second output voltage, and the second The output voltage drives the permanent magnet synchronous motor to run, including: if the difference between the first reactive current value and the reactive current average value is less than a second threshold, increasing the first output voltage to obtain the The second output voltage is used to drive the permanent magnet synchronous motor to run.
根据本申请实施例的第二方面,提供了一种电机控制装置,包括:获取单元,用于获取永磁同步电机的无功电流平均值;第一驱动单元,用于以与目标频率相对应的第一输出电压驱动所述永磁同步电机运行;检测单元,用于检测所述永磁同步电机运行过程中的第一无功电流值;第二驱动单元,用于根据所述第一无功电流值和所述无功电流平均值,对所述第一输出电压进行调整获得第二输出电压,并以所述第二输出电压驱动所述永磁同步电机运行。According to the second aspect of the embodiment of the present application, there is provided a motor control device, including: an acquisition unit, used to acquire the average reactive current value of the permanent magnet synchronous motor; a first drive unit, used to correspond to the target frequency The first output voltage of the permanent magnet synchronous motor is used to drive the operation of the permanent magnet synchronous motor; the detection unit is used to detect the first reactive current value during the operation of the permanent magnet synchronous motor; The active current value and the reactive current average value are adjusted to obtain a second output voltage by adjusting the first output voltage, and the permanent magnet synchronous motor is driven to run by the second output voltage.
根据本申请实施例的第三方面,提供了一种电子设备,包括:处理器、通信接口、存储器和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行上述第一方面所提供电机控制方法对应的操作。According to a third aspect of the embodiments of the present application, there is provided an electronic device, including: a processor, a communication interface, a memory, and a communication bus, and the processor, the memory, and the communication interface complete mutual communication through the communication bus. The communication among them; the memory is used to store at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the motor control method provided in the first aspect above.
根据本申请实施例的第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机指令,所述计算机指令在被处理器执行时,使所述处理器执行上述第一方面所提供电机控制方法对应的操作。According to a fourth aspect of the embodiments of the present application, there is provided a computer-readable storage medium, the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the processor executes Operations corresponding to the motor control method provided in the first aspect above.
根据本申请实施例的第五方面,提供了一种计算机程序产品,所述计算机程序产品被有形地存储在计算机可读介质上并且包括计算机可执行指令,所述计算机可执行指令在被执行时使至少一个处理器执行如上述第一方面或第一方面的任一可能的实现方式提供的电机控制方法。According to a fifth aspect of the embodiments of the present application, a computer program product is provided, the computer program product is tangibly stored on a computer-readable medium and includes computer-executable instructions, and when executed, the computer-executable instructions Make at least one processor execute the motor control method provided in the first aspect or any possible implementation manner of the first aspect.
由上述技术方案,以第一输出电压驱动永磁同步电机运行,由此可以实现对永磁同步电机进行独立电压控制,可以更加精准的控制永磁同步电机以目标频率运行,并根据永磁同步电机运行过程中的检测到的第一无功电流和获取的无功电流平均值,对第一输出电压进行调整,从而可以调整永磁同步电机的驱动电压,使永磁同步电机的工作更加稳定,由于采用非矢量控制方式驱动永磁同步电机,因此成本较低,且当负载发生变化时,可以根据永磁同步电机产生的无功电流值自动改变输出电压,即永磁同步电机的驱动电压,因此可以防止永磁同步电机失步,稳定性较高,因此该电机控制方法的实用性较高。According to the above technical solution, the permanent magnet synchronous motor is driven to run with the first output voltage, thereby realizing independent voltage control of the permanent magnet synchronous motor, and can more accurately control the permanent magnet synchronous motor to run at the target frequency, and according to the permanent magnet synchronous The detected first reactive current and the obtained average value of the reactive current during the operation of the motor can adjust the first output voltage, so that the driving voltage of the permanent magnet synchronous motor can be adjusted to make the work of the permanent magnet synchronous motor more stable , because the non-vector control method is used to drive the permanent magnet synchronous motor, the cost is low, and when the load changes, the output voltage can be automatically changed according to the reactive current value generated by the permanent magnet synchronous motor, that is, the driving voltage of the permanent magnet synchronous motor , so the permanent magnet synchronous motor can be prevented from out of step, and the stability is high, so the practicability of the motor control method is high.
附图说明Description of drawings
图1是本申请实施例提供的一种电机控制方法的流程图;FIG. 1 is a flowchart of a motor control method provided in an embodiment of the present application;
图2是本申请实施例提供的一种无功电流平均值获取方法的流程图;Fig. 2 is a flow chart of a method for obtaining an average value of reactive current provided by an embodiment of the present application;
图3是本申请实施例提供的另一种电机控制方法的流程图;Fig. 3 is a flow chart of another motor control method provided by the embodiment of the present application;
图4是本申请实施例提供的一种电机控制装置的示意图;Fig. 4 is a schematic diagram of a motor control device provided by an embodiment of the present application;
图5是本申请实施例提供的一种电子设备的示意图。Fig. 5 is a schematic diagram of an electronic device provided by an embodiment of the present application.
附图标记列表:List of reference signs:
101:获取永磁同步电机的无功电流平均值101: Get the average reactive current of the permanent magnet synchronous motor
102:以与目标频率相对应的第一输出电压驱动永磁同步电机运行102: Drive the permanent magnet synchronous motor to run with the first output voltage corresponding to the target frequency
103:检测永磁同步电机运行过程中的第一无功电流值103: Detect the first reactive current value during the operation of the permanent magnet synchronous motor
104:根据第一无功电流值和无功电流平均值,对第一输出电压进行调整获得第二输出电压,并以第二输出电压驱动永磁同步电机运行104: According to the first reactive current value and reactive current average value, adjust the first output voltage to obtain the second output voltage, and drive the permanent magnet synchronous motor to run with the second output voltage
201:获取永磁同步电机的额定运行频率201: Obtain the rated operating frequency of the permanent magnet synchronous motor
202:控制永磁同步电机以第一频率运行202: Control the permanent magnet synchronous motor to run at the first frequency
203:检测永磁同步电机的无功电流,获得至少两个第二无功电流值203: Detect the reactive current of the permanent magnet synchronous motor, and obtain at least two second reactive current values
204:将至少两个第二无功电流值的平均值确定为无功电流平均值204: Determine the average value of at least two second reactive current values as the average reactive current value
301:计算第一无功电流值与无功电流平均值的差值301: Calculate the difference between the first reactive current value and the average reactive current value
302:判断第一无功电流值与无功电流平均值的差值是否大于第一阈值302: Determine whether the difference between the first reactive current value and the average reactive current value is greater than the first threshold
303:减少第一输出电压,获得第二输出电压,并以第二输出电压驱动永磁同步电机运行304:判断第一无功电流值与无功电流平均值的差值是否小于第二阈值303: Reduce the first output voltage to obtain the second output voltage, and drive the permanent magnet synchronous motor to run with the second output voltage 304: Determine whether the difference between the first reactive current value and the average reactive current value is less than the second threshold
305:增大第一输出电压,获得第二输出电压,并以第二输出电压驱动永磁同步电机运行100:电机控制方法 200:无功电流平均值获取方法300:另一种电机控制方法305: Increase the first output voltage to obtain the second output voltage, and drive the permanent magnet synchronous motor to run with the second output voltage 100: Motor control method 200: Reactive current average value acquisition method 300: Another motor control method
401:获取单元 402:第一驱动单元 403:检测单元401: acquisition unit 402: first drive unit 403: detection unit
404:第二驱动单元 500:电子设备 502:处理器404: Second drive unit 500: Electronics 502: Processor
504:通信接口 506:存储器 508:通信总线504: Communication interface 506: Memory 508: Communication bus
510:程序 400:电机控制装置510: Program 400: Motor Control Unit
具体实施方式Detailed ways
如前所述,永磁同步电机具有功率效率高、功率因数高以及体积小的优点,且永磁同步电机的转动惯量小,允许的脉冲转矩大,因此可获得较高的加速度,永磁同步电机的动态性能较好,结构紧凑,运行可靠性较高,同时永磁同步电机的结构简单易于维护,因此永磁同步电机被广泛应用于生产和生活中。目前,变频器采用矢量控制方式或可编程V/F控制方式驱动永磁同步电机,但是,对于具有平方转矩负载特性的风机水泵类负载来说,使用数量较大的矢量变频器以矢量控制方式驱动永磁同步电机的成本较高,且采用可编程V/F控制方式驱动永磁同步电机时,由于可编程V/F的控制方法是最小电流法,即找出最佳工作点的电压值,并根据最佳工作点的电压值确定一条电压和频率之间的V/F曲线,并通过V/F曲线驱动永磁同步电机,但是这种方法存在以下不足:当负载发生变化时,最佳工作点也发生变化,采用原V/F曲线驱动永磁同步电机容易造成永磁同步电机失步,永磁同步电机的稳定性差,且调试难度较大,调试时间较长,因此现有的永磁同步电机控制方法实用性较低。As mentioned above, the permanent magnet synchronous motor has the advantages of high power efficiency, high power factor and small size, and the moment of inertia of the permanent magnet synchronous motor is small, and the allowable pulse torque is large, so a higher acceleration can be obtained. Synchronous motors have good dynamic performance, compact structure, and high operational reliability. At the same time, permanent magnet synchronous motors have a simple structure and are easy to maintain. Therefore, permanent magnet synchronous motors are widely used in production and life. At present, frequency converters use vector control or programmable V/F control to drive permanent magnet synchronous motors. However, for fan and water pump loads with square torque load characteristics, a large number of vector The cost of driving the permanent magnet synchronous motor is relatively high, and when the programmable V/F control method is used to drive the permanent magnet synchronous motor, since the programmable V/F control method is the minimum current method, that is, to find the voltage at the best operating point value, and determine a V/F curve between voltage and frequency according to the voltage value of the best working point, and drive the permanent magnet synchronous motor through the V/F curve, but this method has the following disadvantages: when the load changes, The optimum working point has also changed. Using the original V/F curve to drive the permanent magnet synchronous motor will easily cause the permanent magnet synchronous motor to lose step, the stability of the permanent magnet synchronous motor is poor, and the debugging is difficult and takes a long time. Therefore, the existing The permanent magnet synchronous motor control method is less practical.
在本申请实施例中,以第一输出电压驱动永磁同步电机运行,由此可以实现对永磁同步电机进行独立电压控制,可以更加精准的控制永磁同步电机以目标频率运行,并根据永磁同步电机运行过程中的检测到的第一无功电流和获取的无功电流平均值,对第一输出电压进行调整,从而可以调整永磁同步电机的驱动电压,使永磁同步电机的工作更加稳定,由于采用非矢量控制方式驱动永磁同步电机,因此成本较低,且当负载发生变化时,可以根据永磁同步电机产生的无功电流值自动改变输出电压,即永磁同步电机的驱动电压,因此可以防止永磁同步电机失步,稳定性较高,因此该电机控制方法的实用性较高。In the embodiment of the present application, the permanent magnet synchronous motor is driven to run with the first output voltage, so that the independent voltage control of the permanent magnet synchronous motor can be realized, and the permanent magnet synchronous motor can be more accurately controlled to run at the target frequency, and according to the permanent magnet synchronous motor The detected first reactive current and the obtained average value of the reactive current during the operation of the magnetic synchronous motor can adjust the first output voltage, so that the driving voltage of the permanent magnet synchronous motor can be adjusted to make the permanent magnet synchronous motor work More stable, since the permanent magnet synchronous motor is driven by non-vector control, the cost is low, and when the load changes, the output voltage can be automatically changed according to the reactive current value generated by the permanent magnet synchronous motor, that is, the permanent magnet synchronous motor The driving voltage can prevent the permanent magnet synchronous motor from out of step, and the stability is high, so the practicability of the motor control method is high.
下面结合附图对本申请实施例提供的电机控制方法、装置和电子设备进行详细说明。The motor control method, device and electronic equipment provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
图1是本申请实施例提供的一种电机控制方法的流程图,如图1所示,电机控制方法100包括如下步骤101至步骤104:FIG. 1 is a flow chart of a motor control method provided in an embodiment of the present application. As shown in FIG. 1 , the motor control method 100 includes the following steps 101 to 104:
步骤101、获取永磁同步电机的无功电流平均值。Step 101. Acquire the average reactive current of the permanent magnet synchronous motor.
获取与变频器相连接的永磁同步电机的无功电流平均值。Obtains the average value of the reactive current of the permanent magnet synchronous motor connected to the frequency converter.
可选地,可以判断永磁同步电机是否预先计算出无功电流平均值,若是则获取预先计算出的无功电流平均值,若否,则对该永磁同步电机进行无功电流平均值计算,并获取计算出的无功电流平均值,其中,无功电流平均值可以通过积分计算法、平均值法等计算方法进行计算,具体计算方法本申请实施例不作限定。Optionally, it can be judged whether the permanent magnet synchronous motor has pre-calculated the average value of the reactive current, if so, obtain the pre-calculated average value of the reactive current, if not, calculate the average value of the reactive current of the permanent magnet synchronous motor , and obtain the calculated average value of reactive current, wherein the average value of reactive current can be calculated by calculation methods such as integral calculation method and average value method, and the specific calculation method is not limited in this embodiment of the application.
步骤102、以与目标频率相对应的第一输出电压驱动永磁同步电机运行。Step 102, drive the permanent magnet synchronous motor to run with the first output voltage corresponding to the target frequency.
目标频率为预先设定的永磁同步电机的运行频率,即需要永磁同步电机以目标频率运行,在本申请实施例中,永磁同步电机的驱动方式为独立电压驱动,即变频器通过改变输出电压控制永磁同步电机的运行。The target frequency is the operating frequency of the preset permanent magnet synchronous motor, that is, the permanent magnet synchronous motor needs to run at the target frequency. The output voltage controls the operation of the permanent magnet synchronous motor.
变频器确定目标频率对应的第一输出电压,并通过第一输出电压驱动永磁同步电机运行,以使永磁同步电机以目标频率运行。The frequency converter determines the first output voltage corresponding to the target frequency, and drives the permanent magnet synchronous motor to run through the first output voltage, so that the permanent magnet synchronous motor runs at the target frequency.
步骤103、检测永磁同步电机运行过程中的第一无功电流值。Step 103, detecting the first reactive current value during the operation of the permanent magnet synchronous motor.
检测永磁同步电机在运行过程中产生的第一无功电流值,具体地,可以通过将永磁同步电机运行过程中的驱动电流在第一输出电压相角的角度上正交分解为两个电流分量,其中一个电流分量与电压同相,另一个电流分量与电压的相角成90°,与电压同相电流分量为即有功电流,与电压的相角成90°的电流分量为无功电流,读取该无功电流的第一无功电流值,应理解,上述仅示出一种检测无功电流方法的一种示例,不应作为对本申请实施例检测无功电流方法的任何限定。To detect the first reactive current value generated by the permanent magnet synchronous motor during operation, specifically, the drive current during the operation of the permanent magnet synchronous motor can be decomposed into two orthogonally in terms of the first output voltage phase angle Current components, one of which is in phase with the voltage, and the other current component is at a 90° phase angle to the voltage, the current component in phase with the voltage is the active current, and the current component at a 90° phase angle to the voltage is the reactive current, To read the first reactive current value of the reactive current, it should be understood that the above is only an example of a method for detecting reactive current, and should not be used as any limitation to the method for detecting reactive current in this embodiment of the present application.
步骤104、根据第一无功电流值和无功电流平均值,对第一输出电压进行调整获得第二输出电压,并以第二输出电压驱动永磁同步电机运行。Step 104: Adjust the first output voltage to obtain a second output voltage according to the first reactive current value and the average reactive current value, and drive the permanent magnet synchronous motor to run with the second output voltage.
根据第一无功电流值和无功电流平均值,对第一输出电压进行调整,该调整过程包括增大第一输出电压、减少第一输出电压和保持第一输出电压,并根据调整后获得的第二输出电压驱动永磁同步电机运行。According to the first reactive current value and reactive current average value, the first output voltage is adjusted, the adjustment process includes increasing the first output voltage, reducing the first output voltage and maintaining the first output voltage, and according to the adjusted The second output voltage drives the permanent magnet synchronous motor to run.
需要说明的是,对第一输出电压进行调整的过程为动态调节过程,即以第二输出电压驱动永磁同步电机后,重新执行步骤103,检测永磁同步电机运行过程中的第一无功电流值,并根据新的第一无功电流和无功电流平均值对第二输出电压进行调整,重复此过程。It should be noted that the process of adjusting the first output voltage is a dynamic adjustment process, that is, after the permanent magnet synchronous motor is driven with the second output voltage, step 103 is re-executed to detect the first reactive power during the operation of the permanent magnet synchronous motor current value, and adjust the second output voltage according to the new first reactive current and reactive current average value, and repeat this process.
在本申请实施例中,以第一输出电压驱动永磁同步电机运行,由此可以实现对永磁同步电机进行独立电压控制,可以更加精准的控制永磁同步电机以目标频率运行,并根据永磁同步电机运行过程中的检测到的第一无功电流和获取的无功电流平均值,对第一输出电压进行调整,从而可以调整永磁同步电机的驱动电压,使永磁同步电机的工作更加稳定,由于采用非矢量控制方式驱动永磁同步电机,因此成本较低,且当负载发生变化时,可以根据永磁同步电机产生的无功电流值自动改变输出电压,即永磁同步电机的驱动电压,因此可以防止永磁同步电机失步,稳定性较高,因此该电机控制方法的实用性较高。In the embodiment of the present application, the permanent magnet synchronous motor is driven to run with the first output voltage, so that the independent voltage control of the permanent magnet synchronous motor can be realized, and the permanent magnet synchronous motor can be more accurately controlled to run at the target frequency, and according to the permanent magnet synchronous motor The detected first reactive current and the obtained average value of the reactive current during the operation of the magnetic synchronous motor can adjust the first output voltage, so that the driving voltage of the permanent magnet synchronous motor can be adjusted to make the permanent magnet synchronous motor work More stable, since the permanent magnet synchronous motor is driven by non-vector control, the cost is low, and when the load changes, the output voltage can be automatically changed according to the reactive current value generated by the permanent magnet synchronous motor, that is, the permanent magnet synchronous motor The driving voltage can prevent the permanent magnet synchronous motor from out of step, and the stability is high, so the practicability of the motor control method is high.
图2是本申请实施例提供的一种无功电流平均值获取方法的流程图,如图2所示,在获取永磁同步电机的无功电流平均值时,可以执行如下步骤201至步骤204:Fig. 2 is a flowchart of a method for obtaining an average value of reactive current provided by an embodiment of the present application. As shown in Fig. 2, when obtaining an average value of reactive current of a permanent magnet synchronous motor, the following steps 201 to 204 can be performed :
步骤201、获取永磁同步电机的额定运行频率。Step 201, obtain the rated operating frequency of the permanent magnet synchronous motor.
获取永磁同步电机的额定运行频率,该额定运行频率记载在电机铭牌上,可以由人工输入铭牌上记载的额定运行频率,需要说明的是,当电机铭牌上未记载永磁同步电机的额定运行频率时,可以获取永磁同步电机的额定转速,并根据公式n=60f/p计算永磁同步电机的额定运行频率,其中,n用于表征永磁同步电机的额定转速,f用于表征永磁同步电机的额定运行频率,p用于表征永磁同步电机中旋转磁场的极对数。Obtain the rated operating frequency of the permanent magnet synchronous motor. The rated operating frequency is recorded on the motor nameplate. The rated operating frequency recorded on the nameplate can be manually input. It should be noted that when the rated operating frequency of the permanent magnet synchronous motor is not recorded on the frequency, the rated speed of the permanent magnet synchronous motor can be obtained, and the rated operating frequency of the permanent magnet synchronous motor can be calculated according to the formula n=60f/p, where n is used to represent the rated speed of the permanent magnet synchronous motor, and f is used to represent the permanent magnet synchronous motor The rated operating frequency of the magnetic synchronous motor, p is used to characterize the number of pole pairs of the rotating magnetic field in the permanent magnet synchronous motor.
步骤202、控制永磁同步电机以第一频率运行。Step 202, controlling the permanent magnet synchronous motor to run at the first frequency.
控制永磁同步电机以第一频率运行,在本申请实施例中,采用V/F控制方法驱动永磁同步电机以第一频率运行,其中,第一频率与额定运行频率的比值为预设的比值阈值,比值阈值小于或等于1,例如:该比值阈值可以为1/4,即第一频率是额定频率的1/4,当该比值阈值为1时,即驱动永磁同步电机以额定频率运行。Control the permanent magnet synchronous motor to run at the first frequency. In the embodiment of the present application, the V/F control method is used to drive the permanent magnet synchronous motor to run at the first frequency, wherein the ratio of the first frequency to the rated operating frequency is preset Ratio threshold, the ratio threshold is less than or equal to 1, for example: the ratio threshold can be 1/4, that is, the first frequency is 1/4 of the rated frequency, when the ratio threshold is 1, the permanent magnet synchronous motor is driven at the rated frequency run.
步骤203、检测永磁同步电机的无功电流,获得至少两个第二无功电流值。Step 203 , detecting the reactive current of the permanent magnet synchronous motor to obtain at least two second reactive current values.
当永磁同步电机运行到达第一频率,且以第一频率稳定运行时,至少两次检测永磁同步电机此时的无功电流,获得的至少两个无功电流值。When the permanent magnet synchronous motor reaches the first frequency and runs stably at the first frequency, detect the reactive current of the permanent magnet synchronous motor at least twice at this time, and obtain at least two reactive current values.
步骤204、将至少两个第二无功电流值的平均值确定为无功电流平均值。Step 204. Determine the average value of at least two second reactive current values as the average reactive current value.
计算至少两个第二无功电流值的平均值,在本申请实施例中可以采用多种计算方法计算平均值,例如:具有第二无功电流1和第二无功电流2,则根据如下公式(第二无功电流1+第二无功电流2)/2计算平均值,或者,通过几何平均值计算法计算平均值等等。Calculate the average value of at least two second reactive current values. In the embodiment of the present application, various calculation methods can be used to calculate the average value. For example, if there is a second reactive current 1 and a second reactive current 2, then according to the following The formula (the second reactive current 1+the second reactive current 2)/2 calculates the average value, or calculates the average value by the geometric mean value calculation method and so on.
将计算出的至少两个第二无功电流的平均值确定为无功电流平均值,并将无功电流平均值记录。The calculated average value of the at least two second reactive currents is determined as the average value of the reactive current, and the average value of the reactive current is recorded.
在本申请实施例中,控制永磁同步电机以第一频率运行,多次检测永磁同步电机运行过程中产生的第二无功电流,并将第二无功电流的平均值确定为无功电流平均值,由此可以实现获取无功电流平均值,且由于无功电流平均值为在一固定频率下运行时产生的多个无功电流的平均值,以此该无功电流平均值更加精准,具有较高的参考意义,从而根据无功电流平均值和第一无功电流值调整第一输出电压时可以使永磁同步电机运行更加稳定,因此实用性较高。In the embodiment of the present application, the permanent magnet synchronous motor is controlled to run at the first frequency, the second reactive current generated during the operation of the permanent magnet synchronous motor is detected multiple times, and the average value of the second reactive current is determined as the reactive power The average value of the current, so that the average value of the reactive current can be obtained, and since the average value of the reactive current is the average value of multiple reactive currents generated when running at a fixed frequency, the average value of the reactive current is more It is accurate and has high reference significance, so that when the first output voltage is adjusted according to the average reactive current value and the first reactive current value, the operation of the permanent magnet synchronous motor can be made more stable, so the practicability is high.
在一种可能的实现方式中,比值阈值为1/2。In a possible implementation manner, the ratio threshold is 1/2.
在本申请实施例中,第一频率与额定运行频率之间的比值为1:2,即以1/2额定频率控制永磁同步电机运行,此时根据永磁同步电机运行产生的多个第二无功电流计算出的无功电流平均值更具有参考意义,无功电流平均值的精准度较高。In the embodiment of the present application, the ratio between the first frequency and the rated operating frequency is 1:2, that is, the operation of the permanent magnet synchronous motor is controlled at 1/2 of the rated frequency. The average value of reactive current calculated by the second reactive current has more reference significance, and the accuracy of the average value of reactive current is higher.
在一种可能的实现方式中,在以与目标频率相对应的第一输出电压驱动永磁同步电机运行时,可以获取永磁同步电机的额定反电势电压,然后根据额定运行频率和额定反电势电压之间的线性关系,确定目标频率对应的第一输出电压,并以第一输出电压驱动永磁同步电机运行,其中,第一输出电压小于或等于额定反电势电压。In a possible implementation, when the permanent magnet synchronous motor is driven to run with the first output voltage corresponding to the target frequency, the rated back EMF voltage of the permanent magnet synchronous motor can be obtained, and then according to the rated operating frequency and the rated back EMF The linear relationship between the voltages determines the first output voltage corresponding to the target frequency, and drives the permanent magnet synchronous motor to run with the first output voltage, wherein the first output voltage is less than or equal to the rated back EMF voltage.
获取永磁同步电机的额定反电势电压,具体地,可以根据输入变频器的永磁同步电机的铭牌数据,自动计算永磁同步电机的额定反电势电压,此时额定反电势电压即为永磁同步电机的额定输入电压。Obtain the rated back EMF voltage of the permanent magnet synchronous motor. Specifically, the rated back EMF voltage of the permanent magnet synchronous motor can be automatically calculated according to the nameplate data of the permanent magnet synchronous motor input into the inverter. At this time, the rated back EMF voltage is the permanent magnet synchronous motor The rated input voltage of the synchronous motor.
根据额定运行频率和额定反电势电压之间的线性关系,确定目标频率对应的第一输出电压,由于额定运行频率和额定反电势电压之间成线性关系,具体为正比关系,因此额定运行频率和额定反电势电压的比值为一个固定的常数,例如:额定运行频率为50Hz,额定反电势电压为300V,若此时目标频率为10Hz,则永磁同步电机的输入电压为60V,即变频器的第一输出电压为60V。According to the linear relationship between the rated operating frequency and the rated back EMF voltage, determine the first output voltage corresponding to the target frequency. Since the rated operating frequency and the rated back EMF voltage are linearly related, specifically proportional, the rated operating frequency and The ratio of the rated back EMF voltage is a fixed constant. For example, if the rated operating frequency is 50Hz and the rated back EMF voltage is 300V, if the target frequency is 10Hz at this time, the input voltage of the permanent magnet synchronous motor is 60V, that is, the inverter’s The first output voltage is 60V.
由于永磁同步电机的输入电压超过额定反电势电压后容易造成永磁同步电机损毁,所以目标频率小于或等于额定运行频率,永磁同步电机的输入电压小于或等于额定反电势电压,即变频器的第一输出电压小于或等于额定反电势电压。Since the input voltage of the permanent magnet synchronous motor exceeds the rated back EMF voltage, it is easy to cause damage to the permanent magnet synchronous motor, so the target frequency is less than or equal to the rated operating frequency, and the input voltage of the permanent magnet synchronous motor is less than or equal to the rated back EMF voltage. The first output voltage is less than or equal to the rated back EMF voltage.
在本申请实施例中,根据永磁同步电机的额定反电势电压和额定运行频率之间的线性关系,确定目标频率对应的第一输出电压,并通过第一输出电压驱动永磁同步电机运行,由此可以使永磁同步电机以目标频率运行,由于通过控制第一输出电压驱动永磁同步电机运行,因此采用独立电压控制方式控制永磁同步电机,相对比V/F控制法驱动永磁同步电机,控制的精准度较高。In the embodiment of the present application, according to the linear relationship between the rated back EMF voltage of the permanent magnet synchronous motor and the rated operating frequency, the first output voltage corresponding to the target frequency is determined, and the permanent magnet synchronous motor is driven to run by the first output voltage, In this way, the permanent magnet synchronous motor can be operated at the target frequency. Since the permanent magnet synchronous motor is driven by controlling the first output voltage, an independent voltage control method is used to control the permanent magnet synchronous motor. Compared with the V/F control method, the permanent magnet synchronous motor is driven The motor has high control precision.
图3是本申请实施例提供的另一种电机控制方法的流程图,如图3所示,在图1所示的步骤101至步骤104的基础上,步骤104包括如下步骤301至步骤303:Fig. 3 is a flowchart of another motor control method provided by the embodiment of the present application. As shown in Fig. 3, on the basis of steps 101 to 104 shown in Fig. 1, step 104 includes the following steps 301 to 303:
步骤301、计算第一无功电流值与无功电流平均值的差值。Step 301. Calculate the difference between the first reactive current value and the average reactive current value.
步骤302、判断第一无功电流值与无功电流平均值的差值是否大于第一阈值,如果是Y,则执行步骤303,如果否N,则执行步骤304。Step 302 , judging whether the difference between the first reactive current value and the average value of the reactive current is greater than the first threshold, if yes, execute step 303 , if not N, execute step 304 .
步骤303、减少第一输出电压,获得第二输出电压,并以第二输出电压驱动永磁同步电机运行,并执行步骤103。Step 303 , reduce the first output voltage to obtain a second output voltage, and drive the permanent magnet synchronous motor to run with the second output voltage, and execute step 103 .
当第一无功电流值与无功电流平均值的差值大于第一阈值时,减少第一输出电压,从而可减少永磁同步电机的输入电压和输入电流,以减少第一输出电压后获得的第二输出电压驱动永磁同步电机运行,并重新执行步骤103、检测永磁同步电机运行过程中的第一无功电流值,以重新执行步骤301至步骤303,并以此循环。When the difference between the first reactive current value and the average value of the reactive current is greater than the first threshold, the first output voltage is reduced, thereby reducing the input voltage and input current of the permanent magnet synchronous motor to obtain after reducing the first output voltage The second output voltage of the permanent magnet synchronous motor is driven to run, and step 103 is re-executed to detect the first reactive current value during the operation of the permanent magnet synchronous motor, so as to re-execute steps 301 to 303, and this cycle.
步骤304、判断第一无功电流值与无功电流平均值的差值是否小于第二阈值,如果是Y,则执行步骤305,如果否N,则执行步骤103。Step 304 , judging whether the difference between the first reactive current value and the average value of the reactive current is smaller than the second threshold, if yes, execute step 305 , if not N, execute step 103 .
步骤305、增大第一输出电压,获得第二输出电压,并以第二输出电压驱动永磁同步电机运行,并执行步骤103。Step 305 , increase the first output voltage to obtain a second output voltage, and drive the permanent magnet synchronous motor to run with the second output voltage, and execute step 103 .
当第一无功电流值与无功电流平均值的差值小于第二阈值时,增大第一输出电压,从而可增大永磁同步电机的输入电压和输入电流,以增大第一输出电压后获得的第二输出电压驱动永磁同步电机运行,并重新执行步骤103、检测永磁同步电机运行过程中的第一无功电流值,以重新执行步骤301至步骤303,并以此循环。When the difference between the first reactive current value and the average reactive current value is less than the second threshold, the first output voltage is increased, so that the input voltage and input current of the permanent magnet synchronous motor can be increased to increase the first output The second output voltage obtained after the voltage is used to drive the permanent magnet synchronous motor to run, and re-execute step 103, detect the first reactive current value during the operation of the permanent magnet synchronous motor, to re-execute steps 301 to 303, and cycle like this .
需要说明的是,当第一无功电流值与无功电流平均值的差值小于第一阈值,且大于第二阈值时,即第一无功电流值与无功电流平均值的差值位于预设的波动范围内,则不改变第一输出电压,将第一输出电压确定为第二输出电压,并以第二输出电压驱动永磁同步电机运行。该波动范围即为[第一阈值,第二阈值]。It should be noted that when the difference between the first reactive current value and the average value of reactive current is less than the first threshold and greater than the second threshold, that is, the difference between the first reactive current value and the average value of reactive current is at Within the preset fluctuation range, the first output voltage is not changed, the first output voltage is determined as the second output voltage, and the second output voltage is used to drive the permanent magnet synchronous motor to run. The fluctuation range is [the first threshold, the second threshold].
下面以第一阈值为+0.05,第二阈值为-0.05,预设的波动范围为[-0.05,+0.05]为例,说明本实施例:The following takes the first threshold as +0.05, the second threshold as -0.05, and the preset fluctuation range as [-0.05,+0.05] as an example to illustrate this embodiment:
当I1<I0-0.05,即I1-I0<-0.05时,增大第一输出电压,获得第二输出电压,并以第二输出电压驱动永磁同步电机运行,并重新检测以第二输出电压驱动永磁同步电机运行时产生的第一无功电流值,其中,I1用于表征第一无功电流值,I0用于表征无功电流平均值。When I 1 <I 0 -0.05, that is, when I 1 -I 0 <-0.05, increase the first output voltage to obtain the second output voltage, and drive the permanent magnet synchronous motor to run with the second output voltage, and retest to The second output voltage drives the first reactive current value generated when the permanent magnet synchronous motor is running, wherein I 1 is used to represent the first reactive current value, and I 0 is used to represent the average value of the reactive current.
当I1>I0+0.05,即I1-I0>+0.05时,减少第一输出电压,获得第二输出电压,并以第二输出电压驱动永磁同步电机运行,并重新检测以第二输出电压驱动永磁同步电机运行时产生的第一无功电流值。When I 1 >I 0 +0.05, that is, when I 1 -I 0 >+0.05, reduce the first output voltage to obtain the second output voltage, and drive the permanent magnet synchronous motor to run with the second output voltage, and retest with the first The second output voltage drives the first reactive current value generated when the permanent magnet synchronous motor is running.
当I0-0.05<I1<I0+0.05,即-0.05<I1-I0<+0.05时,将第一输出电压确定为第二输出电压,并以第二输出电压驱动永磁同步电机运行。When I 0 -0.05<I 1 <I 0 +0.05, namely -0.05<I 1 -I 0 <+0.05, the first output voltage is determined as the second output voltage, and the second output voltage is used to drive the permanent magnet synchronously The motor runs.
应理解,上述过程仅为一种示例,不对本申请造成任何限定,具体第一阈值、第二阈值以及预设的波动范围可以根据永磁同步电机的运行稳定性需求设置。It should be understood that the above process is only an example and does not impose any limitation on the present application. The specific first threshold, the second threshold and the preset fluctuation range can be set according to the operation stability requirements of the permanent magnet synchronous motor.
在本申请实施例中,根据第一无功电流值和无功电流平均值之间的差值,对第一输出电压进行调整获得第二输出电压,并以第二输出电压驱动永磁同步电机运行,由此可以控制永磁同步电机在自动寻找最佳工作点,降低调试难度,当负载发生变化时,可以动态调节输出电压,防止负载变化引起的永磁同步电机失步,提高永磁同步电机的运行稳定性,因此该电机控制方法的实用性较高。In the embodiment of the present application, according to the difference between the first reactive current value and the average reactive current value, the first output voltage is adjusted to obtain the second output voltage, and the permanent magnet synchronous motor is driven by the second output voltage operation, which can control the permanent magnet synchronous motor to automatically find the best working point, reduce the difficulty of debugging, and when the load changes, the output voltage can be dynamically adjusted to prevent the permanent magnet synchronous motor from out of step caused by the load change, and improve the permanent magnet synchronous The running stability of the motor is high, so the practicability of the motor control method is high.
图4是本申请实施例提供的一种电机控制装置的示意图。如图4所示,电机控制装置400包括:Fig. 4 is a schematic diagram of a motor control device provided by an embodiment of the present application. As shown in FIG. 4, the motor control device 400 includes:
获取单元401,用于获取永磁同步电机的无功电流平均值。The acquiring unit 401 is configured to acquire the average value of the reactive current of the permanent magnet synchronous motor.
第一驱动单元402,用于以与目标频率相对应的第一输出电压驱动永磁同步电机运行。The first driving unit 402 is configured to drive the permanent magnet synchronous motor to run with the first output voltage corresponding to the target frequency.
检测单元403,用于检测永磁同步电机运行过程中的第一无功电流值。The detection unit 403 is configured to detect the first reactive current value during the operation of the permanent magnet synchronous motor.
第二驱动单元404,用于根据第一无功电流值和无功电流平均值,对第一输出电压进行调整获得第二输出电压,并以第二输出电压驱动永磁同步电机运行。The second drive unit 404 is configured to adjust the first output voltage to obtain a second output voltage according to the first reactive current value and the average reactive current value, and drive the permanent magnet synchronous motor to run with the second output voltage.
在本申请实施例中,获取单元401可用于执行上述方法实施例中的步骤101,第一驱动单元402可用于执行上述方法实施例中的步骤102,检测单元403可用于执行上述方法实施例中的步骤103,第二驱动单元404可用于执行上述方法实施例中的步骤104。In this embodiment of the present application, the acquisition unit 401 can be used to perform step 101 in the above method embodiment, the first driving unit 402 can be used to perform step 102 in the above method embodiment, and the detection unit 403 can be used to perform the above method embodiment In step 103, the second driving unit 404 may be used to execute step 104 in the above method embodiment.
在一种可能的实现方式中,获取单元401,可以用于获取永磁同步电机的额定运行频率;控制永磁同步电机以第一频率运行,其中,第一频率与额定运行频率的比值为预设的比值阈值,比值阈值小于或等于1;检测永磁同步电机的无功电流,获得至少两个第二无功电流值;将至少两个第二无功电流值的平均值确定为无功电流平均值。In a possible implementation manner, the acquisition unit 401 can be used to acquire the rated operating frequency of the permanent magnet synchronous motor; control the permanent magnet synchronous motor to run at the first frequency, wherein the ratio of the first frequency to the rated operating frequency is a preset Set the ratio threshold value, the ratio threshold value is less than or equal to 1; detect the reactive current of the permanent magnet synchronous motor, and obtain at least two second reactive current values; determine the average value of at least two second reactive current values as reactive power current average.
在一种可能的实现方式中,比值阈值为1/2。In a possible implementation manner, the ratio threshold is 1/2.
在一种可能的实现方式中,获取单元401,可以用于获取永磁同步电机的额定反电势电压;根据额定运行频率和额定反电势电压之间的线性关系,确定目标频率对应的第一输出电压;以第一输出电压驱动永磁同步电机运行,其中,第一输出电压小于或等于额定反电势电压。In a possible implementation, the obtaining unit 401 can be used to obtain the rated back EMF voltage of the permanent magnet synchronous motor; according to the linear relationship between the rated operating frequency and the rated back EMF voltage, determine the first output corresponding to the target frequency Voltage: drive the permanent magnet synchronous motor to run with the first output voltage, wherein the first output voltage is less than or equal to the rated back EMF voltage.
在一种可能的实现方式中,若第一无功电流值与无功电流平均值的差值位于预设的波动范围内,第二驱动单元404可以将第一输出电压确定为第二输出电压,并以第二输出电压驱动永磁同步电机运行。In a possible implementation, if the difference between the first reactive current value and the average reactive current value is within a preset fluctuation range, the second drive unit 404 may determine the first output voltage as the second output voltage , and drive the permanent magnet synchronous motor to run with the second output voltage.
在一种可能的实现方式中,若第一无功电流值与无功电流平均值的差值大于第一阈值,第二驱动单元404可以减少第一输出电压,获得第二输出电压,并以第二输出电压驱动永磁同步电机运行。In a possible implementation, if the difference between the first reactive current value and the average reactive current value is greater than the first threshold, the second driving unit 404 may reduce the first output voltage to obtain the second output voltage, and use The second output voltage drives the permanent magnet synchronous motor to run.
在一种可能的实现方式中,若第一无功电流值与无功电流平均值的差值小于第二阈值,第二驱动单元404可以增大第一输出电压,获得第二输出电压,并以第二输出电压驱动永磁同步电机运行。In a possible implementation manner, if the difference between the first reactive current value and the average reactive current value is smaller than the second threshold, the second driving unit 404 may increase the first output voltage to obtain the second output voltage, and The permanent magnet synchronous motor is driven to run with the second output voltage.
需要说明的是,上述电机控制装置内的各模块之间的信息交互、执行过程等内容,由于与前述电机控制方法实施例基于同一构思,具体内容可参见前述电机控制方法实施例中的叙述,此处不再赘述。It should be noted that the information exchange and execution process among the various modules in the above-mentioned motor control device are based on the same concept as the above-mentioned embodiment of the motor control method, and the specific content can refer to the description in the above-mentioned embodiment of the motor control method. I won't repeat them here.
图5是本申请实施例提供的一种电子设备的示意图,本申请具体实施例并不对电子设备的具体实现做限定。参见图5,本申请实施例提供的电子设备500包括:处理器(processor)502、通信接口(Communications Interface)504、存储器(memory)506、以及通信总线508。其中:FIG. 5 is a schematic diagram of an electronic device provided by an embodiment of the present application, and the specific embodiment of the present application does not limit the specific implementation of the electronic device. Referring to FIG. 5 , an electronic device 500 provided by an embodiment of the present application includes: a processor (processor) 502 , a communication interface (Communications Interface) 504 , a memory (memory) 506 , and a communication bus 508 . in:
处理器502、通信接口504、以及存储器506通过通信总线508完成相互间的通信。The processor 502 , the communication interface 504 , and the memory 506 communicate with each other through the communication bus 508 .
通信接口504,用于与其它电子设备或服务器进行通信。The communication interface 504 is used for communicating with other electronic devices or servers.
处理器502,用于执行程序510,具体可以执行前述任一电机控制方法实施例中的相关步骤。The processor 502 is configured to execute the program 510, specifically, may execute relevant steps in any one of the motor control method embodiments described above.
具体地,程序510可以包括程序代码,该程序代码包括计算机操作指令。Specifically, the program 510 may include program codes including computer operation instructions.
处理器502可能是中央处理器CPU,或者是特定集成电路ASIC(ApplicationSpecific Integrated Circuit),或者是被配置成实施本申请实施例的一个或多个集成电路。智能设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 502 may be a central processing unit CPU, or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the smart device may be of the same type, such as one or more CPUs, or may be different types of processors, such as one or more CPUs and one or more ASICs.
存储器506,用于存放程序510。存储器506可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 506 is used for storing the program 510 . The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
程序510具体可以用于使得处理器502执行前述任一实施例中的电机控制方法。The program 510 can be specifically used to make the processor 502 execute the motor control method in any of the foregoing embodiments.
程序510中各步骤的具体实现可以参见前述任一电机控制方法实施例中的相应步骤和单元中对应的描述,在此不赘述。所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的设备和模块的具体工作过程,可以参考前述方法实施例中的对应过程描述,在此不再赘述。For the specific implementation of each step in the program 510, reference may be made to the corresponding descriptions in the corresponding steps and units in any of the aforementioned embodiments of the motor control method, and details are not repeated here. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the foregoing method embodiments, and details are not repeated here.
通过本申请实施例的电子设备,以第一输出电压驱动永磁同步电机运行,由此可以实现对永磁同步电机进行独立电压控制,可以更加精准的控制永磁同步电机以目标频率运行,并根据永磁同步电机运行过程中的检测到的第一无功电流和获取的无功电流平均值,对第一输出电压进行调整,从而可以调整永磁同步电机的驱动电压,使永磁同步电机的工作更加稳定,由于采用非矢量控制方式驱动永磁同步电机,因此成本较低,且当负载发生变化时,可以根据永磁同步电机产生的无功电流值自动改变输出电压,即永磁同步电机的驱动电压,因此可以防止永磁同步电机失步,稳定性较高,因此该电机控制方法的实用性较高。Through the electronic device of the embodiment of the present application, the permanent magnet synchronous motor is driven to run with the first output voltage, thereby realizing independent voltage control of the permanent magnet synchronous motor, and more accurately controlling the permanent magnet synchronous motor to run at the target frequency, and According to the detected first reactive current and the obtained average value of the reactive current during the operation of the permanent magnet synchronous motor, the first output voltage is adjusted, so that the driving voltage of the permanent magnet synchronous motor can be adjusted to make the permanent magnet synchronous motor The work is more stable, because the non-vector control method is used to drive the permanent magnet synchronous motor, so the cost is low, and when the load changes, the output voltage can be automatically changed according to the reactive current value generated by the permanent magnet synchronous motor, that is, the permanent magnet synchronous The driving voltage of the motor can prevent the out-of-step of the permanent magnet synchronous motor, and the stability is high, so the practicability of the motor control method is high.
本申请实施例还提供了一种计算机可读存储介质,存储用于使一机器执行如本文所述的电机控制方法的指令。具体地,可以提供配有存储介质的系统或者装置,在该存储介质上存储着实现上述实施例中任一实施例的功能的软件程序代码,且使该系统或者装置的计算机(或CPU或MPU)读出并执行存储在存储介质中的程序代码。An embodiment of the present application also provides a computer-readable storage medium storing instructions for enabling a machine to execute the motor control method described herein. Specifically, a system or device equipped with a storage medium may be provided, on which a software program code for realizing the functions of any of the above embodiments is stored, and the computer (or CPU or MPU of the system or device) ) to read and execute the program code stored in the storage medium.
在这种情况下,从存储介质读取的程序代码本身可实现上述实施例中任何一项实施例的功能,因此程序代码和存储程序代码的存储介质构成了本申请的一部分。In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, so the program code and the storage medium storing the program code constitute a part of the present application.
用于提供程序代码的存储介质实施例包括软盘、硬盘、磁光盘、光盘(如CD-ROM、CD-R、CD-RW、DVD-ROM、DVD-RAM、DVD-RW、DVD+RW)、磁带、非易失性存储卡和ROM。可选择地,可以由通信网络从服务器计算机上下载程序代码。Examples of storage media for providing program code include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), Tape, non-volatile memory card, and ROM. Alternatively, the program code can be downloaded from a server computer via a communication network.
此外,应该清楚的是,不仅可以通过执行计算机所读出的程序代码,而且可以通过基于程序代码的指令使计算机上操作的操作系统等来完成部分或者全部的实际操作,从而实现上述实施例中任意一项实施例的功能。In addition, it should be clear that not only by executing the program code read by the computer, but also by making the operating system on the computer complete part or all of the actual operations through instructions based on the program code, so as to realize the function of any one of the embodiments.
此外,可以理解的是,将由存储介质读出的程序代码写到插入计算机内的扩展板中所设置的存储器中或者写到与计算机相连接的扩展模块中设置的存储器中,随后基于程序代码的指令使安装在扩展板或者扩展模块上的CPU等来执行部分和全部实际操作,从而实现上述实施例中任一实施例的功能。In addition, it can be understood that the program code read from the storage medium is written into the memory provided in the expansion board inserted into the computer or written into the memory provided in the expansion module connected to the computer, and then based on the program code The instruction causes the CPU installed on the expansion board or the expansion module to perform some or all of the actual operations, thereby realizing the functions of any one of the above-mentioned embodiments.
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品被有形地存储在计算机可读介质上并且包括计算机可执行指令,所述计算机可执行指令在被执行时使至少一个处理器执行上述各实施例提供的电机控制方法。应理解,本实施例中的各方案具有上述方法实施例中对应的技术效果,此处不再赘述。The embodiment of the present application also provides a computer program product, the computer program product is tangibly stored on a computer-readable medium and includes computer-executable instructions, and the computer-executable instructions cause at least one processor to The motor control methods provided by the above-mentioned embodiments are executed. It should be understood that the solutions in this embodiment have the corresponding technical effects in the foregoing method embodiments, and details are not repeated here.
需要说明的是,上述各流程和各系统结构图中不是所有的步骤和模块都是必须的,可以根据实际的需要忽略某些步骤或模块。各步骤的执行顺序不是固定的,可以根据需要进行调整。上述各实施例中描述的系统结构可以是物理结构,也可以是逻辑结构,即,有些模块可能由同一物理实体实现,或者,有些模块可能分由多个物理实体实现,或者,可以由多个独立设备中的某些部件共同实现。It should be noted that not all the steps and modules in the above processes and system structure diagrams are necessary, and some steps or modules can be ignored according to actual needs. The execution order of each step is not fixed and can be adjusted as needed. The system structures described in the above embodiments may be physical structures or logical structures, that is, some modules may be realized by the same physical entity, or some modules may be realized by multiple physical entities, or may be realized by multiple Certain components in individual devices are implemented together.
本专利申请中关于人的名词和代词不限于具体性别。Nouns and pronouns referring to persons in this patent application are not limited to specific genders.
以上各实施例中,硬件模块可以通过机械方式或电气方式实现。例如,一个硬件模块可以包括永久性专用的电路或逻辑(如专门的处理器,FPGA或ASIC)来完成相应操作。硬件模块还可以包括可编程逻辑或电路(如通用处理器或其它可编程处理器),可以由软件进行临时的设置以完成相应操作。具体的实现方式(机械方式、或专用的永久性电路、或者临时设置的电路)可以基于成本和时间上的考虑来确定。In the above embodiments, the hardware modules may be implemented mechanically or electrically. For example, a hardware module may include permanently dedicated circuitry or logic (such as a dedicated processor, FPGA or ASIC) to perform the corresponding operations. The hardware modules may also include programmable logic or circuits (such as general-purpose processors or other programmable processors), which can be temporarily set by software to complete corresponding operations. The specific implementation (mechanical way, or a dedicated permanent circuit, or a temporary circuit) can be determined based on cost and time considerations.
上文通过附图和优选实施例对本申请进行了详细展示和说明,然而本申请不限于这些已揭示的实施例,基与上述多个实施例本领域技术人员可以知晓,可以组合上述不同实施例中的代码审核手段得到本申请更多的实施例,这些实施例也在本申请的保护范围之内。The above has shown and described the present application in detail through the accompanying drawings and preferred embodiments. However, the present application is not limited to these disclosed embodiments. Those skilled in the art can know that the above-mentioned different embodiments can be combined based on the above-mentioned multiple embodiments. The code auditing means in the present application obtains more embodiments, and these embodiments are also within the protection scope of the present application.
Claims (11)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310666232.XA CN116667710A (en) | 2023-06-06 | 2023-06-06 | Motor control method, motor control device, electronic equipment and storage medium |
PCT/EP2024/065389 WO2024251765A1 (en) | 2023-06-06 | 2024-06-05 | Motor control method and apparatus, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310666232.XA CN116667710A (en) | 2023-06-06 | 2023-06-06 | Motor control method, motor control device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116667710A true CN116667710A (en) | 2023-08-29 |
Family
ID=87713390
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310666232.XA Pending CN116667710A (en) | 2023-06-06 | 2023-06-06 | Motor control method, motor control device, electronic equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116667710A (en) |
WO (1) | WO2024251765A1 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4116595B2 (en) * | 2004-06-30 | 2008-07-09 | ファナック株式会社 | Motor control device |
JP5007546B2 (en) * | 2006-09-27 | 2012-08-22 | 富士電機株式会社 | Permanent magnet synchronous motor drive device |
CN114710069A (en) * | 2022-03-28 | 2022-07-05 | 山东凯信德电子科技有限公司 | Efficient energy-saving operation control method for permanent magnet motor frequency converter |
CN115765570B (en) * | 2022-11-29 | 2025-05-06 | 大禹电气科技股份有限公司 | Permanent magnet synchronous motor VF control method, device, equipment and readable storage medium |
-
2023
- 2023-06-06 CN CN202310666232.XA patent/CN116667710A/en active Pending
-
2024
- 2024-06-05 WO PCT/EP2024/065389 patent/WO2024251765A1/en active Search and Examination
Also Published As
Publication number | Publication date |
---|---|
WO2024251765A1 (en) | 2024-12-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Cheng et al. | Design of a sensorless commutation IC for BLDC motors | |
CN1783692B (en) | Speed controller of synchronous motor | |
US11356044B2 (en) | Method for detecting motor initial phase and phase sequence and system for controlling permanent-magnet synchronous motor | |
JP2009189176A (en) | Drive system for synchronous motor | |
Romashykhin et al. | The possibilities of the energy method for identifying the parameters of induction motor | |
CN106817064A (en) | Driving method of alternating current motor and motor driving device using same | |
KR102359677B1 (en) | Rotor initial angle estimation device and method | |
CN116667710A (en) | Motor control method, motor control device, electronic equipment and storage medium | |
TWI743850B (en) | Rotor position detector and detection method thereof | |
CN111525868B (en) | Phase shifting method and system for three-phase inverter and readable storage medium | |
Cho et al. | Torque-sensorless identification of IPMSM torque map | |
CN112104271B (en) | Method and device for detecting initial position and initial rotating speed of motor and readable medium | |
CN117792199B (en) | A permanent magnet synchronous motor control method, device, vehicle and storage medium | |
JP6108109B2 (en) | Control device for permanent magnet type synchronous motor | |
CN113179066A (en) | Time compensation method for dead zone of sensorless permanent magnet synchronous motor inverter | |
TWM601933U (en) | Motor rotor position detecting device | |
CN106301132B (en) | Permanent magnet synchronous motor power calculation method and device, refrigerator controller and refrigerator | |
Ma et al. | Inductance model-based sensorless srm drive with torque ripple minimization | |
US11728753B2 (en) | Detecting motor stall condition | |
Allafi et al. | On the Accuracy of Frequency Based Fault Diagnosis for DTC-driven PMSM | |
Kazakbaev et al. | Analysis of application of magnetic flux controller with phase-locked loop for synchronous reluctance drive | |
Heo et al. | Integrated sliding‐mode sensorless driver with pre‐driver and current sensing circuit for accurate speed control of PMSM | |
JP3733095B2 (en) | Synchronous motor step-out detection device, synchronous motor step-out detection method, and compressor driving device for refrigeration air conditioner | |
KR20200056572A (en) | BLDC motor, Apparatus and Method for providing attach position information of hole sensors in the BLDC motor | |
US12273057B2 (en) | Systems and methods for speed regulation of induction motors |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20231114 Address after: Munich, Germany Applicant after: SIEMENS AG Address before: Room M2, 1st Floor, No.1 Jiuxianqiao East Road, Chaoyang District, Beijing, 100016 Applicant before: SIEMENS FACTORY AUTOMATION ENGINEERING Ltd. |
|
TA01 | Transfer of patent application right |