How to extend the CAN bus?

Please enter banners and links.

如何扩展CAN总线?

概述:市面上大部分工控机通常仅支持串口总线(如RS232、RS485、RS422),随着工控机应用场景更加广泛,现有总线标准已无法满足用户所有需求。通过市场调研发现, 目前市面上对CNA bus需求较多,为解决该问题接下来我们来介绍下如果在不支持CAN bus的工控机上实现该总线标准。

适用机型:

  • K4全系
  • 05B-i5-5500U
  • H4全系
  • 需满足以下条件
  • MPCIE 转CAN卡(支持2路CAN bus)
  • 2根 3线制 DB-9pin 串口
  • 主板自带MPCIE全高插槽
  • 机箱上的串口可拆卸

MPCIE转CAN卡 规格参数:

  • 与工控机接口完美兼容:采用标准MiniPCle接口;
  • 与工控机通讯方式: MiniPCle接口中的USB2.0管脚;
  • 供电方式:采用MiniPCle接口3.3V供电,功耗200mA;
  • CAN通道数:2通道隔离CAN接口;
  • CAN总线电压、阻值:CAN-H,CAN-L 电压2.5V,CAN-H,CAN-L 阻值120Ω;
  • CAN同时支持CAN2.OA和CAN2.0B协议,符合ISO/DIS11898-1/2标准;
  • CAN波特率:可编程任意设置,范围在10Kbps~1Mbps之间;
  • 最高顿流量:单通道可高达20000帧/秒(1M波特率、标准远程帧)
  • CAN通道采用信号隔离、DC/DC电源隔离,隔离电压:3000VDC;
  • CAN接口EMC等级:接触放电±4KV,群脉冲士1KV;
  • 支持WinXP、Win7-Win11等Windows操作系统及Linux操作系统;
  • 安装方式:标准MiniPcle卡槽,体积小巧,即插即用;
  • 工作温度-40~85°C;
  • 标准MiniPCIe板卡尺寸30mm(宽)*51mm(长)。
  • 一、硬件安装(本文以H4为例)
  • 1-1、断电状态下拆机,将不需要用到的COM连接线从主板上取下,本文中将COM4和COM6取下,用于安装CAN端口。
  • 1-2、将MPCIE转CAN卡插入主板MPCIE插槽并用螺丝固定。
  • 1-3、将CAN1固定在机箱COM6端口,将CAN2装在机箱COM4端口。
  • 二、CAN引脚定义
  • 2-1、结合硬件安装位置可以得出COM6已改为CAN 1,CAN bus为3线制DB9pin类型,pin2定义为CAN_L,pin3定义为GND,pin7定义为CAN_H,请根据引脚定义连接外部设备。
  • 2-2、结合硬件安装位置可以得出COM4已改为CAN 2,CAN bus为3线制DB9pin类型,pin2定义为CAN_L,pin3定义为GND,pin7定义为CAN_H,请根据引脚定义连接外部设备。
  • 三、驱动安装(本文以Windows11以例)
  • 3-1、驱动下载地址:
  • 链接:https://pan.baidu.com/s/1dv7hBXu-CToczrnZV9DHdw
  • 提取码:HYSZ
  • 通常只需下载USB driver installation tool Setup(V1.40).exe 驱动。
  • 3-2、鼠标右键Windows开始菜单,进入Device Manager中查询是否识别到模块型号,如识别到Chuangxin Tech USBCAN/CANalyst-ll表示模块安装正常。
  • 3-2、鼠标右键USB driver installation tool Setup(V1.40).exe,选择Run as administrator, 有三个插件,直接Nest依次安装即可。
  • 至此驱动安装完成,可进入Device Manager验证驱动是否安装成功,如识别到Custorm USB Devices>WinUSB Device 表示已安装成功。

作者: minipc

Our company is a reliable manufacturer and exporter of fanless mini computers, industrial computers, all-in-one computers and industrial tablet computers. Our products are exported to the European Union, America, Asia and other places, and enjoy a high reputation in the global market. In order to provide high-quality products and excellent services, our company has obtained reports and certificates approved by CE, FCC, RoHS, SGS, ISO9001, etc. Our goal is "innovation first, quality first, customers first, service first". We are committed to providing quality products, excellent service, competitive prices, fast response and timely delivery. We warmly welcome every customer to visit us and hope that both of us will work together to create a brilliant future. OEM and ODM orders are welcome.

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注