SlideShare a Scribd company logo
Real Time System Validation using
Hardware in Loop (HIL) Digital Platform
Dr. Shimi S.L
Assistant Professor
Electrical Engineering Dept
NITTTR, Chandigarh
Intelligent
Controllers
Smart Sensors –
Not Only Intelligent,
but Adaptable
Intelligent Actuators
Plant
Is Smart & Flexible Sensors Possible ?
Microprocessor Microcontroller
CPU-on-a-Chip Computer-on-a-Chip
General Purpose Task Specific
Used in Computer Systems Used in Embedded Systems
Memory and I/O components
are interfaced externally
On-chip Memory and I/O
Components
Since external components
interfaced, so the whole system
is larger and costly
Since On-chip components, so
system is smaller and cheaper
In Microprocessor based
system, Instruction and data are
stored in same memory module
In Microcontroller based
system, program memory and
data memory are separate
Microprocessor “CPU-on-a-Chip”
Microcontroller “Computer-on-a-Chip”
CB - Connection Blocks
SB - Switching Block
CLB - Configurable Logic Block
LUT - Look-Up-Table
SoftwareFPGA
ASIC Memory
Actuators
D/A
Conversion
A/D
Conversion
Sensors
Human
Interface
Diagnostic
Port
External
Environment
CPU
Auxiliary
System
(power)
Embedded system representation
Most Popular Controllers
• Atmel
 8051
 AVR
• Microchip
 PIC16F877
• ARM
 ARM7
 ARM9
 ARM Cortex
