op6225 analog sensor module user guide - opal-rt e slot id p rtsi 3 5 7 communication i connector...

20
www.opal-rt.com OP6225 Analog Sensor Module User Guide

Upload: phamque

Post on 12-Mar-2018

225 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

www.opal-rt.com

OP6225 Analog Sensor Module User Guide

Page 2: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

OP6225 User Guide 12

Analog Sensor module

Page 3: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

13 OP6225 User Guide

Analog Sensor moduleSpecifications

ANALOG SENSOR MODULE

INTRODUCTIONThepurposeofthissectionistodescribetheAnalogSensorModule–anI/OsignalconditioningmodulethatispartoftheTestDriveSystem.Itincludesanoverviewofthemodule’sfunctions,it’sspecificationsandfeatures,technicaldetails,andadescriptionofthecontextofuse.

Thisdocumentisintendedforrun-timeanddevelopmentuserstoimplementtheASMaspartofTestDrive.Supportengineersmayalsousetheinformationfromthisdocumenttotroubleshoottechnicalissues.

TheASMisusedtosimulateanalogsensorsignalstoanElectricalControlUnit(ECU).WhenusedwiththeTestDrivesystem,itiscapableofprovidingsensorfunctionalitiesrequiredinallsimulatorapplicationsfortheautomotiveindustry.SimulationresultsarestrengthenedbytheASM’sabilitytoprovideratiometricoutputsforuserdefinedHighandLowvoltagereferencesoneachchannel.

Figure1showshow,throughtheASM,theuserisabletocontrolKsothatthedesiredVOUT(betweenVREF_HIandVREF_LOW)isobtained.(RangingfromVREF_LOWtoVREF_HI).

Figure1:AnalogSensorModuleFunction

SPECIFICATIONS

Outputs Characteristics (Per Channel)

16Channels

Resolution 12bits Accuracy 1%

Voltage output (impedance > 100KΩ)

VO(min) 0V Ratiometric:Linearoutputrangebetweenhigh&lowreferencesLinearization:possibleforlast4channels

VO(max) 16V

Voltage Protection VREF_L(min)

VREF_H(max)

-1V

27V

Max. Current 200mAcontinuous

Frequency Protection

50KHz(1.6μsec/Vslewrate;Rload=1KΩ)

OverCurrentYes ThermalShutdownYes

Table 1: ASM Electrical Specifications

ASMK (0--> 1) VOUT = VREF_LOW + K (VREF_HI - VREF_LOW)

VREF_LOW

VREF_HI

Page 4: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

OP6225 User Guide 14

Analog Sensor moduleFeaturesList

FEATURES LIST

Feature Details

User defined HI/LOW reference for each channel

Individualexternalvoltagereferences(0Vto16Vrange)areusedforeachchannel.Thereference.voltages(REF_Hx&REF_Lx)areroutedthroughthe56-pinElcoconnector.

Common Reference Capability (Rev2 only)

Rev2only–Alloutputchannelscouldcanbeconfiguredtohaveacommonhighandlowreferencethatisconnectedthroughthe56-pinElcoconnector.

Disabling faulty channels Anyfaultychannelreportedtothesystemisautomaticallydisableduntiltheuseracknowledgestheerrorandthesituationiscorrected.Thechannelisthenreenabled.

ModuleStatus

Error Reporting:

Power(Green)LED:indicatesthat5Vand3.3Vdigitalpowersuppliesarewithinvalidityrange.

Activity (Yellow) LED:

- SteadyflashiftheTestDrivemodelaccessesthecard;(communicationestablished.)

- Blinks2timesiftheFPGAmoduleisnotprogrammed;(flashupdateoperationrequired.)

- Blinks3timesiftheFPGAfirmwaredoesnot

correspondtothemodule.Fault(Red)LED:indicatesthatafaulthasbeendetectedinthesystemormodule.

Onthefrontofthemodule

IndividualChannelStatus

ChannelOverCurrentLED–reportsanovercurrentstateonaspecificchannel.

ChannelThermalShutdownLED–reportsifanamplifierthermalshutdownhasoccurredonaspecificchannel.

IntheTestDriveGUI

Positive Cable ID Themoduleisabletoreportabadorlostcableconnectionoralossof/orachangetoagoodcableconnectionoccurs.ThisisdoneintheTestDriveGUI.

