【正文】
兩個 led燈電流時不是平均的分配電流,而是led 間掃描期間電流不斷地交替,掃描的頻率依據(jù)單片機的速度決定,也就是說各位的數(shù)碼管上的電流在掃描頻率內(nèi)是供個其中一個 led,在下一個掃描頻率內(nèi)是供給了另一個 led。 根據(jù)上面的計算可得每位數(shù)碼的電流為 64mA,8550 的集電極電流最大可達 ,完全滿足設計要求。 遼寧石油化工大學繼續(xù)教育學院論文 XXIII 圖 311 按鍵電路 按鍵 1是速度加,按鍵 2 是速度減,按鍵 3 是正反轉(zhuǎn)切換,按鍵 4 是電機停止。軟件延時雖然理論上實現(xiàn)起來 較容易,但占用系統(tǒng)資源過多,使用不方便。 系統(tǒng)程序為一個主程序(包括若干功能模塊),中斷子程序,以及若干個子程序,共計三大部分構(gòu)成。 TL0=(6553618432)%256。 second++。 if(second==60) { second=0。 if(hour==23) { hour=0。 delay(pwm)。單片機先讀取按鍵值,然后控制電動機的轉(zhuǎn)動,同時光電測速電路對電動機的轉(zhuǎn)速進行測量,將測量的結(jié)果送給單片機,單片機處理后送到 4位數(shù)碼管上進行顯示。 電動機驅(qū)動系統(tǒng)中,供電電源為系統(tǒng)的正常工作提供能源,本系統(tǒng)主要是采用5V電源給單片機供電, 12V電源給電動機供電,直流電主要是市電通過整流,濾波,穩(wěn)壓得到 5V直流電源以及 12V 電源,其原理圖如圖 51。根據(jù)上圖中的波形可得, UO=01 2 22 s in 0 .9A C A C A CU td t U U? ???? ??? = 本系統(tǒng)的單片機采用的是 89C52 單片機,此單片機的最小系統(tǒng)如下圖所示。 片上 Flash 允許程序存儲器在系統(tǒng)可編程,亦適于 常規(guī)編程器。掉電保護方式下, RAM 內(nèi)容被保存,振蕩器被凍結(jié),單片機一切工作停止,直到下一個中斷或硬件復位為止。通過改變占空比即可實現(xiàn)對直流電機的調(diào)速。 我們小組經(jīng)過 4周設計基本完成了 STC52 控制單位、 6N137 光耦隔離、驅(qū)動電路、晶體管 H橋電路、參數(shù)計算、焊接電路板、軟件編寫、整體調(diào)試,整個系統(tǒng)的設計最后完成實物和軟件調(diào)試基本上達到了課程設計要求 ,但是離真正的工程推廣和工業(yè)生產(chǎn)應用還有很多的工作要完成。在此向金老師表示深深的感謝和崇高的敬意! 在臨近畢業(yè)之際,我還要借此機會向在這三年中給予我諸多教誨和幫助的各位老師表示由衷的謝意,感謝他們?nèi)陙淼男燎谠耘唷 e naturally or easily to them, and so they are trying to follow a predetermined set of rules. Some individuals with autism have normal intelligence, and many have special talents in areas such as music or memory. However, individuals with autism may have other mental or emotional problems that coexist with their autism. Some of these other disorders may include impulse control disorders, obsessivepulsive disorder , mood and anxiety disorders, and mental retardation . PSYCHOLOGICAL AND FAMILY FACTORS. Although Henry Maudsley, in the late 1800s, was the first psychiatrist to focus on very young children with mental disorders, it was the psychiatrist Leo Kanner who coined the phrase early infantile autism in 1943. Kanner believed that the parents of children with autistic behaviors were emotionally cold and intellectually distant. He coined the term refrigerator parents to describe them. His belief that parental personality and behavior played a powerful role in the development of autistic behaviors left a devastating legacy of guilt and selfblame among parents of autistic children that continues to this day. Recent studies are unequivocal, however, in demonstrating that parents of autistic children are no different from parents of healthy children in their personalities or parenting 遼寧石油化工大學繼續(xù)教育學院論文 39 behaviors. In fact, many families with an autistic child also have one or more perfectly healthy children. Because autistic children can be extremely sensitive to change, any change within the family situation can be potentially traumatic to the autistic child. A move, divorce, birth of a sibling or other stressors that occur in the lives of most families may evoke a more extreme reaction from an autistic child. While there is no single neurological abnormality found in children with autistic disorders, some research using noninvasive brain imaging techniques such as magic resonance imaging (MRI) suggests that certain areas of the brain may be involved. Several of the brain areas being researched are known to control emotion and the expression of emotion. These areas include the temporal lobe (large lobe of each side of the brain that contains a sensory area associated with hearing), the limbic system, the cerebellum, the frontal lobe, the amygdala, and the brain stem, which regulates homeostasis (body temperature and heart rate). Recent research has focused particularly on the temporal lobe because of the finding that previously healthy people who sustain temporal lobe damage may develop autisticlike symptoms. In animal research, when the temporal lobe is damaged, social behavior declines, and restless, repetitive motor behaviors are mon. When measured by MRI, total brain volume appears to be greater for those with autistic disorders. Other neurological factors include lesions to the brain, congenital rubella, undiagnosed and untreated phenylketonuria (PKU), tuberous sclerosis, and Rett39。 同時,在論文寫作過程中,我還參考了有關(guān)的書籍和論文,在這里一并向有關(guān)的作者表示謝意。唐山學院, [4]陳 錕 危立輝,基于單片機的直流電機調(diào)速器控制電路 [J],中南民族大學學報 (自然科學版 ), . [5]李維軍 韓小剛 李 晉,基于單片機用軟件實現(xiàn)直流電機 PWM調(diào)速系統(tǒng) [J],維普資訊, [6]曹巧媛 .單片機原理及應用 [M].北京,電子工業(yè)出版社, 1997. [7]劉大茂,嚴飛 .單片機應用系統(tǒng)監(jiān)控主程序的設計方法 [J].福州大學學報 (自然科學福建農(nóng)林大學碩士論文版 ), . [8]薛鈞義 張彥斌編著 . MCS— 51/96系列單片微型計算 [M].西安交通大學出版社, [9]陳國呈 編著 .PWM逆變技術(shù)及應用 [M].中國電力出版社 .2021年 7月 [10]劉昌華,易 逵編著 .8051 單片機的 C 語言應用程序設計與實踐 [M].國防工業(yè)出版社 遼寧石油化工大學繼續(xù)教育學院論文 34 謝 辭 走的最快的總是時間,來不及感嘆,大學生活已近尾聲,三年的努力與付出,隨著本次論文的完成,將要劃下完美的句號。隨著微電子技術(shù)、電力電子技術(shù)和計算機技術(shù),集成電路制作工藝的飛速發(fā)展,以及控制理論地完善、仿真工具地日漸成熟,給電機控制行業(yè)帶來了很多機遇和反展契機。 P2口有兩個功能 (1)擴展外部存儲器時,當作地址總線使用 (2)做一般 I/O 口使用,其內(nèi)部有上拉電阻; P3口有兩個功能 除了作為 I/O 使用外(其內(nèi)部有上拉電阻),還有一些 特殊功能,由特殊寄存器來設置,具體功能請參考我們后面的引腳說明。 STC 89C52RC 具有以下標準功能: 8k字節(jié) Flash, 256 字節(jié) RAM 遼寧石油化工大學繼續(xù)教育學院論文 XXIX 32 位 I/O 口線 看門狗定時器, 2 個數(shù)據(jù)指針,三個 16 位 定時器 /計數(shù)器 一個 6 向量 2 級中斷結(jié)構(gòu),全雙工串行口 片內(nèi)晶振及 時鐘電路 另外, STC 89C52RC 可降至 0Hz 靜態(tài)邏輯操作,支持 2 種 軟件 可選擇節(jié)電模式。 本系統(tǒng)主要采用 STC 89C52RC 單片機, STC 89C52RC 是一種低功耗、高性能CMOS 8 位微控制器,具有 8KB 在系統(tǒng)可編程 Flash 存儲器。一般直流穩(wěn)壓電源的組成如圖 52 所示。這樣分開供電,避免了電動機對單片機等數(shù)字芯片及器件的干擾。 delay(1000pwm)。 if(!Dec) pwm = pwm 1000 ? pwm + 1 : 1000。 if(minute==60) { minute=0。 遼寧石油化工大學繼續(xù)教育學院論文 XXVI num1=num2/100。 if(a==100) { a=0。本設計的總程序設計流程圖及其部分主 要子程序流程圖。此方案占用單片機資源比較少,使用較為簡單。然后,在給輸出端口置低電平 M— 個單位時間,即 20t /tM?— 。 按鍵共 5 個,當按鍵未按時,單片機接收到的是高電平,當按鍵按下時連接單片機的引腳電平被拉低,單片機通過判斷引腳電平的變化來確定有無按鍵按下。則我們可以得出限流電阻的取值為 5 1 . 7 1 = 1 0 3 . 1 2 5 1 0 00 . 0 0 8 4R ?? ? ? ? 所以我們選取 100 歐的限流電阻。這樣每個 LED 都有足夠的電流,亮度也相應的比較高。 所有數(shù)碼管的段選全部連接在一起,如何能顯示不同的內(nèi)容呢?動態(tài)顯示的原理是多位數(shù)碼管,交替來進行顯示,利用人的視覺暫留效果使人看到好像