工业机器人设计--自动往返小车设计说明书
自动往返小车控制程序的设计与调试实验

自动往返小车控制程序的设计与调试实验一、设计:1.确定硬件和电路连接:确定需要的传感器、执行器和控制器等硬件,并按照规定的电路连接方式进行连接。
2.初始化:在程序开始时,初始化相关变量和设备,例如设置传感器引脚的输入输出模式,设置执行器引脚的输出模式等。
3.传感器数据获取:程序中需要获取传感器的数据,例如红外避障传感器检测到有障碍物时,返回高电平信号。
4.控制算法:根据传感器数据和运动策略,确定小车的运动方式。
例如,如果红外传感器检测到有障碍物,小车需要停下或者改变方向避障。
5.执行器控制:根据控制算法确定小车的运动方式后,将控制信号发送给执行器,例如电机控制模块控制小车前进、后退、停止等。
6.循环控制:将步骤3-5进行循环执行,实现小车的自动往返运动。
7.结束:当需要结束程序时,释放资源,关闭设备等。
二、调试实验:进行自动往返小车控制程序的调试实验可以按照以下步骤进行:1.连接硬件:将传感器、执行器和控制器等硬件按照设计要求进行连接。
2.编写程序:根据设计的步骤,编写相应的控制程序,并进行初步测试。
3.调试传感器:分别测试各个传感器,确保传感器能够正常工作,并能够获取到正确的数据。
4.测试控制算法:根据传感器数据和运动策略,测试控制算法的准确性和可靠性。
例如,使用虚拟环境或模拟障碍物来模拟实际情况,检查小车是否能够正确地避障。
5.测试执行器控制:根据控制算法确定小车的运动方式后,测试执行器的控制功能是否正常。
例如,测试小车是否能够按照设定的方向、速度等参数进行正常运动。
6.整体调试:将步骤3-5进行整体调试,检查小车是否能够完成自动往返运动。
7.优化和修正:根据实际测试结果,对程序进行优化和修正。
例如,调整控制算法的参数、增加异常处理代码等。
8.最终测试:最终测试整个程序的功能和性能,确保小车能够稳定、可靠地完成自动往返运动。
通过以上的设计和调试实验,可以有效地实现自动往返小车的控制程序,并对其进行调试和优化,从而达到预期的效果。
plc小车自动往返毕业设计

plc小车自动往返毕业设计
PLC小车自动往返毕业设计可以按照以下步骤进行:
1. 确定设计要求:确定PLC小车自动往返的具体功能和要求,包括小车的移动方式、起止点、速度控制、停顿时间等。
2. 系统设计:设计整个系统的硬件部分,包括PLC控制器、
电机驱动、传感器以及其他必要的电路和接口。
3. 程序设计:编写PLC控制程序,实现小车自动往返的逻辑
控制,包括起动、停止、方向控制以及速度控制等。
4. 系统调试:将硬件部分和程序部分进行整合,测试系统的正常运行,调试可能出现的问题,确保系统稳定可靠。
5. 性能优化:通过调整程序和参数,对系统进行优化,提高小车的移动速度、精度和稳定性。
6. 结果评估:对设计的系统进行评估和测试,检查是否符合设计要求和预期效果,并进行必要的改进和调整。
7. 文档撰写:撰写毕业设计报告,详细记录设计的整个过程,包括设计原理、实施步骤、测试结果和分析等。
8. 学术交流:参加学术交流活动,向其他同行和专业人士展示设计成果,并从他们的反馈中得到进一步改进的建议。
以上步骤只是一个大致的指导,在具体实施过程中可能还会根据具体情况进行一些调整和改变。
同时,也需要注意安全问题,确保设计和实施过程中不会造成任何人身伤害或设备损坏。
自动往返电动小汽车设计

自动往返电动小汽车设计摘要智能小车,也称轮式机器人,是一种以汽车电子为背景,涵盖智能控制、模式识别、传感技术、电子电气、计算机、机械等多学科的科技创意性设计。
一般主要由路径识别、速度采集、角度控制及车速控制等模块组成。
本系统以SST系列单片机为核心控制模块,充分利用了自动检测技术、单片机最小系统、液晶显示模块电路,以及声光信号的控制、电机的驱动电路。
通过Keil C和PROTEUS的仿真,通过实践操作与调试,实现自动往返小车设计。
综合运用单片机技术、自动控制理论、检测技术等。
使小车能在无人操作情况下,借助传感器识别路面环境,由单片机控制行进,实现初步的无人控制。
单片机具有体积小、重量轻、耗电少、功能强、控制灵活方便且价格低廉等优点。
智能小车采用单片机为控制器核心,其集成度高、体积小、抗干扰能力强,具有独特的控制功能,单片机的应用正从根本上改变着传统的控制系统设计思想和设计方法。
本设计以单片机为核心,附以外围电路,采用光电检测器进行检测信号和循线运动。
运用单片机的运算和处理能力来实现小车的自动加速、限速、减速、定时、前进、后退、左转、右转、显示行驶速度、行驶路程、行驶时间等智能控制系统。
关键词:SST单片机,自动控制,电动小车, PWM调速,传感器THE DESIGN OF AUTOMATIC ELECTRIC CARSABSTRACTSmart cars, also called wheeled robots, is a kind of automobile electronic background, intelligent control, pattern recognition and sensing technology, electronic, computer, machinery and multidisciplinary science creative design. Generally consists mainly of path recognition, speed acquisition, angle control and speed control module.System design for the core of SST series microcontroller control module. Make full use of the automatic detection technology, MCU smallest system, LCD module circuit, the control of signal, and the motor drive circuit. Through the simulation Keil C and PROTEUS, practice and debugging, and the realization of automatic car design. Comprehensive use of microcontroller technology, automatic control theory, the detection technology, etc. That car in unattended operation circumstance, using sensor identify road environment. Travel by single-chip microcomputer control, the preliminary no control.MCU is well established for its flexible operations, small volume, light weight, less consumption, powerful functions, and low in price. This design based on singlechip, peripheral circuit, by using photoelectric detector signal detection and followed the movement. Using MCU to realize the automatic forward, backward, left, right, and display speed, driving distance, time of intelligent control system.The application of MCU is fundamentally changing the traditional control system design ideas and design method.KEY WORDS: SST microcontroller, automatic, PWM speed adjusting, sensor目录前言 (1)第1章绪论 (2)§1.1 设计背景 (2)§1.2 设计概述 (2)§1.3 设计任务和主要内容 (3)第2章系统方案论证与分析 (4)§2.1小车车体选择 (4)§2.2主控单片机 (5)§2.2.1采用凌阳16位单片机 (5)§2.2.2采用SST89E516RD单片机 (5)§2.3 电机模块 (6)§2.3.1 采用步进电机 (6)§2.3.2 采用直流电机 (6)§2.4 电机驱动调速模块 (6)§2.5 电源管理 (8)§2.5.1采用单电源供电 (8)§2.5.2采用双电源供电 (8)§2.6 路面黑线探测模块 (9)§2.6.1采用对射式红外光电传感器 (9)§2.6.2采用反射式红外光电传感器 (9)§2.7 测速及里程计量模块 (10)§2.7.1采用霍尔传感器 (10)§2.7.2采用U型红外光电传感器 (10)§2.8 计时模块 (11)§2.9 显示模块 (11)§2.9.1采用LED数码管 (11)§2.9.2采用LCD液晶显示 (11)第3章智能小车系统设计 (12)§3.1主控单片机功能设计 (12)§3.1.1 单片机硬件结构 (12)§3.1.2单片机引脚锁定 (13)§3.2电机驱动控制设计 (15)§3.3 PWM调速控制设计 (17)§3.4传感器设计 (20)§3.4.1 黑线检测传感器设计 (20)§3.4.2 测速、里程计量传感器设计 (25)§3.5液晶显示功能设计 (28)第4章128×64液晶功能分析............................................. 错误!未定义书签。
自动往返电动小汽车(毕业设计)

一. 毕业实践任务书无锡职业技术学院毕业实践任务书课题名称:自动往返电动小汽车指导教师:XXXXXXX 职称:讲师指导教师:职称:专业名称:XXXXXXXX 班组:XXXXXX学生姓名:XXXXXXX 学号:05一. 课题需要完成的任务:设计并制作一个能自动往返于起跑线与终点线间的小汽车。
允许用玩具汽车改装,但不能用人工遥控(包括有线和无线遥控)。
图1跑道顶视图跑道宽度0.5m,表面贴有白纸,两侧有挡板,挡板与地面垂直,其高度不低于20cm。
在跑道的B、C、D、E、F、G各点处画有2cm宽的黑线,各段的长度如图1所示。
设计要求1、车辆从起跑线出发(出发前,车体不得超出起跑线),到达终点线后停留10秒,然后自动返回起跑线(允许倒车返回)。
往返一次的时间应力求最短(从合上汽车电源开关开始计时)。
2. 达终点线和返回起跑线时,停车位置离起跑线和终点线偏差应最小(以车辆中心点与终点线或起跑线中心线之间距离作为偏差的测量值)。
D~E间为限速区,车辆往返均要求以低速通过,通过时间不得少于8秒,但不允许在限速区内停车。
二. 课题计划:2006.3.3~2006.3.6 熟悉课题,可行性方案分析及方案论述。
2006.3.7~2006.3.19 查阅资料,设计各部分硬件。
2006.3.19~2006.4.10 画原理图,印刷线路板。
2006.4.10~2006.4.20 编写程序验证部分硬件。
2006.4.21~2006.4.25 写出毕业论文。
计划答辩时间:4.21-4.28XXXXX 系(部、分院)2006年02年18日二.外文翻译VIDEOCASSETTEBefore the videocassette recorder there was the movie projector and screen. Perhaps you remember your fifth-grade teacher pulling down a screen—or Dad hanging a sheet on the wall, ready to show visiting friends the enthralling account of your summer vacation at the shore. Just as the film got started, the projector bulb often blew out.Those days did have one advantage, though: the screen was light, paper-thin and could be rolled into a portable tube. Compare that with bulky television and computer screens, and the projector screen invokes more than just nostalgia. Could yesterday's convenience be married to today's technology?The answer is yes, thanks to organic light-emitting materials that promise to make electronic viewing more convenient and ubiquitous. Used in displays, the organic materials are brighter, consume less energy and are easier to manufacture (thus potentially cheaper) than current options based on liquid crystals. Because organic light-emitting diodes (OLEDs) emit light, they consume significantly less power, especially in small sizes, than common liquid-crystal displays (LCDs), which require backlighting. OLEDs also offer several exciting advantages over common LEDs: the materials do not need to be crystalline (that is, composed of a precisely repeating pattern of planes of atoms), so they are easier to make; they are applied in thin layers for a slimmer profile; and different materials (for different colors) can be patterned on a given substrate to make high-resolution images. The substrates may be inexpensive glass or flexible plastic or even metal foil.In the coming years, large-screen televisions and computer monitors could roll up for storage. A soldier might unfurl a sheet of plastic showing a real-time situation map. Smaller displays could be wrapped around a person's forearm or incorporated into clothing. Used in lighting fixtures, the panels could curl around an architectural column or lie almost wallpaperlike against a wall or ceiling.LEDs currently have longer lifetimes than organic emitters, and itwill be tough to beat the widespread LED for use in indicator lamps. But OLEDs are already demonstrating their potential for displays. Their screens put out more than 100 candelas per square meter (about the luminance of a notebook screen) and last tens of thousands of hours (several years of regular use) before they dim to half their original radiance.Close to 100 companies are developing applications for the technology, focusing on small, low-power displays [see box on page 80]. Initial products include a nonflexible 2.2-inch (diagonal) display for digital cameras and cellular phones made jointly by Kodak and Sanyo, introduced in 2002, and a 15-inch prototype computer monitor produced by the same collaborative venture. The global market for organic display devices was about $219 million in 2003 and is projected to jump to $3.1 billion by 2009, according to Kimberly Allen of iSuppli/Stanford Resources, a market-research firm specializing in displays.一、What LED to OLEDCRYSTALLINE semiconductors—the forerunners of OLEDs—trace their roots back to the development of the transistor in 1947, and visible-light LEDs were invented in 1962 by Nick Holonyak, Jr. They were first used commercially as tiny sources of red light in calculators and watches and soon after also appeared as durable indicator lights of red, green or yellow. (When suitably constructed, LEDs form lasers, which have spawned the optical-fiber revolution, as well as optical data storage on compact discs and digital video discs.) Since the advent of the blue LED in the 1990s [see “Blue Chip,” by Glenn Zorpette; Scientific American, August 2000], full-color, large-screen television displays made from hundreds of thousands of LED chips have appeared in spectacular fashion on skyscrapers and in arenas [see “In Pursuit of the Ultimate Lamp,” by M. George Crawford, Nick Holonyak, Jr., and Frederick A. Kish, Jr.; Scientific American, February 2001]. Yet the smaller sizes used in devices such as PDAs (personal digital assistants) and laptops are not as practical.LEDs and OLEDs are made from layers of semiconductors—materials whose electrical performance is midway between an excellent conductorsuch as copper and an insulator such as rubber. Semiconducting materials, such as silicon, have a small energy gap between electrons that are bound and those that are free to move around and conduct electricity. Given sufficient energy in the form of an applied voltage, electrons can “jump” the gap a nd begin moving, constituting an electrical charge. A semiconductor can be made conductive by doping it; if the atoms added to a layer have a smaller number of electrons than the atoms they replace, electrons have effectively been removed, leaving positively charged “holes” and making the material “p-type.” Alternatively, a layer that is doped so that it has an excess of negatively charged electrons becomes “n-type” [see box on opposite page]. When an electron is added to a p-type material, it may encounter a hole and drop into the lower band, giving up an amount of energy (equal to the energy gap) as a photon of light. The wavelength depends on the energy gap of the emitting material.For the production of visible light, organic materials should have an energy gap between their lower and higher conduction bands in a relatively small range, about two to three electron volts. (One electron volt is defined as the kinetic energy gained by an electron when it is accelerated by a potential difference of one volt. A photon with one electron volt of energy corresponds to the infrared wavelength of 1,240 nanometers, and a photon of two electron volts has a wavelength half as much—620 nanometers—a reddish color.)二、A Surprising GlowORGANIC semiconductors are formed as aggregates of molecules that are, in the technologies being pursued, amorphous—a solid material, but one that is noncrystalline and without a definite order. There are two general types of organic light emitters, distinguished by “small” and “large” molecule sizes. The first practical p-n-type organic LED, based on small molecules, was invented in 1987 by Ching W. Tang and Steven A. Van Slyke of Eastman Kodak, after Tang noticed a surprising green glow coming from an organic solar cell he was working on. The duo recognized that by using two organic materials, one a good conductor of holes and the other a good conductor of electrons, they could ensure that photon emission would take place near the contact area, or junction, of the two materials, as in acrystalline LED. They also needed a material that held its electrons tightly, meaning that it would be easy to inject holes. For the light to escape, one of the contacts must be transparent, and the scientists benefited from the fortunate fact that the most widely used transparent conducting material, indium tin oxide, bound its electrons suitably for p-type contact material.The structure they came up with has not changed much over the years and is often called “Kodak-type,” because Kodak had the basic patent [see box on opposite page]. Beginning with a glass substrate, different materials are deposited layer by layer. This process is accomplished by evaporating the constituent materials and letting them condense on the substrate. The total thickness of the organic layers is only 100 to 150 nanometers, much thinner than that of a conventional LED (which is at least microns in thickness) and less than 1 percent of the thickness of a human hair. Because the molecules of the materials used are relatively lightweight—even lighter than a small protein—the Kodak-type OLEDs are referred to as “small molecule” OLEDs.After their initial insight, Tang and Van Slyke tinkered with the design to increase efficiency. They added a small amount of the fluorescent dye coumarin to the emitter material tris (8-hydroxy-quinoline) aluminum. The energy released by the recombination of holes and electrons was transferred to the dye, which emitted light with greatly increased efficiency. Deposition of additional thin layers of indium tin oxide and other compounds next to the electrodes altered the interaction of the thicker layers and also improved the efficiency of the injection of holes and electrons, thereby further upping the overall power efficiency of the fluorescent OLED.Organic LEDs of this small-molecule type are used to make red, green and blue light, with green light having the highest efficiency. Such green-emitting OLEDs can exhibit luminous efficiencies of 10 to 15 candelas per ampere—about as efficient as commercial LEDs today—and seven to 10 lumens per watt, values that are comparable to those for common incandescent lamps.录像机在卡匣式录像机出来之前,我们用的是电影放映机与屏幕。
89c52的单片机自动往返电动小汽车设计报告范文-图文

89c52的单片机自动往返电动小汽车设计报告范文-图文1.设计任务:设计并制作了一个自动往返小汽车,其行驶路线满足所需的要求。
1.1要求:1.1.1基本要求:(1)分区控制:如(图1)所示:(图1)车辆从起跑线出发(出发前,车体不得超出起跑线)。
在第一个路程C~D区(3~6米)以低速行驶,通过时间不低于10;第二个路程D~E区(2米)以高速行驶,通过时间不得多于4秒;第三个路程E~F区(3~6米)以低速行驶,通过时间不低于8。
1.1.2.发挥部分(1)自动记录、显示一次往返时间(记录显示装置要求安装在车上)。
(2)自动记录、显示行驶距离(记录显示装置要求安装在车上)。
(3)其它特色与创新。
2.方案设计:根据设计任务要求,并且根据我们自己的需要而附加的功能,该电路的总体框图可分为几个基本的模块,框图如(图2)所示:555定时器控速模块路面检测测速模块AT89S51LCD显示模块(图2)2.1路面检测模块:路面黑线检测模块采用反射式红外发射--接收器,在车底的前部和中部安装了两个反射式红外传感器.2.2LCD显示模块:采用1602LCD,由单片机的总线模式连接。
为节约电源电量并且不影响LCD的功能,LCD的背光用单片机进行控制,使LCD的背光在小车行驶的过程中不亮,因为我们不必看其显示;在其它我们需要看显示的内容的时候LCD背光亮。
2.3测速模块:采用采用霍尔开关元器件A44E检测轮子上的小磁铁从而给单片机中断脉冲,达到测量速度的作用。
霍尔元件具有体积小,频率响应宽度大,动态特性好,对外围电路要求2简单,使用寿命长,价格低廉等特点,电源要求不高,安装也较为方便。
霍尔开关只对一定强度的磁场起作用,抗干扰能力强,因此可以在车轮上安装小磁铁,而将霍尔器件安装在固定轴上,通过对脉冲的计数进行车速测量。
其原理图接线如(图3)所示:(图3)2.4控速模块:采用由双极性管组成的H桥电路。
用单片机控制晶体管使之工作在占空比可调的开关状态,精确调整电机转速。
小车往返运动控制设计

