中英文翻译--智能化煤气表的设计.doc
TheDesignOfIntelligentGasMeterGasmeterisagasflowmeter;theyareincludedinthenationaldirectoryofstrongcompulsoryseizuretestmeasuringinstruments.Gasmeteringsystemhasbeendevelopingconstantly.Fromunenlightenedmechanicaltointelligentnowadays,madepeoplesliveshasbeenfacilitated.Inthepastforalongperiodoftime,weusemostofallmechanicalintheinternational,withthecontinuousadvancementofelectrontechnology,electron-typegasmeterhavealsoemergedinothercountry,butthereisstillalotofnon-convenience.Currentlymechanicalgasmetergiveagreatdealofinconveniencetomanagementandusers,thatis,issueofmeterreading.Wetakeoriginalbackwardartificialwaytolook-uptablechargesgenerally.Thischargingmethodhasseveralmajordisadvantages:occupyagreatdealofmanpower;Manydrawbacksofartificially;inefficientandcreatedagreatwasteofhuman,material,timetomanagedepartment.Therefore,researchanddevelopmentanewtypeofgasmeterchargingsystemisnecessary.Abroad,intelligentgasmeteringsystemisalsodeveloping,andtheyhaveautomaticbilling,aswellasalarmfunction,toprotectthebenefitsoftheGasCompanyandtheusers.InChina,GasMeterremainsatafairlylowlevel,mostoftheproductsjusttoplayaroleofswitching,andthedevelopmentofintelligenttablealsostagnatedataverylowlevel,althoughtherearealotofmanufacturerstoproducttheintelligentgasmeter.However,veryfewsophisticatedproducts;theyimprovetheproductsonthebasisofforeigntechnologyaccordingtotheactualsituation,mostlytheuseofICcardtechnology.andmanufacturerscannotbesimultaneouslylargequantitiesofproducts.Intheviewtheactualsituation,wereferencetoalreadyexistproduct,accordingtotheideaofit,andtodesigntheintelligentgasmeter.thesystemoftheintelligenthaveapplicationofadvancedICcardbillingfunctions,useoftheremotecommunications,toconnectthecomputerwithalluserterminalsundercontrolbySinglechip,andhavethebestanti-cheatingfunction,preventusersfromstealinggas.Tomakethegasasacommodityafterfirstuse,theGasCompanycanbetoacceleratecashflow,eliminatethearrearsofthephenomenonofgaschargeshappened.Itcompletelyovercomesthemechanicaldisadvantageofthegasmeter,reducetheartificialfactors;improveworkefficiency;savingthemanagerstime.Atthesametime,themeteringsystemalsotakesanumberofwaystoenhanceitspracticalityinusing,suchastransparencyofuserdata,userscanviewintuitivetheirownusageamount,aswellasthebalanceofthecard.Inordertoimprovethereliabilityofthesystem,thesystemalsosetupabrown-outprotection,whilethemeteringsystemalsoconsideringcanbeaddgasalarmfunction,thatis,whenthegasleakhappened,thesystemwillprovideuserswithalarmfunctions,toprovideuserswiththeuseofsafetysexual.Becauseofthesmartelectroncardprepaidgassystemsisbuildupofcomputer-intelligentelectroniccardwriterandsalesdatabasesoftware.Ithavesetupusers,userchange,relocation,marketing,writingcards,statistics,searchfor,buythosestatisticsshouldbeimprisoned,finedreportfunctionsetc.Thesmartcardselectrongasdistributionsystemcanrealizethemodernizationofthegassalesmanagement,anduserconsumptionbecauseoftheamountofdatasuchaspre-purchasethroughintelligentelectroniccardtotransmitautomaticallyrecorded,comparedwiththepreviousmanualentrynotonlyreducescostsbutalsoensureddataaccurateandreliable.Following,introduceoftheoveralldesignprogram.First,thecontroller:Thedesignisbasedontheimplementationofsingle-chipmicrocomputercontrolsystem,single-chipmicrocomputerusedAT89S51/52,itmanufacturebyATMELcompanyoftheUnited,itisthesinglechipofstateslow-voltage,high-performanceCOMS8-bit.Chipcontaining8kbytesofrepeatedlyrewritableread-onlyprogrammemory(PEROM)and256kbytesofrandomdatamemory(RAM),thedeviceusedATMELCorporationhigh-density,nonvolatilememorytechnology.Convenientcontrolandeasypower,easytoprogram,whilethepriceswererelativelycheaponmarket,andthereisassociatedcircuits,componentsarealsoabundantonthemarket,butalsoconducivetothepromotionofthesystem.Thechipalsohavefour8-bitparallelI/OportP0-P3,eachportcanbeusedasinput,canalsobeusedforoutput;Therearetwo16-bittimer/counterinternal,eachregularbrowser/countercanbesettocountthewaytocountontheoutside,alsocanbeconfiguredthewayfromtimetotimeandfromtimetotimeinaccordancewiththeresultsofcountingortheachievementofthecomputercontrol;ithavefiveinterruptsourceswithtwointerruptInterruptPriorityControlsystem;andafull-duplexUARTserialI/Oportfortherealizationofsingle-chipMCUandPCorbetweentheserialcommunicationbetween.thechipwiththeoscillatorandclockGenerationCircuit,butthequartzcrystalneedanexternalcapacitance,themaximumallowedfortheoscillationfrequency24MHz.AT89S52allsignalprocessingdigitalsignal,ahighanti-interferenceperformance.AT89S52supporttoISPProgramming.Controllerusing11.0592MHzcrystaloscillator,sothatmoreaccurateclock,thechipcanbeusedtoenterpower-savingprogramstateonthecircuit,thatis,whenusersturnoffthegasvalveafterthegasmeterdoesnotapply,theprocedurethatwouldallowthecircuittoenterpower-savingmode,savepowerconsumption.Second,billing:Thegasmeterbillingsystemisthroughnon-contactlesssmartcardreaderimplementation,andusingMCS-RC500contactlesssmartcardreader-single-chipcommunication,programdesignisflexible,easytodevelop,andcommunicatewiththecomputer,managetheusersdatathroughthecomputersoftware.Theusermustbegotothegascompaniestopurchasegasbeforeusersgas,then,purchasethevolumeofgasintotheusercard,thencardswillbepurchasedthegasintothegasmeterinsidethehousethroughthecard,theelectromagneticvalvetobeopenbycontrolwithsingle-chipmicrocomputer,theusercanbenormaluseit.Throughtheflowsensor,thesystemmeasuredthegasvolumehasbeenusedandautotominusthepurchasegas,whendepositgaslittleordepositgasrunout,theelectromagneticvalvewillbeclosedandthealarmcircuitwillbetoremindtheusertorenewatthesametime.Userswillonceagainpurchasedgasintothecard.ThecircuitthroughtheserialportwiththeMCS-RC500communication,thereforethedesignofhardwarecircuitsaddsaMAX232circuit,implementdataexchangeofthesingle-chipwiththesmartcards.Third,displaymodule:ThesystemshowstheuseofLCDModule1602,LCD1602isacommon16×2lines,6×8characterdotmatrixLCDmodule.Itiswidelyusedinsmartintelligentinstrumentation,communications,officeautomationequipment,anditscharactergeneratorROMhavesometheirmediumownfiguresandlettersofthealphabet,somespecialsymbolslibraryofcharacters,wecanuse1602tosetupeight6×8dotmatrixfontcharacteristicsofcustom,itbeabletomeettherequirementsforuser,andLCDmodule1602suitablesize,easytoinstall,Inordertosaveenergy,theLCDmodule1602poweriscontrolledbysingle-chipindesign,whenthesystemneedtodisplay,thepowerwillbesupply,otherwise,nopowersupply.RT1602Cusethestandard16-pininterface,whichleftthisportfrom1footto16foot.No.1pin:VSStopowerground;No.2pin:supplyvoltageforlogic;No.3pin:InputforadjustingtheLCDcontrast,andwhenthepoweristheweakestcontrast,thehighestcontrastratioofgroundpower,contrasttoohighwillleadto"ghosting",whenusedbya10Kpotentiometertoadjustthecontrast;No.4pin:RStoregisterselect,”H”usuallyselectthedataregister,theselectionoflow-levelinstructionregister.No.5pin:RWforread-writesignalline,whenhightimereadoperation,whenlow-levelwriteoperation.WhentheRSandthelowco-RWcanbewrittenintothecommandordisplaytheaddress,whenRSishighforlow-levelRWcanbereadwhenthebusysignal,whenRSishighforlow-levelRWcanbewrittenintothedata.No.6-pin:Itistheclocklatchsignalinput.No.7to14feet:D0D7forthe8-bitbi-directionaldataline.No.15to16feet:feetorBacklightairpower.Cathodebacklight15feet,16feetbacknegative.1602charactersLCDmodulewithinthememoryoccurred(CGROM)havebeenstoredin160differentgraphicdot-matrixcharacters,thesecharactersare:Arabicnumerals,upperandlowercaseletters,commonlyusedsymbols,andJapanesekanaandsoon,eachcharacterafixedcode,suchastheuppercaselettersofthealphabet"A"codeis01000001B(41H),showthatwhenthemoduletoaddress41Hinthecharacterdot-matrixgraphicdisplay,wecanseetheletters"A".Fourth,Protectionfunction:Thesystemcircuitalsohasabrown-outprotectionfunction,usingAT24C02memorychiptostorethenecessaryreal-timedata,whennoelectricpowerorincaseofunexpectedpoweroutagescanprotectthedata,whenthesystemisrestoredinaccordancewithAT24C02tostoredata,restorelostelectricitybeforethedatasystemtoensurethenormalbilling,toavoidthegascompanyandcustomerlosses.Theintelligentgasmeterinstallationeasy,theusercanquerythebalanceofcardorusageamountbythekeyinthecircuit.