请教:什么是显性电平和隐性电平?

[复制链接]
17204|6
 楼主| 合影 发表于 2008-11-26 11:06 | 显示全部楼层 |阅读模式
“CAN&nbsp;控制器根据两根线上的电位差来判断总线电平。总线电平分为显性电平和隐性电平,二者必居其一。发送方通过使总线电平发生变化,将消息发送给接收方。”<br />这里的显性电平和隐性电平是什么意思呢?多谢指教!
tyw 发表于 2008-11-26 15:57 | 显示全部楼层

参考一下

<table class=ubb cellspacing=0><TR><td class=ubb>物理层及传输介质</td></TR><TR><td class=ubb></td></TR><TR></TR><TR><td class=ubb>物理层组成部分</td></TR><TR><td class=ubb></td></TR><TR><td class=ubb>  iCAN的物理层包括媒体访问单元和传输介质两部分,在ISO/OSI模型中的位置如下图所示。</td></TR><TR><td class=ubb><img src="http://www.icansys.org/image/tu/xitong_03.jpg"></td></TR><TR><td class=ubb>传输介质用于传输总线物理信号,媒体访问单元完成CAN控制器逻辑电平和物理信号转换。</td></TR><TR><td class=ubb>物理层和介质特性</td></TR><TR><td class=ubb></td></TR><TR><td class=ubb>  iCAN系统是一个简单&nbsp;、高效、易用的FCS系统,主要应用领域如下:<br />  <img src="http://www.icansys.org/image/ican_dot.gif">&nbsp;使用CAN技术<br />  <img src="http://www.icansys.org/image/ican_dot.gif">&nbsp;低成本的传输介质<br />  <img src="http://www.icansys.org/image/ican_dot.gif">&nbsp;总线型网络拓扑结构<br />  <img src="http://www.icansys.org/image/ican_dot.gif">&nbsp;CAN通信速率5Kbps~1Mbps,可任意设置<br />  <img src="http://www.icansys.org/image/ican_dot.gif">&nbsp;网络支持多达64个节点<br />  <img src="http://www.icansys.org/image/ican_dot.gif">&nbsp;支持节点热插拔</td></TR><TR><td class=ubb>物理信号</td></TR><TR><td class=ubb></td></TR><TR><td class=ubb>  CAN2.0B规范定义了两种互补的逻辑数值:“显性”和“隐性”,同时传送“显性”和“隐性”位时,总线结果值为“显性”。“显性”(“Daminant”)数值表示逻辑“0”,而“隐性”(“Recessive”)表示逻辑“1”。<br />  在CAN规范中并未定义代表逻辑电平的物理状态(例如电压),iCAN网络使用符合ISO11898-2标准的电平信号,典型地,CAN总线为“隐性”(逻辑1)时,CAN_H和CAN_L的电平为2.5V(电位差为0V);CAN总线为“显性”(逻辑0)时,CAN_H和CAN_L的电平分别是3.5V和1.5V(电位差为2.5V),如下图所示。</td></TR><TR><td class=ubb><img src="http://www.icansys.org/image/tu/xitong_04.jpg"></td></TR><TR><td class=ubb>媒体访问单元</td></TR><TR><td class=ubb></td></TR><TR><td class=ubb>  媒体访问单元用于完成CAN控制器逻辑电平和物理信号转换,包括CAN收发器和其它用于连接CAN控制器到传输介质的电路(例如光电隔离电路),典型结构如下图所示。</td></TR><TR><td class=ubb><img src="http://www.icansys.org/image/tu/xitong_05.jpg"></td></TR><TR><td class=ubb>  收发器是在iCAN网络上传送和接收CAN信号的物理组件,收发器从网络上接收差分信号供给CAN控制器,并用CAN控制器传来的信号差分驱动网络;DC/DC隔离电源和光偶完成CAN控制器和CAN总线信号隔离。</td></TR><TR><td class=ubb>  <img src="http://www.icansys.org/image/ican_dot.gif">带隔离的集成媒体访问单元<br />  &nbsp;带隔离的集成媒体访问单元将CAN收发器、光偶和DCDC集成在一个芯片内,具有连线简单,可靠性高的特<br />点。iCAN系统推荐使用这种形式的媒体访问单元,目前提供这种集成式媒体访问单元的有广州致远电子有限公司的CTM系列隔离收发器模块,外观如下图所示。<br />                 <img src="http://www.icansys.org/image/tu/xitong_06.jpg"></td></TR><TR><td class=ubb>传输介质</td></TR><TR><td class=ubb></td></TR><TR><td class=ubb><table class=ubb cellspacing=0><TR><td class=ubb>  传输介质用于传输总线物理信号,双绞线是用于实现iCAN网络的典型传输介质。</td></TR><TR><td class=ubb>通讯电缆</td></TR><TR><td class=ubb></td></TR><TR><td class=ubb>  对于双绞线电缆参数的选择,可以参考表&nbsp;1中的ISO/DIS&nbsp;11898推荐值。</td></TR><TR><td class=ubb>表&nbsp;1&nbsp;与传输线长度相关的电缆直流参数推荐值&nbsp;</td></TR><TR><td class=ubb><table class=ubb cellspacing=0><TR><td class=ubb><br />总线长度&nbsp;</td><td class=ubb><br />电缆&nbsp;</td><td class=ubb><br />终端电阻&nbsp;</td><td class=ubb><br />最大波特率&nbsp;</td></TR><TR><td class=ubb><br />直流电阻&nbsp;</td><td class=ubb><br />导线截面积&nbsp;</td></TR><TR><td class=ubb><br />0…40m</td><td class=ubb><br />70mΩ/m</td><td class=ubb><br />0.25&nbsp;mm2&nbsp;~0.34&nbsp;mm2<br />AWG23,&nbsp;AWG22</td><td class=ubb><br />124Ω/1%</td><td class=ubb><br />1Mb<i>i</i>t/s<br />at&nbsp;40m</td></TR><TR><td class=ubb><br />40m…300m</td><td class=ubb><br />&lt60mΩ/m</td><td class=ubb><br />0.34&nbsp;mm2&nbsp;~0.6&nbsp;mm2<br />AWG22,&nbsp;AWG20</td><td class=ubb><br />127Ω/1%&nbsp;</td><td class=ubb><br />&gt500kb<i>i</i>t/s<br />at&nbsp;100m</td></TR><TR><td class=ubb><br />300m…600m</td><td class=ubb><br />&lt40mΩ/m</td><td class=ubb><br />0.5&nbsp;mm2&nbsp;~0.6&nbsp;mm2<br />AWG20</td><td class=ubb><br />127Ω/1%?&nbsp;</td><td class=ubb><br />&gt100kb<i>i</i>t/s<br />at&nbsp;500m</td></TR><TR><td class=ubb><br />600m…1km</td><td class=ubb><br />&lt20mΩ/m</td><td class=ubb><br />0.75&nbsp;mm2&nbsp;~0.8&nbsp;mm2<br />AWG18</td><td class=ubb><br />127Ω/1%?&nbsp;</td><td class=ubb><br />&gt50kb<i>i</i>t/s<br />at&nbsp;1km</td></TR></table></td></TR></table><table class=ubb cellspacing=0><TR><td class=ubb></td></TR><TR><td class=ubb>拓扑结构</td></TR><TR><td class=ubb></td></TR><TR><td class=ubb>  使用双绞线作为传输介质的iCAN网络具有总线型网络拓扑结构,如下图所示。</td></TR><TR><td class=ubb><img src="http://www.icansys.org/image/tu/xitong_07.jpg"></td></TR><TR><td class=ubb>  iCAN网络最多支持64个节点(主站和从站总数不超过64个),网络干线两端必须安装终端电阻,节点与网络干线之间用分支线连接。在实际应用时要求网络中的分支线尽可能短,在1Mbps速率下,分支线最长为0.3m,在速率较低的情况下,分支线可以延长。<br />  iCAN网络最大的通讯距离与网络中的通讯速率相关,&nbsp;iCAN网络中位速率和最大总线长度之间的关系如表2所示</td></TR><TR><td class=ubb></td></TR><TR><td class=ubb><table class=ubb cellspacing=0><TR><td class=ubb>位速率/kbps</td><td class=ubb><br />1000</td><td class=ubb><br />500</td><td class=ubb><br />250</td><td class=ubb><br />125</td><td class=ubb><br />100</td><td class=ubb><br />50</td><td class=ubb><br />20</td><td class=ubb><br />10</td></TR><TR><td class=ubb><br />最大距离/m</td><td class=ubb><br />40</td><td class=ubb><br />130</td><td class=ubb><br />270</td><td class=ubb><br />530</td><td class=ubb><br />620</td><td class=ubb><br />1300</td><td class=ubb><br />3300</td><td class=ubb><br />6700</td></TR></table></td></TR></table><table class=ubb cellspacing=0><TR><td class=ubb></td></TR><TR><td class=ubb>终端电阻</td></TR><TR><td class=ubb></td></TR><TR><td class=ubb>  采用双绞线传输时必须在干线的两端安装终端电阻,以避免出现信号反射。终端电阻要求如下:</td></TR><TR><td class=ubb>  <img src="http://www.icansys.org/image/ican_dot.gif">&nbsp;120偶姆<br />  <img src="http://www.icansys.org/image/ican_dot.gif">&nbsp;1%金属膜<br />  <img src="http://www.icansys.org/image/ican_dot.gif">&nbsp;1/4瓦&nbsp;</td></TR><TR><td class=ubb>  注意:终端电阻只能安装在干线两端,不可安装在支线末端。</td></TR></table></td></TR></table>
iC921 发表于 2008-11-26 23:50 | 显示全部楼层

