[go: up one dir, main page]

CN114865989B - A permanent magnet synchronous motor resolver fault detection and control method - Google Patents

A permanent magnet synchronous motor resolver fault detection and control method Download PDF

Info

Publication number
CN114865989B
CN114865989B CN202210589655.1A CN202210589655A CN114865989B CN 114865989 B CN114865989 B CN 114865989B CN 202210589655 A CN202210589655 A CN 202210589655A CN 114865989 B CN114865989 B CN 114865989B
Authority
CN
China
Prior art keywords
permanent magnet
synchronous motor
magnet synchronous
fault
failure
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.)
Active
Application number
CN202210589655.1A
Other languages
Chinese (zh)
Other versions
CN114865989A (en
Inventor
徐奇伟
王益明
张雪锋
罗凌雁
高龙将
戴锐
刘垚甫
蒋东昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Xinyichuang Electric Technology Co ltd
Chongqing University
Original Assignee
Chongqing Xinyichuang Electric Technology Co ltd
Chongqing University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chongqing Xinyichuang Electric Technology Co ltd, Chongqing University filed Critical Chongqing Xinyichuang Electric Technology Co ltd
Priority to CN202210589655.1A priority Critical patent/CN114865989B/en
Publication of CN114865989A publication Critical patent/CN114865989A/en
Application granted granted Critical
Publication of CN114865989B publication Critical patent/CN114865989B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P29/00Arrangements for regulating or controlling electric motors, appropriate for both AC and DC motors
    • H02P29/02Providing protection against overload without automatic interruption of supply
    • H02P29/024Detecting a fault condition, e.g. short circuit, locked rotor, open circuit or loss of load
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P23/00Arrangements or methods for the control of AC motors characterised by a control method other than vector control
    • H02P23/12Observer control, e.g. using Luenberger observers or Kalman filters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P23/00Arrangements or methods for the control of AC motors characterised by a control method other than vector control
    • H02P23/14Estimation or adaptation of motor parameters, e.g. rotor time constant, flux, speed, current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P25/00Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details
    • H02P25/02Arrangements 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/022Synchronous motors
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P29/00Arrangements for regulating or controlling electric motors, appropriate for both AC and DC motors
    • H02P29/02Providing protection against overload without automatic interruption of supply
    • H02P29/024Detecting a fault condition, e.g. short circuit, locked rotor, open circuit or loss of load
    • H02P29/028Detecting a fault condition, e.g. short circuit, locked rotor, open circuit or loss of load the motor continuing operation despite the fault condition, e.g. eliminating, compensating for or remedying the fault
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/14Electronic commutators
    • H02P6/16Circuit arrangements for detecting position
    • H02P6/18Circuit arrangements for detecting position without separate position detecting elements
    • H02P6/183Circuit arrangements for detecting position without separate position detecting elements using an injected high frequency signal
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P2203/00Indexing scheme relating to controlling arrangements characterised by the means for detecting the position of the rotor
    • H02P2203/03Determination of the rotor position, e.g. initial rotor position, during standstill or low speed operation
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P2203/00Indexing scheme relating to controlling arrangements characterised by the means for detecting the position of the rotor
    • H02P2203/11Determination or estimation of the rotor position or other motor parameters based on the analysis of high-frequency signals
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P2207/00Indexing scheme relating to controlling arrangements characterised by the type of motor
    • H02P2207/05Synchronous machines, e.g. with permanent magnets or DC excitation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/64Electric machine technologies in electromobility

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

本发明公开一种永磁同步电机旋变故障检测和控制方法,步骤包括:1)判断旋变解码芯片是否存在初始故障;2)若存在旋变解码芯片初始故障,则采用无感控制模式控制永磁同步电机运行,否则采用有感控制模式控制永磁同步电机运行,进行永磁同步电机旋变故障检测,若不存在永磁同步电机旋变故障,则利用旋变解码位置计算电机位置,若存在永磁同步电机旋变故障,则判断永磁同步电机的故障为偶发故障还是持续故障,若是偶发故障,则进行故障复位,若是持续故障,则将无感控制模式切换为无感控制模式。本发明在电机实时监测旋变解码芯片故障状态,并在发生故障时,判断是何种故障,并进入相应的运行模式,保证在旋变故障时电机能继续运行。

The present invention discloses a permanent magnet synchronous motor resolver fault detection and control method, the steps include: 1) judging whether there is an initial fault in the resolver decoding chip; 2) if there is an initial fault in the resolver decoding chip, a non-sensing control mode is adopted to control the operation of the permanent magnet synchronous motor, otherwise a sensing control mode is adopted to control the operation of the permanent magnet synchronous motor, and a resolver fault detection of the permanent magnet synchronous motor is performed, if there is no resolver fault in the permanent magnet synchronous motor, the motor position is calculated using the resolver decoding position, if there is a resolver fault in the permanent magnet synchronous motor, it is judged whether the fault of the permanent magnet synchronous motor is an occasional fault or a continuous fault, if it is an occasional fault, the fault is reset, if it is a continuous fault, the non-sensing control mode is switched to the non-sensing control mode. The present invention monitors the fault state of the resolver decoding chip in real time in the motor, and when a fault occurs, it is judged what kind of fault it is, and enters the corresponding operation mode to ensure that the motor can continue to operate when the resolver fails.

Description

一种永磁同步电机旋变故障检测和控制方法A permanent magnet synchronous motor resolver fault detection and control method

技术领域Technical Field

本发明涉及永磁同步电机控制技术领域,具体是一种永磁同步电机旋变故障检测和控制方法。The invention relates to the technical field of permanent magnet synchronous motor control, and in particular to a permanent magnet synchronous motor resolver fault detection and control method.

背景技术Background Art

旋转变压器(简称旋变)是永磁同步电机常用的位置传感器,用于向永磁同步电机提供转子位置信息。控制器根据旋变提供的位置信息执行电机控制,一旦旋变故障会造成电机控制系统无法正常运行。The resolver (resolver for short) is a commonly used position sensor for permanent magnet synchronous motors, which is used to provide rotor position information to permanent magnet synchronous motors. The controller performs motor control based on the position information provided by the resolver. Once the resolver fails, the motor control system will not be able to operate normally.

发明内容Summary of the invention

本发明的目的是提供一种永磁同步电机旋变故障检测和控制方法,包括以下步骤:The object of the present invention is to provide a permanent magnet synchronous motor resolver fault detection and control method, comprising the following steps:

1)在启动永磁同步电机前,利用控制器对旋变解码芯片进行故障检测,判断旋变解码芯片是否存在初始故障;1) Before starting the permanent magnet synchronous motor, use the controller to perform fault detection on the resolver decoding chip to determine whether the resolver decoding chip has an initial fault;

对旋变解码芯片进行故障检测的步骤包括:The steps for fault detection of the resolver decoding chip include:

1.1)初始化故障计数器k=0;1.1) Initialize the fault counter k=0;

1.2)控制器判断旋变解码芯片是否上传故障信息,若是,则进入步骤1.4),否则进入步骤1.3);1.2) The controller determines whether the resolver decoding chip uploads fault information. If so, it proceeds to step 1.4), otherwise it proceeds to step 1.3);

