[go: up one dir, main page]

CN111327235A - Commutation control device and method for permanent magnet DC motor based on sliding mode observer - Google Patents

Commutation control device and method for permanent magnet DC motor based on sliding mode observer Download PDF

Info

Publication number
CN111327235A
CN111327235A CN202010270659.4A CN202010270659A CN111327235A CN 111327235 A CN111327235 A CN 111327235A CN 202010270659 A CN202010270659 A CN 202010270659A CN 111327235 A CN111327235 A CN 111327235A
Authority
CN
China
Prior art keywords
motor
module
sliding mode
permanent magnet
mode observer
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
Application number
CN202010270659.4A
Other languages
Chinese (zh)
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.)
Xian Thermal Power Research Institute Co Ltd
Original Assignee
Thermal Power Research Institute
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 Thermal Power Research Institute filed Critical Thermal Power Research Institute
Priority to CN202010270659.4A priority Critical patent/CN111327235A/en
Publication of CN111327235A publication Critical patent/CN111327235A/en
Priority to PCT/CN2020/105602 priority patent/WO2021203589A1/en
Pending legal-status Critical Current

Links

Images

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
    • 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/182Circuit arrangements for detecting position without separate position detecting elements using back-emf in windings
    • 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
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/0003Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control
    • H02P21/0007Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control using sliding mode control
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

本发明公开了一种基于滑模观测器的永磁直流电机换相控制装置及方法,该装置包括处理器模块、电压采样模块、电流采样模块及光电隔离模块等;其中,所述处理器模块输入端连接有电压采样模块和电流采样模块,输出端连接有光电隔离模块,将电压采样模块、电流采样模块得到的数据构建滑模观测器,实现电机换相及闭环控制;所述电压采样模块和电流采样模块输入端连接有永磁直流电机,输出端连接有处理器模块输;所述光电隔离模块输入端连接有处理器模块输,输出端连接有驱动电路模块;所述驱动电路模块输入端连接有光电隔离模块,输出端连接有永磁直流电机。本发明应用于永磁直流电机无位置传感器控制系统中,实时计算反电动势,实现换相的控制。

Figure 202010270659

The invention discloses a commutation control device and method for a permanent magnet DC motor based on a sliding mode observer. The device includes a processor module, a voltage sampling module, a current sampling module, an optoelectronic isolation module, and the like; wherein, the processor module The input end is connected with a voltage sampling module and a current sampling module, and the output end is connected with a photoelectric isolation module, and the data obtained by the voltage sampling module and the current sampling module is used to construct a sliding mode observer to realize motor commutation and closed-loop control; the voltage sampling module A permanent magnet DC motor is connected to the input end of the current sampling module, and the output end is connected to a processor module input; the input end of the optoelectronic isolation module is connected to the processor module input, and the output end is connected to a drive circuit module; the drive circuit module input The photoelectric isolation module is connected to the end, and the permanent magnet DC motor is connected to the output end. The present invention is applied to a position sensorless control system of a permanent magnet direct current motor, calculates the back electromotive force in real time, and realizes the control of commutation.

Figure 202010270659

Description

基于滑模观测器的永磁直流电机换相控制装置及方法Commutation control device and method for permanent magnet DC motor based on sliding mode observer

技术领域technical field

本发明涉及一种永磁直流电机无位置传感器换相控制装置,具体涉及一种基于滑模观测器的永磁直流电机换相控制装置及方法。The invention relates to a position sensorless commutation control device for a permanent magnet direct current motor, in particular to a permanent magnet direct current motor commutation control device and method based on a sliding mode observer.

背景技术Background technique

永磁直流电机本体具有物理结构简单、速度调节响应迅速、带载能力强、功率因数高等优点。所以该类电机在人类各个领域的生产活动中有着重要的应用价值。The permanent magnet DC motor body has the advantages of simple physical structure, rapid speed adjustment response, strong load capacity and high power factor. Therefore, this type of motor has important application value in production activities in various fields of human beings.

为检测到连续的永磁直流电机转子位置信息,实现电机的换相控制,永磁直流电机一般采用电磁感应式、霍尔磁敏式或光电式等传感器进行转子位置检测。但是,上述位置传感器不仅增加了电机的体积和成本,且难以维修,又由于传感器外部连接电路较复杂,容易受到谐波的污染,这不仅在生产方法上增加了难度也大大限制了永磁直流电机在一些系统要求高(如卫星仪器)条件下的应用。因此对无位置传感器控制系统的研究成为最近电机控制学科的热点。In order to detect continuous permanent magnet DC motor rotor position information and realize the commutation control of the motor, permanent magnet DC motors generally use electromagnetic induction, Hall magnetic sensitive or photoelectric sensors for rotor position detection. However, the above-mentioned position sensor not only increases the size and cost of the motor, and is difficult to maintain, and because the external connection circuit of the sensor is complicated, it is easy to be polluted by harmonics, which not only increases the difficulty in the production method, but also greatly limits the permanent magnet DC. Motors are used in applications where some system requirements (such as satellite instruments) are high. Therefore, the research on the position sensorless control system has become a hot spot in the field of motor control recently.

虽然不再在转子上安装位置检测装置,但在电机运行过程中,为了控制由逆变功率器件的关断与导通引起的电机换相,仍然需要得到转子位置信息。目前应用最广泛的方法是:反电动势过零检测法。但是反电动势无法直接通过检测装置检测到,这就需要通过测量永磁直流电机本体可以测量得到的电流量、电压量等电信号建立数学模型,通过实时计算其变化量来间接获得反电动势过零点,进而实现换相控制。Although the position detection device is no longer installed on the rotor, during the operation of the motor, in order to control the motor commutation caused by the turn-off and turn-on of the inverter power device, it is still necessary to obtain the rotor position information. The most widely used method is: back EMF zero-crossing detection method. However, the back electromotive force cannot be directly detected by the detection device, which requires establishing a mathematical model by measuring the electrical signals such as current and voltage that can be measured by the permanent magnet DC motor body, and indirectly obtaining the zero-crossing point of the back electromotive force by calculating its variation in real time. , and then realize the commutation control.

