用户名: 密码: 验证码:
基于MPSoC的空间光学CCD遥感相机控制系统研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
传统的微处理器被设计成固定的、单个的和可重用的模块,但是,在二十世纪九十年代随着专用集成电路ASIC和片上系统SOC制造技术的发展,多核技术逐渐应用到嵌入式的高端领域。以FPGA为载体的MPSoC(MultiprocessorSystems-on-Chip)成为目前嵌入式多核技术的发展趋势,它能够针对嵌入式的需求进行多核的定制化开发,FPGA的重复可编程性保证了系统的灵活性。
     本文以空间CCD相机控制系统为例,针对目前航天电子学系统传统的自底向上的设计方法中存在的一些设计成本高,周期长,硬件实现正经受着高速高带宽发展趋势的挑战等问题,采用了一种MPSOC的解决方案。
     在研究了MPSoC体系结构和设计方法的基础上,提出了一种基于EDK平台的异构MPSoC系统。基于平台的设计方法是自上而下和自底向上设计方法的综合,因此在设计过程中将自上而下的系统建模和基于平台库的IP复用技术紧密结合,将系统功能模块尽可能采用平台资源实现,加快了设计进程。
     在系统设计的早期采用UML语言对系统进行了功能需求分析,建立了系统的静态功能模型和动态功能模型,在此基础上完成了系统软硬件协同划分;建立了EDK平台的资源模型和结构模型,实现了系统功能模型向平台模型的映射。
     在系统软硬件协同设计阶段,首先完成了系统设计空间探索,在处理器架构上采用了一主两辅的异构多核结构,通过分析功能模块间的依赖关系,实现了并行任务的划分及映射,将不同类型任务分配到不同类型核上执行,将任务间的数据传递映射到通信体系结构上,提高了任务级并行处理能力。然后给出了硬件平台的设计过程,将硬件功能模块采用平台库里的IP或用户IP实现,通过CoreConnect总线连接到处理器。在软件实现方面,采用了主从编程模式,为主核移植操作系统Vxworks实现多个任务的调度,通过核间通信的方式控制辅核上程序的运行,给出了多核程序交互的过程,并针对辅核Microblaze_0处理器上进行的像移速度计算采取了容错措施,提高了关键计算型任务的可靠性。
     为了对这种新的基于MPSoC的相机控制系统进行测试和分析,采用Xilinx公司的XUPV2P开发板和2个自主研制的扩展板作为平台对系统进行了验证,测试了多核间的通信,给出了资源评估和各处理器子系统的性能分析。实验表明,本文设计的MPSoC可以较好的实现相机控制系统的功能需求,具备较高的集成度和灵活性,并克服了传统DSP+FPGA设计方法中数据传输速度容易受接口和总线带宽的限制及信号间容易串扰的弊端。
Traditional Microprocessor was a fixed single module which can be reused,however, with the rapid development of ASIC(Application Specific IntegratedCircuit) and SOC(System On Chip) in1990s, multi-core technology has beengradually applied into high-level embedded field. MPSoC(MultiprocessorSystems-on-Chip) on FPGA is the trend of embedded multi-core technologycurrently, which can realize multi-core customized development aimed at embeddedrequirement and has a lot flexibility because of reprogrammable FPGA.
     Currently some problems such as high-price, long-period, high-speed and widebandwidth exist in bottom-to-up method of space electronic system, to solve theproblems, a MPSoC solution was proposed and applied into the design of spaceremote sensing camera control system.
     After the research of MPSoC architecture and methodology, an asymmetryMPSoC system based on EDK platform was set up. Design method based onplatform is a combination of top-down and bottom-to-up method, so systemmodeling and IP reuse technology was tightly combined in design process. Most ofthe system functional module was implemented by platform resource, acceleratingthe process.
     In the earlier design stage UML was used to realize the functional requestanalysis and set up the system static functional model and dynamic model to implement software and hardware co-partition. Then resource model and structuremodel of EDK platform was set up to realize the map from system functional modelto platform model.
     During system software and hardware co-design, first system design spaceexplore was implemented: a processor architecture with one main core and twoauxiliary cores was choosed; after analyzing the relationship among functionalmodules, parallel tasks were partitioned and tasks with different types weredesignated into different processors; data passing between processors was mappedinto the communication architecture, thus parallel processing ability was improvedin task level. Then the hardware platform design process was illustrated, duringwhich hardware functional module was accomplished by IP in platform library oruser’s IP connected to processors through IBM CoreConnect Bus. For software,master-slave programmable model was adopted, embedded real-time operatingsystem Vxworks was transplanted onto the main core to schedule complicated tasks,controlling the run of program on auxiliary cores by inter-processor communication.Furthermore, fault tolerate measures were taken for key computing task on oneauxiliary core to enhance the reliability.
     To test and analyze the new camera control system based on MPSoC, a Xilinxdevelop board XUPV2P and two self-developed extend boards were used to verifythe system. Communication between processors was tested, total resource and persubsystem’s performance was analyzed. Experiments showed that the MPSoCdesigned in this paper can fulfill the camera control system’s requirement with highintegrity and flexibility, overcoming the shortcomings of data transmission speedlimited by interface and bus bandwidth and signals disturbance in traditional DSP+FPGA design method.
