- 1、本文档共66页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
DSP 28335 教程 8课件
DSP24 12 Control Peripherals Module 7 TMS320C28x? MCU Workshop Learning Objectives Pulse Width Modulation (PWM) review Generate a PWM waveform with the Pulse Width Modulator Module (ePWM) Use the Capture Module (eCAP) to measure the width of a waveform Explain the function of Quadrature Encoder Pulse Module (eQEP) What is Pulse Width Modulation? PWM is a scheme to represent a signal as a sequence of pulses fixed carrier frequency fixed pulse amplitude pulse width proportional to instantaneous signal amplitude PWM energy ? original signal energy Why use PWM with Power Switching Devices? Desired output currents or voltages are known Power switching devices are transistors Difficult to control in proportional region Easy to control in saturated region PWM is a digital signal ?? easy for DSP to output ePWM Block Diagram ePWM Time-Base Module ePWM Time-Base Count Modes ePWM Phase Synchronization ePWM Time-Base Module Registers(lab file: EPwm.c) ePWM Time-Base Control RegisterEPwmxRegs.TBCTL ePWM Time-Base Control RegisterEPwmxRegs.TBCTL ePWM Time-Base Status RegisterEPwmxRegs.TBSTS ePWM Compare Module ePWM Compare Event Waveforms ePWM Compare Module Registers(lab file: EPwm.c) ePWM Compare Control RegisterEPwmxRegs.CMPCTL ePWM Action Qualifier Module ePWM Action Qualifier Actionsfor EPWMA and EPWMB ePWM Count Up Asymmetric Waveformwith Independent Modulation on EPWMA / B ePWM Count Up Asymmetric Waveformwith Independent Modulation on EPWMA ePWM Count Up-Down Symmetric Waveformwith Independent Modulation on EPWMA / B ePWM Count Up-Down Symmetric Waveformwith Independent Modulation on EPWMA ePWM Action Qualifier Module Registers(lab file: EPwm.c) ePWM Action Qualifier Control RegisterEPwmxRegs.AQCTLy (y = A or B) ePWM Action Qualifier S/W Force RegisterEPwmxRegs.AQSFRC ePWM Action Qualifier Continuous S/W Force RegisterEPwmxRegs.AQCSFRC Symmetric PWM Computation Example Determine TBPRD and CMPA for 150 kHz, 25% duty symme
文档评论(0)