通过构建已知状态量的观测器,得到反电动势的观测值,实现电机换相控制,具有原理简单、稳定性好等特点,但是当存在负载突变、系统参数变换时,控制系统置无法保证转子位置检测准确,换相稳定。By constructing an observer with known state quantities, the observed value of the back electromotive force is obtained, and the commutation control of the motor is realized. It has the characteristics of simple principle and good stability. However, when there is a sudden load change and system parameter transformation, the control system cannot guarantee the rotor. Accurate position detection and stable commutation.

发明内容SUMMARY OF THE INVENTION

本发明所要解决的技术问题是提供一种基于滑模观测器的永磁直流电机换相控制装置及方法,其能够应用于永磁直流电机无位置传感器控制系统中,实时计算反电动势,实现换相的控制。该换相控制装置应用滑模观测器,能够在负载突变、系统参数变换的情况下,稳定运行。The technical problem to be solved by the present invention is to provide a commutation control device and method for a permanent magnet DC motor based on a sliding mode observer, which can be applied to a position sensorless control system of a permanent magnet DC motor, calculate the back electromotive force in real time, and realize the commutation phase control. The commutation control device uses a sliding mode observer, which can run stably in the case of sudden load changes and system parameter transformations.

为解决上述技术问题,本发明采用如下技术方案来实现的:In order to solve the above-mentioned technical problems, the present invention adopts the following technical solutions to realize:

基于滑模观测器的永磁直流电机换相控制装置,包括处理器模块、电压采集模块、电流采集模块、光电隔离模块和驱动电路模块;其中,A permanent magnet DC motor commutation control device based on a sliding mode observer includes a processor module, a voltage acquisition module, a current acquisition module, an optoelectronic isolation module and a drive circuit module; wherein,

所述处理器模块输入端连接有电压采样模块和电流采样模块,输出端连接有光电隔离模块,将电压采样模块、电流采样模块得到的数据构建滑模观测器,实现电机换相及闭环控制;所述电压采样模块和电流采样模块输入端连接有永磁直流电机,输出端连接有处理器模块输;所述光电隔离模块输入端连接有处理器模块输,输出端连接有驱动电路模块;所述驱动电路模块输入端连接有光电隔离模块,输出端连接有永磁直流电机。The input end of the processor module is connected with a voltage sampling module and a current sampling module, and the output end is connected with an optoelectronic isolation module, and the data obtained by the voltage sampling module and the current sampling module is used to construct a sliding mode observer to realize motor commutation and closed-loop control; The input end of the voltage sampling module and the current sampling module is connected with a permanent magnet DC motor, and the output end is connected with the processor module input; the input end of the optoelectronic isolation module is connected with the processor module input, and the output end is connected with the drive circuit module; The input end of the drive circuit module is connected with a photoelectric isolation module, and the output end is connected with a permanent magnet DC motor.

本发明进一步的改进在于,处理器模块的采用STC15W404单片机,用于对电压采集模块和电流采集模块采集到的模拟量数据进行分析、计算得到转子位置信息,并输出控制永磁直流电机换相,转速、转矩计算的数字PWM信号;A further improvement of the present invention lies in that the processor module adopts STC15W404 single-chip microcomputer, which is used to analyze and calculate the analog data collected by the voltage acquisition module and the current acquisition module to obtain the rotor position information, and output and control the permanent magnet DC motor commutation, Digital PWM signal for speed and torque calculation;

所述电压采集模块,用于采集永磁直流电机三相电压模拟量并将数据传至处理器模块;The voltage acquisition module is used to collect the three-phase voltage analog quantity of the permanent magnet DC motor and transmit the data to the processor module;

所述电流采集模块采用LM358运算放大器,用于采集永磁直流电机三相电流模拟量并将数据传至处理器模块,;The current acquisition module adopts the LM358 operational amplifier, which is used to collect the three-phase current analog quantity of the permanent magnet DC motor and transmit the data to the processor module;

所述光电隔离模块采用P521-4光电隔离芯片,用于实现光电转换,隔离STC15W404单片机与电机驱动电路,避免信号互相干扰,避免因为反馈电流信号过大导致单片机损坏;The photoelectric isolation module adopts P521-4 photoelectric isolation chip, which is used to realize photoelectric conversion, isolate the STC15W404 single-chip microcomputer and the motor drive circuit, avoid mutual interference of signals, and avoid damage to the single-chip microcomputer due to excessive feedback current signal;

所述驱动电路模块采用型号为IRF9540N的场效应晶体管,用于控制电机的旋转角度和运转速度,实现对占空比的控制。The driving circuit module adopts a field effect transistor with a model of IRF9540N, which is used to control the rotation angle and running speed of the motor and realize the control of the duty ratio.

基于滑模观测器的永磁直流电机换相控制方法,包括:获取转子检测电路的电流、电压信号,对电流、电压信号进行克拉克变换;构建滑模观测器,通过滑模观测器得到反电动势观测值;通过反电动势观测值计算电机转子位置进而得到电机转速;进行转速PI运算和转矩PI运算,实现闭环控制。The commutation control method of permanent magnet DC motor based on sliding mode observer includes: acquiring the current and voltage signals of the rotor detection circuit, and performing Clark transform on the current and voltage signals; constructing a sliding mode observer, and obtaining the back electromotive force through the sliding mode observer Observation value; calculate the rotor position of the motor through the back electromotive force observation value to obtain the motor speed; perform the rotation speed PI calculation and the torque PI calculation to realize the closed-loop control.