根据新定的标准,提问清楚明了

<br /><br />给楼主的帖子加酷。但下述解释有待确认。<br />------------------<br />物理信号<br />  CAN2.0B规范定义了两种互补的逻辑数值:“显性”和“隐性”,同时传送“显性”和“隐性”位时,总线结果值为“显性”。“显性”(“Daminant”)数值表示逻辑“0”,而“隐性”(“Recessive”)表示逻辑“1”。<br />  在CAN规范中并未定义代表逻辑电平的物理状态(例如电压),iCAN网络使用符合ISO11898-2标准的电平信号,典型地,CAN总线为“隐性”(逻辑1)时,CAN_H和CAN_L的电平为2.5V(电位差为0V);CAN总线为“显性”(逻辑0)时,CAN_H和CAN_L的电平分别是3.5V和1.5V(电位差为2.5V),如下图所示。<br /><br /><img src="http://www.icansys.org/image/tu/xitong_04.jpg">
tyw 发表于 2008-11-27 10:21 | 显示全部楼层

哈哈,看来还是没搞明白哦,再看下这个,也许容易理解

由此可见,无论从实时性、适应性、灵活性,还是可靠性上来看,CAN总线都是一种比RS-232更为优秀的串行总线。当两台串口设备的相距较远,不能直接用RS-232把它们连接起来时,就可以把RS-232转换为CAN,通过CAN总线来实现串口设备的网络互连。<br />但是,RS-232和CAN在电平和帧格式上都是很大的不同。具体表现如下:<br />&nbsp;&nbsp;&nbsp;&nbsp;RS-232标准电平采用负逻辑,规定+3V~+15V之间的任意电平为逻辑“0”电平,-3V~-15V之间的任意电平为逻辑“1”电平。<font color=#FF0000><B><U>而CAN信号则使用差分电压传送</U></B></font>,两条信号线称为“CAN_H”和“CAM_L”,静态时均为2.5V左右,此时的状态表示为逻辑“1”,也可以叫做“隐性”;<font color=#008040><U>用CAN_H比CAN_L高表示逻辑“0”,称为“显性”。</U></font>显性时,通常电压值为:CAN_H=3.5V,CAN_L=1.5V;<br /><br /><font color=#FF0040></font><br /><font color=#808000><font color=#C08000>差分电压定义:&nbsp;&nbsp;Vdiff&nbsp;=&nbsp;CAN_H&nbsp;-&nbsp;CAN_L</font><br /></font><font color=#FF0040>那个图中黄线为CAN_H波形,绿线为CAN_L</font><br /><font color=#408080>在波形左,右两端时,CAN_H=CAN_L=2.5v,称为&quot;隐性&quot;&nbsp;&nbsp;(差值为&quot;0v&quot;)</font><br /><font color=#FF0040>在波形中间时,CAN_H=3.5V,CAN_L=1.5V,称为&quot;显性&quot;&nbsp;&nbsp;(差值为&quot;2v&quot;)</font><br /><br /><br />**来自“自动化学习网”(<a href="http://www.zdh8.cn" target=_blank>http://www.zdh8.cn</a>)&nbsp;-&nbsp;<br />详文链接:<a href="http://www.zdh8.cn/html/article/xianchangzongxian/200712/1054.html" target=_blank>http://www.zdh8.cn/html/article/xianchangzongxian/200712/1054.html</a><br /><br /><iframe width="500" height="500" border="1" src="http://www.zdh8.cn/html/article/xianchangzongxian/200712/1054.html"></iframe>
李冬发 发表于 2008-11-27 22:15 | 显示全部楼层

倒塌,又是跟蛋白精一类的名称!

  
 楼主| 合影 发表于 2008-11-28 09:30 | 显示全部楼层

多谢啦!!!

  
ialab 发表于 2012-7-25 15:19 | 显示全部楼层
CAN2.0B规范定义了两种互补的逻辑数值:“显性”和“隐性”,同时传送“显性”和“隐性”位时,总线结果值为“显性”。“显性”(“Daminant”)数值表示逻辑“0”,而“隐性”(“Recessive”)表示逻辑“1”。
  在CAN规范中并未定义代表逻辑电平的物理状态(例如电压),iCAN网络使用符合ISO11898-2标准的电平信号,典型地,CAN总线为“隐性”(逻辑1)时,CAN_H和CAN_L的电平为2.5V(电位差为0V);CAN总线为“显性”(逻辑0)时,CAN_H和CAN_L的电平分别是3.5V和1.5V(电位差为2.5V)
先记下来 刚刚学习CAN
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

3

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部