1.总体要求:对每一课题必须绘制运行工序图,设计的PLC控制系统包括:PLC I/O分配、控制线路图设计、梯形图设计;将设计的PLC程序利用手持式编程器送入PLC 并调试通过,符合课题提出的控制要求后,提交现场验收。
实验报告书在提交上述内容的基础上,还要讨论调试心得。
2.实验课题课题一:小车往返运动控制小车往返运动情况参如图1。
SQ2SQ3SQ1图 1初态:小车启动前位于导轨的中部(如图1中位置),运行要求如下:1)按启动按钮SB1,小车前进,到SQ1处后小车后退;2)小车后退至SQ2处停车,延时5S后第二次前进,到SQ3处后再次后退;3)后退至SQ2处停车。
要求:设计PLC控制系统,必须采用基本逻辑指令编程。
流程图:电气控制线接线图:梯形图:指令表:LD X1 LD X3 LD X4 LD X5OR Y0 OR Y1 OR M0 OR M1OR T0 OR X5 MPS ANI X1LDI X3 ANI X4 OUT T0 OUT M1OR M0 ANI Y0 K50 ENDANB OUT Y1 MPPANI X5 ANI X1ANI M1 OUT M0ANI Y1OUT Y0课题二:三台电机顺序控制三台电机顺序控制要求如下:M1运行10S 后停止,M2自行启动;M2运行5S 后停止,M3自行启动;M3运行5S后停止,M1重新自行启动运行,如此反复三次后所有电机停止运行。
要求:设计PLC控制系统,必须采用基本逻辑指令编程。
流程图:电气控制线路图:接线图:梯形图:指令表:LD M8002 LD T0 LD T1 RST C0 OR Y1 OR Y2 LD X1 MPS MPSRST C0 OUT T1 OUT T2 LD X1 K50 K50 OR T2 MPP MPPOR Y0 ANI T1 ANI T2 MPS OUT Y1 OUT Y2 OUT T0 LD T2 K100 OUT C0 MPP K3ANI C0 ENDANI T0 OUT Y0课题三:小车装卸料控制小车装卸料过程情况参图2。
自动往返电动小汽车设计

