基于光耦传感器的控制方法-从离散量到连续量康世胤 1,李长城 2,莫一林 3,顾全全 4,陆耿 5(1. 清华大学 自动化系,北京 100084;2. 清华大学 自动化系,北京 100084;3. 清华大学 自动化系,北京 100084;4. 清华大学 自动化系,北京 100084;5. 清华大学 自动化系,北京 100084)摘要: 第一届“飞思卡尔”杯全国大学生智能车邀请赛要求对高速行驶的小车进行实时控制,使其巡线完成比赛赛道。针对这种要求,我们选择了最成熟的 PID 控制,尝试了由离散的不完全微分的 PD 控制到相对连续 PD 控制的过渡,通过采集光耦传感器输出的模拟量,采用对称求位置法得到连续性较好的位置信息,利用双排传感器计算角度,对位置和角度同时进行 PD 控制,经过细致调试确定相应参数,并合理利用分段、设置死区等方法,最终小车可以获得较好的稳定性和在高速情况对赛道中心线的跟随特性。关键词: 道路寻迹;PID 控制;对称定位;离散;连续Control Method Based on Photoelectric Coupling Device – from Discrete Signal to Continual SignalKANG Shiyin1,LI Changcheng2,MO Yilin3,GU Quanquan4,LU Geng5(1. Automation, Tsinghua University, Beijing 100084, China;2. Automation, Tsinghua University, Beijing 100084, China;3. Automation, Tsinghua University, Beijing 100084, China;4. Automation, Tsinghua University, Beijing 100084, China;5. Automation, Tsinghua University, Beijing 100084, China;) Abstract: In the coming FREESCALE College Student Smart Car Competition ’06, real time control strategies are required to be applied in the high-speed model car which to make sure the car tracking the unknown road and finishing 2 laps of game. Based on the requirement we select one of the most well applied proportion-integration-deviation (PID) method. Much works are carried out including trying varies of strategy from initial discrete PD to final continual PD. In the current strategy analog output of photoelectric coupling devices are sampled and converted from A to D. Symmetric positionin...