RAPID PROTOTYPING OF CONTROL SYSTEMS FROM ELECTROMAGNETIC TRANSIENT SIMULATOR PROGRAM

Similar documents
CHAPTER 6 DEVELOPMENT OF A CONTROL ALGORITHM FOR BUCK AND BOOST DC-DC CONVERTERS USING DSP

CHAPTER 4 FUZZY BASED DYNAMIC PWM CONTROL

Prototyping Unit for Modelbased Applications

SERVO MOTOR CONTROL TRAINER

FPGA & Pulse Width Modulation. Digital Logic. Programing the FPGA 7/23/2015. Time Allotment During the First 14 Weeks of Our Advanced Lab Course

CHAPTER 4 CONTROL ALGORITHM FOR PROPOSED H-BRIDGE MULTILEVEL INVERTER

International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering. (An ISO 3297: 2007 Certified Organization)

Total Hours Registration through Website or for further details please visit (Refer Upcoming Events Section)

Real-Time Testing Made Easy with Simulink Real-Time

UNIVERSAL INPUT TO PULSE CONVERTER MODULE

CHAPTER 4 HARDWARE DEVELOPMENT OF STATCOM

A Real-Time Platform for Teaching Power System Control Design

PRECISION SIMULATION OF PWM CONTROLLERS

Development of a MATLAB Data Acquisition and Control Toolbox for BASIC Stamp Microcontrollers

Introduction to Engineering ENGR Electrical Engineering. Dr. Coates

A Model-Based Development Environment and Its Application in Engine Control

RAPID CONTROL PROTOTYPING FOR ELECTRIC DRIVES

ME375 Lab Project. Bradley Boane & Jeremy Bourque April 25, 2018

Rapid Design of FIR Filters in the SDR- 500 Software Defined Radio Evaluation System using the ASN Filter Designer

Multiple Instrument Station Module

Electrical Materials may be referred to a metal, dielectrics,electrical insulators or conductors,paramagnetic materials and many other.

Real-Time Simulation of Large HVDC-AC Grids

Training Schedule. Robotic System Design using Arduino Platform

Associate In Applied Science In Electronics Engineering Technology Expiration Date:

Digital Design Laboratory Lecture 7. A/D and D/A

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

When to use an FPGA to prototype a controller and how to start

Digital Controller Chip Set for Isolated DC Power Supplies

A PID Controller for Real-Time DC Motor Speed Control using the C505C Microcontroller

THREE PORT DC-DC CONVERTER FOR STANDALONE PHOTOVOLTAIC SYSTEM

Analog Servo Drive 25A20DD

CHAPTER-III MODELING AND IMPLEMENTATION OF PMBLDC MOTOR DRIVE

Laboratory set-up for Real-Time study of Electric Drives with Integrated Interfaces for Test and Measurement

A Variable-Frequency Parallel I/O Interface with Adaptive Power Supply Regulation

Variable Frequency AC Source

Chapter 3 : Closed Loop Current Mode DC\DC Boost Converter

Power Factor Correction in Digital World. Abstract. 1 Introduction. 3 Advantages of Digital PFC over traditional Analog PFC.

AC : PSCAD SIMULATION IN A POWER ELECTRONICS APPLICATION COURSE

Ametek, Inc. Rotron Technical Products Division. 100 East Erie St., Suite 200 Kent, Ohio User's Guide. Number Revision F

MICROCONTROLLER BASED BOOST PID MUNAJAH BINTI MOHD RUBAEE

Experiment Of Speed Control for an Electric Trishaw Based on PID Control Algorithm

Speed Control of the DC Motor through Temperature Variations using Labview and Aurdino

Hello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its

CHAPTER 6 IMPLEMENTATION OF FPGA BASED CASCADED MULTILEVEL INVERTER

Lab 23 Microcomputer-Based Motor Controller

System Board 6219 MAXREFDES89#: MAX14871 Full-Bridge DC Motor Driver MBED Shield

CHAPTER 5 NOVEL CARRIER FUNCTION FOR FUNDAMENTAL FORTIFICATION IN VSI

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

MiniProg Users Guide and Example Projects

Application description AN1014 AM 462: processor interface circuit for the conversion of PWM signals into 4 20mA (current loop interface)

Peripheral Link Driver for ADSP In Embedded Control Application

Bridgeless Cuk Power Factor Corrector with Regulated Output Voltage

