1 / 20

Lesson 1 Introduction to LabVIEW FPGA

Lesson 1 Introduction to LabVIEW FPGA. Introduction to FPGA Technology LabVIEW FPGA System Components LabVIEW FPGA Applications. A. Introduction to FPGA Technology. What it is A silicon chip with unconnected gates Enables user to define and re-define functionality How it works

mireya
Download Presentation

Lesson 1 Introduction to LabVIEW FPGA

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lesson 1Introduction to LabVIEW FPGA • Introduction to FPGA Technology • LabVIEW FPGA System Components • LabVIEW FPGA Applications

  2. A. Introduction to FPGA Technology • What it is • A silicon chip with unconnected gates • Enables user to define and re-define functionality • How it works • Defines behavior in software • Compiles and download to the hardware • When it is used • Custom hardware or ICs, replacement for ASICs • Reconfiguration required after deployment

  3. LabVIEW FPGA Enabled Hardware Plug-In Reconfigurable I/O (RIO) boards CompactRIO Modular Reconfigurable I/O System Compact Vision System IF-RIO B. LabVIEW FPGA System Components • LabVIEW FPGA Module • Software for developing VIs for FPGA target • VIs for host PC interaction with FPGA target

  4. Components of a Measurement System A traditional system consists of three components • Application software on the computer (LabVIEW) • Driver software to interface to the hardware (NI-DAQmx) • The I/O hardware (M Series MIO)

  5. LabVIEW FPGA-Based Measurement System • Application software on the computer (LabVIEW) • User-defined hardware functionality (LabVIEW FPGA) • Driver software to interface to LabVIEW on the device (NI-RIO) • Reconfigurable I/O hardware (R Series)

  6. PXI R Series Intelligent DAQ Compact Vision System PCI R Series Intelligent DAQ LabVIEW FPGA Targets CompactRIO IF-RIO

  7. Traditional Approach to Custom Hardware • Hardware Design • Prototype A Build/Test • Prototype B Build/Test • Software Design/Coding • Software Testing • System Testing/Certification

  8. NI Approach to Custom Hardware • Hardware Design • Prototype A Build/Test • Prototype B Build/Test • Software Design/Coding • Software Testing • System Testing/Certification

  9. C. LabVIEW FPGA Applications • Applications Driving Need for Custom Hardware • Intelligent DAQ • Ultra-high speed control • Specialized communication protocols • Sensor level signal processing • Off-load CPU – Coprocessing

  10. Benefits of FPGA Logic in LabVIEW • Multi-loop analog PID loop rates exceed 100 kHz on embedded RIO FPGA hardware • Single-cycle Timed Loops execute at the rate of the selected FPGA clock • Due to parallel processing ability, adding computation does not necessarily reduce the speed of the FPGA application

  11. Benefits of FPGA Logic with LabVIEW (continued) • True simultaneous parallel implementation of F = (A + B)C and Z = X + Y + M in separate gates on an FPGA

  12. Intelligent DAQ Possible Intelligent applications • Built-in IP Processing Blocks • Custom Timing and Synchronization • Custom Clocks • Pulse-Width Modulation • Custom Counters • Custom Analog Triggering • Multiple Scan Rates • Custom Analog I/O

  13. ChipSelect* Clock Data 1 1 0 1 0 1 1 0 1 0 0 1 1 0 1 0 Digital Communication Protocols • FPGA can create/read almost any communication protocol • Many protocols already created by other developers • Refer to ni.com/ipnet to find code

  14. Demonstration: IPNet • Navigate to ni.com/ipnet. • Find a VI related to a communication protocol of choice, • download the VI, and examine how the VI works.

  15. Decision Making in Software Crash Possible • Traditional System I/O Operating System Driver API Application Software Calculation ~25 ms Response UUT Outputs

  16. Operating System Driver API Application Software Decision Making in Hardware Highest Reliability • LabVIEW FPGA System I/O Calculation 25 ns* Response UUT Outputs * Faster response for 80 and 120 MHz clocks

  17. Analog Control Over 40 kHz • LabVIEW Real-Time • Single PID 40 kHz • LabVIEW FPGA • PID at over 100 kHz

  18. Off-Loading Processing from CPU LVDT Simulation • Hardware-in-the-loop • Sensor simulation • Cam and crank • LVDTs • Encoding/decoding sensors • Tachometers • PWM • Quadrature Encoders Quadrature Encoder

  19. Quiz • FPGAs completely replace the need for ASICS. • True • False • It is usually fastest to develop protocols by yourself and then to look online to see if you were right. • True • False

  20. Quiz • 3. FPGA applications use which of the following for an operating system (OS). • Windows FPGA • MicroLinux • Unix • PharLap • None of the above • 4. LabVIEW FPGA allows you to program an FPGA without knowing VHDL or HDL. • True • False

More Related