and many more…….
Architecture-ARM Microcontroller
Interrupt Address
Address register
Incrementer
Read register
32 bit
register bank
32 Bit ALU
register bank
Read register
Instruction
Pipeline
Instruction
decoder
Debug
control
Interrupt
Control
Incrementer
Data Address
Data Bus
Data bus
Instruction Address Instruction data
A Bus
B Bus
PCBus
Write register
• Software
• ARM C/C++ Compiler (armcc)
Development Platform-ARM
• Hardware
– One DBGU serial communication port
– One ZIGBEE extension connector
– One JTAG debug interface
– Five user- input push buttons
– One Wake-UP input push button
– One Reset Push Button
– One Battery Socket for two AAA batteries
– One 400 segments dot matrix LCD
Controller 8051 PIC ARM
Bit Addressable 8 bit 8,12,14 & 16 bit 16 & 32 Bit
Max. crystal Freq. (MHz) 4-16 MHz Up to 80 MHz Up to 400 MHz
Operating voltage (volts) 1-5V 1.5 to 5 V 1- 5V
Flash 0.5K - 384K Up to 512K 16k to 2M
Cache ---- ---- 2x4k - 16k + 8k
Peripherals
available
USART,
SPI,
USB, I2C
USART, SPI,
I2C, ADC, DAC,
USB, Ethernet,
CAN
USART, SPI,
I2C, USB,
ADC, DAC,
Video
Decoder,
Image Sensor
Interface
Comparison
Debug code
Including external
I/O stimulus
Order HW
boards/parts
SW comp,
debugger
Build
Prototype
Enter Specifications
Select Best Part
Configure core,
peripherals & Auto-
generate Code
Customize main loop/events integrate
libraries & Generate Object
Microcontroller Development Process
Embedded Network
ICSP (In-Circuit Serial Programming)
Microcontroller ATmega328
Operating Voltage 5V
Input Voltage (recommended) 7-12V
Input Voltage (limits) 6-20V
Digital I/O Pins 14 (of which 6 provide PWM output)
Analog Input Pins 6
DC Current per I/O Pin 40 mA
DC Current for 3.3V Pin 50 mA
Flash Memory
32 KB (ATmega328) of which 0.5 KB
used by bootloader
SRAM 2 KB (ATmega328)
EEPROM 1 KB (ATmega328)
Clock Speed 16 MHz
1000µF
50V
1000µF
50V
100µF
25V
100µF
25V
1000µF
50V
13 12
GND
load
Complete Setup
Rectifier Circuit
MOSFET Bridge Circuit
Control Circuit using Arduino
Gate Trigger Pulse
3 level Inverter waveform on CRO
dSpace 1104
Specification of DS1104 R&D Controller Board
Parameter Characteristics
Processor MPC8240 processor with PPC603e core and on-chip
peripherals
• 64-bit floating-point processor
• 250 MHz CPU
• 2 x 16 KB cache; on-chip
• On-chip PCI bridge (33 MHz)
Memory Global memory: 32 MB SDRAM
• Flash memory: 8 MB
ADC
1 x 16-bit ADC with mux
4 x 12-bit ADC
5 ADC channels (1 x 16-bit + 4 x 12-bit) can be
sampled simultaneous
• 16-bit resolution
• ±10 V input voltage range
• 2μs conversion time
• 12-bit resolution
• ±10 V input voltage range
• 800 ns conversion time
Slave DSP subsystem • Texas Instruments TMS320F240 DSP
• 16-bit fixed-point processor
• 20 MHz clock frequency
• 64 K x 16 external program memory
• 28 K x 16 external data memory
• 4 K x 16 dual-port memory for communication
• 16 K x 16 flash memory
• 1 x 3-phase PWM output
• 4 x 1-phase PWM output
• ±13 mA maximum output current
Host interface • 32-bit PCI host interface
• 5VPCI slot
• 33MHz±5 %
Power supply • +5 V ±5 %, 2.5 A
• +12 V ±5 %, 0.3 A
Power consumption 18.5 W
Parameter Settings for (a) ADC, (b) ADC Multiplexed and (c) PWM Blocks
(a)
(b)
(c)
Block Diagram
Peripheral Component Interconnect Bus (PCI Bus)
MPPT of a PV System
MicroLabBox, with over 100 I/O channels of various types for applications in
robotics, medical engineering, electric drives, renewable energy, consumer
appliances, industrial products, automotive engineering, and aerospace
What is Real Time Simulation?
Simulation execution happens in synchronism
with wall clock time or real time
Why real time simulation?
To exchange information with physical components.
How real time simulation is done?
• The complexity of the plant under control is included in test
and development by adding a mathematical
representation of all related dynamic systems. These
mathematical representations are referred to as the “plant
simulation”. The embedded system to be tested interacts
with this plant simulation.
• It allows testing of an unlimited number of short circuits and
other transients (e.g. fault transients), as well as regular
transients in the power system. Something that is impractical
to do on the actual system.
• Virtual, highly realistic, real-time models of the hardware
(microgrid testbed) enable testing high power systems
without the dangers and costs involved with testing high
power.
35
Real Time Simulation Applications
For time critical studies!
1) Controller design, test and interface
2) Closed loop test of intelligent electronic devices
3) SCADA system studies; Operator training
4) Modern micro-grid/smart grid studies
5) Special Protection Schemes – design and test
Testing controllers using dSpace for grid
interfaces, electric drives, and power
electronics
38
OPAL-RT HIL – General Architecture
The hardware that perform real time simulation consists of
Computational Units: CPU & FPGA
Interfacing Units: Analog & Digital I/O cards, serial ports, PCI slots
Hardware = Standard Intel PC + Xilinx FPGA + Interfacing units
Standard Intel PC
with Motherboard,
hard-disk, RAM, CPU
Xilinx
FPGA
Interfacing unit with
Analog & Digital I/Os,
serial ports, PCI slots etc.
OPAL-RT Real Time Simulation Hardware
PC with MATLAB/ SIMULINK
Opal-RT HIL Box
Customized solutions in eFPGAsim
Limitations of SPS for achieving real-time simulation
• SPS generates a unique matrix for State-Space equations, even if the matrix
is sparsed
• Results in higher computation time
• SPS recomputes system matrix in the real-time loop each time there is a
switch change conduction state (On/Off)
• Results in overruns each time a different topology occurs
ARTEMIS for Real-Time Simulation of Power Systems
SimPowerSystem (SPS) presentation
41
• ARTEMIS takes advantage of the sparse matrix properties to optimize the
computation time : In SPS and ARTEMIS, each independent sub-circuit has its own
smaller set of ABCD state-space equations
• FASTER iteration. (SPS S-functions are not sparsity-optimized) switches located on
different sub-networks are pre-computed independently
ARTEMIS for Real-Time Simulation of Power Systems
42
• ARTEMIS accuracy : ARTEMIS
solvers are designed to improve the
accuracy of simulation of power
system at large time steps
• Simulink signals are updated at next sample time
• RT-EVENTS too, but it keeps transition information (in the
time stamp)
• Accuracy of gate pulses is highly increased for the same
time-step
RT-Events for PWM generation
RT-Events concepts
44
Simulink
RT-Events
Typhoon HIL
Questions, Comments?
Shimi.reji@gmail.com
www.slideshare.net/shimireji
9417588987
Thanks
System Validation using
Hardware
Dr. Shimi S.L
Assistant Professor
Electrical Engineering Dept
NITTTR, Chandigarh

