📄 our robot 1 号机器人的轮子光电编码器电路.htm
字号:
<BR><BR>而90度相位差的传感器就是在编码盘信号宽度差一半(90度或n*360+/-90的)位置部署第二个传感器,这样两个传感器的信号就差了90度,通过判断哪个信号出现的早,即可知转动的方向了。可以画个图来看,很容易明白的。
<BR><BR>*一般来说只有在需要考虑坡度或者外动力干扰的情况下才需要考虑正反转问题,并且考虑到正反转问题的情形下,就要考虑刹车了,不管用机械刹车还是反力矩刹车,都有一定的复杂度了。加这个东西对程序压力稍微大一点点,也许放在第二个版本解决会比较好。至于用这种方式提高编码盘精度,个人也觉得意义不是很大,从物理设计上提高,编码盘的精度也该够用吧?<BR>-----<FONT
color=blue>此内容被Cocal于2005-10-14,09:35:59编辑过</FONT><BR></FONT></TD></TR>
<TR>
<TD class=f03
style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #ffffff 0.5pt solid"
vAlign=bottom bgColor=#d1d9e2> </TD></TR>
<TR>
<TD class=f03
style="BORDER-RIGHT: #ffffff 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: #bbbbbb 0.5pt solid; BORDER-BOTTOM: #bbbbbb 0.5pt solid"
align=left width="19%" bgColor=#d1d9e2><IMG height=1 src=""
width=7>2005-10-14,09:35:11 </TD>
<TD class=f03
style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #bbbbbb 0.5pt solid"
vAlign=top width="81%" bgColor=#d1d9e2 ?>
<TABLE width="100%">
<TBODY>
<TR>
<TD align=left><IMG height=1 src="" width=7> <A class=tt4
href="http://www.ouravr.com/bbs/user_information.jsp?user_name=Cocal"
target=_blank>资料</A> <IMG height=1 src="" width=7> <A class=tt4
href="mailto:cocal@happyxy.net">邮件</A> <IMG height=1 src="" width=7>
</TD>
<TD align=right><IMG height=1 src="" width=2> <IMG height=1 src=""
width=2> <IMG height=1 src="" width=2> <IMG height=1 src="" width=2>
<IMG height=1 src="" width=2> <IMG height=1 src="" width=2> <SPAN
class=f01>编辑</SPAN> <IMG height=1 src="" width=7> <SPAN
class=f01>删除</SPAN> <IMG height=1 src="" width=7> <IMG height=1
src="" width=7> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" cellSpacing=0
cellPadding=6 width="100%" border=0>
<TBODY>
<TR>
<TD class=f03
style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: #bbbbbb 0.5pt solid; BORDER-BOTTOM: #bbbbbb 0.5pt solid"
vAlign=top align=left width="19%" bgColor=#e8e8e8 rowSpan=2>【3楼】 <FONT
color=#000000>gxlujd 彩虹</FONT><BR><IMG height=120
src="Our Robot 1 号机器人的轮子光电编码器电路.files/armok01125270.gif"
width=87><BR>积分:<FONT color=#000000>2192</FONT><BR>派别:<FONT
color=#000000></FONT><BR>等级:<FONT color=#000000>------</FONT><BR>来自:<FONT
color=#000000>广西·南宁</FONT><BR></TD>
<TD class=f03
style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none"
vAlign=top width="81%" bgColor=#e8e8e8><FONT
color=#000000>我也觉得是这样,除非有比较精确定位的要求,否则区分正反转意义不是很大。同时使用4个传感器无论是对硬件和软件的要求都高了很多,还是先放一放,暂时考虑使用常规增量式编码盘吧。
<BR><BR>替楼上补几个图: <BR><BR><A
href="Our Robot 1 号机器人的轮子光电编码器电路.files/armok0178246.gif"
target=_blank><IMG src="Our Robot 1 号机器人的轮子光电编码器电路.files/armok0178246.gif"
border=0></A> <BR><BR><A
href="Our Robot 1 号机器人的轮子光电编码器电路.files/armok0178247.gif"
target=_blank><IMG src="Our Robot 1 号机器人的轮子光电编码器电路.files/armok0178247.gif"
border=0></A> <BR><BR><A
href="Our Robot 1 号机器人的轮子光电编码器电路.files/armok0178248.gif"
target=_blank><IMG src="Our Robot 1 号机器人的轮子光电编码器电路.files/armok0178248.gif"
border=0></A> <BR><BR><A
href="Our Robot 1 号机器人的轮子光电编码器电路.files/armok0178249.gif"
target=_blank><IMG src="Our Robot 1 号机器人的轮子光电编码器电路.files/armok0178249.gif"
border=0></A> <BR></FONT></TD></TR>
<TR>
<TD class=f03
style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #bbbbbb 0.5pt solid"
vAlign=bottom bgColor=#e8e8e8>__________________________<BR><IMG
src="Our Robot 1 号机器人的轮子光电编码器电路.files/armok0194788.gif">
<BR><BR>彩虹心语:一份心情一世人,何忍将心染凡尘。恩恩怨怨皆抛开,豁达平和事竟成。 </TD></TR>
<TR>
<TD class=f03
style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: #bbbbbb 0.5pt solid; BORDER-BOTTOM: #bbbbbb 0.5pt solid"
align=left width="19%" bgColor=#e8e8e8><IMG height=1 src=""
width=7>2005-10-14,22:44:15 </TD>
<TD class=f03
style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #bbbbbb 0.5pt solid"
vAlign=top width="81%" bgColor=#e8e8e8 ?>
<TABLE width="100%">
<TBODY>
<TR>
<TD align=left><IMG height=1 src="" width=7> <A class=tt4
href="http://www.ouravr.com/bbs/user_information.jsp?user_name=gxlujd"
target=_blank>资料</A> <IMG height=1 src="" width=7> <A class=tt4
href="mailto:gxlujd@21cn.com">邮件</A> <IMG height=1 src="" width=7>
</TD>
<TD align=right><IMG height=1 src="" width=2> <IMG height=1 src=""
width=2> <IMG height=1 src="" width=2> <IMG height=1 src="" width=2>
<IMG height=1 src="" width=2> <IMG height=1 src="" width=2> <SPAN
class=f01>编辑</SPAN> <IMG height=1 src="" width=7> <SPAN
class=f01>删除</SPAN> <IMG height=1 src="" width=7> <IMG height=1
src="" width=7> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" cellSpacing=0
cellPadding=6 width="100%" border=0>
<TBODY>
<TR>
<TD class=f03
style="BORDER-RIGHT: #ffffff 0.5pt solid; BORDER-TOP: #ffffff 0.5pt solid; BORDER-LEFT: #bbbbbb 0.5pt solid; BORDER-BOTTOM: #ffffff 0.5pt solid"
vAlign=top align=left width="19%" bgColor=#d1d9e2 rowSpan=2>【4楼】 <FONT
color=#000000>HJJourAVR </FONT><BR>积分:<FONT
color=#000000>4933</FONT><BR>派别:<FONT color=#000000></FONT><BR>等级:<FONT
color=#000000>------</FONT><BR>来自:<FONT color=#000000></FONT><BR></TD>
<TD class=f03
style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: #ffffff 0.5pt solid; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none"
vAlign=top width="81%" bgColor=#d1d9e2><FONT
color=#000000>机械鼠标的光电检测区别正反转就跟上面说的一样,400~800dpi分辨率。 <BR>恐怕需要一片独立的MCU取检测.
<BR>或拆了个机械鼠标,借用里面的红外器件和控制芯片,可以同时做2/3路检测,并自动计数,采用PS2(类SPI)接口,很方便的。
<BR></FONT></TD></TR>
<TR>
<TD class=f03
style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #ffffff 0.5pt solid"
vAlign=bottom
bgColor=#d1d9e2>__________________________<BR>因为有些事情 我知道你不知道,
<BR>也有一些事情 你知道我不知道, <BR>还有些事情 他知道你我不知道, <BR>所有这些事情 说了大家才知道。
</TD></TR>
<TR>
<TD class=f03
style="BORDER-RIGHT: #ffffff 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: #bbbbbb 0.5pt solid; BORDER-BOTTOM: #bbbbbb 0.5pt solid"
align=left width="19%" bgColor=#d1d9e2><IMG height=1 src=""
width=7>2005-10-16,09:22:25 </TD>
<TD class=f03
style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #bbbbbb 0.5pt solid"
vAlign=top width="81%" bgColor=#d1d9e2 ?>
<TABLE width="100%">
<TBODY>
<TR>
<TD align=left><IMG height=1 src="" width=7> <A class=tt4
href="http://www.ouravr.com/bbs/user_information.jsp?user_name=HJJourAVR"
target=_blank>资料</A> <IMG height=1 src="" width=7> <A class=tt4
href="mailto:HJJnow@126.com">邮件</A> <IMG height=1 src="" width=7>
</TD>
<TD align=right><IMG height=1 src="" width=2> <IMG height=1 src=""
width=2> <IMG height=1 src="" width=2> <IMG height=1 src="" width=2>
<IMG height=1 src="" width=2> <IMG height=1 src="" width=2> <SPAN
class=f01>编辑</SPAN> <IMG height=1 src="" width=7> <SPAN
class=f01>删除</SPAN> <IMG height=1 src="" width=7> <IMG height=1
src="" width=7> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" cellSpacing=0
cellPadding=6 width="100%" border=0>
<TBODY>
<TR>
<TD class=f03
style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: #bbbbbb 0.5pt solid; BORDER-BOTTOM: #bbbbbb 0.5pt solid"
vAlign=top align=left width="19%" bgColor=#e8e8e8 rowSpan=2>【5楼】 <FONT
color=#000000>sjx1016 </FONT><BR>积分:<FONT
color=#000000>9</FONT><BR>派别:<FONT color=#000000></FONT><BR>等级:<FONT
color=#000000>------</FONT><BR>来自:<FONT color=#000000></FONT><BR></TD>
<TD class=f03
style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none"
vAlign=top width="81%" bgColor=#e8e8e8><FONT
color=#000000>是啊,我做过这方面的东西,一个驱动器控制一只电机要有独立的MCU不然主MCU肯定受不了的!</FONT> </TD></TR>
<TR>
<TD class=f03
style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #bbbbbb 0.5pt solid"
vAlign=bottom bgColor=#e8e8e8> </TD></TR>
<TR>
<TD class=f03
style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: #bbbbbb 0.5pt solid; BORDER-BOTTOM: #bbbbbb 0.5pt solid"
align=left width="19%" bgColor=#e8e8e8><IMG height=1 src=""
width=7>2006-06-02,02:28:36 </TD>
<TD class=f03
style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #bbbbbb 0.5pt solid"
vAlign=top width="81%" bgColor=#e8e8e8 ?>
<TABLE width="100%">
<TBODY>
<TR>
<TD align=left><IMG height=1 src="" width=7> <A class=tt4
href="http://www.ouravr.com/bbs/user_information.jsp?user_name=sjx1016"
target=_blank>资料</A> <IMG height=1 src="" width=7> <SPAN
class=f01>邮件</SPAN> <IMG height=1 src="" width=7> </TD>
<TD align=right><IMG height=1 src="" width=2> <IMG height=1 src=""
width=2> <IMG height=1 src="" width=2> <IMG height=1 src="" width=2>
<IMG height=1 src="" width=2> <IMG height=1 src="" width=2> <SPAN
class=f01>编辑</SPAN> <IMG height=1 src="" width=7> <SPAN
class=f01>删除</SPAN> <IMG height=1 src="" width=7> <IMG height=1
src="" width=7> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" cellSpacing=0
cellPadding=6 width="100%" border=0>
<TBODY>
<TR>
<TD class=f03
style="BORDER-RIGHT: #ffffff 0.5pt solid; BORDER-TOP: #ffffff 0.5pt solid; BORDER-LEFT: #bbbbbb 0.5pt solid; BORDER-BOTTOM: #ffffff 0.5pt solid"
vAlign=top align=left width="19%" bgColor=#d1d9e2 rowSpan=2>【6楼】 <FONT
color=#000000>lionmilk </FONT><BR>积分:<FONT
color=#000000>167</FONT><BR>派别:<FONT color=#000000></FONT><BR>等级:<FONT
color=#000000>------</FONT><BR>来自:<FONT color=#000000></FONT><BR></TD>
<TD class=f03
style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: #ffffff 0.5pt solid; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none"
vAlign=top width="81%" bgColor=#d1d9e2><FONT
color=#000000>彩虹大哥电路中的发射管和接收管的型号是什么呀?使用色盘和光栅盘使用的元件不一样吧。如果把机械鼠标里的光电元件(发射、接收管)拆下来可以用色盘吗?
<BR></FONT></TD></TR>
<TR>
<TD class=f03
style="BORDER-RIGHT: #bbbbbb 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #ffffff 0.5pt solid"
vAlign=bottom bgColor=#d1d9e2> </TD></TR>
<TR>
<TD class=f03
style="BORDER-RIGHT: #ffffff 0.5pt solid; BORDER-TOP: medium none; BORDER-LEFT: #bbbbbb 0.5pt solid; BORDER-BOTTOM: #bbbbbb 0.5pt solid"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -