摘要
针对传统CAN总线、RS232、RS485的传输速度与信号易受干扰等问题,提出用现场可编程门阵列实现永磁同步电机(PMSM)磁场定向控制方法,完成伺服驱动器和PC机之间的以太网通信。利用可编程片上系统技术搭建系统的硬件模型,在Nios II IDE软件开发环境中,实现以太网的驱动程序、电机的控制程序以及开发上位机监控界面。在高精度场合用FPGA控制PMSM,克服DSP受串行指令流限制等不足。实验结果表明,交流伺服驱动器采用以太网和PC机通信,数据传输速度更快,用户通过网络可方便地实现对电机的监控。
Aiming at the disturbing problem of the transmission speed of CAN bus, RS232, RS485, the control method of a Permanent Magnet Synchronous Motor(PMSM) with FOC in Field Programmable Gate Array(FPGA) is described mainly, the information can be communicated between FPGA and PC. This paper builds a system hardware model with the System on a Programmable Chip(SoPC) technology. And realizes Ethernet driver, motor control program and the PC monitor screen in the Nios II IDE. Experimental results show that using FPGA to control PMSM overcomes the restrictions of the serial instruction stream. With the Ethemet communication between PC and servo drive, data transmission is rapid and reliable, users can monitor the operation of the motor easily.
出处
《计算机工程》
CAS
CSCD
2012年第13期218-220,227,共4页
Computer Engineering
基金
国家自然科学基金资助项目(50977080)
湖南省自然科学基金-湘潭联合基金资助重点项目(11JJ8004)
教育部课题基金资助项目(2009-ZX-052)
关键词
永磁同步电机
现场可编程门阵列
嵌入式以太网
交流伺服驱动
TCP
IP协议
Permanent Magnet Synchronous Motor(PMSM)
Field Programmable Gate Array(FPGA)
embedded Ethemet
AC servo drive
TCP/IP protocol