1.3)判断旋变解码芯片的输出引脚LOT和DOS是否均为低电平,若是,则进入步骤1.4),否则进入步骤1.5);1.3) Determine whether the output pins LOT and DOS of the resolver decoding chip are both at low level. If so, proceed to step 1.4), otherwise proceed to step 1.5);

1.4)复位旋变解码芯片,并令故障计数器k=k+1,并进入步骤1.6);1.4) Reset the resolver decoding chip, set the fault counter k=k+1, and proceed to step 1.6);

1.5)判断当前故障计数器k是否大于0,若是,则令故障计数器k=k-1,并进入步骤1.6);1.5) Determine whether the current fault counter k is greater than 0. If so, set the fault counter k=k-1 and proceed to step 1.6);

1.6)判断当前故障计数器k大于阈值kmax是否成立,若是,则判断旋变解码芯片存在初始故障,否则,进入步骤7);1.6) Determine whether the current fault counter k is greater than the threshold kmax. If so, determine that the resolver decoding chip has an initial fault. Otherwise, proceed to step 7);

1.7)判断控制器是否接收到永磁同步电机启动信号,若是,则判断旋变解码芯片不存在初始故障,否则,返回步骤2)。1.7) Determine whether the controller receives the permanent magnet synchronous motor start signal. If so, determine that the resolver decoding chip does not have an initial fault. Otherwise, return to step 2).

2)在控制器接收到永磁同步电机启动信号时,若存在旋变解码芯片初始故障,则采用无感控制模式控制永磁同步电机运行,否则,进入步骤3);2) When the controller receives the permanent magnet synchronous motor start signal, if there is an initial fault in the resolver decoding chip, the permanent magnet synchronous motor is controlled to run in a sensorless control mode, otherwise, proceed to step 3);

所述无感控制模式包括脉振高频注入无感控制模式和滑模无感控制模式。The sensorless control mode includes a pulse high frequency injection sensorless control mode and a sliding mode sensorless control mode.

采用无感控制模式控制永磁同步电机运行的步骤包括:The steps of controlling the operation of a permanent magnet synchronous motor using a sensorless control mode include:

2.1)在永磁同步电机估算同步旋转坐标系下的d轴上注入高频脉振电压,根据估算同步旋转坐标系下的q轴采样电流计算得到高频纹波电流分量 2.1) Inject high-frequency pulse voltage into the d-axis of the permanent magnet synchronous motor in the estimated synchronous rotating coordinate system, and sample the current of the q-axis in the estimated synchronous rotating coordinate system. Calculate the high-frequency ripple current component

2.2)根据永磁同步电机估算同步旋转坐标系下的Q轴高频电流通过PI计算转速转速积分计算转子位置当Q轴高频电流等于零时,估算的转子位置与实际的转子位置重合。2.2) Estimation of the Q-axis high-frequency current in the synchronous rotating coordinate system based on the permanent magnet synchronous motor Calculate the speed through PI Speed Integral calculation of rotor position When the Q-axis high-frequency current is equal to zero, the estimated rotor position coincides with the actual rotor position.

2.3)判断永磁同步电机极性,并对永磁同步电机转子位置进行修正,修正步骤包括:2.3) Determine the polarity of the permanent magnet synchronous motor and correct the rotor position of the permanent magnet synchronous motor. The correction steps include:

2.3.1)在t0时刻向D轴注入正向高频电压,持续Δt时间至t1时刻,在t1时刻采集峰值电流Imax1;2.3.1) At time t0, a positive high-frequency voltage is injected into the D axis for a period of Δt until time t1, and the peak current Imax1 is collected at time t1;

2.3.2)停止电压注入,直至t2时刻开始向D轴注入负向高频电压,持续Δt时间至t3时刻,在t3时刻采集峰值电流Imax2;2.3.2) Stop voltage injection until time t2, then start injecting negative high-frequency voltage into the D axis for a period of Δt until time t3, and collect the peak current Imax2 at time t3;

2.3.3)判断峰值电流Imax1大于峰值电流Imax2是否成立,若是,则磁极极性正确,不进行磁极位置修正,否则,转子位置加上180°电角度;2.3.3) Determine whether the peak current Imax1 is greater than the peak current Imax2. If so, the magnetic pole polarity is correct and no magnetic pole position correction is performed. Otherwise, the rotor position is increased by 180° electrical angle.

2.4)在获得采用永磁同步电机位置后,采用脉振高频注入无感控制模式控制永磁同步电机运行,在永磁同步电机转速大于h1rpm后,启动滑模观测器,当永磁同步电机转速大于h3rpm后,切换至滑模无感控制模式;进入滑模无感控制模式后,当永磁同步电机转速低于h2rpm后,切换至脉振高频注入无感控制模式;无感控制模式下永磁同步电机转速由观测器获取。2.4) After obtaining the position of the permanent magnet synchronous motor, the pulse high-frequency injection sensorless control mode is used to control the operation of the permanent magnet synchronous motor. After the speed of the permanent magnet synchronous motor is greater than h1rpm, the sliding mode observer is started. When the speed of the permanent magnet synchronous motor is greater than h3rpm, it is switched to the sliding mode sensorless control mode; after entering the sliding mode sensorless control mode, when the speed of the permanent magnet synchronous motor is lower than h2rpm, it is switched to the pulse high-frequency injection sensorless control mode; the speed of the permanent magnet synchronous motor in the sensorless control mode is obtained by the observer.

0<参数h1<参数h2<参数h3。0<parameter h1<parameter h2<parameter h3.

3)采用有感控制模式控制永磁同步电机运行,并进行永磁同步电机旋变故障检测,若不存在永磁同步电机旋变故障,则利用旋变解码位置计算电机位置,若存在永磁同步电机旋变故障,则进入步骤4);3) Using the sensor control mode to control the operation of the permanent magnet synchronous motor, and performing permanent magnet synchronous motor resolver fault detection, if there is no permanent magnet synchronous motor resolver fault, the motor position is calculated using the resolver decoding position, if there is a permanent magnet synchronous motor resolver fault, then go to step 4);

进行永磁同步电机旋变故障检测的方法包括:判断是否满足以下至少一个条件,若是,则永磁同步电机存在旋变故障,若以下条件均不满足,则永磁同步电机不存在旋变故障;The method for detecting a resolver fault of a permanent magnet synchronous motor comprises: determining whether at least one of the following conditions is met, if so, the permanent magnet synchronous motor has a resolver fault, and if none of the following conditions are met, the permanent magnet synchronous motor does not have a resolver fault;

条件一:控制器接收到旋变解码芯片发送的故障信息,且故障信息不为零;Condition 1: The controller receives the fault information sent by the resolver decoding chip, and the fault information is not zero;

条件二:旋变解码芯片的输出引脚LOT和DOS均为低电平;Condition 2: The output pins LOT and DOS of the resolver decoding chip are both at low level;

条件三:当前永磁同步电机与上一次位置之差的绝对值大于阈值dmax。Condition three: The absolute value of the difference between the current position of the permanent magnet synchronous motor and the previous position is greater than the threshold dmax.

4)判断永磁同步电机的故障为偶发故障还是持续故障,若是偶发故障,则进行故障复位,若是持续故障,则将无感控制模式切换为无感控制模式。4) Determine whether the fault of the permanent magnet synchronous motor is an occasional fault or a continuous fault. If it is an occasional fault, perform a fault reset. If it is a continuous fault, switch the sensorless control mode to the sensorless control mode.

