针对传统的水肥灌溉控制器开发中,由于软、硬件分时分步开发,存在算法嵌入复杂,开发流程长,软硬件循环调试等问题。介绍运用基于模型设计方法对水肥灌溉控制器的高效、快速开发。在Simulink平台中建立水肥控制算法模型和被控对象物理模...针对传统的水肥灌溉控制器开发中,由于软、硬件分时分步开发,存在算法嵌入复杂,开发流程长,软硬件循环调试等问题。介绍运用基于模型设计方法对水肥灌溉控制器的高效、快速开发。在Simulink平台中建立水肥控制算法模型和被控对象物理模型,创建系统设计需求追溯关系,多层次测试验证,快速迭代设计方法,在此基础上以STM32核心处理器配置相应芯片底层驱动支持包生成工具(Target Support Package),实现工程代码到嵌入式硬件需求全程自动化。实验结果表明,基于模型设计方法开发快速、代码质量高,且系统响应速度快和实时性好,大幅度提高了水肥灌溉效果。展开更多
We propose a new scripting model for rapid and easier development of packet processing using shell scripts. In this paper we present EtherPIPE, a character network I/O device, that allows the programmer to access netw...We propose a new scripting model for rapid and easier development of packet processing using shell scripts. In this paper we present EtherPIPE, a character network I/O device, that allows the programmer to access network traffic data as a file through UNIX commands. By setting a UNIX pipe "r' from or to EtherP1PE's output or input with UNIX commands, packets can be easily processed, executing functions such as packet filtering, packet capturing, generating arbitrary packets, and rewriting header information. In order to prove the utilities of our model, we have developed FPGA-based EtherPIPE adapter using a commodity FPGA card and a character device driver featuring new offloading functions. With our prototype implementation, packet scripting works at 1Gbps wire-speed, receiving packets with precise hardware timestamps. This paper argues for use cases of the EtherPIPE, and discusses enhanced formats of character devices for easier network scripting.)展开更多
文摘针对传统的水肥灌溉控制器开发中,由于软、硬件分时分步开发,存在算法嵌入复杂,开发流程长,软硬件循环调试等问题。介绍运用基于模型设计方法对水肥灌溉控制器的高效、快速开发。在Simulink平台中建立水肥控制算法模型和被控对象物理模型,创建系统设计需求追溯关系,多层次测试验证,快速迭代设计方法,在此基础上以STM32核心处理器配置相应芯片底层驱动支持包生成工具(Target Support Package),实现工程代码到嵌入式硬件需求全程自动化。实验结果表明,基于模型设计方法开发快速、代码质量高,且系统响应速度快和实时性好,大幅度提高了水肥灌溉效果。
文摘We propose a new scripting model for rapid and easier development of packet processing using shell scripts. In this paper we present EtherPIPE, a character network I/O device, that allows the programmer to access network traffic data as a file through UNIX commands. By setting a UNIX pipe "r' from or to EtherP1PE's output or input with UNIX commands, packets can be easily processed, executing functions such as packet filtering, packet capturing, generating arbitrary packets, and rewriting header information. In order to prove the utilities of our model, we have developed FPGA-based EtherPIPE adapter using a commodity FPGA card and a character device driver featuring new offloading functions. With our prototype implementation, packet scripting works at 1Gbps wire-speed, receiving packets with precise hardware timestamps. This paper argues for use cases of the EtherPIPE, and discusses enhanced formats of character devices for easier network scripting.)