More Related Content

What's hot

SOC Power Estimation
SOC Power EstimationSOC Power Estimation
SOC Power Estimation
Mahesh Dananjaya
 
Model based development(MBD)
Model based development(MBD) Model based development(MBD)
Model based development(MBD)
Shashi Kumar Mergu
 
Model-Based Design For Motor Control Development
Model-Based Design For Motor Control DevelopmentModel-Based Design For Motor Control Development
Model-Based Design For Motor Control Development
The Hartford
 
Plc scada details and comparison
Plc scada details and comparisonPlc scada details and comparison
Plc scada details and comparison
tamannataneja
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systems
mahalakshmimalini
 
Automatic car parking barrier system using PLC
Automatic car parking barrier system using PLCAutomatic car parking barrier system using PLC
Automatic car parking barrier system using PLC
arunkumar6836
 
Embedded system custom single purpose processors
Embedded system custom single  purpose processorsEmbedded system custom single  purpose processors
Embedded system custom single purpose processorsAiswaryadevi Jaganmohan
 
Handbook on Functional Testing; HIL | MIL | SIL Testing
Handbook on Functional Testing; HIL | MIL | SIL TestingHandbook on Functional Testing; HIL | MIL | SIL Testing
Handbook on Functional Testing; HIL | MIL | SIL Testing
Embitel Technologies (I) PVT LTD
 
OPAL-RT Model-In-the-Loop real-time simulation
OPAL-RT Model-In-the-Loop real-time simulation OPAL-RT Model-In-the-Loop real-time simulation
OPAL-RT Model-In-the-Loop real-time simulation
OPAL-RT TECHNOLOGIES
 
Simulink Stateflow workshop
 Simulink Stateflow workshop Simulink Stateflow workshop
Simulink Stateflow workshop
MATLABISRAEL
 
Embedded SW Testing
Embedded SW TestingEmbedded SW Testing
Distributed Control System Basics
Distributed Control System BasicsDistributed Control System Basics
Distributed Control System Basics
Pratap Chandra
 
FPGA Verilog Processor Design
FPGA Verilog Processor DesignFPGA Verilog Processor Design
FPGA Verilog Processor Design
Archana Udaranga
 
Automatic car parking barrier system using plc presentation
Automatic car parking barrier system using plc presentationAutomatic car parking barrier system using plc presentation
Automatic car parking barrier system using plc presentation
DaniyalMeesum
 
HMI- Human Machine Interface
HMI-  Human Machine InterfaceHMI-  Human Machine Interface
HMI- Human Machine Interface
NFI - Industrial Automation Training Academy
 
Functional verification techniques EW16 session
Functional verification techniques  EW16 sessionFunctional verification techniques  EW16 session
Functional verification techniques EW16 session
Sameh El-Ashry
 
Elements of Industrial Automation Week 01 Notes.pdf
Elements of Industrial Automation Week 01 Notes.pdfElements of Industrial Automation Week 01 Notes.pdf
Elements of Industrial Automation Week 01 Notes.pdf
THANMAY JS
 
SOC System Design Approach
SOC System Design ApproachSOC System Design Approach
SOC System Design Approach
A B Shinde
 
