[go: up one dir, main page]

CN104166040B - Permanent-magnetic synchronous motor stator voltage detecting system and method under two phase inversions - Google Patents

Permanent-magnetic synchronous motor stator voltage detecting system and method under two phase inversions Download PDF

Info

Publication number
CN104166040B
CN104166040B CN201410363997.7A CN201410363997A CN104166040B CN 104166040 B CN104166040 B CN 104166040B CN 201410363997 A CN201410363997 A CN 201410363997A CN 104166040 B CN104166040 B CN 104166040B
Authority
CN
China
Prior art keywords
synchronous motor
permanent magnet
magnet synchronous
phase
mtd
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.)
Expired - Fee Related
Application number
CN201410363997.7A
Other languages
Chinese (zh)
Other versions
CN104166040A (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.)
Nanjing Institute of Railway Technology
Original Assignee
Nanjing Institute of Railway Technology
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 Nanjing Institute of Railway Technology filed Critical Nanjing Institute of Railway Technology
Priority to CN201410363997.7A priority Critical patent/CN104166040B/en
Publication of CN104166040A publication Critical patent/CN104166040A/en
Application granted granted Critical
Publication of CN104166040B publication Critical patent/CN104166040B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Tests Of Circuit Breakers, Generators, And Electric Motors (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

一种两相变换下的永磁同步电机定子电压检测系统及其方法,电磁感应电压传感器分别同带有串行通信接口模块的基于DSP的数据采集系统的第一信号接收管脚和第二信号接收管脚相连接,所述的基于DSP的数据采集系统还通过串行数据通信的接口同上位机相连接,所述的上位机带有两相变换下的永磁同步电机定子电压检测模块,所述的两相变换下的永磁同步电机定子电压检测模块包含有三相旋转坐标到两相旋转坐标变换模块,所述的上位机中还包含有VISA模块,并结合其方法可有效避免现有技术中的还没有这样的技术来由于数据量的庞大动态观测两相旋转坐标下的定子电压至今无法通过简便的方式来解决的缺陷。

A permanent magnet synchronous motor stator voltage detection system and method thereof under two-phase conversion, the electromagnetic induction voltage sensor is connected with the first signal receiving pin and the second signal of the DSP-based data acquisition system with a serial communication interface module respectively The receiving pins are connected, and the DSP-based data acquisition system is also connected with the upper computer through the interface of serial data communication, and the upper computer has a permanent magnet synchronous motor stator voltage detection module under two-phase conversion, The permanent magnet synchronous motor stator voltage detection module under the two-phase conversion includes a three-phase rotating coordinate to two-phase rotating coordinate conversion module, and the upper computer also includes a VISA module, and the combination of the method can effectively avoid existing There is no such technology in the technology to solve the defect that the dynamic observation of the stator voltage under the two-phase rotating coordinates cannot be solved in a simple way so far due to the huge amount of data.

Description

两相变换下的永磁同步电机定子电压检测系统及方法Stator voltage detection system and method for permanent magnet synchronous motor under two-phase conversion

技术领域technical field

本发明属于永磁同步电机技术领域,具体涉及一种两相变换下的永磁同步电机定子电压检测系统及其方法。The invention belongs to the technical field of permanent magnet synchronous motors, and in particular relates to a permanent magnet synchronous motor stator voltage detection system under two-phase conversion and a method thereof.

背景技术Background technique

永磁同步电动机具有结构简单,体积小、重量轻、损耗小、效率高、功率因数高等优点,主要用于要求响应快速、调速范围宽、定位准确的高性能伺服传动系统和直流电机的更新替代电机。The permanent magnet synchronous motor has the advantages of simple structure, small size, light weight, low loss, high efficiency, high power factor, etc. It is mainly used for the update of high-performance servo drive systems and DC motors that require fast response, wide speed range, and accurate positioning. Replacement motor.

在永磁同步电动机的运行过程中常常需要把定子电压从三相旋转坐标转变到两相旋转坐标下的定子电压以此操纵,现在却缺乏一种方便简单的针对永磁同步电动机的转变到两相旋转坐标下的定子电压的实时监测装置。During the operation of the permanent magnet synchronous motor, it is often necessary to change the stator voltage from the three-phase rotating coordinate to the stator voltage under the two-phase rotating coordinate for manipulation, but now there is a lack of a convenient and simple transformation for the permanent magnet synchronous motor to two A real-time monitoring device for stator voltage in phase rotation coordinates.

发明内容Contents of the invention

本发明的目的提供一种两相变换下的永磁同步电机定子电压检测系统及其方法,电磁感应电压传感器分别同带有串行通信接口模块的基于DSP的数据采集系统的第一信号接收管脚和第二信号接收管脚相连接,所述的基于DSP的数据采集系统还通过串行数据通信的接口同上位机相连接,所述的上位机带有两相变换下的永磁同步电机定子电压检测模块,所述的两相变换下的永磁同步电机定子电压检测模块包含有三相旋转坐标到两相旋转坐标变换模块,所述的上位机中还包含有VISA模块,并结合其方法可有效避免现有技术中的还没有这样的技术来由于数据量的庞大动态观测两相旋转坐标下的定子电压至今无法通过简便的方式来解决的缺陷。The purpose of the present invention provides a permanent magnet synchronous motor stator voltage detection system and method thereof under two-phase conversion. Pin is connected with the second signal receiving pin, and the described data acquisition system based on DSP is also connected with the host computer through the interface of serial data communication, and the described host computer has a permanent magnet synchronous motor under two-phase conversion Stator voltage detection module, the permanent magnet synchronous motor stator voltage detection module under the two-phase conversion includes a three-phase rotating coordinate to two-phase rotating coordinate conversion module, and the upper computer also includes a VISA module, combined with its method It can effectively avoid the defect that there is no such technology in the prior art to dynamically observe the stator voltage under the two-phase rotating coordinates due to the huge amount of data, which cannot be solved in a simple way so far.

为了克服现有技术中的不足,本发明提供了一种两相变换下的永磁同步电机定子电压检测系统及其方法的解决方案,具体如下:In order to overcome the deficiencies in the prior art, the present invention provides a solution to the permanent magnet synchronous motor stator voltage detection system and method thereof under two-phase conversion, specifically as follows:

一种两相变换下的永磁同步电机定子电压检测系统,包括在永磁同步电机定子的三相绕组中的两相绕组旁分别设置有第一电磁感应电压传感器1和第二电磁感应电压传感器2,所述的第一电磁感应电压传感器1和第二电磁感应电压传感器2能够分别感应出所述的两相绕组的电压,所述的第一电磁感应电压传感器1和第二电磁感应电压传感器2分别同带有串行通信接口模块的基于DSP的数据采集系统4的第一信号接收管脚5和第二信号接收管脚6相连接,所述的基于DSP的数据采集系统4还通过串行数据通信的接口8同上位机9相连接,所述的上位机9带有两相变换下的永磁同步电机定子电压检测模块10,所述的两相变换下的永磁同步电机定子电压检测模块10包含有三相旋转坐标到两相旋转坐标变换模块11,所述的上位机9中还包含有VISA模块。A permanent magnet synchronous motor stator voltage detection system under two-phase conversion, comprising a first electromagnetic induction voltage sensor 1 and a second electromagnetic induction voltage sensor respectively arranged beside two phase windings of the three-phase windings of the permanent magnet synchronous motor stator 2. The first electromagnetic induction voltage sensor 1 and the second electromagnetic induction voltage sensor 2 can respectively sense the voltages of the two-phase windings, and the first electromagnetic induction voltage sensor 1 and the second electromagnetic induction voltage sensor 2 are respectively connected with the first signal receiving pin 5 and the second signal receiving pin 6 of the DSP-based data acquisition system 4 with the serial communication interface module, and the described DSP-based data acquisition system 4 is also connected through the serial The interface 8 for data communication is connected with the upper computer 9, and the upper computer 9 has a permanent magnet synchronous motor stator voltage detection module 10 under the two-phase conversion, and the permanent magnet synchronous motor stator voltage under the two-phase conversion is The detection module 10 includes a three-phase rotating coordinate to two-phase rotating coordinate transformation module 11, and the host computer 9 also includes a VISA module.

所述的两相变换下的永磁同步电机定子电压检测模块10还包括有人机交互界面,所述的人机交互界面包括操作界面部分与显示界面部分,所述的操作界面部分为通过对操作界面的进行操作后就能经过两相变换下的永磁同步电机定子电压检测模块10对上位机9发送指令;所述的显示界面部分分为波形显示部分和仪表显示部分,所述的波形显示部分能够检测到选定范围内永磁同步电机的定子在两相旋转坐标系下的电压数据的整个变化过程;所述的仪表显示部分能够稳定显示永磁同步电机的定子在两相旋转坐标系下的电压的数据。The stator voltage detection module 10 of the permanent magnet synchronous motor under the two-phase conversion also includes a man-machine interface, and the man-machine interface includes an operation interface part and a display interface part, and the operation interface part is for operating After the operation of the interface, the permanent magnet synchronous motor stator voltage detection module 10 under the two-phase conversion can send instructions to the upper computer 9; the display interface part is divided into a waveform display part and an instrument display part, and the waveform display part Part of it can detect the entire change process of the voltage data of the stator of the permanent magnet synchronous motor in the two-phase rotating coordinate system within the selected range; the instrument display part can stably display the stator of the permanent magnet synchronous motor in the two-phase rotating coordinate system The voltage data below.

所述的波形显示部分通过波形显示窗口显示永磁同步电机的定子电压的幅值-时间曲线,所述的仪器显示部分包括有两个圆弧状刻度区域,所述的两个圆弧状刻度区域分别用来表示永磁同步电机定子在两相旋转坐标系下的d轴电压值范围以及永磁同步电机定子在两相旋转坐标系下的q轴电压值范围,所述的两个圆弧状刻度区域的下方各自设置有一个指针状图标,所述的两个圆弧状刻度区域的上方分别设置有用来显示永磁同步电机定子在两相旋转坐标系下的d轴电压值的文本框以及在两相旋转坐标系下的q轴电压值的文本框。The waveform display part displays the amplitude-time curve of the stator voltage of the permanent magnet synchronous motor through the waveform display window, and the instrument display part includes two arc-shaped scale areas, and the two arc-shaped scales The regions are respectively used to indicate the d-axis voltage value range of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system and the q-axis voltage value range of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system. The two arcs A pointer-like icon is set below each of the two arc-shaped scale areas, and a text box for displaying the d-axis voltage value of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system is respectively set above the two arc-shaped scale areas. And the text box of the q-axis voltage value under the two-phase rotating coordinate system.

所述的操作界面部分包括串口参数设置部分、波形选择部分、波形调整部分、控制部分以及波形显示参数设置部分,所述的串口参数设置部分用于对串口通信的参数的初始化,所述的串口参数设置部分包括有用于串行端口号选择的选择框和用于设置串口通信波特率的文本框,所述的用于串行端口号选择的选择框中预设的选择值为上位机9能够识别的串行端口号,所述的波形显示参数设置部分包括用来设置数据IQ格式的转换模式的文本框、用来设置缓存大小的文本框以及用来设置采样频率的文本框,所述的波形调整部分包括用来选择基于DSP的数据采集系统的通道的选择按钮、用来选择是否对被选择的基于DSP的数据采集系统的通道的幅值进行测量的游标开关按钮、用来选择是否对被选择的基于DSP的数据采集系统的通道的时间进行测量的游标开关按钮、用来显示被选择的基于DSP的数据采集系统的通道的幅值的文本框、用来显示被选择的基于DSP的数据采集系统的通道的时间的文本框、用于设置游标刻度值的文本框以及用于波形移动的左右拉条,所述的控制部分包括开始按钮、暂停按钮和停止按钮,所述的开始按钮、暂停按钮和停止按钮分别对被测波形执行启动、暂停运行和终止运行的控制,所述的波形选择部分包括用于选择显示永磁同步电机定子在两相旋转坐标系下的d轴电压波形的点选框和用于选择显示永磁同步电机定子在两相旋转坐标系下的q轴电压波形的点选框,这样就能通过选择后在波形显示窗口显示对应选择的用于选择显示永磁同步电机定子在两相旋转坐标系下的d轴电压波形图或者用于选择显示永磁同步电机定子在两相旋转坐标系下的q轴电压波形图。The operation interface part includes a serial port parameter setting part, a waveform selection part, a waveform adjustment part, a control part and a waveform display parameter setting part, and the serial port parameter setting part is used for initializing the parameters of the serial port communication, and the serial port The parameter setting part includes a selection box for serial port number selection and a text box for setting the serial port communication baud rate, and the preset selection value in the selection box for serial port number selection is the upper computer 9 identifiable serial port number, the waveform display parameter setting part includes a text box used to set the conversion mode of the data IQ format, a text box used to set the buffer size and a text box used to set the sampling frequency, the said The waveform adjustment part includes the selection button for selecting the channel of the DSP-based data acquisition system, the cursor switch button for selecting whether to measure the amplitude of the selected channel of the DSP-based data acquisition system, and the cursor switch button for selecting whether to The cursor switch button for measuring the time of the channel of the selected DSP-based data acquisition system, the text box used to display the amplitude of the selected DSP-based data acquisition system channel, and the text box used to display the selected DSP-based data acquisition system The text box for the time of the channel of the data acquisition system, the text box for setting the vernier scale value, and the left and right bars for waveform movement. The control part includes a start button, a pause button and a stop button. The start button The button, the pause button and the stop button respectively execute the control of starting, suspending and terminating the measured waveform. The waveform selection part includes the d-axis voltage for selecting and displaying the stator of the permanent magnet synchronous motor under the two-phase rotating coordinate system. The click box for the waveform and the click box for selecting and displaying the q-axis voltage waveform of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system, so that the corresponding selection can be displayed in the waveform display window after selection The d-axis voltage waveform diagram of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system or the q-axis voltage waveform diagram of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system can be selected and displayed.

所述的两相变换下的永磁同步电机定子电压检测系统的方法,步骤如下:The method for the stator voltage detection system of the permanent magnet synchronous motor under the two-phase conversion, the steps are as follows:

步骤1:首先启动两相变换下的永磁同步电机定子电压检测系统,第一电磁感应电压传感器1和第二电磁感应电压传感器2分别感应出所述的两相绕组的电压,以此对永磁同步电机定子的所述的两相绕组的电压进行数据采集,并把采集到的所述的两相绕组的电压值传递到基于DSP的数据采集系统4,并通过两相变换下的永磁同步电机定子电压检测模块10运行人机交互界面,在人机交互界面上串口参数设置部分选择串行端口号和串口通信波特率,并让串口通信波特率同基于DSP的数据采集系统4中的串行通信接口模块内设置的串口通信波特率一致;Step 1: First start the permanent magnet synchronous motor stator voltage detection system under two-phase conversion, the first electromagnetic induction voltage sensor 1 and the second electromagnetic induction voltage sensor 2 respectively sense the voltages of the two-phase windings, so as to measure the permanent magnet synchronous motor voltage. The voltage of the described two-phase winding of the magnetic synchronous motor stator is carried out data acquisition, and the voltage value of the described two-phase winding that gathers is delivered to the data acquisition system 4 based on DSP, and through the permanent magnet under two-phase transformation The synchronous motor stator voltage detection module 10 runs the man-machine interface, selects the serial port number and the serial port communication baud rate in the serial port parameter setting part of the man-machine interface, and makes the serial port communication baud rate the same as that of the DSP-based data acquisition system 4 The serial communication baud rate set in the serial communication interface module is consistent;

步骤2:在两相变换下的永磁同步电机定子电压检测模块10的其他地方对串口通信的奇偶校验位、数据比特位和停止位进行设置,所述的对串口通信的奇偶校验位、数据比特位和停止位设置的值分别同基于DSP的数据采集系统4中的串行通信接口模块内设置的串口通信的奇偶校验位、数据比特位和停止位设置的值一致;Step 2: In other places of the permanent magnet synchronous motor stator voltage detection module 10 under two-phase conversion, the parity bit, data bit and stop bit of the serial port communication are set, and the parity bit of the serial port communication is described , the value that data bit position and stop bit set are consistent with the parity check bit, data bit position and the value that stop bit set of the serial port communication that is set in the serial communication interface module in the data acquisition system 4 based on DSP respectively;

步骤3:另外在用来设置数据IQ格式的转换模式的文本框、用来设置缓存大小的文本框以及用来设置采样频率的文本框中分别进行对数据IQ格式的转换模式、缓存大小以及采样频率的设置,通过用来选择基于DSP的数据采集系统的通道的选择按钮进行对基于DSP的数据采集系统的通道的选择,通过用来选择是否对被选择的基于DSP的数据采集系统的通道的幅值进行测量的游标开关按钮、用来选择是否对被选择的基于DSP的数据采集系统的通道的时间进行测量的游标开关按钮以及用于设置游标刻度值的文本框分别进行是否对被选择的基于DSP的数据采集系统的通道的幅值进行测量做出选择、是否对被选择的基于DSP的数据采集系统的通道的时间进行测量做出选择以及设置游标刻度值;Step 3: In addition, in the text box used to set the conversion mode of the data IQ format, the text box used to set the cache size and the text box used to set the sampling frequency, respectively perform the conversion mode, cache size and sampling of the data IQ format Frequency setting, select the channel of the DSP-based data acquisition system through the selection button used to select the channel of the DSP-based data acquisition system, and select whether to select the channel of the selected DSP-based data acquisition system The cursor switch button for amplitude measurement, the cursor switch button for selecting whether to measure the time of the channel of the selected DSP-based data acquisition system, and the text box for setting the value of the cursor scale. Make a selection based on the amplitude of the channel of the DSP-based data acquisition system, whether to measure the time of the selected channel of the DSP-based data acquisition system, and set the vernier scale value;

步骤4:通过点选用于选择显示永磁同步电机定子在两相旋转坐标系下的d轴电压波形的点选框或者用于选择显示永磁同步电机定子在两相旋转坐标系下的q轴电压波形的点选框来选择在波形显示窗口显示的电压波形类别,这样就完成了初始化设置;Step 4: Click to select the checkbox for displaying the d-axis voltage waveform of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system or to select the q-axis for displaying the permanent magnet synchronous motor stator in the two-phase rotating coordinate system Click the check box of the voltage waveform to select the voltage waveform category displayed in the waveform display window, thus completing the initialization setting;

步骤5:然后当点击了开始按钮后,所述的两相变换下的永磁同步电机定子电压检测模块10就把测量指令通过串行数据通信的接口8发送到基于DSP的数据采集系统4,所述的测量指令包括有初始化设置的信息,并且两相变换下的永磁同步电机定子电压检测模块10在内存中设置有用来保存当前初始化设置的信息的数组,每次在保存当前初始化设置的信息之前,先把当前初始化设置的信息同上一次保存在该数组中的上一次初始化设置的信息相比较,如果有差异,就将当前初始化设置的信息保存到用来保存当前初始化设置的信息的数组中,如果没有差异,用来保存当前初始化设置的信息的数组的数据保持不变;Step 5: Then when the start button is clicked, the permanent magnet synchronous motor stator voltage detection module 10 under the two-phase conversion will send the measurement instruction to the data acquisition system 4 based on DSP through the serial data communication interface 8, The measurement instruction includes the information of initialization setting, and the permanent magnet synchronous motor stator voltage detection module 10 under the two-phase conversion is provided with an array for saving the information of the current initialization setting in the internal memory, each time when saving the current initialization setting Before information, first compare the information of the current initialization setting with the information of the last initialization setting saved in the array last time, if there is a difference, save the information of the current initialization setting to the array used to save the information of the current initialization setting In , if there is no difference, the data of the array used to save the information of the current initialization settings remains unchanged;

步骤6:当基于DSP的数据采集系统4接收到经由串行数据通信的接口8传递来的包括有初始化设置的信息的测量指令,就会根据初始化设置的信息中的选择在波形显示窗口显示的电压波形类别和对基于DSP的数据采集系统的通道的选择把实时采集的同电压波形类别相对应的电压数据通过选择的通道发送到上位机9中;Step 6: When the DSP-based data acquisition system 4 receives the measurement instruction including the information of the initialization setting transmitted via the interface 8 of the serial data communication, it will display in the waveform display window according to the selection in the information of the initialization setting The voltage waveform category and the channel selection of the DSP-based data acquisition system send the voltage data corresponding to the voltage waveform category collected in real time to the upper computer 9 through the selected channel;

步骤7:上位机9接收到电压数据后,两相变换下的永磁同步电机定子电压检测模块10就设置缓存区来存储接收到的电压数据,串口通信每次以4个字节为一组的收发数据,接收到的电压输数据为IQ格式的数据,这样再经过格式转化将接收到的电压输数据转换成普通十进制有符号数所表示的波形真实数据,格式转化的具体方式为先判断接收到的电压输数据的正负号属性来导出有符号数,有符号数再经过逆运算即可得到波形真实数据,所述的波形真实数据包括永磁同步电机定子的所述的两相绕组的电压值,再通过永磁同步电机定子的三相绕组的电压值之和为0的条件就能导出永磁同步电机定子的三相绕组中的另外一相绕组的电压值,所述的永磁同步电机定子的三相绕组中的A相绕组的电压值、B相绕组的电压值和C组绕组的电压值分别表示为Va、Vb和Vc,两相变换下的永磁同步电机定子电压检测模块10中的三相旋转坐标到两相旋转坐标变换模块11根据永磁同步电机定子的三相绕组中的A相绕组的电压值、B相绕组的电压值和C组绕组的电压值,所述的永磁同步电机定子的三相绕组中的A相绕组的电压值、B相绕组的电压值和C组绕组的电压值按照公式(1)和公式(2)导出永磁同步电机定子在两相旋转坐标系下的d轴电压值以及在两相旋转坐标系下的q轴电压值,所述的永磁同步电机定子在两相静止坐标系下的a轴电压值以及在两相静止坐标系下的β轴电压值分别为Va和Vβ,所述的永磁同步电机定子在两相旋转坐标系下的d轴电压值以及在两相旋转坐标系下的q轴电压值分别为Vd和Vq,θ表示d轴同a轴的夹角:Step 7: After the host computer 9 receives the voltage data, the stator voltage detection module 10 of the permanent magnet synchronous motor under two-phase conversion sets a buffer area to store the received voltage data, and the serial port communication uses 4 bytes as a group each time The received and received voltage input data is data in IQ format, so that the received voltage input data is converted into real waveform data represented by ordinary decimal signed numbers after format conversion. The specific method of format conversion is first judged The sign attribute of the received voltage input data is used to derive the signed number, and the signed number can be inversely calculated to obtain the real waveform data. The real waveform data includes the two-phase winding of the stator of the permanent magnet synchronous motor The voltage value of the permanent magnet synchronous motor stator, and then through the condition that the sum of the voltage values of the three-phase windings of the permanent magnet synchronous motor stator is 0, the voltage value of the other phase winding in the three-phase winding of the permanent magnet synchronous motor stator can be derived. Among the three-phase windings of the magnetic synchronous motor stator, the voltage value of the A-phase winding, the voltage value of the B-phase winding and the voltage value of the C-group winding are expressed as V a , V b and V c respectively. The permanent magnet synchronous The three-phase rotating coordinate in the motor stator voltage detection module 10 is converted to the two-phase rotating coordinate conversion module 11 according to the voltage value of the A-phase winding in the three-phase winding of the permanent magnet synchronous motor stator, the voltage value of the B-phase winding and the voltage value of the C group winding Voltage value, the voltage value of the A-phase winding in the three-phase winding of the permanent magnet synchronous motor stator, the voltage value of the B-phase winding and the voltage value of the C group winding derive permanent magnet according to formula (1) and formula (2) The d-axis voltage value of the synchronous motor stator under the two-phase rotating coordinate system and the q-axis voltage value under the two-phase rotating coordinate system, the a-axis voltage value of the permanent magnet synchronous motor stator under the two-phase stationary coordinate system and The β-axis voltage values in the two-phase stationary coordinate system are V a and V β respectively, and the d-axis voltage values of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system and q in the two-phase rotating coordinate system The axial voltage values are V d and V q respectively, and θ represents the angle between the d axis and the a axis:

所述的永磁同步电机定子在两相旋转坐标系下的d轴电压值以及在两相旋转坐标系下的q轴电压值保存于缓存区中以备生成观测波形,在数据存放时,每一次循环,数组都会经过向后移位将新读取到的数据存放在缓存区最前面,数组尾部移出的数据将被剔除;The d-axis voltage value of the permanent magnet synchronous motor stator under the two-phase rotating coordinate system and the q-axis voltage value under the two-phase rotating coordinate system are stored in the buffer area in order to prepare for generating observation waveforms. When the data is stored, each In a loop, the array will be shifted backwards to store the newly read data at the front of the buffer, and the data moved out from the end of the array will be removed;

步骤8:把缓存区中的所述的永磁同步电机定子在两相旋转坐标系下的d轴电压值或者在两相旋转坐标系下的q轴电压值送到波形显示窗口针对对应的永磁同步电机的定子电压以幅值-时间曲线的形式进行显示,或者在仪器显示部分通过指针状图标在圆弧状刻度区域内标示并在对应的用来显示所述的永磁同步电机定子在两相旋转坐标系下的d轴电压值的文本框或者在两相旋转坐标系下的q轴电压值的文本框中显示电压值。Step 8: Send the d-axis voltage value of the permanent magnet synchronous motor stator in the buffer area under the two-phase rotating coordinate system or the q-axis voltage value under the two-phase rotating coordinate system to the waveform display window for the corresponding permanent magnet synchronous motor. The stator voltage of the magnetic synchronous motor is displayed in the form of an amplitude-time curve, or in the display part of the instrument, it is marked in the arc-shaped scale area by a pointer icon and is used to display the corresponding permanent magnet synchronous motor stator. The voltage value is displayed in the text box of the d-axis voltage value in the two-phase rotating coordinate system or in the text box of the q-axis voltage value in the two-phase rotating coordinate system.

本发明在显示过程中,幅值和时间刻度还可以根据需要进行放大和缩小,以便于对波形细部进行分析。实现波形显示后,还可以通过面板上的时间幅值游标对波形时间和幅值的大小进行测量,实现对被测量的定量分析。In the display process of the present invention, the amplitude and the time scale can also be enlarged and reduced as required, so as to analyze the details of the waveform. After the waveform display is realized, the time and amplitude of the waveform can also be measured through the time and amplitude cursors on the panel, so as to realize the quantitative analysis of the measured object.

附图说明Description of drawings

图1为本发明的两相变换下的永磁同步电机定子电压检测系统连接结构示意图。FIG. 1 is a schematic diagram of the connection structure of the permanent magnet synchronous motor stator voltage detection system under two-phase conversion according to the present invention.

具体实施方式detailed description

控制与测试是两个相关度非常高的领域,从测试领域起家的LabVIEW自然而然地首先拓展至控制领域。LabVIEW拥有专门用于控制领域的模块LabVIEWDSC。除此之外,工业控制领域常用的设备、数据线等通常也都带有相应的LabVIEW驱动程序。使用LabVIEW可以非常方便的编制各种控制程序。Control and testing are two highly related fields. LabVIEW, which started from the testing field, naturally expanded to the control field first. LabVIEW has a module LabVIEWDSC specially used in the control field. In addition, commonly used devices and data lines in the field of industrial control usually have corresponding LabVIEW drivers. Various control programs can be compiled very conveniently using LabVIEW.

如图1所示,两相变换下的永磁同步电机定子电压检测系统,包括在永磁同步电机定子的三相绕组中的两相绕组旁分别设置有第一电磁感应电压传感器1和第二电磁感应电压传感器2,所述的第一电磁感应电压传感器1和第二电磁感应电压传感器2能够分别感应出所述的两相绕组的电压,所述的第一电磁感应电压传感器1和第二电磁感应电压传感器2分别同带有串行通信接口模块的基于DSP的数据采集系统4的第一信号接收管脚5和第二信号接收管脚6相连接,所述的基于DSP的数据采集系统4还通过串行数据通信的接口8同上位机9相连接,所述的上位机9带有两相变换下的永磁同步电机定子电压检测模块10,所述的两相变换下的永磁同步电机定子电压检测模块10包含有三相旋转坐标到两相旋转坐标变换模块11,所述的上位机9中还包含有VISA模块。所述的两相变换下的永磁同步电机定子电压检测模块10还包括有人机交互界面,所述的人机交互界面包括操作界面部分与显示界面部分,所述的操作界面部分为通过对操作界面的进行操作后就能经过两相变换下的永磁同步电机定子电压检测模块10对上位机9发送指令;所述的显示界面部分分为波形显示部分和仪表显示部分,所述的波形显示部分能够检测到选定范围内永磁同步电机的定子在两相旋转坐标系下的电压数据的整个变化过程;所述的仪表显示部分能够稳定显示永磁同步电机的定子在两相旋转坐标系下的电压的数据。所述的波形显示部分通过波形显示窗口显示永磁同步电机的定子电压的幅值-时间曲线,所述的仪器显示部分包括有两个圆弧状刻度区域,所述的两个圆弧状刻度区域分别用来表示永磁同步电机定子在两相旋转坐标系下的d轴电压值范围以及永磁同步电机定子在两相旋转坐标系下的q轴电压值范围,所述的两个圆弧状刻度区域的下方各自设置有一个指针状图标,所述的两个圆弧状刻度区域的上方分别设置有用来显示永磁同步电机定子在两相旋转坐标系下的d轴电压值的文本框以及在两相旋转坐标系下的q轴电压值的文本框。所述的操作界面部分包括串口参数设置部分、波形选择部分、波形调整部分、控制部分以及波形显示参数设置部分,所述的串口参数设置部分用于对串口通信的参数的初始化,所述的串口参数设置部分包括有用于串行端口号选择的选择框和用于设置串口通信波特率的文本框,所述的用于串行端口号选择的选择框中预设的选择值为上位机9能够识别的串行端口号,所述的波形显示参数设置部分包括用来设置数据IQ格式的转换模式的文本框、用来设置缓存大小的文本框以及用来设置采样频率的文本框,所述的波形调整部分包括用来选择基于DSP的数据采集系统的通道的选择按钮、用来选择是否对被选择的基于DSP的数据采集系统的通道的幅值进行测量的游标开关按钮、用来选择是否对被选择的基于DSP的数据采集系统的通道的时间进行测量的游标开关按钮、用来显示被选择的基于DSP的数据采集系统的通道的幅值的文本框、用来显示被选择的基于DSP的数据采集系统的通道的时间的文本框、用于设置游标刻度值的文本框以及用于波形移动的左右拉条,所述的控制部分包括开始按钮、暂停按钮和停止按钮,所述的开始按钮、暂停按钮和停止按钮分别对被测波形执行启动、暂停运行和终止运行的控制,所述的波形选择部分包括用于选择显示永磁同步电机定子在两相旋转坐标系下的d轴电压波形的点选框和用于选择显示永磁同步电机定子在两相旋转坐标系下的q轴电压波形的点选框,这样就能通过选择后在波形显示窗口显示对应选择的用于选择显示永磁同步电机定子在两相旋转坐标系下的d轴电压波形图或者用于选择显示永磁同步电机定子在两相旋转坐标系下的q轴电压波形图。As shown in Figure 1, the permanent magnet synchronous motor stator voltage detection system under two-phase conversion includes first electromagnetic induction voltage sensors 1 and second electromagnetic induction voltage sensors 1 and second Electromagnetic induction voltage sensor 2, the first electromagnetic induction voltage sensor 1 and the second electromagnetic induction voltage sensor 2 can respectively induce the voltage of the two-phase winding, the first electromagnetic induction voltage sensor 1 and the second electromagnetic induction voltage sensor 2 The electromagnetic induction voltage sensor 2 is respectively connected with the first signal receiving pin 5 and the second signal receiving pin 6 of the DSP-based data acquisition system 4 with the serial communication interface module, and the described DSP-based data acquisition system 4 is also connected with the host computer 9 through the serial data communication interface 8, the host computer 9 has a permanent magnet synchronous motor stator voltage detection module 10 under the two-phase conversion, and the permanent magnet synchronous motor under the two-phase conversion The synchronous motor stator voltage detection module 10 includes a three-phase rotating coordinate to two-phase rotating coordinate transformation module 11, and the host computer 9 also includes a VISA module. The stator voltage detection module 10 of the permanent magnet synchronous motor under the two-phase conversion also includes a man-machine interface, and the man-machine interface includes an operation interface part and a display interface part, and the operation interface part is for operating After the operation of the interface, the permanent magnet synchronous motor stator voltage detection module 10 under the two-phase conversion can send instructions to the upper computer 9; the display interface part is divided into a waveform display part and an instrument display part, and the waveform display part Part of it can detect the entire change process of the voltage data of the stator of the permanent magnet synchronous motor in the two-phase rotating coordinate system within the selected range; the instrument display part can stably display the stator of the permanent magnet synchronous motor in the two-phase rotating coordinate system The voltage data below. The waveform display part displays the amplitude-time curve of the stator voltage of the permanent magnet synchronous motor through the waveform display window, and the instrument display part includes two arc-shaped scale areas, and the two arc-shaped scales The regions are respectively used to indicate the d-axis voltage value range of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system and the q-axis voltage value range of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system. The two arcs A pointer-like icon is set below each of the two arc-shaped scale areas, and a text box for displaying the d-axis voltage value of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system is respectively set above the two arc-shaped scale areas. And the text box of the q-axis voltage value under the two-phase rotating coordinate system. The operation interface part includes a serial port parameter setting part, a waveform selection part, a waveform adjustment part, a control part and a waveform display parameter setting part, and the serial port parameter setting part is used for initializing the parameters of the serial port communication, and the serial port The parameter setting part includes a selection box for serial port number selection and a text box for setting the serial port communication baud rate, and the preset selection value in the selection box for serial port number selection is the upper computer 9 identifiable serial port number, the waveform display parameter setting part includes a text box used to set the conversion mode of the data IQ format, a text box used to set the buffer size and a text box used to set the sampling frequency, the said The waveform adjustment part includes the selection button for selecting the channel of the DSP-based data acquisition system, the cursor switch button for selecting whether to measure the amplitude of the selected channel of the DSP-based data acquisition system, and the cursor switch button for selecting whether to The cursor switch button for measuring the time of the channel of the selected DSP-based data acquisition system, the text box used to display the amplitude of the selected DSP-based data acquisition system channel, and the text box used to display the selected DSP-based data acquisition system The text box for the time of the channel of the data acquisition system, the text box for setting the vernier scale value, and the left and right pull bars for waveform movement. The control part includes a start button, a pause button and a stop button. The start button The button, the pause button and the stop button respectively execute the control of starting, suspending and terminating the measured waveform. The waveform selection part includes the d-axis voltage for selecting and displaying the stator of the permanent magnet synchronous motor under the two-phase rotating coordinate system. The click box for the waveform and the click box for selecting and displaying the q-axis voltage waveform of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system, so that the corresponding selection can be displayed in the waveform display window after selection The d-axis voltage waveform diagram of the permanent magnet synchronous motor stator under the two-phase rotating coordinate system or the q-axis voltage waveform diagram of the permanent magnet synchronous motor stator under the two-phase rotating coordinate system can be selected and displayed.

所述的两相变换下的永磁同步电机定子电压检测系统的方法,步骤如下:The method for the stator voltage detection system of the permanent magnet synchronous motor under the two-phase conversion, the steps are as follows:

步骤1:首先启动两相变换下的永磁同步电机定子电压检测系统,第一电磁感应电压传感器1和第二电磁感应电压传感器2分别感应出所述的两相绕组的电压,以此对永磁同步电机定子的所述的两相绕组的电压进行数据采集,并把采集到的所述的两相绕组的电压值传递到基于DSP的数据采集系统4,并通过两相变换下的永磁同步电机定子电压检测模块10运行人机交互界面,在人机交互界面上串口参数设置部分选择串行端口号和串口通信波特率,并让串口通信波特率同基于DSP的数据采集系统4中的串行通信接口模块内设置的串口通信波特率一致;Step 1: First start the permanent magnet synchronous motor stator voltage detection system under two-phase conversion, the first electromagnetic induction voltage sensor 1 and the second electromagnetic induction voltage sensor 2 respectively sense the voltages of the two-phase windings, so as to measure the permanent magnet synchronous motor voltage. The voltage of the described two-phase winding of the magnetic synchronous motor stator is carried out data acquisition, and the voltage value of the described two-phase winding that gathers is delivered to the data acquisition system 4 based on DSP, and through the permanent magnet under two-phase transformation The synchronous motor stator voltage detection module 10 runs the man-machine interface, selects the serial port number and the serial port communication baud rate in the serial port parameter setting part of the man-machine interface, and makes the serial port communication baud rate the same as that of the DSP-based data acquisition system 4 The serial communication baud rate set in the serial communication interface module is consistent;

步骤2:在两相变换下的永磁同步电机定子电压检测模块10的其他地方对串口通信的奇偶校验位、数据比特位和停止位进行设置,所述的对串口通信的奇偶校验位、数据比特位和停止位设置的值分别同基于DSP的数据采集系统4中的串行通信接口模块内设置的串口通信的奇偶校验位、数据比特位和停止位设置的值一致;Step 2: In other places of the permanent magnet synchronous motor stator voltage detection module 10 under two-phase conversion, the parity bit, data bit and stop bit of the serial port communication are set, and the parity bit of the serial port communication is described , the value that data bit position and stop bit set are consistent with the parity check bit, data bit position and the value that stop bit set of the serial port communication that is set in the serial communication interface module in the data acquisition system 4 based on DSP respectively;

步骤3:另外在用来设置数据IQ格式的转换模式的文本框、用来设置缓存大小的文本框以及用来设置采样频率的文本框中分别进行对数据IQ格式的转换模式、缓存大小以及采样频率的设置,通过用来选择基于DSP的数据采集系统的通道的选择按钮进行对基于DSP的数据采集系统的通道的选择,通过用来选择是否对被选择的基于DSP的数据采集系统的通道的幅值进行测量的游标开关按钮、用来选择是否对被选择的基于DSP的数据采集系统的通道的时间进行测量的游标开关按钮以及用于设置游标刻度值的文本框分别进行是否对被选择的基于DSP的数据采集系统的通道的幅值进行测量做出选择、是否对被选择的基于DSP的数据采集系统的通道的时间进行测量做出选择以及设置游标刻度值;Step 3: In addition, in the text box used to set the conversion mode of the data IQ format, the text box used to set the cache size and the text box used to set the sampling frequency, respectively perform the conversion mode, cache size and sampling of the data IQ format Frequency setting, select the channel of the DSP-based data acquisition system through the selection button used to select the channel of the DSP-based data acquisition system, and select whether to select the channel of the selected DSP-based data acquisition system The cursor switch button for amplitude measurement, the cursor switch button for selecting whether to measure the time of the channel of the selected DSP-based data acquisition system, and the text box for setting the value of the cursor scale. Make a selection based on the amplitude of the channel of the DSP-based data acquisition system, whether to measure the time of the selected channel of the DSP-based data acquisition system, and set the vernier scale value;

步骤4:通过点选用于选择显示永磁同步电机定子在两相旋转坐标系下的d轴电压波形的点选框或者用于选择显示永磁同步电机定子在两相旋转坐标系下的q轴电压波形的点选框来选择在波形显示窗口显示的电压波形类别,这样就完成了初始化设置;Step 4: Click to select the checkbox for displaying the d-axis voltage waveform of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system or to select the q-axis for displaying the permanent magnet synchronous motor stator in the two-phase rotating coordinate system Click the check box of the voltage waveform to select the voltage waveform category displayed in the waveform display window, thus completing the initialization setting;

步骤5:然后当点击了开始按钮后,所述的两相变换下的永磁同步电机定子电压检测模块10就把测量指令通过串行数据通信的接口8发送到基于DSP的数据采集系统4,所述的测量指令包括有初始化设置的信息,并且两相变换下的永磁同步电机定子电压检测模块10在内存中设置有用来保存当前初始化设置的信息的数组,每次在保存当前初始化设置的信息之前,先把当前初始化设置的信息同上一次保存在该数组中的上一次初始化设置的信息相比较,如果有差异,就将当前初始化设置的信息保存到用来保存当前初始化设置的信息的数组中,如果没有差异,用来保存当前初始化设置的信息的数组的数据保持不变;Step 5: Then when the start button is clicked, the permanent magnet synchronous motor stator voltage detection module 10 under the two-phase conversion will send the measurement instruction to the data acquisition system 4 based on DSP through the serial data communication interface 8, The measurement instruction includes the information of initialization setting, and the permanent magnet synchronous motor stator voltage detection module 10 under the two-phase conversion is provided with an array for saving the information of the current initialization setting in the internal memory, each time when saving the current initialization setting Before information, first compare the information of the current initialization setting with the information of the last initialization setting saved in the array last time, if there is a difference, save the information of the current initialization setting to the array used to save the information of the current initialization setting In , if there is no difference, the data of the array used to save the information of the current initialization settings remains unchanged;

步骤6:当基于DSP的数据采集系统4接收到经由串行数据通信的接口8传递来的包括有初始化设置的信息的测量指令,就会根据初始化设置的信息中的选择在波形显示窗口显示的电压波形类别和对基于DSP的数据采集系统的通道的选择把实时采集的同电压波形类别相对应的电压数据通过选择的通道发送到上位机9中;Step 6: When the DSP-based data acquisition system 4 receives the measurement instruction including the information of the initialization setting transmitted via the interface 8 of the serial data communication, it will display in the waveform display window according to the selection in the information of the initialization setting The voltage waveform category and the channel selection of the DSP-based data acquisition system send the voltage data corresponding to the voltage waveform category collected in real time to the upper computer 9 through the selected channel;

步骤7:上位机9接收到电压数据后,两相变换下的永磁同步电机定子电压检测模块10就设置缓存区来存储接收到的电压数据,串口通信每次以4个字节为一组的收发数据,接收到的电压输数据为IQ格式的数据,这样再经过格式转化将接收到的电压输数据转换成普通十进制有符号数所表示的波形真实数据,格式转化的具体方式为先判断接收到的电压输数据的正负号属性来导出有符号数,有符号数再经过逆运算即可得到波形真实数据,所述的波形真实数据包括永磁同步电机定子的所述的两相绕组的电压值,再通过永磁同步电机定子的三相绕组的电压值之和为0的条件就能导出永磁同步电机定子的三相绕组中的另外一相绕组的电压值,所述的永磁同步电机定子的三相绕组中的A相绕组的电压值、B相绕组的电压值和C组绕组的电压值分别表示为Va、Vb和Vc,两相变换下的永磁同步电机定子电压检测模块10中的三相旋转坐标到两相旋转坐标变换模块11根据永磁同步电机定子的三相绕组中的A相绕组的电压值、B相绕组的电压值和C组绕组的电压值,所述的永磁同步电机定子的三相绕组中的A相绕组的电压值、B相绕组的电压值和C组绕组的电压值按照公式(1)和公式(2)导出永磁同步电机定子在两相旋转坐标系下的d轴电压值以及在两相旋转坐标系下的q轴电压值,所述的永磁同步电机定子在两相静止坐标系下的a轴电压值以及在两相静止坐标系下的β轴电压值分别为Va和Vβ,所述的永磁同步电机定子在两相旋转坐标系下的d轴电压值以及在两相旋转坐标系下的q轴电压值分别为Vd和Vq,θ表示d轴同a轴的夹角:Step 7: After the host computer 9 receives the voltage data, the stator voltage detection module 10 of the permanent magnet synchronous motor under two-phase conversion sets a buffer area to store the received voltage data, and the serial port communication uses 4 bytes as a group each time The received and received voltage input data is data in IQ format, so that the received voltage input data is converted into real waveform data represented by ordinary decimal signed numbers after format conversion. The specific method of format conversion is first judged The sign attribute of the received voltage input data is used to derive the signed number, and the signed number can be inversely calculated to obtain the real waveform data. The real waveform data includes the two-phase winding of the stator of the permanent magnet synchronous motor The voltage value of the permanent magnet synchronous motor stator, and then through the condition that the sum of the voltage values of the three-phase windings of the permanent magnet synchronous motor stator is 0, the voltage value of the other phase winding in the three-phase winding of the permanent magnet synchronous motor stator can be derived. Among the three-phase windings of the magnetic synchronous motor stator, the voltage value of the A-phase winding, the voltage value of the B-phase winding and the voltage value of the C-group winding are expressed as V a , V b and V c respectively. The permanent magnet synchronous The three-phase rotating coordinate in the motor stator voltage detection module 10 is converted to the two-phase rotating coordinate conversion module 11 according to the voltage value of the A-phase winding in the three-phase winding of the permanent magnet synchronous motor stator, the voltage value of the B-phase winding and the voltage value of the C group winding Voltage value, the voltage value of the A-phase winding in the three-phase winding of the permanent magnet synchronous motor stator, the voltage value of the B-phase winding and the voltage value of the C group winding derive permanent magnet according to formula (1) and formula (2) The d-axis voltage value of the synchronous motor stator under the two-phase rotating coordinate system and the q-axis voltage value under the two-phase rotating coordinate system, the a-axis voltage value of the permanent magnet synchronous motor stator under the two-phase stationary coordinate system and The β-axis voltage values in the two-phase stationary coordinate system are V a and V β respectively, and the d-axis voltage values of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system and q in the two-phase rotating coordinate system The axial voltage values are V d and V q respectively, and θ represents the angle between the d axis and the a axis:

所述的永磁同步电机定子在两相旋转坐标系下的d轴电压值以及在两相旋转坐标系下的q轴电压值保存于缓存区中以备生成观测波形,在数据存放时,每一次循环,数组都会经过向后移位将新读取到的数据存放在缓存区最前面,数组尾部移出的数据将被剔除;The d-axis voltage value of the permanent magnet synchronous motor stator under the two-phase rotating coordinate system and the q-axis voltage value under the two-phase rotating coordinate system are stored in the buffer area in order to prepare for generating observation waveforms. When the data is stored, each In a loop, the array will be shifted backwards to store the newly read data at the front of the buffer, and the data moved out from the end of the array will be removed;

步骤8:把缓存区中的所述的永磁同步电机定子在两相旋转坐标系下的d轴电压值或者在两相旋转坐标系下的q轴电压值送到波形显示窗口针对对应的永磁同步电机的定子电压以幅值-时间曲线的形式进行显示,或者在仪器显示部分通过指针状图标在圆弧状刻度区域内标示并在对应的用来显示所述的永磁同步电机定子在两相旋转坐标系下的d轴电压值的文本框或者在两相旋转坐标系下的q轴电压值的文本框中显示电压值。Step 8: Send the d-axis voltage value of the permanent magnet synchronous motor stator in the buffer area under the two-phase rotating coordinate system or the q-axis voltage value under the two-phase rotating coordinate system to the waveform display window for the corresponding permanent magnet synchronous motor. The stator voltage of the magnetic synchronous motor is displayed in the form of an amplitude-time curve, or in the display part of the instrument, it is marked in the arc-shaped scale area by a pointer icon and is used to display the corresponding permanent magnet synchronous motor stator. The voltage value is displayed in the text box of the d-axis voltage value in the two-phase rotating coordinate system or in the text box of the q-axis voltage value in the two-phase rotating coordinate system.

以上所述,仅是本发明的较佳实施例而已,并非对本发明作任何形式上的限制,虽然本发明已以较佳实施例揭露如上,然而并非用以限定本发明,任何熟悉本专业的技术人员,在不脱离本发明技术方案范围内,当可利用上述揭示的技术内容做出些许更动或修饰为等同变化的等效实施例,但凡是未脱离本发明技术方案内容,依据本发明的技术实质,在本发明的精神和原则之内,对以上实施例所作的任何简单的修改、等同替换与改进等,均仍属于本发明技术方案的保护范围之内。The above description is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. Anyone familiar with this field Those skilled in the art, without departing from the scope of the technical solution of the present invention, may use the technical content disclosed above to make some changes or modify equivalent embodiments with equivalent changes, but as long as they do not depart from the technical solution of the present invention, according to the technical content of the present invention Within the spirit and principles of the present invention, any simple modifications, equivalent replacements and improvements made to the above embodiments still fall within the scope of protection of the technical solutions of the present invention.

Claims (1)

1.一种两相变换下的永磁同步电机定子电压检测系统的方法,其特征在于两相变换下的永磁同步电机定子电压检测系统包括在永磁同步电机定子的三相绕组中的两相绕组旁分别设置有第一电磁感应电压传感器和第二电磁感应电压传感器,所述的第一电磁感应电压传感器和第二电磁感应电压传感器能够分别感应出所述的两相绕组的电压,所述的第一电磁感应电压传感器和第二电磁感应电压传感器分别同带有串行通信接口模块的基于DSP的数据采集系统的第一信号接收管脚和第二信号接收管脚相连接,所述的基于DSP的数据采集系统还通过串行数据通信的接口同上位机相连接,所述的上位机带有两相变换下的永磁同步电机定子电压检测模块,所述的两相变换下的永磁同步电机定子电压检测模块包含有三相旋转坐标到两相旋转坐标变换模块,所述的上位机中还包含有VISA模块;所述的两相变换下的永磁同步电机定子电压检测模块还包括有人机交互界面,所述的人机交互界面包括操作界面部分与显示界面部分,所述的操作界面部分为通过对操作界面的进行操作后就能经过两相变换下的永磁同步电机定子电压检测模块对上位机发送指令;所述的显示界面部分分为波形显示部分和仪表显示部分,所述的波形显示部分能够检测到选定范围内永磁同步电机的定子在两相旋转坐标系下的电压数据的整个变化过程;所述的仪表显示部分能够稳定显示永磁同步电机的定子在两相旋转坐标系下的电压的数据;1. The method of the permanent magnet synchronous motor stator voltage detection system under a kind of two-phase transformation, it is characterized in that the permanent magnet synchronous motor stator voltage detection system under the two-phase transformation comprises two in the three-phase winding of the permanent magnet synchronous motor stator A first electromagnetic induction voltage sensor and a second electromagnetic induction voltage sensor are respectively arranged beside the phase windings, and the first electromagnetic induction voltage sensor and the second electromagnetic induction voltage sensor can sense the voltages of the two-phase windings respectively, so The first electromagnetic induction voltage sensor described above and the second electromagnetic induction voltage sensor are connected with the first signal receiving pin and the second signal receiving pin of the DSP-based data acquisition system with the serial communication interface module respectively, and the described The DSP-based data acquisition system is also connected with the host computer through the serial data communication interface, and the host computer has a permanent magnet synchronous motor stator voltage detection module under the two-phase conversion, and the two-phase conversion under the The permanent magnet synchronous motor stator voltage detection module includes a three-phase rotating coordinate to two-phase rotating coordinate conversion module, and the host computer also includes a VISA module; the permanent magnet synchronous motor stator voltage detection module under the two-phase conversion also includes It includes a man-machine interface, the man-machine interface includes an operation interface part and a display interface part, and the operation interface part is a stator of a permanent magnet synchronous motor that can undergo two-phase conversion after operating the operation interface. The voltage detection module sends instructions to the upper computer; the display interface part is divided into a waveform display part and an instrument display part, and the waveform display part can detect that the stator of the permanent magnet synchronous motor within the selected range is in the two-phase rotating coordinate system The whole change process of the voltage data under; the instrument display part can stably display the voltage data of the stator of the permanent magnet synchronous motor under the two-phase rotating coordinate system; 所述的波形显示部分通过波形显示窗口显示永磁同步电机的定子电压的幅值-时间曲线,所述的仪表显示部分包括有两个圆弧状刻度区域,所述的两个圆弧状刻度区域分别用来表示永磁同步电机定子在两相旋转坐标系下的d轴电压值范围以及永磁同步电机定子在两相旋转坐标系下的q轴电压值范围,所述的两个圆弧状刻度区域的下方各自设置有一个指针状图标,所述的两个圆弧状刻度区域的上方分别设置有用来显示永磁同步电机定子在两相旋转坐标系下的d轴电压值的文本框以及在两相旋转坐标系下的q轴电压值的文本框;The waveform display part displays the amplitude-time curve of the stator voltage of the permanent magnet synchronous motor through the waveform display window, and the instrument display part includes two arc-shaped scale areas, and the two arc-shaped scales The regions are respectively used to indicate the d-axis voltage value range of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system and the q-axis voltage value range of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system. The two arcs A pointer-like icon is set below each of the two arc-shaped scale areas, and a text box for displaying the d-axis voltage value of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system is respectively set above the two arc-shaped scale areas. And the text box of the q-axis voltage value under the two-phase rotating coordinate system; 所述的操作界面部分包括串口参数设置部分、波形选择部分、波形调整部分、控制部分以及波形显示参数设置部分,所述的串口参数设置部分用于对串口通信的参数的初始化,所述的串口参数设置部分包括有用于串行端口号选择的选择框和用于设置串口通信波特率的文本框,所述的用于串行端口号选择的选择框中预设的选择值为上位机能够识别的串行端口号,所述的波形显示参数设置部分包括用来设置数据IQ格式的转换模式的文本框、用来设置缓存大小的文本框以及用来设置采样频率的文本框,所述的波形调整部分包括用来选择基于DSP的数据采集系统的通道的选择按钮、用来选择是否对被选择的基于DSP的数据采集系统的通道的幅值进行测量的游标开关按钮、用来选择是否对被选择的基于DSP的数据采集系统的通道的时间进行测量的游标开关按钮、用来显示被选择的基于DSP的数据采集系统的通道的幅值的文本框、用来显示被选择的基于DSP的数据采集系统的通道的时间的文本框、用于设置游标刻度值的文本框以及用于波形移动的左右拉条,所述的控制部分包括开始按钮、暂停按钮和停止按钮,所述的开始按钮、暂停按钮和停止按钮分别对被测波形执行启动、暂停运行和终止运行的控制,所述的波形选择部分包括用于选择显示永磁同步电机定子在两相旋转坐标系下的d轴电压波形的点选框和用于选择显示永磁同步电机定子在两相旋转坐标系下的q轴电压波形的点选框,这样就能通过选择后在波形显示窗口显示对应选择的用于选择显示永磁同步电机定子在两相旋转坐标系下的d轴电压波形图或者用于选择显示永磁同步电机定子在两相旋转坐标系下的q轴电压波形图;The operation interface part includes a serial port parameter setting part, a waveform selection part, a waveform adjustment part, a control part and a waveform display parameter setting part, and the serial port parameter setting part is used for initializing the parameters of the serial port communication, and the serial port The parameter setting part includes a selection box for serial port number selection and a text box for setting the serial communication baud rate, and the preset selection value in the selection box for serial port number selection can be set by the host computer The identified serial port number, the waveform display parameter setting part includes a text box used to set the conversion mode of the data IQ format, a text box used to set the buffer size and a text box used to set the sampling frequency, the described The waveform adjustment part includes a selection button for selecting the channel of the DSP-based data acquisition system, a cursor switch button for selecting whether to measure the amplitude of the channel of the selected DSP-based data acquisition system, and a cursor switch button for selecting whether to The cursor switch button for measuring the time of the channel of the selected DSP-based data acquisition system, the text box used to display the amplitude of the selected DSP-based data acquisition system channel, and the text box used to display the selected DSP-based data acquisition system. The text box of the channel time of the data acquisition system, the text box used to set the vernier scale value, and the left and right pull bars used for waveform movement, the control part includes a start button, a pause button and a stop button, and the start button , the pause button and the stop button respectively execute the control of starting, suspending operation and terminating operation on the measured waveform, and the waveform selection part includes the d-axis voltage waveform for selecting and displaying the stator of the permanent magnet synchronous motor under the two-phase rotating coordinate system The click box and the click box for selecting and displaying the q-axis voltage waveform of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system, so that after selection, the corresponding selection for selecting the permanent magnet synchronous motor will be displayed in the waveform display window. The d-axis voltage waveform diagram of the magnetic synchronous motor stator in the two-phase rotating coordinate system or the q-axis voltage waveform diagram of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system for selection; 两相变换下的永磁同步电机定子电压检测系统的方法的步骤如下The steps of the method of the permanent magnet synchronous motor stator voltage detection system under two-phase conversion are as follows 步骤1:首先启动两相变换下的永磁同步电机定子电压检测系统,第一电磁感应电压传感器和第二电磁感应电压传感器分别感应出所述的两相绕组的电压,以此对永磁同步电机定子的所述的两相绕组的电压进行数据采集,并把采集到的所述的两相绕组的电压值传递到基于DSP的数据采集系统,并通过两相变换下的永磁同步电机定子电压检测模块运行人机交互界面,在人机交互界面上串口参数设置部分选择串行端口号和串口通信波特率,并让串口通信波特率同基于DSP的数据采集系统中的串行通信接口模块内设置的串口通信波特率一致;Step 1: First start the permanent magnet synchronous motor stator voltage detection system under two-phase conversion, the first electromagnetic induction voltage sensor and the second electromagnetic induction voltage sensor respectively sense the voltage of the two-phase windings, so as to control the permanent magnet synchronous motor The voltage of the two-phase windings of the motor stator is collected for data acquisition, and the collected voltage values of the two-phase windings are transferred to a DSP-based data acquisition system, and the stator of the permanent magnet synchronous motor under the two-phase conversion The voltage detection module runs the human-computer interaction interface. In the serial port parameter setting part of the human-computer interaction interface, select the serial port number and serial communication baud rate, and make the serial communication baud rate the same as the serial communication in the DSP-based data acquisition system. The serial communication baud rate set in the interface module is consistent; 步骤2:在两相变换下的永磁同步电机定子电压检测模块的其他地方对串口通信的奇偶校验位、数据比特位和停止位进行设置,所述的对串口通信的奇偶校验位、数据比特位和停止位设置的值分别同基于DSP的数据采集系统中的串行通信接口模块内设置的串口通信的奇偶校验位、数据比特位和停止位设置的值一致;Step 2: In other places of the permanent magnet synchronous motor stator voltage detection module under the two-phase conversion, the parity bit, data bit and stop bit of the serial port communication are set, and the parity bit of the serial port communication, The value that the data bit and the stop bit are set is consistent with the parity check bit, the data bit and the value that the stop bit is set of the serial port communication that is set in the serial communication interface module in the data acquisition system based on DSP respectively; 步骤3:另外在用来设置数据IQ格式的转换模式的文本框、用来设置缓存大小的文本框以及用来设置采样频率的文本框中分别进行对数据IQ格式的转换模式、缓存大小以及采样频率的设置,通过用来选择基于DSP的数据采集系统的通道的选择按钮进行对基于DSP的数据采集系统的通道的选择,通过用来选择是否对被选择的基于DSP的数据采集系统的通道的幅值进行测量的游标开关按钮、用来选择是否对被选择的基于DSP的数据采集系统的通道的时间进行测量的游标开关按钮以及用于设置游标刻度值的文本框分别进行是否对被选择的基于DSP的数据采集系统的通道的幅值进行测量做出选择、是否对被选择的基于DSP的数据采集系统的通道的时间进行测量做出选择以及设置游标刻度值;Step 3: In addition, in the text box used to set the conversion mode of the data IQ format, the text box used to set the cache size and the text box used to set the sampling frequency, respectively perform the conversion mode, cache size and sampling of the data IQ format Frequency setting, select the channel of the DSP-based data acquisition system through the selection button used to select the channel of the DSP-based data acquisition system, and select whether to select the channel of the selected DSP-based data acquisition system The cursor switch button for amplitude measurement, the cursor switch button for selecting whether to measure the time of the channel of the selected DSP-based data acquisition system, and the text box for setting the value of the cursor scale. Make a selection based on the amplitude of the channel of the DSP-based data acquisition system, whether to measure the time of the selected channel of the DSP-based data acquisition system, and set the vernier scale value; 步骤4:通过点选用于选择显示永磁同步电机定子在两相旋转坐标系下的d轴电压波形的点选框或者用于选择显示永磁同步电机定子在两相旋转坐标系下的q轴电压波形的点选框来选择在波形显示窗口显示的电压波形类别,这样就完成了初始化设置;Step 4: Click to select the checkbox for displaying the d-axis voltage waveform of the permanent magnet synchronous motor stator in the two-phase rotating coordinate system or to select the q-axis for displaying the permanent magnet synchronous motor stator in the two-phase rotating coordinate system Click the check box of the voltage waveform to select the voltage waveform category displayed in the waveform display window, thus completing the initialization setting; 步骤5:然后当点击了开始按钮后,所述的两相变换下的永磁同步电机定子电压检测模块就把测量指令通过串行数据通信的接口发送到基于DSP的数据采集系统,所述的测量指令包括有初始化设置的信息,并且两相变换下的永磁同步电机定子电压检测模块在内存中设置有用来保存当前初始化设置的信息的数组,每次在保存当前初始化设置的信息之前,先把当前初始化设置的信息同上一次保存在该数组中的上一次初始化设置的信息相比较,如果有差异,就将当前初始化设置的信息保存到用来保存当前初始化设置的信息的数组中,如果没有差异,用来保存当前初始化设置的信息的数组的数据保持不变;Step 5: Then when the start button is clicked, the permanent magnet synchronous motor stator voltage detection module under the two-phase conversion will send the measurement instruction to the data acquisition system based on DSP through the interface of serial data communication, the described The measurement instruction includes the information of the initialization setting, and the stator voltage detection module of the permanent magnet synchronous motor under the two-phase conversion is provided with an array used to save the information of the current initialization setting in the memory, and each time before saving the information of the current initialization setting, first Compare the information of the current initialization setting with the information of the last initialization setting saved in the array last time, if there is a difference, save the information of the current initialization setting in the array used to save the information of the current initialization setting, if not Difference, the data of the array used to save the information of the current initialization settings remains unchanged; 步骤6:当基于DSP的数据采集系统接收到经由串行数据通信的接口8传递来的包括有初始化设置的信息的测量指令,就会根据初始化设置的信息中的选择在波形显示窗口显示的电压波形类别和对基于DSP的数据采集系统的通道的选择把实时采集的同电压波形类别相对应的电压数据通过选择的通道发送到上位机中;Step 6: When the DSP-based data acquisition system receives the measurement instruction including the information of the initialization setting transmitted through the interface 8 of the serial data communication, the voltage displayed in the waveform display window will be selected according to the information of the initialization setting The waveform category and the channel selection of the DSP-based data acquisition system send the real-time collected voltage data corresponding to the voltage waveform category to the host computer through the selected channel; 步骤7:上位机接收到电压数据后,两相变换下的永磁同步电机定子电压检测模块就设置缓存区来存储接收到的电压数据,串口通信每次以4个字节为一组的收发数据,接收到的电压输数据为IQ格式的数据,这样再经过格式转化将接收到的电压输数据转换成普通十进制有符号数所表示的波形真实数据,格式转化的具体方式为先判断接收到的电压输数据的正负号属性来导出有符号数,有符号数再经过逆运算即可得到波形真实数据,所述的波形真实数据包括永磁同步电机定子的所述的两相绕组的电压值,再通过永磁同步电机定子的三相绕组的电压值之和为0的条件就能导出永磁同步电机定子的三相绕组中的另外一相绕组的电压值,所述的永磁同步电机定子的三相绕组中的A相绕组的电压值、B相绕组的电压值和C组绕组的电压值分别表示为Va、Vb和Vc,两相变换下的永磁同步电机定子电压检测模块中的三相旋转坐标到两相旋转坐标变换模块根据永磁同步电机定子的三相绕组中的A相绕组的电压值、B相绕组的电压值和C组绕组的电压值,所述的永磁同步电机定子的三相绕组中的A相绕组权利要求书6的电压值、B相绕组的电压值和C组绕组的电压值按照公式(1)和公式(2)导出永磁同步电机定子在两相旋转坐标系下的d轴电压值以及在两相旋转坐标系下的q轴电压值,所述的永磁同步电机定子在两相静止坐标系下的a轴电压值以及在两相静止坐标系下的β轴电压值分别为Va和Vβ,所述的永磁同步电机定子在两相旋转坐标系下的d轴电压值以及在两相旋转坐标系下的q轴电压值分别为Vd和Vq,θ表示d轴同a轴的夹角:Step 7: After the host computer receives the voltage data, the stator voltage detection module of the permanent magnet synchronous motor under two-phase conversion sets a buffer area to store the received voltage data, and the serial port communication uses 4 bytes as a group to send and receive each time Data, the received voltage input data is data in IQ format, and then through format conversion, the received voltage input data is converted into real waveform data represented by ordinary decimal signed numbers. The specific method of format conversion is to first judge the received The sign attribute of the voltage input data is used to derive the signed number, and the signed number can be obtained through inverse operation to obtain the real waveform data. The real waveform data includes the voltage of the two-phase winding of the stator of the permanent magnet synchronous motor value, and then through the condition that the sum of the voltage values of the three-phase windings of the permanent magnet synchronous motor stator is 0, the voltage value of the other phase winding in the three-phase winding of the permanent magnet synchronous motor stator can be derived. The permanent magnet synchronous Among the three-phase windings of the motor stator, the voltage value of the A-phase winding, the voltage value of the B-phase winding and the voltage value of the C-group winding are respectively expressed as Va, Vb and Vc, and the stator voltage detection module of the permanent magnet synchronous motor under two-phase conversion The three-phase rotating coordinate to two-phase rotating coordinate conversion module in the permanent magnet synchronous motor stator is based on the voltage value of the A-phase winding, the voltage value of the B-phase winding and the voltage value of the C-group winding in the three-phase winding of the permanent magnet synchronous motor stator. Among the three-phase windings of the magnetic synchronous motor stator, the voltage value of the A-phase winding claim 6, the voltage value of the B-phase winding and the voltage value of the C-group winding are derived from the permanent magnet synchronous motor stator according to formula (1) and formula (2). The d-axis voltage value under the two-phase rotating coordinate system and the q-axis voltage value under the two-phase rotating coordinate system, the a-axis voltage value of the permanent magnet synchronous motor stator under the two-phase stationary coordinate system and the two-phase The β-axis voltage values under the static coordinate system are Va and Vβ respectively, and the d-axis voltage values of the permanent magnet synchronous motor stator under the two-phase rotating coordinate system and the q-axis voltage values under the two-phase rotating coordinate system are respectively Vd and Vq, θ represent the angle between the d-axis and the a-axis: <mrow> <mfenced open = "[" close = "]"> <mtable> <mtr> <mtd> <msub> <mi>V</mi> <mi>&amp;alpha;</mi> </msub> </mtd> </mtr> <mtr> <mtd> <msub> <mi>V</mi> <mi>&amp;beta;</mi> </msub> </mtd> </mtr> </mtable> </mfenced> <mo>=</mo> <mfrac> <mn>2</mn> <mn>3</mn> </mfrac> <mfenced open = "[" close = "]"> <mtable> <mtr> <mtd> <mn>1</mn> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> <mo>/</mo> <mn>2</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> <mo>/</mo> <mn>2</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mn>0</mn> </mtd> <mtd> <mrow> <msqrt> <mn>3</mn> </msqrt> <mo>/</mo> <mn>2</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <msqrt> <mn>3</mn> </msqrt> <mo>/</mo> <mn>2</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mfenced open = "[" close = "]"> <mtable> <mtr> <mtd> <msub> <mi>V</mi> <mi>a</mi> </msub> </mtd> </mtr> <mtr> <mtd> <msub> <mi>V</mi> <mi>b</mi> </msub> </mtd> </mtr> <mtr> <mtd> <msub> <mi>V</mi> <mi>c</mi> </msub> </mtd> </mtr> </mtable> </mfenced> <mo>-</mo> <mo>-</mo> <mo>-</mo> <mrow> <mo>(</mo> <mn>1</mn> <mo>)</mo> </mrow> </mrow> <mrow><mfenced open = "[" close = "]"><mtable><mtr><mtd><msub><mi>V</mi><mi>&amp;alpha;</mi></msub></mtd></mtr><mtr><mtd><msub><mi>V</mi><mi>&amp;beta;</mi></msub></mtd></mtr></mtable></mfenced><mo>=</mo><mfrac><mn>2</mn><mn>3</mn></mfrac><mfenced open = "[" close = "]"><mtable><mtr><mtd><mn>1</mn></mtd><mtd><mrow><mo>-</mo><mn>1</mn><mo>/</mo><mn>2</mn></mrow></mtd><mtd><mrow><mo>-</mo><mn>1</mn><mo>/</mo><mn>2</mn></mrow></mtd></mtr><mtr><mtd><mn>0</mn></mtd><mtd><mrow><msqrt><mn>3</mn></msqrt><mo>/</mo><mn>2</mn></mrow></mtd><mtd><mrow><mo>-</mo><msqrt><mn>3</mn></msqrt><mo>/</mo><mn>2</mn></mrow></mtd></mtr></mtable></mfenced><mfenced open = "[" close = "]"><mtable><mtr><mtd><msub><mi>V</mi><mi>a</mi></msub></mtd></mtr><mtr><mtd><msub><mi>V</mi><mi>b</mi></msub></mtd></mtr><mtr><mtd><msub><mi>V</mi><mi>c</mi></msub></mtd></mtr></mtable></mfenced><mo>-</mo><mo>-</mo><mo>-</mo><mrow><mo>(</mo><mn>1</mn><mo>)</mo></mrow></mrow> <mrow> <mfenced open = "[" close = "]"> <mtable> <mtr> <mtd> <msub> <mi>V</mi> <mi>d</mi> </msub> </mtd> </mtr> <mtr> <mtd> <msub> <mi>V</mi> <mi>q</mi> </msub> </mtd> </mtr> </mtable> </mfenced> <mo>=</mo> <mfenced open = "[" close = "]"> <mtable> <mtr> <mtd> <mrow> <mi>cos</mi> <mi>&amp;theta;</mi> </mrow> </mtd> <mtd> <mrow> <mi>sin</mi> <mi>&amp;theta;</mi> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mi>s</mi> <mi>i</mi> <mi>n</mi> <mi>&amp;theta;</mi> </mrow> </mtd> <mtd> <mrow> <mi>cos</mi> <mi>&amp;theta;</mi> </mrow> </mtd> </mtr> </mtable> </mfenced> <mfenced open = "[" close = "]"> <mtable> <mtr> <mtd> <msub> <mi>V</mi> <mi>&amp;alpha;</mi> </msub> </mtd> </mtr> <mtr> <mtd> <msub> <mi>V</mi> <mi>&amp;beta;</mi> </msub> </mtd> </mtr> </mtable> </mfenced> <mo>-</mo> <mo>-</mo> <mo>-</mo> <mrow> <mo>(</mo> <mn>2</mn> <mo>)</mo> </mrow> </mrow> <mrow><mfenced open = "[" close = "]"><mtable><mtr><mtd><msub><mi>V</mi><mi>d</mi></msub></mrow>mtd></mtr><mtr><mtd><msub><mi>V</mi><mi>q</mi></msub></mtd></mtr></mtable></mfenced><mo>=</mo><mfenced open = "[" close = "]"><mtable><mtr><mtd><mrow><mi>cos</mi><mi>&amp;theta;</mi></mrow></mtd><mtd><mrow><mi>sin</mi><mi>&amp;theta;</mi></mrow></mtd></mtr><mtr><mtd><mrow><mo>-</mo><mi>s</mi><mi>i</mi><mi>n</mi><mi>&amp;theta;</mi></mrow></mtd><mtd><mrow><mi>cos</mi><mi>&amp;theta;</mi></mrow></mtd></mtr></mtable></mfenced><mfenced open = "[" close = "]"><mtable><mtr><mtd><msub><mi>V</mi><mi>&amp;alpha;</mi></msub></mtd></mtr><mtr><mtd><msub><mi>V</mi><mi>&amp;beta;</mi></msub></mtd></mtr></mtable></mfenced><mo>-</mo><mo>-</mo><mo>-</mo><mrow><mo>(</mo><mn>2</mn><mo>)</mo></mrow></mrow> 所述的永磁同步电机定子在两相旋转坐标系下的d轴电压值以及在两相旋转坐标系下的q轴电压值保存于缓存区中以备生成观测波形,在数据存放时,每一次循环,数组都会经过向后移位将新读取到的数据存放在缓存区最前面,数组尾部移出的数据将被剔除;The d-axis voltage value of the permanent magnet synchronous motor stator under the two-phase rotating coordinate system and the q-axis voltage value under the two-phase rotating coordinate system are stored in the buffer area in order to prepare for generating observation waveforms. When the data is stored, each In a loop, the array will be shifted backwards to store the newly read data at the front of the buffer, and the data moved out from the end of the array will be removed; 步骤8:把缓存区中的所述的永磁同步电机定子在两相旋转坐标系下的d轴电压值或者在两相旋转坐标系下的q轴电压值送到波形显示窗口针对对应的永磁同步电机的定子电压以幅值-时间曲线的形式进行显示,或者在仪表显示部分通过指针状图标在圆弧状刻度区域内标示并在对应的用来显示所述的永磁同步电机定子在两相旋转坐标系下的d轴电压值的文本框或者在两相旋转坐标系下的q轴电压值的文本框中显示电压值。Step 8: Send the d-axis voltage value of the permanent magnet synchronous motor stator in the buffer area under the two-phase rotating coordinate system or the q-axis voltage value under the two-phase rotating coordinate system to the waveform display window for the corresponding permanent magnet synchronous motor. The stator voltage of the magnetic synchronous motor is displayed in the form of an amplitude-time curve, or in the display part of the instrument, it is marked in the arc-shaped scale area by a pointer icon and is used to display the corresponding permanent magnet synchronous motor stator. The voltage value is displayed in the text box of the d-axis voltage value in the two-phase rotating coordinate system or in the text box of the q-axis voltage value in the two-phase rotating coordinate system.
CN201410363997.7A 2014-07-28 2014-07-28 Permanent-magnetic synchronous motor stator voltage detecting system and method under two phase inversions Expired - Fee Related CN104166040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410363997.7A CN104166040B (en) 2014-07-28 2014-07-28 Permanent-magnetic synchronous motor stator voltage detecting system and method under two phase inversions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410363997.7A CN104166040B (en) 2014-07-28 2014-07-28 Permanent-magnetic synchronous motor stator voltage detecting system and method under two phase inversions

Publications (2)

Publication Number Publication Date
CN104166040A CN104166040A (en) 2014-11-26
CN104166040B true CN104166040B (en) 2017-11-10

Family

ID=51909945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410363997.7A Expired - Fee Related CN104166040B (en) 2014-07-28 2014-07-28 Permanent-magnetic synchronous motor stator voltage detecting system and method under two phase inversions

Country Status (1)

Country Link
CN (1) CN104166040B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787355A (en) * 2005-06-16 2006-06-14 谭启仁 Monolithic apparatus PWM Controller for brushless DC motor of sensor-free electrical vehicle
CN102109575A (en) * 2009-12-25 2011-06-29 上海微电子装备有限公司 Method, device and system for testing linear motor based on virtual instrument

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8531141B2 (en) * 2011-02-28 2013-09-10 Deere & Company System for calibrating an electrical control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787355A (en) * 2005-06-16 2006-06-14 谭启仁 Monolithic apparatus PWM Controller for brushless DC motor of sensor-free electrical vehicle
CN102109575A (en) * 2009-12-25 2011-06-29 上海微电子装备有限公司 Method, device and system for testing linear motor based on virtual instrument

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
永磁同步伺服电机自动测试系统的设计研究;谭斐文;《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》;20061215(第12期);论文的第1、7、18、20-32、34-35、37-51页 *

Also Published As

Publication number Publication date
CN104166040A (en) 2014-11-26

Similar Documents

Publication Publication Date Title
CN101650390B (en) On-line measurement method of stator inductance parameters of surface type AC permanent magnet synchronous motor
CN203219237U (en) Zero checker
CN108429493A (en) A kind of caliberating device and its method of three-phase permanent magnet synchronous motor initial zero position
CN103969546B (en) Four wye voltage transformer secondary polarity intelligent testers
CN104655339A (en) Cogging-torque test method for alternating-current permanent-magnet synchronous servo motor
CN204679101U (en) The parameter test system of frequency-conversion and speed-regulation motor
CN103439657B (en) AC servo motor transmission parameter detection method and the application in fault detect thereof
EP3477313A1 (en) Power analysis method and device
CN202230155U (en) Three-phase digital intelligent electric energy quality detection device
CN104181466B (en) Stator current detection system and method for permanent magnet synchronous motor under 3S/2S transformation
CN113965128B (en) Permanent magnet motor integrated driving and detecting system and method
CN104166040B (en) Permanent-magnetic synchronous motor stator voltage detecting system and method under two phase inversions
CN212932921U (en) One-key type transformer hexagonal diagram rapid tester
CN104166791B (en) Based on visual permanent-magnet synchronous motor rotor position angle estimating system and method
CN104201951B (en) The control system for permanent-magnet synchronous motor and method of the phase back-emf of visual control two
CN202421332U (en) High precision electric parameter analyzer
CN104166010A (en) Visualization-based rotation speed interruption type detection system and method of PMSM
CN202661592U (en) Automatic pulse real-time field effect transistor threshold-voltage parameter measuring device
CN104166041B (en) Permanent-magnetic synchronous motor stator voltage detecting system and method are changed in 3S/2S changes
CN104166039B (en) Based on visual permanent-magnetic synchronous motor stator current detecting system and method
CN112234897B (en) Permanent magnet synchronous motor parameter identification method, identification device and identification system
CN104166009A (en) Visualization-based rotation speed polling type detection system and method of PMSM
CN104167970A (en) Visualization PMSM vector control system and method for monitoring counterelectromotive force
Huping et al. The power quality monitoring system based on virtual instrument
CN104165602A (en) Visualization-based PMSM rotor position angle detection system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171110

CF01 Termination of patent right due to non-payment of annual fee