判断永磁同步电机的故障为偶发故障还是持续故障的步骤包括:The steps for determining whether the fault of the permanent magnet synchronous motor is an occasional fault or a continuous fault include:

4.1)在检测到永磁同步电机存在旋变故障时,执行旋变解码芯片故障复位;4.1) When a resolver fault is detected in the permanent magnet synchronous motor, the resolver decoding chip fault reset is performed;

4.2)重新进行永磁同步电机旋变故障,并返回步骤1),直至完成一个检测周期,一个检测周期结束后,计算永磁同步电机旋变故障计数器数值p,若永磁同步电机旋变故障计数器p大于阈值pmax,则判断永磁同步电机的故障为持续故障,否则为偶发故障。4.2) Re-detect the permanent magnet synchronous motor resolver fault and return to step 1) until a detection cycle is completed. After a detection cycle, calculate the value p of the permanent magnet synchronous motor resolver fault counter. If the permanent magnet synchronous motor resolver fault counter p is greater than the threshold value pmax, the permanent magnet synchronous motor fault is judged to be a continuous fault, otherwise it is an occasional fault.

计算永磁同步电机旋变故障计数器数值p的方法包括:The method for calculating the value p of the permanent magnet synchronous motor resolver fault counter includes:

若检测结果为永磁同步电机存在旋变故障,则令p=p+1;If the detection result shows that the permanent magnet synchronous motor has a resolver fault, then p=p+1;

若检测结果为永磁同步电机不存在旋变故障且p>0,则令p=p-1。If the detection result shows that the permanent magnet synchronous motor does not have a resolver fault and p>0, then p=p-1.

当永磁同步电机的故障为偶发故障时,根据惯性推导出当前转子位置,并进行旋变解码芯片故障复位;When the permanent magnet synchronous motor fault is an occasional fault, the current rotor position is deduced based on inertia, and the resolver decoding chip fault reset is performed;

当前转子位置等于上一次位置数据加上位置增量滤波输出值Δθr(n)。The current rotor position is equal to the previous position data plus the position increment filter output value Δθ r (n).

其中,位置增量滤波输出值Δθr(n)如下所示:Among them, the position increment filter output value Δθ r (n) is as follows:

Δθr(n)=(1-a)*Δθr(n-1)+a*[θr(n)-θr(n-1)] (1)Δθ r (n)=(1-a)*Δθ r (n-1)+a*[θ r (n)-θ r (n-1)] (1)

式中,θr(n)为当前电流环周期采样的转子位置;θr(n-1)为上一次电流环周期采样的转子位置;a为低通滤波系数。Wherein, θ r (n) is the rotor position sampled in the current current loop cycle; θ r (n-1) is the rotor position sampled in the previous current loop cycle; and a is the low-pass filter coefficient.

将无感控制模式切换为无感控制模式的步骤包括:The steps to switch the sensorless control mode to the sensorless control mode include:

a)将速度指令斜率调整为h4rpm/s;参数h4小于参数h1。a) Adjust the speed command slope to h4rpm/s; parameter h4 is smaller than parameter h1.

b)检查当前转速是否小于等于h2rpm;当前转速大于h2rpm,进入滑模无感控制模式;当前转速≤h2rpm,进入高频注入无感控制模式。b) Check whether the current speed is less than or equal to h2rpm; if the current speed is greater than h2rpm, enter the sliding mode sensorless control mode; if the current speed is ≤h2rpm, enter the high-frequency injection sensorless control mode.

本发明的技术效果是毋庸置疑的,本发明在电机运行前与运行中实时监测旋变解码芯片故障状态,并在发生故障时,判断是启动故障(初始故障)、偶发故障还是持续故障,并进入相应的运行模式,保证在旋变故障时电机能继续运行。The technical effect of the present invention is unquestionable. The present invention monitors the fault status of the resolver decoding chip in real time before and during the operation of the motor, and when a fault occurs, determines whether it is a startup fault (initial fault), an occasional fault or a continuous fault, and enters the corresponding operation mode to ensure that the motor can continue to run when the resolver fails.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明方法流程示意图;Fig. 1 is a schematic flow chart of the method of the present invention;

图2为本发明中启动前旋变故障检测流程图;Fig. 2 is a flowchart of the rotary transformer fault detection before starting in the present invention;

图3为本发明中无感控制流程图;FIG3 is a flow chart of the non-sensing control in the present invention;

图4为本发明中故障模式判断流程图;FIG4 is a flow chart of fault mode determination in the present invention;

图5为本发明中有感控制切换至无感控制流程图;FIG5 is a flow chart of switching from sensory control to non-sensing control in the present invention;

图6为高频纹波电流分量计算流程图;FIG6 is a flow chart of high frequency ripple current component calculation;

图7为转子位置计算流程图;FIG7 is a flow chart of rotor position calculation;

图8为对永磁同步电机转子位置进行修正的流程图。FIG8 is a flow chart of correcting the rotor position of a permanent magnet synchronous motor.

具体实施方式DETAILED DESCRIPTION

下面结合实施例对本发明作进一步说明,但不应该理解为本发明上述主题范围仅限于下述实施例。在不脱离本发明上述技术思想的情况下,根据本领域普通技术知识和惯用手段,做出各种替换和变更,均应包括在本发明的保护范围内。The present invention is further described below in conjunction with the embodiments, but it should not be understood that the above subject matter of the present invention is limited to the following embodiments. Without departing from the above technical ideas of the present invention, various substitutions and changes are made according to the common technical knowledge and customary means in the art, which should all be included in the protection scope of the present invention.

实施例1:Embodiment 1:

参见图1至图8,一种永磁同步电机旋变故障检测和控制方法,包括以下步骤:Referring to FIG. 1 to FIG. 8 , a method for detecting and controlling a permanent magnet synchronous motor resolver fault comprises the following steps:

1)在启动永磁同步电机前,利用控制器对旋变解码芯片进行故障检测,判断旋变解码芯片是否存在初始故障;1) Before starting the permanent magnet synchronous motor, use the controller to perform fault detection on the resolver decoding chip to determine whether the resolver decoding chip has an initial fault;

对旋变解码芯片进行故障检测的步骤包括:The steps for fault detection of the resolver decoding chip include:

1.1)初始化故障计数器k=0;1.1) Initialize the fault counter k=0;

1.2)控制器判断旋变解码芯片是否上传故障信息,若是,则进入步骤1.4),否则进入步骤1.3);1.2) The controller determines whether the resolver decoding chip uploads fault information. If so, it proceeds to step 1.4), otherwise it proceeds to step 1.3);

1.3)判断旋变解码芯片的输出引脚LOT和DOS是否均为低电平,若是,则进入步骤1.4),否则进入步骤1.5);1.3) Determine whether the output pins LOT and DOS of the resolver decoding chip are both at low level. If so, proceed to step 1.4), otherwise proceed to step 1.5);

1.4)复位旋变解码芯片,并令故障计数器k=k+1,并进入步骤1.6);1.4) Reset the resolver decoding chip, set the fault counter k=k+1, and proceed to step 1.6);

