FPGA的英文文献及翻译.docx

上传人:b****6 文档编号:7486316 上传时间:2023-01-24 格式:DOCX 页数:23 大小:229.16KB
下载 相关 举报
FPGA的英文文献及翻译.docx_第1页
第1页 / 共23页
FPGA的英文文献及翻译.docx_第2页
第2页 / 共23页
FPGA的英文文献及翻译.docx_第3页
第3页 / 共23页
FPGA的英文文献及翻译.docx_第4页
第4页 / 共23页
FPGA的英文文献及翻译.docx_第5页
第5页 / 共23页
点击查看更多>>
下载资源
资源描述

FPGA的英文文献及翻译.docx

《FPGA的英文文献及翻译.docx》由会员分享,可在线阅读,更多相关《FPGA的英文文献及翻译.docx(23页珍藏版)》请在冰豆网上搜索。

FPGA的英文文献及翻译.docx

FPGA的英文文献及翻译

BuildingProgrammableAutomationControllerswithLabVIEW

FPGA

Overview

ProgrammableAutomationControllers(PACs)aregainingacceptancewithinthe

industrialcontrolmarketastheidealsolutionforapplicationsthatrequirehighlyintegrated

analoganddigitalI/O,floating-pointprocessing,andseamlessconnectivitytomultiple

processingnodes.NationalInstrumentsoffersavarietyofPACsolutionspoweredbyone

commonsoftwaredevelopmentenvironment,NILabVIEW.WithLabVIEW,youcanbuild

customI/Ointerfacesforindustrialapplicationsusingadd-onsoftware,suchastheNI

LabVIEWFPGAModule.

WiththeLabVIEWFPGAModuleandreconfigurableI/O(RIO)hardware,National

Instrumentsdeliversanintuitive,accessiblesolutionforincorporatingtheflexibilityand

customizabilityofFPGAtechnologyintoindustrialPACsystems.Youcandefinethelogic

embeddedinFPGAchipsacrossthefamilyofRIOhardwaretargetswithoutknowinglow-

levelhardwaredescriptionlanguages(HDLs)orboard-levelhardwaredesigndetails,aswell

asquicklydefinehardwareforultrahigh-speedcontrol,customizedtimingand

synchronization,low-levelsignalprocessing,andcustomI/Owithanalog,digital,and

counterswithinasingledevice.YoualsocanintegrateyourcustomNIRIOhardwarewith

imageacquisitionandanalysis,motioncontrol,andindustrialprotocols,suchasCANand

RS232,torapidlyprototypeandimplementacompletePACsystem.

TableofContents

1.Introduction

NIRIO2.HardwareforPACs

BuildingPACswithLabVIEWandthe3.LabVIEWFPGAModule

FPGADevelopment4.Flow

UsingNISoftMotiontoCreate5.CustomMotionControllers

Applications6.

Conclusion7.

Introduction

YoucanusegraphicalprogramminginLabVIEWandtheLabVIEWFPGAModuleto

configuretheFPGA(field-programmablegatearray)onNIRIOdevices.RIOtechnology,the

mergingofLabVIEWgraphicalprogrammingwithFPGAsonNIRIOhardware,providesa

flexibleplatformforcreatingsophisticatedmeasurementandcontrolsystemsthatyoucould

hardware.custom-designedwithonlycreatepreviously

AnFPGAisachipthatconsistsofmanyunconfiguredlogicgates.Unlikethefixed,

vendor-definedfunctionalityofanASIC(application-specificintegratedcircuit)chip,youcan

configureandreconfigurethelogiconFPGAsforyourspecificapplication.FPGAsareused

inapplicationswhereeitherthecostofdevelopingandfabricatinganASICisprohibitive,or

thehardwaremustbereconfiguredafterbeingplacedintoservice.Theflexible,software-

programmablearchitectureofFPGAsofferbenefitssuchashigh-performanceexecutionof