自动往返电动小汽车余密刘勇尹佳喜华中科技大学电工电子创新中心(武汉430074)摘要:本设计以凌阳16位单片机SPCE061A为核心,通过高灵敏度红外光电传感器检测路面上的黑线,并进行计数,从而控制不同路段的速度,以红外对管检测车轮转动周数,根据车轮周长计算出速度及小车行驶路程。
单片机对高灵敏度红外光电传感器检测得到的路面信息进行处理后产生PWM输出,从而控制小车前轮与后轮电机转速,也就控制了小车的速度。
到达终点后,电机端电压反向,则小车行驶方向反向,小车由原路倒退返回。
红外对管检测到的小车车速及行驶路程信息经单片机计算处理后由液晶显示。
关键字:PWM 光电传感器检测调速一方案论证与选择1 电机调速模块电机调速主要是控制小车的速度与行驶方向。
通过对前轮电机转速的控制可控制小车的行驶方向,对小车的行驶速度的控制通过对其后轮转速的控制实现。
此模块为本设计的核心部分。
(1)电机调速方案方案一:电枢回路串电阻调速。
如II-1-1所示,通过单片机控制继电器,这样可以控制接入电枢回路电阻的大小,从而实现串电阻调速。
此方案只能分级调速,而且,串入电阻造成能量损耗,而本设计采用电池供电,显然,需要节能的调速系统,故此方案不能达到要求。
图III-1-1 电机电枢回路串电阻调速电路图方案二:电枢回路串电感调速。
原理图与方案一相同,将电阻换为电感,这样可以减小能耗,但由于电感消耗无功功率,造成电源污染,故不能采用此方案。
方案三:采用弱磁调速,即改变电机气隙磁通。
此方案可以连续调速,而且,能耗小,可由额定转速向高速方向调节,也可由额定转速向低速方向调节。
但由于小车电机不为他励直流电机,故很难改变磁通大小,方案难以实现。
方案四:采用改变端电压调速。
根据直流电机机械特性方程n=U a/k eФ+(R a+R j)T/k e k TФ2=n0-βT Tn——电机转速;n0——电机空载转速;k e、k T——电机结构参数所确定的电机电势常数、转矩常数;Ф——气隙磁通;U a——电动机电枢电压;R a、R j——电机电枢电阻及串入电阻;T——负载转矩;βT——机械特性曲线斜率;由上述直流电动机机械特性知,改变电枢端电压,可以连续改变电动机转速。
往返小车设计实验报告(3篇)