引文
[1] Semiconductor Industry Association. The international technology roadmap forsemiconductor[EB/OL]. http://public.itrs.net/Files/2005ITRS.2005
    [2] Hennessy J L,Patterson D A. Computer Architecture: Aquantitative approach.[M].Morgan Kaufman Publishers,2002.
    [3]鲁建壮.单芯片多处理器关键技术的研究与实现[D]:[博士学位论文].长沙:国防科学技术大学,2005.
    [4]岳虹.嵌入式异构多核处理器设计与实现关键技术研究[D]:[博士学位论文].长沙:国防科技大学,2006.
    [5]李静梅.多核处理器的设计技术研究[D]:[博士学位论文].哈尔滨:哈尔滨工程大学,2010.
    [6] Hofmann Andreas,Waldschmidt Klaus. A scalable firmware for FPGA-basedmulti-core Systems-on-Chip[C]. IEEE Computer Society Annual Symposium onVLSI:Trends in VLSI Technology and Design: Montpellier,France:2008.
    [7] Noseworthy Joshua,Leeser Miriam. Efficient communication between theembedded processor and the reconfigurable logic on an FPGA[C]. IEEE Transactionson Very Large Scale Integration(VLSI) Systems:16.2008.1083-1090.
    [8]贺铭.面向MPSoC的H.264并行编码的研究[D]:硕士学位论文天津:南开大学,2009.
    [9] Mladen Berekovic,Hans-Joachim Stolberg,Peter Pirsch. A multicoresystem-on-chip architecture for MPEG-4streaming video[C]. IEEE transactions oncircuits and systems for video technology:12.2002.
    [10] A.Ber'c,R.Sethuraman,C.A.Pinto,et al. Heterogeneous Multiprocessor for HighDefinition Video[C]. ICCE:2006.401-402.
    [11]孙兆伟,刘源,徐国栋,叶东.小卫星/小运载可重构多核计算机设计[J].航空学报,2010,31(4):170-177.
    [12]谭维炽,胡金刚.航天器系统工程[M].北京:中国科学技术出版社,2009.51-54.
    [13]马天波,郭永飞,宁永慧.基于DSP和FPGA的光学遥感器控制器系统设计[J].光机电信息,2010,27(2):23-27.
    [14]干小戈.一体化电子侦察卫星载荷总体技术研究[J].航天电子对抗,2008,24(6):14-17.
    [15] A.A. Jerraya A, Bouchhima,F.Petrot. Programming models and HW-SWInterfaces Abstraction for Multi-Processor SoC[C]. Proc.Design Automation Conf.:San Francisco,CA,USA:2006.280-285.
    [16] Culler D.E. et al. Parallel Computer Architecture,A Hardware/softwareapproach[M]. San Francisco California:Morgan Kaufmann Inc,1999.
    [17]赵鹏.多处理器SoC应用映射关键技术研究[D]:[博士学位论文].长沙:国防科技大学,2010.
    [18] Olukotun K. The case for a single-chip multiprocessor[J]. ACM SIGPLANNotices,1996,31(9):2-11.
    [19] POWER4system microarchitecture.[EB/OL].http://www.research.ibm.com/journal/rd/461.tendler.html.
    [20] MP98[OL]. http://www.labs.nec.co.jp/MP98/.
    [21] G.M.Amdahl. Validity of the Single-Processor Approach to AchievingLarge-Scale Computing Capabilities[C]. Proc.Am.Federation of InformationProcessing Societies Conf.:1967.483-485.
    [22] Wang D T. The CELL microprocessor[EB/OL].http://www.realworldtech.com/page.cfm?ArticleeID=RWT021%005084318.2005
    [23] D.Pham,S.Asano,M.Bolliger. The design and implementation of afirst-generation CELL processor[C]. IEEE International Solid-State CircuitsConference:2005.184-186.
    [24] David Kanter. Intel's Sandy Bridge Microarchitecture[EB/OL].http://www.realworldtech.com/page.cfm?ArticleID=RWT091810191937.2010
    [25] David Kanter. Intel's Sandy Bridge Graphics Architecture[EB/OL].http://realworldtech.com/page.cfm?ArticleID=RWT0808111951022011
    [26] Texas Instruments Inc. OMAP5910Dual-Core Processor Inter-ProcessorCommunication Reference Guide.2005.
    [27] Texas Instruments Inc. OMAP5910Dual-Core Processor Functional andPeripheral Overview Reference Guide.2003.
    [28] STmicroelectronics Inc. Nomadik mobile multimedia application processor.2006.
    [29] Alain Artieri,Viviana D'Alto,Richard Chesson,Mark Hopkins,Marco C.Rossi.NomadikTM Open Multimedia Platform for Next-generation Mobile Devices[EB/OL].http://www.st.com.2003
    [30] H.Yue, Z.Wang, K.Dai. A heterogeneous Embedded MPSoC for MultimediaApplication[C]. International Conference on High Performance Computing andCommunications:2006.591-600.
    [31] M.Yan, S.Li, J.Shen, et al. A heterogeneous Multicore SoC Optimized forEmbedded Visual Media Process[C]. WRI International Conference onCommunications and Mobile Computing: Kunming:2009.12-16.
    [32] Amilcar do Carmo Lucas,Sven Heithecher, Peter Ruffer,et al. A reconfigurableHW/SW platform for computation intensive high-resolution real-time digital filmapplication[C]. Proceedings of the Conference on Design,Automation and Test inEurope:1.2006.194-199.
    [33]田立,周付根,史洁玉.多DSP并行系统及其应用[J].仪器仪表学报,2007,28(4):758-761.
    [34]电子工程世界.嵌入式微处理器将走向何方[EB/OL].http://www.eeworld.com.cn/qrs/2011/0321/article_4831.html.2011
    [35]李兰英. NiosⅡ嵌入式软核SOPC设计原理及应用[M].北京:北京航空航天大学,2006.26-33.
    [36] Altera为SOPC Builder工具推出32位V1ColdFire软核[EB/OL].http://m.eepw.com.cn/m/display/id/84070.2008
    [37]集成FPGA Intel公布可配置Atom SoCs芯片[EB/OL].http://www.inpai.com.cn/doc/hard/138848.htm.2010
    [38] Altera推出业界首款基于MIPS的FPGA软核处理器[EB/OL].http://www.eeworld.com.cn/FPGA/2011/0509/article_2106.html.2011
    [39] Altera、 MIPS等联合发布MIPS-Based的FPGA软核处理器[EB/OL].http://info.ec.hc360.com/2011/06/301107456846.html.2011
    [40] Xilinx. PicoBlaze8位微控制器[EB/OL].http://china.xilinx.com/products/intellectual-property/picoblaze.htm.
    [41]李虹霏,赵明.基于PicoBlaze的多软核网络处理结构研究[J].计算机工程,2009,35(7):85-89.
    [42]肖红.基于多核处理器系统开发中的几个问题[J].广东广播电视大学学报,2007,16(4):34-37.
    [43]都志辉,丁文魁,郑耿斌,李晓明,许卓群.一种HPF编译系统的研究与实现[J].软件学报,1999,10(1):60-67.
    [44]刘晓明.异构机群系统环境下PVM并行程序的编程方法研究[D]:[硕士学位论文].广州:暨南大学,2001.
    [45]D.Walker,J.Dongarra. MPI:A standard message passing interface. Supercomputer.1996.
    [46] N.Saint-Jean, P.Benoit, G.Sassatelli, et al. Application Case Studies onUS-Scale[C]. Embedded Computer Systems:Architecture,Modeling and Simulation:2007.88-95.
    [47] N.Saint-Jean,G.Sassatelli,P.Benoit, et al. HS-Scale a Hardware-SoftwareScalable MP-SOC Architecture for embedded[C]. Proceedings of the IEEE ComputerSociety Annual Symposium on VLSI: Washington DC,USA: IEEE Computer Society,2007.21-28.
    [48] M.Saldana, P.Chow. TMD-MPI:An MPI implementation for multiple processorsacross multiple FPGAs[C]. International Conference on Field Programmable Logicand Applications:2006.1-6.
    [49]杨灿群,李春江.异构多核处理器的编程模型和编译优化技术[J].中国计算机学会通讯,2007,3(2):32-39.
    [50]王海力,边记年,吴强,熊志辉. SoC系统级设计方法与技术[J].计算机辅助设计与图形学学报,2006,18(11):1637-1644.
    [51] Jan Ellsberger,Dieter Hogrefe,Amardeo Sarma. SDL:Formal Object-OrientedLanguae for Communication Systems[M]. New Jersey:Prentice Hall,1997.
    [52]刘音,杨洪斌,吴悦. SoC系统级描述语言SpecC[J].计算机工程与设计,2008,29(10):2510-2513.
    [53] Grady Booch, James Rumbaugh,Ivar Jacobson. The Unified ModelingLanguage User Guide.1999.
    [54] SystemVerilog Home Page[EB/OL]. http://www.systemverilog.org.
    [55] Accellera Systems Initiative[EB/OL].htpt://www.accellera.org/home.
    [56] Lisane B. Brisolara, Marcio F.S.Oliveira, Ricardo Redin, et al. Using UML asFront-end Heterogeneous Software Code Generation Strategies[C]. EDAA:2008.1-6.
    [57] Safouan TAHA A R, Sebastien GERARD. An open Framerwork for DetailedHardware Modeling[C]. International Sysposium on Industrial EmbeddedSystems:2007.118-125.
    [58] Gree P., Edwards M., Essa S. HASoC-towards a new method forsystem-on-a-chip development[C]. Design Automation for Embedded Systems:2002.333-353.
    [59] Nguyen K., Sun Z., Thiagarajan P., et al. Model-driven SoC designvia executable UML to SystemC[C]. Proceedings of25th IEEE InternationalReal-Time Systems Symposium:2004.459-468.
    [60] Kangas T. Kukkala P., Orsila H.,et al. UML-based multiprocessor SoCdesign framework[C]. ACM Trans. Embed.Comput.Syst.:2006.281-320.
    [61]陈曦,徐宁仪. SystemC片上系统设计[M].北京:科学出版社,2003.
    [62] B.Denis, K.Tim. SystemC Based Design of an IP Forwarding Chip withCoCentric System Studio[C]. SNUG Europe:2002.
    [63] Mentor Graphics. Questa Advanced Simulator[EB/OL].http://www.mentor.com/products/fv/questa/.
    [64]闫沫,张媛.基于SystemVerilog语言的设计验证技术[J].现代电子技术,2008,(6):8-11.
    [65]刘辉.嵌入式空间遥感相机控制器设计方法与实现[D]:[博士学位论文].长春:中科院长春光学精密机械与物理研究所,2010.
    [66] NITAJulian, LAZARESCU Vasile, CONSTANTINESCU Rodica. A New Hw/SwCo-Design Method For Multiprocessor System On Chip Applications[C].International Symposium on Signals,Circuits and Systems:2009.1-4.
    [67] A Framework for Hardware-Software Co-Design of EmbeddedSystems[EB/OL]. http://embedded.eecs.berkeley.edu/research/hsc/.
    [68]邓中亮,段大高,崔岩松.嵌入式系统设计[M].北京:北京邮电大学出版社,2008.
    [69]肖立伊.国内集成电路IP核标准进展与展望[J].中国集成电路,2007,(2):13-16.
    [70] AMBA Speicification(Rev2.0)[EB/OL].http://www.arm.com/products/solutions/AMBASpec.html.1999
    [71] Altera. Avalon Interface Specification.2011.
    [72] WISHBONE System-on-chip(SoC) Interconnection Architecture forPortable IP Cores,Specification,Revision B2[EB/OL].http://www.silicore.net/.2002
    [73]焦原军,李广军,罗佳慧.开放核协议-IP核在SoC设计中的接口技术[J].电子设计应用,2004,(11):68-71.
    [74]朱运航. SoC设计中的IP策略[J].电子工程师,2005,31(10):12-17.
    [75] D.D.Gajski,J.Zhu,R.Domer,A.Gerstlauer,S.Zhao. SpecC:SpecificationLanguage and Methodology[M]. Boston:Kluwer Academic Publishers,2000.
    [76] Cescirio W., BaghdadiA., Gauthier L. Component-based design approachfor multicore SoCs[C]. Design Automation Conference:2002.789-794.
    [77]杨浩强.基于EDK的FPGA嵌入式系统开发[M].北京:机械工业出版社,2008.82-108.
    [78] Xilinx. XPS Mailbox Datasheet.2009.
    [79] Xilinx. XPS Mutex Datasheet.2009.
    [80] Xilinx. LogiCore IP XPS Interrupt Controller Datasheet.2010.
    [81] Xilinx. System ACE CompactFlash Solution.2008.
    [82] Xilinx. Embedded System Tools Reference Manual.2009.
    [83] Gregory Zoughbi. A UML Profile For DevelopingAirworthiness-Compliant(RTCAD0-1788) Safety-Critical Software[D]:[硕士学位论文]. Canada: Ottawa-Carleton Institute of Electronic andComputer Engineering Department of System and Computer Engineering,2006.
    [84]栾静.模型驱动的系统级软硬件协同设计若干关键技术研究[D]:[博士学位论文].上海:华东师范大学,2006.
    [85] Grady Booch et al. Object-Oriented Analysis and Design withApplications[M]. Houston:Addition Wesley Professional,2007.175-185.
    [86]程耀瑜等.高质量X射线检测数字化成像及图像采集[J].光学精密工程,2002,10(4):359-364.
    [87]鲍歌堂等.图像测量技术中几种自动调焦算法的对比分析[J].上海交通大学学报,2004,39(1):121-128.
    [88]胡涛等.大范围自动调焦快速搜索算法[J].光电子激光,2006,17(4):464-467.
    [89]李积慧,韩双丽,王家琪等.空间相机的热分析与热控技术[J].光学精密工程,1999,7(6):36-41.
    [90]江文.软件建模技术[M].北京:北京邮电大学出版社,2009.25-30.
    [91]马天波,郭永飞,李云飞.科学级TDICCD相机的行频精度[J].光学精密工程,2010,18(9):2028-2035.
    [92] Sangiovanni-Vincentelli A. et al. System Level Design:Orthogonalizationof Concerns and Platform-Based Design[C]. IEEE Transactions onComputer-Aided Design of Integrated Circuits and Systems:19.2000.1523-1543.
    [93] Mark D. Hill,Michael R. Marty. Amdahl's Law in the Multicore Era[J].IEEE Computer,2008,41(7):33-38.
    [94]张益嘉.一种基于FPGA的MPSoC架构的设计方法与实现[D]:[硕士学位论文].大连:大连理工大学,2009.
    [95]简方军.一种基于平台的SoPC软硬件协同设计与实现[D]:[博士学位论文].北京:中国科学院计算技术研究所,2006.
    [96] United States Department of Defense. Interface standard for digitaltime division command/response multiplex data bus,MIL-STD-1553B,Notices1-4.1996.
    [97]孔祥营,柏桂枝等.嵌入式实时操作系统VxWorks及其开发环境Tornado[M].北京:中国电力出版社,2001.25-36.
    [98]周启平,张杨. VxWorks下设备驱动程序及BSP开发指南[M].北京:中国电力出版社,2004.174-187.
    [99] LIU SH,RAJKUMAR R,SATHAGE S S. Generalized rate-monotonicscheduling: a framework for developing real-time system[J]. IEEE,1994,82(1):68-81.
    [100]赵昶宇颜,于平.1553B总线上消息的实时调度[J].光学精密工程,2010,18(3):732-739.
    [101]胡琳.基于相关测速的二维遥感图像运动估计和像移补偿算法研究[D]:
    [硕士学位论文].西安:西安电子科技大学,2010.
    [102]姚呈康,李庆辉,胡琳.星载遥感相机像移分析[J].红外与激光工程,2009,38(5):901-904.
    [103]李兴华.高分辨力空间摄影相机像移补偿控制技术研究[D]:[博士学位论文].长春:中国科学院长春光学精密机械与物理研究所,2000.
    [104]王家骐,于平,颜昌翔,任建岳,何斌.航天光学遥感器像移速度矢计算数学模型[J].光学学报,2004,24(12):1585-1589.
    [105]颜昌翔,王家琪.航相机像移补偿计算的坐标变换方法[J].光学精密工程,2000,8(3):203-207.
    [106]孔德柱,刘金国等.空间相机像移速度计算方法及DSP实现[J].光学精密工程,2009,17(8):1935-1941.
    [107]郭林.基于FPGA的星载机容错技术研究与设计[D]:[硕士学位论文].北京:清华大学,2009.
    [108]李华旺.航天嵌入式现代小卫星软件容错设计及测试系统研究[D]:[博士学位论文].上海:中科院上海冶金研究所,2001.
    [109]陈宇.高可靠容错实时系统的支撑技术研究[D]:[博士学位论文].成都:电子科技大学,2002.
    [110]王平.嵌入式计算机控制系统容错策略研究[D]:[博士学位论文].上海:上海微系统与信息技术研究所,2004.
    [111] Xilinx. XPS Delta-Sigma Analog to Digital Converter(ADC)(v1.00a).2008.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700