Hands on Practice in Arduino Board

CHAPTER III THE FPGA IMPLEMENTATION OF PULSE WIDTH MODULATION

POWER- SWITCHING CONVERTERS Medium and High Power

Model 805 PWM Proportional Valve / Solenoid Driver with Peak and Hold Control Modes

AN EXPERIMENTAL INVESTIGATION OF PFC BLDC MOTOR DRIVE USING BRIDGELESS CUK DERIVED CONVERTER

Student Department of EEE (M.E-PED), 2 Assitant Professor of EEE Selvam College of Technology Namakkal, India

ANALOG-TO-DIGITAL CONVERTER FOR INPUT VOLTAGE MEASUREMENTS IN LOW- POWER DIGITALLY CONTROLLED SWITCH-MODE POWER SUPPLY CONVERTERS

Model FLSC-C3-XX. DC Powered Microprocessor Controlled Transmitter

Design and Implementation of AT Mega 328 microcontroller based firing control for a tri-phase thyristor control rectifier

Single Phase Induction Motor Drive using Modified SEPIC Converter and Three Phase Inverter

DESIGN OF INTELLIGENT PID CONTROLLER BASED ON PARTICLE SWARM OPTIMIZATION IN FPGA

RX23T inverter ref. kit

ServoStep technology

Design and Implementation of a Microcontroller Based Buck Boost Converter as a Smooth Starter for Permanent Magnet Motor

Hashemite University Faculty of Engineering Mechatronics Engineering Department. Microprocessors and Microcontrollers Laboratory

Using an FPGA based system for IEEE 1641 waveform generation

Modeling and Analysis of Flyback Switching Power Converter using FPGA

EE25266 ASIC/FPGA Chip Design. Designing a FIR Filter, FPGA in the Loop, Ethernet

CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System

Modeling, Simulation and Implementation of Speed Control of DC Motor Using PIC 16F877A

PWM System. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

7I33/7I33T MANUAL Quad analog servo amp interface

Coils & Electronic Controls

DSP-Based Simple Technique for Synchronization of 3 phase Alternators with Active and Reactive Power Load Sharing

Analog Servo Drive BD15A8

At the end of this course, students should be able to: 1 explain experimental results with theoretical expected outcome

Methodology for testing a regulator in a DC/DC Buck Converter using Bode 100 and SpCard

MD04-24Volt 20Amp H Bridge Motor Drive

ZIO Python API. Tutorial. 1.1, May 2009

A Novel Control Method to Minimize Distortion in AC Inverters. Dennis Gyma

R. W. Erickson. Department of Electrical, Computer, and Energy Engineering University of Colorado, Boulder

BAP1551 Gate Drive Board

INTERNATIONAL JOURNAL OF ELECTRICAL ENGINEERING & TECHNOLOGY (IJEET) THE DESIGN AND IMPLEMENTATION OF A SINGLE-PHASE POWER FACTOR CORRECTION CIRCUIT

UPSC Electrical Engineering Syllabus

CHAPTER 7 HARDWARE IMPLEMENTATION

THE DEVELOPMENT OF AN INTEGRATED GRAPHICAL SLS PROCESS CONTROL INTERFACE

Synchronous, Low EMI LED Driver Features Integrated Switches and Internal PWM Dimming

POWER GENERATION USING PIEZOELECTRIC SYSTEM FOR STREET LIGHT SYSTEM

Chapter 1: Introduction

Demonstration. Agenda

DIGITAL CONTROL OF ELECTRO-HYDRAULIC STEERING TEST BENCH

ECE 511: FINAL PROJECT REPORT GROUP 7 MSP430 TANK

Graphical Control Panel User Manual

SGM Channel PWM Dimming Charge Pump White LED Driver

Design and Simulation of PFC Circuit for AC/DC Converter Based on PWM Boost Regulator

Chapter 10 Digital PID

Using Magnetic Sensors for Absolute Position Detection and Feedback. Kevin Claycomb University of Evansville

Number of Lessons:155 #14B (P) Electronics Technology with Digital and Microprocessor Laboratory Completion Time: 42 months

Transcription:

RAPID PROTOTYPING OF CONTROL SYSTEMS FROM ELECTROMAGNETIC TRANSIENT SIMULATOR PROGRAM By: Dexter M. T. J. Williams, Esa Nummijoki, Aniruddha M. Gole and Erwin Dirks University Of Manitoba NSERC Industrial Research Chair in Power Systems Simulation

