单片机与嵌入式系统应用
單片機與嵌入式繫統應用
단편궤여감입식계통응용
MICROCONTROLLER & EMBEDDED SYSTEM
2014年
5期
11-14
,共4页
MCU%MSP430F1611%嵌入式系统%可靠性%实时性%涡街流量计
MCU%MSP430F1611%嵌入式繫統%可靠性%實時性%渦街流量計
MCU%MSP430F1611%감입식계통%가고성%실시성%와가류량계
MCU%MSP430F1611%embedded system software%reliability%real-time performance%vortex flowmeter
嵌入式系统的运行需要可靠性和实时性的保证,因此良好的可靠性和实时性是嵌入式系统软件设计的重要标准。同时为了使软件系统的鲁棒性更强,嵌入式系统的设计需要一个非常好的软件架构。这里介绍了一种基于 MC U 平台的嵌入式系统软件架构方法。在这个方法中,事件驱动机制的引入满足了对软件架构的要求,主程序中不仅采用了优先调度机制,同时也加入了软件抗干扰措施,这些都使系统的实时性和可靠性得到了明显的提高。设计实验比较由该方法得到的软件架构与原始软件架构的实时性,得出由该方法优化后的软件架构确实具有更好的性能。
嵌入式繫統的運行需要可靠性和實時性的保證,因此良好的可靠性和實時性是嵌入式繫統軟件設計的重要標準。同時為瞭使軟件繫統的魯棒性更彊,嵌入式繫統的設計需要一箇非常好的軟件架構。這裏介紹瞭一種基于 MC U 平檯的嵌入式繫統軟件架構方法。在這箇方法中,事件驅動機製的引入滿足瞭對軟件架構的要求,主程序中不僅採用瞭優先調度機製,同時也加入瞭軟件抗榦擾措施,這些都使繫統的實時性和可靠性得到瞭明顯的提高。設計實驗比較由該方法得到的軟件架構與原始軟件架構的實時性,得齣由該方法優化後的軟件架構確實具有更好的性能。
감입식계통적운행수요가고성화실시성적보증,인차량호적가고성화실시성시감입식계통연건설계적중요표준。동시위료사연건계통적로봉성경강,감입식계통적설계수요일개비상호적연건가구。저리개소료일충기우 MC U 평태적감입식계통연건가구방법。재저개방법중,사건구동궤제적인입만족료대연건가구적요구,주정서중불부채용료우선조도궤제,동시야가입료연건항간우조시,저사도사계통적실시성화가고성득도료명현적제고。설계실험비교유해방법득도적연건가구여원시연건가구적실시성,득출유해방법우화후적연건가구학실구유경호적성능。
The operation of embedded system needs the guarantee of reliability and real-time performance,so the fairly good reliability and real-time performance are the important standards in embedded system design.In order to make software system more robust,the good software architecture is required in the design of embedded system.This paper introduces a kind of design method of embedded sys-tem software structure based on MCU platform.In this method,the introduction of event-driven mechanism can meet the demand of software architecture.The main program not only adopts the priority scheduling mechanism,but also addes the software anti-interfer-ence measures,which all improve the real-time performance and reliability of software system.The real-time performance is verified through designed experiment to compare the before and after embedded system software,which can conclude that the optimized embed-ded system software has better performance.