Positive Module ID TheTestDrivesystemisabletoreport(ontheTestDriveGUI)theidentificationofaninsertedmodule.TheASMhasmoduleProductMajorID1.Seethe“Frequentlyaskedquestions”section.

Firmware Update ThemodulesupportsarobustremotesoftwareupdatemechanismthatItiscapableofrecoveringfromafailuretoupdatetheFPGAConfigurationDataduetouncontrollablecircumstances,suchasapowerfailure.Themoduleisalsoabletoreprogramitselfwhilethemodelispaused.

Table 2: ASM Board Features

Page 5: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

15 OP6225 User Guide

TECHNICAL DESCRIPTIONOverview

TECHNICAL DESCRIPTION

OVERVIEW

TheASMmoduleallowstheusertosynchronouslycontrolupto16channelsofanalogvoltage,thatisoutputtotheECUateverycalculationstep.Eachoutputsignalisabletosinkorsourceamaximumof200mAwheretheoutputvoltageisproportionaltothedifferencebetweenthereferencevoltagesignals(RefHIXandRefLOX)asshowninFigure2.RefHIXandRefLOXare,respectively,thehighandlowreferencevoltagesforeachoutputchannelwhereXistheidentificationnumberofthechannel,numberrangingfrom0to15.

Inadditiontothis,themodulesupportstheCableIDI/Oprocess.

Figure2:AnalogSensorModuleFunctionBlockDiagram

Intermodule Communications Bus

