SlideShare ist ein Scribd-Unternehmen logo
1 von 25
ACRRL
Applied Control & Robotics
Research Laboratory
of Shiraz University
Computer
Applications in
Control
Lecture 1
ACRRL
Applied Control & Robotics Research Laboratory
of Shiraz University
Department of Power and Control Engineering, Shiraz University, Fars, Iran.
Instructor: Dr. Asemani
TA: Mohammad Sabouri
Course Overview
LabVIEW:
• Introduction to LabVIEW
• Programming with LabVIEW
• VISA Toolkit: Arduino
• Introduction to Raspberry Pi
• Connection to LabVIEW with Internet, LAN, WLAN
• Vision Development Module
• Control design toolkit, PID & Fuzzy control toolkit
• MathScript RT Module
Course Overview
MATLAB:
• PIDtool
• SISOtool
• Control design toolbox
• Introduction to Identification toolbox
Course Overview
In class Homework:
• 2 Score
Final Exam
• 7 Score
Project1:
• 1 Score
• Deadline: 6th March 2018 (15th Esfand 1396)
Project2:
• 1.5 Score
• Deadline: 14th April 2018 (25th Farvardin 1397)
Project3:
• 1.5 Score
• Deadline: 1st June 2018 (11st Khordad 1397)
Final Project:
• 7 Score
• Deadline: 11th July 2018 (20th Tir 1397)
Different software for Control design
• NI LabVIEW
• Matlab, Simulink® Software
• MapleSoft (MapleSim)
• ANSI C
• Esterel SCADE
• NI MATRIXx SystemBuild
Different software for Control design
The MathWorks, Inc. Simulink® Software
NI LabVIEW MapleSoft MapleSim
Esterel SCADE
ANSI C
NI MATRIXx SystemBuild
Overview of LabVIEW
• LabVIEW – Laboratory Virtual Instrument Engineering Workbench
• Graphical programming language that allows for instrument control,
data acquisition, and pre/post processing of acquired data.
Graphical programming language & Data flow
• LabVIEW relies on graphical symbols rather than textual language to
describe programming actions.
• The principle of dataflow, in which functions execute only after receivi
ng the necessary data, governs execution in a straightforward manner.
Graphical programming Vs Code programming
LabVIEW C*
How does LabVIEW work?
• LabVIEW programs are called:
Virtual Instruments (VIs)
because their appearance and operation imitate actual instruments.
• However, they are analogous to main programs, functions and subroutines
from popular language like C, Fortran, Pascal, …
LabVIEW Power
Windows | Mac | Linux® | RTOS
English | French | German | Japanese | Korean | Chinese
LabVIEW 2017 system requirements
Windows Run-Time Engine Development Environment
Processor
1
Pentium 4M/Celeron 866 MHz (or equivalent) or later (32-bit)
Pentium 4 G1 (or equivalent) or later (64-bit)
Pentium 4M (or equivalent) or later (32-bit)
Pentium 4 G1 (or equivalent) or later (64-bit)
RAM 256 MB 1 GB
Screen Resolution 1024 x 768 pixels 1024 x 768 pixels
Operating System Windows 10/8.1
2
/7 SP1
3
Windows Server 2012 R2
2
Windows Server 2008 R2 SP1
3
Windows 10/8.1
2
/7 SP1
3
Windows Server 2012 R2
2
Windows Server 2008 R2 SP1
3
Disk Space 620 MB 5 GB (includes default drivers)
Windows
Matlab 2017 system requirements
Operating Systems Processors Disk Space RAM Graphics
Windows 10
Windows 8.1
Windows 7 Service
Pack 1
Windows Server 2016
Windows Server 2012
R2
Windows Server 2012
Windows Server 2008
R2 Service Pack 1
Any Intel or AMD x86-
64 processor AVX2
instruction set support
is recommended
With Polyspace, 4 core
s is recommended
2 GB for MATLAB
only,
4–6 GB for a
typical installation
2 GB
With Simulink, 4
GB is required
With Polyspace, 4 G
B per core is recom
mended
No specific graphics
card is required.
Hardware accelerate
d graphics card supp
orting OpenGL 3.3 w
ith 1GB GPU memor
y is recommended.
LabVIEW Vs Matlab
• MATLAB is much better for computation than LabVIEW, mostly because classical program
code is much more appropriate for calculations than block diagrams.
• Chart shows that the functions for classical engineering calculations (Bode, FFT) are very well
optimized in LabVIEW and faster than in MATLAB.
• The biggest advantage of LabVIEW is fast and simple construction of the graphical user
interface that facilitates the updating of parameters (no need to interfere with the code) and e
legant presentation of the results.
• Another advantage of LabVIEW is that most MATLAB functions are accessible from LabVIEW
via the MathScript Node, which can actually pass data to m code, execute it and get results
back.
LabVIEW Vs Matlab
CALCULATION WITH MATRICES
FAST FOURIER TRANSFORM (FFT)
LabVIEW Vs Matlab
DC MOTOR CONTROL SIMULATION
TRANSFER FUNCTION BODE PLOT
Product LabVIEW 2017 (32-bit) LabVIEW 2017 (64-bit)
Advanced Signal Processing Toolkit ✓ —
Control Design and Simulation Module ✓ ✓
1
Database Connectivity Toolkit ✓ —
DataFinder Toolkit ✓ —
Datalogging and Supervisory Control Module ✓ —
Desktop Execution Trace Toolkit for Windows ✓ ✓
Digital Filter Design Toolkit ✓ —
FPGA Module ✓ —
MathScript RT Module ✓ ✓
2
Report Generation Toolkit for Microsoft Office ✓ ✓
Real-Time Module ✓ —
Robotics Module ✓ —
SoftMotion Module ✓ —
Statechart Module ✓ —
Sound and Vibration Measurement Suite ✓ ✓
Unit Test Framework Toolkit ✓ ✓
VI Analyzer Toolkit ✓ ✓
Vision Development Module ✓ ✓
LabVIEW 2017 Supported Modules and Toolkits
Design
– Signal and Image Processing
– Embedded System Programming
– (PC, DSP, FPGA, Microcontroller)
– Simulation and Prototyping
– Power Station
– DCS, SCADA
– And More…
Features of LabVIEW
Control
– Automatic Controls and Dynamic Systems
– Mechatronics and Robotics
– Power Station
– Manufacture Process
– Monitoring
– Ground control station
– Production Line
– And More…
Features of LabVIEW
Measurements
– Circuits and Electronics
– Measurements and Instrumentation
– Factory
– Laboratory
– Education
– And More…
Features of LabVIEW
Hardware in LabVIEW
Data Acquisition Device (DAQ)
Actual USB, PCI, or PXI Device
Configured in MAX
Simulated Data Acquisition Device (DAQ)
Software simulated at the driver level
Configured in MAX
Sound Card
Built into most computers
Arduino
USB
Sound Card* NI USB DAQ NI PCI DAQ Arduino Instruments*
AI Bandwidth 8–44 KS/s 10–200 KS/s 250 K–1.2 Ms/s — 20kS/s–2 GS/s
Accuracy 12–16 bit 12–16 bit 14–18 bit 8-10 bit 12–24 bit
Portable x x — Yes some
AI Channels 2 8–16 16–80 6-12 2
AO Channels 2 1–2 2–4 0-2 0
AC or DC AC AC/DC AC/DC AC/DC AC/DC
Triggering — x x x x
Calibrated — x x x x
What type of device should I use?
Movie
Questions?

