单片机与嵌入式系统应用
單片機與嵌入式繫統應用
단편궤여감입식계통응용
MICROCONTROLLER & EMBEDDED SYSTEM
2011年
8期
7-10
,共4页
CAN智能接口%CAN通信协议%C8051F041%CAN控制器%CAN收发器
CAN智能接口%CAN通信協議%C8051F041%CAN控製器%CAN收髮器
CAN지능접구%CAN통신협의%C8051F041%CAN공제기%CAN수발기
CAN intelligent interface%CAN communication protocol%C8051F041%CAN controller%CAN transceiver
为使传感器可即插即用于CAN的测控系统,以混合信号微处理器C8051F041为核心,构建可嵌入传感器的智能转换接口,将传感器输出信息转换为CAN总线上的报文信息;针对大多数模拟传感器输出信号较弱的特点,C8051F041结合AD623等模拟电路对传感器信号进行必要的滤波、程控放大、零点校准、A/D变换,并由其内部集成的CAN控制器转换为CAN报文信息,通过外接的CAN驱动器CTM8251T最终接入CAN总线;CAN控制器使该传感器成为一个CAN节点,通过定义CAN应用层协议,使传感器插入后立即以较低优先级传送传感器电子数据表单,接收必要的参数设定,从而实现俜感器即插即用。
為使傳感器可即插即用于CAN的測控繫統,以混閤信號微處理器C8051F041為覈心,構建可嵌入傳感器的智能轉換接口,將傳感器輸齣信息轉換為CAN總線上的報文信息;針對大多數模擬傳感器輸齣信號較弱的特點,C8051F041結閤AD623等模擬電路對傳感器信號進行必要的濾波、程控放大、零點校準、A/D變換,併由其內部集成的CAN控製器轉換為CAN報文信息,通過外接的CAN驅動器CTM8251T最終接入CAN總線;CAN控製器使該傳感器成為一箇CAN節點,通過定義CAN應用層協議,使傳感器插入後立即以較低優先級傳送傳感器電子數據錶單,接收必要的參數設定,從而實現俜感器即插即用。
위사전감기가즉삽즉용우CAN적측공계통,이혼합신호미처리기C8051F041위핵심,구건가감입전감기적지능전환접구,장전감기수출신식전환위CAN총선상적보문신식;침대대다수모의전감기수출신호교약적특점,C8051F041결합AD623등모의전로대전감기신호진행필요적려파、정공방대、영점교준、A/D변환,병유기내부집성적CAN공제기전환위CAN보문신식,통과외접적CAN구동기CTM8251T최종접입CAN총선;CAN공제기사해전감기성위일개CAN절점,통과정의CAN응용층협의,사전감기삽입후립즉이교저우선급전송전감기전자수거표단,접수필요적삼수설정,종이실현빙감기즉삽즉용。
In order to meet the needs of transducers' plug and play applied in the test and control system based on CAN bus, a smart conversion interface model which can be embedded into transducers was developed with SOC microcontroller C8051F041 as the core, through which the transducer's output signal can be converted into the message on CAN bus. For most of the analog transducer's output signal is very weak, it should be processed through necessary filtering, program gain amplification, zero calibration and A/D conversion circuits which mainly consist of C8051F041 and AD623. The pre-processed signal is then converted into the CAN message by an internal CAN controller integrated in SOC C8051F041 and transmitted to CAN bus via an external CAN transceiver CTM8251T. A combination of the interface model and transducer can be defined as a CAN node. After formulating our own CAN application-layer protocol, transducer electronic data sheets are successfully transmitted through CAN bus with low priority and each CAN node can receive certain parameter setting to realize the application of transducers' plug and play.