本发明进一步的改进在于,获取转子检测电路的电流、电压信号,对电流、电压信号进行克拉克变换,电流计算过程如下:A further improvement of the present invention is that the current and voltage signals of the rotor detection circuit are obtained, and Clark transform is performed on the current and voltage signals, and the current calculation process is as follows:

Figure BDA0002443032940000031
同理可得克拉克变换后的电压uα,uβ
Figure BDA0002443032940000031
In the same way, the voltages u α and u β after the Clark transform can be obtained;

电机在两相静止坐标系下的数学模型为:

Figure BDA0002443032940000032
The mathematical model of the motor in the two-phase stationary coordinate system is:
Figure BDA0002443032940000032

其中

Figure BDA0002443032940000033
in
Figure BDA0002443032940000033

式中:iα、iβ为在两相静止坐标系中的定子电流;uα、uβ为两相静止坐标系中的定子电压;eα、eβ为在两相静止坐标系中的反电动势;R、L分别为绕组相电阻和等效电感;ψf为永磁体磁链;ω为转子角速度;θ为转子角度。In the formula: i α and i β are the stator currents in the two-phase static coordinate system; u α and u β are the stator voltages in the two-phase static coordinate system; e α and e β are the two-phase static coordinate systems. Back EMF; R, L are the winding phase resistance and equivalent inductance; ψ f is the permanent magnet flux linkage; ω is the rotor angular velocity; θ is the rotor angle.

本发明进一步的改进在于,构建滑模观测器,通过滑模观测器得到反电动势观测值;滑模观测器计算过程如下:A further improvement of the present invention is that a sliding mode observer is constructed, and the back electromotive force observation value is obtained through the sliding mode observer; the calculation process of the sliding mode observer is as follows:

根据永磁直流电机数学模型,构建滑模观测器

Figure BDA0002443032940000034
According to the mathematical model of permanent magnet DC motor, a sliding mode observer is constructed
Figure BDA0002443032940000034

式中:‘^’为观测值;k1和k2为滑模增益;F(·)为切换函数,采用符号函数;In the formula: '^' is the observed value; k 1 and k 2 are the sliding mode gains; F( ) is the switching function, which adopts the sign function;

滑模观测器误差方程为可表示为

Figure BDA0002443032940000041
The sliding mode observer error equation can be expressed as
Figure BDA0002443032940000041

定义滑模切面为:

Figure BDA0002443032940000042
当系统进入滑模面后,
Figure BDA0002443032940000043
根据滑模观测器误差方程得到反电动势观测值为
Figure BDA0002443032940000044
其中:
Figure BDA0002443032940000045
The sliding die cut surface is defined as:
Figure BDA0002443032940000042
When the system enters the sliding surface,
Figure BDA0002443032940000043
According to the error equation of the sliding mode observer, the observed value of the back EMF is obtained as
Figure BDA0002443032940000044
in:
Figure BDA0002443032940000045

本发明进一步的改进在于,通过反电动势观测值计算电机转子位置进而得到电机转速,计算过程如下:A further improvement of the present invention is that the rotor position of the motor is calculated through the back electromotive force observation value to obtain the motor speed, and the calculation process is as follows:

电机转子位置:

Figure BDA0002443032940000046
Motor rotor position:
Figure BDA0002443032940000046

电机转速:

Figure BDA0002443032940000047
Motor speed:
Figure BDA0002443032940000047

与现有技术相比,本发明至少具有如下有益的技术效果:Compared with the prior art, the present invention at least has the following beneficial technical effects:

1.本发明采用永磁直流电机无位置传感器控制系统,无需额外安装转子检测模块,进一步降低永磁直流电机体积和开发成本;1. The present invention adopts a permanent magnet DC motor position sensorless control system, and does not require additional installation of a rotor detection module, further reducing the size and development cost of the permanent magnet DC motor;

2.本发明采用滑模观测器对反电动势进行计算,得到转子位置,进而实现电机换相,该观测器算法相对简单,通过数学方法得到的转子位置准确;2. The present invention adopts the sliding mode observer to calculate the back electromotive force, obtains the rotor position, and then realizes the commutation of the motor. The observer algorithm is relatively simple, and the rotor position obtained by the mathematical method is accurate;

3.本发明采用转速、转矩双闭环控制系统,整个系统鲁棒性能好;3. The present invention adopts a double closed-loop control system of rotational speed and torque, and the whole system has good robust performance;

4.本发明光电隔离模块采用P521-4光电隔离芯片,该芯片使处理器输入PWM信号与驱动桥之间无直接电信号联系,同时使电路信号传输不受外界电磁干扰,增加了电路的抗干扰能力。4. The optoelectronic isolation module of the present invention adopts the P521-4 optoelectronic isolation chip, which makes there no direct electrical signal connection between the input PWM signal of the processor and the drive bridge, and at the same time makes the circuit signal transmission free from external electromagnetic interference, which increases the resistance of the circuit. Interference ability.

附图说明Description of drawings

图1为本发明硬件系统框图;Fig. 1 is the hardware system block diagram of the present invention;

图2为本发明处理器模块原理图;2 is a schematic diagram of a processor module of the present invention;

图3为本发明电压采样模块原理图;Fig. 3 is the principle diagram of the voltage sampling module of the present invention;

图4为本发明电流采样模块原理图;4 is a schematic diagram of a current sampling module of the present invention;

图5为本发明光电隔离模块原理图;Fig. 5 is the principle diagram of the photoelectric isolation module of the present invention;

图6为本发明驱动模块原理图;6 is a schematic diagram of a drive module of the present invention;

图7为本发明软件主程序流程图;Fig. 7 is the software main program flow chart of the present invention;

