Home
Expanding automotive electronic systems
Contents
1. ZTV A 2 IZVL n 0ZV L I 61VL SS BIVL LIVL O I i 9IVL 1 Me SIVL 5 SS i vIVL N z EIVL ZIVL j E OIVL SS u 6VL I Se a i SVL T 9V1 J 2 SVL 3 E CNL a SP ya pal 5 INN i Fr graat HOSV EE 002 NR E A g xipueddy 022 pi d u u iy t aber lasprurrcials ZQ Sma a fer fren pe ference coerced Ga Fer los TE GPIB Tutorial In 1965 Hewlett Packard designed the Hewlett Packard Interface Bus HP IB to connect their line of programmable instru ments to their computers Because of its high transfer rates nominally 1 Mbytes s this interface bus quickly gained popularity It was later accepted as IEEE Standard 488 1975 and has evolved to ANSI IEEE Standard 488 1 1987 Today the name General Purpose Interface Bus GPIB is more widely used than HP IB ANSI IEEE 488 2 1987 strengthened the original standard by defining precisely how controllers and instruments communicate Standard Commands for Programmable Instruments SCPI took the command structures defined in IEEE 488 2 Figure 1 GPIB History and created a single comprehensive programming command set that is used 1965 1975 1987 1990 1992 1993 with any SCPI instrument Figure 1 e Interface messages manage the bus Usually Talkers Listeners and summarizes GPIB history called commands or command messages Controllers interface messages perform such f
2. 1 5K 5 15K 5 15K 5 Figure 2 Full Speed Device with pull up resistor connected to D left Low Speed Device with pull up resistor connected to D right On low and full speed devices a differential 1 is transmitted by pulling D over 2 8V with a 15K ohm resistor pulled to ground and D under 0 3V with a 1 5K ohm resistor pulled to 3 6V see Fig 2 A differential 0 on the other hand is a D greater than 2 8V and a D less than 0 3V with the same appropriate pull down up resistors The receiver defines a differential 1 as D 200mV greater than D and a differential 0 as D 200mV less than D The polarity of the signal is inverted depending on the speed of the bus Therefore the terms J and K states are used in signifying the logic levels In low speed a J state is a differential 0 In high speed a J state is a differential 1 USB transceivers will have both differential and single ended outputs Certain bus states are indicated by single ended signals on D D or both For example a single ended zero or SEO can be used to signify a device reset if held for more than 10mS A SEO is generated by holding both D and D low lt 0 3V Single ended and differential outputs are important to note if you are using a transceiver and FPGA as your USB device You cannot get away with sampling just the differential output The low speed full speed bus has a characteristic impedance of
3. Farw ae Y i De Ota puewwoa 1933113 B IPIAOIA o SI puewwod LAD au jo asodind ay uoraung PAJISAP ay gonpoid 0 puewwoa puonippe ue aunbar ospe ABW snq 34 UO SIDIADP IWIOS UOHB IDSO JO 1sinq Y 32npoid ued JOJEJ3UI E JO Buipeal p 28 UB 1913unOA V 3d UUEXI 104 uoloe powiweisoidoid e Suneumt Aq puewwos ay 0 puodsa pue 2419933 oy Aypiqedes LJN 2Ap ya ym SIDIADP PISSIIPPE Apun jje Sasnea puewwoa SLL LIO 1933111 3m39x4 dnolo 01Ju09 aowa 19pun u uA JUN y Jo uonesado Jadoid ay 107 Aressadou 218 Aue jl yorym S urlui9 9p 3 A9p JO JUOWNIISUI GIdO E JO 191N398 NUBUL 94 IDUIS spuguutuo2 YINS UE 10 Aue 0 puodsa 0 snq 24 UO SIDIAIP 10 JESSIIIU JOU SI 1 SPUBUIUIOS Passoippe Dag are yorym Spuewwoa Jo dnoJ3 e Jo uondii5s p e st BULMO OJ MY L SANYNWOD AISSIAAUV snq Au uo JU9S q 0 EIER Ixau Y SALIDAS SIQUIJSI uons Ajuo yey K1ess 5 u SI 4 UIYM SI9USJSI p31ts p Zulssalppe apaoaid jpm puguutuuo5 er L P3ssa ppeun oq JJIM UE 19u9 sI duo ss 1ppeun 0 qissodiou SI 11 snq 2y uo si u st UE s ss 1ppeun PUBWIWOS u lsi u IL 3u tu Auoo JOJ p ptAo1d u q sey puewwoa sty Ing stay fe sassoippeun Aypeoewojne 13X18 eau 94 FUISSJIPpe IDUIS 19X12 juano y ss ippgeun o puguuuio2 siy sn 0 JESSIDIL JOU SI 1 snq y uo J9N 8 Juana ay SISSIIPPLUN PUBLUILUOS yeun JUL INA u lsitun pue LNA Alelun We 9S9Y L s ss 1ppE SP p ujisse 5 A 291uyda 918 yM SPUBU
4. IEEE 488 2 defined a number of require ments for a Controller including an exact set of IEEE 488 1 interface capabilities such as pulsing the interface clear line for 100 ps setting and detecting EOI setting asserting the REN line sensing the state and transition of the SRQ line sensing the state of NDAC and timing out on any I O transaction Other key Send ATN true commands Set address to send data Send ATN false data Send a program message Set address to receive data Receive ATN false data Receive a response message Pulse IFC line Place devices in DCAS Place devices in local state Place devices in remote state Place devices in remote with local lockout state Place devices in local lockout state Read IEEE 488 1 status byte Send group execution trigger GET message Give control to another device Conduct a parallel poll Configure devices parallel poll responses Disable devices parallel poll capability Control Sequence Compliance SEND COMMAND Mandatory SEND SETUP Mandatory SEND DATA BYTES Mandatory SEND Mandatory RECEIVE SETUP Mandatory RECEIVE RESPONSE MESSAGE Mandatory RECEIVE Mandatory SEND IFC Mandatory DEVICE CLEAR Mandatory ENABLE LOCAL CONTROLS Mandatory ENABLE REMOTE Mandatory SET RWLS Mandatory SEND LLO Mandatory READ STATUS BYTE Mandatory TRIGGER Mandatory PASS CONTROL Optional PERFORM PARALLEL POLL Optional PARALLEL POLL CONFI
5. pue on UJYM pow puewwos ay ur a9eJlajur ay ase d 0 SI asod nd S spuodasoueu QOZ ury m 1 0 puodsa pue SNQ 94 UO S3MASP je Aq PAJOJUOU aq Isnw aut SIU NIV I SMO 0J SB SI YORA JO uond aasap J uq e pue Soul 9534 10 UONSIZUAp 3iuotu uui JL AJtJu p 10 pug M E z We RS W E pue ysonbay 991AI9S S geug JJOWIY LIAN 9IEHSJUJ u0nNuI V 3IA P E Ul SISALIP PLINA y 30 ad ay SIQUISIP IPOD siu L el SIIAUG f 2 sjjod yonpuoo pue spuewwon r E SSJIPPEP spuewwo es aarun SISSIJPPE PUIS ued ad1Aaq 3 1 onuo2 snq y UO 13418 ay Aq parentur aq ued uon unj IDIADP Y La 193311 33tA9G 3181S paulwajap 3 31d e 0 pazijenun 3q ULI 391aaq DA 18319 JAI 4 391A19S SIJINDII E 1 J Aaen Aynuap Ajanb un t 4 ISNUW 391Aap Isanba Aauo1muo3 uodn dd lOd 9118384 13 03JU09 34 WOI IDILAJIS isanbas snOUOJYIU SE ued drag YS ISINDIY IMAJIS snq Ou UONBWIOJU 30W31 pue jaued juosj WOJJ e13do 0 IQR IQ Isnw 93143G TA 290 20U19yY sadessaw Junnu 9J01133 3413531 u9do1d snw IDIAIG HV IMPYSPUPH 1old 53y I3ESSIL Junnu c S e Ja3sues Ajiadoid snw as aaq HS oyeyspuepy HINOS A erep E pue SpueWWOD 3A139331 ISNU b31A9Gq TT T d3 u lsr1 p pu lxd 1auater lllusuel 0 3 Q 3q Isnw brA G 1D L 13X12 L popuayxq aye L uondursag HUOWIU DN uoly gt ung 338J 19 u suondung 2a2Eua1 I ZAQEL ENUEN 91d 887 3331 G e Nee ir EN AA Wa INT Ki E
6. Endpoint Endpoint Descriptor Descriptor Endpoint Descriptor Endpoint Endpoint Descriptor Endpoint Endpoint Descriptor Endpoint Descriptor Descriptor Descriptor The interface descriptor could be seen as a header or grouping of the endpoints into a functional eroup performing a single feature of the device For example you could have a multi function fax scanner printer device Interface descriptor one could describe the endpoints of the fax function Interface descriptor two the scanner function and Interface descriptor three the printer function Unlike the configuration descriptor there is no limitation as to having only one interface enabled at a time A device could have one or many interface descriptors enabled at once Interface descriptors have a bInterfaceNumber field specifying the Interface number and a bAlternateSetting which allows an interface to change settings on the fly For example we could have a device with two interfaces interface one and interface two Interface one has bInterfaceNumber set to zero indicating it is the first interface descriptor and a bAlternativeSetting of zero Interface two would have a bInterfaceNumber set to one indicating it is the second interface and a bAlternativeSetting of zero default We could then throw in another descriptor also with a bInterfaceNumber set to one indicating it is the second interface but this time setting the bAlternativeSetting to one indic
7. Local Eu 4 Lal Bus Z Local Byss ME hka Fe H E JE K nn 5 z ER Malbus Multisystem Extension Interface Bus 22 bit Muliplesd Address and Dep Pathes v t Denn S bit 4 dress oder for hipe Address Spaces Singe Leva Hulti baser Poontzed Bus Arbitration Imeruptos pa bil rb with Single Shared Lire Bus Error Capabilty tor Desdock Resoluon and Remote Bue Error Ferd Figure 7 MXIbus Hardware Memory Mapped Communication 12 MXIbus Signals MXTIbus signals include 32 multiplexed address and data lines with parity address modifiers for multiple address spaces single level multimaster prioritized bus arbitration a single interrupt line a bus error line for handling timeouts and deadlock conditions and handshake lines for asynchronous operation Data transfers of 8 16 and 32 bits are possible as well as invisible read write operations and integrated block mode transfers With synchronous MXI the MXI 2 product line can achieve burst data rates as high as 33 Mbytes s and sustained throughput rates exceeding 20 Mbytes s regardless of the length of the MXI 2 cable MXIbus Cables A single MXI cable can be any length up to 20 m Up to eight MXI devices can be daisy chained on a single MXI cable length If multiple MXI devices are daisy chained together the total cable distance must be no more than 20 m The MXI 1 cable is a flexible round cable similar to a GPIB cable about 0 6 in in diameter Internally there are 48 singl
8. All devices should be powered on All devices should use 48 mA three state drivers Device capacitance on each GPIB signal should be less than 50 pF per device Bus extenders and an expander are available from National Instruments when your system exceeds these limits IEEE 488 2 and SCPI The SCPI and IEEE 488 2 standards addressed the limitations and ambiguities of the original IEEE 488 standard IEEE 488 2 makes it possible to design more compatible and productive test systems SCPI simplifies the programming task by defining a single comprehensive command set for programmable instru mentation regardless of type or manufacturer The scope of each of the IEEE 488 IEEE 488 2 and SCPI standards is shown in Figure 6 The ANSI IEEE Standard 488 1975 now called IEEE 488 1 greatly simplified the interconnection of programmable instrumentation by clearly defining mechanical electrical and hardware protocol specifications For the first time instruments from different manufacturers were interconnected by a standard cable Although this standard went a long way towards improving the productivity of test engineers the standard did have a number of shortcomings Specifically IEEE 488 1 did not address data formats status reporting message exchange protocol common configuration commands or device specific commands As a result each SAS ge GPIB Tutorial manufacturer implemented these items differently leaving
9. mmaa Passive safety reduced personal injury in event of an accident Underfloor concept ag Automatic Active safety avoiding an accident Side air bag Side impact protection qe Se Active seat belts BN 4 Air bag E Deformation e elements 4 4 Compound glass fw 4 Pes Seat belt 4 4 4 Safety cell Ps BS Safety potential us 1960 1970 1980 1990 2000 Active body control Antilock brake system Adaptive cruise control Brake assist system Brake by wire Collision avoidance Drive by wire Electromechanical brakes Electromechanical steering Electronic stability program Electronic traction control Steer by wire with mechanical backup Figure 3 Past and 2 kW If historical trends continue internal power future active and d emand will grow at a rate of 4 percent a year passive safety sys C I onservative estimates put the average electrical tems Advanced power requirements for high end vehicles at 2 5 kW electronic systems b 7 y 2005 These increases place strains on conven and the X by wire I i tional power equipment For example at a 3 kW infrastructure will i load bracket mounted belt driven alternators gen enable active safety W sz I i erate unpleasant noises and require liquid cooling improvements Table 1 shows some anticipated electrical loads for key emerging systems Analysts expect the loads to reach the
10. Hr 6S Ge 97V1 vt 8S ScVI 6 6 LS n LAM 8 CO 95 CN L L S GON 9 9 vs S Icv l S St ES daa t ve TS ne 6IV I ce IS SIVI 4 GE OS LIVI I le 67 91V1 0 Ot 8 SINT Ac Lv vIV I dc 9p LIN az Sp CIVI IT vv IIVI az tv OIV l ve Cv 6V I 67 Iv 8V I 87 Up LVT LT 6t HN Y 97 8E SVI ST LE PN P 9 GA LC Se VI gt CC ve IVI i I tt 98tHHdl nosv X9H ewig OO 692 S9pos 8873331 PU OSV OSH qI L ans VI 9 Ads WI 61 ST AdS NVI gI PC HL LI CZ ONAS 9 TZ Ndd AOVN SI IT TOA toad Pl 07 Od I ol Oq cl 8l OTI TOA II LI TIA Ol 91 IS HO SI OS 40 Pl d do cl del 00 ZI LA 40 II TI vo Ol LOL LH 60 6 LHD Sd 80 8 TIAE LO L AOV 90 9 Idd ON CO JAS LOH v0 r XLH 0 XLS co 4 ILO HOS 10 I TIAN 00 0 38v13H1 nosv X9H puna yea Jo Zurueaw 88t Hddl Surpuods uio32 y pue sapos JIIOSV P fe ett aide SULMO OJ AL 2P09 882114 Dun JIDSV d xipuaddy oqa EEN GY WAE DR CEE TE EE RT EE A E s CC A RER EE EE ee EE A ee EE SS GE s GA SEN WE EE RE EE Ee RS TE ee Hs RC A ere SE EE IE EA EE en ee S A ee ee ns A GSS usr nel ea s SE E S O RE SB Ge A AA AAA S8V43AI IIDSV x eer IOS e 19 7 40728 I5 008 2 4 INN OEVL x 67VL e q 87VL E LZVL Se gt CNL z z STVL x A x T EZVL
11. S3A13931 10 d3598 3Y L Sutns e pajjes SILS1p pue siajoeJeyo jo dno13 e UIEJUOI SIMASP pue SJUIUINIISUL 0 spuewwos eord Luew upeaa duonba1j e 948 0 pjo 2q p noo Jajunoo Aduonbay e JO S OA Sp peal 0 p tuurg 38o1d aq prnos 19J9u1 0A e odurexo 104 UOIdUNJ Ulge E LUIOJIIH JO UONIPUOD UIE E IUINSSE o JUJU nasu SULAI9931 3y SUeIZOId yorym puewwos Ju pu d p S3IA9pD p pa e9 qu uu PIY e UIEJUOD os e UB adessau ILJUN au I puewwo JO SSJIPpe UB Jaya SB snq y UO UONBLIOJUI 201 Wang SIDUASI DY Jey OS any SI dur UONUSNE u aduanbas s y SuLING UODUNY 998J19 UL ay Aq p Aolloj 10Jd3938 papuajur ay Jo ssasppe Asewnd y JO S SIS U09 9dessaw JJLJIIJUI IY SPUBWILIOS Passa ppe SUIPUIS Udy AA Ienue W Ald 887 3331 81 Ss Sm e Pupas mm te er ENEE E 9J8 SOUT 959 998J19 U1 24 y3NO1Y ejep pue SpueWWo JO MOL Aysopso ue opraoid o pasn ase yorym soul JUSWISRUBU 998J19JUL e19u93 241 JO 8J0 SI 2194 Soul IMPYSPUBY Y 0 UONIPPE U SANIT LNIWIOVNVN ADVAMALNI 19 deuO ut passnosip are SUOTJOUNJ 398J 13 U1 JO sjosqng g L YsNosy OL se Daunuapt are YIM L 19X18 L JO SI9SQNS guru are 2194 ajdwexd JOY 3tuouu uuu 34 JE dn o19Z wouy 2140 epp e JO y3no1y Sliq 103 San eA Zunessnjjt weya pod HOSY 177 Jand SONVAMOS YO SISSTIOOV SISS3INOOV AYVONOIDIS ATL NUSA 3 i l o s Lt gan rn m 3 kot 5 wo prot lof tt In S
12. exponential increase in the number and sophistication of electronic systems in vehi cles Today the cost of electronics in lux ury vehicles can amount to more than 23 percent of the total manufacturing cost Analysts estimate that more than 80 percent of all automo tive innovation now stems from electronics To gain an appreciation of the sea change in the average dollar amount of electronic systems and silicon components such as transistors microprocessors and diodes in motor vehicles we need only note that in 1977 the average amount was 110 while in 2001 it had increased to 1 800 The growth of electronic systems has had impli cations for vehicle engineering For example today s high end vehicles may have more than 4 kilometers of wiring compared to 45 meters in vehicles man ufactured in 1955 In July 1969 Apollo 11 employed a little more than 150 Kbytes of onboard memory to go to the moon and back Just 30 years later a family car might use 500 Kbytes to keep the CD player from skipping tracks The resulting demands on power and design have led to innovations in electronic networks for auto mobiles Researchers have focused on developing electronic systems that safely and efficiently replace entire mechanical and hydraulic applications and increasing power demands have prompted the development of 42 V automotive systems IN VEHICLE NETWORKS Just as LANs connect computers control net works connect a v
13. Current progress on the SP50 is as follows Physical Completed Specification includes 31 25 kbit sec 1 Mbit sec and 2 5 Mbit sec data transfer rates Requirements for fieldbus component parts Media and network configuration requirements for data integrity and interoperability between devices Fr n http www kvaser se can general htm The CAN bus The CAN bus is a broadcast type of bus This means that all nodes can hear all transmissions There is no way to send a message to just a specific node all nodes will invariably pick up all traffic The CAN hardware however provides local filtering so that each node may react only on the interesting messages The bus uses two different signaling states dominant logically 0 and recessive logically 1 These correspond to certain electrical levels which depend on the physical layer used there are several The modules are connected to the bus in a wired and fashion if just one node is driving the bus to the dominant state then the whole bus is in that state regardless of the number of nodes transmitting a recessive state In order to eliminate the DC component on the bus the CAN messages are bit stuffed that is for every occurrence of five consecutive bits of the same level the transmitter inserts an extra bit of the opposite level The receiver removes these extra bits The CAN messages CAN uses short messages the maximum utility load is 94 bits There is no explicit addres
14. Fieldbus Organisations This section establishes who have been the major instigators of fieldbus development over the past several years A brief summary of the developing standard is also covered The major players in the fieldbus area were previously dominated by two major groups e WorldFIP World Factory Instrumentation Protocol e ISP Interoperable Systems Project However recently these two groups have joined together to form the Fieldbus Foundation FF The Fieldbus Foundation and another organisation known as Profibus ISP are now competing for market dominance Two standards bodies known as the IEC International Electrotechnical Commission and the ISA Industry Society of America are currently working on an international standard known as SP50 This standard will hopefully allow the manufacturers of fieldbus equipment all around the world to produce compatible instruments for industrial applications WorldFIP ISP and FF have pledged that they will eventually evolve their products to meet the standard when it arrives However when the standard finally does arrive users of existing non conforming equipment will run the risk of having obsolete equipment or having to purchase new systems at an excessive cost At the time of writing information regarding actual market share for the Fieldbus Foundation and Profibus ISP was not available but Process Engineering s Instrumentation Supplement for 1994 predicts that the Fieldbus Fo
15. and by the Talker when enabling the HS488 protocol e NDAC not data accepted Indicates when a device has or has not accepted a message byte The line is driven by all devices when receiving commands and by Listeners when receiving data messages Device C Figure 4 Linear Configuration e DAV data valid Tells when the signals on the data lines are stable valid and can be accepted safely by devices The Controller drives DAV when sending commands and the Talker drives DAV when sending data messages interface Management Lines Five lines manage the flow of information across the interface e ATN attention The Controller drives ATN true when it uses the data lines to send commands and drives ATN false when a Talker can send data messages e IFC interface clear The System Controller drives the IFC line to initialize the bus and become CIC e REN remote enable The System Controller drives the REN line which is used to place devices in remote or local program mode e SRQ service request Any device can drive the SRQ line to asynchronously request service from the Controller e EOI end or identify The EOI line has two purposes The Talker uses the EOI line to mark the end of a message string and the Controller uses the EOI line to tell devices to identify their response in a parallel poll Physical and Electrical Characteristics Devices are usually connected with
16. engineers set up the older mechanical systems at a single fixed operating point for the vehicle s life time X by wire systems in contrast feature dynamic interaction among system elements Replacing rigid mechanical components with dynamically configurable electronic elements trig gers an almost organic systemwide level of inte gration As a result the cost of advanced systems should plummet Sophisticated features such as chassis control and smart sensors now confined to luxury vehicles will likely become mainstream Figure 2 shows how dynamic driving control sys tems have been steadily adopted since the 1920s with more on the way Highly reliable and fault tolerant electronic con trol systems X by wire systems do not depend on conventional mechanical or hydraulic mechanisms They make vehicles lighter cheaper safer and more CO eb O ab E ke ABS TCS ABS EBD ESP ACC EHB EMB Increased dependency on electronics fuel efficient These self diagnosing and configurable systems adapt easily to different vehicle platforms and produce no environmentally harmful fluids Such systems can eliminate belt drives hydraulic brakes pumps and even steering columns Indeed by 2010 one in three new cars will fea ture electronic steering X by wire steering systems under development will replace the steering column shaft with angle sensors and feedback motors A wire network wi
17. s network architecture show ing the trend toward incorporating ever more extensive elec tronics January 2002 Media oriented systems transport The appli cations of MOST a fiber optic network pro Today s vehicle tocol with capacity for high volume stream networks are ing include automotive multimedia and per transforming sonal computer networking More than 50 automotive firms including Audi BMW Daimler components into Chrysler Becker Automotive and Oasis EAR SiliconSystems developed the protocol under truly distributed the MOST Cooperative http www mostnet electronic systems de main index html Time triggered protocol Designed for real time distributed systems that are hard and fault tolerant the time triggered protocol ensures that there is no single point of failure The protocol has been proposed for systems that replace mechanical and hydraulic braking and steering sub systems TTP is an offshoot of the European Union s Brite Euram X by wire project Local interconnect network A master slave time triggered protocol the local interconnect network is used in on off devices such as car seats door locks sunroofs rain sensors and door mirrors As a low speed single wire enhanced ISO 9141 stan dard network LIN is meant to link to relatively higher speed networks like CAN LIN calms fears about security of serial networks in cars Because LIN provides a master slave protocol a would be th
18. sueaw e p A01d pue a91a9p gIdO 941 JO am nns SNJEIS IU OJJUOD SPuUEWWOI 9SIY JUIAS PUB S IS 19 51391 gjqeugq SEI JusAg PIBPUEeIS JO 19351391 ajqeuq Isanbay 3IA19S 94 998319341 88p AAAI IYI JO EIS 34 193 J8 JOU Jsnw PUB AIEIS UMOUY 0 SUONDUNJY Juspusdap 351A9p 94 SI9S PUBLIO J9S9Y IYL PILINIIJO ALY Aew yey S10119 uoneiqyes Aue podor pue nissad9ns Ino pares sem uoneugifes ay Jey 3189Iput 0 sanb uoneuqit 82 e o puodsaJ Kewl IA9p IYL SpIepuejs 7 88p 10 1 88p AAAl IY MEIO A pinom yey suon puo9 Aue asneo Jou Jsnw pue UOnSelaju 1 sn 2901 Aue 911mbaJ zou Sn ul UN 94 JO 31389 UONEIGITED J 9S u rtA p y JO sZU S BUI9UI Y Pear O JA ON U0d y s qgu puewwoa peuondo uy 391A9P HIAO Y JO 159 3198 pue Zunesgijes j9s Sun19s se suonesado juaw nnsur YONS IPN DUI spuewwos ISL suoresado euJa u Le pepuejs g 88r 3331 JUL p lqesIp SI yms u ppiu e se y ns WISIUBYDOUW uol123101d y USYM uo J9 01JU09 Y Aq p3ss o2 aq ULI YOIYM uonguutoJut p3 23101d ase 19Jsue1 uondiui5s p dd1NOSdI puke gep 19sn P3J99J014 A1ojepueu JOU st yiqedeo siy Ing pajyiodai aq osje Aew suondo ad1aap pue JaquINU euag OIUOD djJOWdI JapUN IdIAap JO OPOU pue JaINJORJNULU 94 utul1 p O AYQISSOH SI 1 191 SUBI uondiiSjs p IIINOSII pue erep Jasn P3J99J01d suondo pue suondiui5s p UOIJROIJIUDPI IDIADP SE YONS uongunoJgur 24911391
19. 19 snyejs s SUNUIIJUO uomnguHojJgur JO gyep Ju ou insp uu Juaunssd snq y uo PWSULI O 9 Q SI yaIym JUN E SI 193 91 V SI3 OJJUO9 PUB SIDUIISI SIDA E IL ISIYI D en aie SIDAD JO SJU2UINIJSUI JO SILIOZFJEI 9914 WIIS S deJIDIUI GJgH A uj NALSAS YDVAAALNI LIA 88h AAaI AHL AO NOLLAIAISAIA A sng uol lu uunulsu sodinq jeiauayd oul ut UOFONposd ay uo S101139 l uruur dau pue siso a9npas DUIIIIJJO ISPIJDUIL o WeIZOId SUIS B JO J9SUO ay Je p 1 pisuoo5 20 1sntu ut s s 398J19 7ur UB Jo aen ay y S 3IA9p pue slu unusur ESUBYSIWION IIIa 10 3tuono 3 Jo Bursa uononpoid yy m P9AJOAUI 918 oym 350Y pue siagurBua s q P219PISU0I aq Jsnui s y L UOHEJUIWNISU 89 DIUOJD9 9 JO PJIOM ISLA Sy ut 9AIIJIdUODUOU aq ew pue uonesijdde SH ur Dou st npiqedeo en utejuoa JOU S90D USIUA Ju uni su u y An19dulo3 ulewa O niqedeo gd IdO Ipraosd Isnw Juswd nba Isa Jo Ssi in oeJnuguu jje Kepo L Tednuapr aq 0 P313PISUOI aq ued Kay pue A qeasueyoiajyur sua 2834 35N IA 1009 SIU AjsnowAuouds pasn ase gig pue gl 49 38t 4441 sasodind jeanaesd p 104 sng snid pue sng ex sng 3931 aAldD Bl d4H SUOISIDA PUPIQ e19a9s ur pajuawa dw s y pue 88F III1 94 SI tu ls s 998J13 U posn SpIM Jsow y Kepo L AM lt 1529 DAI 01 eanuapi prepuejs YSN 9pT9 eg 10333uuoa y 107 1d 5x 91JU3PI z9 DAI 1 887 2991 0 esnuap VIDN ISNV 1 88
20. 2 Mandatory Common Commands S ui o _2 553 PE e EES oe U ij r O O E y c e Oe SOU BE s E a Sess Ss S E RS o E o ono O x O 3 2 amp gt O OG GC O Standard 6 5 4 3 2 1 0 Event Status Register ESR Logical OR pHi 11 1 E pias Lien Let e L Queue ze Se Ja Standard 1765 4321 Of Event Status Enable Output Queue Register ESE lt NRf gt ESE i loo EE J E Service ROS Y y lt Read by Serial Poll en 7 6 SEI Status Byte Register lt Read by STB SS ETT i SERE EA 8 D L Service Request 7 k Enable Register 8 SRE lt NRf gt i SRE gt 751431210 Do H Tas Figure 9 IEEE 488 2 Status Report Model ne A AN mr ld ew 4 AMA rr IAN PAL QA11 lafaldnatiner COM e www natinst com e Perhaps the two most important protocols are FINDLSTN and FINDRQS The FINDLSTN protocol takes advantage of the IEEE 488 2 Controller capability of monitoring bus lines to locate listening devices on the bus The Controller implements the FINDLSTN protocol by issuing a particular listen address and then monitoring the NDAC handshake line to determine if a device exists at that address The result of the FINDLSTN protocol is a list of addresses for all the located devices FINDLSTN is used at the start of an application program to ensure proper system con
21. 359 enueul e Ota 2ye PINOM Ir uey 9urn 21001 31331 ur ur sK s ajduurs e USISIP 0 3 q8 q 0 TOSN UN 3SIL B SMOJJE SIY L spugtuuroo 9 18 AU Oe jpu uy 1 sn moy e Zuisn uns pue dn jos q ueo ur s s 88 44 ue Jod0j01d Ares 999U y pIA01d s1i onuo2 snq 88b 4441 Aep umspow sours sadeyoed SurmmwesSoid eSISAIUN JO opninInut e apraoid ya ym S39INOS uew ou 9 qeurejgo SI JO 93en3ue r9 nduto5 DISVY OU YIM Jere st oym auodue Aq Gau ISe9 2q ued ut s s 941 Aq parmbaz st yey asem3jos UL Ja O1JUOD snq pajeorpap e JO 19 ndutuo2 guosi od uowwoa p 134313 ENSn sr yorym jjonuoo 94 pa e9 un Jajsew e q paprao d st ur 1s s 943 JO uors asadns SNQ UJ SP 0 p 119 91 SIOJDIUUO PUE sajqea pousisap Ajjeraads dulsn ajjesed ur 1941930 pajo9uuo USYM HUN 19ISBUI E JO OJJUOD Japun 13430 yoes ta Yes unumuos Leu S3DIA9P JO sju ummsur SI 03 dn yorym ut tu s S ep e st pjr lur 889 77 UL MOJJOUIO pue Aepoj painjoejnuew Sut q ore YIIYM SJUIWNIJSUT DIUOIJI9 9 JO ENUBN gI4D 887 3331 ei sioquinu JBUIQ JO JEULIOJ gep 3y SI UOMEIIIDIOS sry ur p pn o Uj uOrejuasasdar ejep JO JOS 1appeleys S3ueyoxg uonguuoJul 10 9P07 PJPpue s uPauawy IIOSV 24 JO a3esn ay BurAjioads Aq S S3IA9p U9IMIIQ POJNUISUEJ SI VJP MOY SIUIJOP J9 R SIINJINIS get pue xeju s ayy e s uu9nO pue spuewwop uowwop oy pue J9Ae sounjonijg WA pue xezu s au JO 1SISUO ISIL piepue s Z 8S8py AJA Mo
22. 9 9 Institute of the Motor Industry Volting Ahead on Power Systems http www just auto com features _detail asp art 307 current Dec 2001 Gabriel Leen is a technical researcher at PEI Tech nologies University of Limerick Ireland His research interests include in vehicle networks for mal verification of vehicle network protocols and automotive computing Leen has several years experience in automotive electronic system design He received a research MEng from the University of Limerick and is currently completing a PhD in automotive networking design Leen is a member of the Institution of Engineers of Ireland Contact him at gabriel leen ul ie Donal Heffernan is a lecturer in computer engi neering at the University of Limerick Ireland His research interests are real time embedded system design and reliable protocols for distributed control networks He received an MS in electrical engi neering from the University of Salford UK Hef fernan is a member of the Institution of Engineers of Ireland Contact him at donal heffernan ul ie Average load 800 300 300 100 200 60 360 100 2 220 January 2002
23. AL L od penas 194181 s seg Z 4L L Ajuo et pod penas 394 81 dseg I 3 L L utiqedes oN o a L npiqedes ng HV a SDIUOIIII 3 JIANG la 1933111 331A3G Ja 12313 JAI dd lod ja je2eg 1a 290 310413y as sanbay 331A13S DI 3ua1s1 papuarxa aua s T ALL 194 2 P3pu lx i yie L npqedes oN OHV HV oyeyspuey 1old 55y Aujiqeded nd LHS Auliqede5 oN OHS HS INPYSPUPH MOS 3p0 Awpriqedesy 3P0 gt seg uoun 958J43Ju si sqns pue suon unj IDPJISUI JO AQEL S IQEL JENUEW gid9 887 3331 Ch gt SCL T ach lt 2 Loder 202 IEEE 488 GPIB Manual BT a6 Je 19 10 Ol fm zi SDC 2 NUMBERS _ SYMBOLS Hi ND E PIN s o Q Tt O o J D SN fo Q aE NI ler Ni Din N Get a H Ay f 8 Plo Q e m r A Nid Ici N 0 7 N Q N CH L 0 Sp ejN G U m N e lt lt 0 oO 0 d p d mg oh s I O ON TE j i D DEL 9 77 57 9 al37_ 478 VEH RECH 171 i y 298 15 J z 9g en de 91 68 k 2778 1 54 174 gt aor pe NS EE B Ms 29 49 112 m gt N was gt Q gt d NE N lt On W my po po a p iR Gees UNIVERSAL LISTEN COMMANDS COMMANDS I ADDRESSES KEY e octal Message Mnemonic ASCII ISO character hex 1 decimal OcV I lt de c9 d 6CVI de 19 8cVI gt JE 09 2 LINT
24. Dua pa ye PAPUI ale yey S JIA 9A1J98 9 Jururejuoad 91qe9 88py 144 ue JO sue w Aq 13410 yara 03 9 e1ed ut pajyoouUOd aie SNQ ILJU OY UO SJUILUNIJSUL TW au Jo Adoo p ey apraold pue ssurpeos a3e3JOA 9jeprursse peorporsod PINOM tuajs S st z u lsil Joyurid e pue 19x 8 IO OUNTOA e waJs s e out SJUIUINISUI FIA Sun uuoos lu JO SPOYIAV OM TI 34314 YV3NI YO NIVHO ASIVO YVLS 43 110Y1NO9 ENUEN gid9 887 3331 8 pue YIXIS 94 pue ssa ppe usjs pue SSoIppe Ye au am en s u L s ut EIER y UO SIPOI SSIJPPe Jurpuodsa1109 ata HESE Aypenqoe Titan Jasn ay Aq par99 9S SI ya ym sss ppe mguud 34L SI9A 8 JO PUB SI9UIISI P2PUIIXI paj ed ae puew W09 SSIJPpe Jepuodos e Jundasse Jo ajqedea are yorym Ald uu js s 2ejlajul alues oy JO ed ose yorym RESA UI J1OW JO OM UO SISSIJPPe JEPuOIaS Jes ldnp o DQISSIULIA SI P 3DIADP y ap sur si dun Jo jas e SuutA 1 Aq py ul pa3ueyo oq Aew 3nq A103983 y Je 39sa1d ensn oe Sossoipp Krepuosas 319831 un 94 olur IJYJINJ SSIIIR SIPIAOIA YIIYAM Ssaip pe A epuo9as e asinba1 osje ABW SIDIADP JO SJuUIWNIJSUI JWOS eng y uo 1u uiniiui 13470 Aue Aq paseys 2Q JOUURD si pue Jaquinu ssalppe anb un umo at poudisse o jsnw LUIIS S 298J13JU1 UIAI E JO ed SI YIIYA 391A9p JO JUIUINIISUI aa ss 1ppe JUDUINIJSUL UB JOJ p sn 2Q 0 PAPUDUUIOIAS JOU SI PUL SSOIPPE U9ISI A E J9 01JUO9 y 10 p A19s31 Ajjensn SI Z SSOIPPY D
25. FESSIU ISOYI ut XEJU S SI231d 1349351 PUB 193 8 Y U93MJ3Q Sadessaw JO JIJSUBA IQRIOY santjiqedea 889 9331 JO 195 wnururu pau nba y NAM st wi V E ale SISSIIPPE Z 88b AA7I YOIyM SINSSI dy JO IWOS JUO BUISIIO Iy SIDUEYUI pue YIM SAJOM DIEDUEIS MIU DY L 1887 3331 PONNI Sem 8L61 88y AAAI 3u tunoop jeulsiu0 UL SPUPWWOD UOWWOT Pue s oo5o0 0iq SJBULIO Y SIPON L861 7 88p Piepue1S AAAI P3 e9 SEA SIyL sadiAap pue SIUIWINIJSUL ajgqeu We1301d 10 piepuejs mou e paaoidde 799 94 86 aunf uj JUSUINIOP 889 3331 IYI JO UOISIADA 1O gui x u y ur papnjaur 20 Joye PINOM yomyma uoneunojui 34 ap ao d padjay Sty y wajsKs 998J19JUT JU YIM 19M PINJOM pey PUB SUIT 1940 PIAJOA9 pey POPUIWWOIAI 313M YIIYUM SJEULIOJ 201 8L61 88h AAAI WIM 3SN 10 suolju9AuoO JULIO pue po 10 SNIP PIPUSWUWOIIY get AAAI PALI Ju um op L JO uong3 3 941 ul P33 NS31 SJPLUIOJ giep au aZipsepueRys o Jdwayye 38113 V lJu o1 31p 3u lpueu ejep pue o5ojoid a3essaw p lpugu Jomjoejnuew yea Jey Juaredde auwrdag uoos y pasinbai se 19410 yea pue 49 0JJU09 y YIM UOHIUN pynom SJUSWINIJSU YOIYM ulul19 9D 0 ENUEN GidD 887 3331 y SNR PAN DIE tt A pubis ni A ar mn oe H 3q PINOM WIJS S e uons JO 9 duiex UY 1 onuo3 OU YM UASI ajdu s pue 194 8 9 Buis e Jo S SISUOD Wajs S GIAN uunuturu V J3 0 13U09 E BABY 0 uu9 S S 998J 19JUL UP 10 IeSSadau JOU SI U11 UJAIS Aue Je S
26. I4 JO JUO UO 10 STEI et UINJAL JIM SNQ y UO SIDIAIP pajeusisop 14313 0 dn onuoo ay Aq parnu st souanbas jjod yayyered y usyAA sd ls 31001 JO OM UI uop 20 Aew siy pajjod 20 Isnw yarym SNQ 3y UO SIDIADP JENUeW 9149 887 3331 8 Ee STT REN PIMP Si FER Ee ARN G Ge KAN Ae See Less ME LE Da P dnjas 359 USAIZ E ut 13470 YOR JOJ SIUN YINS 3ININSQNS O J NOYJJIP 2q pinos 3 Sutpo5 GI Jo seurq ambas 1431u J9YI0UB at IIDSV ur aJearunwwoa Jy31U 3uO YOUL 0 HUN JUO OU JUSIDPIP EIO 20 1431 siguuoj RIV z due JO uonounj s JO dnjos jenuew e ambas m r y1 duigx 107 apqeunues3o1d Ang 20 JOU Jyg w J9y10U Y S UIPE2J sit 19 onuo2 ou 03 ADeQ Hoda JOU P NO YIIYM 391A9p JUO U9 SI Y 20 JYSIW J9J3UIJJOA ep suo opdwexo J04 earuapr 20 1431 ju unisui jo ad au y3noy usas uloue O jun SJoINeynueW QUO UJOIJ JEA P NOM ys ym Saniqedes 39e319 ul 3IA9G I 3JIM PIJIJUNOI u sut jqo1d ay JO JWOS g dO au pandejd yomym swajqord Josn y Jo Auew syeurwija djay 0 pousisap sem pue asn ul u q Pey g1d9 ay Jaye sie K 01 pardope sem uoistaal z 88p 433l UL MAIAUYAO prepueys 288Sp AHI JUL JajdeyD 3 035 41 JO 304931109 UI O z3 40 13 220 19 U 091139313 j04JU0I BAIBIOY ssod GSW A1 PUIS ONS 0 puodsay JO avonN ymqodo m3 Jo uoN Ayyiqodog IIn3 JO 9uoN Ayyqodo IIn3 JO BUON Ayyiqodog Iny Ay
27. JO 101S 0 PISN 918 SPUBLIWOD ISAJ IVP tu s s T Ajuuiojiun ajedrunuw WO3 SIAP US Jey sa nsua sdno13 puewwoa JO J9S SutAo lo UL snyeJs 110d91 pue suoraung a Qeua 0 SPUewwoa JO J9S JUDIOTJIP e pasn SIOINJOLJNULW SNOLIBA WOIJ SIDIADD YOIYM UI 88p 4431 YAM pasajunodua wajgold ou SPIOAR SIY 9SN Jsnw SIAP fe YIYM spuewwo JO 39S UOLWOJ 8 poljioods sey Juawnaop Z ggY JII1 OY suonounj esyuap wiojiod yorym Spuewwoa Ie IWIS aen WIIS S ALY UB ur p sn SIDADP PUB SJUIVINIJSUL JSOW IDUIS LAS GNVININOD NOWWOO asuodsas o Bbulpuas 31 ym abossaw mau O q pajdnuajui SOM OI A9D aul OILINYNALNI a6ossaw PaJOUILUJaJUN UO poa 0 pajdwa 330 SOY A9D SUL OILVNIAYILNN OJOP aJOW jJ9jjnq YOUUOD IDAIP auj MI019V39 asuodsas Dupuas pays u 3JNOG asuodsaj bupuas aj ajdwo7 3ISNOdS3Y Sasuodsas puas ON3S u s aq O SISUODSIJ IJOIS AY3NO sabossauw 3 n23x3 puo poay av3u sabossaw JOJ YOM 3101 I3SOHUNd SLVLS sagte euoneiado 3DADP Jo suOTIUIag CC MEL JENUeEW did 887 3331 9 Aq p2M0J 0J 20 snw puewwoa e93yY 34 puewulo SABS au uA SY PUBLWOJ ABS SnOIA31d e wol Alowau S U P2JO S SB SDIAIP Y JO 918 S AY SJIOJSAI Puewwos LINA u L sn 0 1951391 938 J0 S y SOJLUBISIP YIIYM Joquinu e Aq p3MOJ 0J SI puewwoa 3y P3JOJS Iq UBD VP Stu u31uA ut UOTNBIO JUO ULY JIOLU SI 9194 J IOWIW S DILADP 94 Ul IIAP Y JO 318 s Juasa d MY SILOJS pULWWOI APG 9Y L 2u10 1348 e Je pasn 3q 0 J
28. Mbps the electromag netic radiation on twisted pair cables that results from a CAN s high speed operation makes pro viding electromagnetic shielding in excess of 500 Kbps too expensive CAN is a robust cost effective general control network but certain niche applications demand more specialized control networks For example X by wire systems use electronics rather than mechanical or hydraulic means to control a system These systems require highly reliable networks Emerging automotive networks X by wire solutions form part of a much bigger trend an ongoing revolution in vehicle electronics architecture Multimedia devices in automobiles such as DVD players CD players and digital TV sets demand networks with extensive synchronous bandwidth Other applications require wireless net works or other configurations To accommodate the broad and growing spectrum of vehicle network Mirror Self en I Light 1 ll Mirror MOST Speaker EE Window lift mm Universal light a M Lock M M E I Interior lig nt atas esas peeing heating Trunk M DI Heating M M NN H r II A Heating Universal motor Lock Semer Universal panel Global System for Mobile Communications applications research engineers are developing many specialized network protocols including the following Domestic Data Bus Matsushita and Philips jointly developed the Domestic Data Bus D2B standard m
29. OY spu 1x pue uodn spying Z 88 44741I1 Aq pouljop 3unJodas snjeis ONILAOIYA SALVIS A XIP uaddy ul si spuewwos uowwo 3u JO uonduosap y dno 3 puew WOd Aq p ziug3io SpUBLIWIOD UOWUOI 3y JO Ss19S Iy SOJenysniji p IQR ousis p ju oumnsur y JO UOTJOIOSIP au 0 dn ua 218 SIDYIO IUA IIAP gildO E U BuoreIado 20 JsNUI spuewwoa UOUIUIOO UI81192 ey San roads 7 QQp AAaAI 9S 8J NLV snq u jo POU eJep AU UI JUIS S BAJE 9 18 SPUEULWIOI UOULUIOD US JPY JON pajoajas aq 0 318 S3UIYOIS palos y YOIYM OU 191S 391 y jidads o Joquinu e JEnueW did 887 3331 Op onanb indio ay Jt ann SI yorum AVI 11q aI0EIEAE a3essaw JUIA9 JUO ULY SIO seu JUN E Ji ING 10351331 SNJEIS JUSAH PJLPURIS ay SI y NA 9 pue y SI1q 312 Z 88r TddI Aq pourjap SVQ IYL au PLII 0 Puewwoa e SOUIJOP Z7 88py 4431 21A9Dp L U sasueyo uon puoo pouljapaid e yey 19QUIALUI 0 pasn ae 19 SI391 JU9AJ 3 pupguutuoo O 24 31A13S ISINDIS 0 191SI8 1 snyejs BY ur IQ Jey sajqeua I YAUS 3 Zuisn 31n39n 13S S IS palejas 3u1 JUULI Aq 9uop aq UE YOIUM au ul JOS SI iq E UIM 2140 SNJBJS t ut SIIQ O Zu puods31109 4 9J Q SNJBJS DY IBID JOU JIM 1 IQ OSY Ay 163 JIM jod eros YAUS 19151391 qguq ISINDIY Idas 201 ut S Iq 19 AE Josn e y3n0y V SJINIINNS EIED PAJBIDOSSE pue 21 O SNJEIS IYI SSII 0 oy L uone1i odo Zurgeua 1s nb 1 3914195 dy SYENSNIII y amig 4 JOSN 24 MO YOIYM
30. PIPN dU 861 1 887 P epue S FAAI ISNV YM 3SN 10 SPUBLIUIOS uowwo pure s O520101d S BUIJOH SIPON 7 88py PILPULIS AAAI IYI jo uondope ay Aq ued 1souu y JO p A OS 312M S19Uu 0 pue sut9 qoid asay L siu otunnsuir 9d epus fe 103 210Euns q PINOM pasn aq 1y31u 11 juanba1 JO uoututo5 MOY 191 8ui ou puewwod Aue yey 9uunssg JOU P NOI 199U1FUI JIEMIJOS y uonounj awes y p uuiojiod sun jeonu pi OM y3n0y U9A2 1u319 JJID DOM spuewwos Ju o pu od p 231A9G e Zuiuue1301d 1s21 94 SULAJIPOW 1S1 INOYIIM I9yJoue YIM yun uo a9e dal o1 qissod q JOU p noA y fIaInjaejnuew 24 JO UOTJIIOSIP 3y 0 dn ya sem 2J Q SNJPIS Y JO SUQ Y au JO ISOW Jo uonounjg IY 3UIS JoINJOVjNuUeW YILI WOIJ sy un UJIMJ9Q 341110091 snyeJs UI UONELIEAIPIMESEMSISUL JUDWINIJSUI 3y JO 19U3ISIP y O dn 391138 SEM BLP pue SPURWIWOD SJILUSUPI JO S AI9291 JIUN V YSIYM Ul 19pi0 AU PIZIPIPPUE S jou SEM 090J01d IFESSIA E IIEMJJOS JO Zummma Sununsuo9 9u1 uuos Surwmsojiod JNOYIM jenuew 8149 887 3331 GE passa901d SI pueuwwoa Jey pue pajea o st ananb yndyno ay P9ALIIII SI Puewwod Mau L J OS OP 0 P9pUBLIWOD ss un EIED pu s JOUUELD IDIADP V BBP IZJULYIXI eng y UO SADIADP MOY DU Juas ale s q Bp yolym U 1 pi0 y uo SUOINEI1JIDIdS ale 0303101d 33essaw 3914P 94 Ul p pnioul SIIUEISWNIND ISIYI JOPUN OP ISNUI INAP JO JUJLUNIISUI au RY SIUP 7 S8p AAAI Podnssajul
31. PXI also preserves investments in stand alone instruments or VXI systems by providing standard hardware and software for communication to these systems For example interfacing a PXI system to GPIB based instrumentation is no different with a PXI GPIB module than it is with a PCI GPIB module The software is identical Additionally a number of methods are available for interfacing PXI and Val together For more information refer to the Web Event on Hybrid PXI and VXI Systems Software Architecture Because PXI hardware is based on standard PC technologies such as the PCI bus as well as standard CPUs and peripherals the standard Windows software architecture is familiar to users as well Development and operation of Windows based PXI systems is no different from that of a standard Windows based PC Additionally because the PXI backplane uses the industry standard PCI bus writing software to communicate with PXI devices is in most cases identical to that of PCI devices For example software to communicate to an NI PXI 6251 multifunction data acquisition module is identical to that of an NI PCI 6251 board in aPC Therefore existing application software example code and programming techniques do not have to be rewritten or reused when moving software between PC based and PXI based systems As an alternative to Windows based systems you can use a real time software architecture for time critical applications requiring deterministic loop ra
32. SENSE subsystem is shown below to illustrate the tree system SENSe VOLTage DC RANGe lt range gt MINimum MAXimum VOLTage DC RANGe MINimum MAXimum FREQuency VOLTage RANGe lt range gt MINimum MAXimum FREQuency VOLTage RANGe MINimum MAXimum DETector BANDwidth 3 20 200 MINimum MAXimum DETector BANDwidth MINimum MAXimum ZERO AUTO OFF ONCE ON ZERO AUTO SENSe is the root keyword of the command VOLTage and FREQuency are second level keywords and Dc and VOLTage are third level keywords A colon separates a command keyword from a lower level keyword 154 Chapter 4 Remote Interface Reference An Introduction to the SCPI Language Command Format Used in This Manual The format used to show commands in this manual is shown below VOLTage DC RANGe lt range gt MINimum MAXimum The command syntax shows most commands and some parameters as a mixture of upper and lower case letters The upper case letters indicate the abbreviated spelling for the command For shorter program lines send the abbreviated form For better program readability send the long form For example in the above syntax statement VOLT and VOLTAGE are both acceptable forms You can use upper or lower case letters Therefore VOLTAGE volt and Volt are all acceptable Other forms such as VOL and VOLTAG will generate an error Braces enclose the parameter choices for a given command string
33. The braces are not sent with the command string A vertical bar separates multiple parameter choices for a given command string Triangle brackets lt gt indicate that you must specify a value for the enclosed parameter For example the above syntax statement shows the range parameter enclosed in triangle brackets The brackets are not sent with the command string You must specify a value for the parameter such as VOLT DC RANG 10 Some parameters are enclosed in square brackets 1 The brackets indicate that the parameter is optional and can be omitted The brackets are not sent with the command string If you do not specify a value for an optional parameter the multimeter chooses a default value 155 Chapter 4 Remote Interface Reference An Introduction to the SCPI Language Command Separators A colon is used to separate a command keyword from a lower level keyword You must insert a blank space to separate a parameter from a command keyword If a command requires more than one parameter you must separate adjacent parameters using a comma as shown below CONF VOLT DC 10 0 003 A semicolon is used to separate commands within the same subsystem and can also minimize typing For example sending the following command string TRIG DELAY 1 COUNT 10 18 the same as sending the following two commands TRIG DELAY 1 TRIG COUNT 10 Use a colon and a semicolon to link commands from
34. They do not require I O memory space or individual IRQ lines thus preventing IRQ conflicts when connecting external devices such as scanners or modems a problem common to old computers USB also allows for automatic device configuration and hot plug capability The hot plug or hot swap function means that you don t have to power down the computer and go through a restart when you want to connect a new device In instead you simply connect or disconnect the USB cable The computer will recognize the device and connect to the proper driver if installed Commonly installation of drivers for external hard drives printers scanners card readers are usually necessary while mice and keyboards that connect to the USB ports do not need specific drivers to be installed One of the benefits of USB is also bus powered devices devices which obtain its power from the bus and requires no external plug packs or additional cables The first USB standard was developed in the beginning of the nineties commonly referred to as USB 1 0 or USB 1 1 By 2001 it was superseded by a standard that allowed for a much higher data transfer rate USB 1 supported two speeds a full speed mode of 12Mbits s and a low speed mode of 1 5Mbits s The 1 5Mbits s mode is slower and less susceptible to EMI thus reducing the cost of ferrite beads and quality components For example crystals can be replaced by cheaper resonators USB 2 0 allows a transfer rate of up to 480Mbits s k
35. Ue ppe 0 pasn oq Ur YJIYM q8 IBAE JOJDJUUOD IUO ISLI Je 20 SAemje IM 31941 dnyas suoraauuoa und y JO JNUIPI ay SUIMOYS 1099uu09 88p JAJAL Cl 240314 som 9010 on 8010 N3Y 9 HIM YNd OJLSML 0 d ton 2010 KO FOR 103 AYG OJUN IVON 33 ous NLY ONNOY vg OL 193NNOQ gr g13HS Q HLM Med O31SML 0 d JO NOILVNINNZL YVIN 5 HIM Und O3LSML 0 d OIONNOYI 38 IMOHS OL HIM Yd OJLSML 0 d LL HIM NIVd O3LSML O d ONNOBI IWNONS 6 sng uolyejuaun su asoding eJauas sy HIM Bd OSM O d yg gaiswu JO JYM YIHL 3593 Aue ul tuonye1n31juo9 eur JO ureyo s ep au ur suun je Jo UO1J93UUOII13 UI SHULIId OS e sio o uuo2 Y JO USISIP pur guu UL 19430 yoea oi jruixold 2S0 9 ur paje9o ppeorsAyd 9q UB SIAP US dnjas 359 UIAI e ut Jey os 13410 yoes jo do UO P3A98 S Iq 0 SIOJDIUUOD MOJJE o SI JUSWIISUBIIe s y JO asodind SUL SI9S 1021 991 seunsriuO UO puno aq Aew YOIYM JU UE Ie au O JejWIS JOJOJUUOI ALU PUE ILU L uloq SUrejuoa 31 Jey OS p3J3N ISUO9 pue suid pz SUIBJUOS yorym Iol93uuo3 Id J UOQQUI si JO wesgeip no uid au sagen I Sund g sju umsu pue s 31A p UE 193uuo231 lur o p sn aq Jsnw yaIyM SIOJIQUUOI IY 10 SUONEO1JID9ds 34 SIPN DUI Ju um op R8py IHAL A JO HB Z T 91031 ur pajensnj se UOHeINGIZUOS urey gt step JO IeJS Y 194113 ur 1941280 POJIQUUOI aq 0 slu uun1isu JO dno13 Y SMOJ E sry L 10799uu09 Syrposydeunay pau3isop Ajje sads e ur
36. Ways to Control a VXI System System configuration is divided into three categories The first type of VXI system consists of a VXI mainframe linked to an external controller via the GPIB The controller talks across the GPIB to a GPIB VXI interface module installed inside the VXI mainframe The GPIB VXI interface transparently translates the GPIB protocol to and from the VXI Word Serial protocol The second configuration involves a VXI based embedded computer The embedded computer is a VXI module that resides inside the VXI mainframe and connects directly to the VXI backplane This configuration offers the smallest physical size for a VXI system as well as performance benefits due to direct connection to the VXI backplane The third configuration uses a high speed MXIbus link from an external computer to control the VXI backplane The external computer operates as though it is embedded directly inside the VXI mainframe This configuration is functionally equivalent to the embedded method except that it has the flexibility for use with a wide variety of computers and workstations VXI Bus Interface Software One of the most important considerations when selecting a VXI system is software Software is the key to developing successful systems based on the VXIbus There are many programming languages operating systems and application development environments ADE to choose from when building a VXI system It is important to make the right decisions
37. YI d AINO Ja sidoy 9 Q8UJ 10d 9118184 SUL asuodsas Zuupueu vep jjod jajjesed Z 8gr dddI Gr 24N314 SNYOIS IONPAPUI mady era OTT z eI Is Ts J CEELEN OO RN HHH 90085838 JOLULUNG SUOPUOJ PUSO BIABQ jenueW gid9 887 3331 87 E EE SMG de Ford T er Ee e AA na TA A wn a v Yom rr s n a jonpoid1u a13Jjip E INO 4995 0 JESSIDIU IQ IIIA J INIIO St PINOYS uoneJopisuos Japun yun e ur juasqe rajaduioo are suonounj 3I249 U1 POJISIP AO JO 200 ey qtssod nu SI 1 santqedea pas sap sy wIopad oi onpoxd ayy Joy pas nba ae 9A9 JEYM Je pur SUO JDUN IL YM p utuu9 9p SEU OYA IDADP IYI JO JoNJoRjNueW au Aq pa y aads are s u L aide s 1s31 lu JO jonpold Aue yoIyM JO sjosqns UOTJOUNJ 298 134U Y OU 0 jueywodun st 1 waysAs ld E ut pasn aq 0 SIDIADP PUB Sjudwnsnsu Sun5339 9S UIM S 9A9 JURDIJIUSIS Jsow au ar S AQEL ur payejnge 9S0yL SJasqns J9 OJJUO9 67 JO 810 e SOYIDIdS JUIUINIOP 88p AAAI OY IYI PAOU 3q PINOYS Y pays are uonunj J9 OJJUOD u JO SIASQNS XIS JUO usnoul V YIN 10 V LIN Se 0 p9113J 1 SI puewwod 3y UIS JO NJE 0 Puewwos IY S AI9291 3IA9p PISSIIPPE UP UJUM SSAPPEL uas w pue ssaippe yje u 10J Stuowsuw I We VIN pue V LIW 4 euontppy spuewwo9ssauppe AIepu099s 3unda93e JO qede2 ale Ota SIDLADP 250Y 0 19791 19U34S1 PIPUIIXI PUL 198 papuajxa suon gt uny Iaua1ett pue JOx e Y 19pun T S 3AQBL U suon Su
38. a shielded 24 conductor cable with both a plug and receptacle connector at each end see Figure 3 You can link devices in either a linear configuration see Figure 4 a star configuration see Figure 5 page 4 13 or a combination of the two The standard connector is the Amphenol or Cinch Series 57 MICRORIBBON or AMP CHAMP type For special interconnect applications an adapter cable with non standard cable and or connectors is used The GPIB uses negative logic with standard TTL levels When DAV is true for example it is a TTL low level lt 0 8 V and when DAV is false it is a TTL high level 2 2 0 V PHONE 512 794 0100 e Fax 512 794 8411 e info natinst com e www natinst com d Figure 5 Star Configuration Configuration Requirements To achieve the high data transfer rate for which the GPIB was designed the physical distance between devices and the number of devices on the bus are limited The following restrictions are typical for normal operation A maximum separation of 4 m between any two devices and an average separation of 2 m over the entire bus e A maximum total cable length of 20 m No more than 15 device loads connected to each bus with no less than two thirds powered on For higher speed systems using the 3 wire IEEE 488 1 handshake T1 delay 350 ns and HS488 systems the following restrictions apply e A maximum total cable length of 15 m with a device load per 1 m cable
39. a string parameter DISPlay TEXT lt quoted string gt Output Data Formats Output data will be in one of formats shown in the table below Type of Output Data Output Data Format Non reading queries lt 80 ASCII character string Single reading IEEE 488 SD DDDDDDDDESDD lt n gt Multiple readings IEEE 488 SD DDDDDDDDESDD lt nl gt Single reading RS 232 SD DDDDDDDDESDD lt cr gt lt nl gt Multiple readings RS 232 SD DDDDDDDDESDD lt cr gt lt nl gt Negative sign or positive sign Numeric digits E Exponent lt nl gt newline character lt cr gt carriage return character 159 2 VXI Application Note 030 NATIONAL INSTRUMENTS The Software os the Bodrum Short Tutorial on VXI MXI Ron Wolfe The purpose of this application note is to help you gain an understanding of VXI and MXI concepts This application note is divided into two tutorial sections The first section discusses V XI and the second section discusses MXI VXI Tutorial This section contains an overall introduction to VXI VMEbus eXtensions for Instrumentation What is VXI V XIbus is an exciting and fast growing platform for instrumentation systems The VXI Consortium was formed in 1987 with a charter of defining a multivendor instrument on a card standard Since that time the Consortium has defined system level components required for hardware interoperatibility The IEEE officially adopted the VXI spe
40. be easily integrated into these devices Just recently released has been the On The Go specification which adds peer to peer functionality to USB This introduces USB hosts into mobile phone and electronic organisers and thus has included a specification for mini A plugs mini A receptacles and mini AB receptacles Table I USB Pin Functions Standard internal wire colours are used in USB cables making it easier to identify wires from manufacturer to manufacturer The standard specifies various electrical parameters for the cables It is interesting to read the detail the original USB 1 0 spec included You would understand it specifying electrical attributes but paragraph 6 3 1 2 suggested the recommended colour for overmolds on USB cables should be frost white how boring USB 1 1 and USB 2 0 was relaxed to recommend Black Grey or Natural Electrical Unless you are designing the silicon for a USB device transceiver or USB host hub there is not all that much you need to know about the electrical specifications the essential points will be addressed here It uses four shielded wires of which two are power 5V and GND The remaining two are twisted pair differential data signals It uses a NRZI Non Return to Zero Invert encoding scheme to send data with a sync field to synchronise the host and receiver clocks and is bit stufted to ensure adequate transitions in the data stream Low Speed Device Full Speed Device
41. be the single most important consideration for the performance of your system Data Transfer Rates A common benchmark for VXI computers is the Block Data Rate This benchmark is easy for vendors to isolate and measure under ideal conditions It is important to understand what Block Data Rate means to your application Block Data Rate is the rate at which you can move a large block of data to or from memory on an ideal VXI device using back to back VXI transfers It does not measure how fast the computer can process the blocks of data or store them to disk once they are moved or whether your instruments themselves can actually match that data rate Most applications are not limited by the Block Data Rate of the VXI interface hardware but rather by the total time required to both move and handle the data or by the rate at which the instruments themselves can generate or accept the data Block Data Rate is easy for vendors to specify but often difficult for users to relate to overall system performance It is only one of many elements that affect the actual throughput of your system For example Block Data Rate does not indicate the processing power of your computer or the performance of the instruments themselves In addition a benchmark for Block Data Rate does not measure how fast you can control instruments using VXI Word Serial Protocol or random VXI reads and writes The speed for Word Serial communication and random VXI reads and writes 1s dep
42. built in hubs Up to 127 devices can be connected to any one USB bus at any one given time The loading of the appropriate driver when a device in plugged into the bus is done using a PID VID Product ID Vendor ID combination The VID is supplied by the USB Implementor s forum at a cost and this is seen as another sticking point for USB The latest info on fees can be found on the USB Implementor s Website Other standards organizations provide an extra VID for non commercial activities such as teaching research or fiddling The Hobbyist In these cases you may wish to use one assigned to your development system s manufacturer For example most chip manufacturers will have a VID PID combination you can use for your chips which is known not to exist as a commercial device Other chip manufacturers can even sell you a PID to use with their VID for your commercial device Another more notable feature of USB is its transfer modes USB supports Control Interrupt Bulk and Isochronous transfers While we will look at the other transfer modes later Isochronous allows a device to reserve a defined about of bandwidth with guaranteed latency This is ideal in Audio or Video applications where congestion may cause loss of data or frames to drop Each transfer mode provides the designer tradeoffs in areas such as error detection and recovery guaranteed latency and bandwidth Hardware Connectors All devices have an upstream connection to the host and al
43. listed levels by 2005 Electromechanical valves that will replace the camshaft and inlet and exhaust valves offer one exception they probably won t be produced until 2010 Given the benefits they offer such systems and their greater power loads are necessary Electro mechanical valves for example should provide a 15 percent improvement in fuel consumption Preheated catalytic converters will decrease exhaust emissions by 60 to 80 percent THE 42 V SOLUTION To meet the increasing demand for power a belt less engine with an integrated alternator starter on the flywheel operating at a 42 V potential offers the most promising proposed solution The motive for the new 42 V system is clear 79 percent of the Computer emergency call Smart adaptive controls Precrash sensn action Autonomous driving Collision avoidance Highway copilot Platooning EMB amp EMS Emergency brake SbW wb Environment recognition BbW wb Road recognition LDW JYUEISISSE JAA 2010 Electronic brakeforce distribution energy entering a conventional engine does not make it to the driveline The standard Lundell claw and rotor alternator is itself only 30 percent efficient at high speeds and 70 percent efficient at low speeds Thus generating a watt of electrical power requires about 2 watts of mechanical power with the lost watt turned into heat The integrated system is expected to be 20 per cent more efficient providi
44. ngodoy Iny VIN uo uajsjlun auajs 9 S0Q YIN wo wlolun Nod IO1J9S J2MJD ISO Ayigodog ung 119 JO 89 ZI GO UUM O JO 09 LO 40 OLO ny 10 Odd Ny JO 01 39 19013U0J 3236611 2490 Od 19110104 9907 3 0W93y 09 IIAI ysenbay 29D1AJ9S 39U9 S JOH OL IAOUYSPUOH JOJdIIIDY Aynqodog ung LUS wouspuoH 2323NOS san iqedeo Zggp ggg WNWIUIN Joe QEL s u JO Zus Y ewisapexay pue g 50 K euig ase parioads 218 yorym SISQUINU JO sodA ay ut PAPN DU SISIIPIBYO JO s3uIJ S pue sioquinu Suipniou Juas q Aew ey o3essaw jo dA Aue 10 1EuUO1 gep pasinbas y say roads ju tunoop Z 88p 4341 UL SLVINJOA VLVA ANV XVINAS amns euonouny 2889 3341 pue 1 88y 3331 I NBA 2887 3331 c 88r 3331 p epuejs c 88r 333 1 JUL e ir Bir 3 Ms ER E s 4 KS d ER sg N Mr ipa Dur ES eka Sa L WS ER G xipuaddy ut ase payejnqe son 1 iqedeo adejaju y JO SUOHIUIJOP apoa Jo Zus y sanirqedea pal nba 2894 Jo uoneinge 2 SI QR Judo dul Jsnu 3IA p JO JUSUINIJSUI yoea yorum san p gedes jo Jos WNWIUIW e SIUIJOP 7Z 88t J4Al SALLTI4VdVI IIVAAALNI QUO BUISIIO IY SIDULYUI JI SE pip PURIS Mau JU JO INJONI S 94 SoJeIISN III AMJIA 1 88 431 se poljIJUSpI MOU pIepuejs PUISIIO 3y 03 uonIppe ur pue yim pasn 2Q pinom u31uA spuewwos uowwo pue s 090J01d asessoul SYEULIOJ BJBP S9POD JO 33S B SI PIEPUEIS MOU 3Y UL
45. no defined USB format that is you can send any type of data down a stream pipe and can retrieve the data out the other end Data flows sequentially and has a pre defined direction either in or out Stream pipes will support bulk isochronous and interrupt transfer types Stream pipes can either be controlled by the host or device Message Pipes have a defined USB format They are host controlled which are initiated by a request sent from the host Data is then transferred in the desired direction dictated by the request Therefore message pipes allow data to flow in both directions but will only support control transfers Endpoint types The Universal Serial Bus specification defines four transfer endpoint types e Control Transfers Control transfers are typically used for command and status operations They are essential to set up a USB device with all enumeration functions being performed using control transfers They are typically bursty random packets which are initiated by the host and use best effort delivery The packet length of control transfers in low speed devices must be 8 bytes high speed devices allow a packet size of 8 16 32 or 64 bytes and full speed devices must have a packet size of 64 bytes e Interrupt Transfers Any one who has had experience of interrupt requests on microcontrollers will know that interrupts are device generated However under USB if a device requires the attention of the host it must wait until
46. node can be active i e it can transmit and receive extended frames or passive i e it will silently discard received extended frames e 1 x refers to the original specification and its revisions 2 0A and 1 x are compatible New CAN controllers today are usually of the 2 0B type A 1 x or 2 0A type controller will get very upset if it receives a message with 29 arbitration bits A 2 0B passive type controller will tolerate them a 2 0B active type controller can both transmit and receive them Controllers implementing 2 0B and 2 0A are compatible as long as the controllers implementing 2 0B refrain from sending extended frames Sometimes people advocate that standard CAN is better than Extended CAN because there are more overhead in the Extended CAN messages This is not necessarily true If you use the Arbitration Field for transmitting data then Extended CAN may actually have a lower overhead than has Standard CAN Basic CAN vs Full CAN The terms Basic CAN and Full CAN originate from the childhood of CAN Once upon a time there was the Intel 82526 CAN controller which provided a DPRAM style interface to the programmer Then come along Philips with the 82C200 which used a queue oriented programming model To distinguish between the two programming models people for some reason termed the Intel way as Full CAN and the Philips way as Basic CAN Today most CAN controllers allow for both programming models so there is no reason
47. of service and maintenance equipment will provide other obsta cles Still annual power consumption increases of 4 percent will simply overload present day 14 V systems making 42 V alternatives inevitable works will bring an explosion of new func tionality and innovation Our vehicles will become more like PCs creating the potential for a host of plug and play devices With over 50 million new vehicles a year this offers the potential for vast growth in automotive application software much like that of the PC industry over the past decade On average US commuters spend 9 percent of their day in an automobile Introducing multimedia and telematics to vehicles will increase productiv ity and provide entertainment for millions Further X by wire solutions will make computer diagnos tics a standard part of mechanics work The future could even bring the introduction of an electronic chauffeur H educing wiring mass through in vehicle net Acknowledgments We thank the Byteflight Group DaimlerChrysler Delphi Automotive the FlexRay Group Siemens Motorola PEI Technologies TTTech and the Uni versity Of Limerick for their assistance References 1 J M Miller et al Making the Case for a Next Gen eration Automotive Electrical System MIT Indus try Consortium on Advanced Automotive Electrical Electronic Components and Systems http auto mit edu consortium current Dec 2001 2 W Powers Environ
48. our industry By using general purpose computers the instrumentation industry directly benefits from the billions of R amp D dollars spent each year in the general computer market Most VXI users would prefer to use an industry standard computer provided by a computer vendor rather than a VXI specific computer provided by an instrument vendor In fact for VXI to truly become the platform for the next millennium it must align itself with the powerful general computer market Then VXI can take advantage of the billions of dollars being spent and bring this investment to bear on the needs of the instrumentation community VXI must be able to take full advantage of industry standard PCs with PCI EISA and ISA as well as workstations from Sun HP and others VXI also must have a transparent mechanism for extending to multiple mainframes and a way to accommodate instruments that cannot physically fit on a VXI module MXIbus meets each of these needs The Need for MXIbus Today s market demands that you add value to our Test amp Measurement systems You need modular testing systems that can evolve with technological innovations in our industry You want increased data throughput and the utmost in computing power you want flexible high speed connectivity between multiple VXI VME mainframes and you want to be able to keep up with innovations in PC and workstation technology Today sophisticated I O architectures such as PCI are accelerating data th
49. requirement to 1 2 in so that there is enough room for the module to be completely enclosed in a metal case for shielding The metal cases connect to backplane grounds Thus you can use existing VME boards in a VXIbus chassis but not vice versa The VXIbus specification also has conducted emissions and susceptibility requirements which prevent any power supply noise from affecting the performance of a module For far field radiated emissions such as FCC and VDE each module must not contribute more than its share of the total For example in a mainframe that holds 13 modules each module must not contribute more than 1 13 of the allowed total Because of the desire for extremely precise time coupling between modules using the backplane it is necessary to minimize the noise and crosstalk on the backplane clock and trigger signal lines The backplane is required to be a single monolithic board across any one slot The VXIbus specification has a tutorial section on how to design a backplane for low noise and high signal integrity Hardware Registers VXI modules must have a specific set of registers located at specific addresses as shown in Figure 3 The upper 16 KB of the 64 KB A16 address space are reserved for VXIbus devices Each VXI device has an 8 bit logical address that specifies where its registers are located in this address space A single VXI system can have up to 256 VXI devices The logical address of a VXI device which can be manuall
50. spuewwos IEUOUIDDE SIUIJIP 2 88py IIA od Bas ggp e Ul 1u s aq y 1910398 nue ul juawdinba y JO UO1J3LDSIP LA 995 Jt 19AIMOY q OSU UL 10d eas e o asuodsa ul JUAS 3 au 0 dn 339 sem SIU palea JO yas 3q o 219M OSY uey aq 10u Ulm pue 31 q SNIS 1889 4431 941 JO Hed parapisuoa 100 A SI JIQ SSW 94 184 ION IDIALOS 3sanba1 0 uONIPUOI JUO ISBI JE 3 Tapout Suniod i snjeys Z g8gp H3dI ZC m SE SDIADP IY JI SAJLIPUI U IUA 9 1Iq S SSW 11q SNIS Aiguuung q ISLEW SU P211N990 SEU JUAD PIepuejs p qeu Ue Jr Sajedtpur 3 teg 219003 T IZI IFIE TSeTZ gs7 11q snjejs quaaa ng Indino 0 a Qe Ieae rep surejuod 4 Eeer 1n1 nns Suniod 1 snjeys 7 88p qaal CC 3NI 2 H t i I i i E 815o Aq poss 1938623 up sniols Zwar Ig 101485 AQ poss Leer A A PA a fates GE ET anang Indyng 215903 mitoz enjoys IRIS IP IS TS T ae ERTA 2 JP DES L L J I lt r e be Y regen At VAi Jo ge be ENEE ORTER TESTET om Oo C uy 2 S a SEELE 32391283 TORETE 28 2 q 3 a 2 gQ ev pJepue s lt 88p 3331 JUL ENUEN Old 887 3331 ov x nn nein AA TUR ra SE Gg ee Basen sate ae RECT MO JIIAO ININD e JO JUDAS u ut SE ISO SEM EIED IWOS J JO juasa d SI gyep OU UIYAM spew st ananb yndjno y uto1j eyep peas oi Jduayje ug u qA SINIO og sty Aq payesiput 10119 Kianb y Ad 10113 Aanb z ug eng 94 UO 13 101JU
51. st 9DIAIP JY 10 JUIS SI puewwoo payeUIWIajUN JO 3 duioS5ut ue u3UA payes ydwos ayinb 9u1099q ABU 1 end au WO1 210 3 8utIS L S AI9991 3IA9p V UIJYM UOISNJUO 10 SDUPYI 2011 JIA SI 31941 YSNOYIY ALL u Dag NQE 28 sajels 9594 2 ggt 2221 JO 030101d adessau 31A p MY juouo dul 0 paurjap u q seu sas euon esado 39143P JO Jas V 34 SUISN SOY YIM SJEIIUNWWOI 0 AQL Iq JIM SIDIADP Mau JEY S3JNSUI SIY SIEWLIOJ JO JOS SNOJOSII E o J19ype Jsnw Ju unnsul 7 88p 1331 Aue q payrusue e3ep ay Zune astoa1d sng au UO AL JSNUI S 3IA9p JaM U Y UIYA an SI ausoddo 12exa oY Suiu Ssi SULAI310J 10119 ynom pajda99e pue Dp A13331 SI snq y uo p lltuisuen uoneuuojui 34 Je y OS S3UIPO PU SJEWLIOJ Ip JO AJaL eA IPIM e 1d 22e ol SIDIADP AldD sau nba samt Suruajsiy Burardioj pue Sun asioaid se O P3113391 SI SIY p 29nponui u q sey 1daduoa Mau e z 88t 4441 yim jdwo o pauSisop are yoryM sJuawmnsur Jamou JU YIM aJedrunwwoa Aj sdo d o SIDADP gIdO 19P O more o 19pio u CE QLL u p jensnii deSs uu PIAIIOII E JO au Zu ss3901d ay 3Suunp pardniajur sr 3 A p V JO JUAS SI puguu UJO 319 duioout UB JPY JUDAS 201 ut OP O JBYM SIQIIISIP OSIL 1 D3A19291 aq 0 918 spuguuuuo2 3d NUI moy BulAjioads 0 UONIPPe uj eng 88P AAAI 24 uo pasn 3q 0 SI Yarym jooojoid adueyd x adessaw Y SIQIIISIP NJAJED JUILINIOP Z 88y 1331 IYL odessow di ntu usaid Aue 0 19831 P
52. the test system developer with a formidable task IEEE 488 2 enhanced and strengthened IEEE 488 1 by standardizing data formats status reporting error handling Controller functionality and common commands to which all instruments must respond in a defined manner By standardizing these issues IEEE 488 2 systems are much more compatible and reliable The IEEE 488 2 standard focuses mainly on the software protocol issues and thus maintains compatibility with the hardware oriented IEEE 488 1 standard SCPI built on the IEEE 488 2 standard and defined device specific commands that standardize programming instruments SCPI systems are much easier to program and maintain In many cases you can interchange or upgrade instruments without having to change the test program The combination of SCPI and IEEE 488 2 offers significant productivity gains and finally delivers as sound a software standard as IEEE 488 1 did a hardware standard IEEE 488 2 IEEE Standard 488 2 1987 encouraged a new level of growth and acceptance of the and Set Syntax and Data Str 488 2 488 1 488 2 Figure 6 Evolution of GPIB Instrumentation Standards PHONE 512 794 0100 e Fax 512 794 8411 e info natinst com e www natinst com NATIONAL INSTRUMENTS 4 13 i lt mis a GPIB Tutorial e IEEE 488 bus or GPIB by addressing problems that had arisen from the original IEEE 488 standard IEEE 488 2 was drafted on the pr
53. to realize all of the advantages that VXI has to offer while minimizing your development costs now and in the future Your software decisions not only affect overall system performance and system capability but also development time and productivity You should choose tools that have complete debugging capability and that work with the most popular operating systems and programming languages If you choose to program your VXI system using a standard language such as C C Basic ADA or ATLAS you should realize that standard programming languages do not come with built in VXI capability Rather VXI capability is added through a VXI bus interface software library This software component is very important because it affects the choice of VXI computer hardware operating system programming language and ADE Industry Wide Software Standards As a step toward industry wide software compatibility the VXIplug amp play alliance developed one specification for I O software the Virtual Instrument System Architecture or VISA The VISA specification VPP 4 1 defines a next generation I O software standard not only for VXI but also for GPIB and serial interfaces With the VISA standard endorsed by over 50 of the largest instrumentation companies in the industry including Tektronix Hewlett Packard and National Instruments VISA unifies the industry by facilitating the development of interoperable and reusable software components able to stand the t
54. to use the terms Full CAN and Basic CAN in fact these terms can cause confusion and should be avoided Of course a Full CAN controller can communicate with a Basic CAN controller and vice versa There are no compatibility problems Message Arbitration The message arbitration the process in which two or more CAN controllers agree on who is to use the bus is of great importance for the really available bandwidth for data transmission The message arbitration of the CAN protocol consists mainly of comparing bit for bit of the Arbitration Field Any CAN controller may start a transmission when it has detected an idle bus This may result in two or more controllers starting a message almost at the same time The conflict is resolved in the following way The transmitting nodes monitor the bus while they are sending If they detect a dominant level when they are sending a recessive level themselves they will immediately quit the arbitration process and become receivers instead The arbitration is performed over the whole Arbitration Field and when that field has been sent exactly one transmitter is left on the bus This node continues the transmission as if nothing had happened No time is lost in the arbitration process An important condition for this bit wise arbitration to succeed is that no two nodes may transmit the same Arbitration Field There is one exception to this rule if the message contains no data then any node may tr
55. v a T sd por A EPF LLO 0 I z z I r fans afo pp 22 L I uf x ESCHER Eno mw 9 2 83 bBeliito SCs or force al s na 3 s x J wn 0N3 i ot O gt eli o o io3 oot Oo se s fo fe r es xa 100 l alv ja z zo0 xsfotoo 5 Vf 11T oalros t000 d 4 18 310 WAN JO 0 O SIOBNAS 18 8 8 yg 3SV YIMOI Lee Suzannn HLH SLI 0 L 0 L 0 8 EAT n i to e Ss e 76 LMWHO 3009 3331 2 OSI IIOSV Le O90 014 88b 333 Jaquinu e Zulusisse Aq paljijuopr sr yosqns yoeg suon unj fe JO SJOSQNs IBJ3P ur SIQIIISIP OS e JUILINIOP ggp JddI IUI T Z ALL Ul paensn santiqedea sdejiojur Srseq II au 0 UONIPpe uj 19 deuO ur 1843P ut P219A09 SI pue Z ge ut paquasap SI uonounj yore Jo uonduo s p z nq y ypiqedes memomed e qH S P 0 P SN PIOM 1943 3914 0 JUO V SI YOIYM OrUO WU e Aq p tjnu pi SI uotgjounj 398J19 U1 YOeY uonounj papuajur sj uuojiod O 3DIASP Y JOJ PIpaau SE maj JO Aueu SE 9SN 01 991 SI IDIADP Jey JO 191398 NUBU 3y JUSLNIJSUI UL OJUL PaU ISIP aq o Je 10 JESSI9I9U JOU SI I 39A9P gldO Aue ur pajuawajdwr aq ues YITYA suonounj 398J19 U1 T JO 8 O1 e SalzIOads Ju umoop 88p AJAI 3U L SNOLLONNA JO VAYALNI 3INP3901d 090J01d 013409 s urj p pue MYNS ISESSIUL UOWWO E SIYSI QUISA JUJLUPUILE SIY SJUJWNISUI GI gH JO Sain DE NUBUI SNOLIEA ay Juowe uonezipiepue s amos praosd Kew 1864 3391 Paleo prepueys 98p JAI 94 o Juswpu
56. 019Z 242 21301 IN 91092 JOU s op aut AVG JUL PHBA UB P9 1J9S are SOUT eyep IYSIO oy PY syes pur 0 19 83 VC CC asoa aoi goinos 94 q p sn SI 2011 SY L PHRA wep AVG Z SS x ES a Ll sng UOUEIUSUUDUISUL asoding JEISUSH ay A jenueyy GidD 88r 3331 OL 61 P nom J2 0JJUO9 ay WO1 puewwo E pue 1333nq S u JUIpeaJ e P210 S savy Aew J9J9UIJJOA E 9d UP X3 104 spuewwos JOU 318 pue SNQ Iy UO JIWISULI O SI b IA9p GI dH Y Jey UONBULIOJU y ULBJUOS ejep se o p3113J31 SAUIIJIWOS s luN adessaw Juspuadap 351A9q SLINA ADVSSAW LNYANAIIIA ADA HA pa1mbal aq Aew yoIyM suon gt un 13410 10 pue y ejun ype qu sijun USH o SIDAIP yon ysur 0 uonesado dO JO 210Ou191 0 SIDIADP SUIS 10 eng au ZI ENIUL 0 PSN 218 spugtuuuoo 9s u IPOW PIJISIP B JLUNSSP o W2JS S Y ur SIDA E PUB si u lsi IYI NSU u L spuguituoo pajjes ae pue snq y 23eueul o pasn ale SOBESSOU 3938J13 U uapusdap 3IA9p PUL 998J19 JUI sadessau JO S91J039 89 DISEQ OM 31L 919U L eng au JO SOUT Y IY BIA SIBZESSIUI JO Salas L 3u1413931 pue Zu puas Aq PIANY SI situn ISIYI UIIMJIQ SUONEITUNWWO SIDIADP p9J93UU0919JU pue J9 OJJUO9 3YI UIIMIIQ Ejep pue SPUBLIUIOS JO moj BUONIIJIPIQ L SI 9134 LUIIS S 398 134U 88r Hddl 94 ul 0903014 SSy HAHN 7 19Ideyo ES JUIS SEM JEUM P9A19991 A ado d sey 31 Jey aIpa mouNde 0 uonounj 9yeyspuey oy Sutsn LILY Aq 19J98JEYO Pueunuos ay
57. 09 JANV BY IWOI3q 0 SJUBM 31 EU Ja fOIUOS Sy O ayeoIpul o 391A9p e Aq pasn SI 1q SIYL DOY 1Ionuoo ysonbas p 18 19751333 snyejs JUDAD PIEPUBIS St 394N31J a7s bay ag Snpe JO S 119 gs3 ug Asowwns lu A3 abossay Asowwns EC SE ES 1918169 SMIDIS JUSAZ PJOPUDIS O o O e O A E LAVA JU9AJ PJDPUDIS A omo C D GPE EES FT o O q lt 9 3 O 9 9 9 H lt gt 3 ape re m O o S are a 2 9 Q 2 m o 3 S D o er O el 3 ev a 2 5 e ev m q Q Sv paepuejs 2 88v 3331 SUL Vi CH Si A Ya Cia A Rz 8 E usta Q QU lt TE EA Dot Ee te 3 TE de x u A d Leen e TAN t E AE ET E aad ceed og de N y a pija es e 5 BR RENEE SKE VERS E in Ze EA E NOJ 101485 Aq poss m Puewwoo Mau E 1d 228 o Apea s pue suonesado juand su p319 duuo2 sey 391A9P y UIYM J9S SI PuewwoI DIJO 4 0 asuodsaJ ur payesauas q styr OdO a1a dulos uonessdo gg 918 SJUJAJ S u JL 1s nb i uodn asn y 0 yoeq payiodas pue pa1ojruow 20 ueo YSIYM SUONIPUO DYIDIAS se T ggr ITII q pauljap UIIQ 3Aey YSAS II JO SUQ Y MY L 19151391 SNJEIS JUDAJ PJBpue s ay sjoidap ANZIA USAS I JO JIq ydea jo Zuruesw ay S91J193dS JUILINIOP 2889 4341 94 pue 3ur oda sn3e3s Jo uon eo1 dde aijioads e st Y SIS 19151391 snyeJS JUDAJ PIPPULIS MY L 9J Q SNJEJS y UI p zuewwns 3q 0 191SI891 JU9AJ JY ur Sud Siutiod 19351391 9 QLUH JUIAF 201
58. 39 ajqeug uv a3essaw L20 SNJEJS ENPIAIPUI 10 LSI SB 0 p 119J 1 et 31q Arewuns stil 210 snes e ur ou pue flod p9 pesed e oi asuodsal ur Juas SI J1Q guung s Ing 19151331 USA IYI SE Wes ay St pod jayjesed ay Jo 31mn1onns ay asuodsa Zurpuey erep pod palered Z88p sy JO 21338335 u s lensnili 9 NIIA od a esed e o asuodsaj s 201A9p e Suillonuo5o pue 3uljes9ua3 jo sueaw quondo ue yim Joyuny ypiqedeo siy sawed 788y 3341 snq au UO s 3tA9p IY JO YORA JO SNJEJS y Ute Se pyoIb 0 sup uu e p ptAoid Juawnaop 1 88py 4431 24 Aq paroads rod jojjesed ay L T10d TATIVUVd uo 19Mod Aq JO puewwo9 J9SIY JY PUBWIWOD 1230 39140A 1 Sub e q Duo paseaj aq ues y pue ananb O 414 1no 1S11J Ut ISIJ e SI SIU IEP A QP IBAL SULBJUO 1 Jey BJLOIPUT o Q SNJEIS Y u 100 AVI ay sasn 29149P Z 88y 344 243 Jo n nb yndyno ay L uonew JOJUT sureJuo9 ananb ay ga 198 SI y9Iym 10 adessaw AlewuNs e sey ononb yoeg Jouuew ISpiO ue ur uonguuojJul J9UYJO JO SNJEIS 19 01JUOD 24 0 11003 0 9DIAJP L MOJJE 0 P3SN sie s n nO Apuanbasqns N990 yd ym suonisues Aue 3uIpi0931 pue uonisuen uo 19Mmod Lv psepuels lt 88p 3331 JUL dU YJIM 1951391 y Jue Jo uondo y sey J9U3ISIP IDIADP MY Y STI puewwos 12319 24 Jurpuas Jo Janb IS dyl era 1 Sulpeal UJM pL Ajfesyewoyne st 19351391 IL ASA Aranb SNjEIS g qeuq 201 UHA peas pue puewwos JSA sn181S S geug I UJLA UN
59. 7 AAAI Pale mou 8L61 88y dd 918 9u L SUL9IS S 99 J13 UI JO SPIPpue s Jofew INOJ mou ale 19u L SWALSAS IIVAYALNI YOLVIN JoINjoejnuew ay Aq parjaads se 3MASP JO Sslu uu lmb ir ay UHA SIUPPIOIIE UI DAD did 341 jo suonouny pue aouewojiad ay oNuo9 Ady spuew WO3 IIASP pa ed osje ae 2194 pouljap aie rym Sadessow oy Zap 10 JUSUINIJSUI Y JO JaINJORJNUeW ay Aq p3utJ p SI yorum Jake sadessayy Juspuadag 29149 AY st J9 B sounaddn UL ENUBN gid9 88b 3331 9 pue 2S5eJi9lur apraoid s m 14319 Jururewa IYL 60101 enas a1hq parezed yq e ur uorsstwsuen gyep JO pasn ase 14313 asay JO S2J1M IAN OT SULEJUO 19410 YOR UHA ojjeied ur Wa SAS 398 1 ur DY JO SJUSUINIISUI UE SIIJUUO9 YOIYM end JO 3 QLI IL sy13ua 9189 88p 934 3uo Jo asuejonpu pue aduenaedea poppe y apuey ued yorym AININ 3A1 98 UIBJUOD SIDAIP s u SI9PUIIXI ggp HddIJo asn ay Aq paseasoul IQ ABW ywy sry s19 9W OZ JO yIZua pan unad WNWIXeUW 94 P99dx9 o Iessadau SI 1 SUOIIPUOD UTED Iapun JI 9 qe9 JO su18u l 1979W Z A19A9 JOTASP JO JUIUINIAJSUT JUO SBI Je YIM Papeoy aq SNQ 3y Jey Papua UIO291 SI Y13u9 yed UOISSTUISUEI 810 s19432W QZ 0 POU et YIOMIJOU SNQ dy JO YI3U9 wnw xew 34L uajs s ay jo Wed et y1 JI 19 lonuoo au BuIpNyout dnjas u A 8 Aue ut 1949930 parsauuod aq 0 S 3IA9p CT o dn sywsad uoneoijoads g8py 14441 JUL Ales 5933u gt dnjas y 0 Ju ummnsui euonippe
60. 88 transfer rates can reach 1 5 Mbytes s HS488 Controllers always use the standard IEEE 488 1 3 wire handshake to transfer GPIB commands bytes with Attention ATN asserted ATN DIO 1 8 Composite DAV NRFD NDAC The Talker uses this HS488 wink signal the momentary low going pulse on NRFD to tell the Listener that the Talker is capable of sending data using HS488 PLONE 512 794 0100 e FAX 512 794 8411 e info natinst com e www natinst com First byte transferred using normal handshake Lack of NRFD transition indicates that all Listeners are HS488 capable Figure 8 HS488 Handshake T11 T12 gt Second byte transferred using HS488 rin EIA E nn nn nn AAA tr Ahanaol AU fP3Y9C 1 4 rite lame fer Chapter 4 Remote Interface Reference An Introduction to the SCPI Language An Introduction to the SCPI Language SCPI Standard Commands for Programmable Instruments is an ASCII based instrument command language designed for test and measurement instruments Refer to Simplified Programming Overview starting on page 112 for an introduction to the basic techniques used to program the multimeter over the remote interface SCPI commands are based on a hierarchical structure also known as a tree system In this system associated commands are grouped together under a common node or root thus forming subsystems A portion of the
61. 9 u1 ue 103 gsodoid B3unig s e se Aue WO0 PIEXIe4 N2 M2H JO SUOU3 penru 9419003 IAI uolsstuiwi07 2914499 01 99 4 euoneussju ay pa e9 dno13 pau11oJ Ajmau y HI dH Se 0 p3119J91 uouuuuo2 1oui snq IIPJIAJUI PIEYICY WIIMIH IY pL gur8uo sem jeym JO Sutuu 33q dyl SEM JPY L BSI A IIA PUP JOYJOUR 0 NIE P NOD Ju unnsuir JUO JPY OS P3P39U SEM UONEIIUNWWOI JO woz tuos sdn as 1s31 x duio5 910U1 J9A9 34 UL 1U 21213 UBUINY 3y 3 8uruut Ajjerysed 0 13p10 ul sng uoyejuaunsu asoding e19ues SUL 9381 erusuodxo ue je Paseoioul Ayrxapdunos 4194 pue P3ULIOJIIH 9 PINOS Vtt a 353 JO Jaquinu ay I99UISUD 359 ay o a qeyieae euasre 34 O poppe sem adrAap JO JUSUINIJSUT 359 JO JdA Mau yara SY ntiqedeo 1s nJ 1194 0 sju ummnsur s u ajesado Aj ado d 0 auuos ad uononpoud jo SI3QUINU JUITIN NS Gren o qissoduur sowe 3q p noA y suonznirs 3597 Auew ut Jey ead Swesag y D dot aap 219M S USUINIISUT Mau SY 33e duowwoa 20 uoos ppnom uonelu uunsui 359 z1ori dns pue x duto2 Atom ey 321 e yans Je Suloueape sem ASojouysa SS3Iuono JO uonesnstydos Jo Jana 94 JE SNOTAQO SEM J 12010 oLa UNA SJUSUINI SUT SININJ S JO Je pue Aue Suroeyiajur JO Ay p q ssod am 9J831IS9AUL o uedag BIUJOJIJEO OV ofeg Auedwoy PIPNILA NIMIH A 961 Jaquiajdag uj AUYOLSIH MO OJ O S133deya y ur rejap ur pouredxo ore xajduoa asou 34 SP 19M Se Spueu uo 91Seq ISAL dn1 s
62. 90 ohms 15 It is therefore important to observe the datasheet when selecting impedance matching series resistors for D and D Any good datasheet should specify these values and tolerances High Speed 480Mbits s mode uses a 17 78mA constant current for signalling to reduce noise Speed Identification A USB device must indicate its speed by pulling either the D or D line high to 3 3 volts A full speed device pictured below will use a pull up resistor attached to D to specify itself as a full speed device These pull up resistors at the device end will also be used by the host or hub to detect the presence of a device connected to its port Without a pull up resistor USB assumes there is nothing connected to the bus Some devices have this resistor built into its silicon which can be turned on and off under firmware control others require an external resistor For example Philips Semiconductor has a SoftConnect technology When first connected to the bus this allows the microcontroller to initialise the USB function device before it enables the pull up speed identification resistor indicating a device is attached to the bus If the pull up resistor was connected to Vbus then this would indicate a device has been connected to the bus as soon as the plug is inserted The host may then attempt to reset the device and ask for a descriptor when the microprocessor hasn t even started to initialise the usb function device Other vendors s
63. AI 94 JO a nyonns 94 s Jensni I p T ang suono rp ujoq ur SMOJJ ejep pue Jauueya suon ESIUNWWOI ABM OM E SI SNQ aU JUdWaSeurw UONEIIUNULUIOD 9119 35 snq uonelu umnnsur 3sod nd I iaua0 p j DUNS 8 00 SNE viva S 0 0 SN8_ININ3IVNVA SN8_3JNVHSONVH jenueyy gI49 889 3331 01 yorym au Aue 9SI9AUO 20 S OYM Sul Aue uo 343 9130 013Z e sautade yo ym wajs s 91301 JAne3au e s sn gidO NL Ju tu Seueuu pue OJJUOD W3S S IPIAOIA IAN ISP y PUE UO J9UNJ 3yeyspuey OY JOJ pasn ae 3914 SIIM 14313 Sululewial 94 JO 8 OlG 43n0141 O1C Se paljHusp are Ory soul mano neu vep y uo pares s uonewoju ss sppe pue Peg SPIOM SoSSoIppe NALSTT Pue A TV L 243 107 SI9JIBIBYO JOSY 94 PUR ssa ppe ySe9 10 pasinbas suonisod yoyiMs ssouppe Iy Zurmoys JIBYO ss3Ippe qidD 9 1 34314 ya qea qe y gem lt Q O O u u O X gt x Z Z O O xk 2 gt Z x gt N ms lt O O O O O O O O O O O O O O O O mm O O0O 0 0 0 0 0 0 0 0 0 0 0 0 070 0o0rroorroorroorroorroorroor aoaor 0000 O O O O lt erer O O O O O O O O rr 00000000 Tr rr O O O O O O O O ee i Her RY et X On qo Or momo Vm e vasa ww IVHI MOO l sng uo ejuaun4 su asoding e19ues SUL ON HOLMS SSIYO00V Hd pa e9 ase ydiym saj q olut padno
64. BYO JT Juasun ay FUIALI YD SIALIIAL JE u uA uorssruisuen 201 PUI ABW J9 OJJUOD Y J9JOPIBYO psa MU 94 sopsdaid UINJIJ dere Y UJYM INDIO Ke ul wa qoid 19yjouy soj q gyep Jurmojjoj Aue duinp pue a3essaw 34 9JBUNUULIO jeonewoe ia H T 0 puodsai oi powiwelsold st J9U9 SI e YIU ur uiaisis e ut 1990 Stu plnouS OI0I0000 19921249 Daat SUT 1D SV au se pa3IN31JUO9 9q p no5 210 ejep e yey ajq ssod et 1 suoneSrunuuuto2 A901Q JBUIQ Aq p31s jsuem st EJEP YOIYA ur SBD y uj snq dy UO spun UE YIM qneduioo st 199U1FUI 918A1JOS ay Aq P3JDA9S 1olguruu 38ess u IY JY UNBJI9DSE O USB JOU SI a1e9 Jt WeIdOId gd O L ut SI0119 U12139 9 B919 O ajqissod SI 1 J9 OJJUOD y Aq PISSIIPPE SI 1 UIYAM OS OP 0 P3JINAJSUT 9q PINOM 193941 y sioleutuu 3s u JO Aue Juawajdu OL 1933 jej d p aynj e olur pawwesgod 2q ued YSIYM Spuewwod JOJBULULID jo sodA ay JO uvonensnijt aAnejuasardas e SI Z Z ILL ut s s s ojeurulg yndjno ue ojgesigq LM Ajuo 103 91983 9M Ajuo AT 3lqeuq SM A0 104 9 q1 21993 PA Auo YD AQLua EM Aug 104 Y YO qeu m Ajuo IT 9 YO 3lqeud IM 104 AT YO 3iqeuqd 1Ne39P OM eg JOJOULULII L xBJU S PUBLIO 39142 MO E ut spuewwop JOJBUTULIO L qetutue13o1d eord L Z Z AI0EL 6 0901014 887 3331 au SIDIAJIS ISIQ JY uoneuruns IFESSIL Jo IA ay Fursooy gt JO Any 1qedeo ay situn 1194 OUI p9U3ISIP IALY SI9IAIP gldO JO SIN Jejnuew LOS suonJeurung adessau JO SIDA f
65. DDL DDL allows an instrument added to the bus system to communicate to a master control what its functions and capabilities are Some of the major members of ISP include Siemens Germany The Rosemount Group Minnesota Fisher Controls Inc Texas Foxoboro Co Massachusetts ABB Co Sweden Yokogawa Electric Corporation Tokyo Fieldbus Foundation On a positive note ISP and WorldFIP North American division have been working together since late 1993 on a possible merger of their technology A single solution has been what industry has needed for a long time so in June of 1994 the Fieldbus Foundation FF was set up between ISP and WorldFIP NA However at least 1 to 2 years of delay is expected before a complete product can be produced Profibus ISP Effectively a breakaway group of the Profibus and ISP organisations this group effectively announced to the world that they will have their own fieldbus communications system ready in approximately June July 1994 Profibus ISP is derived from the Profibus and ISP products and hence has the features of both with some small additions At the time of writing little information on Profibus ISP and the Fieldbus Foundation was available IEC ISA SP50 The ISA TEC are developing a standard with the working name of SP50 The standard will follow the ISO OSI seven layer model for data communications with an additional eighth layer which focuses on the product interoperablility
66. Elektrisk M tteknik LTH Datorbaserade m tsystem 3 Bussystem Lund 06 09 06 INNEH LL 1 GPIB The General Purpose Instrumentation Bus GPIB Tutorial The SCPI language VXI PXI USB An introduction to USB Faltbussar What is Fieldbus The CANbus Electronics in cars AAA EE e e Ae ke ca te Zeeche AE RR AS CO TER aber Sad Je JO 19quinu Surmos3 e EPOWWOIIE o JIQIXI Y JESSIII 94 YM pousisap u q sey 1 ALY yuswd nba 3597 onewozne JO uOrejuawojdur pue u tsop y ur 1 uI8u 153 au JO 2101 oy sorzipduns Anea 1 mais te 398J19 U1 UL se pom se Audosomud USISIP L SI 31 99UIS NINY dy UT JO MOU UOHINPOIA ut 391Aap ea PUB YSIWON DI 9 10 oluonoo D1IJ09 9 Aue Jo Funsa ay aJeWO Ne pue Ji duuts o uoig3iunuutuo3 BM OM SMOJ YIYA 19 01JU09 10 13 ndwo2 e 0 SJUIWINIJSUL JJOL JO JUO JO u01e133 u1 ue praosd 0 paudisap NJaleo u q sey Wajs s 998J19JU1 QSp AAAI JUL IJWWPBIZOId 10 J9UBISIP LUIIS S ELIJO euoissajoid Y 0 99u3919 31 SgenjeA 9q SE A Se UBIDIUYIA JO Jasn WIIS S UUI 1S11J 34 0 93en3ue pue si opun o se3 ur USYLIM SJIeJ3p e91Uy9a n3 apiaoid jim 3 od sng uonejJuswngsuj asoding eJ9uan ay SB 0 P3119J31 JUOWIUIOO SI U3IUA Wajs s 998J19JU1 889 341 ay JO Sjeju wepuny y JO uondii5s p AJAJdWOI e SIPIAOIA yooq sty 1 NOLLDNAOALNI sng UONBJUJLUNIJSU asod ing P19095 JJ L Y z I tajdeyy PA UED LI
67. GURE Optional PARALLEL POLL UNCONFIGURE Optional Table 1 IEEE 488 2 Required and Optional Control Sequences RESET FINDRQS ALLSPOLL PASSCTL REQUESTCTL FINDLSTN SETADD TESTSYS Reset System Serial Poll All Devices Pass Control Request Control Find Listeners Set Address Self Test System Find Device Requesting Service Mandatory Optional Mandatory Optional Optional Optional Optional but requires FINDLSTN Optional Table 2 IEEE 488 2 Controller Protocols requirements for Controllers are bus control sequences and bus protocols IEEE 488 2 Control Sequences The IEEE 488 2 standard defined control sequences that specify the exact IEEE 488 1 messages that are sent from the Controller as well as the ordering of multiple messages IEEE 488 2 defined 15 required control sequences and four optional control sequences as shown in Table 1 The IEEE 488 2 control sequences describe the exact states of the GPIB and the ordering of command messages for each of the defined operations IEEE 488 2 control sequences remove the ambiguity of the possible bus conditions so instruments and Controllers are much more compatible By exactly defining the state of the bus and how devices should respond to specific messages IEEE 488 2 removes such system development problems PHONE 512 794 0100 e Fax 512 794 8411 e info natinst com e www natinst com IEEE 488 2 Protocols Protocols are high level routines
68. IUIO esiaarun BUONIPPE OM 31e 31941 9AOQB P9QIIISIP spuewnwoa JUNNU ESISALUN AU Y 0 UONIPPE UJ Se 0901044 887 3331 Be BC 1 0 puodsa1 0 91qeun pue 3 8 S pt ue ur are AayJ ey OS puewulos od a esed e 3Z1u30991 YOIYM SIDADP fe 19833 JIM puewwoa sy dl a nd Juosun og offered 3 81 0 passoip pe u uA ejep 3unindino Jo 338s euuou Sh 03 Ppaumjal SI snq Jy UO 133 8 u3282 Jey os puewwoa jqeu Od jenas au MOJO JIM pugututoo styr GdS atdpstd Od eos 10201 dinba ay Jo 191n398 nueu y Aq p rzroads se 391A9p ay Jo SNIEIS Y UO UOTJEWIOJUI SUTEJUOI YSIYM PIOM J1Q 8 21 u1s e SOUT gyep SNQ y UO IIPIA IM 3IA pD Jy 3 8 o P9SSIJPpe SI y9e3 uayM 2poui od peros e aumsse ol snq 3y uo SI3X 83 je Sasned puewwo sy 44S 9 QLUA od I u e 3DIA9P JO Ju un1su 201 JO IPow Zune ado paurunojopald e Zun ye wo pajyuaaaid 2q 9uuosiad 189 Jey JOJEpueul SI y UJYM aouanbas 359 9MEeuOJne ue SULINP NJasn SI SIY PUBUILIOS JU JZIUBOIII YOY SIDIADP 2504 UO uopnqysnd edo o UJNJAJ JO S 01JU09 f aued uo 94 9 QBSIP 0 pasn SI puewwoa SIyL O TT MOYO eo Z ju uidinb y Jo Jomnjoejnueu ay Aq p utJ p SI 13531 SI b1A9p YILI YOIYM Je 318 S BY O1Juoo 9 OUI91 UI JO passoippe ase Ady Jr Ajuo puodsa S9D1A9p JUL 21g1s pauljoposd e oi UINJOI 0 SNQ AY UO 991Aap Sut Z1U3099 4923 Sasned puewwo SIUL II 1839 sd1A9q I 918 SPUBLUWOD BSIDAIUN J
69. Instruments PXI 8187 Pentium 4 M 2 5 GHz Embedded Controller Notice the familiar PC peripherals such as keyboard mouse and monitor connections as well as the hard drive USB 2 0 Ethernet serial and other standard PC peripherals This controller runs standard Windows 2000 XP OSs or can be targeted with LabVIEW Real Time Embedded controllers are ideal for portable systems and contained single box applications where the chassis is moved from one location to the next For more information please refer to PX controllers PXI Peripheral Modules National Instruments offers more than 100 different PXI modules and because PXI is an open industry standard nearly 1000 modules are available from the 65 members of the PXI Systems Alliance Analog Input and Output Protoyping Boards Boundary Scan Instruments Bus Interface amp Communication Motion Control Carrier Products Power Supplies al Receiver Interconnect Devices switching Timing Input and Output Digital Input and Output Digital Signal Processing Functional Test and Diagnostics Image Acquisition Because PXI is directly compatible with CompactPCl you can use any 3U CompactPCI module in a PXI system Additionally CardBus PCMCIA and PMC PCI Mezzanine Card cards can be installed in PXI systems using carrier modules For example the National Instruments PXI 8221 PC Card Carrier can be used to connect CardBus and PCMCIA devices to PXI systems
70. L j UO Si19U9 SI Passaippe ue Aq pardave pue p yrwusue SI 214 Ger FOUDISH 159015 li il VE 5908 11 JU OS UH AUN PU 3 e SP Soul yeyspuey y jo suonounj y saensn 8 1 se j S9SBI 91 YILI LIEP ay 10 Apes 20290 SIBUISI IS SY LL 3 adessow ay Jundasse Zeng st duo mojs e att Se sau 8 OIA V noun I OLA t uo ardq d 1S2 e q elep JO aduejdadar ayd yynu sjuaaaid UiatsAs OILM 331U ejep e sa0ejd pue s 9uajs 10 SADIYI 133181 IMOS IJL OL 4 I sauanbas yeys LJ 0 0 L 019Z awn wos UMOYS g 910314 ut p e1nsnir Teyspuey y JO wesserp Sur g I 910814 se 2ouonbas ayeyspuey y jo AIewwns e sr B3UIMO OJ IL 1 91 Si SL el Zl LL OL ZWIL DER A A DACH e S FE E Dee e K tbe nd RT e A Ez a DE AAA TA Ju e A Ree 4 a AA o UOLJIPUOI y 3 3s 8 10 1 9130 294 0 s903 pue paseajar SI SUI OVAN 94 1 I un eyep au paydaooe Dieu seu snq IY UO J9uajs ISIMOJS AY I Hau S20p 11 JUN Ao 3ut 3u1 DIOU 1M Yaea erep Jdasse 0 I la S poimb i sr 19u lst JUO ueyJ BOW JI PasBajar St IU OVAN I 1 ay paydasse s gyep ay u uAA VIP au pardasae 134 1ou a sey 1 384 BJBOIPUT 0 an MO 2011 OVAN 24 39S JIM snq 1 i au uo s 1i9u si passa1ppe ay pardadsar ejep ou IVAN E 9A9 9130 e JUINSSE 0 PIMOJ E 1 SNR I NS pue Sa91A9p fe Aq paseajar u q sey SUI CHUN 94 nun a
71. LES f A 2f at Vad 7 tas A 72 7 gt A 4 AF 3 if af F Y f 2442 4 y 4 s asn ay 0 dn sem 1 paajosun sut qoid awos 3391 Ajasodind peu JUJWNIOP S8p FAAI I4 asnedag IAJOS 0 PIJIOJ DIM Ady ya ym swiajqoid Auew noulrA Jou Ing tu sK s ay ISN o AQL 319M s asn pue slausisap S 6 ul pajdope Sem plepuels 88py 133 oy uayM SSH ATA 34189 INEWOINEIWIS JO ONEWOJNE JO WIIS S a9ejajur jojjesed ug penas 210 gldN ou gsn yoiym sjonpold 000t Uey aow 318 3134 JPY PAJRUINSI SI 1 SO1JJUNOD JOWU JO Y ut SIDINJOeJNUeW IST UE 310W O paynqusip u q 2APY JUDWINDIOP Qgp JJAL 24 JO s ido5 QOO OP UPYY Op PHOA 34 JOAO 8 SIIINJIEJNUEW Jo SPa puny Aq pardope uaag sey Ota 4140 snq uonejuswnssur sodind je13u33 34 10 pIepuejs 3943 U99Q sey JUIUINIOP SIUL 8L61 88p AAAI SE p Jnu p sem JUILINIOP MIU Ay pue uinpu ppe PUE UOIPSIJISSE S BIIOYPI 10 AT LIBWLId pastaa SEM JUIWINIOP Y8py I AI 941 3 61 19QUIIAON uj o T TOWN PolIed p epueJs esyuap ue paysijqnd ISNV aInInsujspIepuejs IEUOUEN UPILIJUIY 94 9 61 AIEDUET u UIIS S 398gJ134U1 PIPPUR S uEILIIWWY ue JO suonesiyoads guonounj pue jes ueysaw jeo 24 P3UIBJUOI SIU uonelu uuniissul qgutute1BSoid 10 211310 PONNU SL61 88b 14AI Se UMOUY JUJWNIOP e p usiIqn 4441 si99ui3ug S1uono q pue 291139913 JO sININSU IYI S 6I judy uy 221 su Aq 3unojjeq 103 poaoidde sem jesodoi d siy 7 6 raquiaidas u wWaJS S 298J1
72. NOM SIIINJOLJNUCW SNOLIBA WOLF SIDIADP JO SJUSUNASU 3 SI 13U31S9p yuawd nba au 103 peuondo are ya ym Jo aWwos SJeuULIOJ H H I i E D ie e HI i a IOuo 1doO lt 0 00 asuodsay 19018 KAosjiquy ul5u 1 ayiUyapuUl gt IOUO dO lt 0 0g esuodsay 1908 sosyiquy yybua7 1luijag gt jouo ydo lt 0 0qg asuodsay 5ui1S gt IOuO 1dO lt 0 00 suods j DIJILUNMN Asouig gt 0u01 d9 lt oJog ssuodsay 23ij uunN 9390 gt 0u0 1d0 lt 0 0G asuodsay DISIWNN DWIISSPOXIH gt IOUO 1dO lt 0 0Q suods JHJWNN YN gt ie ug d y D Di SES EE MOU 391pald Ajayeinooe o Iaaurgua IIEMIJOS OY 10 INIIJJIP 1 Guondo lt 0 0Q asuodsay DISIWNN ZUN gt f 10u01 dO lt 0 00 asuodsay 19I290J0Y gt pasinbay lt 0 0Q asuodsay Sy JOJSYQIY gt pa s nbay lt 0 0g asuodsay DIJIWNN LNS apeu 090 01d adessow JO WOPIaJJ SIY L P3JISIP 19INJOB NUBUL Iy yey Aem Aue ur uorsstusue ey 0 13831 pue Jard syur 0 p3M0 8 3 3q PINOM ejep JO puewwoJ au0 uey BOW FZururejuod 8gss ui Y a D A19331 Yory 3IA p Aue JUILINIOP g t 22211 PUI3IIO ay 19PUN E q j Ge lt 0 0q ee uoissasdx 43 gt lt 0 00 wos S1090 LOUd ADVSSAW TIAIA 4 ne u SIG nora unis IOuo 1do lt 0j0g WoJBoOJY DIJIVINN DWIII UON gt St IOUuO 1dO lt 9 0g WOJBOJY X ynS gt IOuo 1do lt 0 0g woJbosg J9150Jo0u2 gt palnbay lt 0 00 UDIBOJZ IIJIVINN jOWIDaGg gt SALVIS SLVAYOJ 33N31SI1 7887 3331 Aq paryroads sjeuuoj ey
73. NQ Y JO olluo2 ut 3q Il A JUN u31uA au 1919p IM I pue J9 OJJUOD 193SBUL y se paljioads st asay JO JUO SISEI YINS UJ SIIJ OAJUOD BIJAIS JAPU O LUIIS S 2OELU 2101 x duio5 JIA 10J 9 QISSOH SI J1 Ing 19 OIJUOD BAND JUO Ajuo 20 UB 2194 wWaIJS S 298 19 ur UJAIS Aue up Afsnoaueyjnwis jou Ing ruas pue J9x 8 e y10q 3q UB SNQ y UO 3 IA9p JO JUAUINIJSUL AUY 19 011luoO jJu uinnsu VZZLI pow 29011 au SI u3iuA JO JUO S19 044U09 889 3331 P9JP9IP2P V13A S 218 3194 poddinba os s 41 J 19 013u09 88 334 ue Se 1103983S1 eS J9A ullo J19d ued Jayndulo jeuossad snojmbiqn u L 19U9SI pue aye e y0q pensn s 19 0 1u09 UL ASP st WIOJIad o snq y UO 3IA9p pue Juawnaysur A19A9 pue yoga asned yey 318 m3yos pue 3uruwuue13o01d et y3no1y1 spuew WO9 34 SIPIAOIA 1 ULIIS S 201 JO SUIBIQ y SI J9 OJJUOD 3u L sarddns samod ajqewwes3o d pue sadtaap Agtdemp si luuid are yiqedeo ge ou aaey Ajjensn yorym saraap J9U9 S H JO S9 dwexg Snq Iy uo Isno ugl nuurS S19u SI IAN p o dn 2q ued ay uonounj ye y Jo ajqedea aq you Aew JO Kew pue passolppe UIYM BJep PUL SPUBLUWOD 9AI999I ULI YOIYM IIAP SI 19Uu9 SI Y 9M Se S1i9uays1 peJ9uo3 ose SIDN E SIapeas ade pue siajuno9 Aduanbady sr9 un oA ase SIDAJE JO SJJdwexa 9utos awun USAID Aue Je snq y UO 193 8 JAL JUO uo aq UB alay 19 04J409 JY WOIJ puewwos g 0 suods i ut JO jsnouosyou Ase J94Y
74. OJJUO9 JOPUN 3SIA p JO 21215 DY SARS O PISN 318 SPUBUILIO ISIY Y sdun1 9S PIJOIS puBUILIO SOSE 381nd 201 BUIN Aq adiAap 8 WOIJ pa3 nd aq Lem some payqeua aie Aayy jou JO JayJaym SOJIBUI pouljop je Jo sj qer ay YM puodsal o 3IA9p oY Sasned K anb ole ueoq ay Azanb osse a qeug dyl Sulpuas Aq 31A9p L UO pajqeua ale SOJOBU Jt 2u1011219p UVI 13SN IYL paqeua aq 11M SOIDLWU ay L9LZE 01 LOLZE JO BULI y ur Jaquinu e Aq PIMOT OJ SI Puewwod OJIEN 9 qeuy 3Y JI P9INIIXA aq ULI ODLU L SE DUS JY SI YOIYM Puewulo juspuadap 391Aap E Jey OS SOIDeW je Safqesip Q Joquinu Aq pamoj oj puewwoo OJDBJA 9 QLUJ MY Puewnwoa jua pusdap a01Aap e se awes ay 9q eu yng Asanb Jo pugtuuioo UOWUWIOS E SE SWS JY 20 JOUULD age oew Sy OIJPW y UIYJIM paurejuoa spueWWOd jo aduanbas au s no X9 11 PUBUILIO e SB IQR OLW DY S9A19391 INIADP AU UU AA 1201 oew e 0 spuewwo Jo aDUINDIS L USISSE O pasn SI puewwoa OJDE JA Jura IYL Spuewwoa s u 8utsn p e nuu 3 20 ULD SJUAWNIISUI 19YIO Iyjel SNQ sdNpal pue spuewnwoa x duioo 107 pueyuoys opioid o pasn aq ued SOJIEM O1JUOD J9PUN JUSWINIYSUT 3y 10 spugtutuo5 MIU JUIJOP 0 J9SN y 3 qgu spuewwoa jeuondo ISIL SOILEN puewwoa TIA 189 IWA L S A19291 1 nun SNQ av uo Sutu 1si dos 0 3IA p V ISNEI 0 pasn SI puewwoa U0 oun 1 u lsr 9 QBSIG 24 soUaNbeas uoijgin3iJuoo wajs s onewone au jo Wed sy snq au UO 2DADP AQRINIHYUO UJELI 0 SSIPPE ug U
75. S 19593 huang dnjas Sous 1097 Ain uono SONVANOO NOUVYIJO TVNYILNI Lamp J9 SUDJ UOJI019890 SIJNOSIY J39 SU0J UO I0 19899 2IINOSIY Asan opd SN P9132910Jd Go JSN P9 29 034 Asan uono3 Unu pi vondo Kiano uol0291J11u9pi SONYNNOI VIVA ASAS UO J9UNY J9US 8 23 90810 ssejppy ubissy SONYWWOD 3YNSISNOD OLAV JINVINIINOI piepuelS 2 887 3331 JUL 060004000000 re QEL 13410 s1q dyl moy jroads 1ou pip yry Lggp 4431 Aq Pauyap Ajfeurd11o sem g e 21031 ur p jensnii 1951391 N A SNJEIS ML ZC a1n314 UI UMOYS SI 91n 9ns Suniod i snjejs Z 88r H3HdI IY JO MIIAIJAO UY JO1JUOD AJOUWIIJ JOPUN SIDADP y WOLF uongunojJut utg qo 0 pauljap ae saL anb pue spuewwos UOWWOD 310u1 BUONIPpY Ki nb uowwos p utg p z 88r Addl ue JO pod eros 88r Hddl au JO SUB2 Aq J9 01JUO9 IY 0 p out JSue1 SI 2140 SNJEIS u L 2140 SNIEIS 343 JO s 1q AJBWIWINS 94 JO 3424S y uodn Zurpuadap 1413S jsonbal 0 IDADP GIO E a qeua ued 1 SN AL AVN 1q aIqeltese a3essaw pue SF 11q Snje s JUDAS 294 S9UIJIP 7889 1341 Pue 919 OSU Kant SNJEIS L99Y au s ourj p 88p 14HI Sananb 10 S19 SI891 310 YOIYM S 1In 9n1S BJ Sn 8 S OU sodessow JELULUNS YQ 9 3UIS UIAS SUIEJUOD 91 q Z S8p ML A1 onO 91 g SNIBIS 10 od elias e 194319 Aq peas aq ULI YoIyM 9 q SNIS 88py 4341 Oy Sul MOUS 2pow Suniod i snyeJs Z R8py ITAL 94 SNENSNII Z E ANZIA JUILINDOP 88p 24 JO 31 q SNIPIS y JO SUONPIHIDIOS BUIBIIO
76. SE Step 4 often confuses people writing firmware for the first time The Host asks for the first 64 bytes of the device descriptor so when the host resets your device after it receives the first 8 bytes it is only natural to think there is something wrong with your device descriptor or how your firmware handles the request However as many will tell you if you keep persisting by implementing the Set Address Command it will pay off by asking for a full 18 bytes of device descriptor next Normally when something is wrong with a descriptor or how it is being sent the host will attempt to read it three times with long pauses in between requests After the third attempt the host gives up reporting an error with your device 5 Faltbussar Fr n http www infoside de infida wissen_allgemein htm What is Fieldbus Fieldbus is a generic term which describes a new digital communications network which will be used in industry to replace the existing 4 20mA analogue signal The network is a digital bi directional multidrop serial bus communications network used to link isolated field devices such as controllers transducers actuators and sensors Each field device has low cost computing power installed in it making each device a smart device Each device will be able to execute simple functions on it s own such as diagnostic control and maintenance functions as well as providing bi directional communication capabilities With these dev
77. SISSE o J9 01JUOD Y SAOI 8 PUBLILIOS 6 pJepue s Z 88r 333 JUL er ae BER u nk N Ce SS9JPPY 1d 55v L sassaippe u3isse Udy pue ore Gau OYM JNO DUU O SIDIADP UE A anb o 1911013109 ay moje pue WIIS S 159 e quu sse Ajjes sAyd 0 a qissod et 1 Ay iqedeo jeuondo siy Suisn Snq 3ul uo SIDADP O SISSIIPPE u sHI pue yje u3isse eomeuwome ol JasN ay suwud Yoiym WyWWOS e ue SIUIJIP Z 88y IIA 9IN 1JUOI O MY SsISqunu OM Aq P3MOJ OJ SI puewwos au ASP su uj SSJIppe Arepuosas pue Aguud e yJoq surejuoa u3IUA IDADP E 0 013109 ssed 0 3 QISSOH osje SI 3 19 01 UOD 1x u AY 3tuo5 q O SI JU IA p IY JO SSasppe Su SI YIIyM QF O 0 1aQUINU e q p mojjoz oq Isnw puewwos ay o 2060 onuo5 ssed oi ssaippe Jeym J9 o1uos penuad au sjja puew WO9 SIY Puewwo ADE ONUOD sseg Iy BUISN SIDIADP U33MJ3Q passed aq ew Snq y JO OJJUOD AY 1 lonuoo puguioo LAD 9u1Jo1di95291uodn Ao oj ILA 3IA9p ay ya ym aauanb S PUPWUWOD 9U MAI O Jasn Y SMO E A anb 193311 JIA SUIJOd AL PADI SI LJO 193311 1n xqg NOIO au usym MO OJ Wlan 3IA9p I ya ym spuewwo JO ad3uanbas e S910J5 puewwo 13881 29149 utj q ML adessaw 193311 343 0 Spuodsa1 31 Moy AJraads pue p 1989in 20 0 IDIADP L 3 QUUI spuguiuto5 9S9Y 193311 29149 Puewu1o od sjjesed e uo puss ppnom 991A3P ENPIAIPUI UP Je yA JUTWI3J3p 0 JasN dy syiwad emt puewwos AJand snje3s enprarpu ue
78. Sunno x q od enjoe ue 105 Daau y JnoyJIm 3D1AIP Aue WOLF UONEWLIOJUI SUBS 201 UNBIQO o qiSsod osje s y spueuutuo5 2s u q p llonuo3 st jjod ajfered e o asuodsa1 ayy mod jogjeseg suonesado gurpuad jje s j duio5 1 uaym 19951391 SNILI JU9AJ piepue1s y ut 0 Iq 39S 0 3IA 9p dyl Sta Puewwos duto S uon e19dO Y sauapnb pue spuewnwoa snotaaid Je 319 duio3 0 391A9P Y SIDIOJ YDIYM PueWWOI INUNUOZ 0 EM PNUEN Old 887 3331 usech SE SE EH ee sn ren TT dnor puewwoa Aq paz ued1o spuewwod uewwos ZC Sgr 22 Lv do 9 01S JU9UWNIISU BADS do 93035 JUBWNIISU 039 SONYNNOD SONULIS O3IYOLS 3911013u0J y PLAY og 4 UOD SSOd SONVAWOD YIVIOYILNOI LLQ H POON 3966111 Wo H do Kian 2664 JQ Suug0 uo H 190 1966111 99199 9u j9GQ SONVANO9 3399181 3DIA30 Asan SAG SNJ0IS PUAY Ajang lqou3 ysenbay DIMAS lqou3 JSINDIY JIMS J9ND J09 Sn101S UO JIMO y 3091 Sn101S VO JIMO Y Asano 1335 09y 83035 lu A3 j nO 9 Q0UJ SNJOIS JUSAJ lqou3 SNJOIS JUBAJ 8n 301S 30919 SONVANOI LN3A3 X SALVIS J pbay dien lqou3 Bay lqou3 lOd 18 040 j pbay 9 Q0UI 075604 3 Q0U3 Nod 19119409 J pbay Along Sn101S onpiaipul SONVNWOD TOA 1IMVYVA soj5oow 96Jng Kenn OJDON uJO87 Aan stu9 uoO OJION 199 J9onO OJION 9 Q0UI OJ ON 9 Q0U3 OJION 9u j Q SONVAINOS OYIVA 9J9 JWOJ OY JOM kiang 9 9 dwod uo0 10J9dO 39 9 dwoy uo 10J8dO SONVANOO NOU VZINOYHINAS Aseng 1821 319
79. TULIIJOP 0 SNQ au uo SIAP US JO Od e uojJad snw J9 01 UOS oy pue Ajuo pod eros e Aq paea aq ued sul DAS u L S U9A9 JO u nb s Juana y 1dnus lu UD 991Aap Aue Lo sanba e yong 933 peo 1aao 10113 xeju s e Aq pasnes aq JYSIW Se UOIJUIIE 107 Daa 8 IJLIIPUI O SNQ AY UO SIHADP alow JO uo Aq pasn s au ysanbay IIIS ML DNS uone1 do 290 o u1n131 S 3IA p fe an Jou y31y dur s y 9S 19 O1JUOD LUIIS S ayJ UIYAA SPUOIISOJIU 001 UTYILM 1 0 puodsas pue oul NA Y 3u1 1oltuoui Isnw uone1 do ajowWaL pue 2901 y10q jo ajqedea s otA 9p y u lsi O PISSIIPPE aJe Ady UJYM 9pouu SuIWMWeISOId 31OU191 IY ur S19u SI I 99e d 03 191101Ju09 ua3s s ay Aq uo pasn SI aul SIYL NAY P IqesSIp st asn ut J uono unj Od eros Iy pue u lsi un JO Y eJun 03135 348 UISHI JO Y L 194119 0 PISSIIPPE SIDIADP UE IN J9S SI DA Dau SpUOIISOJIU 001 Ury 31 0 puodsa pue sowy jje Je aut sem JOJUOW ISNUW SIDIADP V snq au UO HANOB OU SI 9194 YOIYM UL 2 8 S apr JO Aqpuejs amp o 998J19JUL OY IZIJENIUI o 13 onuoo uajs s ayy Aq Apuo pasn s auf SIYL Dal ann JOU yZ y 39S SI OUT N LV 94 SIJUdISI PISSIJPPE O JUAS 20 O SIEJEP UIYM SASSIPpe JO SPULWWOI 134313 SE s ut EJEP 24 UO OODEULOIUL Id9938 pue UOISSIWISURI JX9U IY 3413991 ysnu ypiqedeo Suru lst yim SIDIADP UE apow puguutuoo y ut SI SNQ 24 UIJYM 9S 8J JO andj Jou UIYM POW PJEP ec 090044 887 3331
80. The sync field is 8 bits long which is used to synchronise the clock of the receiver with the transmitter The last two bits indicate where the PID fields starts PID PID stands for Packet ID This field is used to identify the type of packet that is being sent The following table shows the possible values Packet Identifier Token a Handshake on Special oo RR There is 4 bits to the PID however to insure it is received correctly the 4 bits are complemented and repeated making an 8 bit PID in total The resulting format is shown below Pin Pi PD PID ne oio Pi PID e ADDR The address field specifies which device the packet is designated for Being 7 bits in length allows for 127 devices to be supported Address 0 is not valid as any device which is not yet assigned an address must respond to packets sent to address zero e ENDP The endpoint field is made up of 4 bits allowing 16 possible endpoints Low speed devices however can only have two endpoint additional addresses on top of the default pipe four endpoints max e CRC Cyclic Redundancy Checks are performed on the data within the packet payload All token packets have a 5 bit CRC while data packets have a 16 bit CRC e EOP End of packet Signalled by a Single Ended Zero SEO for approximately 2 bit times followed by a J for 1 bit time Common USB Packet Types USB has four different packet types Token packets i
81. U 201 SI DUI NLY 24 UIS spuew WO9 SE gep yans Jasdiajur snq IY UO SIDAD Saur EIER ay UO poyIwWisuel 31e spuguuuuoo5 esi9Atun 989499 A GI N LV NAY DAD poquosop Apea je SpueWIWOD supun INOJ 3y 29110 m3juooun lOd 9118184 Put a qesIg 10d ers 21002 104 EIS noo 2907 LAN H14 L SPUBUILIOS ESIJATIUN IUIH NU JAI AL SGNVINWOD TVSAJHAINAN ENUEN gid9 887 3331 P Eed E A aer EE e DEE L A A E AE Y E U et Ee RS er ech Re Z 34319 uey 310W 98 3194 J 1391701 U02 y 0 p9 lttusue1 aq ULI YILI mont Gogo Jo 10 I 1SN pue own e je p llod aq uea SaIDIADP 14313 Ajuo 3nq pod ajfesed y sr Surjjod jo poyyaw 19358 V SI0119 UOT n93X9 pue s10113 puewrwoa Isanbal sasn uo Jamod 03 pajrun JOU aJe Ing PNJIUI SJUIAS YONG PAINIDO sey JUIAS PIepuejs pajqeua UB JI IJEDIPUI 0 pasn SI u31 uA ASA JQ SNIS USA ay SI 1 q andy aq JIM y UO 9 QR ILAR SI vep uay An Adwa s Ju uuniissui y jo n nb yndjno y jou JO J9YI9YM SIAJPOIPUI SILL AVW Hq qereae a3essaw dyl se pauljap S y NA z z 210314 31 q snes y JO S IG 2JOU OM SJUIJap 19431103 Z7 SSp AAal SAP 201 JO IJINIJeJnNuUPw ay O SIIQ Zururewal au JO uontuy p 99 1 OSA 9 1q uey 12430 Ing snq 94 UO S USUINIISUL IYI JO SNILIS IY PLIJ O SIA 01 u09 Mojje 03 jod penas y pap ao d eurBio 88py 14HI1 1np o5oid Suruinsuoo JU JIA E 9q UBD siy pajjod aq pIn
82. UI sud ZunJaS 19351331 91qeug Jsanbay 3 A139S Y O IB TUIIS oe YIIYM s19Js1391 ajqeugq Ju9Ag IPIAOIA osje ABW IDIADP BIO V 3S 8 o 2011 JO an 0 S L JOYA WOLF S9BULYD UONIPUOI SI UIYA SINIDO SIU J 201 JIQ JUDAD UB SJS YIM ENAH UONISULI IY SOUYJOP Z 88py 4431 STO x puewwo 183 0 3y BUISN 10 19381391 94 Sulpeds 194419 Aq os uop nun paJe9 9 Iq JOUURD 95 IHUO SII DY L 31 ULYIIM p9lols PJep au SSIIIE 0 SPUBLIWOD JUIPUIAIP IMADP 19u o 9Q JSNW 19U 19 SIG OL uonesado Burjqeua jsonbal 201AJ9S Fre BANS soyei60y ajqouz INL H CT Ly IS DUE jsonboy p0puo s e LA a u y Em UR EA msn 2 DES O XA 8 e Ee o VA He Si Q 09 A ms uolnojJ u o 1938 6934 118 Sing OTe Ty WES ysanboy VE GEIB u Sop Lowwng enjoys jenuew id 887 3331 vv 1951331 210EUZ Od 9 218d 24 Ul 398 31Q dyl sjuasa1daJ Je UIQ O P3113AU09 u uA yor ym Joquinu e Aq pamoJ oj 3q 1snuu PUBLIWOS IL LSI 94 ut PIZIIBUIUINS ale SUONIPUOI JEyM ulu119 9Dp YIYM S11Q 94 S19S FUd Puewwos 19I51339Y lqeud 10d 1911214 d UL pod jajjesed penye ue WLIOJI9d 0 paau ay INOYIIM 3IA p A JO ASUOASII ay Zu pea1 syunod sonb ayy pod poppesed e o asuodsas ur 3uas 20 PINOM weu Snje s DY SI SIY Y 8 ss u BIO LSI au JO ALIS JUNI MY utU119 9p 0 19sn IYI SMOJJE t LSI JIND SNJEIS ENPIAIPU MY L St au ut PIZIJBUILUINS Be SJUDAD YOIYM DUNULIAIP 0 paptaold st 19351
83. UM SI YSAS AL S191S18391 JUDAS 13470 ULBJUOD osje ew pue 19151331 enge JU9AJ PIPPUEIS DY JAPY SIDADP 788y IAAI UN peal sem Y ASS 94 184 IWUN IS IYI IDUIS UO UY JJO p ouin SEM IDINOS JMO S 2D1A9P IY IVY SIJEIPUI HO STULL NOd uo Jamod Ng UONUINE S J9 01JUO9 34 UIBIGO 0 JasN au ajqeua o SI asodind eut OJUOD PIUIJIP 3IA9p L payealjoe Sey 19Sn 94 UIYM Jas 20 JM IIAP L JO 3 8IS BIO JO IJOUUII au 0 piegas ynom jas Nq SIYL Dan Isanbar sasn 9 ug JOJJ9 PUBUJUIO e 2SNEI osje 11M 38 ss u WeIZOId e IPISUL P3A19931 LJN 193311 a1n99x3 dno13 y Juawajduwr JOU SIOP 3914p DY Jey puewwoa p JO PURWIWOD pajjadss u e se YONS 10119 9nuguu s e piepuejs Z ggr Aq pauljop 10U 10119 XBJU S Y SEM JPY PUBUILIOO E PIAIIDIS IMAP DY JE Y SAJLIPUI lq SIyL AWI 10119 puewwo yg PuUEWUIOI PIJEA B JO uonn3 x JadoJd syusAaa d uonipuoo Jeussyur ue uUJYM INDIO OS E Aew 3 uongiodo pauSisap su ylim JUDJSISUOD JOU SI 10 Ay iqedeo edo SH UIYJIM JOU SI IDIADP 9ul AQ P AI92391 puewwo y UIYM SINIIO 10119 UOHNIIXI UY AXI 10119 UOINIIXI p NA IDIADP 94 JO uonounjiguu JO UONIPUOJ eulsjur UB 0 INP Puewwo e Jo uonno x Jadosdul Se yons sindd0 uotaung IDADP E ur 10119 UB U UA 19S St 10 SIY OC 10113 JUIPUIADP IDLADP E NE JENUEW Ald 887 3331 OV dd 94 Ul Jas 218 S Iq JeyUM JISN eu S 9 SIY L SESSO 0 0 JO 8ue1 IYI u 1939 UI ue yim puodsaJ 0 IMAP oy SAO 2
84. ansmit that message SInce the bus is wired and and a Dominant bit is logically 0 it follows that the message with the numerically lowest Arbitration Field will win the arbitration Error Handling Error handling is built into in the CAN protocol and is of great importance for the performance of a CAN system The error handling mainly aims at detecting errors in messages appearing on the CAN bus so that the Transmitter can retransmit an erroneous message Every CAN controller along a bus will try to detect errors within a message If an error is found the discovering node will transmit an Error Frame thus destroying the bus traffic The other nodes will detect the error caused by the Error Frame if they haven t already detected the original error and take appropriate action i e discard the current message Each node maintains two error counters the Transmit Error Counter and the Receive Error Counter There are several rules governing how these counters are incremented and or decremented In essence the a transmitter detecting a fault increments its Transmit Error Counter faster than the listening nodes will increment their Receive Error Counter This is because there is a good chance that it is the transmitter who is at fault When any Error Counter raises over a certain value the node will first become error passive that is it will not actively destroy the bus traffic when it detects an error and then bus off which means that the n
85. antee of bandwidth or minimum latency e Stream Pipe Unidirectional Full and high speed modes only Bulk transfers are only supported by full and high speed devices For full speed endpoints the maximum bulk packet size is either 8 16 32 or 64 bytes long For high speed endpoints the maximum packet size can be up to 512 bytes long If the data payload falls short of the maximum packet size it does not need to be padded with zeros A bulk transfer is considered complete when it has transferred the exact amount of data requested transferred a packet less than the maximum endpoint size of transferred a zero length packet USB Descriptors All USB devices have a hierarchy of descriptors which describe to the host information such as what the device is who makes it what version of USB it supports how many ways it can be configured the number of endpoints and their types etc The more common USB descriptors are e Device Descriptors e Configuration Descriptors e Interface Descriptors e Endpoint Descriptors String Descriptors USB devices can only have one device descriptor The device descriptor includes information such as what USB revision the device complies to the Product and Vendor IDs used to load the appropriate drivers and the number of possible configurations the device can have The number of configurations indicate how many configuration descriptors branches are to follow The configuration descriptor specifies values
86. at of commands sent to instruments and the format and coding of responses sent by instruments All instruments must perform certain operations to communicate on the bus and report status Because these operations are common to all instruments IEEE 488 2 defined the programming commands used to execute these operations and the queries used to receive common status information These common commands and queries are shown in Table 3 Because IEEE 488 2 standardizes status reporting the Controller knows exactly how to obtain status infor mation from every instrument in the system This status reporting model builds upon the IEEE 488 1 status byte to provide more detailed status information The status reporting model is shown in Figure 9 SCPI In April 1990 a group of instrument manufacturers announced the SCPI specification which defines a common command set for programming instruments Before SCPI each instrument manufacturer developed its own command sets for its programmable instruments This lack of standardization forced test system developers to learn a number of different command sets and instrument specific parameters for the various instruments used in an application leading to programming complexities and resulting in unpredictable schedule delays and development costs By defining a standard programming command set SCPI decreases development time and increases the readability of test programs and the ability to in
87. ating this interface descriptor can be an alternative setting to that of the other interface descriptor two When this configuration is enabled the first two interface descriptors with bAlternativeSettings equal to zero is used However during operation the host can send a SetInterface request directed to that of Interface one with an alternative setting of one to enable the other interface descriptor This gives an advantage over having two configurations in that we can be transmitting data over interface zero while we change the endpoint settings associated with interface one without effecting interface zero Each endpoint descriptor is used to specify the type of transfer direction polling interval and maximum packet size for each endpoint Endpoint zero the default control endpoint is always assumed to be a control endpoint and as such never has a descriptor String descriptors provide human readable information and are optional If they are not used any string index fields of descriptors must be set to zero indicating there is no string descriptor available Enumeration Enumeration is the process of determining what device has just been connected to the bus and what parameters it requires such as power consumption number and type of endpoint s class of product etc The host will then assign the device an address and enable a configuration allowing the device to transfer data on the bus A fairly generic enumeration process is detailed in
88. cification IEEE 1155 in March 1993 The VXIplug amp play Systems Alliance founded in September 1993 sought a higher level of system standardization to cover all VXI system components By focusing on software standardization the alliance defined standards to make VXI systems easy to integrate and use while maintaining multivendor software interoperatibility With the success of multivendor standards and solid technical specifications VXI is backed by more than 250 vendors with more than 1000 products available The success of VXI as an open multivendor platform is a testament to the value of multivendor standards and has made VXI the platform of choice for open instrumentation systems VXI is used in many different applications ranging from test and measurement and ATE to data acquisition and analysis in both research and industrial automation Although some VXI systems today are purely VXI many users are migrating to VXI by integrating it into existing systems consisting of GPIB instruments VME cards or plug in data acquisition DAQ boards You can control a VXI system with a remote general purpose computer using the high speed Multisystem eXtension Interface MXI bus interface or GPIB You can also embed a computer into a VXI chassis and control the system directly Whatever your system configuration needs may be VXI offers the flexibility and performance to take on today s most challenging applications The Need for VXIbus The demand f
89. dding commands for more specific or newer functionality is easily accommodated The SCPI Instrument Model As a means of achieving compatibility and categorizing command groups SCPI defined a model of a programmable instrument This model shown in Figure 10 applies to all the different types of instrumentation All of the functional components of the instrument model may not apply to every PHONE 512 794 0100 e FAX 512 794 8411 e info natinst com e www natinst com instrument For example an oscilloscope does not have the functionality defined by the signal generation block in the SCPI model SCPI defines hierarchical command sets to control specific functionality within each of these functional components The signal routing component controls the connection of a signal to the instruments internal functions the measurement component converts the signal into a preprocessed form and the signal generation component converts internal data to real world signals The memory component stores data inside the instrument The format component converts the instrument data to a form that you can transmit across a standard bus The trigger component synchronizes instrument actions with internal functions external events or other instruments The measurement function gives the highest level of compatibility berween instruments because a measurement is specified by signal parameters not instrument functionality In most case
90. different subsystems For example in the following command string an error is generated if you do not use both the colon and semicolon SAMP COUN 10 TRIG SOUR EXT Using the MIN and MAX Parameters You can substitute MINimum or MAXimum in place of a parameter for many commands For example consider the following command VOLTage DC RANGe lt range gt MINimum MAXimum Instead of selecting a specific voltage range you can substitute MIN to set the range to its minimum value or MAX to set the range to its maximum value 156 geng per Seet aution d Chapter 4 Remote Interface Reference An Introduction to the SCPI Language Querying Parameter Settings You can query the current value of most parameters by adding a question mark to the command For example the following command sets the sample count to 10 readings SAMP COUN 10 You can query the sample count by executing SAMP COUN You can also query the minimum or maximum count allowed as follows SAMP COUN MIN SAMP COUN MAX If you send two query commands without reading the response from the first and then attempt to read the second response you may receive some data from the first response followed by the complete second response To avoid this do not send a query command without reading the response When you cannot avoid this situation send a device clear before sending the second query command SCPI Command Terminator
91. e HS488 handshake shown in Figure 8 Once HS488 is enabled the Talker places a byte on the GPIB DIO lines f 4 WY omm mars e er First byte transferred Second byte Third byte Composite Some All Some ready ready All accepted accepted Figure 7 Normal IEEE 488 1 Handshake waits for a preprogrammed settling time asserts DAV waits for a preprogrammed hold time unasserts DAV and drives the next data byte on the DIO lines The Listener keeps NDAC unasserted and must accept the byte within the specified hold time A byte must transfer in the time set by the settling time and hold time without waiting for any signals to propagate along the GPIB cable HS488 Data Transfer Flow Control The Listener may assert NDAC to temporarily prevent more bytes from being transmitted or assert NRED to force the Talker to use the 3 wire handshake Through these methods the Listener can limit the average transfer rate However the Listener must have an input buffer that can accept short bursts of data at the maximum rate because by the time NDAC or NRFD propagates back to the Talker the Talker may have already sent another byte The required settling and hold times are user configurable depending on the total length of cable and number of devices in the system Between two devices and 2 m of cable HS488 can transfer data at up to 8 Mbytes s For a fully loaded system with 15 devices and 15 m of cable HS4
92. e ended twisted pair signal lines MXI 2 features an improved cabling scheme that uses a single double shielded cable between all devices and a single high density high reliability 144 pin connector per device In this fashion all MXI 2 devices share not only the MXTIbus itself but also the V XI defined trigger lines interrupt lines systems clocks and other signals that were available on MXI 1 products as an optional second connector and cable INTX MXI 1 products use an MXI 1 cable between devices and an optional INTX cable to share trigger timing information between mainframes in a multiple mainframe configuration MXI 2 eliminates the need for an additional INTX cable in your system Because of the cables differences you cannot mix MXI 1 and MXI 2 products in the same system Both MXI 1 and MXI 2 use double shielding with an aluminum mylar shield as well as a copper braid shield to eliminate any EMI problems and both cables meets the National Electric Code NEC CL2 fire safety code The stacking depth of two daisy chained MXI cables is approximately 3 3 in MXI is essentially a backplane bus in a cable Each MXI signal line is twisted with its own ground line All MXI signal lines are matched impedance to minimize signal skew and reflections Stub lengths no more than 4 in off the mainline interconnection minimize reflections due to impedance discontinuities Termination networks configured with onboard jumpers are located at the first and
93. e mid 1980s Bosch developed the controller area network one of the first and most enduring automotive control networks CAN is currently the most widely used vehicular network with more than 100 million CAN nodes sold in 2000 0018 9162 02 17 00 2002 IEEE Digital radio Vehicle computer Speaker Navigation Lock oa Seat E No H instruments d IS I S I l Central pela Additional systems Drive train poy contre s Roof ad Climate gt X66 OC gt Seat Steering wheel JEE anel M P Lock s MOST HITS CAN GPS GSM LIN Local interconnect network MOST Media oriented systems transport Controller area network Global Positioning System A typical vehicle can contain two or three sepa rate CANS operating at different transmission rates A low speed CAN running at less than 125 Kbps usually manages a car s comfort electronics like seat and window movement controls and other user interfaces Generally control applications that are not real time critical use this low speed network segment Low speed CANs have an energy saving sleep mode in which nodes stop their oscillators until a CAN message awakens them Sleep mode prevents the battery from running down when the ignition is turned off A higher speed CAN runs more real time criti cal functions such as engine management antilock brakes and cruise control Although capable of a maximum baud rate of 1
94. e o puodsar fm snq y uo 1343351 JepNosed Aue yey 99JueJen3 OU SI 3194 2UIS JOJORIEYD PIIJ 2011 DY YIM PUIJINDUOS Paylasse 3q 0 201 OF 94 SMOJJe poyu putu IYL PaJIn990 sey adessau eJep e JO 31 q Isej 24 ey S 19U3 SI 3u o JJBOIPU o 19418 JANDL ayJ Aq pasn 3q UBD UIT OF 941 9S 8J SI N LV USyM YALI U9IMIIQ ys nduns p o pasn s 2011 N LV 34 pue jnusp 10 puq sasodind om sey OUT SIU L 319511 SNQ JJBJrajur 343 UT paurejuoad 104 961 JNUIP JO puq PaJeo1pap oy JO asn y YSNOIY SI poyJau J9YIOUY 3ess uu yaea JO pua sy o OL JOSV IapIgu p33J au 3unjeuuoj 1a10ud au ppe Aew snq y UO Zum SI YOIYM 3AP AL yse sty uSi duro55e oy paAojdwa aq ABW YOIYM spoyjow 9914 are 3194 PoyBUIUWd paapur SI adessaw e yey 3utull9 p ULI SNq dy UO SIMADP JO ys ym Aq poulsui 9utos 20 Jsnw 3134 os aq ABW adessaw e 3uo MOY 0 Se UONE ndI S OU SI 3134 WOJS S 39BJ13JUI QQp AAAI I UI NOILVNINGAL FOVSSAN SJIq SNJEIS 94 JO YO JO ANY SuUlyNsal E YM uonoouuo2o ajjesed e MOJJE SIDADP IY JO S INDIID Jnd no 10399109 uodo y IDUIS aut eyep UDAIZ g UO puodsal 3IA9p JUO UE aIow DAY 0 ajgqrssod SI 1 QUI EIER payeusIsap e uo puodsa sAemye Ia Ady 1Eu OS palm PJBY 20 0 SIDIADP uuos JOJ IYQISSOA osje SI 3 pueWWOd JINZIJ uoO Od alfeseg 24 SMOJJOJ YIM Add puewiwos Arepuo9as y JO uonoap y Y3NOJYI oul ejep Jepnonied e uo puodsal 0 PIJIIJIP 20 ULI INAP Ye SOUl O I VIP
95. e technologies and components Several protocols are suitable for X by wire appli cations TTP for example is a promising and avail able protocol geared toward improving driving safety However the FlexRay and TTCAN proto cols will start to compete with TTP when manu facturers look for more flexibility and lower cost Figure 3 shows the past and potential future improvements from active and passive safety sys tems such as air bags and road recognition sensors Advanced electronic systems and the X by wire infrastructure will enable most potential active safety improvements ELECTRICAL POWER DEMAND Vehicular battery management systems continu ously check the condition of the car s battery mon itoring the charge to ensure the auto will start and have enough power to maintain critical systems Even with the engine switched off some systems real time clocks keyless entry and security devices and vehicle control interfaces such as window switches and light switches still consume power In addition to these conventional electrical sys tems emerging applications as diverse as in car com puters and GPS navigation systems consume enough power to raise the total energy load to more than January 2002 Brake by wire Mechanical Figure 2 Past and projected progress in dynamic driving control systems As the cost of advanced systems plummets sophisticated fea tures are likely to become mainstream components
96. e triggered CAN has a session layer on top of the existing data link and physical lay ers The protocol implements a hybrid time trig gered TDMA schedule which also accommodates event triggered communications The ISO task force responsible for the development of TTCAN which includes many of the major automotive and semiconductor manufacturers developed the pro tocol TTCAN s intended uses include engine man agement systems and transmission and chassis controls with scope for X by wire applications Intelligent transportation systems data bus Enabling plug and play in off the shelf automotive electron ics the intelligent transportation systems data bus eliminates the need to redesign products for differ ent makes The Automotive Multimedia Interface Collaboration a worldwide organization of motor vehicle makers created the specification which sup ports high bandwidth devices such as digital radios digital videos car phones car PCs and navigation systems The specification s first release endorses IDB C CAN as a low speed network and optional audio bus and two high speed networks MOST and IDB 1394b IDB 1394b is based on the IEEE 1394 FireWire standard X BY WIRE SOLUTIONS Today s vehicle networks are not just collections of discrete point to point signal cables They are transforming automotive components once the domain of mechanical or hydraulic systems into truly distributed electronic systems Automotive
97. ehicle s electronic equipment These networks facilitate the sharing of informa Computer tion and resources among the distributed applica tions In the past wiring was the standard means of connecting one element to another As electronic content increased however the use of more and more discrete wiring hit a technological wall Added wiring increased vehicle weight weakened performance and made adherence to reliability standards difficult For an average well tuned vehi cle every extra 50 kilograms of wiring or extra 100 watts of power increases fuel consumption by 0 2 liters for each 100 kilometers traveled Also complex wiring harnesses took up large amounts of vehicle volume limiting expanded functionality Eventually the wiring harness became the single most expensive and complicated component in vehicle electrical systems Fortunately today s control and communications networks based on serial protocols counter the problems of large amounts of discrete wiring For example in a 1998 press release Motorola reported that replacing wiring harnesses with LANs in the four doors of a BMW reduced the weight by 15 kilo grams while enhancing functionality Beginning in the early 1980s centralized and then distributed net works have replaced point to point wiring Figure 1 shows the sheer number of systems and applications contained in a modern automobile s network architecture Controller area network In th
98. eing sent is not defined USB is made up of several layers of protocols While this sounds complicated don t give up now Once you understand what is going on you really only have to worry about the higher level layers In fact most USB controller I C s will take care of the lower layer thus making it almost invisible to the end designer Each USB transaction consists of a Token Packet Header defining what it expects to follow an Optional Data Packet Containing the payload and a e Status Packet Used to acknowledge transactions and to provide a means of error correction As we have already discussed USB is a host centric bus The host initiates all transactions When the host powers up it polls each of the slave devices in turn using the reserved address 0 it assigns each one a unique address and finds out from each device what its speed is and the and type of data transfer it wishes to perform This process is called enumeration and it also takes place whenever a device is plugged into an active network A typical transaction will consist of a number of packets a token indicating the type of data that the host is sending or requiring the data and in some cases an acknowledgement Each packet is preceded by a sync field and followed by an end of packet marker Common USB Packet Fields Data on the USBus is transmitted LSBit first USB packets consist of the following fields e Sync All packets must start with a sync field
99. emise that it stay compatible wich the existing IEEE 488 1 standard The overriding concept used in the IEEE 488 2 specification for the communication between Controllers and instruments is that of precise talking and forgiving listening In other words IEEE 488 2 exactly defined how both IEEE 488 2 Controllers and IEEE 488 2 instruments talk so that a completely IEEE 488 2 compatible system can be highly reliable and efficient The standard also required that IEEE 488 2 devices be able to work with existing IEEE 488 1 devices by accepting a wide range of commands and data formats as a Listener You obtain the true benefits of IEEE 488 2 when you have a completely IEEE 488 2 compatible system Controllers Although IEEE 488 2 had less impact on Controllers than it did on instruments there are several requirements and optional improvements for Controllers that made an IEEE 488 2 Controller a necessary component of test systems IEEE 488 2 precisely defined the way IEEE 488 2 Controllers send commands and data and added functionality Because of these IEEE 488 2 Controller requirements instrument manufacturers can design more compatible and efficient instruments The benefits of this standardization for the test system developer are reduced development time and cost because it solves the problems caused by instrument incompatibilities varying command structures and data formats Requirements of IEEE 488 2 Controllers
100. en aq jou snw pue sasodind 01Ju09 10 ponoso SI IE JaqQUnu SSaIppe PIEA SI QE 01 0 OI Jaquunu ss sppe Auy tun 3y JO SSOIppe ELIJO au s o uto5 q SISdUN 10 SIYIMS pajdajas fe JO dJ07 S31uo1133 3 SDI Jo sajino juauIni3sur gid JO joued 1231 eoid s aunsdiy are Kr s EE EE eseni v x aw AE ee Ae GE 8 a S Senne RAN NT B ev Ess 2 3 3 fee E NE N ee E KE ee LI sng uonyejuaun4su esoding jesauag SUL 010 2 00 1 00 103 lt lt Be Sus a SJUBIIM y JO uns 34 310J3913Y 9T pue g p 2 T JO 1YSI9M e AR y s adummf 10 S9YIJIMS ay Y suontsod sodumf ro yours ay Aq pajuos 21d91 eg JeuIq ayi Jo juayeainba guro p am Aq p utuu p S 395 SI JUSUINIJSUT ue yorym oi Og YBno y 0 Ssoippe ayy ypiqedes 98p 3331 Sey YOIYM Juauun sur ue JO 1891 941 Je PunoJ aq ew Ajjensn yorum SOYDIMS SSIIPPE JO yas jes d e SOJENSMIIE S 3m3 3DIADP ay APISUL 10 1ea 94 Je pajeso siaduunf JO SOYIJIMS JO 128 E JO SUBI Aq 39149P JO Juawn jsur y9ea 10 P3J93195 Ajjensn ase 9594 pue 9 QR IeAR ar sassaippe seuid pajle gt sassaippe I jo 2101 y uada papuajur sy juo q padasse si snq ay uo 391A9P Aue q payrusues glep JO adessaw Aue jy os ssoippe anbiun e pausisse aq jsnu Ju tunijsurt Yyoee T2uueya suonestunwwoo Jo ad ur Ay ed e st eng ay JJUIS INISSANAAV qdld5 3 89 Suno uuoo lur dy Jo SUOMIJUUO 9T 941 s lJnu pi pue snq 88p JJ
101. endent on the speed of the processor and the particular V XI instruments Local Performance The MXIbus does not degrade the performance of the devices connected to it Each MXI device can operate internally at full speed in parallel with other MXI devices Because MXIbus is a true system bus with multimaster arbitration the only time MXI devices must synchronize their operation is when they perform transactions that map across the MXIbus When one MXI device performs a read or write that maps to a remote MXI device the MXI hardware on both devices interlocks the bus cycle across the MXIbus to accomplish the transfer MXI An Open Standard The MXIbus specification was developed by National Instruments and announced in April 1989 as an open industry standard A VXIplug amp play core technology MXIbus has been endorsed by the entire VXI plug play Systems Alliance including Tektronix Hewlett Packard Racal Instruments and GenRad Because MXI is an open standard documented with a comprehensive specification anyone can develop products that will be integrated into a MXI controlled system 3402438 04 April 1995 14 3 HA What is PXI PXI tutorial Fr n National Instruments Introduction PXI PCI extensions for Instrumentation is a rugged PC based platform for measurement and automation systems PXI combines PCI electrical bus features with the rugged modular Eurocard packaging of CompactPCI and then adds specialized synchr
102. ep jeuondo pue pasmbag z lq L TILLA A a u AS A E AS AS TUS a c SIVAYOY YAML ERAS GE KO EE S 3IA9p AIAO JaMou DU Japjo UIIMIIQ Ayyiqueduios samsua 1 pue quglioduut JOA st Zuruas BUIAIBIOJ pue Suryje 3s1231d jo 1daduod ay SC AAAI Se y9ns sie uo 13p O e paper renames o or E PE A TES Se p epuelS 88r 333l1 JUL IPIUSW 8ld 887 3331 ve o y AM i w Ze E oma i AN EE EES ZE SI papnjou spuetuuuo2 9s9U YIM poziuosyouds 218 WIIS S au UIYWM SIDIADP JP JO suonesado ayy uoneziuosysu s 3J Q SNJ8JS 94 JO SJUIJUOS y sjuasoidas 19393u1 y JO uaTeAINba Areurg IUL Ge 03 0 JO 93ues y ur J939 u1 UB YIM puodsar 0 3D1A9P av Suisned 91 Q snyejs y Speos puewuios Kan AG snyeig AL QO1A9P ay WOU ISINDIY IMAJIS B asNed LIM 2J Q SNIBIS y ut SJIQ eym S uIU119 9p YOIYM 19351391 qguq ysanbay 3IA19S y SI9S PuEWIWOI QU ysanboy 2914128 JL ANI SI Ze Je9 9 uO 19mOd Y JIUA IdIAIIS 3usanbas wo paju9A91d st 3IA9p ay u0 19MOd Je D9183 2 S191SI331 ISIYI UA 191S1331 21002 Ilod PPI 94 pue 13 s13831 9 qeu 4 Sn s 1lu Aq piepue S oy 911891 qeuq ysonbay 391A 198 94 Jo Zunea INeWoME au S OJJUOD PueuwWOd JBI SNJEJS uo 1 Aod ML S9INJINIJS BJep SNJEJS Poyeloosse put 1951331 snyeJs DY SIVI D DUU UO Sn 8 S BID MY 31QUUY Jsonbay 21A19S pue enge UO I9Mog o1quug SMES JU9AJ Ie O 21V SPUEULWIOI 220 U PIPNISU SJUSAD arqpua pue peas o
103. equirements of the bus it is wise to specify a conservative payload size If you are using a large payload it may also be to your advantage to specify a series of alternative interfaces with varying isochronous payload sizes If during enumeration the host cannot enable your preferred isochronous endpoint due to bandwidth restrictions it has something to fall back on rather than just failing completely Data being sent on an isochronous endpoint can be less than the prenegotiated size and may vary in length from transaction to transaction Isochronous transactions do not have a handshaking stage and cannot report errors or STALL HALT conditions e Bulk Transfers Bulk transfers can be used for large bursty data Such examples could include a print job sent to a printer or an image generated from a scanner Bulk transfers provide error correction in the form of a CRC16 field on the data payload and error detection re transmission mechanisms ensuring data is transmitted and received without error Bulk transfers will use spare un allocated bandwidth on the bus after all other transactions have been allocated If the bus is busy with isochronous and or interrupt then bulk data may slowly trickle over the bus As a result Bulk transfers should only be used for time insensitive communication as there is no guarantee of latency Bulk Transfers are used to transfer large bursty data e have error detection via CRC with guarantee of delivery e No guar
104. est of time Before VISA there were many different commercial implementations of I O software for VXI GPIB and serial interfaces however none of these I O software products were standardized or interoperable lbs Compa ux bu Behpkre Figure 4 VXIbus System Software Components The VISA standard lays the foundation and provides a unified migration path for Industry wide software compatibility One of the most notable benefits of VISA is its ability to significantly reduce the time and effort involved in programming different I O interfaces Instead of using a different Application Programmers Interface API devoted to each interface bus you can use the VISA API regardless of whether your system is controlled by GPIB VXI or a GPIB VXI With the vast number of choices in instrumentation and software now available most users do not want to be locked into a specific vendor for their systems Instead they would prefer the freedom to select the best instruments and software available from multiple vendors and have it all work together with minimal effort The IEEE 488 1 and IEEE 488 2 standards for GPIB and the IEEE 1155 standard for VXT ensured that the hardware would be interoperable but this approach was not taken for the software Therefore the ideal new driver architecture should be a standard adopted by as many of the major vendors as possible Then you could be assured that any code written for your instrument is portable across c
105. fes yeworne IM epo asn ul SI9 013U09 Jsow 39U1S spuewuos SuIWIWeISOId u3uA SILLY u SI 10 2191 enprarpur ay Ajloads 03 Aressa9au Jou Ajfensn st 3 SOPOD SSIIPPE PIHLA e 10 SI DB JBYI SSoIPpe IJOSV u lsi pue 118 94 S9 8 19SN YOIYM JIey9 IPOD Y8py 444 Ue St 9 NJIJ OM 34 U9I3MJ9Q ys nduns p O pasn ale aJ q elep y JO suq ulu A s JenueW gid9 887 3331 cl s ut OM ISnf pasn yey SUL9IS S SNOLADIA JIAO Boia le dee GN gyeyspuey ur 331U1 e sasn WAS S gid SU Y o E aSessow I p A19291 Ajiodoid sey 31 Jey IPIMOUADE E 19U9 81 yea paje ul aq ued sadessow Mau Aue 910J9q pue u ugy 310W Aq P3A19231 IQ 0 p pu lut ase pasn ose yIIyM e geen puewwo ay JO AUR s19u lst PISSIIPPE au Aq PaAradal JII que SNQ y UO p liuisuez SIZESSIM je yey J nsu9 0 1 et a2pUa10t TITAN au ur uonounj ayeyspuey ay jo asodind yr AMVHSUNVH snq ay JO sonsinajoe1eyo Sunesado y SAOIAUN 1M Veep sty Sunlusug JO Le 3 J uwWuoJ eros 2149 poy esed y1q ut panrwusues se u nb s AIdD LT 31914 O Q lt Ee A AW 3 AA WIN3S 3148 EE SL sng uonelu uingnsuj asoding e aues oul SPOUYIaU 1u9191 J JJIOMN uonguuoJui Jo sJunouup snOWJOUD a nba UONPWIOJUI WIOJSABM dossojjroso JO 193SUB 1 Se yons ejep jo sad 34105 p2J19 5ue 1 oq Zeu elep porya YIM paads y aoueyua p1e913 IM yorym pa o dua oq ew soul ezep ay uo UONEULOJUI SS3IdUIO o spoul u
106. figuration and to provide a valid list of GPIB devices that can be used as the input parameter to all other TEEE 488 2 protocols The bus line monitoring capability of an IEEE 488 2 Controller is also useful to detect and diagnose problems within a test system The FINDRQS protocol is an efficient mechanism for locating and polling devices chat are requesting service It uses the IEEE 488 2 Controller capability of sensing the FALSE to TRUE transition of the SRQ line You prioritize the input list of devices so that the more critical devices receive service first If the application program can jump to this protocol immediately upon the assertion of the SRQ line you increase program efficiency and throughput IEEE 488 2 Instruments The IEEE 488 2 specifications for instruments can require major changes in the firmware and possibly the hardware However IEEE 488 2 instruments are easier to program because they respond to common commands and queries in a well defined manner using standard message exchange protocols and data formats The IEEE 488 2 message exchange protocol is the foundation for the SCPI standard that makes test system programming even easier IEEE 488 2 defines a minimum set of IEEE 488 1 interface capabilities that an instrument must have All devices must be able to send and receive data request service and respond to a device clear message d GPIB Tutorial IEEE 488 2 defines precisely the form
107. he CALCulate block converts application data to account for signal generation anomalies such as correcting for external effects converting units and changing domains Example SCPI Command The following command programs a digital multimeter DMM to configure itself to make an AC voltage measurement on a signal of 20 V with a 0 001 V resolution MEASure VOLTage AC 20 0 001 e The leading colon indicates a new command is coming The keywords MEASure VOLTage AC instruct the DMM to take an AC voltage measurement e The instructs the DMM to return its measurement to the computer controller e The 20 0 001 specifies the range 20 V and resolution 001 V of the measurement Reference Documents For more information on the GPIB standards refer to the following documents ANSI IEEE 488 1 1987 IEEE Standard Digital Interface for Programmable Instrumentation ANSI IEEE 488 2 1992 IEEE Codes Formats Protocols and Common Commands and Standard Commands for Programmable Instruments You can obtain the IEEE 488 specifications by writing to The Institute of Electrical and Electronic Engineers IEEE 345 East 47th St New York NY 10017 USA The latest SCPI Standards are published by the SCPI Consortium Kw Tutorial GPIB Tutorial HSASS The Hi peed GPIB Handshake Protocol National Instruments has developed the patented high speed GPIB handshake protocol called HS488 to increase the data tran
108. i Iayjo SINDIUYIA JIPMIJOS SNOLIBA UUM HIdO 98esssw ay Zunjusued u ym aduanbas jajjesed 31q BIS 2140 y SaIRSNII 1 31N314 3P09 OSI UONBZIURZIO spie PUEIS euOneuIaJu 11Q ay SI s y 0 Jusjea nba euoneusajul ayy P sn S 3PO9 JIOSvV 31Q amp jjeunoy sau een BUO19311pIQ 14319 34 3UISN SNQ ay 19A0 9314P 0 SAP WO P3IJ9JSUBAI SI eg Seat yan u aq ABU WIJS S UDAIS Aue ur g1 UOISSILUSUPI EJEP Ende oy USI Pp9SS2IPPE IS9MOJS 3Y JO ayer Jduejdadar ay Aq Pauw sAemye SI WIJS S Y JJUIS I A A0H puo3 s Jad S3J QOIM DOS 10 YSZ Inoge 01 9781 34 Shu y3ed uorsstwsuen Un ay Sursn SIJUPISIP Dau 1340 puodes Jad ajyAqedaul et 321 19JSupn elep WNWIXPW ay BJep SUNLIWISSE INS 319m SI9U9 SI JIMO S JY SP J9UIJSI 35 y u 193981840 JOSY aues am Jo 2 up1d oop adn nu mo e PINOS waJs s ayeyspuey ITA OA Y saje JUSISJJIP Afap m Je ade 93 UBS 13U3 51 YLI JO SDUBIAIDIL PJEP ay IIM WIIS S 134981 ajdiyinu e ur yu3ajur EJEp S Insu9 styr anbruy9s ayeyspuey 9J1 3914 3UIAO 19 u1 ue Zuisn jewo ajjesed y1q Jenas 934q e u SAG 94 1940 PalIaJsueN SNOUOJYIU SE 218 ejep pue sadessaW P3JIILUOISIP SI JO asn ur jou SI YSTYM uI Aue uo age T 3130 JO ann jou p SIPIAOId pue Age on 343 ur JIIQUASISNS asiou s np 1 UOMUIALOI 2130 JAeZau ay A PUONIPPV JOAUp 1olsisuen 103931109 uado sy q uonipuo5 an e Zunea Jo ajqedea sny SI 200 Aue pue jajje
109. ices not only will the engineer be able to access the field devices but they are also able to communicate with other field devices In essence fieldbus will replace centralised control networks with distributed control networks Therefore fieldbus is much more than a replacement for the 4 20mA analogue standard The fieldbus technology promises to improve quality reduce costs and boost efficiency These promises made by the fieldbus technology are derived partly from the fact that information which a field device is required to transmit or receive can be transmitted digitally This is a great deal more accurate than transmitting using analogue methods which were used previously Each field device is also a smart device and can carry out it s own control maintenance and diagnostic functions As a result it can report if there is a failure of the device or manual calibration is required this increases the efficiency of the system and reduces the amount of maintenance required Each field device will be more flexible as they will have computing power One fieldbus device could be used to replace a number of devices using the 4 20mA analogue standard Other major cost savings from using fieldbus are due to wiring and installation the existing 4 20mA analogue signal standard requires each device to have is own set of wires and its own connection point Fieldbus eliminates this need so only a single twisted pair wiring scheme 1s required
110. ief cannot tap into the network vulnerable points such as the door mirrors to deactivate a car alarm system Audi BMW DaimlerChrysler Motorola Volcano Volvo and Volkswagen cre ated this inexpensive open standard Byteflight A flexible time division multiple access TDMA protocol for safety related applications Byteflight can be used with devices such as air bags and seat belt tensioners Because of its flexi bility Byteflight can also be used for body and con venience functions such as central locking seat motion control and power windows BMW ELMOS Infineon Motorola and Tyco EC collab orated in its development Although not specifically designed for X by wire applications Byteflight is a very high performance network with many of the features necessary for X by wire FlexRay FlexRay is a fault tolerant protocol designed for high data rate advanced control applications such as X by wire systems The pro tocol specification now nearing completion promises time triggered communications a syn chronized global time base and real time data transmission with bounded message latency Proposed applications include chassis control X by wire implementations and body and power train systems BMW DaimlerChrysler Philips and Computer Motorola are collaborating on FlexRay and its sup porting infrastructure FlexRay will be compatible with Byteflight Time triggered CAN As an extension of the CAN protocol tim
111. irements electromagnetic compatibility power distribution cooling and air flow for VXIbus mainframes and plug in modules The modules are installed in the mainframe slots LEDs switches test points and I O connections are accessible from the module front panel Pa ute E Com puter Eus 16 bit date trareter 16 Megeab re stressar y Mu m arer Drbretop Priority rrupt Lies Bus Fe Center Row Adds WHE S2 btdets and Fi gqesbye achte sang P2 Chater Roas X 6 dz 10 MHz lock TIL 4 EL Trigger bus 12 pin Looal bus Arakg Sum bus Module iden ticeton LS Power Distrikter bp ma Pa walad High Per iorrn ere 1h ed o 100 MH cock BCL Star mass bus BOL Trigger bus e pin Gel bus Power Disinburion bus Figure 2 VXI Module Sizes Module and Mainframe Cooling Airflow direction is from bottom P3 to top P1 Cooling requirements must be established for all modules and included in product specifications These requirements must include an operating point of minimum airflow requirement Mainframe suppliers must also provide similar information for their mainframes EMC and Noise The addition of a new module to a VXIbus system must not degrade the performance of any other module The V XIbus specification includes near field radiation and susceptibility requirements which prevent one module from interfering with the operation of other modules To help meet these requirements the VXIbus module width was increased from the 0 8 in VME
112. l hosts have a downstream connection to the device Upstream and downstream connectors are not mechanically interchangeable thus eliminating illegal loopback connections at hubs such as a downstream port connected to a downstream port There are commonly two types of connectors called type A and type B which are shown below Receptical Type B Receptacle Type A ATT Figure 1 USB connectors Type A plugs always face upstream Type A sockets will typically find themselves on hosts and hubs For example type A sockets are common on computer main boards and hubs Type B plugs are always connected downstream and consequently type B sockets are found on devices It is interesting to find type A to type A cables wired straight through and an array of USB gender changers in some computer stores This is in contradiction of the USB specification The only type A plug to type A plug devices are bridges which are used to connect two computers together Other prohibited cables are USB extensions which has a plug on one end either type A or type B and a socket on the other These cables violate the cable length requirements of USB USB 2 0 included errata which introduces mini USB B connectors The details on these connectors can be found in Mini B Connector Engineering Change Notice The reasoning behind the mini connectors came from the range of miniature electronic devices such as mobile phones and organisers The current type B connector is too large to
113. last MXI devices to minimize reflections at the ends of cables MXI uses state of the art single ended trapezoidal bus transceivers to reduce noise crosstalk in the transmission system Designed specifically for driving backplane bus signals these transceivers have open collector drivers that generate precise trapezoidal waveforms with typical rise and fall times of 9 ns The trapezoidal shape due to the constant rise and fall times reduces noise coupling crosstalk on adjacent lines The receiver uses a lowpass filter to remove noise and a high speed comparator that recognizes the trapezoidal shaped signal from the noise Performance Isssues MXIbus Performance It 1s often difficult to understand how a performance specification for a single component relates to the overall performance of your system In the case of MXI it is important to understand not only the performance issues associated with the MXI link but also the devices that communicate across the link MXI works like an embedded computer using a direct hardware memory map to eliminate software overhead between your computer and the VXIbus or VMEbus Both MXI and embedded VXI computers can use shared memory communication protocols and direct register accesses for potentially dramatic performance improvements over GPIB If your VXI instruments themselves do not use these capabilities however your system performance using MXI or an embedded computer may be no higher than a GPIB control
114. led V XI system There are several factors to consider when comparing a MXI equipped computer to an embedded computer A MXT equipped computer is functionally equivalent to an embedded computer In fact application software developed on a MXI computer using NI VXI VISA bus interface software can easily run on an embedded computer and vice versa There are subtle hardware timing differences but there is no dramatic performance difference due to architecture MXI for example can take roughly 100 ns more to perform a single VXI read or write than an embedded computer because the MXI signals must propagate down the MXI cable at 10 ns m This subtle detail is 13 measured in ns and is negligible compared to the other factors that affect your system performance such as the execution speed of your application software or your instruments Often the most important performance issue to consider when evaluating a computer for your system is the performance of the processor itself Most applications spend much more time computing displaying or performing disk I O than actually performing I O across the VXIbus or VMEbus Current external MXI computers are over four times as fast as the fastest embedded VXI computer In addition because of the physical space constraints of embedded computers external computers often have much more sophisticated architectures with faster processors cache RAM faster disk drives and other benefits Raw computing power can
115. ll supply the control link to the wheel mounted steering actuator motors Removal of the steering column will improve driver safety in collisions and allow new styling freedom It will also simplify production of left and right hand models It is natural to add advanced functions to such electronic systems For example consider systems that reduce steering wheel feedback to the driver In mechanical steering systems the driver actually feels the vehicle losing control in unstable conditions and can react appropriately Today such electronic fea tures as antilock braking may let the vehicle approach or surpass this control loss edge without providing warning To accommodate this X by wire systems can include motors on the steering wheel that provide artificial feedback to the driver All major automakers are developing prototype or production X by wire systems TRW s electronic power assisted steering system improves fuel econ omy by up to 5 percent Delphi Automotive Systems claims similar improvements from its E Steer sys Antilock brake system Adaptive cruise control Electronic brakeforce distribution Electronic control unit Electrohydraulic brakes Electromechanical brakes Electronic stability program Hydraulic control unit Traction control system Research potential tem Companies such as Bosch Continental AG Visteon Valeo and most other original equipment manufacturers have either developed or plan to develop X by wir
116. mental Challenges Consumer Opportunities Auto com http www auto com travcity99 wpowers_aug5 htm current Dec 2001 3 G Leen D Heffernan and A Dunne Digital Net works in the Automotive Vehicle IEE Computer and Control Eng J Dec 1999 pp 257 266 System Peak load Electromechanical valves 2 400 Water pump 300 Engine cooling fan 800 Power steering all electric 1 000 Heated windshield 2 000 Preheated catalytic converter 3 000 Active suspension 12 000 Onboard computing navigation Total average 4 Electronic Brake Management ALex Current Fact book BMW Research and Development http www bmwgroup com e index2 shtml s50820_0_www_bm weroup_com 4_news 4_4_aktuelles_lexikon 4_4_akt uelles_lexikon shtml current Dec 2001 5 A van Zanten et al ESP Electronic Stability Pro gram Robert Bosch GmbH Stuttgart Germany 1999 6 T Thurner et al X By Wire Safety Related Fault Tolerant Systems in Vehicles Document No XBy Wire DB 6 6 25 X by Wire Consortium Stuttgart Germany 1998 7 J M Miller Multiple Voltage Electrical Power Dis tribution Systems for Automotive Applications Proc 31st Intersociety Energy Conversion Conf IEEE Press Piscataway N J 1996 pp 1930 1937 8 J G Kassakian Automotive Electrical Systems The Power Electronics Market of the Future Proc Applied Power Electronics Conf and Exposition APEC 2000 IEEE Press Piscataway N J 2000 pp 3
117. more associated lower level devices or Servants A Servant is any device in the subtree of a Commander A device can be both a Commander and a Servant in a multiple level hierarchy A Commander has exclusive control of the communication and configuration registers of its immediate Servants one or more Any VXI module has one and only one Commander Commanders communicate with Servants through the communication registers of the Servants using the Word Serial Protocol if the Servant is a Message Based device or by device specific register manipulation if the Servant is a Register Based device Servants communicate with their Commander by responding to the Word Serial commands and queries from their Commander through the Word Serial protocol if they are Message Based or by device specific register status if they are Register Based Interrupts and Asynchronous Events Servants can communicate asynchronous status and events to their Commander through hardware interrupts or by writing specific messages signals directly to their Commander s hardware Signal Register Nonbusmaster devices always transmit such information via interrupts whereas devices that have busmaster capability can either use interrupts or send signals Some Commanders can receive signals only whereas others might be only interrupt handlers The VXIbus specification contains defined Word Serial commands so that a Commander can understand the capabilities of its Message Based Servan
118. munications channel at the USB function At the software layer your device driver may send a packet to your devices EP1 for example As the data is flowing out from the host it will end up in the EP1 OUT buffer Your firmware will then at its leisure read this data If it wants to return data the function cannot simply write to the bus as the bus is controlled by the host Therefore it writes data to EP1 IN which sits in the buffer until such time when the host sends a IN packet to that endpoint requesting the data Endpoints can also be seen as the interface between the hardware of the function device and the firmware running on the function device All devices must support endpoint zero This is the endpoint which receives all of the devices control and status requests during enumeration and throughout the duration while the device is operational on the bus Pipes While the device sends and receives data on a series of endpoints the client software transfers data through pipes A pipe is a logical connection between the host and endpoint s Pipes will also have a set of parameters associated with them such as how much bandwidth is allocated to it what transfer type Control Bulk Iso or Interrupt it uses a direction of data flow and maximum packet buffer sizes For example the default pipe is a bi directional pipe made up of endpoint zero in and endpoint zero out with a control transfer type USB defines two types of pipes e Stream Pipes have
119. nd triggering buses Figure 2 Using these timing and triggering buses users can develop systems for applications requiring precise synchronization Star Trigger Bus THU UU Fromm ULL r lt E G Local Bus lt 132 Mbytes s 33 MHz 32 bit PCI Bus gt lt PXI Trigger Bus gt Figure 2 PXI Timing and Triggering Buses PXI combines industry standard PC components such as the PCI bus with advanced triggering and synchronization extensions on the backplane zu as gt wo c Star Trigger Controller PXI Controllers As defined by the PXI Hardware Specification all PXI chassis contain a system controller slot located in the leftmost slot of the chassis slot 1 Controller options include remote controllers from a desktop workstation server or a laptop computer and high performance embedded controllers with either a Microsoft OS Windows 2000 XP or a real time OS LabVIEW Real Time PXI Remote Controllers There are two types of PXI remote controllers Laptop control of PXI PC control of PXI Laptop Control of PXI With ExpressCard MXI Measurement eXtensions for Instrumentation and PCMCIA CardBus interface kits users can control PXI systems directly from laptop computers During boot up the laptop computer will recognize all peripheral modules in the PXI system as PCI devices Figure 3 Laptop Control of PXI PCMCIA CardBus interface kit top and Exp
120. ndicate the type of transaction to follow data packets contain the payload handshake packets are used for acknowledging data or reporting errors and start of frame packets indicate the start of a new frame e Token Packets There are three types of token packets In Informs the USB device that the host wishes to read information Out Informs the USB device that the host wishes to send information Setup Used to begin control transfers Token Packets must conform to the following format Sync PID ADDR oer crcs EOP e Data Packets There are two types of data packets each capable of transmitting 0 to 1023 bytes of data called Data0 and Datal Data packets have the following format Sync pio Ge cRct6 er e Handshake Packets There are three type of handshake packets which consist simply of the PID ACK Acknowledgment that the packet has been successfully received NAK Reports that the device cannot send nor received data temporary Also used during interrupt transaction to inform the host there is no data to send STALL The device finds its in a state that it requires intervention from the host Handshake Packets have the following format Sync PID er e Start of Frame Packets The SOF packet consisting of an 11 bit frame number is sent by the host every 1mS 500nS sme PID Frame Number crcs er _ USB Functions When we think of a USB device we think of a USB peripheral b
121. nels such as shared memory channels can be established to take advantage of the VXIbus bandwidth capabilities Word Serial Protocol The VXIbus Word Serial Protocol is functionally very similar to the IEEE 488 protocol which transfers data messages to and from devices one byte or word at a time Thus VXI Message Based devices communicate in a fashion very similar to IEEE 488 instruments In general Message Based devices typically contain some level of local intelligence that uses or requires a high level of communication All VXI Message Based devices are required to use the Word Serial Protocol to communicate in a standard way The protocol is called word serial because if you want to communicate with a Message Based device you do so by writing and reading 16 bit words one at a time to and from the Data In write Data Low and Data Out read Data Low hardware registers located on the device itself Word Serial communication is paced by the bits in the response register of the device indicating whether the Data In register is empty and whether the Data Out register is full This operation is very similar to Universal Asynchronous Receiver Transmitter UART on a serial port Commander Servant Hierarchies The VXIbus defines a Commander Servant communication protocol so you can construct hierarchical systems using conceptual layers of VXI devices This structure is like an inverted tree A Commander is any device in the hierarchy with one or
122. ng Error Frames The Overload Frame The Overload Frame is mentioned here just for completeness It is very similar to the Error Frame and is transmitted by a node that becomes too busy The Overload Frame is not used very often as today s CAN controllers are clever enough not to use it CAN Physical Layer s A physical layer defines the electrical levels and signaling scheme on the bus the cable impedance and similar things There are a few different physical layers e ISO 11898 defines a two wire balanced signaling scheme e Little used ISO 11519 for lower speed applications defines another two wire balanced signaling scheme for lower bus speeds e Several proprietary physical layers do exist e A modified type of RS485 has been used Most CAN transceiver chips are manufactured by Philips alternative vendors include Siliconix and Unitrode A very common type is the 82C250 transceiver which implements the physical layer defined by ISO 11898 The ISO 11898 prescribes that the cable impedance be nominally 120 Ohms an impedance in the interval of 108 132 Ohms is permitted There are not many cables in the market today that fulfils this requirement There is a good chance that the allowed impedance interval will be broadened in the future see CANHUG s proposal The maximum speed of a CAN bus according to the standard is I Mbit second At this speed a maximum cable length of about 40 metres 130 ft can be used Thi
123. ng a benefit of roughly 0 2 km liter or 0 4 mpg Its lite hybrid alterna tor starter will operate the vehicle in start and stop mode in which the engine can be restarted in 200 ms for even more fuel savings In addition removal of the front end accessory drive running the alternator and power steering pump will mean enhanced car styling The new 42 V systems are expected in new autos by 2003 Within the electrical system boosting the volt age proportionally reduces the required current for a given delivered power Smaller currents will use smaller and lighter gauge cables allowing an expected 20 percent reduction in cable bundle size Further the carrying capacity of semiconductor switches for electrical currents relates directly to silicon area size while operational voltage levels are a function of device thickness and doping pro file With less silicon area required these systems will achieve a significant cost reduction in solid state load switching devices The 42 V systems will require a 36 V battery and produce a maximum operating level of 50 V with a maximum dynamic overvoltage of 58 V Engineers regard a 60 V limit as the safe maximum for cars greater voltages can generate shocks Despite the obvious advantages of 42 V systems challenges loom Transition costs reengineering of products and production processes will be extremely high due to the legacy of a half century of 12 V systems The upgrading
124. nj IDLJUI JISeq IYI JO YILI JO SJ SQNS SNOLIEA IY s lensnii I S 208 L St UE BOW uonui Jaquinu suonounj SIY JO Sjasqns snouea 94 suornaung 32u Seq II ISN ag dy y3n0y IV ao j uuo5 gIgH 94 Jesu Ajjensn 3 98 1 Juawnnsur 201 UO poysew ae 9y SOSEO 3wos ur pue qonpoid AY 101 SIAS Ei3P AY ur puno aq Ajjensn ued san Iiqedes s y L yonpold y ut pPayuaw dur 2918 YIM SUONIUN 998J19JUL SNOLIEA Y ISI I QP LONUOS gido We Ota SIDADP PUE SJUDUINIISUL JO SISINJOB NUBUI ISOW SLASANS ANV SNOLLONOA ADVAYALNI 09 pue Ta LLC 12A OTA Idd TUS EAT SAL THV THS suonounj aveau JOJ payuswajdun st Ey L8p POPON SIU YZ UO PIP JO ad GZ suoljoun4 PUB SS8dIAeq Old SE P9JISIP ay LUJOJIIH O snq dyl UO IDIADP JIAI PUR YORI ISNEI IA YOIYA SUONINIISUI JYI ULPJUOS a we 3o d ay y JOLUIIUL S J9 01JUO9 34 OU p peo PUR UINLIM SI JIEMJIJOS JO WeIZOId y HUN ss sn Ajjenyuta SI I 19 01 UOS YIM 9 9 duio2 papquuasse Aj nz st ut 9 s s 3983139341 GI dH amp UAM SLNIWIAINOFA DNINWVAIOAI WIIS S FLW 94 Ul SJUJWNIISUI US 13403 0 a nyea s y Juswajdu 0 ajqe 3q JOU p noA 133u 8u 1S3 ay gONDUNJ INOADO 290 Iy JALY JOU s op 159 Japun Jun ay 3u p 3J K ddns samod au ng 9uuosiad Aq Suuadue Juaaa d 0 MO paxsol q 0 waIs s Y ur SJUJWINIISUL je JO JOJJUOD BDO JO JESSIIIU SI J yt fajdwexa Jog UONIUN 3D8J1UI passap awes DY Sleys Jou
125. nown as High Speed mode and was a tack on to compete with the Firewire Serial Bus In conclusion there are three data transfer speeds defined within the USB standard High Speed 480Mbits s e Full Speed 12Mbits s e Low Speed 1 5Mbits s The Universal Serial Bus is host controlled and there can only be one host per bus The specification in itself does not support any form of multi master arrangement However the On The Go specification which is a tack on standard to USB 2 0 has introduced a Host Negotiation Protocol which allows two devices negotiate for the role of host This is aimed at and limited to single point to point connections such as a mobile phone and personal organiser and not multiple hub multiple device desktop configurations The USB host is responsible for undertaking all transactions and scheduling bandwidth Data can be sent by various transaction methods using a token based protocol USB uses a tiered star topology similar to that of 10BaseT Ethernet This imposes the use of a hub somewhere which adds to greater expense more boxes on your desktop and more cables However it is not as bad as it may seem as many devices have USB hubs integrated into them For example your keyboard may contain a hub which is connected to your computer Your mouse and other devices such as your digital camera can be plugged easily into the back of your keyboard Monitors are just another peripheral on a long list which commonly have
126. ntegration e Modular rugged design improves reliability increases mean time between failure MTBF and decreases mean time to repair MTTR Members of the VXIbus Consortium and the VXIplug amp play Systems Alliance have combined their expertise to develop technically sound standards for both hardware and software bringing the entire industry into a new generation of easy to use instrumentation The Value of Open Industry Standards The baseline VXI hardware specifications are a mandate for interoperatibility between hardware products from different vendors These specifications cover mechanical and environmental requirements such as module sizes mainframe and module cooling and EMC compatibility between modules as well as automated system initialization and backplane communication protocols The VXIplug amp play Systems Alliance builds on these baseline specifications to address the system as a whole with the goal of having the end user up and running in Five minutes or less Building a system based on open industry standards means that you choose components for your system based on your requirements regardless of vendor Open standards also ensure that once your system is built your investment will continue to pay dividends well into the future Both the VXI Consortium and the V XIplug amp play Systems Alliance remain strong active organizations committed to maintaining VXI as an open multivendor technology and increasing its ease of
127. ntroller monitors the communications network GPIB When 5 Interface the center Controller notices that a party Management Lines device wants to make a call send a data message it connects the caller Talker to the receiver Listener Grounds The Controller usually addresses or enables a Talker and a Listener before the Talker can send its message to the Listener After the message is transmitted the Controller may Figure 2 GPIB Signals and Lines address other Talkers and Listeners SS PHONE 512 794 0100 e FAX 512 794 8411 e info natinst com e www natinst com NATIONAL INSTRUMENTS 4 11 Tut GPIB Tutorial 18 GND Twisted Pair with DAV 6 NRFD 7 T 19 1 GND Twisted Pair with NRFD a T 20 GND Twisted Pair with NDAC s T 21_ GND Twisted Pair with IFC sRo 10 T 22 GND Twisted Pair with SRQ ATN 111 23 GND Twisted Pair with ATN SHIELD TZT 22 SIGNAL GROUND Figure 3 GPIB Connector and Signal Assignment Some GPIB configurations do not require a Controller For example a device that is always a Talker called a talk only device is connected to one or more listen only devices A Controller is necessary when the active or addressed Talker or Listener must be changed The Controller function is usually handled by a computer A computer equipped with National Instruments GPIB hardware and software can perform the roles of Talker Listener and Controller The Cont
128. ode doesn t participate in the bus traffic at all Using the error counters a CAN node can not only detect faults but also perform error confinement The CAN controller s habit of automatically retransmitting messages when errors have occurred can be annoying at times There is at least one controller on the market the SJA 1000 from Philips that allows for full manual control of the error handling The Layout of a Bit From a programmer s point of view each bit on the CAN bus is divided into at least 4 quanta The quanta are logically divided into four groups or segments e the Start Segment e the Propagation Segment e the Phase Segment 1 e the Phase Segment 2 The bus levels are sampled at the border between Phase Segment 1 and Phase Segment 2 Most CAN controllers also provide an option to sample three times during a bit In order to adjust the on chip bus clock the CAN controller may shorten or prolong the length of a bit by an integral number of quanta The maximum value of these bit time adjustments are termed the Synchronization Jump Width SJW IN VEHICLE NETWORKS Gabriel Leen PEI Technologies Donal Heffernan University of Limerick Expanding Automotive Electronic Systems UTCOUN ES A vast increase in automotive electronic systems coupled with related demands on power and design has created an array of new engineering opportunities and challenges he past four decades have witnessed an
129. onization buses and key software features PXI is both a high performance and low cost deployment platform for measurement and automation systems These systems serve applications such as manufacturing test military and aerospace machine monitoring automotive and industrial test Developed in 1997 and launched in 1998 PXI was introduced as an open industry standard to meet the increasing demands of complex instrumentation systems Today PXI is governed by the PXI Systems Alliance PXISA a group of more than 65 companies chartered to promote the PXI standard ensure interoperability and maintain the PXI specification For more information on the PXISA including the PXI specification refer to the PXISA website at www pxisa org Hardware Architecture PXI systems are comprised of three basic components chassis system controller and peripheral modules Chassis VW NI PXI 1042 a D JE FETE Sia m y z engen a y y Tos y y Foz A x Modules Controller 8 T DN Figure 1 A standard 8 Slot PXI chassis contains an embedded system controller and seven peripheral modules PXI Chassis The chassis provides the rugged and modular packaging for the system Chassis generally ranging in size from 4 slots to 18 slots are also available with special features such as DC power supplies and integrated signal conditioning The chassis contains the high performance PXI backplane which includes the PCI bus and timing a
130. onous data transfer method that increases MXIbus throughput for block data transfers From a system standpoint this means that MXI throughput rates can easily keep up with the data rates of high performance computers peripherals and instrumentation From a user standpoint this translates to increased performance and reduced time to test By choosing a PC based MXI approach you are choosing to add value to your VXI instrumentation systems by leveraging technologies that make sense from both a cost and performance perspective 10 MXIbus Applications You can use MXIbus for a variety for a variety of applications You can interface industry standard desktop computers to VXIbus or VMEbus you can create multiple chassis configurations using our VXI MXI or VME MXI extenders and you can integrate VXI and VME chassis into the same test system Figures 5 and 6 show two common configurations with MXIbus Edem al Com puter To Liter ela T arn Figure 5 PC Using MXI to Control a VXIbus System WX errar Embedded i PO Resource hara ger Mix bea Figure 6 MXI Used for Multiple Mainframe VXI System 11 How Does MXIbus Work MXTIbus is a general purpose 32 bit multimaster system bus on a cable MXI interconnects multiple devices using a flexible cabling method similar to GPIB but uses a hardware memory mapped communication scheme that eliminates the software overhead MXI devices can directly access each other s resources by pe
131. ontroller vendors as well as operating systems This is exactly what the VXIplug amp play Systems Alliance has done with VISA MXI Tutorial This section contains an overall introduction to MXI MXIbus Overview The MXI bus is a powerful high speed communication link that interconnects devices using a flexible cabling scheme Derived from the VMEbus MXI provides a high performance way of controlling VXI systems using commercially available desktop computers and workstations National Instruments developed and published the MXI specification and released it as an open industry standard in 1989 In 1995 National Instruments introduced MXI 2 which offers even higher performance A MXIbus system configuration combines the performance benefits of a custom embedded VXI computer with the flexibility and availability of general purpose computers The MXIbus system configuration uses the high speed MXTIbus cable to connect an external computer directly to the VXI backplane With the MXIbus you can locate the computer directly next to the VXI mainframe or up to 20 meters away Using the MXIbus you can easily add other VXI mainframes and use the plug in slots in the external computer for GPIB control plug in DAQ boards or other peripheral adapter cards For instrument control MXI complements high speed platforms such as PCI by harnessing their high throughput potential PCI based desktop PCs compete with the most advanced computer workstations to pr
132. op yors Laut J s1940 y m ajquedwoa aq jou Aew wass 9040 g ur JUJUINIJSUI JUO Pey qtssod st Jr yey IeMe 20 pinous 200 a qussod 31 sanbiuyoa 3unuues301d jo asn ay y3n0Jyj DUIHOIP ay punole YIOM JO AjsnouosyouAs OJJUOD 3381 od pesed as 01 J013u09 ssed Ionuo5 9A139331 SIZESSIU 9I2JIDJUI PUIS CD sanba 2914195 0 puodsay pa Nad Pues E 2931849 aye pue DJ PUIS ZO 19 01JU09 waIs S I npqedes ON 09 D jonu geg apo Ayiqedey apo MSEY uoun y 33834934 ponunuos 1 5 MABL m suonouny PUB sadad dE xew 938 M QL IN IIS 73 XBW 995 SI QONA YSZ 101931109 u dO 13 Autiqedes Ing 110 upiqedes ON OLA 42315 IDMAIP IaM SHWO ZIA Aupiqedes IInq 190 Aupigedes oN 09A uoneind1juo9 290 Zdd uoile1n3giJuo3 3IOWIY Idd npiqedes ON Odd MOJO 290 ON Z TY upiqedes 104 11 Ayjiqedes on 014 Awpiqedes Ing INS Aujiqedes ON OUS VLIW Ji Sassauppeun uas dseg pI V LW J Sassauppeun ATUO u lsr1 uas ISP 371 1 194291511 21epg z 471 1 Ajuo uais 4943381 seg 1 34D1 npiqedes on 0 3D1 VTN J s ss sppeun ye dseg S IL L VIH J s ss sppeun uo MI 194181 dseg ALL VIN J sasss ppeun yod jenas 194 8 S1seq 9 4L L VIW Jt s ss 1ppeun uo x e1 od penas 394 81 31iSseg 3 L L 19 81 91eg p AL L Ajuo ien 19181 3iseq E
133. or an industry standard instrument on a card architecture has been driven by the need for physical size reduction of rack and stack instrumentation systems tighter timing and synchronization between multiple instruments and faster transfer rates than the I Mbytes s rate of the 8 bit GPIB The modular form factor high bandwidth and commercial success of the VMEbus made it particularly attractive as an instrumentation platform The tremendous popularity of GPIB also made it attractive as a model for device communication and instrument control protocols The V XIbus specification adds the standards necessary to combine the VMEbus with GPIB to create a new modular instrumentation platform that can meet the needs of future instrumentation applications Product and company names are trademarks or trade names of their respective companies 340243B 01 Copyright 1996 National Instruments Corporation All rights reserved April 1996 VXI brings the following benefits to instrumentation users e Open multivendor standards maximize flexibility and minimize obsolescence e Increased system throughput reduces test time and or increases capabilities e Smaller size and higher density reduce floor space enhance mobility or portability and give close proximity to devices s being tested or controlled e More precise timing and synchronization improve measurement capability e Standardized VXIplug amp play software eases system configuration programming and i
134. ore than 10 years ago which the Optical Chip Consortium consisting of C amp C Electronics Becker and others has promoted since 1992 D2B was designed for audio video communications computer peripherals and automotive media appli cations The Mercedes Benz S class vehicle uses the D2B optical bus to network the car radio autopi lot and CD systems the Tele Aid connection cel lular phone and Linguatronic voice recognition application Bluetooth Bluetooth is an open specification for an inexpensive short range 10 100 meters low power miniature radio network The protocol pro vides easy and instantaneous connections between Bluetooth enabled devices without the need for cables Potential vehicular uses for Bluetooth include hands free phone sets portable DVD CD and MP3 drives diagnostic equipment and hand held computers Mobile media link Designed to support automotive multimedia applications the mobile media link net work protocol facilitates the exchange of data and control information between audio video equip ment amplifiers and display devices for such things as game consoles and driver navigation maps Delphi Packard Electric Systems developed the MML protocol based on a plastic fiber optic phys ical layer Delphi has installed the system in the Network Vehicle an advanced concept vehicle developed in conjunction with IBM Sun Micro systems and Netscape Figure 1 One sub set of a modern vehicle
135. ous Sa91A9p 8 snq oy uo S 2IA9p Auew ae 2194 U3UA ISA AO0H P AI9231 SI 2140 SNIEIS S SP IW DUES 201 Je JOJSINDII au JO JNUIPI Y 19 OIJUOD 94 03 UNJA JIM 31 BY SI 5u nb s ajod jenas ay JO I3eJueApe MY L 7 98p AAAl pue 188 3341 Aq Pursap se aJ q snie s jod jenas 7 7 danBiy C 88 3331 81S A8 OW3y VOd WiJIS 48 OV3Y 88 331 SLAG SALVIS Le 0901014 887 3331 KE as A ay D ie r Tage Za Af oer ay nay 13 OD dee LE o e i L A nn t e ie Mi LRS SOI DE k Sida tet a a YE D al e AA EE e ee e ATS yo 8 ke gt EJ A wc i u Zog IE Wi i e ju 2 7 Ra K n A T E o pet Is ANAYA bt SCH ki 4 Oy Do x ord Ei 183 ES A Br We F sn Y DN br fen 3 2 De A AS Zb E e Pi BS Bi ya S 3 E 9 8 S 3JOU191 JEWIOU JY 0 P3UINIII SI snq IY UO 3IA9p YLI JPY OS SPUBLIWOS 2IEIHT pue q siG Od ELIAS IY Ytusuen ysNW uay 13 1013409 34 p31 dutuoo SI od jeras ay uayM punoj s 101s nb 1 OUS Yee Jey 3INS aq ol SNQ y UO 3IA p JIAS JOA o P3JDIMIP aq pinous 13 J0 13409 34 UOTJIPUOD S 9JBIPUI 0 IJ Q SNJEJS e UINJAS O P3J9311P pue Passaippe jjenpiarpui St snq ay UO 3IA9p YLI y rym ut aduanbas e jo WIOJ y ut pauuojlad s Suillod jenas SN 34 UO SIDIADP Y JO SNJEIS y Suiuiuu p JO spoyjaw OM YM 1 tulue18o1d gd O ay s piA01d yf od eros pue pod jojjesed
136. ovide a low cost platform that delivers superior performance You can use low cost desktop computers to control sophisticated VXI instrumentation without sacrificing performance or control More importantly as new desktop computers incorporate the latest technology including faster more capable microprocessors and RAM you can easily upgrade your VXI system as these newer and faster computers emerge to immediately reap increased V XI performance gains Thus a PCI based MXI 2 solution such as our VXI PCI8000 gives you excellent performance now with headroom for the future A New Generation of VXI Connectivity Many VXI users migrate from GPIB based systems As a result the National Instruments GPIB V XI is a popular way to control VXI instruments from a GPIB controller An increasingly popular way to control VXI however is to use a custom V XI computer that plugs directly into the VXI mainframe such as the National Instruments VXIpe and VXIcpu Series of embedded VXI computers This embedded approach is technically attractive because the computer communicates directly with the VXIbus and is tightly coupled to the Instruments Although an embedded computer is very powerful custom VXI computers cannot possibly keep pace with the general purpose computer market In the last decade specialized Instrument controllers have rapidly declined General purpose PCs and workstations with their vast array of software and accessories have revolutionized
137. ressCard MXI interface kit bottom The ExpressCard MXI interface kit provides a 110 MB s PCI Express to PCI bridge from the laptop computer to the PXI chassis The PCMCIA CardBus interface kit provides a 50 MB s PCI to PCI bridge from the laptop computer to the PXI chassis Users now have the advantage of mobile portable PXI systems with laptop control of PXI You can purchase any ExpressCard MXI compatible laptop or PCMCIA CardBus compatible laptop to remotely control your PXI system PC Control of PXI With MXI Express and MXI 4 interface kits users can control PXI systems directly from desktop workstation or server computers During boot up the computer will recognize all peripheral modules in the PXI system as PCI devices Figure 4a Remote control with 2 port MXI Express provides simultaneous control of two PXI chassis with combined 160 MB s throughput The MXI Express interface kit provides a 110 MB s PCI Express to PCI bridge from the PC to the PXI chassis With the NI PXI PCle8362 2 port interface kit users will be able to control two PXI systems simultaneously from a single PC Figure 4b Remote control with MXI 4 provides PC control of PXI as well as multichassis PXI systems The MXI 4 interface kit provides a 78 MB s PCI to PCI bridge from PC to the PXI system MXI 4 interface kit comes with low cost copper links or fiber optic links for both extended distances and electrical isolation As shown in Figure 4b yo
138. rforming simple read and writes to appropriate address locations The new MXI 2 standard expands on the MXI 1 standard by exporting all VXI backplane signals such as VXI defined trigger lines interrupt lines and system clocks in addition to the standard MXIbus signals directly to the cabled bus MXI 2 users can accomplish critical timing and synchronization tasks between up to eight daisy chained MXI devices MXI device connectivity is accomplished at the hardware level The MXI cable serves as a transparent link that interconnects multiple MXI devices These devices are interlaced by mapping together portions of their individual address spaces so that a system composed of multiple devices behaves as a single system with a shared address space Figure 7 shows the MXIbus hardware memory mapped communication The immediate benefit of this approach is increased data throughput due to the absence of software overhead Each MXTIbus hardware interface has address window circuitry that detects internal local bus cycles that map out to the MXIbus In addition this circuitry also detects external remote MXIbus cycles of connected devices whose addresses map into the shared memory space of the overall system When a hardware write or read occurs with an address that maps across MXI the MXI hardware interlocks the bus cycle between the devices via the MXIbus This hardware scheme is the same as that used by embedded VXI controllers Plus Uewe Pele bus Cem
139. ric parameters e g M K or u If only specific numeric values are accepted the multimeter will automatically round the input numeric parameters The following command uses a numeric parameter VOLTage DC RANGe lt range gt MINimum MAXimum Discrete Parameters Discrete parameters are used to program settings that have a limited number of values like BUS IMMediate EXTernal They have a short form and a long form just like command keywords You can mix upper and lower case letters Query responses will always return the short form in all upper case letters The following command uses discrete parameters TRIGger SOURce BUS IMMediate EXTernal Chapter 4 Remote Interface Reference Output Data Formats Boolean Parameters Boolean parameters represent a single binary condition that is either true or false For a false condition the multimeter will accept OFF or 0 For a true condition the multimeter will accept ON or 1 When you query a boolean setting the instrument will always return 0 or 1 The following command uses a boolean parameter INPut IMPedance AUTO OFF ON String Parameters String parameters can contain virtually any set of ASCII characters A string must begin and end with matching quotes either with a single quote or with a double quote You can include the quote delimiter as part of the string by typing it twice without any characters in between The following command uses
140. roller in Charge and System Controller Although there can be multiple Controllers on the GPIB at any time only one Controller is the Controller In Charge CIC Active control can be passed from the current CIC to an idle Controller Only the System Controller can make itself the CIC The National Instruments GPIB board is usually the System Controller GPIB Signals and Lines The GPIB interface system consists of 16 signal lines and eight ground return or shield drain lines The 16 signal lines discussed below are grouped into data lines eight handshake lines three and interface management lines five see Figure 2 4 12 NATIONAL INSTRUMENTS Data Lines The eight data lines DIO1 through DIOS carry both data and command messages The state of the Attention ATN line determines whether the information is data or commands All commands and most data use the 7 bit ASCII or ISO code set in which case the eighth bit DIO8 is either unused or used for parity Handshake Lines Three lines asynchronously control the transfer of message bytes between devices The process is called a 3 wire interlocked handshake It guarantees that message bytes on the data lines are sent and received without transmission error e NRFD not ready for data Indicates when a device is ready or not ready to receive a message byte The line is driven by all devices when receiving commands by Listeners when receiving data messages
141. roughput who knows what tomorrow may hold How can you take these benefits both now and in the future We believe that the answer is MXI MXI provides you with a solution that combines the performance benefits of an embedded VXI computer with the flexibility of a general purpose desktop computer Our VXI PCI8000 controller and our next generation MXI 2 provides you with an ultra high performance VXI connectivity solution that can meet your needs both today and well into the future Although traditional connectivity solutions have proved to be very effective they also have proved to be the bottleneck in V XI test systems because the software protocol overhead associated with these methods significantly reduced the achievable throughput on the link Using MXI this bottleneck is eliminated altogether because MXI devices are connected at the hardware level by mapping each physically separate system into a shared memory space Physically separate devices transparently share resources through simple reads and writes to the appropriate address in memory Our next generation MXI 2 products enhance VXI connectivity by defining a single memory mapped backplane on a bus that can transparently extend bus level I O V XI triggering interrupts and systems clocks between systems You can now use a single cable to conveniently share trigger and timing information between mainframes in a multiple mainframe configuration The MXI 2 0 specification also defines a synchr
142. s A command string sent to the multimeter must terminate with a lt new line gt character The IEEE 488 EOI end or identify message is interpreted as a lt new line gt character and can be used to terminate a command string in place of a lt new line gt character A lt carriage return gt followed by a lt new line gt is also accepted Command string termination will always reset the current SCPI command path to the root level 17 _ Chapter 4 Remote Interface Reference An Introduction to the SCPI Language IEEE 488 2 Common Commands The IEEE 488 2 standard defines a set of common commands that perform functions like reset self test and status operations Common commands always begin with an asterisk are four to five characters in length and may include one or more parameters The command keyword is separated from the first parameter by a blank space Use a semicolon to separate multiple commands as shown below ARST CLS ESE 323 OPC SCPI Parameter Types The SCPI language defines several different data formats to be used in program messages and response messages Numeric Parameters Commands that require numeric parameters will accept all commonly used decimal representations of numbers including optional signs decimal points and scientific notation Special values for numeric parameters like MINimum MAXimum and DEFault are also accepted You can also send engineering unit suffixes with nume
143. s you can exchange an instrument that makes a particular measurement with another instrument capable of making the same measurement without changing the SCPI command The MEASurement component is subdivided into three distinct parts INPut SENSe and CALCulate The INPut NATIONAL INSTRUMENTS 4 17 oj p S GPIB Tutorial AA 7 C0e zz component conditions the incoming signal before it is converted into data by the SENSe block INPut functions include filtering biasing and attenuation The SENSe component converts signals into internal data that you can manipulate SENSe functions control such parameters as range resolution gate time and normal mode rejection The CALCulate component converts the acquired data into a more useful format for a particular application CALCulation functions include converting units rise time fall time and frequency parameters The signal generation component converts data into output as physical signals SCPI subdivides the signal generation block into three function blocks OUTPut SOURce and CALCulate The OUTPut block conditions the outgoing signal after it is generated OUTPut block functions include filtering biasing and attenuation The SOURce block generates a signal based on specified characteristics and internal data SOURce block functions specify such signal parameters as amplitude modulation power current voltage and frequency T
144. s in the messages instead the messages can be said to be contents addressed that is their contents implicitly determines their address Message Types There are four different message types or frames on a CAN bus e the Data Frame e the Remote Frame e the Error Frame and e the Overload Frame The Data Frame The Data Frame is the most common message type It comprises the following important parts a few details are omitted for the sake of brevity e the Arbitration Field which determines the priority of the message when two or more nodes are contending for the bus The contents of the Arbitration field which is 11 or 29 bits long is usually called the Identifier however there is no obligation that the Arbitration field really contains any kind of identifier e the Data Field which contains zero to eight bytes of data e the CRC Field which contains a 16 bit checksum calculated on most parts of the message This checksum is used for error detection e an Acknowledgement Slot any CAN controller that has been able to correctly receive the message sends an Acknowledgement bit at the end of each message The transmitter checks for the presence of the Acknowledge bit and retransmits the message if no acknowledge was detected It is worth noting that the presence of an Acknowledgement Bit on the bus does not mean that any of the intended addressees has received the message just that one node on the bus has received i
145. s is because the arbitration scheme requires that the wave front can propagate to the most remote node and back again before the bit is sampled In other words the cable length is restricted by the speed of light A proposal to increase the speed of light has been considered but was turned down because of its inter galactic consequences Other maximum cable lengths are these values are approximate e 100 metres 330 ft at 500 kbp s e 200 metres 650 ft at 250 kpb s e 500 metres 1600 ft at 125 kbp s e 6 kilometres 20000 ft at 10 kbit s Some CAN controllers will handle higher speeds than 1 Mbit s and may be considered for special applications CAN connectors There is no standard at all Usually each Higher Layer Protocol defines one or a few preferred connector types Common types include e 9 pole DSUB proposed by CiA e 5 pole Mini C and or Micro C used by DeviceNet and SDS e 6 pole Deutch connector proposed by CANHUG for mobile hydraulics Standard vs Extended CAN Originally the CAN standard defined the length of the Arbitration Field to eleven 11 bits Customer demand forced an extension of the standard The new format is often called Extended CAN and allows no less than twenty nine 29 bits in the Arbitration Field The standards are formally called e 2 0A with 11 bit Arbitration Field only e 2 0B extended version with the full 29 bit or the old 11 bit you can mix them Arbitration Field A 2 0B
146. s3 eg seurq g 3ursn pazrueSio SI JE pue s lim Q JO 830 UO UONEWIOJUI JUL Be ue snq pue BJEP SOLLIEI YS1Yym SUUBYO SUONEIIUNWWOI ABM OMJ ESI GIqD ML SNOILVOINAWANOD dild5 BUIWOD JO uo o2 e Aq pajesedas Ajjensn Arepuodas y Udy ssauppe Aiguud y JUSULA Js r Jsnw 19 0NU09 ay 3IA9p L UI SSIJPpe AJBPUODAS g SSIDIR OJ SPUEWWOI 1eAJJos IY ur YONS ep paje313 oq ISNUW pue Ssoippe rewud e st 991Aap e ut SSIJPPe dn nu yoeg ssaippe JBPuOIaS e yl sassoippe dn nui asnjuoa jou oq ST PUB PI 10 6 PUL 8 SB yons 9AINIISUOI IL YOIYM SISSJIPPE OM 199 9S PInom SOYOUMS INOJ FUIUIe WII 3y JO Suni s a Buls e adtAap e uo pay uo sem yms JuSISA JeuIq I ug au JI opduexo 104 Ss 1ppe 94 199 98 0 Sq JAI ensn ay uey 19A 9J asn Ajjes dkj s 3tA p say pue sassaippe dn nuui ssosppe uasi 10 ale 3uo uey aow savy Aew S19 ulid 19o d se y ns s biA9p gla JUOS Wiatsks 998J19 UI Y UL 19 onuo3 JUO ULY JIOLU SI 9194 usym Aejd out JWOD ULI SIPOI 199195 ILJU ur Snjd 10 1 nd WO9 dU UU P3 JB90 PILI 99eJIajur UR UO J9S eoISAyd aq ue YSIYM SPOS 199 9S Y YIM IDUPPIOIIL UI I9 J011U09 PIEXSEI NOIMIH jes dA e Aq pasinbad st apoo ssa ppe au jo ued se 9d uiexo emm uj 2181 03 S A p AUS Jey J9NIJSUL JIM EOL YWALNA Puewwos ayy U9 S O EQ Ssouppe Arewud uA 31A9p 94 nsu LM 9 duiexo 103 DISV dH ut 0L LAdLNO Se yons puewwoa ajduns y SJ1Q YJUIASS PUE YIXIS y JINBIJUOI Aj
147. se oi pau19391 are ISIL 1 lonuoo ay Aq si9ua sI 3UNE30119 u1 JO spou om S ptA01d waIs s 2D8JJDUI JUL ONITIOd puewwo Odd IYI D9A19531 JALU Jey SODIADP Passa ppe ay ay wol asuodsa Aue sjuaacid Add 29esiq 110d 9 818 4 puewwos Arepuodas JIYJOUY SNJejS EI IJPIIPUL O aul O I 2p Jenoned e uo spuodsa 31 I onuoo y wouy puewwos Odd OY S AI93991 IIAP AI UJUM II SMOL OF YOIyM PURWIWOS Add 201 HA 2DUPPIODIR ur paIn3rjuoa 20 0 J9U9 SI p ss Ippe ay sasned 1 puewwo qeuq lOd Peed puewwos Jepuodas e yum uorpunfuoa ur pasn SI puewwos styr Odd 31n8UuoO Jog peed pouu 9JOWDI 343 0 UINJ31 IM 31 puewwos juanbasqns e ym passa p peal 20 IDAIJP Y PINOYS onuo5 faued Juos fenuew O UINJSI PUB 9 8 S 3 OUI I SII SABI 0 19u3 SI p ss ppe JU3JINI y sasned Puewwo9 SH CU 8907 0105 e 3IA p Y JO JomNJoejnuew ou Aq parjroads se 9 23S PAUlWa apaid L 03 12531 O J9UISI PISSaIppe IUILINO e sasned puewwos SIUL OGS IBID 3IA9G PAS Z S 3IA D Possoippe je ur Suui933in snoaueynuwrs 2onpold ues JENUEW gid9 887 3331 92 UOSP3aI Aue JO sum Zene 2JLIDUIZ o SIUSWUINISUL GIdD y uad jou SIOP u3 uA Juawpuawe 1864 4331 YM p9A os 1 u q SEH SIOJRULUIO adessaw IY JIAO UOISNJUOD JO 9d1NOS q issod styr 19 01Ju09 24 ut 10119 ue Zuneass 3 Q erep ISIN OY SE J9JOBILYS JT J9A0139 Iy PUIS Im 1 ULETE 3 8 0 POJONIJSU SI 91A9p Jey USYM UY L IIVI 94 ut J9JDCI
148. section 9 1 2 of the USB specification However when writing USB firmware for the first time it is handy to know exactly how the host responds during enumeration rather than the general enumeration process detailed in the specification A common Windows enumeration involves the following steps 1 The host or hub detects the connection of a new device via the device s pull up resistors on the data pair The host waits for at least 100ms allowing for the plug to be inserted fully and for power to stabilise on the device 2 Host issues a reset placing the device is the default state The device may now respond to the default address zero 3 The MS Windows host asks for the first 64 bytes of the Device Descriptor 4 After receiving the first 8 bytes of the Device Descriptor it immediately issues another bus reset 5 The host now issues a Set Address command placing the device in the addressed state 6 The host asks for the entire 18 bytes of the Device Descriptor 7 It then asks for 9 bytes of the Configuration Descriptor to determine the overall size 8 The host asks for 255 bytes of the Configuration Descriptor 9 Host asks for any String Descriptors if they were specified At the end of Step 9 Windows will ask for a driver for your device It is then common to see it request all the descriptors again before it issues a Set Configuration request The above enumeration process is common to Windows 2000 Windows XP and Windows 98
149. sed ur snq 91 H S29 AaP fe J99UU09 o qtssod sr y ur s s sy Suter UONIPuo 9111 9JE9IPUI o 343 ISEIJOA 019Z 0 Saur Ay ind Y9TYA SINI Indino 103931109 uado 1o sisuen 431m PAUSISIP aq o SIDIADP ELO MO E O SI UONUIAUOD SISO JALEZaU sry JOJ uosea1 juejiodul uy 9S EJ 10 ANI JOU SE Douuap SI PUE Jo AA 9130 e sey uado s ENUEN id 887 3331 vl P 1llluri d aq UOISSIUISUEI ejep e JIM I SI 9A3 9130 S Jey OS Jur sry 9seaja snq 34 UO S 3IA D pajeadai SI 31243 y pue 10 da00R ISIMO S 201 YUM Y31y S903 AUN LL STAG PUEA AEU SSAA 3 le vaym JUO Sunusue wos snq oy uo 19 81 19410 uoneredard ur MO 200 IVAN 24 Stas J01d3998 15113 UL OL 1 Aue 10 19 o1uo ou Suniqiuur pue uonipuoa an e Jur Kq 1x u ay WJOJ o a3urya Uy Ee RIP IYL PHRA J93UO WEOIPU A 201 QAAN 343 Und pra 1 uosea1 Aue 10 erep ou SI ejep 24 IY EDU O uS u s o8 au AVA UL SL 3 2412921 0 pe 1 Jou SI Ju unnsui Aue J UOISSIUISUE eepe pp aii DIESE Sary soa 4 13998 0 ssouIpeal Jo suonipuoo 1134 ae 0 snq ayy uo an ee 4 S3DJA9P US q pasn st 201 101 Teen 107 Pea1 jou GAAN I eyep oy SIdID 8 PUB SIALIDIL JOIdIDIR ISIMO S DY UIYAA PL a AAO 0 0 9J Q JX3U 34 10 Apea JOU SI II e Zuneotput mor dull CAN AU ges 103d300e 1911 SUL EL 3 193SUE EJEP Y ONUOD YOJYA Saul ayeYspueY 9914 ayy ep je moj aut AVG 241 Sutlind Aqeyepayp sojepifea NOSL T
150. sfer rate of a GPIB system All devices involved in a data transfer must be HS488 compliant to use the HS488 protocol but when non HS488 devices are involved the HS488 devices automatically use the standard IEEE 488 1 handshake to ensure compatibility HS488 is a superset of the IEEE 488 standards HS488 has been proposed as an addition to the IEEE 488 1 standard and is currently being considered by the Working Group for Higher Performance IEEE 488 1 IEEE 488 Handshake The standard IEEE 488 1 3 wire handshake shown in Figure 7 requires the Listener to unassert Not Ready for Data NRED the Talker to assert the Data Valid DAV signal to indicate to the Listener that a data byte is available and for the Listener to unassert the Not Data Accepted NDAC signal when it has accepted that byte A byte cannot transfer in less than the time it takes for the following events to occur NRED to propagate to the Talker DAV signal to propagate to all Listeners the Listeners to accept the byte and assert NDAC the NDAC signal to propagate back to the Talker and the Talker to allow a settling time T1 before asserting DAV again HS488 Handshake HS488 increases system throughput by removing propagation delays associated with the 3 wire handshake To enable the HS488 handshake the Talker pulses the NRED signal line after the Controller addresses all Listeners If the Listener is HS488 capable then the transfer occurs using th
151. such as the amount of power this particular configuration uses if the device is self or bus powered and the number of interfaces it has When a device is enumerated the host reads the device descriptors and can make a decision of which configuration to enable It can only enable one configuration at a time For example it is possible to have a high power bus powered configuration and a self powered configuration If the device is plugged into a host with a mains power supply the device driver may choose to enable the high power bus powered configuration enabling the device to be powered without a connection to the mains yet if it is connected to a laptop or personal organiser it could enable the second configuration self powered requiring the user to plug your device into the power point The configuration settings are not limited to power differences Each configuration could be powered in the same way and draw the same current yet have different interface or endpoint combinations However it should be noted that changing the configuration requires all activity on each endpoint to stop While USB offers this flexibility very few devices have more than one configuration DeviceDescnptor Configuration Configuration Descriptor Descriptor bNuminteraces bMuminterfaces Interface Interface Descriptor Interface Descriptor Interface Descriptor Descriptor bNumEndpoints bNumEndpoints bNumEndpoints bNumEndpoints
152. sue uy SI9INJIPNURUI OM 10 JU9I9JJIP IQ P NOD 10 JURdIZIUSIS Jsow pue Jsea ay UIIMIIQ u nb s ay pasn ase JIA 10 seurq sind se sjeuuoj p epuejs yons UIYM U Aq Soul 14319 au UO uonguuojut SSaIdwoa 0 nbruuo 1 JUIPODUI J9YIO Aue aen 0 9917 SI IMAP g dO L Jo 1318398 nueu oy nq pasn sr T Z s nd g 3po5 IIOSV 1q 4 e Ajfeunuon SI U9 SI ANDE je 0 EJEP Suto1nos SI 193 8 DANO DY pue STEF SI OUT NIV 94 u uA SNQ 398J19 U1 IY JO SOUT O I VIP 34319 au uo p yrusueay SI YOIYM ejep oy oe sun adessau Juapusdap 2D1A9p uoys u LAD 19 lonuoo 343 uo p onpoid 1 1232 9q 0 uroJ ABA x jdwo e Jo adeys y p31ols savy Lew adoosoj ioso 3urzni31p v Ados prey e 99npo1d way pInom y rym 1I Jurid e o juas aq PIno9 1 onuoo oy Aq pagejrwisse eje q Zurssa901d r ulinJ 107 A owau S JO OJJUOD y U P3JOJS IQ ueO J Jey OS JI jtusuen O 1333W Y JONIJSUI ENUEN Old 887 3331 Oc KSE ee m AD en m ee Gg iaaa ME eebe CG REN TRATEN SE saut O I 8p 14319 y UO 11q snyejs e adejd snq ayy uo sa91Aap 14319 01 dn yorya ur pod aypesed e 93n9axa 0 aut syr s sn J lonuo2 dy any SIN LV UayM OL HOSV LYI Daat aut E JO uoNeI19U93 Y Aq PayedIpU 20 O UOISSILUSUB e jo pua ay suuuad osje prepuejs 88p JJAI JUL adessoul ejep e JO 31 q ISP 941 9JLOIPUI O Jayje JANJE UL Aq pasn SI Jur JNUIP JO pug y ans JOU st aut N LY 243 U3YA TOA 3914398 SIJINDII JUO YOIYM IU
153. t correctly The Remote Frame The Remote Frame is just like the Data Frame with two important differences e itis explicitly marked as a Remote Frame a certain control bit is used for this purpose and e there is no Data Field The intended purpose of the Remote Frame is to solicit the transmission of the corresponding Data Frame If say node A transmits a Remote Frame with the Arbitration Field set to 234 then node B if properly initialized might respond with a Data Frame with the Arbitration Field also set to 234 This can be used to implement a type of request response type of bus traffic management In practice however the Remote Frame is little used It is also worth noting that the CAN standard does not prescribe the behaviour outlined here Most CAN controllers can be programmed either to automatically respond to a Remote Frame or to notify the local CPU instead Sometimes it is claimed that the node responding to the Remote Frame is starting its transmission as soon as the identifier is recognized thereby filling up the empty Remote Frame This is not the case The Error Frame Simply put the Error Frame is a special message that violates the rules of CAN It is transmitted when a node detects a fault and will cause all other nodes to detect a fault The transmitter can then retransmit the message There is an elaborate scheme of error counters that ensures that a node can t destroy the bus traffic by repeatedly transmitti
154. terchange instruments SCPI is a complete yet extendable standard that unifies the software programming commands for instruments The first version of the standard was released in mid 1990 Today the SCPI Consortium continues to add commands and functionality to the SCPI standard SCPI has its own set of required common commands in addition to the mandatory IEEE 488 2 common commands and queries Although Signal Routing Measurement Function Signal fra INPut ee ENSe RG CALCulate _ FORMat Routing ee Der ya i data bus TRIGger MEMory DISPlay SOURce Signal Generation CALCulate FORMat I data bus Figure 10 The SCPI Instrument Model IEEE 488 2 is used as its basis SCPI defines programming commands that you can use with any type of hardware or communication link SCPI specifies standard rules for abbre viating command keywords and uses the IEEE 488 2 message exchange protocol rules to format commands and parameters You may use command keywords in their long form MEASure or their short form shown in capital letters MEAS SCPI offers numerous advantages to the test engineer One of these is that SCPI provides a comprehensive set of programming functions covering all the major functions of an instrument This standard command set ensures a higher degree of instrument interchangeability and minimizes the effort involved in designing new test systems The SCPI command set is hierarchical so a
155. tes and headless operation no keyboard mouse or monitor System Configuration The fastest and easiest way to specify and configure your new PXI system is by using the online PXI Advisor or PXI SCXI Advisor The advisors lead you through a series of questions to help you build your new PXI system with a system controller software modules accessories and PXI or PXI SCXI combination chassis You build your system by answering simple questions and selecting the products best suited to your needs and you can print or export the image of your PXI system for use in proposals or design reviews Additionally the advisors will make recommendations on technical matters such as specific slot placement of modules cables and terminal accessories and integrated software packages The advisors also use behind the scenes logic to prevent incompatible configurations For example if you select a LabVIEW Real Time PXI controller the advisors will automatically restrict PXI measurement module selection to only those compaatible with LabVIEW Real Time When you are satisfied with your configuration you can pass that configuration to a National Instruments representative for order or you can automatically order through the online store With NI Factory Installation Services as part of your order you will receive your PXI system just as you configured it NI installs your selected PXI modules in your chassis and installs any memory upgrades National Ins
156. that combine a number of control sequences to perform common test system operations IEEE 488 2 defines two required protocols and six optional protocols as shown in Table 2 These protocols reduce development time because they combine several commands to execute the most common operations required by any test system The RESET protocol ensures that the GPIB has been initialized and all devices have been cleared and set to a known state The ALLSPOLL protocol serial polls each device and returns the status byte of each device The PASSCTL and REQUESTCTL protocols pass control of the bus between a number of different devices The TESTSYS protocol instructs each device to run its own self tests and report back to the Controller whether it has a problem or is ready for operation NATIONAL INSTRUMENTS 4 15 enoni Tutorial Wawas GPIB Tutorial N lt gt System Data Identification query Internal Operations Reset Internal Operations Self test query Synchronization Operation complete Synchronization Operation complete query Synchronization Wait to complete Status and Event Status and Event Status and Event Status and Event Status and Event Status and Event Status and Event Clear status Event status enable Event status enable query Event status register query Service request enable Service request enable query Read status byte quer Table 3 IEEE 488
157. the host polls it before it can report that it needs urgent attention Interrupt Transfers are unidirectional and use a stream pipe This type of transfers are typically non periodic small device initiated communication requiring bounded latency such as a mouse or keyboard An Interrupt request is queued by the device until the host polls the USB device asking for data The maximum data payload size for low speed devices is 8 bytes for full speed devices is 64 bytes and for high speed devices 1024 bytes e Isochronous Transfers Isochronous transfers occur continuously and periodically They typically contain time sensitive information such as an audio or video stream If there were a delay or retry of data in an audio stream then you would expect some erratic audio containing glitches The beat may no longer be in sync However if a packet or frame was dropped every now and again it is less likely to be noticed by the listener Isochronous Transfers provide Guaranteed access to USB bandwidth Bounded latency e Stream Pipe Unidirectional e Error detection via CRC but no retry or guarantee of delivery e Full amp high speed modes only e No data toggling The maximum size data payload is specified in the endpoint descriptor of an Isochronous Endpoint This can be up to a maximum of 1023 bytes for a full speed device and 1024 bytes for a high speed device As the maximum data payload size is going to effect the bandwidth r
158. truments application software and required driver software on your embedded controller Summary PXI modular instrumentation defines a rugged computing platform for measurement and automation users that clearly takes advantage of the technology advancements of the mainstream PC industry By using the standard PCI bus PXI modular instrumentation systems can benefit from widely available software and hardware components The software applications and OSs that run on PXI systems are already familiar to users because they are already in use on common desktop computers PXI meets your needs by adding rugged industrial packaging plentiful slots for I O and features that provide advanced timing and triggering capabilities 4 USB An introduction to the USB bus Compiled from A USB Primer by Brian K Lewis Ph D Member of the Sarasota Personal Computer Users Group Inc USB in a nutshell by Craig Peacock and USB Complete Everything You Need to Develop Custom USB Peripherals by Jan Axelson Introduction The main reason for developing the Universal Serial Bus USB was to reduce the amount of cabling at the back of PCs Apple developed the Apple Desktop Bus with this intention where both the keyboard mouse and some other peripherals could be connected together daisy chained using one cable and this was the first development of the USB bus USB ports have a number of advantages over the old system of parallel serial ports
159. ts and configure them to generate interrupts or signals in a particular way For example a Commander can instruct its Servants to use a particular interrupt line to send signals rather than generate interrupts or configure the reporting of only certain status or error conditions Although the Word Serial Protocol is reserved for Commander Servant communications peer to peer communication between two VXI devices can be established through a specified shared memory protocol or by simply writing specific messages directly to the signal register of the device Slot 0 and the Resource Manager The leftmost slot of a VXI chassis has special system resources such as backplane clocks configuration signals and synchronization trigger signals and therefore must be occupied by a device with VXI Slot 0 capabilities The VXI Resource Manager RM function essentially a software module can reside on any VXI module or even on an external computer The RM in combination with the Slot O device identifies each device in the system assigns logical addresses memory configurations and establishes Commander Servant hierarchies using the Word Serial Protocol to grant Servants to the Commanders in the system After establishing the Commander Servant hierarchy the RM issues the Begin Normal Operation Word Serial command to all top level Commanders During normal system operation the RM may also halt the system and or remap the hierarchy 1f necessary Three
160. u ay Aq pouljap ase SID R OM IXdU MY L uonounj 9Yeys puey y pue suoneoijioads Banda IYI SJOJO3UUOD PUB ajqed au se yans sjaadse earueyaaw Iy SIPN DUI uono s SIY JO uonounj IYL snq 1889 14 AI IY 10 J9 B SIBZESSINA 998J19lu JJOWIY Y Zurag JAR ISIMOJ Ay YIM SIS R euonounj 819A9S OJUT PIPIAIP aq UB waIs s 2DPJ19UL AL 1 88y 4441 PIepue s 3unsixa oy YIM SYIOM piepuejs Z 88p AAAI 201 MOY s ensni I I 21N314 spiepuels Z pue gEP III1 Oy Junensnj samonns dldd 1 1 NJIA OYWONVIS um OYVONYIS SO3dS an as HT 883331 Z 98 333 SUN ININNALSNI sng LNINNYLSNI Ko SR SE so a g I 88 V V g 9 q SIIVSSIAN di JLOWIY SIYNLINYIS VIVO ONY XVLNAS sS3IX3NO ANY SONVNNOD NOWWOD SIIVSSIWN LNSQN3d50 22820 S sng uonglu uunasuj sodinq eJauas ay PAA ypiqedes wnuwnurw e piAoid Kay D iuauat1d ut are suonouny 9534 UJYM Jey S ND 2 88y 494 Jainjoejynuew JUJWUNIISUI 34 UHA peuondo yay are 193311 3914p pue od a pesed se yons suon duny 13410 ydnoyyjy sisanbas aotasas Jo ajqedea aq pue spuew WO9 JB9 9 AMASP 0 puods 1 U9SI pue yje se yons san iqedes UIBJ139 aplAoid SIDASP 12 jeu Suunb Aq aen 0 1o1ses uuatste 998J13JUl BY IMBLU 0 PIUBSISIP SEM Dippupis Z 88y IA JUL SJUSWUBISSE SSIIPPE INEWOINY suonounj JUJWNIISUI YIM Jurwwelgold SulziuorysudS Zunsoda snjejs jjod penas uowwoy SJUJLUNIISUT 8 UT NJasn 20 pinoA yd yMm spuewwo JO Jos y S
161. u can build multichassis PXI systems with MXI 4 as well Using a MXI 4 link you can implement either a daisy chain or a star topology to build multichassis systems For more information on topologies for multichassis configurations refer to the MXI 4 Series User Manual You can purchase any desktop workstation or server computer and then remotely control your PXI system using either MXI Express or copper fiber optic MXI 4 serial link For more information please refer to PC control of PXI With PXI remote controllers you can maximize processor performance with minimized cost by using a desktop computer or laptop to remotely control a PXI system Because all remote control products are software transparent no additional programming is required PXI Embedded Controllers Embedded controllers eliminate the need for an external PC therefore providing a complete system contained in the PXI chassis PXI embedded controllers are typically built using standard PC components in a small PXI package For example the NI PXI 8187 controller has a Pentium 4 M 2 5 GHz processor up to 1 GB of DDR RAM a hard drive and standard PC peripherals such as USB 2 0 Ethernet serial and parallel ports Additionally you can install your choice of OSs on the PXI controller including Windows 2000 XP or LabVIEW Real Time yarns O A TRUMENTS y Rn 2 b I em o 24 TULLU x D HL Bink Ik het Figure 5 National
162. uch as Cypress Semiconductor also use a programmable resistor for Re Numeration purposes in their EZUSB devices where the one device can be enumerated for one function such as In field programming then be disconnected from the bus under firmware control and enumerate as another different device all without the user lifting an eyelid Many of the EzUSB devices do not have any Flash or OTP ROM to store code They are bootstraped at connection You will notice we have not included speed identification for High Speed mode High speed devices will start by connecting as a full speed device 1 5k to 3 3V Once it has been attached 1t will do a high speed chirp during reset and establish a high speed connection if the hub supports it If the device operates in high speed mode then the pull up resistor is removed to balance the line A USB 2 0 compliant device is not required to support high speed mode This allows cheaper devices to be produced if the speed isn t critical This is also the case for a low speed USB 1 1 devices which is not required to support full speed However a high speed device must not support low speed mode It should only support full speed mode needed to connect first then high speed mode if successfully negotiated later An USB 2 0 compliant downstream facing device Hub or Host must support all three modes high speed full speed and low speed USB Protocols Unlike RS 232 or similar serial interfaces where the format of data b
163. unctions GPIB Devices can be Talkers Listeners Types of GPIB Messages as initializing the bus addressing and and or Controllers A Talker sends data Sr GPIB devices communicate with other unaddressing devices and setting device messages to one or more Listeners which GPIB devices by sending device dependent modes for remote or local programming receive the data The Controller manages the messages and interface messages through flow of information on the GPIB by sending the interface system The term command as used here commands to all devices A digital voltmeter Device dependent messages often called should not be confused with some device for example is a Talker and is also a Listener data or data messages contain device instructions that are also called commands specific information such as programming Such device specific commands are actually The GPIB is like an ordinary computer bus instructions measurement results data messages as far as the GPIB interface except that a computer has its circuit cards machine status and data files system itself is concerned interconnected via a backplane the GPIB has stand alone devices interconnected by standard cables The role of the GPIB Controller is 8 Data Lines comparable to the role of a computer CPU but a better analogy is to compare the Controller to the switching center of a city telephone system Signal Lines A Handshaking Lines The switching center Co
164. undation will take the greater market share World Factory Instrumentation Protocol The World Factory Instrumentation Protocol WorldFIP was developed from an earlier French National Standard known as NFC 46 600 or more commonly as FIP It is a consortium of companies producing field bus instruments that use a messaging system Time critical options are supposedly guaranteed in a WorldFIP implementation WorldFIP plans to add a device description tool known as the WorldFIP Device Builder The Device Builder will automatically inform the control system what features and parameters each instrument connected to the bus has Interestingly WorldFIP is divisional in nature with a UK European and North American division Each division is motivated by similar goals and similar implementations but each operates almost autonomously from the others Some of the major members of WorldFIP include Honeywell Arizona Bailey Controls Ohio Cegelec Paris Allen Bradley Corporation Ohio Telemecanique Paris Ronan Engineering Co California Square D Electricite de France France Elf France Interoperable Systems Project The Interoperable Systems Project ISP implementation is based on the German National Standard DIN STD19245 also known as Process Field Bus or Profibus Profibus is similar to the token passing network commonly implemented on many networks today The ISP extension to Profibus is the Device Description Language
165. use and end user success In fact many of the largest instrument suppliers in the world are members of both organizations including National Instruments GenRad Hewlett Packard Racal Instruments and Tektronix With VXIplug amp play you are assured that components from different vendors will work reliably in the same system Members of the VXI Consortium and the VXIplug play Systems Alliance have combined their expertise to develop technically sound standards for both hardware and software bringing the entire industry into a new generation of instrumentation a generation that stresses ease of use and open systems without sacrificing flexibility or performance VXIbus Mechanical Configuration Physically a VXIbus system consists of a mainframe chassis that has the physical mounting and backplane connections for plug in modules as shown in Figure 1 The VXIbus uses the industry standard IEEE 1014 VMEbus as a base architecture to build upon As shown in Figure 2 VXI uses the full 32 bit VME architecture but adds two board sizes and one connector The P1 connector and the center row of the P2 connector are retained exactly as defined by the VME specification The VME user definable pins on the P2 connector and the additional pins on P3 the third VXI connector implement instrumentation signals between plug in modules directly on the backplane EA A Z Se F Figure 1 A VXIbus System The VXIbus specification includes packaging requ
166. ut a USB device could mean a USB transceiver device used at the host or peripheral a USB Hub or Host Controller IC device or a USB peripheral device The standard therefore makes references to USB functions which can be seen as USB devices which provide a capability or function such as a Printer Zip Drive Scanner Modem or other peripheral Bus Host USB Device LL LL Addrl Endpoint Direction My Function My Function Most functions will have a series of buffers typically 8 bytes long Each buffer will belong to what is referred to as an endpoint EPO IN EPO OUT etc see below Say for example the host sends a device descriptor request The function hardware will read the setup packet and determine from the address field whether the packet is for itself and if so will copy the payload of the following data packet to the appropriate endpoint buffer dictated by the value in the endpoint field of the setup token It will then send a handshake packet to acknowledge the reception of the byte and generate an internal interrupt within the semiconductor micro controller for the appropriate endpoint signifying it has received a packet This is typically all done in hardware The software now gets an interrupt and should read the contents of the endpoint buffer and parse the device descriptor request Endpoints Endpoints can be described as sources or sinks of data As the bus is host centric endpoints occur at the end of the com
167. y set or automatically configured by the system at startup is analogous to the GPIB address of a GPIB device Device Dependant Regita s YAI Config u aton peace Upper 16 EE of Alb space peered for Reserved by lla iz al conigurat on spa ce Speciosion B E pa device Ghrloocel address peces ba ze address Tor eech derc Communication Regsters 255 devices par WA eter 2 Required tor wil farsa ge Bed Demos Contgurton Reg ierz Required fr al Yal Devices Figure 3 VXI Configuration Registers Register Based Devices Because of the VXI configuration registers which are required for all VXI devices the system can identify each VXI device its type model and manufacturer address space and memory requirements VXIbus devices with only this minimum level of capability are called Register Based devices With this common set of configuration registers the centralized Resource Manager RM essentially a software module can perform automatic system and memory configuration when the system is initialized Message Based Communication In addition to Register Based devices the VXIbus specification also defines Message Based devices which are required to have communication registers and configuration registers All Message Based VXIbus devices regardless of the manufacturer can communicate at a minimum level using the VXI specified Word Serial Protocol When minimum communication is possible higher performance communication chan
Download Pdf Manuals
Related Search
Related Contents
VHDI-WIR100M Jwin jk-3030 User's Manual KL-MINI 内装脱着取扱説明書 Kingston Brass HK221755BNL Installation Guide Manuel du propriétaire Horizon Fitness EX-59 Exploded Diagram A Tour of Trellis Graphics Manual de instalación y funcionamiento del uSwitch™ GUIDE DE L`UTILISATEUR Copyright © All rights reserved.
Failed to retrieve file