摘要
本文详细介绍了双CPU实现数据处理及信号控制的设计及应用。由于单处理器在处理具有大量数据处理和信号控制的系统时会出现较大的处理时间滞后,而且无法满足系统实时性和扩展性要求,用常规的单片机去处理和控制不能取得满意的效果。针对这种复杂需要大量数据处理和信号控制的系统,本文采用了基于双单片机的信号处理系统设计方案。
双单片机的信号处理系统设计方案是一种基于2片AVR单片机作为双CPU分担不同单元的任务,各功能相互独立。本文先对双单片机的信号处理系统设计方案作了简介,对本方案设计作出具体的说明;而后应用双单片机的方案在数字示波器设计下的应用进行了详细的设计过程,包括采集数据的处理和控制信号的处理;然后给出了系统的设计过程及数字示波器相应的应用,在此基础上设计一个采用双单片机设计的数字示波器,并对数字示波器的性能进行检验。
检验结果表明,对于需要大量数据处理和多控制信息的多变量系统时,应用双单片机的信号处理系统设计方案能够获得比单处理控制器更加令人满意的效果。
关键词:双处理器;数据处理;信号控制
Abstract
This paper introduces the realization of data processing and twin CPU design and application of signal control. Because single processor in dealing with a large number of data processing and signal control system will appear larger processing time lag, and unable to meet demand, real-time and expansibility system with conventional microcontroller to process and control can't obtain satisfactory effect. Aiming at the complex needs a large number of data processing and signal control system, this paper adopted based on double MCU signal processing system design scheme.
Double MCU signal processing system design scheme is a kind of based on 2 slices of AVR single chip microcomputer as double CPU share different units task, each function independent. This paper first on the double MCU signal processing system design scheme introduced this scheme design, make specific instructions; And then using a single chip solutions in the application of digital oscilloscopes under the design of detailed design process, including collecting data processing and control signal processing; Then presented system design process and digital oscilloscopes corresponding application, based on this design a double microcontroller, and the digital oscilloscopes digital oscilloscopes performance inspection.
Test results show that large amounts of data need to control information processing and multi-multi-variable systems, signal processing using dual microcontroller system design can achieve more satisfactory than the effect of a single control.
Keyword:Dual-processor;data processing;signal control