day 3: Control Concepts & BMS
day 3: Control Concepts & BMS day 3: Control Concepts & BMS
day 3: Control Concepts & BMS
RCREEE
 
Working of DCS systems
Working of DCS systemsWorking of DCS systems
Working of DCS systems
hameedakhtar155
 

What's hot (20)

SOC Power Estimation
SOC Power EstimationSOC Power Estimation
SOC Power Estimation
 
Model based development(MBD)
Model based development(MBD) Model based development(MBD)
Model based development(MBD)
 
Model-Based Design For Motor Control Development
Model-Based Design For Motor Control DevelopmentModel-Based Design For Motor Control Development
Model-Based Design For Motor Control Development
 
Plc scada details and comparison
Plc scada details and comparisonPlc scada details and comparison
Plc scada details and comparison
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systems
 
Automatic car parking barrier system using PLC
Automatic car parking barrier system using PLCAutomatic car parking barrier system using PLC
Automatic car parking barrier system using PLC
 
Embedded system custom single purpose processors
Embedded system custom single  purpose processorsEmbedded system custom single  purpose processors
Embedded system custom single purpose processors
 
Handbook on Functional Testing; HIL | MIL | SIL Testing
Handbook on Functional Testing; HIL | MIL | SIL TestingHandbook on Functional Testing; HIL | MIL | SIL Testing
Handbook on Functional Testing; HIL | MIL | SIL Testing
 
OPAL-RT Model-In-the-Loop real-time simulation
OPAL-RT Model-In-the-Loop real-time simulation OPAL-RT Model-In-the-Loop real-time simulation
OPAL-RT Model-In-the-Loop real-time simulation
 
Simulink Stateflow workshop
 Simulink Stateflow workshop Simulink Stateflow workshop
Simulink Stateflow workshop
 
Embedded SW Testing
Embedded SW TestingEmbedded SW Testing
Embedded SW Testing
 
Distributed Control System Basics
Distributed Control System BasicsDistributed Control System Basics
Distributed Control System Basics
 
FPGA Verilog Processor Design
FPGA Verilog Processor DesignFPGA Verilog Processor Design
FPGA Verilog Processor Design
 
Automatic car parking barrier system using plc presentation
Automatic car parking barrier system using plc presentationAutomatic car parking barrier system using plc presentation
Automatic car parking barrier system using plc presentation
 
HMI- Human Machine Interface
HMI-  Human Machine InterfaceHMI-  Human Machine Interface
HMI- Human Machine Interface
 
Functional verification techniques EW16 session
Functional verification techniques  EW16 sessionFunctional verification techniques  EW16 session
Functional verification techniques EW16 session
 
Elements of Industrial Automation Week 01 Notes.pdf
Elements of Industrial Automation Week 01 Notes.pdfElements of Industrial Automation Week 01 Notes.pdf
Elements of Industrial Automation Week 01 Notes.pdf
 
SOC System Design Approach
SOC System Design ApproachSOC System Design Approach
SOC System Design Approach
 
day 3: Control Concepts & BMS
day 3: Control Concepts & BMS day 3: Control Concepts & BMS
day 3: Control Concepts & BMS
 
Working of DCS systems
Working of DCS systemsWorking of DCS systems
Working of DCS systems
 

Similar to Real Time System Validation using Hardware in Loop (HIL) Digital Platform

OPAL-RT RT13 Conference: Rapid control prototyping solutions for power electr...
OPAL-RT RT13 Conference: Rapid control prototyping solutions for power electr...OPAL-RT RT13 Conference: Rapid control prototyping solutions for power electr...
OPAL-RT RT13 Conference: Rapid control prototyping solutions for power electr...
OPAL-RT TECHNOLOGIES
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
Imran Sheikh
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
Rup Chowdhury
 
Bioinstrumentation Deploying AMS Technology
Bioinstrumentation Deploying AMS TechnologyBioinstrumentation Deploying AMS Technology
Bioinstrumentation Deploying AMS Technology
Shivaprasad Tilekar
 
An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5
Premier Farnell
 
