【正文】
設(shè)控制量所取的模糊子集論域?yàn)椋簕h,h+1, ? ,0,? h1,h},輸出控制量的比例因子由下式確定,即 : Ku=yu /h 式 () 由于控制量的基本論域?yàn)橐贿B續(xù)的實(shí)際域,所以,從控制量的模糊集論域到基本論域的變換,可以用下式計(jì)算,即: yui =Ku*hj 式 () 式中 hj 為控制量模糊集論域中的任一元素或?yàn)榭刂屏康哪:袥Q得到的確切控制量, yui 為控制量基本論域中的一個(gè)精確量, Ku 為比例因子。 這個(gè)判別方法簡(jiǎn)單易行,實(shí)時(shí)性也好,但它概括的信息量少,因?yàn)樗耆豢紤]其余一切從屬程度較小的點(diǎn)的情況。 模 糊 控 制 器模 糊 控 制 器d / d t d / d teu 圖 多維模糊控制器 因此本設(shè)計(jì)采用二維模糊控制器,把兩個(gè)電機(jī)復(fù)位的時(shí)間差及偏差變化作為輸入量,pwm的變化量作為 輸出量,進(jìn)行控制。 7.計(jì)算機(jī)執(zhí)行完 1~6 步驟后,即完成了對(duì)被控對(duì)象的一步控制,然后等到下一次A/D 采樣,再進(jìn)行第二步控制,這樣循環(huán)下去,就完成了對(duì)被控對(duì)象的控制。實(shí)際上 ,模糊控制器的作用與其他控制器的作用相同,如在經(jīng)典控制理論中,有 PID控制器、有串、并聯(lián)校正器。 由此可見,模糊集是普通集的一般化,普通集是模糊集的特殊情況。模糊控制較大規(guī)模的研究是從 1980 年開始的。同理可分 析,此時(shí) v2 和 v3 是關(guān)斷的。 ALE 只能在執(zhí)行 MOVX 指令時(shí)被激活。 T2EX():定時(shí)器 T2 外部觸發(fā) 輸入端。 圖 帶通濾波器原理示意圖 內(nèi)蒙古科技大學(xué)畢業(yè)設(shè)計(jì) 說明書(畢業(yè) 論文 ) 圖 帶通濾波器的典型電路 為了估算方便起見,設(shè) R2 =2R, R3 =R,此時(shí)可求得帶通濾波器的電壓放大倍數(shù)為: )(1)()3( 0000 ffffjqAffffjAAA upuouou ???????。電容器 C放電所需的時(shí)間為 : 內(nèi)蒙古科技大學(xué)畢業(yè)設(shè)計(jì) 說明書(畢業(yè) 論文 ) CRCRt PL 22 )2ln( ?? 式 () 當(dāng) C放電結(jié)束時(shí) , T截止 , vc c 將通過 R1 、 R2向電容器 C充電 , vc 由31vc c 上升到32vc c所需的時(shí)間為 : CRRCRRt PH )()( 2121 ???? 式 () 當(dāng) vc 上升到32vc c 時(shí), 觸發(fā)器又發(fā)生翻轉(zhuǎn),如此周而復(fù)始,在輸出端就得到一個(gè)周期性的方波,其頻率為 [2]: CRRttf PHPL )2( 21 ???? 式 () 圖 多謝振蕩器電路圖 本文設(shè)計(jì)的發(fā)射模塊就是由 555定時(shí)器構(gòu)成的多諧振蕩器,通過式 ()、 ()、 ()計(jì)算出 R1 、 R2 和 C的值,使 555電路發(fā)出頻率為 38 kHz的脈沖波,從而驅(qū)動(dòng)紅外發(fā)射管工作在 38 kHz的頻率下 。如果在擋風(fēng)玻璃上有雨 , 雨量越大,反射回來的光越多。在這個(gè)系統(tǒng)中雨滴傳感器的作用最重要。如果汽車有雨滴傳感器,駕駛者就無需調(diào)節(jié)雨刮器設(shè)置來迅速停止刮片的運(yùn)動(dòng)或者得到更好的視角。 關(guān)鍵詞: 雨滴傳感器;模糊控制; 單片機(jī) ;雨刮器 內(nèi)蒙古科技大學(xué)畢業(yè)設(shè)計(jì) 說明書(畢業(yè) 論文 ) The Design Of Intelligent Windscreen Wiper Of Automobile Based On Single Integrated Circuit Abstract The windscreen wiper is an accessories of the Automobile, it is an important part of Automobile for the steer security. It is used to clear up the rain and snow, dust and cement on the windscreens,rear windows and headlight windows,to make sure the windows transparent and clear. In this thesis,positive theory of three kinds of rain sensors are analysed,and a newtype of infrared rain sensor of automobile is designed based on the theory of variety of light it rains,the windscreen wiper system senses the amount of rainfall by the infrared rain sensor and distinguish the number of precipitation rain fall and thus makes the windscreen wiper automatically work either at a high speed or at a low speed. It can replace traditional windscreen wiper system of mechanical structure. In intelligent windscreen wiper system of automobile, As the problem of technics,rotate speed of two electro motors are not the same pletely,so there are the problems that two wiper blades swing ansynchronous. In the thesis,a intelligent windscreen wiper system of automobile based on fuzzy control is presented,by analyzing fuzzy control theory and synchronous swing rules of windscreen wiper. The speed error and its change were used as fuzzy stable to a set of fuzzy rules, the output variable was selected to control the PWM switch. In this way, the PWM technique was used to drive the DC motor and control windscreen wiper to swing synchronously. The software and hardware of rain sensors and fuzzy control was pleted based on SCM in this thesis,and process the simulation of MATLAB. The simulation results showed 內(nèi)蒙古科技大學(xué)畢業(yè)設(shè)計(jì) 說明書(畢業(yè) 論文 ) that the system could depress the overshoot and improve the response and steady state performance. keywords: rain sensor; fuzzy control; SCM; windscreen wiper 內(nèi)蒙古科技大學(xué)畢業(yè)設(shè)計(jì) 說明書(畢業(yè) 論文 ) 目 錄 摘 要 ......................................................................................................................................... I Abstract....................................................................................................................................... II 第一章 引 言 ............................................................................................................................ 1 研究背景 ..................................................................................................................... 1 研究的意義 ................................................................................................................. 2 論文的內(nèi)容 ................................................................................................................. 2 第二章 智能雨刮器的原理及種類 .......................................................................................... 4 雨滴傳感器的分類 ..................................................................................................... 4 壓電振子原理的雨滴傳感器 .......................................................................... 4 靜電電容原理的雨滴傳感器 .......................................................................... 4 光量變化的雨滴傳感器 .................................................................................. 5 紅外雨滴傳感器的原理 ............................................................................................. 5 第三章 智能雨刮器的硬件組成及其芯片介紹 ...................................................................... 7 發(fā)射模塊 ..................................................................................................................... 7 發(fā)射管 .............................................................................................................. 7 由 555 定時(shí)器構(gòu)成的多諧振蕩器 .................................................................. 7 接收模塊 ..................................................................................................................... 9 紅外接收管 ...................................................................................................... 9 帶通濾波器 .................................................................................................... 10 分頻器 CD4024.............................................