图8为本发明软件中断程序流程图。FIG. 8 is a flowchart of a software interrupt program of the present invention.

具体实施方式Detailed ways

下面通过附图,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be further described in detail below with reference to the accompanying drawings.

如图1所示,本发明提供的基于滑模观测器的永磁直流电机换相控制装置,包括:处理器模块、电压采样模块、电流采样模块、光电隔离模块和驱动电路模块。所述处理器模块的模拟量采集通道连接所述电压采样模块、所述电流采用模块,所述处理器模块的数字PWM输出端连接所述光电隔离模块。所述光电隔离模块连接有用于驱动永磁同步电机的所述驱动电路模块。所述驱动电路模块连接永磁同步电机A、B、C三相。As shown in FIG. 1 , the sliding mode observer-based permanent magnet DC motor commutation control device provided by the present invention includes: a processor module, a voltage sampling module, a current sampling module, an optoelectronic isolation module and a drive circuit module. The analog quantity acquisition channel of the processor module is connected to the voltage sampling module and the current adopting module, and the digital PWM output end of the processor module is connected to the photoelectric isolation module. The photoelectric isolation module is connected with the driving circuit module for driving the permanent magnet synchronous motor. The drive circuit module is connected to the three phases of the permanent magnet synchronous motor A, B, and C.

如图2所示,所述处理器模块由STC15W404单片机构成。STC15W404单片机供电范围为2.6-5.5V,正常工作电流最大为0.1uA,此外,还具有4KB大小的Flash空间,512字节大小的SRAM空间,9KB大小的EEPROM,并内置可靠性极高的复位电路、时钟电路和6路PWM输出端口。其中,所述处理器模块用于对所述电压采集模块和所述电流采集模块采集到的模拟量数据进行分析、计算得到转子位置信息,并输出控制永磁直流电机换相,转速、转矩计算的数字PWM信号至所述光电隔离模块。As shown in Figure 2, the processor module is composed of STC15W404 single-chip microcomputer. The power supply range of STC15W404 microcontroller is 2.6-5.5V, and the maximum normal operating current is 0.1uA. In addition, it also has 4KB Flash space, 512 bytes SRAM space, 9KB EEPROM, and built-in reset circuit with high reliability , clock circuit and 6 PWM output ports. Wherein, the processor module is used to analyze and calculate the analog data collected by the voltage collection module and the current collection module to obtain rotor position information, and output and control the commutation, rotational speed and torque of the permanent magnet DC motor. Calculated digital PWM signal to the opto-isolated module.

如图3所示,所述电压采样模块由相关电阻、电容构成。主要是将永磁直流电机U、V、W三相电压经过降压和低通滤波后,把信号发送至所述处理器模块。其中:R15和R26构成U相压降电路;R22和R27构成V相压降电路;R24和R28构成W相压降电路;其中:R15和C5构成U相低通滤波电路;R22和C6构成V相低通滤波电路;R24和C4构成W相低通滤波电路。其中:R16、R23、R25起限流作用。As shown in FIG. 3 , the voltage sampling module is composed of related resistors and capacitors. Mainly, the three-phase voltages of U, V, and W of the permanent magnet DC motor are bucked and low-pass filtered, and then the signals are sent to the processor module. Among them: R15 and R26 form a U-phase voltage drop circuit; R22 and R27 form a V-phase voltage drop circuit; R24 and R28 form a W-phase voltage drop circuit; Among them: R15 and C5 form a U-phase low-pass filter circuit; R22 and C6 form a V-phase voltage drop circuit Phase low-pass filter circuit; R24 and C4 constitute W-phase low-pass filter circuit. Among them: R16, R23, R25 play the role of current limiting.

如图4所示,所述电流采样模块由LM358运算放大器、相关电阻、电容构成。主要是将永磁直流电机U、V、W三相电流信号发送至所述处理器模块。As shown in Figure 4, the current sampling module is composed of an LM358 operational amplifier, related resistors and capacitors. Mainly, the U, V, W three-phase current signals of the permanent magnet DC motor are sent to the processor module.

如图5所示,所述光电隔离模块,由P521-4光电隔离芯片P1、P2,相关电阻构成。光电隔离芯片P1四个引脚与所述(1)处理器模块相接,光电隔离芯片P2两个引脚与所述处理器模块相接。其主要作为:1.实现光电转换;2.隔离所述处理器模所述(5)驱动电路模块,避免信号互相干扰;3.避免因为反馈电流信号过大导致单片机损坏。As shown in Figure 5, the optoelectronic isolation module is composed of P521-4 optoelectronic isolation chips P1, P2 and related resistances. The four pins of the optoelectronic isolation chip P1 are connected to the (1) processor module, and the two pins of the optoelectronic isolation chip P2 are connected to the processor module. Its main functions are: 1. Realize photoelectric conversion; 2. Isolate the processor module (5) drive circuit module to avoid mutual interference of signals; 3. Avoid damage to the single-chip microcomputer due to excessive feedback current signal.

如图6所示,所述驱动电路模块,由型号为IRF9540N的场效应晶体管VT1、VT2、VT3、VT4、VT5、VT6,相关电阻,续流二极管,驱动输出端口及电源接口构成。所述驱动电路模块向永磁同步电机三相定子绕组供电,驱动电机运行。所述驱动电路模块各晶体管的通断控制状态如表1所示。As shown in Figure 6, the drive circuit module is composed of field effect transistors VT1, VT2, VT3, VT4, VT5, and VT6 with model IRF9540N, related resistors, freewheeling diodes, drive output ports and power supply interfaces. The drive circuit module supplies power to the three-phase stator windings of the permanent magnet synchronous motor to drive the motor to run. The on-off control state of each transistor of the drive circuit module is shown in Table 1.

表1晶体管的通断控制状态Table 1 On-off control state of transistors