Embedded systemsc
Embedded systemscEmbedded systemsc
Embedded systemsc
idris kamaruddin
 
8051 Presentation
8051 Presentation8051 Presentation
8051 Presentation
Sayan Chakraborty
 
FPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusionFPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusion
PersiPersi1
 
An Overview of LPC2101/02/03
An Overview of LPC2101/02/03An Overview of LPC2101/02/03
An Overview of LPC2101/02/03
Premier Farnell
 
Arduino_Beginner.pptx
Arduino_Beginner.pptxArduino_Beginner.pptx
Arduino_Beginner.pptx
aravind Guru
 
Embedded system design using arduino
Embedded system design using arduinoEmbedded system design using arduino
Embedded system design using arduino
Santosh Verma
 
EMBEDDED SYSTEM BASICS
EMBEDDED SYSTEM BASICSEMBEDDED SYSTEM BASICS
EMBEDDED SYSTEM BASICS
RANAALIMAJEEDRAJPUT
 
PIC Introduction and explained in detailed
PIC Introduction and explained in detailedPIC Introduction and explained in detailed
PIC Introduction and explained in detailed
Ankita Tiwari
 
Research Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and ScienceResearch Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and Scienceresearchinventy
 
Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...researchinventy
 
microcontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdfmicrocontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdf
818Farida
 
Iot Workshop NITT 2015
Iot Workshop NITT 2015Iot Workshop NITT 2015
Iot Workshop NITT 2015
Srivignessh Pss
 
Low cost embedded system
Low cost embedded systemLow cost embedded system
Low cost embedded system
ece svit
 
Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 vijaydeepakg
 
Scaling Down Instrumentation Deploying Analog Mixed Signal Technology
Scaling Down Instrumentation Deploying Analog Mixed Signal TechnologyScaling Down Instrumentation Deploying Analog Mixed Signal Technology
Scaling Down Instrumentation Deploying Analog Mixed Signal Technology
Shivaprasad Tilekar
 

Similar to Real Time System Validation using Hardware in Loop (HIL) Digital Platform (20)

OPAL-RT RT13 Conference: Rapid control prototyping solutions for power electr...
OPAL-RT RT13 Conference: Rapid control prototyping solutions for power electr...OPAL-RT RT13 Conference: Rapid control prototyping solutions for power electr...
OPAL-RT RT13 Conference: Rapid control prototyping solutions for power electr...
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
 
Bioinstrumentation Deploying AMS Technology
Bioinstrumentation Deploying AMS TechnologyBioinstrumentation Deploying AMS Technology
Bioinstrumentation Deploying AMS Technology
 
An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5
 
Embedded systemsc
Embedded systemscEmbedded systemsc
Embedded systemsc
 
8051 Presentation
8051 Presentation8051 Presentation
8051 Presentation
 
FPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusionFPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusion
 
An Overview of LPC2101/02/03
An Overview of LPC2101/02/03An Overview of LPC2101/02/03
An Overview of LPC2101/02/03
 
Arduino_Beginner.pptx
Arduino_Beginner.pptxArduino_Beginner.pptx
Arduino_Beginner.pptx
 
Embedded system design using arduino
Embedded system design using arduinoEmbedded system design using arduino
Embedded system design using arduino
 
EMBEDDED SYSTEM BASICS
EMBEDDED SYSTEM BASICSEMBEDDED SYSTEM BASICS
EMBEDDED SYSTEM BASICS
 
PIC Introduction and explained in detailed
PIC Introduction and explained in detailedPIC Introduction and explained in detailed
PIC Introduction and explained in detailed
 
Research Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and ScienceResearch Inventy: International Journal of Engineering and Science
Research Inventy: International Journal of Engineering and Science
 
Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...
 
microcontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdfmicrocontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdf
 
Iot Workshop NITT 2015
Iot Workshop NITT 2015Iot Workshop NITT 2015
Iot Workshop NITT 2015
 
Low cost embedded system
Low cost embedded systemLow cost embedded system
Low cost embedded system
 
Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 Sudhir tms 320 f 2812
Sudhir tms 320 f 2812
 