1.5)判断当前故障计数器k是否大于0,若是,则令故障计数器k=k-1,并进入步骤1.6);1.5) Determine whether the current fault counter k is greater than 0. If so, set the fault counter k=k-1 and proceed to step 1.6);

1.6)判断当前故障计数器k大于阈值kmax是否成立,若是,则判断旋变解码芯片存在初始故障,否则,进入步骤7);1.6) Determine whether the current fault counter k is greater than the threshold kmax. If so, determine that the resolver decoding chip has an initial fault. Otherwise, proceed to step 7);

1.7)判断控制器是否接收到永磁同步电机启动信号,若是,则判断旋变解码芯片不存在初始故障,否则,返回步骤2)。1.7) Determine whether the controller receives the permanent magnet synchronous motor start signal. If so, determine that the resolver decoding chip does not have an initial fault. Otherwise, return to step 2).

2)在控制器接收到永磁同步电机启动信号时,若存在旋变解码芯片初始故障,则采用无感控制模式控制永磁同步电机运行,否则,进入步骤3);2) When the controller receives the permanent magnet synchronous motor start signal, if there is an initial fault in the resolver decoding chip, the permanent magnet synchronous motor is controlled to run in a sensorless control mode, otherwise, proceed to step 3);

所述无感控制模式包括脉振高频注入无感控制模式和滑模无感控制模式。The sensorless control mode includes a pulse high frequency injection sensorless control mode and a sliding mode sensorless control mode.

采用无感控制模式控制永磁同步电机运行的步骤包括:The steps of controlling the operation of a permanent magnet synchronous motor using a sensorless control mode include:

2.1)参见图6,在永磁同步电机估算同步旋转坐标系下的d轴上注入高频脉振电压,根据估算同步旋转坐标系下的q轴采样电流计算得到高频纹波电流分量 2.1) Referring to FIG6 , a high-frequency pulse voltage is injected into the d-axis of the permanent magnet synchronous motor in the estimated synchronous rotating coordinate system, and the q-axis sampling current in the estimated synchronous rotating coordinate system is calculated. Calculate the high-frequency ripple current component

2.2)参见图7,根据永磁同步电机估算同步旋转坐标系下的Q轴高频电流通过PI计算转速转速积分计算转子位置当Q轴高频电流等于零时,估算的转子位置与实际的转子位置重合。2.2) Referring to FIG7, the Q-axis high-frequency current in the synchronous rotating coordinate system is estimated based on the permanent magnet synchronous motor. Calculate the speed through PI Speed Integral calculation of rotor position When the Q-axis high-frequency current is equal to zero, the estimated rotor position coincides with the actual rotor position.

2.3)判断永磁同步电机极性,并对永磁同步电机转子位置进行修正,修正方法如图8所示,步骤包括:2.3) Determine the polarity of the permanent magnet synchronous motor and correct the rotor position of the permanent magnet synchronous motor. The correction method is shown in FIG8 , and the steps include:

2.3.1)在t0时刻向D轴注入正向高频电压,持续Δt时间至t1时刻,在t1时刻采集峰值电流Imax1;2.3.1) At time t0, a positive high-frequency voltage is injected into the D axis for a period of Δt until time t1, and the peak current Imax1 is collected at time t1;

2.3.2)停止电压注入,直至t2时刻开始向D轴注入负向高频电压,持续Δt时间至t3时刻,在t3时刻采集峰值电流Imax2;2.3.2) Stop voltage injection until time t2, then start injecting negative high-frequency voltage into the D axis for a period of Δt until time t3, and collect the peak current Imax2 at time t3;

2.3.3)判断峰值电流Imax1大于峰值电流Imax2是否成立,若是,则磁极极性正确,不进行磁极位置修正,否则,磁极位置加上180°;2.3.3) Determine whether the peak current Imax1 is greater than the peak current Imax2. If so, the magnetic polarity is correct and no magnetic pole position correction is performed. Otherwise, the magnetic pole position is increased by 180°.

2.4)在获得采用永磁同步电机位置后,采用脉振高频注入无感控制模式控制永磁同步电机运行,在永磁同步电机转速大于500rpm后,启动滑模观测器,当永磁同步电机转速大于800rpm后,切换至滑模无感控制模式;进入滑模无感控制模式后,当永磁同步电机转速低于600rpm后,切换至脉振高频注入无感控制模式;无感控制模式下永磁同步电机转速由观测器获取。2.4) After obtaining the position of the permanent magnet synchronous motor, the pulse high-frequency injection sensorless control mode is used to control the operation of the permanent magnet synchronous motor. After the speed of the permanent magnet synchronous motor is greater than 500rpm, the sliding mode observer is started. When the speed of the permanent magnet synchronous motor is greater than 800rpm, it is switched to the sliding mode sensorless control mode; after entering the sliding mode sensorless control mode, when the speed of the permanent magnet synchronous motor is lower than 600rpm, it is switched to the pulse high-frequency injection sensorless control mode; the speed of the permanent magnet synchronous motor in the sensorless control mode is obtained by the observer.

3)采用有感控制模式控制永磁同步电机运行,并进行永磁同步电机旋变故障检测,若不存在永磁同步电机旋变故障,则利用旋变解码位置计算电机位置,若存在永磁同步电机旋变故障,则进入步骤4);3) Using the sensor control mode to control the operation of the permanent magnet synchronous motor, and performing permanent magnet synchronous motor resolver fault detection, if there is no permanent magnet synchronous motor resolver fault, the motor position is calculated using the resolver decoding position, if there is a permanent magnet synchronous motor resolver fault, then go to step 4);

进行永磁同步电机旋变故障检测的方法包括:判断是否满足以下至少一个条件,若是,则永磁同步电机存在旋变故障,若以下条件均不满足,则永磁同步电机不存在旋变故障;The method for detecting a resolver fault of a permanent magnet synchronous motor comprises: determining whether at least one of the following conditions is met, if so, the permanent magnet synchronous motor has a resolver fault, and if none of the following conditions are met, the permanent magnet synchronous motor does not have a resolver fault;

条件一:控制器接收到旋变解码芯片发送的故障信息,且故障信息不为零;Condition 1: The controller receives the fault information sent by the resolver decoding chip, and the fault information is not zero;

条件二:旋变解码芯片的输出引脚LOT和DOS均为低电平;Condition 2: The output pins LOT and DOS of the resolver decoding chip are both at low level;

条件三:当前永磁同步电机与上一次位置之差的绝对值大于阈值dmax。Condition three: The absolute value of the difference between the current position of the permanent magnet synchronous motor and the previous position is greater than the threshold dmax.

4)判断永磁同步电机的故障为偶发故障还是持续故障,若是偶发故障,则进行故障复位,若是持续故障,则将无感控制模式切换为无感控制模式。4) Determine whether the fault of the permanent magnet synchronous motor is an occasional fault or a continuous fault. If it is an occasional fault, perform a fault reset. If it is a continuous fault, switch the sensorless control mode to the sensorless control mode.

判断永磁同步电机的故障为偶发故障还是持续故障的步骤包括:The steps for determining whether the fault of the permanent magnet synchronous motor is an occasional fault or a continuous fault include:

4.1)在检测到永磁同步电机存在旋变故障时,执行旋变解码芯片故障复位;4.1) When a resolver fault is detected in the permanent magnet synchronous motor, the resolver decoding chip fault reset is performed;

4.2)重新进行永磁同步电机旋变故障,并返回步骤1),直至完成一个检测周期,一个检测周期结束后,计算永磁同步电机旋变故障计数器数值p,若永磁同步电机旋变故障计数器p大于阈值pmax,则判断永磁同步电机的故障为持续故障,否则为偶发故障。4.2) Re-detect the permanent magnet synchronous motor resolver fault and return to step 1) until a detection cycle is completed. After a detection cycle, calculate the value p of the permanent magnet synchronous motor resolver fault counter. If the permanent magnet synchronous motor resolver fault counter p is greater than the threshold value pmax, the permanent magnet synchronous motor fault is judged to be a continuous fault, otherwise it is an occasional fault.

计算永磁同步电机旋变故障计数器数值p的方法包括:The method for calculating the value p of the permanent magnet synchronous motor resolver fault counter includes:

若检测结果为永磁同步电机存在旋变故障,则令p=p+1;If the detection result shows that the permanent magnet synchronous motor has a resolver fault, then p=p+1;

若检测结果为永磁同步电机不存在旋变故障且p>0,则令p=p-1。If the detection result shows that the permanent magnet synchronous motor does not have a resolver fault and p>0, then p=p-1.

当永磁同步电机的故障为偶发故障时,根据惯性推导出当前转子位置,并进行旋变解码芯片故障复位;When the permanent magnet synchronous motor fault is an occasional fault, the current rotor position is deduced based on inertia, and the resolver decoding chip fault reset is performed;

当前转子位置等于上一次位置数据加上位置增量滤波输出值。The current rotor position is equal to the previous position data plus the position increment filter output value.

位置增量滤波输出值Δθr(n)计算方式:旋变位置无故障时,当前电流环周期采样的转子位置θr(n)与上一次电流环周期采样的转子位置θr(n-1)之差低通滤波后的输出值。具体公式如下,其中a为低通滤波系数。The calculation method of the position increment filter output value Δθ r (n) is as follows: when there is no fault in the resolver position, the output value of the difference between the rotor position θ r (n) sampled in the current loop cycle and the rotor position θ r (n-1) sampled in the previous current loop cycle after low-pass filtering. The specific formula is as follows, where a is the low-pass filter coefficient.

Δθr(n)=(1-a)*Δθr(n-1)+a*[θr(n)-θr(n-1)]Δθ r (n)=(1-a)*Δθ r (n-1)+a*[θ r (n)-θ r (n-1)]

将无感控制模式切换为无感控制模式的步骤包括:The steps to switch the sensorless control mode to the sensorless control mode include:

a)将速度指令斜率调整为300rpm/s。a) Adjust the speed command slope to 300 rpm/s.

b)检查当前转速是否小于等于600rpm;当前转速大于600rpm,进入滑模无感控制模式;当前转速≤600rpm,进入高频注入无感控制模式。b) Check whether the current speed is less than or equal to 600rpm; if the current speed is greater than 600rpm, enter the sliding mode sensorless control mode; if the current speed is ≤600rpm, enter the high-frequency injection sensorless control mode.

实施例2:Embodiment 2:

参见图1至图5,一种永磁同步电机旋变故障检测和控制方法,包括以下步骤:Referring to FIG. 1 to FIG. 5 , a method for detecting and controlling a permanent magnet synchronous motor resolver fault comprises the following steps:

S1、启动前执行旋变解码芯片初始故障检测;S1. Perform initial fault detection of resolver decoding chip before startup;

S2、检测是否存在旋变解码芯片初始故障;S2. Detect whether there is an initial fault in the resolver decoding chip;

S3、接收到启动信息后,如果存在旋变解码芯片初始故障,进入无感控制模式S3. After receiving the startup information, if there is an initial failure of the resolver decoding chip, enter the non-sensing control mode

S4、接收到启动信息后,如果不存在旋变解码芯片初始故障,进入有感控制模式;S4. After receiving the startup information, if there is no initial failure of the resolver decoding chip, enter the sensor control mode;

S5、在有感控制模式下,进行旋变故障检测;S5. In the sensor control mode, perform resolver fault detection;

S6、旋变无故障时,采用旋变解码的位置计算电机位置;S6, when there is no fault in the resolver, the position of the motor is calculated using the position decoded by the resolver;

S7、旋变有故障时,判断是偶发故障还是持续故障;S7. When the resolver fails, determine whether it is an occasional failure or a continuous failure;

S8、如果是偶发故障,采用根据惯性推导的转子位置,并进行故障复位;在连续5次接收到无故障信息后,采用旋变解算输出位置作为电机转子位置;S8. If it is an occasional fault, use the rotor position derived from inertia and perform fault reset; after receiving fault-free information for 5 consecutive times, use the resolver to calculate the output position as the motor rotor position;

S9、如果是持续故障,直接切换至无感控制模式。S9: If the fault persists, switch directly to the sensorless control mode.

所述S2中,初始故障的检测检测采用读取故障信息、复位,在100ms内持续接收到故障信息、LOT和DOS任一信号为低,判断为旋变初始故障。In S2, the detection of the initial fault adopts reading fault information and resetting. If the fault information is continuously received within 100ms and any one of the LOT and DOS signals is low, it is judged as an initial fault of the resolver.

所述S3中,首先在D轴上注入幅值为20%母线电压的脉振方波,根据Q轴高频电流计算电机位置,然后进行电机极性判断。极性判断并进行位置修正后,进入高频方波注入无感控制模式;当转速大于500rpm时,启动滑模观测器;在转速高于800rpm后,切换至滑模无感控制模式;进入滑模无感控制模式后,转速低于600rpm后,切换至脉振高频注入无感控制模式。In S3, a pulse square wave with an amplitude of 20% of the bus voltage is first injected into the D axis, the motor position is calculated according to the high-frequency current of the Q axis, and then the motor polarity is judged. After the polarity is judged and the position is corrected, the high-frequency square wave injection senseless control mode is entered; when the speed is greater than 500rpm, the sliding mode observer is started; after the speed is higher than 800rpm, it is switched to the sliding mode senseless control mode; after entering the sliding mode senseless control mode, when the speed is lower than 600rpm, it is switched to the pulse high-frequency injection senseless control mode.

所述S4中,在转速大于500rpm时启动滑模观测器。In S4, the sliding mode observer is started when the rotation speed is greater than 500 rpm.

所述S5中,如果读取的故障信息不为零、LOT和DOS任一信号为低、本次读取的位置信息与上一次位置之差的绝对值大于5000,则判断本电流环周期内旋变解码存在故障。In S5, if the fault information read is not zero, any of the LOT and DOS signals is low, and the absolute value of the difference between the position information read this time and the last position is greater than 5000, it is determined that there is a fault in the resolver decoding within the current loop cycle.

所述S7中,检测到旋变故障时,在主循环中执行故障复位,如果持续10ms检测到旋变故障,则判断存在长期故障,反之判断为偶发故障。In S7, when a resolver fault is detected, a fault reset is performed in the main loop. If the resolver fault is detected for 10 ms continuously, it is determined that there is a long-term fault, otherwise it is determined to be an occasional fault.

