在硬件在回路仿真系统中,模型需与数据采集卡之间进行实时数据的采集和交换,Simulink下Real Time Workspace工具箱提供了与硬件之间的实时数据采集和交换,但是工具箱并不支持市面上所有采集板卡的类型,给用户对采集板卡选型带来一定局...在硬件在回路仿真系统中,模型需与数据采集卡之间进行实时数据的采集和交换,Simulink下Real Time Workspace工具箱提供了与硬件之间的实时数据采集和交换,但是工具箱并不支持市面上所有采集板卡的类型,给用户对采集板卡选型带来一定局限性。因此本文使用Simulink中S-Function模块编写不同采集板卡的硬件驱动,证明只要是数据采集工具箱支持的板卡型号,都可以用S-Function进行模块化硬件驱动编写,解决了Simulink中Real Time Workspace工具箱给用户在使用Simulink建模过程中对板卡选型的局限性这一问题。展开更多
工业领域中PC机与工业控制系统的通信方式一般通过串行口实现,鉴于通用串行总线USB(Universal Serial Bus)的优越性,设计了基于USB总线的数据采集系统。该系统是由增强型P89C61X2单片机、CAN控制器SJA1000和USB2.0接口芯片ISP1581组成,...工业领域中PC机与工业控制系统的通信方式一般通过串行口实现,鉴于通用串行总线USB(Universal Serial Bus)的优越性,设计了基于USB总线的数据采集系统。该系统是由增强型P89C61X2单片机、CAN控制器SJA1000和USB2.0接口芯片ISP1581组成,工业控制网络为基于CAN总线的现场总线控制系统。阐述了PC机通过USB口与工业控制系统(CAN网络)通信的实现方法和设计细节。结果表明,通过PC机的USB口可以对CAN总线控制网络上的数据和信息进行实时采集和处理。展开更多
It is known that there is a discrepancy between field data and the results predicted from the previous equations derived by simplifying three-dimensional(3-D) flow into two-dimensions(2-D).This paper presents a ne...It is known that there is a discrepancy between field data and the results predicted from the previous equations derived by simplifying three-dimensional(3-D) flow into two-dimensions(2-D).This paper presents a new steady-state productivity equation for horizontal wells in bottom water drive gas reservoirs.Firstly,the fundamental solution to the 3-D steady-state Laplace equation is derived with the philosophy of source and the Green function for a horizontal well located at the center of the laterally infinite gas reservoir.Then,using the fundamental solution and the Simpson integral formula,the average pseudo-pressure equation and the steady-state productivity equation are achieved for the horizontal section.Two case-studies are given in the paper,the results calculated from the newly-derived formula are very close to the numerical simulation performed with the Canadian software CMG and the real production data,indicating that the new formula can be used to predict the steady-state productivity of such horizontal gas wells.展开更多
文摘在硬件在回路仿真系统中,模型需与数据采集卡之间进行实时数据的采集和交换,Simulink下Real Time Workspace工具箱提供了与硬件之间的实时数据采集和交换,但是工具箱并不支持市面上所有采集板卡的类型,给用户对采集板卡选型带来一定局限性。因此本文使用Simulink中S-Function模块编写不同采集板卡的硬件驱动,证明只要是数据采集工具箱支持的板卡型号,都可以用S-Function进行模块化硬件驱动编写,解决了Simulink中Real Time Workspace工具箱给用户在使用Simulink建模过程中对板卡选型的局限性这一问题。
文摘工业领域中PC机与工业控制系统的通信方式一般通过串行口实现,鉴于通用串行总线USB(Universal Serial Bus)的优越性,设计了基于USB总线的数据采集系统。该系统是由增强型P89C61X2单片机、CAN控制器SJA1000和USB2.0接口芯片ISP1581组成,工业控制网络为基于CAN总线的现场总线控制系统。阐述了PC机通过USB口与工业控制系统(CAN网络)通信的实现方法和设计细节。结果表明,通过PC机的USB口可以对CAN总线控制网络上的数据和信息进行实时采集和处理。
基金financial support from the Open Fund(PLN1003) of State Key Laboratory of Oil and Gas Reservoir Geology and Exploitation(Southwest Petroleum University)the National Science and Technology Major Project in the l lth Five-Year Plan(Grant No.2008ZX05054)
文摘It is known that there is a discrepancy between field data and the results predicted from the previous equations derived by simplifying three-dimensional(3-D) flow into two-dimensions(2-D).This paper presents a new steady-state productivity equation for horizontal wells in bottom water drive gas reservoirs.Firstly,the fundamental solution to the 3-D steady-state Laplace equation is derived with the philosophy of source and the Green function for a horizontal well located at the center of the laterally infinite gas reservoir.Then,using the fundamental solution and the Simpson integral formula,the average pseudo-pressure equation and the steady-state productivity equation are achieved for the horizontal section.Two case-studies are given in the paper,the results calculated from the newly-derived formula are very close to the numerical simulation performed with the Canadian software CMG and the real production data,indicating that the new formula can be used to predict the steady-state productivity of such horizontal gas wells.