Font Size: a A A

Design And Research Of Embedded Flow Computer On Linux System

Posted on:2024-02-23Degree:MasterType:Thesis
Country:ChinaCandidate:T ZhangFull Text:PDF
GTID:2531306944951489Subject:Mechanics (Professional Degree)
Abstract/Summary:PDF Full Text Request
Since the national reform and opening up,China has gradually occupied an important position in international trade,and the energy demand has also gradually increased.With the proposal of the the Belt and Road,China’s development has also ushered in new historical opportunities and faced great challenges.Therefore,China’s dependence on energy is gradually increasing,and the energy used mainly relies on domestic oil field exploration and overseas imported oil.At present,considering the uneven distribution of oil volume in different regions of China and the imported oil from overseas,most of the measuring instruments used for flow calculation during pipeline transportation are flow computers manufactured abroad.This article analyzes the measurement technology and key technologies of measurement instruments used for oil transportation both domestically and internationally.An embedded flow computer based on Linux system is proposed,which can simultaneously collect and process four pulse flow data.Clock synchronization technology can be used to improve the accuracy of computer oil measurements.In addition,compensation calculation is carried out for the loss of pulse signals during the measurement process.First,the current status of research and key technologies in the flow computer design process at home and abroad are described and summarized.By analyzing and summarizing the technical requirements proposed by a certain company,the design requirements for the hardware and software of the flow computer are formulated,thus proposing the overall design plan for the flow computer.Based on the basic hardware requirements,complete the selection of hardware for the flow computer,allocate resources to the hardware platform,design a signal acquisition scheme for the flow computer,and analyze and summarize the principles of flow measurement.Secondly,analyze and design the key technologies involved in flow computers.We have designed an optimal clock compensation algorithm for clock synchronization to address clock issues that affect the accuracy of computer pulse signal processing.Analyze and locate the common problem of pulse loss in the process of receiving pulse signals by computers,and compensate for the lost signals.For the communication issues of computers,this article establishes the service structure,functions,and response framework of flow computers under Linux system based on Modbus communication protocol.For the well-known bugs generated by the computer during the collection process and the inability to restore the metering function in a short period time,a main backup switching function has been developed.In the event of a malfunction,a backup machine will be used to continue metering the oil transportation.Then,the system environment and development environment of the flow computer were built,and the pulse signal acquisition function and AD module driver function of the computer software were analyzed and written to achieve the measurement of oil flow rate.Completed communication connection between the computer and SCADA monitoring system.Establish a data storage module for the flow computer and build a database.Designed the upper computer system interaction interface for the flow computer.Finally,the testing of the computer system environment was completed.Established an experimental collection platform for flow computers.Conduct experimental tests on the processing function of flow pulse signals and AD module’s acquisition of analog signals;Perform functional testing on the serial port used by the flow computer.Test the database establishment,data export,and query functions of the computer’s database module.Then,based on electromagnetic compatibility technology,conduct anti-interference analysis and testing on the flow computer.
Keywords/Search Tags:Flow computer, Flow measurement, Data compensation, Linux
PDF Full Text Request
Related items