customalgorithms,precisetimingandsynchronization,rapiddecisionmaking,and

simultaneousexecutionofparalleltasks.Today,FPGAsappearinsuchdevicesasinstruments,

consumerelectronics,automobiles,aircraft,copymachines,andapplication-specific

computerhardware.WhileFPGAsareoftenusedinindustrialcontrolproducts,FPGA

functionalityhasnotpreviouslybeenmadeaccessibletoindustrialcontrolengineers.

DefiningFPGAshashistoricallyrequiredexpertiseusingHDLprogrammingorcomplex

designtoolsusedmorebyhardwaredesignengineersthanbycontrolengineers.

WiththeLabVIEWFPGAModuleandNIRIOhardware,younowcanuseLabVIEW,a

high-levelgraphicaldevelopmentenvironmentdesignedspecificallyformeasurementand

controlapplications,tocreatePACsthathavethecustomization,flexibility,andhigh-

performanceofFPGAs.BecausetheLabVIEWFPGAModuleconfigurescustomcircuitryin

hardware,yoursystemcanprocessandgeneratesynchronizedanaloganddigitalsignals

rapidlyanddeterministically.Figure1illustratesmanyoftheNIRIOdevicesthatyoucan

configureusingtheLabVIEWFPGAModule.

Figure1.LabVIEWFPGAVIBlockDiagramandRIOHardwarePlatforms

NIRIOHardwareforPACs

Historically,programmingFPGAshasbeenlimitedtoengineerswhohavein-depth

knowledgeofVHDLorotherlow-leveldesigntools,whichrequireovercomingaverysteep

learningcurve.WiththeLabVIEWFPGAModule,NIhasopenedFPGAtechnologytoa

broadersetofengineerswhocannowdefineFPGAlogicusingLabVIEWgraphical

development.Measurementandcontrolengineerscanfocusprimarilyontheirtestandcontrol

application,wheretheirexpertiselies,ratherthanthelow-levelsemanticsoftransferringlogic

intothecellsofthechip.TheLabVIEWFPGAModulemodelworksbecauseofthetight

integrationbetweentheLabVIEWFPGAModuleandthecommercialoff-the-shelf(COTS)

hardwarearchitectureoftheFPGAandsurroundingI/Ocomponents.

NationalInstrumentsPACsprovidemodular,off-the-shelfplatformsforyourindustrial

controlapplications.WiththeimplementationofRIOtechnologyonPCI,PXI,andCompact

VisionSystemplatformsandtheintroductionofRIO-basedCompactRIO,engineersnow

havethebenefitsofaCOTSplatformwiththehigh-performance,flexibility,and

customizationbenefitsofFPGAsattheirdisposaltobuildPACs.NationalInstrumentsPCI

andPXIRSeriesplug-indevicesprovideanaloganddigitaldataacquisitionandcontrolfor

high-performance,user-configurabletimingandsynchronization,aswellasonboarddecision

makingonasingledevice.Usingtheseoff-the-shelfdevices,youcanextendyourNIPXIor

PCIindustrialcontrolsystemtoincludehigh-speeddiscreteandanalogcontrol,custom

sensorinterfaces,andprecisetimingandcontrol.

NICompactRIO,aplatformcenteredonRIOtechnology,providesasmall,industrially

rugged,modularPACplatformthatgivesyouhigh-performanceI/Oandunprecedented

flexibilityinsystemtiming.YoucanuseNICompactRIOtobuildanembeddedsystemfor

applicationssuchasin-vehicledataacquisition,mobileNVHtesting,andembeddedmachine

controlsystems.TheruggedNICompactRIOsystemisindustriallyratedandcertified,andit

isdesignedforgreaterthan50gofshockatatemperaturerangeof-40to70°C.

NICompactVisionSystemisaruggedmachinevisionpackagethatwithstandstheharsh

environmentscommoninrobotics,automatedtest,andindustrialinspectionsystems.NI