Weitere ähnliche Inhalte

Was ist angesagt?

Using OSGi for the Realization of Complex Building Management Systems - Peter...
Using OSGi for the Realization of Complex Building Management Systems - Peter...Using OSGi for the Realization of Complex Building Management Systems - Peter...
Using OSGi for the Realization of Complex Building Management Systems - Peter...
mfrancis
 
Real-Time Voice Actuation
Real-Time Voice ActuationReal-Time Voice Actuation
Real-Time Voice Actuation
Pragya Agrawal
 
Varun Gatne - Resume - Final
Varun Gatne - Resume - FinalVarun Gatne - Resume - Final
Varun Gatne - Resume - Final
Varun Gatne
 

Was ist angesagt? (19)

Using OSGi for the Realization of Complex Building Management Systems - Peter...
Using OSGi for the Realization of Complex Building Management Systems - Peter...Using OSGi for the Realization of Complex Building Management Systems - Peter...
Using OSGi for the Realization of Complex Building Management Systems - Peter...
 
Real-Time Voice Actuation
Real-Time Voice ActuationReal-Time Voice Actuation
Real-Time Voice Actuation
 
A data and task co scheduling algorithm for scientific cloud workflows
A data and task co scheduling algorithm for scientific cloud workflowsA data and task co scheduling algorithm for scientific cloud workflows
A data and task co scheduling algorithm for scientific cloud workflows
 