Scaling Down Instrumentation Deploying Analog Mixed Signal Technology
Scaling Down Instrumentation Deploying Analog Mixed Signal TechnologyScaling Down Instrumentation Deploying Analog Mixed Signal Technology
Scaling Down Instrumentation Deploying Analog Mixed Signal Technology
 

More from SHIMI S L

Preparation for NBA
Preparation for  NBAPreparation for  NBA
Preparation for NBA
SHIMI S L
 
NBA - laboratories
NBA -  laboratoriesNBA -  laboratories
NBA - laboratories
SHIMI S L
 
NBA
NBANBA
Nba co attainment
Nba co attainmentNba co attainment
Nba co attainment
SHIMI S L
 
Selective harmonic elimination in a solar powered multilevel inverter
Selective harmonic elimination in a solar powered multilevel inverterSelective harmonic elimination in a solar powered multilevel inverter
Selective harmonic elimination in a solar powered multilevel inverter
SHIMI S L
 
MPPT of a solar system
MPPT of a solar systemMPPT of a solar system
MPPT of a solar system
SHIMI S L
 
Fuzzy Logic and Neural Network
Fuzzy Logic and Neural NetworkFuzzy Logic and Neural Network
Fuzzy Logic and Neural Network
SHIMI S L
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
SHIMI S L
 
Advance control theory
Advance control theoryAdvance control theory
Advance control theory
SHIMI S L
 
Flexible AC Transmission (FACTS)
Flexible AC Transmission (FACTS)Flexible AC Transmission (FACTS)
Flexible AC Transmission (FACTS)
SHIMI S L
 
Solar energy application for electric power generation
Solar energy application for electric power generationSolar energy application for electric power generation
Solar energy application for electric power generation
SHIMI S L
 
Solid State Control of Electric Drive
Solid State Control of Electric DriveSolid State Control of Electric Drive
Solid State Control of Electric Drive
SHIMI S L
 
Arduino
ArduinoArduino
Arduino
SHIMI S L
 
Choppers and cycloconverters
Choppers and cycloconvertersChoppers and cycloconverters
Choppers and cycloconverters
SHIMI S L
 
Thyristor technology
Thyristor technologyThyristor technology
Thyristor technology
SHIMI S L
 

More from SHIMI S L (15)

Preparation for NBA
Preparation for  NBAPreparation for  NBA
Preparation for NBA
 
NBA - laboratories
NBA -  laboratoriesNBA -  laboratories
NBA - laboratories
 
NBA
NBANBA
NBA
 
Nba co attainment
Nba co attainmentNba co attainment
Nba co attainment
 
Selective harmonic elimination in a solar powered multilevel inverter
Selective harmonic elimination in a solar powered multilevel inverterSelective harmonic elimination in a solar powered multilevel inverter
Selective harmonic elimination in a solar powered multilevel inverter
 
MPPT of a solar system
MPPT of a solar systemMPPT of a solar system
MPPT of a solar system
 
Fuzzy Logic and Neural Network
Fuzzy Logic and Neural NetworkFuzzy Logic and Neural Network
Fuzzy Logic and Neural Network
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Advance control theory
Advance control theoryAdvance control theory
Advance control theory
 
Flexible AC Transmission (FACTS)
Flexible AC Transmission (FACTS)Flexible AC Transmission (FACTS)
Flexible AC Transmission (FACTS)
 
Solar energy application for electric power generation
Solar energy application for electric power generationSolar energy application for electric power generation
Solar energy application for electric power generation
 
Solid State Control of Electric Drive
Solid State Control of Electric DriveSolid State Control of Electric Drive
Solid State Control of Electric Drive
 
Arduino
ArduinoArduino
Arduino
 
Choppers and cycloconverters
Choppers and cycloconvertersChoppers and cycloconverters
Choppers and cycloconverters
 
Thyristor technology
Thyristor technologyThyristor technology
Thyristor technology
 

Recently uploaded

Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 

Recently uploaded (20)

Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 

