Professional Documents
Culture Documents
Implementation of
Optimization Algorithms using
LabVIEW:
Applications in Photovoltaics
Vipul Kheraj
Department of Applied Physics,
Sardar Vallabhbhai National Institute of Technology
(SVNIT), Surat
What is LabVIEW?
Laboratory
Virtual
Instrument
Engineering
Workbench
Graphical Programming Language for Engineers &
Scientists
Powerful
Software
tool
for
Designing
Test,
Platform
for
Automation,
Why LabVIEW?
Provides Complete Integrated Environment to...
Interface With Real-World Signals
Analyze Data for Meaningful Information
Display Results in Flexible Manner
Block Diagram
Programming Codes for Front Panel
Wiring for Data Flow
DEMO
VI Front Panel
Panel Toolbar
Boolean
Control
Double
Indicator
Waveform Graph
VI Block Diagram
Thermometer
Terminal
Call to
subVI
Temperature
Graph
Knob
Terminal
Stop Loop
Terminal
Numeric
Constant
While Loop
Stop Button
Terminal
Control Palette
(Place items on the
Front Panel Window)
Control:
Numeric
Customize
Palette
View
Indicator:
Numeric Slide
Function Palette
(Place items on the
Block Diagram Window)
Structure:
While Loop
Status Toolbar
Run Button
Continuous Run Button
Abort Execution
Loops
While Loops
While Loop
For Loops
For Loop
terminal counts
iterations
Run according to input N
of count terminal
Select
Dataflow Programming
Block diagram execution
Dependent on the flow of
data
Block diagram does NOT
execute left to right
Creating an Array
From the ControlsModernArray, Matrix,
and Cluster subpalette, select the Array
icon.
Shift Register
Final
Value
First
Iteration
Second
Iteration
Last
Iteration
Local Variables
Local Variables allow data to be passed between
parallel loops.
A single control or indicator can be read or written
to from more than one location in the program
Local Variables break the dataflow paradigm and should
be used sparingly
iteration) is passed
out of the loop
Create SubVI
Enclose area to be converted into a subVI
Select EditCreate SubVI from the Edit
Menu
Debugging Techniques
Finding Errors
Click on broken Run button.
Window showing error appears.
Execution Highlighting
Click on Execution Highlighting button;
data flow is animated using bubbles.
Values are displayed on wires.
Probes
Right-click on wire to display probe and it
shows data as it flows through wire segment.
You can also select Probe tool from Tools
palette and click on wire.
Genetic Algorithm
Bill Gates
Ty
pic
al
flo
wc
ha
rt
of
GA
Benefits of GA
Issues with GA
representation
Termination Criteria
Performance, scalability
AR Coating
Design using
GA
30
GA terminology in context
of multilayer ARC design
GA terms
Initial Population
Individual
Search space
Fitness function
Implementation of program
Number of layers
Population size
No of iterations
es
n
t
Fi
n
o
i
ct
n
u
sF
Initial Population
Pi
The probability of selection of ith individual,
1 / Raveraged (k , T )
1 / R
N
i 1
averaged
( k , T )
Stack
Design
InP
Substrate
MgF2
594
Si
399
MgF2
3114
Air
Average Reflectivity
(%)
Reflectivity (%) at
Centre wavelength
(1550 nm)
0.00063 %
0.00049 %
Concluding Remarks
LabVIEW is cool!
The
real
life
scientific
and
engineering design problems can be
effectively solved using GA/TLBO
with LabVIEW as a tool!
Acknowledgement
Questions so
far
???