以AT89C52单片机和SJA1000接口芯片、PDISUBD12接口芯片为主要器件,完成了信号采集电路和CAN—USB适配卡的电路设计工作,采用光耦隔离、硬件滤波和斜率模式等措施,保证了系统硬件运行的可靠性,充分利用两者的优点,开发出传输距离远、可靠性高同时又高速传输的通信系统。在硬件平台基础上,完成软件编程后,实现了在PC平台下的CAN节点间的通信。
MCU AT89C52, USB controller, PDIUSBD12 and standalone CAN controller SJA1000 are choose to design the information collecting circuit and CAN - USB adapter. Many methods, such as photocoupler isolation, hardware filter, slope control mode stability of the hardware are adoped to ensure the system. The CAN - USB adapter makes good use of the advantage of the CAN and the USB to realize the long distance transfering,which is a stable and high speed communication system. Based on the hardware platform, the following designs are completed, including the CAN node communication, the firmware of the CAN - USB adapter,the PC host driver program and the application program, then the communication of the CAN node can be realized.