Figure BDA0002443032940000061
Figure BDA0002443032940000061

如图7所示,所述软件主程序流程图,包括:1.系统初始化即配置主处理器模块内部资源,主要包括:1)设置外部中断触发方式、2)PWM输出端口配置、3)系统时钟资源配置、4)控制参数配置。4)配置与处理器模块之间的通信方式。2.完成电机起动,本发明采用“三段式”起动法,分为:1)转子预定位、2)外同步加速、3)自同步切换。As shown in Figure 7, the software main program flow chart includes: 1. System initialization is to configure the internal resources of the main processor module, mainly including: 1) Setting the external interrupt trigger mode, 2) PWM output port configuration, 3) System Clock resource configuration, 4) Control parameter configuration. 4) Configure the communication mode between the configuration and the processor module. 2. To complete the motor starting, the present invention adopts the "three-stage" starting method, which is divided into: 1) rotor pre-positioning, 2) external synchronous acceleration, and 3) self-synchronous switching.

如图8所示,所述软件中断程序流程图,包括:1)获取转子检测电路的电流、电压信号,对电流、电压信号进行克拉克变换。2)构建滑模观测器,通过滑模观测器得到反电动势观测值。3)通过反电动势观测值计算电机转子位置进而得到电机转速。4)转速和转矩闭环控制。As shown in FIG. 8 , the flowchart of the software interrupt program includes: 1) Obtaining the current and voltage signals of the rotor detection circuit, and performing Clark transform on the current and voltage signals. 2) A sliding mode observer is constructed, and the back EMF observation value is obtained through the sliding mode observer. 3) Calculate the rotor position of the motor through the observation value of the back electromotive force to obtain the motor speed. 4) Speed and torque closed-loop control.

所述1)获取转子检测电路的电流、电压信号,对电流、电压信号进行克拉克变换,电流计算过程如下:1) Obtain the current and voltage signals of the rotor detection circuit, and perform Clark transform on the current and voltage signals. The current calculation process is as follows:

Figure BDA0002443032940000071
同理可得克拉克变换后的电压uα,uβ
Figure BDA0002443032940000071
In the same way, the voltages u α and u β after the Clark transform can be obtained.

电机在两相静止坐标系下的数学模型为:

Figure BDA0002443032940000072
The mathematical model of the motor in the two-phase stationary coordinate system is:
Figure BDA0002443032940000072

其中

Figure BDA0002443032940000073
in
Figure BDA0002443032940000073

式中:iα、iβ为在两相静止坐标系中的定子电流;uα、uβ为两相静止坐标系中的定子电压;eα、eβ为在两相静止坐标系中的反电动势;R、L分别为绕组相电阻和等效电感;ψf为永磁体磁链;ω为转子角速度;θ为转子角度。In the formula: i α and i β are the stator currents in the two-phase static coordinate system; u α and u β are the stator voltages in the two-phase static coordinate system; e α and e β are the two-phase static coordinate systems. Back EMF; R, L are the winding phase resistance and equivalent inductance; ψ f is the permanent magnet flux linkage; ω is the rotor angular velocity; θ is the rotor angle.

所述2)构建滑模观测器,通过滑模观测器得到反电动势观测值。滑模观测器计算过程如下:2) Construct a sliding mode observer, and obtain the back EMF observation value through the sliding mode observer. The calculation process of the sliding mode observer is as follows:

根据永磁直流电机数学模型,构建滑模观测器

Figure BDA0002443032940000074
According to the mathematical model of permanent magnet DC motor, a sliding mode observer is constructed
Figure BDA0002443032940000074

式中:‘^’为观测值;k1和k2为滑模增益;F(·)为切换函数,采用符号函数。In the formula: '^' is the observed value; k 1 and k 2 are the sliding mode gains; F( ) is the switching function, which adopts the sign function.

滑模观测器误差方程为可表示为

Figure BDA0002443032940000075
The sliding mode observer error equation can be expressed as
Figure BDA0002443032940000075

定义滑模切面为:

Figure BDA0002443032940000076
当系统进入滑模面后,
Figure BDA0002443032940000077
根据滑模观测器误差方程可以得到反电动势观测值为
Figure BDA0002443032940000078
其中:
Figure BDA0002443032940000079
The sliding die cut surface is defined as:
Figure BDA0002443032940000076
When the system enters the sliding surface,
Figure BDA0002443032940000077
According to the error equation of the sliding mode observer, the observed value of the back EMF can be obtained as
Figure BDA0002443032940000078
in:
Figure BDA0002443032940000079

所述3)通过反电动势观测值计算电机转子位置进而得到电机转速,计算过程如下:3) Calculate the rotor position of the motor through the back electromotive force observation value to obtain the motor speed, and the calculation process is as follows:

电机转子位置:

Figure BDA0002443032940000081
Motor rotor position:
Figure BDA0002443032940000081

电机转速:

Figure BDA0002443032940000082
Motor speed:
Figure BDA0002443032940000082

所述4)转速和转矩闭环控制,是进行转速PI运算和转矩PI运算,实现闭环控制。The 4) speed and torque closed-loop control is to perform the speed PI calculation and the torque PI calculation to realize the closed-loop control.

以上所述,仅是本发明的较佳实施例,并非对本发明作任何限制,凡是根据本发明技术实质对以上实施例所作的任何简单修改、变更以及等效结构变化,均仍属于本发明技术方案的保护范围内。The above are only preferred embodiments of the present invention and do not limit the present invention. Any simple modifications, changes and equivalent structural changes made to the above embodiments according to the technical essence of the present invention still belong to the technology of the present invention. within the scope of the program.

Claims (6)

