obd ΔΙΠΛΩΜΑΤΙΚΗ

Download obd ΔΙΠΛΩΜΑΤΙΚΗ

Post on 17-Jan-2016

42 views

Category:

Documents

0 download

Embed Size (px)

DESCRIPTION

obd ΔΙΠΛΩΜΑΤΙΚΗ

TRANSCRIPT

  • J1850 PWM

    : ..

    , 2008

  • 2

  • 3

    J1850 PWM

    : ..

    ...... 2008

    ......... ......... ......... ... ... ...

    , 2008

  • 4

    ................................... .

    ...

    Copyright 2008 . All rights reserved. , , , . , , , . . .

  • 5

    J1850PWM:) OBD (On BoardDiagnostics) RS232.)(GUIGraphicUserInterface) Java, ,.:

    1.

    2 .

    3 SAE J1850PWM . .

    4 .

    5 . , .

    .

    :,,,,,,.

  • 6

  • 7

    Abstract

    Thisessaydescribes thedesignprocedureand the implementation in twobasicstages:

    A) FirstlyanelectroniccircuitthatobtainsOBD(OnBoardDiagnostics)datafromthecarconnectorandtransmitsittothePCthroughanRS232port.

    B) SecondlyaGUI(GraphicUserInterface),implementedinJava,whichplotstheresultsthatareobtainedfromthevehiclethroughtheboard.

    Thestructureoftheessayisthefollowing:

    The1stChapterisanoverallreviewofthemainsubjectthemeofthisessay. In the2ndChaptera flashback ismade to familiarize the readerwith the

    procedures that led to the todayprotocols and created thenecessity fornewmethodsfordataacquisitioninvehicles.

    Inthe3rdChaptertheSAEJ1850PWMprotocolisdescribedforwhichtheelectroniccircuit,whichwasmentionedabove,wasdesigned.Atthispointit should be noticed that this circuit can easily support other OBDprotocolswhicharebeyondthescopeofthisthesis.

    The 4th Chapter includes the description of the procedure that wasfollowed in order to implement the electronic circuit and theGUI. Thereader can also find the resultswhich derived from the testing of theapplications.

    In the5thChapteranevaluationof theresults ismadeand therearealsosomeconclusionsaswellassuggestionsforpossiblefutureevolution.

    In theAppendix themost fundamentalTroubleCodesare includedwiththeirexplanationwhichisfollowedbythebibliographythatwasusedforthisreport.

    Keywords:OBD2,scantool,SAEJ1850,PWM,diagnostics,automotive,protocol,troublecodes,MIL,gasemission,graphicuserinterface.

  • 8

  • 9

    11.1..................................................................................................................1222.1OnBoardDiagnosticsGeneration1...................................................................162.1.1(MIL).................................................................17

    2.1.2..........................................................................17

    2.1.3...............................................................18

    2.2OnBoardDiagnosticsGeneration2(OBDII)...................................................192.2.1OBDII...........................................................................20

    2.2.1.1...............................20

    2.2.1.2............................................................20

    2.2.1.3........................................................................20

    2.2.1.4.......................................................................22

    2.2.1.5GR.....................................................................22

    2.2.1.6.............................23

    2.2.1.7.............................................23

    2.2.1.8(MIL)...........23

    2.2.1.9...............................................................................24

    2.2.1.10............................................25

    2.2.1.11...............................................................................................25

    3SAEJ1850PWM3.1........................................................................................................................303.2DataBusTopology..........................................................303.3.............................................................................................303.4................................................................................313.4.1ApplicationLayer....................................................31

    3.4.2DataLinkLayer.................................34

    3.4.2.1............................................................................39

    3.4.2.1.1CyclicRedundancyCheck(CRC).......................................................39

    3.4.2.1.2/............................................................41

    3.4.2.1.3OutofRangeData...............................41

  • 10

    3.4.2.1.4Bits.............................................................42

    3.4.2.1.5......................................42

    3.4.2.2.....................................................................42

    3.4.3PhysicalLayer.................................................................42

    3.4.3.1.........................................................................43

    3.4.3.2..........................................................43

    3.4.3.3....................................................................43

    3.4.3.4..........................................................................43

    3.4.3.5Bit............................................................................................44

    3.4.3.6................................................48

    3.4.3.7..............................52

    3.4.3.8........................................................53

    3.5NetworkImplementation..............................................5544.1............................604.1.1..................................................................................................60

    4.1.2J1850PWM...................................................................................61

    4.1.3RS232.............................................................................................62

    4.1.4CANISO9141......................................................................63

    4.1.5.................................................................................63

    4.1.6..........................................................................................65

    4.2(GUI).............................................685,5.1...................................................................................765.2....................................................................76......................................................................................................79....................................................................................................107....................................................................................................157

  • 11

  • 12

    1.1

    DataLinkConnectorRS232.,NetBeansJava, . , , .SAEJ1850PWM.

    : ,

    ,. , .

    . .

    . ,.

    . .

  • 13

    .

  • 14

  • 15

  • 16

    2.1 OnBoardDiagnosticsGeneration1 1985, , OnBoard system regulations ( )(OBD)1988.EngineControl Module (ECM) ( ) , . , . :

    1) .

    2) .

    OBD . :

    1) 2) 3) (ExhaustgasrecirculationEGR)

    OBD :

  • 17

    2.1.1 (MIL): , , ECM (Engine Control Module) . ,. , . , (Keyonbulb).. , .2.1.2 OBD ECM . ,

    :

    EGR

  • 18

    ECM . Toyota CM ECMBATT.2.1.3 , OBD . , actuators () ECM /, ECM. . .. OBD Toyota 20 ,. (2.1) :

    2.1

  • 19

    2.2 OnBoardDiagnosticsGeneration2(OBDII)OBD ,OBD ( 1988). . , . , / , OBD CARB.OBD II1994 1996,, , (canister purge system monitoring), (secondary air systemmonitoring) (flow rate) EGR . , . OBD II , , .OBDIIDataLinkConnector(DLC)., , , OBD II, (SocietyofAutomotiveEngineersSAE).OBDII

  • 20

    . ,/OBDII.2.2.1 OBDIIOBDII.2.2.1.1 ( ) / switching leanrich,richleanswitchtime.2.2.1.2 ,,, . . , , , , , OBD II. , (DTC) . , ,(freezeframe).2.2.1.3,EMC . , . , (

  • 21

    ), ().OBDII . EC ,. , , ., . (2.2) :

    2.2: ECM Ne G . , ECM . , . , .

  • 22

    2.2.1.4 (suboxygen) (2) , switching switching (1) . switching . ,switching(2) (1). , (2) . ( 2.3) :

    2.3:ECMswitching . switching , .2.2.1.5GR

    EGR(flowrate) (flow rate) .,

  • 23

    EGR. EGR.2.2.1.6vaporative Purge System monitoring ( )

    , ECM .,ECM . BDII1995.2.2.1.7 (Secondary Air SystemMonitoring),,,, ECM .2.2.1.8(MIL), . .OBDII .OBDII . () .

  • 24

    ECMBATT.

Recommended

View more >