Content Introduction Background PSCAD Code Generator (PSCADCG) Example System Validation Testing Conclusion

INTRODUCTION

Introduction Software based design in power systems Grown in popularity with computer processing power - Electromagnetic Transient (EMT) simulation models the network in the greatest detail - Application: Flexible Alternating Current Transmission System (FACTS), High Voltage Direct Current (HVDC) - Exhaustive simulations are done to confirm the controls operate in an appropriate manner - However the control model must still be transferred into a useable control code for infield use

Solution to Problem Automatic code generation from simulation control elements PSCAD Code Generator (PSCADCG) MATLAB s Real-time Workshop Introduction

BACKGROUND

Background Library Workspace

Background PSCAD/EMTDC power system simulator 2 main types of Library components: Electrical» passive electrical components, power electronic components, machines, transformers, application specific components (EX: HVDC, FACTS) Control» arithmetic operations, logical operations, filters, application specific controls and more Problem: To convert the control model to a real-world real-time implementation

Background To allow for prototyping of the controls the PSCAD Code Generator (PSCADCG) is used PSCADCG reads the graphic model and develops embedded software compatible code from the model

PSCAD CODE GENERATOR (PSCADCG)

PSCADCG The PSCADCG contains 3 main parts involved in the rapid prototyping process Network generation C function generation C interface generation

PSCADCG: Network Generation Network generation Generates a virtual network describing the interconnection of the control elements of the design Reads project and library files to generate and equivalent virtual network of the systems controls

PSCADCG:C Function Generation C function generation Generates the code that describes the control operations modeled Sequential orders all elements into a queue based on order of operation Elements are sequentially de-queued and the code for each element is sequentially generated Then the code is formatted and used to generate the header and C file

PSCADCG: C Interface Generator C interface Generator Interfaces the C function to the hardware platform A hardware platform must first be selected The program reads the virtual header file and generates header, configuration and main loop C files

PSCADCG: C Interface Generator C interface Generator Main program Configuring all parameters Infinite loop Reads the A/D converter values and runs Runs the C function generated by the C function generator Outputs the values to the ports

EXAMPLE SYSTEM

Example System Step Down converter Reduces voltage from input to output using pulse width modulation Parameters Input = 10 Volts Output = 5 Volts Voltage Ripple = 0.2% Current Ripple = 2.0%

Example System: Controls Step Down converter Control Pulse Width Modulation Negative feedback Proportional-Integral (PI) controller for error reduction

Example System:PSCAD Simulation Step Down converter Control system Optimized controls Controls must be converted to a real time controller

Real-time Control Implementation Cerebot 32MX4 development board PIC32MX460F512L microprocessor 80 MHz 32-bit memory. PWM digital and analog I/O (Input and outputs) 8 peripheral ports open collector driver A/D D/A converters Etc. Programmed with C using the MPLAB development

VALIDATION TESTING

5 volt output test Calculated: 5.00 Simulated: 5.00 Blue signal represents the PWM signal (Top) Green signal represents PI control signal (Top) Blue signal represents the output voltages (Bottom) Green signal represents the input voltages (Bottom) Hardware: 5.10 Blue signal represents the PWM signal Green signal represents the input voltages Orange signal represents the output voltages Validation Testing

9.90 volt output test Calculated: 9.90 Simulated: 9.90 Blue signal represents the PWM signal (Top) Green signal represents PI control signal (Top) Blue signal represents the output voltages (Bottom) Green signal represents the input voltages (Bottom) Hardware: 9.53 Blue signal represents the PWM signal Green signal represents the input voltages Orange signal represents the output voltages Validation Testing

Duty Cycle (%) Validation Testing Calc. (V) PSCAD (V) Actual Hardware (V) Error PSCAD VS Hardware (%) 1 50 5.00 5.00 5.10 1.00 2 99 9.90 9.90 9.53 3.70

CONCLUSION

Conclusion PSCADCG capable of: generating control systems for a PSCAD system generating most any control system generated by PSCAD PSCADCG can possibly reduce cost and expedite the development of controls Proof of Concept was demonstrated using a simple stepdown controller It is equally applicable to design arbitrary Power System Controllers Larger scale / power systems may require additional hardware for isolation, etc. Additional code may be needed to interface with these devices Future work Support for multiple page modules Support for FPGA platforms

QUESTIONS