1.基于滑模观测器的永磁直流电机换相控制装置,其特征在于,包括处理器模块、电压采集模块、电流采集模块、光电隔离模块和驱动电路模块;其中,1. the permanent magnet DC motor commutation control device based on sliding mode observer, is characterized in that, comprises processor module, voltage acquisition module, current acquisition module, photoelectric isolation module and drive circuit module; Wherein, 所述处理器模块输入端连接有电压采样模块和电流采样模块,输出端连接有光电隔离模块,将电压采样模块、电流采样模块得到的数据构建滑模观测器,实现电机换相及闭环控制;所述电压采样模块和电流采样模块输入端连接有永磁直流电机,输出端连接有处理器模块输;所述光电隔离模块输入端连接有处理器模块输,输出端连接有驱动电路模块;所述驱动电路模块输入端连接有光电隔离模块,输出端连接有永磁直流电机。The input end of the processor module is connected with a voltage sampling module and a current sampling module, and the output end is connected with an optoelectronic isolation module, and the data obtained by the voltage sampling module and the current sampling module is used to construct a sliding mode observer to realize motor commutation and closed-loop control; The input end of the voltage sampling module and the current sampling module is connected with a permanent magnet DC motor, and the output end is connected with the processor module input; the input end of the optoelectronic isolation module is connected with the processor module input, and the output end is connected with the drive circuit module; The input end of the drive circuit module is connected with a photoelectric isolation module, and the output end is connected with a permanent magnet DC motor. 2.根据权利要求1所述的基于滑模观测器的永磁直流电机换相控制装置,其特征在于,处理器模块的采用STC15W404单片机,用于对电压采集模块和电流采集模块采集到的模拟量数据进行分析、计算得到转子位置信息,并输出控制永磁直流电机换相,转速、转矩计算的数字PWM信号;2. the permanent magnet direct current motor commutation control device based on sliding mode observer according to claim 1, is characterized in that, the adoption of STC15W404 single-chip microcomputer of processor module, is used for the simulation that voltage acquisition module and current acquisition module gather The rotor position information is obtained by analyzing and calculating the quantitative data, and the digital PWM signal for controlling the commutation, speed and torque calculation of the permanent magnet DC motor is output; 所述电压采集模块,用于采集永磁直流电机三相电压模拟量并将数据传至处理器模块;The voltage acquisition module is used to collect the three-phase voltage analog quantity of the permanent magnet DC motor and transmit the data to the processor module; 所述电流采集模块采用LM358运算放大器,用于采集永磁直流电机三相电流模拟量并将数据传至处理器模块,;The current acquisition module adopts the LM358 operational amplifier, which is used to collect the three-phase current analog quantity of the permanent magnet DC motor and transmit the data to the processor module; 所述光电隔离模块采用P521-4光电隔离芯片,用于实现光电转换,隔离STC15W404单片机与电机驱动电路,避免信号互相干扰,避免因为反馈电流信号过大导致单片机损坏;The photoelectric isolation module adopts P521-4 photoelectric isolation chip, which is used to realize photoelectric conversion, isolate the STC15W404 single-chip microcomputer and the motor drive circuit, avoid mutual interference of signals, and avoid damage to the single-chip microcomputer due to excessive feedback current signal; 所述驱动电路模块采用型号为IRF9540N的场效应晶体管,用于控制电机的旋转角度和运转速度,实现对占空比的控制。The driving circuit module adopts a field effect transistor with a model of IRF9540N, which is used to control the rotation angle and running speed of the motor and realize the control of the duty ratio. 3.基于滑模观测器的永磁直流电机换相控制方法,其特征在于,该方法基于权利要求1或2所述的基于滑模观测器的永磁直流电机换相控制装置,包括:获取转子检测电路的电流、电压信号,对电流、电压信号进行克拉克变换;构建滑模观测器,通过滑模观测器得到反电动势观测值;通过反电动势观测值计算电机转子位置进而得到电机转速;进行转速PI运算和转矩PI运算,实现闭环控制。3. The permanent magnet DC motor commutation control method based on sliding mode observer is characterized in that, the method is based on the sliding mode observer-based permanent magnet DC motor commutation control device according to claim 1 or 2, comprising: obtaining The current and voltage signals of the rotor are detected, and Clark transform is performed on the current and voltage signals; a sliding mode observer is constructed, and the back EMF observation value is obtained through the sliding mode observer; the motor rotor position is calculated through the back EMF observation value to obtain the motor speed; Speed PI operation and torque PI operation realize closed-loop control. 4.根据权利要求3所述的基于滑模观测器的永磁直流电机换相控制方法,其特征在于,获取转子检测电路的电流、电压信号,对电流、电压信号进行克拉克变换,电流计算过程如下:4. The permanent magnet DC motor commutation control method based on sliding mode observer according to claim 3, is characterized in that, obtaining the current and voltage signals of the rotor detection circuit, carrying out Clark transform to the current and voltage signals, and the current calculation process as follows:
Figure FDA0002443032930000021
同理可得克拉克变换后的电压uα,uβ
Figure FDA0002443032930000021
In the same way, the voltages u α and u β after the Clark transform can be obtained;
电机在两相静止坐标系下的数学模型为:
Figure FDA0002443032930000022
The mathematical model of the motor in the two-phase stationary coordinate system is:
Figure FDA0002443032930000022
其中
Figure FDA0002443032930000023
in
Figure FDA0002443032930000023
式中:iα、iβ为在两相静止坐标系中的定子电流;uα、uβ为两相静止坐标系中的定子电压;eα、eβ为在两相静止坐标系中的反电动势;R、L分别为绕组相电阻和等效电感;ψf为永磁体磁链;ω为转子角速度;θ为转子角度。In the formula: i α and i β are the stator currents in the two-phase static coordinate system; u α and u β are the stator voltages in the two-phase static coordinate system; e α and e β are the two-phase static coordinate systems. Back EMF; R, L are the winding phase resistance and equivalent inductance; ψ f is the permanent magnet flux linkage; ω is the rotor angular velocity; θ is the rotor angle.
5.根据权利要求4所述的基于滑模观测器的永磁直流电机换相控制装置,其特征在于,构建滑模观测器,通过滑模观测器得到反电动势观测值;滑模观测器计算过程如下:5. The permanent magnet DC motor commutation control device based on the sliding mode observer according to claim 4, wherein the sliding mode observer is constructed, and the back EMF observation value is obtained by the sliding mode observer; the sliding mode observer calculates The process is as follows: 根据永磁直流电机数学模型,构建滑模观测器
Figure FDA0002443032930000024
According to the mathematical model of permanent magnet DC motor, a sliding mode observer is constructed
Figure FDA0002443032930000024
式中:‘^’为观测值;k1和k2为滑模增益;F(·)为切换函数,采用符号函数;In the formula: '^' is the observed value; k 1 and k 2 are the sliding mode gains; F( ) is the switching function, which adopts the sign function; 滑模观测器误差方程为可表示为
Figure FDA0002443032930000025
The sliding mode observer error equation can be expressed as
Figure FDA0002443032930000025
定义滑模切面为:
Figure FDA0002443032930000026
当系统进入滑模面后,
Figure FDA0002443032930000027
根据滑模观测器误差方程得到反电动势观测值为
Figure FDA0002443032930000028
其中:
Figure FDA0002443032930000029
The sliding die cut surface is defined as:
Figure FDA0002443032930000026
When the system enters the sliding surface,
Figure FDA0002443032930000027
According to the error equation of the sliding mode observer, the observed value of the back EMF is obtained as
Figure FDA0002443032930000028
in:
Figure FDA0002443032930000029
6.根据权利要求5所述的基于滑模观测器的永磁直流电机换相控制装置,其特征在于,通过反电动势观测值计算电机转子位置进而得到电机转速,计算过程如下:6. the permanent magnet direct current motor commutation control device based on sliding mode observer according to claim 5, is characterized in that, calculates motor rotor position by back electromotive force observation value and then obtains motor rotational speed, and calculation process is as follows: 电机转子位置:
Figure FDA0002443032930000031
Motor rotor position:
Figure FDA0002443032930000031
电机转速:
Figure FDA0002443032930000032
Motor speed:
Figure FDA0002443032930000032
CN202010270659.4A 2020-04-08 2020-04-08 Commutation control device and method for permanent magnet DC motor based on sliding mode observer Pending CN111327235A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010270659.4A CN111327235A (en) 2020-04-08 2020-04-08 Commutation control device and method for permanent magnet DC motor based on sliding mode observer
PCT/CN2020/105602 WO2021203589A1 (en) 2020-04-08 2020-07-29 Permanent magnet direct-current electric motor commutation control apparatus and method based on sliding mode observer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010270659.4A CN111327235A (en) 2020-04-08 2020-04-08 Commutation control device and method for permanent magnet DC motor based on sliding mode observer