CVS-145xdevicesofferunprecedentedI/Ocapabilitiesandnetworkconnectivityfor

distributedmachinevisionapplications.NICVS-145xsystemsuseIEEE1394(FireWire)

technology,compatiblewithmorethan40cameraswithawiderangeoffunctionality,

performance,andprice.NICVS-1455andNICVS-1456devicescontainconfigurable

FPGAssoyoucanimplementcustomcounters,timing,ormotorcontrolinyourmachine

visionapplication.

BuildingPACswithLabVIEWandtheLabVIEWFPGAModule

WithLabVIEWandtheLabVIEWFPGAModule,youaddsignificantflexibilityand

customizationtoyourindustrialcontrolhardware.BecausemanyPACsarealready

programmedusingLabVIEW,programmingFPGAswithLabVIEWiseasybecauseituses

thesameLabVIEWdevelopmentenvironment.WhenyoutargettheFPGAonanNIRIO

device,LabVIEWdisplaysonlythefunctionsthatcanbeimplementedintheFPGA,further

easingtheuseofLabVIEWtoprogramFPGAs.TheLabVIEWFPGAModuleFunctions

paletteincludestypicalLabVIEWstructuresandfunctions,suchasWhileLoops,ForLoops,

CaseStructures,andSequenceStructuresaswellasadedicatedsetofLabVIEWFPGA-

specificfunctionsformath,signalgenerationandanalysis,linearandnonlinearcontrol,

comparisonlogic,arrayandclustermanipulation,occurrences,analoganddigitalI/O,and

timing.Youcanuseacombinationofthesefunctionstodefinelogicandembedintelligence

device.RIONIyouronto

Figure2showsanFPGAapplicationthatimplementsaPIDcontrolalgorithmontheNI

RIOhardwareandahostapplicationonaWindowsmachineoranRTtargetthat

communicateswiththeNIRIOhardware.Thisapplicationreadsfromanaloginput0(AI0),

performsthePIDcalculation,andoutputstheresultingdataonanalogoutput0(AO0).While

theFPGAclockrunsat40MHztheloopinthisexamplerunsmuchslowerbecauseeach

componenttakeslongerthanone-clockcycletoexecute.Analogcontrolloopscanrunonan

FPGAatarateofabout200kHz.Youcanspecifytheclockrateatcompiletime.This

exampleshowsonlyonePIDloop;however,creatingadditionalfunctionalityontheNIRIO

deviceismerelyamatterofaddinganotherWhileLoop.UnliketraditionalPCprocessors,

FPGAsareparallelprocessors.Addingadditionalloopstoyourapplicationdoesnotaffectthe

performanceofyourPIDloop.

Figure2.PIDControlUsinganEmbeddedLabVIEWFPGAVIwithCorrespondingLabVIEWHost

VI.

FPGADevelopmentFlow

AfteryoucreatetheLabVIEWFPGAVI,youcompilethecodetorunontheNIRIO

hardware.Dependingonthecomplexityofyourcodeandthespecificationsofyour

developmentsystem,compiletimeforanFPGAVIcanrangefromminutestoseveralhours.

Tomaximizedevelopmentproductivity,withtheRSeriesRIOdevicesyoucanuseabit-

accurateemulationmodesoyoucanverifythelogicofyourdesignbeforeinitiatingthe

compileprocess.WhenyoutargettheFPGADeviceEmulator,LabVIEWaccessesI/Ofrom

thedeviceandexecutestheVIlogicontheWindowsdevelopmentcomputer.Inthismode,

youcanusethesamedebuggingtoolsavailableinLabVIEWforWindows,suchasexecution

highlighting,probes,andbreakpoints.

OncetheLabVIEWFPGAcodeiscompiled,youcreateaLabVIEWhostVItointegrate

yourNIRIOhardwareintotherestofyourPACs

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 小学教育 > 语文

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1