| LON(Local Operating Networks)was put forward by American Echelon Corporation in 1 99 1.It offers a powerful means for distributed control system.Echelon Corporation developed LonWorks technology for LON.LonWorks include a suit of platform for developing LON.LON control net has been used in automatization field,such as industry,building,household,energy,and SO on.LON is a prevalent field bus。Connecting control net to the Ethernet is a hot issue in automatization field.This dissertation make a study of this problem,and put forward a embedded gateway for connecting LON network to the Ethemet. Based on study of intelligent node of LonWorks,LonTalk communication protocol,the working principle of net card,TCP/IP protocols,this thesis gives the hardware and soft'ware resolvent of the embedded gateway. The first chapter introduces the source and background of this thesis.It is due to the development of technology,the need of application,and the research result on LonWorks Our university received. The second chapter introduces the LonWorks technology,including the kernel of LonWorks—Neuron chip,transceiverLonTalk communication protocol,and the tools for developing LonWorks. The third chapter gives details of the hardware design.including designing a intelligent node of LON,the interface of singlechip and Neuron chip,the interface circuit of singlechip and PCI.bus net card on complex programmable logic device. The four chapter gives details of the software design,including singlechip driving the net card,realization of TCP/IP protocols,the handclasp protocol between singlechip and Neuron chip,the flow of Neuron chip processing data,and a simple client monitor software. The last chapter give the conclusion for the paper,and present a prospect. |