BladedHardwareTestModuleDongFangSteamTurbineCorporation3-5December,2008GarradHassanTechnicalconsultancyservicesandproductsforrenewableenergyprojects.WindEnergyMarineEnergySolarEnergyWhychooseGarradHassan?•We’rearecognisedworldwideconsultancywith24yearsofprovenexperience•We’reanindependentcompanyattheforefrontofdevelopments•WeofferindustrystandardsoftwaresolutionsAboutus•Foundedin1984inUK•Nowhaveofficesworldwide•LocalunderstandinginformsglobalperspectiveWe’reIndependent•Wenevertakeanequitystakeinanyprojectortechnology!•soourclientsalwaysreceiveanobjectiveserviceAboutMe•ThomasCook•Bristol-based•Experiencethroughouttheprojectlifecycle––––SystemsEngineering&IntegrationDevelopmentIntegration&VerificationIn-ServiceSupport•Experiencewithmarketleaders––––AustralianSubmarineCorporationBAESystems/BritishAerospaceSMSManagement&TechnologyGarradHassan&Partners•Controllerdevelopment,implementation&test,clientsupportPlan•Today––––––IntroductiontoBladedHardwareTestModulePreparingaturbinemodelforHardwareTestBasicmodels&testsIntegratingtestdevices&systemundertestExtendingtheBladedsimulationHardware-in-the-looptesting•Tomorrow–––––IntroducingexternalcontrollersControllerdesignconsiderationsHardwareTestModulepluginauthoring-exampleOtherrequiredpluginsTutorialexercisesSomeImportantThings•ThiscourseisaboutBladedHardwareTestModule,notturbinecontrollerdevelopment•TheexamplesusedaretohelpyouunderstandBladedHardwareTestModule–theyarenotsuitableforuseinarealturbine!•Wheresomethinghasbeensimplified,youwillseethisiconandIwilldescribehowtoextendittoarealturbine.•Wehaveincludedsomethingsextratoyourrequirements–wehopeyoubenefitfromourexpertiseandexperience.GHBladedHardwareTestModule•EnablesGHBladedturbinesimulationforHardware-in-the-looptesting•ValidationanddemonstrationofpartorallofaTurbineControlSysteminitsdeploymentstateintheOffice,FactoryandOn-site•Canbeemployedthrough-outtheprojectlife-cycleincluding:••••••Test-drivendevelopmentSharingtestingbeyondthesoftwareteamAcceptancetestingIntegrationtestingduringfactoryassemblyCommissioningsupportVerifyingcomponentandsoftwarechangesagainstknownbase-lines•DemonstrationDCOUTPUTAC/DCOUTDCINPUTSACINPUTQUALITYAllen-BradleyMicroLogix1500POWERRUNFAULTFORCEBAT.LOCONN0DCOMMLSPDCINPUTS048121591326101437111524VSINK/SOURCEDC/RELAYOUT0481592610371124VSOURCE28BXBDCPOWER24V01234567891011230VAC01234589610711012345678910111213141524VDCSINK/SOURCE0123458129136101471115012345678910111213141524VDCSOURCE012345812913610147111501234567RELAY01234567Controllertestinterface&RealtimeBladedExampleHardwareArrangementHMISCADATurbineControllerPLC/PC.Ethernet/FieldbusportslocalorremoteI/OasrequiredGHBladedHardwareTestStandardMSWindowsPCPhysicalcomms:analogue,digital&pulsetrainEmulatedcommsviaEthernetOPCorPLCproprietarydataexchangeOptionalmodularphysicalI/OunitsuppliedbyGHorPCDAQCardsExampleConfigurationDbHardwareTestModuleArchitectureEquationsofmotionVariablestep,variableordersolutionFixedstepsolutionBLADEDGUIRealtimesyncGHTestEnv.batNormaluseRapidcycletestuse.plan&.prj.prjRealtimesyncDevicelogsSimulationresults&Postprocessing.planInvokingtheReal-TimeSimulationWindTurbinefaultsBatchDemonstration•••••••InstallthelatestversionRunatestprocedureViewaprocedureViewadeviceViewmappingsViewscriptsInstallanoptionalplug-inDevices&Variables•NeedtohaveonedeviceformediumofeachthingHardwareTestModulecommunicateswith:––––BladedsimulationControllerEthernetconnectionControllerHardwareIOOthers•Variablesareinoneoffiveusagemodes:–––––UnusedScriptOnDemandReadContinuouslyWriteContinuouslyNormalandReal-TimeSimulationsNormal•Variablestepsizeandvariableorder;basedonRungeKuttaexplicitmethods•Stepsizeandorderaredeterminedautomaticallyinordertomeetapredictedaccuracyrequirement•Numericallyefficient•RarelyneedsuserinterventionRealTime•Fixedstepsize4thorderRungeKuttaexplicitmethod•Userspecifiesstepsize•Noguaranteedaccuracy;mayeasilybecomeunstable!NormalandReal-TimeSimulationscont’dNormal•Simulationtimeadvancesatavariablepace••Simulationratedependsonturbinedynamicsandnon-linearitiesRealTime•Simulationtimeadvancesatafixedrate(Windowspermitting)•MulticoreCPUrequired•Multimediatimersusedfornonblockingwaittokeeptorealtime•Noguardagainstrunningslowerthanrealtime•RepeatablesimulationrateRealTimeSimulation•Twopartstopreparingasimulationtoruninrealtime:–Achievingareasonable/desirablesimulatedstepsize–Makingtherealtimestepsizematchthesimulatedstepsize•WewillgenerallyiteratebackandforthbetweenthesetwocomponentsRealTimeSimulation•Fourwaytradeoff:––––ModelscopeSolutionaccuracyRuninrealtimeAvailablehardware•Startwithdesiredmodelscope•Keepreducingmodelscopeuntilit’spossibletofindastepsizewhichgivessufficientaccuracyandiscapableofrunninginrealtime•Establishbaselinestepsizefrom‘normal’BladedSoftwarePerformanceoutputRealTimeSimulationcont’dImprovesimulationfidelityDecreasestepsizeAddhigh-frequencymodesImprovenumericalaccuracyDecreasestepsizeRemovehigh-frequencymodesImproveexecutionspeedIncreatestepsizeRemovehigh-frequencymodesBuybetterhardwareRealTimeSimulationcont’d•Somere