Real Time System Validation using Hardware in Loop (HIL) Digital Platform

  • 1. Real Time System Validation using Hardware in Loop (HIL) Digital Platform Dr. Shimi S.L Assistant Professor Electrical Engineering Dept NITTTR, Chandigarh
  • 2. Intelligent Controllers Smart Sensors – Not Only Intelligent, but Adaptable Intelligent Actuators Plant
  • 3. Is Smart & Flexible Sensors Possible ?
  • 4. Microprocessor Microcontroller CPU-on-a-Chip Computer-on-a-Chip General Purpose Task Specific Used in Computer Systems Used in Embedded Systems Memory and I/O components are interfaced externally On-chip Memory and I/O Components Since external components interfaced, so the whole system is larger and costly Since On-chip components, so system is smaller and cheaper In Microprocessor based system, Instruction and data are stored in same memory module In Microcontroller based system, program memory and data memory are separate Microprocessor “CPU-on-a-Chip” Microcontroller “Computer-on-a-Chip”
  • 5.
  • 6. CB - Connection Blocks SB - Switching Block CLB - Configurable Logic Block LUT - Look-Up-Table
  • 8. Most Popular Controllers • Atmel  8051  AVR • Microchip  PIC16F877 • ARM  ARM7  ARM9  ARM Cortex and many more…….
  • 9. Architecture-ARM Microcontroller Interrupt Address Address register Incrementer Read register 32 bit register bank 32 Bit ALU register bank Read register Instruction Pipeline Instruction decoder Debug control Interrupt Control Incrementer Data Address Data Bus Data bus Instruction Address Instruction data A Bus B Bus PCBus Write register
  • 10. • Software • ARM C/C++ Compiler (armcc) Development Platform-ARM • Hardware – One DBGU serial communication port – One ZIGBEE extension connector – One JTAG debug interface – Five user- input push buttons – One Wake-UP input push button – One Reset Push Button – One Battery Socket for two AAA batteries – One 400 segments dot matrix LCD
  • 11. Controller 8051 PIC ARM Bit Addressable 8 bit 8,12,14 & 16 bit 16 & 32 Bit Max. crystal Freq. (MHz) 4-16 MHz Up to 80 MHz Up to 400 MHz Operating voltage (volts) 1-5V 1.5 to 5 V 1- 5V Flash 0.5K - 384K Up to 512K 16k to 2M Cache ---- ---- 2x4k - 16k + 8k Peripherals available USART, SPI, USB, I2C USART, SPI, I2C, ADC, DAC, USB, Ethernet, CAN USART, SPI, I2C, USB, ADC, DAC, Video Decoder, Image Sensor Interface Comparison
  • 12. Debug code Including external I/O stimulus Order HW boards/parts SW comp, debugger Build Prototype Enter Specifications Select Best Part Configure core, peripherals & Auto- generate Code Customize main loop/events integrate libraries & Generate Object Microcontroller Development Process
  • 14. ICSP (In-Circuit Serial Programming)
  • 15. Microcontroller ATmega328 Operating Voltage 5V Input Voltage (recommended) 7-12V Input Voltage (limits) 6-20V Digital I/O Pins 14 (of which 6 provide PWM output) Analog Input Pins 6 DC Current per I/O Pin 40 mA DC Current for 3.3V Pin 50 mA Flash Memory 32 KB (ATmega328) of which 0.5 KB used by bootloader SRAM 2 KB (ATmega328) EEPROM 1 KB (ATmega328) Clock Speed 16 MHz
  • 22. 3 level Inverter waveform on CRO
  • 24. Specification of DS1104 R&D Controller Board Parameter Characteristics Processor MPC8240 processor with PPC603e core and on-chip peripherals • 64-bit floating-point processor • 250 MHz CPU • 2 x 16 KB cache; on-chip • On-chip PCI bridge (33 MHz) Memory Global memory: 32 MB SDRAM • Flash memory: 8 MB ADC 1 x 16-bit ADC with mux 4 x 12-bit ADC 5 ADC channels (1 x 16-bit + 4 x 12-bit) can be sampled simultaneous • 16-bit resolution • ±10 V input voltage range • 2μs conversion time • 12-bit resolution • ±10 V input voltage range • 800 ns conversion time Slave DSP subsystem • Texas Instruments TMS320F240 DSP • 16-bit fixed-point processor • 20 MHz clock frequency • 64 K x 16 external program memory • 28 K x 16 external data memory • 4 K x 16 dual-port memory for communication • 16 K x 16 flash memory • 1 x 3-phase PWM output • 4 x 1-phase PWM output • ±13 mA maximum output current Host interface • 32-bit PCI host interface • 5VPCI slot • 33MHz±5 % Power supply • +5 V ±5 %, 2.5 A • +12 V ±5 %, 0.3 A Power consumption 18.5 W
  • 25.
  • 26.
  • 27. Parameter Settings for (a) ADC, (b) ADC Multiplexed and (c) PWM Blocks (a) (b) (c)
  • 28. Block Diagram Peripheral Component Interconnect Bus (PCI Bus)
  • 29. MPPT of a PV System
  • 30.
  • 31.
  • 32. MicroLabBox, with over 100 I/O channels of various types for applications in robotics, medical engineering, electric drives, renewable energy, consumer appliances, industrial products, automotive engineering, and aerospace
  • 33. What is Real Time Simulation? Simulation execution happens in synchronism with wall clock time or real time Why real time simulation? To exchange information with physical components.
  • 34. How real time simulation is done? • The complexity of the plant under control is included in test and development by adding a mathematical representation of all related dynamic systems. These mathematical representations are referred to as the “plant simulation”. The embedded system to be tested interacts with this plant simulation. • It allows testing of an unlimited number of short circuits and other transients (e.g. fault transients), as well as regular transients in the power system. Something that is impractical to do on the actual system. • Virtual, highly realistic, real-time models of the hardware (microgrid testbed) enable testing high power systems without the dangers and costs involved with testing high power.
  • 35. 35 Real Time Simulation Applications For time critical studies! 1) Controller design, test and interface 2) Closed loop test of intelligent electronic devices 3) SCADA system studies; Operator training 4) Modern micro-grid/smart grid studies 5) Special Protection Schemes – design and test
  • 36. Testing controllers using dSpace for grid interfaces, electric drives, and power electronics
  • 37.
  • 38. 38 OPAL-RT HIL – General Architecture The hardware that perform real time simulation consists of Computational Units: CPU & FPGA Interfacing Units: Analog & Digital I/O cards, serial ports, PCI slots Hardware = Standard Intel PC + Xilinx FPGA + Interfacing units Standard Intel PC with Motherboard, hard-disk, RAM, CPU Xilinx FPGA Interfacing unit with Analog & Digital I/Os, serial ports, PCI slots etc. OPAL-RT Real Time Simulation Hardware
  • 39. PC with MATLAB/ SIMULINK Opal-RT HIL Box
  • 41. Limitations of SPS for achieving real-time simulation • SPS generates a unique matrix for State-Space equations, even if the matrix is sparsed • Results in higher computation time • SPS recomputes system matrix in the real-time loop each time there is a switch change conduction state (On/Off) • Results in overruns each time a different topology occurs ARTEMIS for Real-Time Simulation of Power Systems SimPowerSystem (SPS) presentation 41
  • 42. • ARTEMIS takes advantage of the sparse matrix properties to optimize the computation time : In SPS and ARTEMIS, each independent sub-circuit has its own smaller set of ABCD state-space equations • FASTER iteration. (SPS S-functions are not sparsity-optimized) switches located on different sub-networks are pre-computed independently ARTEMIS for Real-Time Simulation of Power Systems 42
  • 43. • ARTEMIS accuracy : ARTEMIS solvers are designed to improve the accuracy of simulation of power system at large time steps
  • 44. • Simulink signals are updated at next sample time • RT-EVENTS too, but it keeps transition information (in the time stamp) • Accuracy of gate pulses is highly increased for the same time-step RT-Events for PWM generation RT-Events concepts 44 Simulink RT-Events
  • 46.
  • 47.
  • 49. System Validation using Hardware Dr. Shimi S.L Assistant Professor Electrical Engineering Dept NITTTR, Chandigarh