Publications (1)

Publication Number Publication Date
CN111327235A true CN111327235A (en) 2020-06-23

Family

ID=71173522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010270659.4A Pending CN111327235A (en) 2020-04-08 2020-04-08 Commutation control device and method for permanent magnet DC motor based on sliding mode observer

Country Status (2)

Country Link
CN (1) CN111327235A (en)
WO (1) WO2021203589A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021203589A1 (en) * 2020-04-08 2021-10-14 西安热工研究院有限公司 Permanent magnet direct-current electric motor commutation control apparatus and method based on sliding mode observer
CN114732300A (en) * 2022-04-29 2022-07-12 深圳朗特智能控制股份有限公司 Food processing equipment and food processing method thereof
CN114826071A (en) * 2022-03-08 2022-07-29 中南大学 Permanent magnet synchronous motor rotor position and speed estimation method based on Hall sensor
CN114928288A (en) * 2022-06-09 2022-08-19 江苏科技大学 Parameter identification-based underwater propeller sensorless control method and system
CN114977974A (en) * 2022-05-13 2022-08-30 北京航空航天大学 Vibrating mirror motor system with digital-analog hybrid architecture and drive control method

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992086B (en) * 2021-10-23 2024-08-02 可孚医疗科技股份有限公司 Breathing machine fan driving method and breathing machine equipment
CN114221593B (en) * 2021-12-31 2023-08-08 中国船舶重工集团公司第七一九研究所 Permanent magnet synchronous motor speed sensorless control method
CN114584016B (en) * 2022-03-10 2025-02-14 清华大学 Demodulation Method of Back EMF Envelope of Exciter in Excitation System
CN114710080B (en) * 2022-05-05 2024-08-27 天津大学 Permanent magnet synchronous motor sliding mode control method based on improved gain approximation law
CN115189619B (en) * 2022-07-27 2024-06-04 宁波奥克斯电气股份有限公司 Brushless direct current motor, control method and device thereof and readable storage medium
CN115208265B (en) * 2022-08-09 2024-11-15 湖南大学 A control method for improving the operating efficiency of a brushless DC motor
CN115459649A (en) * 2022-09-06 2022-12-09 杭州电子科技大学 A control method for permanent magnet synchronous motor based on the combination of observer and self-adaptation
CN116938056B (en) * 2023-07-18 2024-11-29 淮阴工学院 Motor sensorless control system and control method based on magnetic regulation pulse counting
CN117335702A (en) * 2023-09-27 2024-01-02 大庆石油管理局有限公司 A control method for permanent magnet synchronous motor of oil pumping unit based on cascade sliding mode observer

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951211A (en) * 2010-07-23 2011-01-19 南京航空航天大学 Brushless direct current motor electromagnetic torque observation method based on self-adapting slipform observer
CN104935232A (en) * 2015-04-30 2015-09-23 广东美的制冷设备有限公司 PMSM direct torque control method and control system
CN107689760A (en) * 2017-11-02 2018-02-13 哈尔滨理工大学 Based on the magneto of matrix converter without position vector control system and method
CN108683370A (en) * 2018-06-26 2018-10-19 电子科技大学 A kind of brshless DC motor method for controlling torque based on adaptive kernel time-frequency distribution

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9088241B2 (en) * 2012-03-02 2015-07-21 Deere & Company Drive systems including sliding mode observers and methods of controlling the same
CN108945373A (en) * 2018-08-06 2018-12-07 江苏科技大学 Impeller driven system and control method under integrated water
CN109150048A (en) * 2018-09-17 2019-01-04 哈尔滨理工大学 A kind of permanent magnet synchronous motor multiplex control system of position-sensor-free
CN110572091B (en) * 2019-09-16 2021-05-18 湖北文理学院 A Sensorless Control Method for Optimizing Permanent Magnet Synchronous Motors
CN110739901A (en) * 2019-10-08 2020-01-31 郑州大学 high-reliability brushless direct current motor driving and position-free control system
CN111327235A (en) * 2020-04-08 2020-06-23 西安热工研究院有限公司 Commutation control device and method for permanent magnet DC motor based on sliding mode observer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951211A (en) * 2010-07-23 2011-01-19 南京航空航天大学 Brushless direct current motor electromagnetic torque observation method based on self-adapting slipform observer
CN104935232A (en) * 2015-04-30 2015-09-23 广东美的制冷设备有限公司 PMSM direct torque control method and control system
CN107689760A (en) * 2017-11-02 2018-02-13 哈尔滨理工大学 Based on the magneto of matrix converter without position vector control system and method
CN108683370A (en) * 2018-06-26 2018-10-19 电子科技大学 A kind of brshless DC motor method for controlling torque based on adaptive kernel time-frequency distribution

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
杨沛豪: "无刷直流电机无位置传感器控制系统研究", 《中国优秀硕士学位论文全文数据库(工程科技Ⅱ辑)》 *
耿亚珂 等: "BLDCM新型滑模观测器的无位置传感器控制", 《测控技术》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021203589A1 (en) * 2020-04-08 2021-10-14 西安热工研究院有限公司 Permanent magnet direct-current electric motor commutation control apparatus and method based on sliding mode observer
CN114826071A (en) * 2022-03-08 2022-07-29 中南大学 Permanent magnet synchronous motor rotor position and speed estimation method based on Hall sensor
CN114732300A (en) * 2022-04-29 2022-07-12 深圳朗特智能控制股份有限公司 Food processing equipment and food processing method thereof
CN114977974A (en) * 2022-05-13 2022-08-30 北京航空航天大学 Vibrating mirror motor system with digital-analog hybrid architecture and drive control method
CN114977974B (en) * 2022-05-13 2024-07-02 北京航空航天大学 A digital-analog hybrid architecture galvanometer motor system and drive control method
CN114928288A (en) * 2022-06-09 2022-08-19 江苏科技大学 Parameter identification-based underwater propeller sensorless control method and system