所述S8中,对每次位置增量进行一阶低通滤波,滤波系数设置为0.125;如果检测到故障,本次位置数据等于上一次位置数据加上位置增量滤波输出值。In S8, a first-order low-pass filter is performed on each position increment, and the filter coefficient is set to 0.125; if a fault is detected, the current position data is equal to the previous position data plus the position increment filter output value.

所述S9中,首先将速度指令斜率降低为300rpm/s,如果当前转速小于600rpm,则切换为脉振高频注入无感控制模式;反之则切换为滑模无感控制模式。进入滑模无感控制模式后,转速低于600rpm后,切换至脉振高频注入无感控制模式。In S9, the speed command slope is first reduced to 300rpm/s. If the current speed is less than 600rpm, the control mode is switched to the pulse high-frequency injection senseless control mode; otherwise, the control mode is switched to the sliding mode senseless control mode. After entering the sliding mode senseless control mode, when the speed is lower than 600rpm, the control mode is switched to the pulse high-frequency injection senseless control mode.

实施例3:Embodiment 3:

参见图1至图5,一种永磁同步电机旋变故障检测和控制方法,包括以下步骤:Referring to FIG. 1 to FIG. 5 , a method for detecting and controlling a permanent magnet synchronous motor resolver fault comprises the following steps:

S1、电机控制器初始化;S1, motor controller initialization;

S2、检测是否存在旋变解码芯片初始故障;S2. Detect whether there is an initial fault in the resolver decoding chip;

S3、接收到启动信息后,如果存在旋变解码芯片初始故障,进入无感控制模式S3. After receiving the startup information, if there is an initial failure of the resolver decoding chip, enter the non-sensing control mode

S4、接收到启动信息后,如果不存在旋变解码芯片初始故障,进入有感控制模式;S4. After receiving the startup information, if there is no initial failure of the resolver decoding chip, enter the sensor control mode;

S5、在有感控制模式下,进行旋变故障检测;S5. In the sensor control mode, perform resolver fault detection;

S6、旋变无故障时,采用旋变解码的位置计算电机位置;S6, when there is no fault in the resolver, the position of the motor is calculated using the position decoded by the resolver;

S7、旋变有故障时,判断是偶发故障还是长期故障;S7. When the resolver fails, determine whether it is an occasional failure or a long-term failure;

S8、如果是偶发故障,采用根据惯性推导的转子位置,并进行故障复位;在连续5次接收到无故障信息后,采用旋变解算输出位置作为电机转子位置;S8. If it is an occasional fault, use the rotor position derived from inertia and perform fault reset; after receiving fault-free information for 5 consecutive times, use the resolver to calculate the output position as the motor rotor position;

S9、如果是持续故障,切换至无感控制模式。S9: If the fault persists, switch to the sensorless control mode.

实施例4:Embodiment 4:

参见图2,一种永磁同步电机旋变故障检测和控制方法,主要步骤见实施例3,其中,启动前旋变故障检测流程如下:Referring to FIG. 2 , a method for detecting and controlling a permanent magnet synchronous motor resolver fault is shown in Example 3. The main steps are as follows:

a1、1ms执行一次旋变信息读取,检查读取的旋变解码芯片故障信息是否不为零;a1. Read the resolver information once every 1ms to check whether the resolver decoding chip fault information read is not zero;

a2、读取旋变解码芯片的输出引脚LOT和DOS是否为低电平;a2. Read the output pins LOT and DOS of the resolver decoding chip to see if they are at a low level;

a3、在a1或a2满足时,判断本周期内发生了旋变故障,读取旋变解码芯片的故障寄存器,执行旋变解码芯片的故障复位;a3. When a1 or a2 is satisfied, it is determined that a resolver fault has occurred in this cycle, the fault register of the resolver decoding chip is read, and the resolver decoding chip fault reset is performed;

a4、在a1或a2满足时,对故障计数器加1;a4. When a1 or a2 is satisfied, add 1 to the fault counter;

a5、在a1或a2均不满足时,在故障计数器大于0时,将该计数器减1;a5. When a1 or a2 is not satisfied, and the fault counter is greater than 0, the counter is reduced by 1;

a6、判断故障计数器是否大于100;a6. Determine whether the fault counter is greater than 100;

a7、故障计数器大于100,判断检测到旋变启动故障;a7. If the fault counter is greater than 100, it is determined that a resolver startup fault has been detected;

a8、接收到启动信号时,故障计数器小于100;a8. When the start signal is received, the fault counter is less than 100;

a9、退出旋变启动故障检测。a9. Exit the resolver startup fault detection.

实施例5:Embodiment 5:

参见图3,一种永磁同步电机旋变故障检测和控制方法,主要步骤见实施例3,其中,无感控制流程如下:Referring to FIG3 , a method for detecting and controlling a permanent magnet synchronous motor resolver fault is shown in Example 3. The main steps are as follows:

b1、在假设的D轴上注入脉振电压,通过Q轴高频响应电流进行初始位置检测;b1. Inject a pulse voltage into the assumed D-axis and perform initial position detection through the high-frequency response current of the Q-axis;

b2、进行磁极辨识,通过在D轴上注入正负脉振电压,检测D轴电流响应判断磁极极性,辨识完成后进行磁极修正;b2. Perform magnetic pole identification by injecting positive and negative pulse voltages on the D axis and detecting the D axis current response to determine the magnetic pole polarity. After the identification is completed, perform magnetic pole correction.

b3、进入脉振高频注入无感控制模式;b3. Enter the pulse high frequency injection non-sensing control mode;

b4、转速大于500rpm时启动滑模观测器;b4. Start the sliding mode observer when the speed is greater than 500 rpm;

b5、转速大于800rpm进入滑模无感控制模式;b5. When the speed is greater than 800rpm, it enters the sliding mode sensorless control mode;

b6、进入滑模无感控制模式后,转速小于600rpm进入脉振高频注入无感控制模式,b6. After entering the sliding mode sensorless control mode, the speed is less than 600rpm and enters the pulse high frequency injection sensorless control mode.

实施例6:Embodiment 6:

参见图4,一种永磁同步电机旋变故障检测和控制方法,主要步骤见实施例3,其中,故障模式判断流程如下:Referring to FIG4 , a method for detecting and controlling a permanent magnet synchronous motor resolver fault is shown in Example 3. The main steps are as follows:

c1、电机启动运行后,每200us执行一次旋变信息读取,检查读取的旋变解码芯片故障信息是否不为零;c1. After the motor starts running, read the resolver information once every 200us to check whether the resolver decoding chip fault information read is not zero;

c2、读取旋变解码芯片的输出引脚LOT和DOS是否为低电平;c2. Read whether the output pins LOT and DOS of the resolver decoding chip are at low level;

c3、在c1或c2满足时,判断本周期内发生了旋变故障,读取旋变解码芯片的故障寄存器,执行旋变解码芯片的故障复位;c3. When c1 or c2 is satisfied, it is determined that a resolver fault has occurred in this cycle, the fault register of the resolver decoding chip is read, and the resolver decoding chip fault reset is performed;

c4、在a1或a2满足时,对故障计数器加1;c4. When a1 or a2 is satisfied, add 1 to the fault counter;