第1篇一、实验目的1. 了解往返小车的基本原理和设计方法。
2. 掌握电路设计、机械结构和编程技巧。
3. 通过实验,提高动手能力和创新意识。
二、实验原理往返小车是一种简单的自动化小车,它能够在特定轨道上自动往返运动。
实验中,小车通过传感器检测轨道上的黑线,根据黑线的位置控制电机的转动,实现往返运动。
三、实验器材1. 小车底盘1个2. 电机2个3. 电池盒1个4. 电池1套5. 传感器2个6. 线路板1块7. 绝缘胶带1卷8. 黑色线条纸1卷9. 编程器1个10. 编程软件1套四、实验步骤1. 准备工作(1)将电池盒与电池连接,确保电池充满电。
(2)将电机与电池盒连接,确保电机转动正常。
(3)将传感器固定在小车底盘上,确保传感器能够准确检测黑线。
2. 电路设计(1)将线路板放置在小车底盘上,确保线路板与传感器、电机连接良好。
(2)将传感器输出端连接到线路板,将电机输出端连接到线路板。
(3)将线路板与电池盒连接,确保电路连接无误。
3. 编程(1)打开编程软件,创建一个新的项目。
(2)在项目中添加电机控制模块,设置电机转动速度和方向。
(3)添加传感器检测模块,设置传感器检测黑线的阈值。
(4)编写程序,使小车在检测到黑线时停止,等待一段时间后反向行驶。
4. 调试与优化(1)将编写好的程序下载到小车中。
(2)观察小车运行情况,调整传感器位置和编程参数,确保小车能够准确往返运动。
(3)优化程序,提高小车运行稳定性和速度。
五、实验结果与分析1. 实验结果通过实验,成功设计了一台往返小车,小车能够在黑线上准确往返运动。
2. 实验分析(1)传感器检测黑线的准确性对小车往返运动至关重要。
在实验过程中,通过调整传感器位置和编程参数,提高了小车检测黑线的准确性。
(2)电机转动速度和方向对小车往返运动也有较大影响。
通过调整电机参数,使小车在往返过程中保持稳定运行。
(3)编程技巧对小车往返运动有重要意义。
通过优化程序,提高了小车运行稳定性和速度。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
工业机器人设计(论文)
题 目:自动往返小车
姓 名:
学 号:
班 级:
平顶山工业职业技术学院
年 月 日
目录
第1章电动小车的改进方案 (1)
1.1设计思想来源 (1)
1.2改进方案 (1)
第2章自动往返小车的结构设计 (3)
第3章制作准备 (4)
3.1工具准备 (4)
3.2材料准备 (4)
第4章制作自动往返小车 (5)
4.1 制作小车底板 (5)
4.2 安装直流电机 (5)
4.3 焊接与安装电源 (6)
4.4 制作与安装活塞式开关 (6)
4.5 组合安装 (7)
第5章自动往返小车的调试 (8)
5.1 小车行驶时的噪声很大 (8)
5.2 小车的活塞式开关反应不灵敏 (8)
5.3 小车的触点不能接触并保持 (9)
参考文献 (10)
第1章电动小车的改进方案
1.1设计思想来源
现实中有很多电机驱动的玩具小车接通电源后只能快速向前运行,当期遇到障碍物时却不能回倒,进行反向运行。
因此若想让小车能够在撞到前方障碍物时能够返回,必须对其控制系统进行改进。
1.2改进方案
电机驱动小车改进前是利用单相开关控制3V直流电源的通断,进而控制小车电机的回转运动。
小车基本的改造可以分为四大部分,即马达的改造、车体的改造、控制系统的改造和电池的使用改造。
(1)马达是小车的核心部分,好比汽车的发动机,因此,马达性能的高低,基本上决定了小车的行驶速度,所以要提升玩具小车的速度,首先就应该从选配高性能的马达开始。
(2)速度提升了,自然车身的强度也要跟上,不然小车的配置可能无法承受高速度带给车身的强大撞击力。
(3)控制系统则是小车运动方向和速度改变的指挥中心。
(4)马达高性能的发挥依赖于能提供充足电力的电池,所以选择高性能的电池也是重要考虑点之一。
在自动往返小车改进方案中,我们主要是改变了小车的电源接线控制
方式,改进后是利用活塞式碰撞(行程)开关改变直流电机所接电源的极
性,进而改变直流电机的旋转方向,实现小车的自动往返运动。
图-1自动往返小车电路图
改进后的方案电路图如图-1所示,当橡皮活塞触点2与静触点1接
触并保持时,电源1为电机提供电能,电机正转驱动小车向前运行,当导
杆撞到障碍物时导杆向后移动,带动橡皮活塞触点2向后运动断开与静触
点1接触,并且在瞬间和静触点3接通并保持,此时电源2为直流电机提
供电能驱动电机反向旋转,小车向后运行。
电源1
电源2 触点1
触点3 触点2
第2章 自动往返小车的结构设计
由于小车的系统和动作的改变,我们对小车的结构进行了设计,以
求小车能够平稳快速行驶。
自动往返小车的设计结构图如图-2所示。
图-2 自动往返小车的结构
在结构图-2中,导杆位于小车的中心线位置,这样可以更好的接触
前后的障碍物,更快的传递信息;电机的转矩依靠齿轮传动的变速箱传
递,以便获得稳定合适的转速带动轮轴转动;电源装于车体正中,以保
持重心的稳定和行驶的安全;3对活塞式
触点安装
在开关盒内。
导杆 触点1
触点2
触点3 电源2
第3章制作准备
3.1工具准备
制作工具主要有:螺丝刀、电烙铁、焊锡、松香、剪刀、双面胶、小刀、打火机等。
图-3工具
3.2材料准备
制作材料主要有:3V直流电机1个、1.5V电池4枚、导线数条、注射器3支、自行车轮辐条1根等。
图-4选用的材料
第4章制作自动往返小车
4.1 制作小车底板
小车底板可选用材质强度高质地轻的塑胶板,可以直接购买玩具小车拆卸其底板。
4.2 安装直流电机
把两根铜芯细软导线与3V直流小电机的接线端子用电烙铁焊接,焊
接完成后用厚双面胶把电机粘贴在塑胶底板上,粘贴牢固与齿轮变速箱啮合。
4.3 焊接与安装电源
把四节1.5V电池两两的正负极用电烙铁焊接组成两个供电电源,为电机提供极性相反的电能,并用双面胶把其粘贴进电池卡槽内。
图-5电源安装图
4.4 制作与安装活塞式开关
把注射器的活塞棒抽出,去掉活塞棒只要橡皮塞,用电烙铁在橡皮塞尖部烫出一个比自行车轮辐条直径稍大的孔,再在另一端面上的两边对称拧上螺钉,螺钉端用电烙铁焊接导线,导线另一端焊接接电源,两个带触点活塞做好后用漆包线固定在注射器筒身开槽处。
另外用圆形塑料导轮做成可以动触点,此触点两边对称接导线,导线另一端接电机接线端子。
图-6活塞式开关
4.5 组合安装
小车各零件制作完成后进行组装,组装后如图所示:
图-7装配完成图
第5章自动往返小车的调试
在装配完小车后,我们用其进行了试跑,小车在接通电源后能够快速的启动运行,但是也存在着一些问题。
5.1 小车行驶时的噪声很大
问题的表现:每次在接通电源后和行驶中转动产生的噪声很大。
问题原因分析:出现小车行驶时有噪声主要原因应是变速传递系统的问题,问题可能存在以下两点:
(1)传动齿轮的安装精度有误差,导致齿轮啮合处间隙过大,产生振动;
(2)齿轮之间缺少润滑。
解决方案:
(1)调节齿轮中心距,使其重合度等(大)于1,避免齿面相互撞击;
(2)在齿轮啮合处用了粘度高的润滑油。
5.2 小车的活塞式开关反应不灵敏
问题的表现:在试车过程中有时导杆撞到障碍物但活塞式开关的动触点并没有移动,或位移量很小,无法与静触点接触导电。
问题原因分析:动触点没有移动或位移量很小,可能是以下两点:(1)导杆没安装在针筒的轴线上,里不能沿轴线方向传递;
(2)橡皮塞尖端的孔小了,摩擦力阻碍导杆移动。
解决方案:
(1)纠正导杆安装的偏差;
(2)将橡皮塞的开孔增大。
5.3 小车的触点不能接触并保持
问题的表现:当小车向前或向后撞到障碍物动触点和静触点接触后并不能一直保持到导杆的下一次碰撞。
问题原因分析:由于小车行驶中有振动,触点自然接触的吸合力太小而产生断开。
解决方案:在导杆两端加弹簧,依靠弹簧的弹性力使触点牢固结合。
参考文献
【1】机电一体化小装置制作(图解电子创新制作)-----作者: (巴西)NewtonC.Braga 译者:卢伯英科学出版社
【2】简易机器人制作
/view/e7ff87a1284ac850ad02423d.html 【3】简易机器人制作
/blog/static/942871882008826626296 13/
【4】如何着手制作一个机器人小车
/thread-3675-1-1.html
【5】齿轮(百度百科)/view/25045.htm 【6】电机(百度百科)/view/1930.htm 【7】玩具四驱车(搜搜百科)/v3824454.htm。