基于Sunplus SPCE061A控制核心的电动车跷跷板设计及实现

2010-05-13 09:17:24张志强,陈丹,程道来,仪垂杰
现代电子技术 2009年19期

张志强,陈 丹,程道来,仪垂杰

摘 要:为设计一可以在跷跷板上自动找到平衡的电动小车,采用凌阳SPCE061A作为电动车的控制核心,直流电机驱动,将无触点磁敏电位器加重锤改造后自制成角度传感器检测平衡点,黑线作为方向引导,车载LCD为状态显示界面,并由相应的语音播报进行平衡提示,实现了电动车自动寻找跷跷板和板上平衡点的自动寻找等功能。经过多次测试验证,电动车均能很好地找到跷跷板上的平衡点,证明该设计方案可行。该设计新思想具有简单、方便、实用的特点。

关键词:SPCE061A;平衡点;角度传感器;寻线;LCD;语音

中图分类号:U469.72;TP273+.2文献标识码:A

文章编号:1004-373X(2009)19-106-04

Design and Realization of Electric Vehicle on Seesaw with Sunplus SPC061A Control Core

ZHANG Zhiqiang1,3,CHEN Dan2,CHENG Daolai3,YI Chuijie1

(1.Qingdao R&D; Center of Energy and Environment,Qingdao Technological University,Qingdao,266033,China;

2.School of Computer Science and Technology,Beijing Technology and Business University,Beijing,100037,China;

3.School of Construction and Safety Engineering,Shanghai Institute of Technology,Shanghai,200233,China)

Abstract:To design an electric vehicle which could search balance on seesaw,Sunplus SPCE061A as the control core of the electric vehicle in the design,driven by DC motor,and the non-contact magnetic potentiometer modified with small hammer is made into the angle sensor to detect equilibrium point.Black line guiding scheme is used to make electric vehicle automatically find seesaw and balance board.Vehicle-load LCD board is adopted as status display screen in the system.The corresponding voice broadcast balance is indicated.The design function is implemented and tested repeatedly,results are good.The new design idea of the electric vehicle on seesaw is brought forward,it has the characteristics of briefness,convenience and practicality.

Keywords:SPCE061A;balance point;angle sensor;LCD;voice

在多次全国电子设计大赛中,电动车的设计一直都是热点,从历届的电动车设计作品来看,电动车的车体往往做得大而重,且常常需要依靠车体以外的模块辅助才能完成,这对于车来说就不够智能化了。本文中电动车设计所采用的方案,车体小巧灵活,不需借助任何的附加设备即可工作,而且对跷跷板的要求很低。

1 总方案设计

系统可以划分为控制部分和信号检测部分[1]。其中,控制部分由控制器模块、电源模块、电机模块、显示模块、语音模块等模块构成;信号检测部分由平衡检测模块、引导模块构成。采用单控制器,控制器和角度传感器直接安装在车体上,角度传感器的角度信号传送给控制器,控制器根据信号来判断电动车当前的状态,做出相应的反应(前进、后退、停车、平衡指示等)。……

登录APP查看全文