Viktor Sdobnikov - Computer Vision for Advanced Driver Assistance Systems (AD...
Viktor Sdobnikov - Computer Vision for Advanced Driver Assistance Systems (AD...Viktor Sdobnikov - Computer Vision for Advanced Driver Assistance Systems (AD...
Viktor Sdobnikov - Computer Vision for Advanced Driver Assistance Systems (AD...
 
ADSL ppt
ADSL pptADSL ppt
ADSL ppt
 
Apeman masta midih-oc2_demo_day
Apeman masta midih-oc2_demo_dayApeman masta midih-oc2_demo_day
Apeman masta midih-oc2_demo_day
 
Postgraduate Projects in Scilab
Postgraduate Projects in ScilabPostgraduate Projects in Scilab
Postgraduate Projects in Scilab
 
Alter igit-cmbit midih-presentation oc2
Alter   igit-cmbit midih-presentation oc2Alter   igit-cmbit midih-presentation oc2
Alter igit-cmbit midih-presentation oc2
 
Turning software into computer chips - Hastlayer
Turning software into computer chips - HastlayerTurning software into computer chips - Hastlayer
Turning software into computer chips - Hastlayer
 
Matlab Projects Research Assistance
Matlab Projects Research AssistanceMatlab Projects Research Assistance
Matlab Projects Research Assistance
 
Techniques for Efficient RTL Clock and Memory Gating Takedown of Next Generat...
Techniques for Efficient RTL Clock and Memory Gating Takedown of Next Generat...Techniques for Efficient RTL Clock and Memory Gating Takedown of Next Generat...
Techniques for Efficient RTL Clock and Memory Gating Takedown of Next Generat...
 
Automation of Clos with eBGP at LINE
Automation of Clos with eBGP at LINEAutomation of Clos with eBGP at LINE
Automation of Clos with eBGP at LINE
 
Simulation Projects in Matlab
Simulation Projects in MatlabSimulation Projects in Matlab
Simulation Projects in Matlab
 
O Matrix Overview
O Matrix OverviewO Matrix Overview
O Matrix Overview
 
Varun Gatne - Resume - Final
Varun Gatne - Resume - FinalVarun Gatne - Resume - Final
Varun Gatne - Resume - Final
 
Nag software For Finance
Nag software For FinanceNag software For Finance
Nag software For Finance
 
Towards the Automation Cloud: Architectural Challenges for a Novel Smart Ecos...
Towards the Automation Cloud: Architectural Challenges for a Novel Smart Ecos...Towards the Automation Cloud: Architectural Challenges for a Novel Smart Ecos...
Towards the Automation Cloud: Architectural Challenges for a Novel Smart Ecos...
 
Video Processing Thesis MATLAB Projects
Video Processing Thesis MATLAB ProjectsVideo Processing Thesis MATLAB Projects
Video Processing Thesis MATLAB Projects
 
6 Years of Performance Modeling at ABB
6 Years of Performance Modeling at ABB6 Years of Performance Modeling at ABB
6 Years of Performance Modeling at ABB
 

Ähnlich wie Labview1_ Computer Applications in Control_ACRRL

Introduction to lab_view
Introduction to lab_viewIntroduction to lab_view
Introduction to lab_view
Sugeng Rianto
 
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
WSPDC & FEDSPUG
 

Ähnlich wie Labview1_ Computer Applications in Control_ACRRL (20)

Introduction to lab_view
Introduction to lab_viewIntroduction to lab_view
Introduction to lab_view
 
Introduction to Blackfin BF532 DSP
Introduction to Blackfin BF532 DSPIntroduction to Blackfin BF532 DSP
Introduction to Blackfin BF532 DSP
 
Intel Parallel Studio XE 2016 網路開發工具包新版本功能介紹(現已上市,歡迎詢價)
Intel Parallel Studio XE 2016 網路開發工具包新版本功能介紹(現已上市,歡迎詢價)Intel Parallel Studio XE 2016 網路開發工具包新版本功能介紹(現已上市,歡迎詢價)
Intel Parallel Studio XE 2016 網路開發工具包新版本功能介紹(現已上市,歡迎詢價)
 
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
 
Overview of Modern Graph Analysis Tools
Overview of Modern Graph Analysis ToolsOverview of Modern Graph Analysis Tools
Overview of Modern Graph Analysis Tools
 
Recommendations for Building Machine Learning Software
Recommendations for Building Machine Learning SoftwareRecommendations for Building Machine Learning Software
Recommendations for Building Machine Learning Software
 
Performance Verification for ESL Design Methodology from AADL Models
Performance Verification for ESL Design Methodology from AADL ModelsPerformance Verification for ESL Design Methodology from AADL Models
Performance Verification for ESL Design Methodology from AADL Models
 
Our Methodology & Benefits
Our Methodology & BenefitsOur Methodology & Benefits
Our Methodology & Benefits
 
Neotys PAC 2018 - Jonathon Wright
Neotys PAC 2018 - Jonathon WrightNeotys PAC 2018 - Jonathon Wright
Neotys PAC 2018 - Jonathon Wright
 
Justin Basilico, Research/ Engineering Manager at Netflix at MLconf SF - 11/1...
Justin Basilico, Research/ Engineering Manager at Netflix at MLconf SF - 11/1...Justin Basilico, Research/ Engineering Manager at Netflix at MLconf SF - 11/1...
Justin Basilico, Research/ Engineering Manager at Netflix at MLconf SF - 11/1...
 
IRJET- A Review- FPGA based Architectures for Image Capturing Consequently Pr...
IRJET- A Review- FPGA based Architectures for Image Capturing Consequently Pr...IRJET- A Review- FPGA based Architectures for Image Capturing Consequently Pr...
IRJET- A Review- FPGA based Architectures for Image Capturing Consequently Pr...
 
Mesa and Its Debugging, Вадим Шовкопляс
Mesa and Its Debugging, Вадим ШовкоплясMesa and Its Debugging, Вадим Шовкопляс
Mesa and Its Debugging, Вадим Шовкопляс
 
Resume2015
Resume2015Resume2015
Resume2015
 
Shantanu's Resume
Shantanu's ResumeShantanu's Resume
Shantanu's Resume
 
Trends towards the merge of HPC + Big Data systems
Trends towards the merge of HPC + Big Data systemsTrends towards the merge of HPC + Big Data systems
Trends towards the merge of HPC + Big Data systems
 
Debugging Numerical Simulations on Accelerated Architectures - TotalView fo...
 Debugging Numerical Simulations on Accelerated Architectures  - TotalView fo... Debugging Numerical Simulations on Accelerated Architectures  - TotalView fo...
Debugging Numerical Simulations on Accelerated Architectures - TotalView fo...
 
Introduction to Software Defined Visualization (SDVis)
Introduction to Software Defined Visualization (SDVis)Introduction to Software Defined Visualization (SDVis)
Introduction to Software Defined Visualization (SDVis)
 
Intro to open source telemetry linux con 2016
Intro to open source telemetry   linux con 2016Intro to open source telemetry   linux con 2016
Intro to open source telemetry linux con 2016
 
digitaldesign-s20-lecture3b-fpga-afterlecture.pdf
digitaldesign-s20-lecture3b-fpga-afterlecture.pdfdigitaldesign-s20-lecture3b-fpga-afterlecture.pdf
digitaldesign-s20-lecture3b-fpga-afterlecture.pdf
 
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
FEDSPUG April 2014: Visual Studio 2013 for Application Lifecycle Management &...
 

Mehr von Mohammad Sabouri

Extremely low-cost lower limb prostheses_G12.pptx
Extremely low-cost lower limb prostheses_G12.pptxExtremely low-cost lower limb prostheses_G12.pptx
Extremely low-cost lower limb prostheses_G12.pptx
Mohammad Sabouri
 

Mehr von Mohammad Sabouri (15)

Extremely low-cost lower limb prostheses_G12.pptx
Extremely low-cost lower limb prostheses_G12.pptxExtremely low-cost lower limb prostheses_G12.pptx
Extremely low-cost lower limb prostheses_G12.pptx
 
MECHANICAL DESIGN METHODS IN ROBOTICS.pptx
MECHANICAL DESIGN METHODS IN ROBOTICS.pptxMECHANICAL DESIGN METHODS IN ROBOTICS.pptx
MECHANICAL DESIGN METHODS IN ROBOTICS.pptx
 
Human Computer Interaction (HCI).pptx
Human Computer Interaction (HCI).pptxHuman Computer Interaction (HCI).pptx
Human Computer Interaction (HCI).pptx
 
Intelligent Decision Making Assistant (IDMA) for SAL improvement.pptx
Intelligent Decision Making Assistant (IDMA) for SAL improvement.pptxIntelligent Decision Making Assistant (IDMA) for SAL improvement.pptx
Intelligent Decision Making Assistant (IDMA) for SAL improvement.pptx
 
Introducing the services of Iran Patent Center- PDF
Introducing the services of Iran Patent Center- PDFIntroducing the services of Iran Patent Center- PDF
Introducing the services of Iran Patent Center- PDF
 
Introduction to Lens database -in Persian (powerful site for searching)
Introduction to Lens database -in Persian (powerful site for searching)Introduction to Lens database -in Persian (powerful site for searching)
Introduction to Lens database -in Persian (powerful site for searching)
 
CV_ nov.2019
CV_ nov.2019CV_ nov.2019
CV_ nov.2019
 
Icbme2020- Use of neural network algorithms to predict arterial blood gas ite...
Icbme2020- Use of neural network algorithms to predict arterial blood gas ite...Icbme2020- Use of neural network algorithms to predict arterial blood gas ite...
Icbme2020- Use of neural network algorithms to predict arterial blood gas ite...
 
Prediction of Arterial Blood Gases(ABG) by Using Neural Network In Trauma Pat...
Prediction of Arterial Blood Gases(ABG) by Using Neural Network In Trauma Pat...Prediction of Arterial Blood Gases(ABG) by Using Neural Network In Trauma Pat...
Prediction of Arterial Blood Gases(ABG) by Using Neural Network In Trauma Pat...
 
Traffic monitoring using drone_ACRRL_Shiraz University
Traffic monitoring using drone_ACRRL_Shiraz UniversityTraffic monitoring using drone_ACRRL_Shiraz University
Traffic monitoring using drone_ACRRL_Shiraz University
 
Robotic introduction
Robotic introductionRobotic introduction
Robotic introduction
 
Recurrent Neural Network
Recurrent Neural NetworkRecurrent Neural Network
Recurrent Neural Network
 
Labview2_Computer Applications in Control_ACRRL
Labview2_Computer Applications in Control_ACRRLLabview2_Computer Applications in Control_ACRRL
Labview2_Computer Applications in Control_ACRRL
 
Spoofing attack on PMU (Phasor measurement unit)
Spoofing attack on PMU (Phasor measurement unit)Spoofing attack on PMU (Phasor measurement unit)
Spoofing attack on PMU (Phasor measurement unit)
 
Haptic technology ppt
Haptic technology pptHaptic technology ppt
Haptic technology ppt
 

Kürzlich hochgeladen

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Kürzlich hochgeladen (20)

Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 

Labview1_ Computer Applications in Control_ACRRL

  • 1. ACRRL Applied Control & Robotics Research Laboratory of Shiraz University Computer Applications in Control Lecture 1
  • 2. ACRRL Applied Control & Robotics Research Laboratory of Shiraz University Department of Power and Control Engineering, Shiraz University, Fars, Iran. Instructor: Dr. Asemani TA: Mohammad Sabouri
  • 3. Course Overview LabVIEW: • Introduction to LabVIEW • Programming with LabVIEW • VISA Toolkit: Arduino • Introduction to Raspberry Pi • Connection to LabVIEW with Internet, LAN, WLAN • Vision Development Module • Control design toolkit, PID & Fuzzy control toolkit • MathScript RT Module
  • 4. Course Overview MATLAB: • PIDtool • SISOtool • Control design toolbox • Introduction to Identification toolbox
  • 5. Course Overview In class Homework: • 2 Score Final Exam • 7 Score Project1: • 1 Score • Deadline: 6th March 2018 (15th Esfand 1396) Project2: • 1.5 Score • Deadline: 14th April 2018 (25th Farvardin 1397) Project3: • 1.5 Score • Deadline: 1st June 2018 (11st Khordad 1397) Final Project: • 7 Score • Deadline: 11th July 2018 (20th Tir 1397)
  • 6. Different software for Control design • NI LabVIEW • Matlab, Simulink® Software • MapleSoft (MapleSim) • ANSI C • Esterel SCADE • NI MATRIXx SystemBuild
  • 7. Different software for Control design The MathWorks, Inc. Simulink® Software NI LabVIEW MapleSoft MapleSim Esterel SCADE ANSI C NI MATRIXx SystemBuild
  • 8. Overview of LabVIEW • LabVIEW – Laboratory Virtual Instrument Engineering Workbench • Graphical programming language that allows for instrument control, data acquisition, and pre/post processing of acquired data.
  • 9. Graphical programming language & Data flow • LabVIEW relies on graphical symbols rather than textual language to describe programming actions. • The principle of dataflow, in which functions execute only after receivi ng the necessary data, governs execution in a straightforward manner.
  • 10. Graphical programming Vs Code programming LabVIEW C*
  • 11. How does LabVIEW work? • LabVIEW programs are called: Virtual Instruments (VIs) because their appearance and operation imitate actual instruments. • However, they are analogous to main programs, functions and subroutines from popular language like C, Fortran, Pascal, …
  • 12. LabVIEW Power Windows | Mac | Linux® | RTOS English | French | German | Japanese | Korean | Chinese
  • 13. LabVIEW 2017 system requirements Windows Run-Time Engine Development Environment Processor 1 Pentium 4M/Celeron 866 MHz (or equivalent) or later (32-bit) Pentium 4 G1 (or equivalent) or later (64-bit) Pentium 4M (or equivalent) or later (32-bit) Pentium 4 G1 (or equivalent) or later (64-bit) RAM 256 MB 1 GB Screen Resolution 1024 x 768 pixels 1024 x 768 pixels Operating System Windows 10/8.1 2 /7 SP1 3 Windows Server 2012 R2 2 Windows Server 2008 R2 SP1 3 Windows 10/8.1 2 /7 SP1 3 Windows Server 2012 R2 2 Windows Server 2008 R2 SP1 3 Disk Space 620 MB 5 GB (includes default drivers) Windows
  • 14. Matlab 2017 system requirements Operating Systems Processors Disk Space RAM Graphics Windows 10 Windows 8.1 Windows 7 Service Pack 1 Windows Server 2016 Windows Server 2012 R2 Windows Server 2012 Windows Server 2008 R2 Service Pack 1 Any Intel or AMD x86- 64 processor AVX2 instruction set support is recommended With Polyspace, 4 core s is recommended 2 GB for MATLAB only, 4–6 GB for a typical installation 2 GB With Simulink, 4 GB is required With Polyspace, 4 G B per core is recom mended No specific graphics card is required. Hardware accelerate d graphics card supp orting OpenGL 3.3 w ith 1GB GPU memor y is recommended.
  • 15. LabVIEW Vs Matlab • MATLAB is much better for computation than LabVIEW, mostly because classical program code is much more appropriate for calculations than block diagrams. • Chart shows that the functions for classical engineering calculations (Bode, FFT) are very well optimized in LabVIEW and faster than in MATLAB. • The biggest advantage of LabVIEW is fast and simple construction of the graphical user interface that facilitates the updating of parameters (no need to interfere with the code) and e legant presentation of the results. • Another advantage of LabVIEW is that most MATLAB functions are accessible from LabVIEW via the MathScript Node, which can actually pass data to m code, execute it and get results back.
  • 16. LabVIEW Vs Matlab CALCULATION WITH MATRICES FAST FOURIER TRANSFORM (FFT)
  • 17. LabVIEW Vs Matlab DC MOTOR CONTROL SIMULATION TRANSFER FUNCTION BODE PLOT
  • 18. Product LabVIEW 2017 (32-bit) LabVIEW 2017 (64-bit) Advanced Signal Processing Toolkit ✓ — Control Design and Simulation Module ✓ ✓ 1 Database Connectivity Toolkit ✓ — DataFinder Toolkit ✓ — Datalogging and Supervisory Control Module ✓ — Desktop Execution Trace Toolkit for Windows ✓ ✓ Digital Filter Design Toolkit ✓ — FPGA Module ✓ — MathScript RT Module ✓ ✓ 2 Report Generation Toolkit for Microsoft Office ✓ ✓ Real-Time Module ✓ — Robotics Module ✓ — SoftMotion Module ✓ — Statechart Module ✓ — Sound and Vibration Measurement Suite ✓ ✓ Unit Test Framework Toolkit ✓ ✓ VI Analyzer Toolkit ✓ ✓ Vision Development Module ✓ ✓ LabVIEW 2017 Supported Modules and Toolkits
  • 19. Design – Signal and Image Processing – Embedded System Programming – (PC, DSP, FPGA, Microcontroller) – Simulation and Prototyping – Power Station – DCS, SCADA – And More… Features of LabVIEW
  • 20. Control – Automatic Controls and Dynamic Systems – Mechatronics and Robotics – Power Station – Manufacture Process – Monitoring – Ground control station – Production Line – And More… Features of LabVIEW
  • 21. Measurements – Circuits and Electronics – Measurements and Instrumentation – Factory – Laboratory – Education – And More… Features of LabVIEW
  • 22. Hardware in LabVIEW Data Acquisition Device (DAQ) Actual USB, PCI, or PXI Device Configured in MAX Simulated Data Acquisition Device (DAQ) Software simulated at the driver level Configured in MAX Sound Card Built into most computers Arduino USB
  • 23. Sound Card* NI USB DAQ NI PCI DAQ Arduino Instruments* AI Bandwidth 8–44 KS/s 10–200 KS/s 250 K–1.2 Ms/s — 20kS/s–2 GS/s Accuracy 12–16 bit 12–16 bit 14–18 bit 8-10 bit 12–24 bit Portable x x — Yes some AI Channels 2 8–16 16–80 6-12 2 AO Channels 2 1–2 2–4 0-2 0 AC or DC AC AC/DC AC/DC AC/DC AC/DC Triggering — x x x x Calibrated — x x x x What type of device should I use?
  • 24. Movie