NI Labs Toolkits

cancel
Showing results for 
Search instead for 
Did you mean: 

Advanced Inverter Model for NI Electric Motor Simulation Toolkit

Introduction

 

This NI Labs package provides the advanced inverter model for NI Electric Motor Simulation Toolkit.

 

This package contains two examples to help you integrate the advanced inverter model into your own hardware-in-the-loop (HIL) solution. The advanced inverter model allows you to simulate the transient changes of the inverter, which converts direct current (DC) to three-phase alternating current (AC) to supply power to the Permanent Magnet Synchronous Motor (PMSM).  This model takes into account the conductance and forward voltage drop of the semiconductor power switches within the inverter. This model enables simulation with higher fidelity than the ideal inverter model previously released in Electric Motor Simulation Toolkit. The advanced inverter model also supports fault insertion, which allows you to simulate system behaviors when the inverter has faults.

 

This package contains two examples of simulating a PMSM FEA model by using the advanced inverter model. You can test your control algorithms on a host computer and verify whether the algorithm can perform correctly with the HIL solution on Field Programmable Gate Array (FPGA) targets.

 

 

PMSM FEA Model Simulation on Host Computers

 

In this example, the simulator and controller both run on the host computer. This example demonstrates how to control the speed of the PMSM with the field oriented control (FOC) algorithm.

 

Required Software

  • LabVIEW 2013 Full or Professional Development System (32-bit)
  • LabVIEW 2013 Control Design and Simulation Module
  • NI Electric Motor Simulation Toolkit 2013

 

Installation Instructions

  1. Download the attached zip file.
  2. Unzip the file. Open the PMSM FEA Model Closed Loop folder.

 

Refer to the readme_Advanced_Inverter.pdf for more information about how to run this example.

 

 

PMSM FEA Model Simulation on FPGA Targets

 

In this example, the simulator runs on a FPGA target and the controller runs on a Real-Time (RT) PXI target. The controller reads the PMSM state from the FPGA target, controls the motor speed with the FOC algorithm, and feeds back the voltage and load torque to the simulator on the FPGA target.

 

 

Required Software

  • LabVIEW 2013 Full or Professional Development System (32-bit)
  • LabVIEW 2013 Real-Time Module
  • LabVIEW 2013 FPGA Module
  • LabVIEW 2013 Control Design and Simulation Module
  • NI Electric Motor Simulation Toolkit 2013

 

Required Hardware

  • PXIe-7966R

 

Installation Instructions

  1. Download the attached zip file.
  2. Unzip the file. Open the PMSM FEA Model Control Simulation folder.

 

Refer to the readme_Advanced_Inverter.pdf for more information about how to run this example.

 

 

To Use Advanced Inverter on Your Own Applications

 

The advanced inverter VIs are in the _Inverter folder.

To use the advanced inverter on your own application which runs on the host computer, replace your original inverter VI with the Three Phase Two Level Inverter VI, and choose Advanced from the polymorphic selector.

To use advanced inverter in your own application which runs on FPGA targets, replace your original inverter VI with the Three Phase Two Level Inverter (Adv FPGA) VI. On the host computer, use the Convert Inverter Parameters FPGA VI to generate inverter parameters applicable to the FPGA target, and write the parameters to your FPGA VI.

 

Refer to the readme_Advanced_Inverter.pdf for more information about this package.

Comments
leo_v
Member
Member
on

Hi, I wonder if this advanced inverter model provides calculation on the bus current? also, in the ideal switch model, why is there 2/3 1/3 coefficents? are the Voltage output for line to line or line to neutral?