- 1、本文档共20页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
3 Phase Wave Generation.ppt
3 Phase Wave Generation 3 Phase waveform generation using Timer/Counter1 and 3 on atmega128 Topics Sinusoidal Wave Generation Theory Atmega128 setup and considerations Results 3 Phase line to line voltages uC used to control switch states +E or 0 is shown to the load on each phase Depends on if upper or lower switch is on 3 Phase line to line voltages 2/3 on switching scheme used Allowing switches to be off for 1/3 of the time reduces switching power losses Line to neutral voltages are not sinusoidal, but line to line are!!! Topics Sinusoidal Wave Generation Theory Atmega128 setup and considerations Results uC Sinusoidal PWM Line to neutral voltages approximated using PWM switching Average output voltage controlled by duty cycle uC duty cycle OCRnA:C/Top Top and pre-scaler are set so switching frequency is at 20kHz Lookup Table Generation Using Excel duty cycle of was approximated One cycle broken up into 192 steps Sin 2*PI*i/192 , i 0..191 OCRnA:C Round Sin 2*PI*i/192 *TOP TOP value is 400 for my 20kHz switching frequency Looking up values frees up uC for other tasks sine Look-Up Table Sin lookup table array Timer/Counter 1/3 Setup Phase Frequency correct PWM Dual Slope Operation Used to control switches Timer/Counter1 Upper Switches Timer/Counter3 Lower Switches Timer/Counter 3 switches inverse of Timer/Counter 1 Output bit is set or cleared on compare match Timer/Counter 2 Updates Timer/Counter1/3 OCRnA,OCRnB,OCRnC to control duty cycle Counter variable incremented by 3 every time Timer/Counter 2 interrupts OCRnA:C value generated from lookup table OCRnA sin_lookup[counter] OCRnB sin_lookup[counter+1] OCRnC sin_lookup[counter+2] Interrupts occur fdesired*192 times per second My epiphany Viewing Wave forms Topics Sinusoidal Wave Generation Theory Atmega128 setup and considerations Results Results Shoot Thru If S+ and S- on at same time the circuit would short Shoot Thru To avoid shoot-thru add a switching delay Amount to increment or decrement by d
您可能关注的文档
- #9 Scan Conversion & Midterm Review.ppt
- >>使用指南下载-超星电子图书如何移机阅读.ppt
- ‹#› .ppt
- <<相似三角形>>.ppt
- §1.1 质点 参考系和坐标系.ppt
- §2.2 匀变速直线运动的速度与时间关系.ppt
- §2.2.1直线和平面平行与平面和平面平行的判定.ppt
- §3.5 力的分解高一物理组.ppt
- 04年高考语文 命题特点与05 年总复习训练.ppt
- 1.个人资料2.我的作品3.爸妈寄语4.家长表扬词5.我想对老师说.ppt
- DB3205T 1033-2021 旅游咨询服务机构评价规范.docx
- DB21T 2227.10-2014 辽菜 第10部分:扒三白.docx
- DB21_T 2227.9-2014 辽菜 第9部分:小鸡炖蘑菇.docx
- DB22_T 884-2011 喀尔巴阡蜜蜂.docx
- DB22_T 886-2011 卡尼鄂拉蜜蜂.docx
- DB22_T 989-2011 高加索蜜蜂(标准规范).docx
- DB22_T 885-2011 意大利蜜蜂(标准规范).docx
- DB3203T1009-2021窖栽韭黄生产技术规程.docx
- DB3210_T 1105-2022 扬粳3012种子生产技术规程.docx
- DB3210_T 1103-2022 乡村小微湿地修复规范.docx
文档评论(0)