嵌入式太阳能光伏发电自动跟踪控制系统设计
pdf鏂囨。鍙 兘鍦╓ AP绔 祻瑙堜綋楠屼笉浣炽€傚缓璁 偍浼樺厛閫夋嫨 TXT锛屾垨涓嬭浇婧愭枃浠跺埌鏈 満鏌ョ湅銆�绗�30 鍗枫€€绗�3 鏈 銆€� 2010 骞�6 鏈�妗傛灄鐢靛瓙 绉戞妧澶у 瀛︽姤Journal of Gui lin University of El ectronic TechnologyVo l . 30, N o . 3 Jun. 2010銆€宓屽叆寮忓お闃宠兘鍏変紡鍙戠數鑷 姩璺熻釜鎺 у埗绯荤粺璁捐寮犲缓娉�, 娈 缇� �( 1. 鏄 鏄庣悊宸ュぇ瀛 娲ユ� � ˉ瀛﹂櫌, 浜戝崡 鏄嗘槑銆€650106; 2. 鏄嗘槑鐞嗗伐澶у 搴旂敤鎶€鏈 闄� , 浜戝崡 鏄嗘槑銆€650093) 鎽樸€€ 瑕 浠� �A R M 7 澶勭悊鍣 �A T 91 SA M 7S 64) 涓轰富鎺ц姱鐗囩殑 宓屽叆寮忓 浼�M PP T 鎺у埗鏂 妗 鐢 お 闃宠 屼 � �鎺� у埗鍣 銆 绯荤粺 お闃宠 閫 � GPS , 璁 お闃¡¢ 搴£⁄鏂¥ƒ瑙§currency1 “«€ � PW M ‹›€fifl寮 姩鐢–満� , 浠ュ 浜†‡骞¡· ¶�閫傚綋‹•‚ , 浠„€屽”»… 澶‰ �鑷 姩璺熻釜 , ¿ 楠† `´ˆ鏄„ 鎺� у埗 鍣˜兘鏈夋¯鍦 ˘˙樺お 闃宠兘 ¨鐢 ˚銆 鍏¡¸ 宓屽叆寮˝˛ 澶‰ 璺 � � � � ; 浜†‡骞¡· 鎺 у埗鍣 �M PP T ; PWM ; G PS 涓 ˇ— 鍙� T M 615銆€銆€銆€銆€鏂囩 �A 銆€銆€銆€銆€ 鏂囩 : 1673808X( 2010) 03024703Design of solar PV automatic tracking control system based on embedded systemZhang Jianbo, Yin Q un( 1. Ox bridge C olleg e, K unming U niversity of Science and T echnolo gy , Yunnan 650106, China; 2. Schoo l of Applied T echnolo gy , K unming U nive rsityof Science and T echnolo gy , Yunnan 650093, China)Abstract : A embedded P V M PP T contr ol scheme is pro po sed w ith A RM 7 pr ocesso r ( A T 91SA M 7S64) a s the main contr ol chip. T he sy st em co nsists of sun- acking dev ice and tw o-dim ensio nal plane suppor t contr oller . T he tr systems sun - acking device by ext racting G PS data to calculat e the solar altitude and azimuth , t hen drive m oto r tr thr oug h the PW M speed contr ol mo de , T o suppo rt tw o dimensional plane w it h making pro per adjustments, thus achiev ing automat ic t racking sun. T he ex periment al results show that the co nt ro ller can effectively impr ov e the utilization ofso lar energ y. Key words: embedded sy stem ; sun -tracking device ; t wo dimensional plane suppor t co ntro ller ; M PP T ; P WM ; G PS澶 浼忓 鐢–妧鏈 22 涓 Æ鏈€鏈 ª 殑 Ł—Ø敤鏂Œ紡º , 屽¨鐢 お闃宠兘 æ ¢澶‰ 數 ı殑 ł ø˚銆�œß� お闃宠兘鍙戠數 fl寮嗗お 闃宠兘鐢– 垮浐¿氬湪鏌愪 浣嶇疆, 瀵Œお闃宠兘 ¶ 閲囬泦銆備絾 鏄 闅˝潃鏃堕� �棿鍋˝Щ, 澶 ˙樺currency1 彉鍖� 澶 數 犳澘涓€ 澶╀腑鎺ユ敹—扮殑鍏 己搴︿篃鍦ㄤ笉鍋滅 殑鍙戠敓鍙樺寲, 鍥犳 欑� 鏂Œ紡 变笉 厖—嗗¨鐢 お闃宠兘璧 Ł , ł ø˚杈冧綆 , 鎴鏈¢銆 鏈 枃 嚭浠� � �RM7 澶勭悊鍣 �AT 91SAM 7S64) 涓 涓绘帶鑺墖 祵鍏ュ紡澶‰ 鍏�変紡鍙戠數璺熻釜鎺у埗鏂规�, 辫兘 澶熷”鏃惰皟 翠 磋 搴 浣垮お闃宠兘鐢– 挎帴 跺埌� �寮 搴£ 堜繚鎸佹渶澶� � х殑鍏 己搴 淇� �鎸佹渶澶х殑 ł ø˚ , 鏈 堝湴 ¢浜嗗お闃宠兘 ¨鐢 ˚銆� �剁 鏃ユ湡� : 2010-04-281銆€宓屽叆寮忓お闃冲 浼忓 鐢佃 帶—剁˛ �鍥 鏄熀浜嶢� RM 7 祵鍏ュ紡鍏変紡鍙戠數璺熻釜鎺у埗绯 熺殑 翠綋妗嗗ˇ� , ョ˛ 熻璁℃鍙岃酱璺熻釜, 鍗宠嚜鍔˜ お 闃崇殑˙樺currency1瑙掍笌鏂¥ƒ瑙� 浣垮お闃冲 绾垮� 堝瀭鐩 叆 湪鍏 浼忛樀—楃殑琛ㄩ·浠ヨ幏鍙栨渶澶� у 鐢–¯» 鏈˛ 熶富瑕佺敱澶 闃宠 屼 � �㈡敮`舵帶—跺 銆傚お闃宠 涓�瑕佺敤 ARM 7 澶勭悊鍣 皢 GPS 鎺ユ敹 崼鏄熶俊鍙疯В 佸嚭褰 鍦扮殑 忓currency1� , 绾 currency1鍙� UT C 鏃堕棿骞舵牴鎹 叕寮忚 绠楀嚭澶 ˙�搴﹁� 鍙婃fl浣嶈�, 浠„€屾帶—朵 ㈡敮`朵互 姩鏂¥ƒ瑙 ‹•‚鏈烘瀯 岄¢搴﹁ ‹•‚鏈� �烘瀯¿炵幇鐩稿簲 勪ƒ缃皟 €�浣´€ 浠 寮犲缓娉 � � 1984- ) , 鐢 浜戝崡鏄嗘槑浜 旂 鐢 涓 旂 鏂Œ 涓� � � �轰俊 寲涓庣 鐞嗘fl € -mail: bohegod@ 163. com妗傛灄鐢靛瓙绉戞妧澶у瀛︽姤銆€銆€銆€銆€銆€銆€銆€銆€銆€銆€銆€銆€銆€銆€銆€銆€2010 骞�6 鏈�248鍥�1銆€ 轰 A RM 7 祵鍏ュ紡鍏変紡鍙戠數璺熻釜鎺у埗绯荤粺 ‚浣 妗嗗ˇ�2. 1銆€澶 璺熻釜鍣 殑 鍙 伐浣 鐞�澶 釜鍣 敱 GP S RM 7 澶勭悊鍣 �AT 91SAM 7S64) 浠ュ⁄鐩稿 鐢佃 銆 ¿冧富瑕佹 閫 鎺ユ敹� GP S 鍗 鏄熶俊鍙 —Ø� �敤 ARM 7 澶勭悊鍣 �AT 91SAM 7S 64) 瑙 褰 湴 勭 搴 € 绾 currency1銆� � �C 鏃堕棿銆 GPS UT 跺 规 澶‰ ˙樺currency1鍏 紡璁 お闃¡¢搴︿互鍙婃fl浣� �瑙§currency1銆 瀵¥ � GP S 鎺ユ敹鍣 澶� у� �GP S 鎺ユ敹鍣ㄩ€ 涓 杈 鎹 鏄 � � � � � ��NM EA 0183 鍗 璁 € 鍙 浠 鍙 锛¡� � � � � � PGGA œс€傚¢ œх殑 £紡⁄備互涓 �¥ 锛¡� PGGA, 銆�, 銆�, 銆�, 銆�, 銆�, 銆�, 銆�, 1銆�2銆�3銆�4銆�5銆�6銆�7銆�銆�, 銆�, M, 銆�, M , 銆�, 銆�* x x 銆 銆� �F 銆 銆� �8銆�9銆�10銆�11銆�12銆�CR銆�L ¥ 鍏朵腑銆 銆 銆 銆 銆 銆 涓ƒ渶瑕佺殑 銆傚§浣currency1� � � � � � � В閲�1銆 銆� �3銆�4銆�5銆�6銆 涓 銆 涓� � � �UT C 鏃堕棿 £紡 hhmm ss . sss ; 銆 涓 “搴︽« � 1銆�2銆 寮� �ddmm . mmm m ( 绗 浣‹ ›朵篃 fifl閫� ; 銆 涓 “搴� �3銆 鍗 –� , N 鎴�S ( 鍖楃“鎴 崡绾 �;銆 涓 搴 £紡 � � dddmm . 4銆�5銆�mm mm ( 绗 浣«†º熷皢浼‡€� ; 銆 涓 搴£�·鐞 �E 鎴�W( 涓滅 鎴 ¶ �; 銆 涓 •浣嶈‚閲 „” � � 0= ¿»ƒ鏃犳¯, 6銆�1= ¿»ƒ鏈夋¯銆 鐢…‰鍙 互閫 瑙 岃幏鍙 ”鏃剁殑 忓currency1銆 绾 currency1浠ュ⁄鏃堕棿¿ € 瀵¥ 澶� � �˙樺currency1 ` 绠� 鍙 牴鎹 ´鏂囨ˆ˜� 鍏変紡绯� fi¯鍦 湴 忓currency1銆�绾 currency1˘ ˙ � —Ø 敤澶¨枃鍏 紡 , 璁 鍏変紡 鍙戠數绯荤粺¿ 鍦扮殑澶‰ 浣嶇疆� , 骞跺湪鍦… ˚愭¸绯 腑, 浠澶‰ ˙樺currency1瑙§˝澶‰ 鏂¥ƒ瑙˛ˇ” 嚭 —€� �2. 2銆€浜†‡骞¡·鎺у埗鍣 殑 鍙 伐浣 鐞 鍥� �2 鏄 ㈡帶—跺 瀯鍥� 浜†‡骞¡· 鐢�浼犳 鍣 €� 姩鍣 鎴 € 浼犳 鍣 ¿ 瑙§currency1浼犳 鍣 € � �鏂¥ƒ瑙掍fl 熷 銆 鍔 涓 鏄敱 姩鐢–満 � , 姩鐢–満—fi 2 銆備 涓 Æ 鍔 數鏈� 涓€涓�鏄 € � 姩鐢–満銆�褰 お闃宠ª — 绠楀嚭 綋 嶇殑 澶 ˙樺currency1 屾fl浣嶈 鎺� � у埗绯荤粺 嗘˘ �PWM ‹›€fifl 寮 姩鐢–満浠ュŁ浜†‡骞¡· �¶ 閫傚綋‹•‚銆� �鍥�2銆€浜†‡骞¡·鎺у埗鍣 殑 鍙 伐浣 鐞�2. 3銆€绯荤粺 勭Ø浠惰璁�绯荤粺 Œº妗嗗ˇ⁄傚ˇ 3 €” 鍖 � GP S 淇 ( 忓currency1銆�currency1) 杈 叆涓 fl浣嶈 銆 ˙樺currency1瑙掍fl 熷 澶勭悊鐢佃 銆 æ 鐞 鍣 € � � � � � � ц�鍣 € 鏄�鐢佃 銆 æı 鐢佃 銆 鏃堕 鐢佃 銆 æ 鐞嗗 閫ł敤浜fi綆鍔熻€ø€ ˙œ€� � � � � ц兘 �2浣�RISC `舵瀯 �ARM 7 澶 鐞嗗 � AT 91SA M 7S 64, 鐗 ß鏈�4 K ˙ € lash 瀛樺偍鍣�1 �SPI 鍙 € � �UART 鍙 € 涓� �8 閫 亾 10 浣�AD ł 3 1 鍣 € 涓 閫 亾� � 16浣峆 WM 鎺у埗鍣ㄤ互鍙�2 涓狦P IO 鍙 €�1 GP S 閫ł敤浜哠IRIII 妯 潡, 杈 嚭鏂Œ紡涓轰覆鍙h緭 恒€侺 CD 娑叉櫠鏄 涓嶶 SB 绉诲姩瀛樺偍鍣 叡 岄噰鐢ㄤ覆琛岄€»俊( SPI)绗�3 鏈熴€€銆€銆€銆€銆€銆€ 銆€銆€銆€銆€銆€銆€銆€寮 寤烘尝˘ 宓 鍏ュ紡澶‰ � � �浼忓 鐢佃嚜鍔˜ 鎺� у埗绯荤粺 璁捐 銆€銆€銆€ 銆€銆€銆€銆€ 銆€銆€銆€銆€銆€銆€ 249 銆€ADC ł閫 亾 CH 0銆�1, 寮€濮嬭繘琛�A / D ł , 浠ヨ幏 CH 鍙 綋 嶄 存敮`剁殑鏂¥ƒ瑙抋 1 銆 ˙樺currency1瑙抌 � 1 currency1 般€ 劧 閫 お闃 ˙樺currency1瑙 鍏 紡 璁 姝ゆˆ � � � � �澶‰ 浣 缃 � � � a 2銆�b2 ) , 閫 姣旇緝a 1 �a2 銆 � �b2 , 规 璁 勭 `溿€�b 绯荤粺 紑 P WM 鎺у埗鍣 杈 嚭 鎺� у埗淇 ¿炵幇 瀵圭數鏈 殑鎺 — 鍦 數鏈鸿 鍔� �殑 屾ˆ, ADC łº熷悓姝ヨ繘琛� æ� a1 = a 2銆�= b2 鏃 鍋滄� P WM 鎺у埗鍣 €�b鍥�3銆€绯荤粺 º妗嗗ˇ涓庡 鐞嗗 炴帴� , 鍗ı敤浜�4 圭嚎銆俇SB 閲囩敤 CH376 鑺 墖 , ヨ姱鐗 ß ㄩ泦鎴愪簡 USB 搴 眰 浼犺緭鍗忚, 鏃舵˘ 涗簡涓 眰搴旂敤鎺ュ � AP I 銆 æı 閲囩敤浜fi腑�鏂 煡 ㈡fl 寮忓埗浣滅殑 , 3 规暟鎹嚎銆� � INT 绾 瑙佸ˇ � 4) 銆 ¸鐩樹富 1 瑕佺敤 ヨ皟寸˛ 熷˙ … 鏃ユ湡 屾ˆ˜ €� �SB 绉诲姩瀛樺偍 U 璁…綍 ß¿广€ 浠ュ⁄绯荤粺 垵濮�嬪寲璁 疆鍙傛暟˘夈€傚彟澶 繕 鏈変 涓 洰 瀵¥fl 熷 ¶� 噯銆� 2. 4銆€绯荤粺 º ”»�绯荤粺棣栨 姩鏃� ARM 7 澶勭悊鍣ㄩ 鍏堝惎鍔� �GP S 妯 ˚ ˘ 緟 � � GP S 鎺ユ敹 —扮殑 鎹 褰� � �GP S ¿»ƒ 鎶� �UART 0 鎺ユ敹 —扮殑 忓currency1銆 搴 € ˜寸瓑 � �瀛 鍌 湪 鏃� � �AT 91SAM 7S64 “呴 � Flash 涓 姝 鏃剁˛ 熻嚜 鍔 皢 � � GPS 澶勪 浼戠湢鐘舵€併€傛 鏃剁˛ fi墦寮€澶勭悊鍣 ß缃 殑 鍥�4銆€绯荤粺 º娴佺▼鍥�3銆€¿為獙¿為獙浠ユ槅鏄庝 鍦扮悊˚愭¸� : W 25銆�102. 7) , 姣�2 E h 涓�1 鏃堕棿娈 閲囩敤鏈€�澶у姛»囩偣璺熻釜绠楁硶璁 , 鍥犱 澶 収 湪鍦扮–涓婃瘡 m 姛» ぇ姒傚湪 1 kW, 澶 數 犳澘 峰寲闀撶殑鐢– 寲 ø˚涓� 37 % 宸£彸, 鍥犳1 2 )銆�m 姛»囦篃 … 370 W , 1 h º熷氨鏄�. 37 kW 鏃 掳�2琛�1銆€¿為獙 7: 00锝�: 00 鍥 •浣嶇疆 鎺ユ敹—扮殑鍔熺˚ 鑷 姩璺熻釜‹冭妭 �鎺ユ敹 姛»� 0. 12 0.185 0. 37 0. 37 0. 185 0. 12 0 0. 12 0. 37 0. 37 0. 12 0 9: 00锝�1: 00 11: 00锝�3: 00 13: 00锝�5: 00 15: 00锝�7: 00 17: 00锝�9: 00存槑: 娴嬭瘯鏃堕棿涓 澶 鍗楀寳 ˙樺currency1瑙˛缃 � � � 45掳 銆傚 `滈噰鐢 浐¿»ƒ缃瘡�澶Ø殑鏈夋¯鏃ョ収4. 26 h銆傚 `滈噰鐢˜嚜鍔˜ 殑 姣忓´ 棩鐓� � фˆ˜ 垯瓒呰 8 h銆�4銆€ currency1鏈 枃璁捐 浜fi 绉嶅熀浜庡祵鍏ュ紡 � GP S お闃宠 鍣 ¿炵幇 勭 澶¨皵涓嬬殑� � � �澶ц寖鍥磋 €�鍥犱 鍦ㄤ 骞 綋 涓 お闃宠兘 ˚囨帴鍙楃˚ 规 currency1涓嶅悓鍦� . 896锝�. 914 鍙樺寲, €浠ュ浐¿氭棤娉曡幏鍙 埌鏈€澶ц兘閲忋€ 鍥犳‰ 规 鑷韩澶 鍦 � �殑鍦扮悊浣嶇疆璁 悎閫 殑¿捐�, 骞跺”鏃惰嚜鍔˜皟鑺傚お 闃宠兘 挎 瀵Œお闃� 鍙 互淇 濊瘉鎺ユ敹—扮殑 介噺鏄 渶澶 х殑, 鏃剁 お闃崇數 犳澘 ł 殑鐢甸噺ºfi 鏈€澶� х殑銆�鍙 €•枃鐚�[ 1] 銆€鑱† . 轰 A R M �PC 104/ PLU S 澶勭悊鍣 ā˚ 璁� J ] . 妗傛灄鐢靛瓙 绉戞妧澶у瀛︽姤, 2008, 28( 4) : 305-307. [ 2] 銆€—œ 鏄 æ “ 杈 ˘ � � � �宓屽叆寮忛† 戝 娉 佺 娉 殑浼 鍖 ⁄ 浠 湡¿炵幇� [ J ] . 妗傛灄鐢靛瓙绉戞妧澶у瀛︽姤, 2009, 29( 5) : 435-438. [ 3] 銆€ 鍏 鑱 fi 鏄 ˘ � � � � A RM 搴旂敤 绯荤粺寮€ 鍙 瑙� [ M ] . 鍖 浜 澶� � у ” �2003. [ 4] 銆€Synopsys Pow erComp iler M anual[ s ] . [ 5] 銆€ LU CA BEN IN I , A L ESS A N DR O BO G LIO LO , G IO V A N N I DE M ICHELI. A S urvey of D es ign T ech niques f or Sys tem-Level Dynamic Pow er M an agehaent [ J ] . IEEE t rans act ions on V ery Large Scale Int egrat ion( V LS I) syst ems, 2000, 8( 3) : 299-316.`楀缓»�1