c5、在a1或a2均不满足时,在故障计数器大于0时,将该计数器减1;c5. When neither a1 nor a2 is satisfied and the fault counter is greater than 0, the counter is reduced by 1;

c6、判断故障计数器是否不等于0;c6. Determine whether the fault counter is not equal to 0;

c7、判断故障计数器是否大于等于50;c7. Determine whether the fault counter is greater than or equal to 50;

c8、故障计数器等于0,判断旋变无故障;c8, the fault counter is equal to 0, and it is determined that the resolver has no fault;

c9、故障计数器大于0小于50,判断旋变发生偶发故障;c9. The fault counter is greater than 0 and less than 50, indicating that the resolver has an occasional fault;

c10、故障计数器大于等于50,判断旋变发生持续故障。c10. If the fault counter is greater than or equal to 50, it is determined that the resolver has a continuous fault.

实施例7:Embodiment 7:

参见图5,一种永磁同步电机旋变故障检测和控制方法,主要步骤见实施例3,其中,有感向无感切换流程如下:Referring to FIG5 , a method for detecting and controlling a permanent magnet synchronous motor resolver fault is shown in Example 3. The main steps are shown in Example 3, wherein the process of switching from inductive to non-inductive is as follows:

d1、当速度指令斜率调整为300rpm/s;d1. When the speed command slope is adjusted to 300rpm/s;

d2、检查当前转速是否小于等于600rpm;d2. Check whether the current speed is less than or equal to 600rpm;

d3、当前转速大于600rpm,进入滑模无感控制模式;d3. The current speed is greater than 600rpm, and the sliding mode sensorless control mode is entered;

d4、当前转速≤600rpm,进入高频注入无感控制模式。d4. When the current speed is ≤600rpm, the system enters high-frequency injection sensorless control mode.

Claims (9)

1. The method for detecting and controlling the rotational failure of the permanent magnet synchronous motor is characterized by comprising the following steps of:
1) Before starting the permanent magnet synchronous motor, detecting faults of the rotary decoding chip by using a controller, and judging whether the rotary decoding chip has initial faults or not;
2) When the controller receives a permanent magnet synchronous motor starting signal, if the initial fault of the rotary-transformer decoding chip exists, the operation of the permanent magnet synchronous motor is controlled by adopting a non-inductive control mode, otherwise, the step 3 is entered;
3) Controlling the permanent magnet synchronous motor to run by adopting a inductive control mode, detecting the rotation failure of the permanent magnet synchronous motor, calculating the motor position by utilizing the rotation decoding position if the rotation failure of the permanent magnet synchronous motor does not exist, and entering the step 4 if the rotation failure of the permanent magnet synchronous motor exists;
4) Judging whether the fault of the permanent magnet synchronous motor is an accidental fault or a continuous fault, if the fault is the accidental fault, resetting the fault, and if the fault is the continuous fault, switching the inductive control mode into the noninductive control mode;
When the fault of the permanent magnet synchronous motor is an accidental fault, deducing the current rotor position according to inertia, and resetting the fault of the rotary-transformer decoding chip;
The current rotor position is equal to the last position data plus a position delta filter output value Δθ r (n);
Wherein the position delta filter output value Δθ r (n) is as follows:
Δθr(n)=(1-a)*Δθr(n-1)+a*[θr(n)-θr(n-1)](1)
Wherein, theta r (n) is the rotor position of the current loop period sampling; θ r (n-1) is the rotor position of the last current loop cycle sample; a is a low pass filter coefficient.
2. The method for detecting and controlling the rotational failure of a permanent magnet synchronous motor according to claim 1, wherein the step of detecting the failure of the rotational decoding chip comprises:
1) Initializing a fault counter k=0;
2) The controller judges whether the rotary decoding chip uploads fault information or not, if yes, the step 4) is entered, and if not, the step 3) is entered;
3) Judging whether output pins LOT and DOS of the rotary-transformer decoding chip are low level or not, if yes, entering the step 4), otherwise, entering the step 5);
4) Resetting the rotary decoding chip, enabling the fault counter k=k+1, and entering the step 6);
5) Judging whether the current fault counter k is larger than 0, if so, enabling the fault counter k=k-1, and entering a step 6);
6) Judging whether the current fault counter k is larger than a threshold kmax or not, if yes, judging that an initial fault exists in the rotary decoding chip, otherwise, entering a step 7);
7) Judging whether the controller receives a permanent magnet synchronous motor starting signal, if yes, judging that the rotary-transformer decoding chip has no initial fault, otherwise, returning to the step 2).
3. The method for detecting and controlling the rotational failure of the permanent magnet synchronous motor according to claim 1, wherein the non-inductive control mode includes a pulse vibration high frequency injection non-inductive control mode and a sliding mode non-inductive control mode.
4. The method for detecting and controlling the rotational failure of a permanent magnet synchronous motor according to claim 1, wherein the step of controlling the operation of the permanent magnet synchronous motor in the sensorless control mode comprises:
1) Injecting high-frequency pulse vibration voltage on d axis of permanent magnet synchronous motor under the estimated synchronous rotation coordinate system, sampling current according to q axis under the estimated synchronous rotation coordinate system Calculating to obtain high-frequency ripple current component
2) Estimating Q-axis high-frequency current under synchronous rotation coordinate system according to permanent magnet synchronous motorCalculation of the rotational speed by PIRotational speedIntegral calculation of rotor positionWhen the Q-axis high frequency current is equal to zero, the estimated rotor position coincides with the actual rotor position;
3) Judging the polarity of the permanent magnet synchronous motor, and correcting the rotor position of the permanent magnet synchronous motor, wherein the correcting step comprises the following steps:
3.1 Injecting a forward high-frequency voltage into the D shaft at the time t0, lasting delta t time to the time t1, and collecting a peak current Imax1 at the time t 1;
3.2 Stopping voltage injection until the negative high-frequency voltage starts to be injected into the D axis at the time t2, continuing the delta t time to the time t3, and collecting the peak current Imax2 at the time t 3;
3.3 Judging whether the peak current Imax1 is larger than the peak current Imax2, if yes, the magnetic pole polarity is correct, and the magnetic pole position correction is not performed, otherwise, the rotor position is added with 180 DEG electrical angle;
4) After the position of the permanent magnet synchronous motor is obtained, a pulse vibration high-frequency injection noninductive control mode is adopted to control the permanent magnet synchronous motor to run, after the rotating speed of the permanent magnet synchronous motor is greater than h1rpm, a sliding mode observer is started, and when the rotating speed of the permanent magnet synchronous motor is greater than h3rpm, the sliding mode noninductive control mode is switched to; after entering a slip form noninductive control mode, switching to a pulse vibration high-frequency injection noninductive control mode when the rotating speed of the permanent magnet synchronous motor is lower than h2 rpm; the rotating speed of the permanent magnet synchronous motor in the noninductive control mode is obtained by an observer.
5. The method for detecting and controlling the rotational failure of a permanent magnet synchronous motor according to claim 4, wherein 0< parameter h1 < parameter h2 < parameter h3.
6. The method for detecting and controlling the rotational failure of the permanent magnet synchronous motor according to claim 1, wherein the method for detecting the rotational failure of the permanent magnet synchronous motor comprises the steps of: judging whether at least one of the following conditions is met, if yes, the permanent magnet synchronous motor has a rotation failure, and if none of the following conditions is met, the permanent magnet synchronous motor has no rotation failure;
Condition one: the controller receives fault information sent by the rotary-transformer decoding chip, and the fault information is not zero;
Condition II: output pins LOT and DOS of the rotary-transformer decoding chip are both low level;
and (3) a third condition: the absolute value of the difference between the current permanent magnet synchronous motor and the last position is greater than a threshold dmax.
7. The method for detecting and controlling a rotational failure of a permanent magnet synchronous motor according to claim 1, wherein the step of judging whether the failure of the permanent magnet synchronous motor is an occasional failure or a continuous failure comprises:
1) When detecting that the permanent magnet synchronous motor has a rotation failure, executing the rotation decoding chip failure reset;
2) And (3) re-detecting the permanent magnet synchronous motor rotation failure, returning to the step (1) until one detection period is completed, calculating the value p of the permanent magnet synchronous motor rotation failure counter after one detection period is completed, and judging that the failure of the permanent magnet synchronous motor is continuous failure if the permanent magnet synchronous motor rotation failure counter p is larger than a threshold value pmax, otherwise, judging that the failure is accidental failure.
8. The method for detecting and controlling the rotational failure of the permanent magnet synchronous motor according to claim 1, wherein the method for calculating the value p of the rotational failure counter of the permanent magnet synchronous motor comprises the steps of:
if the detection result is that the permanent magnet synchronous motor has a rotation failure, p=p+1;
if the detection result is that the permanent magnet synchronous motor has no rotation failure and p is more than 0, let p=p-1.
9. The method for detecting and controlling the rotational failure of the permanent magnet synchronous motor according to claim 1, wherein the method comprises the following steps: the step of switching the inductive control mode to the non-inductive control mode includes:
1) Adjusting the slope of the speed command to h4rpm/s; parameter h4 is less than parameter h1;
2) Checking whether the current rotation speed is less than or equal to h2rpm; the current rotating speed is greater than h2rpm, and entering a slip form non-inductive control mode; the current rotating speed is less than or equal to h2rpm, and a high-frequency injection noninductive control mode is entered.
CN202210589655.1A 2022-05-26 2022-05-26 A permanent magnet synchronous motor resolver fault detection and control method Active CN114865989B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210589655.1A CN114865989B (en) 2022-05-26 2022-05-26 A permanent magnet synchronous motor resolver fault detection and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210589655.1A CN114865989B (en) 2022-05-26 2022-05-26 A permanent magnet synchronous motor resolver fault detection and control method

