【正文】
78。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。 6 2. 單元電路設(shè)計(jì)178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。 178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。 178。178。178。178。 178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。 4 總體設(shè)計(jì)方案 178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。 3 發(fā)揮部分 178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。 3 基本要求 178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。 178。178。178。178。178。178。178。178。178。178。178。178。178。178。 178。178。178。178。178。178。178。178。178。 178。178。178。178。178。178。 MMA7455 三軸加速傳感器把角度輸出信號(hào)傳送給 ATMEGA328 單片機(jī)進(jìn)行處理。通過 PWM 波控制電機(jī)風(fēng)扇風(fēng)力的大小使其改變帆板擺動(dòng)的角度θ。1 張家界航空工業(yè)職業(yè)技術(shù)學(xué)院 畢業(yè)設(shè)計(jì)報(bào)告 設(shè)計(jì)題目 : 帆板控制系統(tǒng) 專業(yè)名稱: 電子信息工程技術(shù) 學(xué)生班級(jí): 學(xué)生姓名: 學(xué)生學(xué)號(hào): 指導(dǎo)教師: 2021 年 4 月 8 號(hào) 2 摘要: 本帆板控制系統(tǒng)由單片機(jī) ATMEGA328 作為帆板轉(zhuǎn)角的檢測(cè)和控制核心,實(shí)現(xiàn)按鍵對(duì)風(fēng)扇轉(zhuǎn)速的控制 、調(diào)節(jié)風(fēng)力的大小、改變帆板轉(zhuǎn)角θ、液晶顯示等功能。引導(dǎo)方式采用角度傳感器感知與帆板受風(fēng)力大小的轉(zhuǎn)角θ的導(dǎo)引線。風(fēng)扇控制核心采用 L298 電機(jī)驅(qū)動(dòng)模塊,用 ATMEGA328 單片機(jī)為控制核心,產(chǎn)生占空比受數(shù)字 PID算法控制的 PWM 脈沖,實(shí)現(xiàn)對(duì)直流電機(jī)轉(zhuǎn)速的控制,同時(shí)利用光電傳感器將電機(jī)速度轉(zhuǎn)化成脈沖頻率反饋到單片機(jī)中,實(shí)現(xiàn)轉(zhuǎn)速閉環(huán)控制,達(dá)到轉(zhuǎn)速無靜差調(diào)節(jié)的目的。 關(guān)鍵詞 : ATMEGA328, MMA7455, PWM 波 , PID 算法 Abstract: The This windsurfing control system by the microcontroller ATMEGA328 as windsurfing corner detection and control of the core to achieve the size of the buttons for fan speed control, adjust the wind, changing windsurfing corner θ, LCD functions. Guide to angle sensor perception and windsurfing by the wind the size of the corner of θ guides. PWM wave control the size of the motor fan wind to change the the windsurfing swing angle θ. Core fan control L298 motor driver module, ATMEGA328 microcontroller to control the core, resulting in a duty cycle of the digital PID control algorithm of the PWM pulse of the DC motor speed control, while taking advantage of the photoelectric sensor to the motor speed is converted into a pulse frequency feedback to the MCU, the speed closedloop control to achieve the speed static error adjustment purposes. The MMA7455 triaxial acceleration sensor angle output signal transmitted to the ATMEGA328 microcontroller for processing. Keywords: AT MEGA328, MMA7455 PWM wave, the PID algorithm 3 張家界航空工業(yè)職業(yè)技術(shù)學(xué)院畢業(yè)設(shè)計(jì)(論文) 目錄 1. 系統(tǒng)設(shè)計(jì) 178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。 3 1. 設(shè)計(jì) 要求 178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。 178。178。178。178。178。178。178。 178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。 178。 178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。 4 說明 178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。 4 設(shè)計(jì)思路178。178。178。178。178。178。178。178。178。178。178。178。178。 178。178。178。178。178。178。178。178。178。178。 178。178。178。178。 5 方案論證與比較178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。 178。178。178。178。178。 5 系統(tǒng)的組成 178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。 8 風(fēng)扇控制電路178。178。178。178。178。178。178。178。178。178。178。178。 178。178。178。178。178。178。178。178。178。178。178。178。178。178。 9 角度測(cè)量原理178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。 9 控制算法178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。 178。178。 178。178。178。178。 12 風(fēng)扇控制電路設(shè)計(jì)計(jì)算178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。178。 178。178。178。178。 13 控制算法設(shè)計(jì)與實(shí)現(xiàn)178。178。178。178。178。1