Also Published As

Publication number Publication date
WO2021203589A1 (en) 2021-10-14

Similar Documents

Publication Publication Date Title
CN111327235A (en) Commutation control device and method for permanent magnet DC motor based on sliding mode observer
CN107395072B (en) A method for phase compensation of brushless DC motor without position sensor
CN104901600B (en) The method for controlling position-less sensor of wide speed range interior permanent-magnet synchronous motor
CN108900129A (en) A kind of position-sensor-free method for controlling permanent magnet synchronous motor, device and system
CN103414425B (en) A kind of torque direction of brshless DC motor and the detection method of amplitude
CN103414427A (en) Brushless direct current motor control method
CN106533303A (en) Permanent magnet brushless DC motor driver control method
CN104320034B (en) Permanent magnet brushless direct current motor low-speed and zero-speed rotor position observing method
CN102957369A (en) Brushless DC (Direct Current) motor speed regulation device on basis of DSP (Digital Signal Processor)
CN106788049B (en) Speed sensor-free torque control system and method based on cascading sliding mode observer
CN105227025A (en) A kind of permagnetic synchronous motor low carrier is than control system without position sensor and control method thereof
CN112511059B (en) A high-precision position estimation method for permanent magnet synchronous motor
CN111181458A (en) Surface-mounted permanent magnet synchronous motor rotor flux linkage observation method based on extended Kalman filter
CN110474587A (en) The New method for sensorless control technique of PMSM and control method of Passive Shape Control high frequency electrocardiography
CN113872483A (en) Three-phase current reconstruction method, device, equipment and storage medium
CN104283482A (en) Low-speed and zero-speed rotor position observation system for permanent magnet brushless DC motor
CN113872484B (en) Three-phase current reconstruction method, device, equipment and storage medium
CN108418491B (en) Three-phase Four-switch converter permanent magnet synchronous motor system flux linkage control method based on simplified model prediction
CN112865619A (en) Brushless direct current motor control method improved based on back electromotive force method
CN114499293A (en) A position sensorless control method of brushless DC motor based on sliding mode observer
CN108599655B (en) Method for estimating rotating speed of permanent magnet synchronous motor without speed sensor based on weight control
CN110518855A (en) Using the adaptive method controlled with straight feedback compensation permanent magnet synchronous motor angular speed
WO2021092812A1 (en) Commutation error compensation method and apparatus for electric motor, and storage medium
CN113078852B (en) Real-time identification method for parameters of permanent magnet synchronous motor
CN112468029B (en) Control method for five-phase permanent magnet synchronous motor without position sensor

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200623

RJ01 Rejection of invention patent application after publication