Power Buses (ACC, Radio, Crank, IGN0, IGN1, IGN3, User Def1, User Def2, Batt, Batt Gnd, SIM Pow, SIM

Vref High

Vref Low

16

16

16

Ref Hi X

Ref Lo X

16

CableID GND 5

CableID

Analog Sensors Module

Analog Out 62,50 mm.

Page 6: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

OP6225 User Guide 16

TECHNICAL DESCRIPTIONFunctionalDescription

FUNCTIONAL DESCRIPTION

Figure3showstheblockdiagramfortheAnalogSensorModuleASM,itdetailsthefunctionalitiesoftheanalogsensorchannelsandtheFPGAengine.TheASMhas16channelssharingshareacommondatabus,whilehavingspecificcontrollinesforeachchannel.

Figure3:ASMandFPGAEngineFunctionalBlockDiagram

TheFPGAengineisusedtoperformthefollowingtasks:

• CommunicatewiththeRTU• Enabletheoutputstageforeachchannel’sAnaloganalogOutputoutputline• LatchsynchronouslythedigitalvaluetotheDigitaltoAnalogConverter• Disableallchannelsinfaultbecauseofanovercurrentorthermalshutdownconditions• ControltheActivity&FaultLEDs• Readthemoduleidentificationandreportthemodulestatus.

Diagnostic

Signal Wire

Analog Sensors Module

Chassis ID FPGA Engine

Slot ID RTSI

3 5 7

Communication Connector

Module ID 5

DACQ SPI 3

Module I/O Bus

Firmware Manager

& Memory

DIN IO

Temperature Sensors

Active/Fault LEDs

Cable ID 5 DACQ SPI & 11 IOs 14

64 32

12

Module ID (3)

System Reset

Power Good

System Reset Power

Good

FPGA Engine

SW Select 2

Power Rails

Power DIN

BATT IGN1

ACC IGN0

CRANK MPS2 MPS1

IGN3 GND

ECU 5V

DAQ

Module

Connector Module IO

191 All IOs

16 16 16

16x ID_CBL5:0 REF_H15:0 OUT_A15:0 REF_L15:0

Page 7: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

17 OP6225 User Guide

TECHNICAL DESCRIPTIONASMPin-outs

Figure4:FurtherdetailstheblockdiagramoftheanAnalogSensorChannel.

TheFPGAengineloadseachchannel’sDACsthroughimplementationoftheLDACx,WRxandCSxlines.TheFPGAenginealsoenablestheoutputofthepoweramplifier.TheDACoutputsasignaltothepoweramplifierthatisratiometricbetweenREF_HxandREF_Lx.WhentheDACcodefieldissetto0x000,theoutputvoltageissettoREF_Lx.Similarly,whenthevalueoftheDACcodefieldissetto0xFFF,theoutputvoltageisequivalenttoREF_Hx.

ThepoweramplifieroutputstheanalogsensorsimulatedsignalonOUT_Ax.Shouldovercurrentorthermalshutdownconditionsoccur,thepoweramplifiernotifiestheFPGAengine(throughAOCxandTSDxrespectively)towhichdisablestherespectivefaultychannel.

TheRTUupdatesthevalueofeveryDACregisterateachcalculationstep.

ASM PIN-OUTS

All16channels’referencevoltages(REF_H15:0andREF_L15:0)andanalogoutputsignals(OUT_A15:0)areroutedfromthroughtheELCO-56pinconnector.Below,Table3providesthelistofsignalsavailableontheexternalELCO-56connectorsortedbypinnumbers.ThetableshowsalsoonwhichpinoftheDIN96(DIN96/J7A)connectorthesignalissuppliedtothemodule.

Ascanbeseenfromthetablebelow,positivecableidentificationisalsoachievedthroughtheELCO-56pinconnector(SignalsID_CBLandID_CBL4:0).

ForRev.2boards,signalsCOM_REF_LandCOM_REF_Hareusedtoconnectcommonlowandhighreferencesforthechannels(seesection3.3formoredetails).ForRev.1boards,signalsPROTO0andPROTO1arenotused.

Power amp.

AOCx ENAx

OUT_Ax = VREF_L + K (VREF_H-VREF_L)

V+

V+

REF_Hx

REF_Lx

REFHI

REFLO

D11:0

CLR LDAC CTRLs Data

Reset LDACx

Analog Sensor Function x

WRx & CSx

AOCx : Analog Over Current flag ENAx : Enable Amplifier Output LDACx : Load Digital to Analog Converter OUT_Ax : Analog Output Voltage

REF_Lx : Lower rail reference voltage REF_Hx : Higher rail reference voltage TSDx : Thermal Shutdown flag WRx & CSx : Microprocessor controls logic

K (0 1)

TSDx

Page 8: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

OP6225 User Guide 18

TECHNICAL DESCRIPTIONASMPin-outs

Elco Eq. # (female)

Elco Pin name

(female)

Signal Name in Analog Module Schematic

(2003/10/07)

Input Line

Output Line

DIN 96/J7A

1 A OUT_A0 x A22 B REF_L2 x C1 Female

ELCO Connector56 pins

HDC

J KBA

FM N P

EL

T U VSX Y Z

RW

c dbf

ae

jhm nl

r s tk

pw x yv

AA BB CCu

zFF HH JJEE

LL MM NNDD

KK

3 C REF_L0 x B14 D REF_H0 A15 E REF_L4 x C36 F REF_H1 x B37 H OUT_A1 x A38 J PROTO0 x x C29 K PROTO1 x x B210 L OUT_A3 x A511 M REF_L5 x C412 N REF_H2 x B413 P OUT_A2 x A414 R REF_L7 x C615 S REF_H4 x B616 T OUT_A4 x A617 U REF_L6 x C518 V REF_H3 x B519 W OUT_A6 x A820 X REF_L8 x C721 Y REF_H5 x B722 Z OUT_A5 x A723 a REF_H7 x B924 b OUT_A7 x A925 c REF_L9 x C826 d REF_H6 x B827 e OUT_A8 x A1028 f REF_L10 x C929 h REF_L11 x C1030 j REF_H8 x B1031 k OUT_A10 x A1232 l REF_L12 x C1133 m REF_H9 x B1134 n OUT_A9 x A1135 p REF_H11 x B1336 r OUT_A11 x A1337 s REF_L13 x C1238 t REF_H10 x B12

Page 9: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

19 OP6225 User Guide

TECHNICAL DESCRIPTIONASMPin-outs

Elco Eq. # (female)

Elco Pin name

(female)

Signal Name in Analog Module Schematic

(2003/10/07)

Input Line

Output Line

DIN 96/J7A

39 u OUT_A13 x A1540 v REF_L15 x C1441 w REF_H12 x B1442 x OUT_A12 x A1443 y REF_L14 x C1344 z REF_H14 x B1645 AA OUT_A14 x A1646 BB REF_L1 x C1547 CC REF_H13 x B1548 DD ID_CBL0 x A1849 EE ID_CBL x C1750 FF REF_H15 x B1751 HH OUT_A15 x A1752 JJ REF_L3 x C1653 KK ID_CBL4 x C2054 LL ID_CBL3 x C1955 MM ID_CBL2 x A1956 NN ID_CBL1 x C18

Table 3: Signal list for for the ELCO-56 pin connector

NOTE: Artwork was done using Elco Male and female connector was used during assembly

Page 10: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

OP6225 User Guide 20

TECHNICAL DESCRIPTIONTestDriveASMGUI

TESTDRIVE ASM GUI

TestDriveprovidesaLabViewbasedGUIthatfacilitatestheuseandconfigurationoftheAnalogSensorModule’s16channels.AllfunctionalitiesrequiredfortosimulatingananalogsignalfortheECUareencompassedintheTestDrive’sAnalogSensorModuleGUI.Additionally,errordetectiontoolsareprovidedtoeasetroubleshootingofasystem/module.

Thefollowingsectiondetailsthehighlightedfeatures/functionsofthegraphicASMGUI.

Figure5:TestDriveAnalogSensorModuleGUI

Page 11: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

21 OP6225 User Guide

TECHNICAL DESCRIPTIONASMGUIFeatures&Functionalities

ASM GUI FEATURES & FUNCTIONALITIESA. Channel Inputs:TheGUIprovidesuserswithtwomeansfortheusertosupplyinputstothe16

channels.Eachchannelprovideshasasliderbarandanincrementalnumericalcontroltoinputanalogsensorvalues.Additionally,theincrementalnumericalcontrolfieldcanhaveanyuser-definedvaluedirectlyentered.

B. Channel Output:Theoutputbeinggeneratedbythemoduleforeachchannelcanbeseeninthisfield.

C. Fault Indicators:The‘RailOverCurrentStatus’and‘OverTemperature’LEDindicatorsareusedtoalerttheuserthatthereisanOverCurrentorThermalShutdownerrorononeofthechannels.Theusercanthenrefertothefaultmonitoringfieldsofeachchanneltoseewhichchannelisexperiencingthefault.

D. Fault Monitor:AnalogOverCurrent(AOC)andThermalShutdown(TSD)faultsforeachchannelareindicatedinthisfield.Thedefaultvalueiszero(0),nofaults.WhenanOverCurrentand/orThermalShutdownoccur,aone(1)isindicatedinthisfield(NOTE:thisappliesonlyforrev2modules.Revision1moduleerrorreportingisasfollows:

- Zero(0) NoError- One(1) AOCfault- Two(2) TSDfault- Three(3) AOC&TSDfault

E. Fault Acknowledge:Thesetoggleswitchesareusedtoacknowledgeanerrorthatmayoccurandtoreactivateaparticularchannel.Notethatthefaultcanonlybeacknowledgedoncetheerrorconditionhasbeencorrected.Ifthesituationhasn’tbeencorrectedthefaultmonitorwillstillshowthefaultandthechannelwon’tbereactivated.

F. Software Faults:ThesefieldsreportifaSoftwaresoftwarebasederrorhasoccurredonthemodule.

G. Chassis ID & Slot ID:Thesefields,respectively,reporttheTestDriveChassisID(betweenmainandauxiliary)andtheslotwheretheASMhasbeeninsertedintothechassis.

H. Cable ID:TheCableIDisreportedinthecableIDfield.Thisfeaturemustbeenabledtofunction.andtheIDforthepropercableissetfromtheASMConfigurationGUI(see3.3).Ifabadcableisconnectedorifacorrectcableconnectionischangedor/removed,anerrorisindicatedwiththeCableErrorLED.ThiserrorcanbeacknowledgedbytheCableErrortoggleswitch.

I. HW & SW Revisions:ThecurrentfirmwarerevisionandhardwarerevisionsareindicatedintheXXX0FirmRevandXXX0HWRevfields(respectively).

Page 12: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

OP6225 User Guide 22

TECHNICAL DESCRIPTIONASMConfigurationGUI

ASM CONFIGURATION GUI

TheASMboard’sGUIprovidesaseparatepanelthatallowstheusertomodifycertainconfigurationsforboardoperation.Fromselectingthe‘Config’taboftheTestDriveinterface,theusercanaccesstheconfigurationpanelsforallmodulesinsertedintothesystem.Figure6detailstheASMconfigurationpanel.

FromtheconfigurationGUItheusercandecideifeachchannelshouldusespecificHigh&Lowreferencesoriftheyshouldusecommonreferences.Connectionofthecommonreferencescanbeseenfrom“Table3:SignallistforfortheELCO-56pinconnector”(thisfeatureisexclusivetoRev2modules).

Channels12,13,14and15canalsobeconfiguredtohavealinear,insteadofratiometric,outputwithrespecttotheirreferences.

Theusercanalsoenablecableidentificationandsetthedesiredcablevaluethatthesystemshouldmonitorfor(see“Frequentlyaskedquestions”formoredetails).

Figure6:ASMConfigurationGUI

Page 13: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

23 OP6225 User Guide

TECHNICAL DESCRIPTIONTHEASMSIMULINKMODEL

THE ASM SIMULINK MODELTD.mdl

‘TD.mdl’isastandardSimulinkmodelprovidedwithallTestDrivesystems.ThemodelisusedtosimulateautomotivefunctionstotheECU.TheAnalogSensorModuleisacomponentoftheoverallmodel.Thedefaultversionof‘TD.mdl’supportsuptothreeASMsintheTestDrivechassis(Note:themodelmayneedtobemodifiedtosupportmoreASMs).

OpCtrl Analog Sensor Module

Block

Mask

Description

The“OpCtrlAnalogSensorModule”blockaccessestheAnalogSensorModuleASMofthesameControllerName.

TheblockenablestheusertoselectthetypeofHighandLowReferenceforeachchannel.EachnumberintheHighandLowReferenceSelectionfieldvectorrepresentschannels0to15fromlefttoright.Theusercanmodifythechannel’sspecificnumberto‘1’ifcommonreferencesaredesired.ThecommonreferencevaluesareconnectedexternallythroughpinsCOM_REF_HandCOM_REF_L(seeTable3).NotethatthisonlyappliesforRev.2boards.

Parameters

Controller Name:ThecontrollernamespecifiedinanOpCtrlblock’sControllerNameparameterenablesthebindingbetweenaspecificcontrollerandit’sgenericfunctionalities.

High and Low Reference Selection:Fromlefttoright,eachvalueofthevectorrepresentschannels0to15.Theusercanselectchannelspecific(0)orcommon(1)referencesforeachchannelbymodifyingthevectorvalues.

Inputs: NoInputs.

Outputs: NoOutputs.

Characteristics and Limitations• DirectFeedthrough• Discretesampletime• XHPsupport• Workoffline

Page 14: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

OP6225 User Guide 24

TECHNICAL DESCRIPTIONTHEASMSIMULINKMODEL

OpFcn Digital Out Gated

Block

Mask

Description

ThisblockreferstoonechanneloftheASM.Insuch,thereshouldbe16entitiestoworkwiththe16channels.

Parameters

Controller Name:EachfunctionalityblocksuchastheOpFcnDigitalOutGatedblockmustrefertoanOpCtrlblockthatwillmanagethedatatransferwiththeIOboard.ThebindingbetweenOpFcnandOpCtrlblocksisperformedviatheuseoftheControllernamethateachOpCtrlblockuniquelydefines.Thisbindingischeckedduringtheinitializationphaseofthemodel.IfnoOpCtrlblockisfoundthatdefinesthesameControllerNameasthisOpFcnDigitalOutGatedblock,theOpFcnDigitalOutGatedblockissimplydisabledandreturns0s.

Selection of Functionalities:ThisfieldisusedtodeterminewhichAnaloganalogoutputtheOpFcnDigitalOutGatedblockistiedto.Forexample,tousethisblocktocontrolOUT_A2,a2shouldbeplacedinthisfield.Notethatifusing‘td.mdl’,thevaluesofthesefieldsdefaulttothesamecorrespondingswitch(ex:OpFcnDigitalOutGated0tiestoOUT_A0;OpFcnDigitalOutGated1tiestoOUT_A1).

Inputs

Vals:Thisinputisthevalue.

Ack:Thisinputistoacknowledgefaults.Thismeansthatifafaulthaspreviouslybeenflaggedthechannelreceivesthissignaltoconfirmthatitshouldstaydeactivated.

Outputs

Curr.Vals:Thisoutputgivesthevaluethehardwarecouldapproximatefromthe<i>Vals</i>input.Sincethehardwareasa12bitsprecisionitispossiblethattheinputfieldcandifferslightly.

Faults:Thisfieldoutputsiftherewasafaultdetectedonthechannel.Afaultcanbeduetoovercurrentoverheating,etc.

Characteristics and Limitations

• DirectFeedthrough• Discretesampletime• XHPsupport• Workoffline

Page 15: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

25 OP6225 User Guide

TECHNICAL DESCRIPTIONTHEASMSIMULINKMODEL

OpFcn Status Register

Block

Mask

Description

ThisgenericStatusRegisterfunctionalityblock,OpFcnStatusRegister,isdesignedtoreturnstatusinformationfromaTestDrivemoduleboard.AllTestDriveboardsdefineasimilarstatusregisterthatenablestheusertogetinformationregarding:boardlocation(chassis,slotandcableidentification),synchronizationstatusanderrorstatus(over-current,over-voltage,over-temperature,softwarefaults,communicationfaults).Althoughnotalltheseparameterscanbeofinterestforagivenmoduleboard,theregistermappingallowstheuseofthesameOpFcnStatusRegisterforallboards.

Parameters

ControllerName:ThecontrollernameuniquelyspecifiedinanOpCtrlblock’sparameterenablesthebindingbetweenaspecificcontrollerblockandthepresentfunctionalityblock.BindingbetweenOpFcnandOpCtrlblocksthatdefinethesameControllerNameisperformedduringtheinitializationphaseofthemodel.IfnoOpCtrlblockisfoundthatdefinesthesameControllerNameastheOpFcnStatusRegisterblock,theOpFcnStatusRegisterissimplydisabled.

Inputs

Thisblockhasnoinputs.

OutputsChassis Id: Thisoutputreturnsthenumberofthechassiswheretheboardis

installed.Typicallythisnumberis0.Slot Id: Thisoutputreturnsthenumberoftheslotwheretheboardisinstalled.

Typicallythisnumberis1to11whentheboardisinachassis,and0whentheboardisstandalone.

Rail Over-Current Status: Thisoutputreturns1whenanover-currentconditionisdetectedontheboard,and0otherwise.Acknowledgmentofthiserrordependsonthetypeofboard.

Rail Over-Voltage Status: Thisoutputreturns1whenanover-voltageconditionisdetectedontheboard,and0otherwise.Acknowledgmentofthiserrordependsonthetypeofboard.

Thermostat Output Status:Thisoutputreturns1whenanover-temperatureconditionisdetectedontheboard,and0otherwise.Acknowledgmentofthiserrordependsonthetypeofboard.

Software Fault Rail: Thisflagismorerelevantformodulesthatsupportdifferentpowerrailvalues.Theflagisraisedwhen2powerrailsareselectedforthesameoutputline.

Page 16: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

OP6225 User Guide 26

TECHNICAL DESCRIPTIONTHEASMSIMULINKMODEL

Software Fault State: Thisflagismorerelevantformodulesthatsupportdifferentstatesvalues.Theflagisraisedwhen2states(highandlow)areselectedforthesameoutputline.

Software Fault From Host:Functionnotavailableinthisversion.CRC Fault Status: Functionnotavailableinthisversion.Cable Identification: ThisoutputreturnsthestateofthecableidentificationlinesID-CBL1-5of

themoduleboard.Thedefaultvalueis31.Device revision: Thisoutputreturnstherevisionnumberoftheassociateddevice.Carrier Info: ThisoutputreturnsinformationabouttheIOcardrevision.Thisoutput

hasasizeof2andwillultimatelyreturnthehardwarerevisionandserialnumberoftheboard.Presentlythefirstvalueis1ifthedriverdetectsthatthecardholdsanEEPROMforstoringrevisionandserialnumberinformation.Thesecondvalueispresentlyfixedto65535.

Characteristics and Limitations

ConnectorPinAssignments:

SincetheOpFcnStatusRegisterblockmayattachitselftodifferentboardsthatsupporttheStatusRegisterfunctionality,theusershouldrefertothedocumentationofhisspecificmoduleboardforconnectorpinassignments.

• DirectFeedthrough No• Discretesampletime Yes• XHPsupport Yes• Workoffline No•

Page 17: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

27 OP6225 User Guide

TECHNICAL DESCRIPTIONFrequentlyaskedquestions

FREQUENTLY ASKED QUESTIONSQ: What is the maximum number of ASMs that may be connected to the TestDrive System?

A: ThemaximumnumberofASMsthatcanbeusedisdependantonthenumberofTestDrivechassisused.Upto10ASMmodulescanbeinsertedintoeachchassis.NotethattheTestDrivemodel(‘TD.mdl’)mustbemodifiedtosupportthisadditionalfeature.ThedefaultmodelallowsuptothreeASMsinoneTestDrivechassis.

Q: What is the module ID for the ASM and where can it be read?

A: ThemoduleIDfortheASMis3.ThisisnotdirectlyvisibleonthedefaultGUIoftheASM.AdevelopmentlevelusercanmakemodificationstothemodelandGUItooutputthemoduleID.

Q: How does cable identification work?

A: Eachmodulesupportspositivecableidentification.CableidentificationisenabledandsetbytheASMConfigurationGUI(“CableIdentifcation”).Theuserwilldefineavaluebetween0and31.ThisvaluewillbesetinbinarywiththesignalsID_CBL0toID_CBL4(Table3Table3).Thefigurebelowdepictsfunctionalityofcableidentification.

Figure7:CableIdentifcationTheuserwillgroundthenecessarysignals(Cable_ID0toCable_ID4)viaElcopinEEtoachievethebinaryequivalentofthedecimalvaluesetintheASMConfigurationpanel.

A: HowdoIusecommonreferencesforsome/allofmyASMoutputs?

A: ThisisafeaturespecifictoRev.2ASMmodules.TheHighandLowcommonreferencecanbeconnectedtopinsJandKoftheElcoconnector,respectively(Table3).FromtheASMConfigurationpanel(Figure6),theusercanselectwhichchannelscanusethecommonreferences.

Q: Can I vary my output linearly instead of ratiometrically between the High and Low references?

A: ASMchannels12to15allowforlinearizationofoutputs.TheseoptionsmustbeenabledfromtheASMConfigurationPanel(Figure6).NotethatthisfeatureisonlyavailableonRev.2ASMs.

Page 18: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

OP6225 User Guide 28

TECHNICAL DESCRIPTIONFrequentlyaskedquestions

Q: Is it possible to control the linear relation (gain and offset) of outputs 12 to 15?

A: UsingRT-Lab,fromtd.mdl,theusercanmodifythegainandoffsetofchannels12to15toanydesiredsetofvalues.Notethatthelinearizationoptionforthesechannelsmustbeenabledforthechangestotakeeffect.

Q: What is the relation between the rail voltages and the ASM? Is it necessary to power the rail to have the ASM working?

A: ThereisnoimpliedrelationbetweentherailandtheASM.ItisnotnecessarytopowertherailtooperatetheASM.Itispossibletousetherailvoltages(ex:BattandGND)asthehighandlowreferencesforaspecificchannel.

Page 19: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

29 OP6225 User Guide

TECHNICAL DESCRIPTIONFrequentlyaskedquestions

Page 20: OP6225 Analog Sensor Module User Guide - OPAL-RT e Slot ID P RTSI 3 5 7 Communication I Connector Module ID 5 DACQ SPI 3 Module /O Bus Firmware ... 14 R REF_L7 x C6 15 S REF_H4 x B6

CONTACT

OPAL-RT Corporate Headquarters

1751 Richardson, Suite 2525 Montréal, Québec, Canada H3K 1G6 Tel.: 514-935-2323 Toll free: 1-877-935-2323

Technical Services www.opal-rt.com/support

Note:

While every effort has been made to ensure accuracy in this publication, no responsibility can be accepted for errors or omissions. Data may change, as well as legislation, and you are strongly advised to obtain copies of the most recently issued regulations, standards, and guidelines.This publication is not intended to form the basis of a contract.

11/2013© Opal-RT Technologies Inc.

MATLAB, Simulink and Real -Time Workshop are trademarks of The Mathworks, Inc. LabVIEW, MATRIXx, SystemBuild and AutoCode are trademarks of National Instrument s, Inc. QNX i s a trademark of QNX Software Systems Ltd. FireWire is a trademark of Apple Corporation, Inc.

RedHawk i s a tradema r k of Concurrent Corp. All other brand and product name s are trademarks, registered trademarks or service marks of their respective holders. All rights reserved.