Publications (2)

Publication Number Publication Date
CN114865989A CN114865989A (en) 2022-08-05
CN114865989B true CN114865989B (en) 2024-11-05

Family

ID=82640336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210589655.1A Active CN114865989B (en) 2022-05-26 2022-05-26 A permanent magnet synchronous motor resolver fault detection and control method

Country Status (1)

Country Link
CN (1) CN114865989B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532451A (en) * 2013-10-31 2014-01-22 重庆长安汽车股份有限公司 Fault diagnosis method for position signal of rotary transformer
CN106464185A (en) * 2014-04-29 2017-02-22 三菱电机株式会社 Ac rotating machine control device and electric power steering device equipped with same
CN109560735A (en) * 2018-12-03 2019-04-02 中冶南方(武汉)自动化有限公司 Rotation failure limping control method for main driving permanent magnet synchronous motor for vehicle
CN111130407A (en) * 2019-12-31 2020-05-08 苏州绿控传动科技股份有限公司 Position-sensorless control method for full-speed-domain loaded running of permanent magnet synchronous motor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109698654B (en) * 2017-10-20 2021-01-22 上海汽车集团股份有限公司 Method and device for controlling automatic clutch actuating motor
CN108566133B (en) * 2018-03-30 2020-04-10 北京控制工程研究所 Angle measurement fault diagnosis and control method of permanent magnet synchronous motor control system
CN109286345B (en) * 2018-08-22 2020-06-12 广州小鹏汽车科技有限公司 Electric automobile, and diagnosis method and device for rotary transformation initial position
CN112332718A (en) * 2020-11-27 2021-02-05 南京信息工程大学 Full-speed-domain sensorless composite control system and control method for permanent magnet synchronous motor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532451A (en) * 2013-10-31 2014-01-22 重庆长安汽车股份有限公司 Fault diagnosis method for position signal of rotary transformer
CN106464185A (en) * 2014-04-29 2017-02-22 三菱电机株式会社 Ac rotating machine control device and electric power steering device equipped with same
CN109560735A (en) * 2018-12-03 2019-04-02 中冶南方(武汉)自动化有限公司 Rotation failure limping control method for main driving permanent magnet synchronous motor for vehicle
CN111130407A (en) * 2019-12-31 2020-05-08 苏州绿控传动科技股份有限公司 Position-sensorless control method for full-speed-domain loaded running of permanent magnet synchronous motor

Also Published As

Publication number Publication date
CN114865989A (en) 2022-08-05

Similar Documents

Publication Publication Date Title
CN102667645B (en) For the rotor detection of losing without sensor/finding of magneto
CN101127502B (en) Brushless motor driving device, brushless motor starting method, and method of detecting rotor stop position of brushless motor
US8558495B2 (en) Sensorless BLDC motor control by comparing instantaneous and average BEMF voltages
JP2016021850A (en) Method for detecting motor stall and electronic circuit
CN113364368A (en) Motor starting method and readable storage medium
CN102647132A (en) Method and apparatus for estimating rotor angle and speed at start-up of a synchronous reluctance motor
CN107820671A (en) Control device of electric power steering device and electric power steering device
WO2021068241A1 (en) Brushless direct current motor hall sensor fault-tolerant control device and control method therefor
CN111289894B (en) Locked rotor detection method, system and device of motor and storage medium
CN109856537B (en) Locked rotor detection method and system for BLDC control circuit of single comparator
CA2727125C (en) Control of brushless motor
CN112424571A (en) Method for checking the setting of an angular position sensor of a rotor of a vehicle
CN111884547B (en) Method for detecting position of rotor of brushless direct current motor
EP3886311A1 (en) Determination method and apparatus for bldc counter-electromotive force zero crossing point threshold, and storage medium
CN114865989B (en) A permanent magnet synchronous motor resolver fault detection and control method
CN104579085B (en) The detection method and detection means of motor rotor position
TWI683531B (en) Single-phase DC brushless motor is only used to start the driving method of the sensor
JP7058725B2 (en) Motor control device
US20200083824A1 (en) Fixed rotation direction start-up method for single-phase sensorless dc brushless motor
US11108347B2 (en) Motor rotor controlling apparatus and method
CN112753161B (en) Method for determining correction value of control device of motor, control device and inverter
JP4051833B2 (en) Vector controller for permanent magnet synchronous motor
CN111969901A (en) Brushless direct current motor fault-tolerant control method considering faults of Hall position sensor
JP4624621B2 (en) Electric motor control and protection method, electric motor control system, and electric motor system
CN104506105B (en) The discrimination method and device for identifying of rotor polarity

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
GR01 Patent grant
GR01 Patent grant