版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、目 录一、任务与要求3二、设计方案3三、硬件设计原理4四、软件设计7五、调试9六、收获和体会9七、参考文献9步进电机转速实时控制一、任务与要求步进电机转速实时控制要求控制步进电机正转、反转,以及对步进电机的转速进行实时控制。1,用8086处理器和可编程并行接口芯片8255组成控制系统,掌握步进电机与8255的接口电路原理;2,理解步进电机正、反转工作原理和转速控制原理3,能编制出步进电机正、反转运行程序(以3种不同速度);低速正转和高速反转程序,并写出较完整的设计程序二、设计方案根据课题要求,用8086处理器和可编程并行接口芯片8255组成控制系统,控制步进电机正转、反转以及转速控制,步进电机
2、不能直接由8255驱动,而需要用相应的驱动芯片,因此,控制系统直接控制电机驱动即可控制步进电机。设计流程图如下:8086cpu8255步进电机步进电机驱动三、硬件原理与设计1、 系统硬件子系统的构成:本设计采用的步进电机为35byj46型四相八拍电机,电压为dc12v,其励磁线圈及其励磁顺序如下图及下表所示:123456785+4-3-2-1-2、步进电机工作原理以及与8255接口的关系:实验线路图3、工作原理:四相步进电机示意图见下左图,转子由一个永久磁铁构成,定子分别由4组绕组构成电机定子和转子示意图电气连接示意图 当s1连通电源后,定子磁场将产生一个靠近转子为n极,远离转子为s极才磁场,
3、这样的定子磁场和转子的固有磁场发生作用,转子就会转动,正确地s1、s4的送电次序,就能控制转子旋转的方向。 例如:若送电的顺序为s1闭合断开s2闭合断开s3闭合断开s4闭合断开,周而复始的循环,在定子和转子共同作用下,电机就瞬时针旋转: 若送电的顺序为s4闭合断开s3闭合断开s2闭合断开s1闭合断开,周而复始的循环,则电机就逆时针旋转,原理同理。 8255a向步进电机发出的控制脉冲4、8255工作方式选择: 8255有三个数据端口(a口、b口、c口),8255有三种基本的工作方式,分别为:方式一(基本输入/输出方式),方式二(选通输入/输出方式),方式三(双向总线i/o方式)。其中a口可选择三
4、种方式中的任意一种,b口只能选择方式0或方式1,c口常用作两个4为端口,若工作于方式0,其高四位工作方式与a端口一致,低四位与工作方式与端口b一致;若工作于其余两种方式,端口的部分信号作为a口和b口的控制联络信号。其方式选择控制字如图所示:四、软件设计data segmenttable1 db 01h,03h,02h,06h,04h,0ch,08h,09h table2 db 08h,0ch,04h,06h,02h,03h,01h,09hdata endscode segment assume cs:code,ds:datastart: mov ax,data mov ds,axmain: m
5、ov al,90h out 63h,almovdx,0005ha1:mov bx,offset table1 ;中速正转程序 mov cx,0008h movdi,2000h a2: moval,bx out61h,alcalldally incbx loopa2 decdxjnza1movdx,0008ha3:mov bx,offset table1 ;高速正转程序 mov cx,0008h movdi,1000h a4: moval,bx out61h,alcalldally incbx loopa4 decdxjnza3待添加的隐藏文字内容2 movdx,0005ha5:mov bx,o
6、ffset table1 ;低速正转程序 mov cx,0008h movdi,5000h a6: moval,bx out61h,alcalldally incbx loopa6 decdxjnza5movdx,0005hb1:mov bx,offset table2 ;低速反转程序 mov cx,0008h movdi,5000h b2: moval,bx out61h,alcalldally incbx loopb2 decdxjnzb1movdx,0008hb3:mov bx,offset table2 ;高速反转程序 mov cx,0008h movdi,1000h b4: mova
7、l,bx out61h,alcalldally incbx loopb4 decdxjnzb3 dally:pushcx mov cx,dic1:pushaxpopaxloopa3popcxretcodeendsend start五、调试控制程序编写好后,首先进行查错、编译,然后下载到实验系统里面运行,观察步进电机的运行情况是否与预期一致,也就是观察步进电机能否实现正转、反转以及变速;如果都能实现,还可以修改程序,实现速度的任意调整,以及正转、反转步数或圈数的控制。六、收获和体会通过本学期对微型计算机控制技术课程学习以及这次课程设计的实践锻炼,首先我对微型计算机控制技术这门课程涉及到的理论知识
8、有一定认识和了解,对计算机的工作原理以及内部结构都有一定了解;其次我也掌握了计算机的一些基本操作步骤和基本编程方法,对一些生活中常见的简单运用进行编程设计,通过这次课程设计锻炼,将书本上的编程理论应用到实际编程控制中,对编程技术的提升有很大帮助,同时也让我深刻体会得到程序对整个系统运行的作用;这次课程设计让我从对书面上的理论知识迈向实践操作,让我懂得如何让将计算机原理融合到实际应用中。在这个过程中,我自己经历了一次从课题要求到电路设计再到程序编写以及由编程再到程序运行到最后步进电机的正反转旋转的完整过程,对动手锻炼和实践操作都有很大帮助,让我对计算机控制方面的东西产生了浓厚的兴趣,让我在以后的
9、生活以及工作中给予很大的帮助。七、参考文献1、潘新民 张燕芳:微型计算机控制技术,高等教育出版社;employment tribunals sort out disagreements between employers and employees.you may need to make a claim to an employment tribunal if:· you don't agree with the disciplinary action your employer has taken against you· your employer dismi
10、sses you and you think that you have been dismissed unfairly.for more information about dismissal and unfair dismissal, see dismissal.you can make a claim to an employment tribunal, even if you haven't appealed against the disciplinary action your employer has taken against you. h
11、owever, if you win your case, the tribunal may reduce any compensation awarded to you as a result of your failure to appeal.remember that in most cases you must make an application to an employment tribunal within three months of the date when the event you are complaining about happened. if your ap
12、plication is received after this time limit, the tribunal will not usually accept it.if you are worried about how the time limits apply to you, take advice from one of the organisations listed under further help.employment tribunals are less formal than some other courts, but it is still a lega
13、l process and you will need to give evidence under an oath or affirmation.most people find making a claim to an employment tribunal challenging. if you are thinking about making a claim to an employment tribunal, you should get help straight away from one of the organisations listed under furth
14、er help.if you are being represented by a solicitor at the tribunal, they may ask you to sign an agreement where you pay their fee out of your compensation if you win the case. this is known as a damages-based agreement. in england and wales, your solicitor can't charge you more than 35% of
15、 your compensation if you win the case.if you are thinking about signing up for a damages-based agreement, you should make sure you're clear about the terms of the agreement. it might be best to get advice from an experienced adviser, for example, at a citizens advice bureau. t
16、o find your nearest cab, including those that give advice by e-mail, click on nearest cab.for more information about making a claim to an employment tribunal, see employment tribunals.the (lack of) air up there watch mcayman islands-based webb, the head of fifa's anti-racism taskforce,
17、 is in london for the football association's 150th anniversary celebrations and will attend city's premier league match at chelsea on sunday."i am going to be at the match tomorrow and i have asked to meet yaya toure," he told bbc sport."for me it's about how he felt and i
18、 would like to speak to him first to find out what his experience was."uefa has opened disciplinary proceedings against cska for the "racist behaviour of their fans" during city's 2-1 win.michel platini, president of european football's governing body, has also
19、ordered an immediate investigation into the referee's actions.cska said they were "surprised and disappointed" by toure's complaint. in a statement the russian side added: "we found no racist insults from fans of cska."age has reached the end of the beginning of a word. m
20、ay be guilty in his seems to passing a lot of different life became the appearance of the same day; may be back in the past, to oneself the paranoid weird belief disillusionment, these days, my mind has been very messy, in my mind constantly. always feel oneself should go to do something, or write s
21、omething. twenty years of life trajectory deeply shallow, suddenly feel something, do it.一字开头的年龄已经到了尾声。或许是愧疚于自己似乎把转瞬即逝的很多个不同的日子过成了同一天的样子;或许是追溯过去,对自己那些近乎偏执的怪异信念的醒悟,这些天以来,思绪一直很凌乱,在脑海中不断纠缠。总觉得自己自己似乎应该去做点什么,或者写点什么。二十年的人生轨迹深深浅浅,突然就感觉到有些事情,非做不可了。the end of our life, and can meet many things really do?而穷尽我
22、们的一生,又能遇到多少事情是真正地非做不可?during my childhood, think lucky money and new clothes are necessary for new year, but as the advance of the age, will be more and more found that those things are optional; junior high school, thought to have a crush on just means that the real growth, but over the past three
23、years later, his writing of alumni in peace, suddenly found that isn't really grow up, it seems is not so important; then in high school, think don't want to give vent to out your inner voice can be in the high school children of the feelings in a period, but was eventually infarction when g
24、raduation party in the throat, later again stood on the pitch he has sweat profusely, looked at his thrown a basketball hoops, suddenly found himself has already can't remember his appearance.童年时,觉得压岁钱和新衣服是过年必备,但是随着年龄的推进,会越来越发现,那些东西根本就可有可无;初中时,以为要有一场暗恋才意味着真正的成长,但三年过去后,自己心平气和的写同学录的时候,突然就发现是不是真正的成
25、长了,好像并没有那么重要了;然后到了高中,觉得非要吐露出自己的心声才能为高中生涯里的懵懂情愫划上一个句点,但毕业晚会的时候最终还是被梗塞在了咽喉,后来再次站在他曾经挥汗如雨的球场,看着他投过篮球的球框时,突然间发现自己已经想不起他的容颜。originally, this world, can produce a chemical reaction to an event, in addition to resolutely, have to do, and time.原来,这个世界上,对某个事件能产生化学反应的,除了非做不可的坚决,还有,时间。a person's time, your
26、 ideas are always special to clear. want, want, line is clear, as if nothing could shake his. also once seemed to be determined to do something, but more often is he backed out at last. dislike his cowardice, finally found that there are a lot of love, there are a lot of miss, like shadow really hav
27、e been doomed. those who do, just green years oneself give oneself an arm injection, or is a self-righteous spiritual.一个人的时候,自己的想法总是特别地清晰。想要的,不想要的,界限明确,好像没有什么可以撼动自己。也曾经好像已经下定了决心去做某件事,但更多的时候是最后又打起了退堂鼓。嫌恶过自己的怯懦,最终却发现有很多缘分,有很多错过,好像冥冥之中真的已经注定。那些曾经所谓的非做不可,只是青葱年华里自己给自己注射的一支强心剂,或者说,是自以为是的精神寄托罢了。at the mome
28、nt, the sky is dark, the air is fresh factor after just rained. suddenly thought of blue plaid shirt; those were broken into various shapes of stationery; from the corner at the beginning of deep friendship; have declared the end of the encounter that haven't start planning. those years, those d
29、ays of do, finally, like youth, will end in our life.此刻,天空是阴暗的,空气里有着刚下过雨之后的清新因子。突然想到那件蓝格子衬衫;那些被折成各种各样形状的信纸;那段从街角深巷伊始的友谊;还有那场还没有开始就宣告了终结的邂逅计划那些年那些天的非做不可,终于和青春一样,都将在我们的人生中谢幕。baumgartner the disappointing news: mission aborted. r plays an important role in this mission. starting at the ground, conditio
30、ns have to be very calm - winds less than 2 mph, with no precipitation or humidity and limited cloud cover. the balloon, with capsule attached, will move through the lower level of the atmosphere (the troposphere) where our day-to-day weather lives. it will climb higher than the tip of mount everest
31、 (5.5 miles/8.85 kilometers), drifting even higher than the cruising altitude of commercial airliners (5.6 miles/9.17 kilometers) and into the stratosphere. as he crosses the boundary layer (called the tropopause),e can expect a lot of turbulence.the supersonic descent could happen as early as sunda
32、.the weathethe balloon will slowly drift to the edge of space at 120,000 feet ( then, i would assume, he will slowly step out onto something resembling an olympic diving platform.below, the earth becomes the concrete bottom of a swimming pool that he wants to land on, but not too hard. still, he'll be traveling fast, so despite the distance, it will not be like diving
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 通辽 耕地合同
- 天车工续签合同述职报告
- 2025年山东货运从业资格考试技巧和方法
- 2025年东营货运上岗证考试题库
- 《欣赏高山流水》课件
- 《高血压的诊治进展》课件
- 商业中心泳池翻新协议
- 合同执行监控工具
- 信息安全协议样本
- 污水处理厂扩建临时围墙施工协议
- 2024年小区居民活动中心建设实施方案
- 工地柴油供油三方合同范本
- (工作计划)非物质文化遗产保护方案
- 艺术概论智慧树知到答案2024年海南师范大学
- 中国蚕丝绸文化智慧树知到答案2024年浙江大学
- 2024年贵州事业单位真题
- 困难或解决坚持不懈的作文800字
- 人教版《劳动教育》五上 劳动项目五《设计制作海报》教学设计
- 七年级道法上册第一学期期末综合测试卷(人教版 2024年秋)
- 预应力混凝土管桩(L21G404)
- DL-T5024-2020电力工程地基处理技术规程
评论
0/150
提交评论