matlab模块化编程,DSP2812基于MATLAB模块化编程的SPWM调制实现.pdf

【实例简介】

DSP2812基于MATLAB模块化编程的SPWM调制实现

58

32

Simulink

func-

tion builder

SCI S-Function Builder

B

DSP

A、B、C

PW

M

function

281x

EVA PWM yI

Out1

In 4

OutI

PWM

PWM

Multiport

Switch

T

1 +msin

T

M

N

h=0123…N-1

h

Counter limite

lOath

Saturation

B、C

InI

士+

JONDF

Product

OutI

Float to IQN

Trig Fcn IQN

IQN tc Float

Saturation

Divide

Constant 3 Constant

Divide

Real-Time Workshop

Target Preferences

DE

Simulation- Configuration Parameters Real-Time Workshop Sys

tem target file

delink ert. tle

TLC

tools Real-Time Workshop

C1994-2013ChinaAcadcmicJournalElcctronicPublishingHousc.Allrightsrescrved.http://www.cnki.nct

DSP2812

MATLAB

SPWM

59

Build model

MATLAB GU

DSP SCI A

DSP。

串口选择

定率设定

波特率1920

数据位8

停止位1

校验位

NONE

计清零

清空发送区

打开畢口

发送效据

1.7ps

DSP2812 PWMI PWM2

10

DSP

SPWM

DSP

n=M400 G WWwI V·aoue

平严网阳黑鬥网网脾酬网

正在将波形保存到盘。请稍候

7

f=45HzN=120

M 80Ou6 WWW WC 8

上在形乐存,请稍

20HZN=198

C1994-2013ChinaAcadcmicJOurnalElcctronicPublishingHousc.Allrightsrcscrved.http://www.cnki.nct

32

ZP几

Oms wW w 2.00m

交包20B200NcH1f160|1.950

f=51lzN=399

MZH L

正在将波形界存盘,请快

②2.002,00CH1/1,20·3.96125KH

DSP

MATLAB

DSP

MATLAB DSP

MATLAB

2003296-340.

2008152103-104

2008169-184

MATLAB GU

2009410-523

DSP2812 SPWM Modulation Based on MaTLAB Modular Programming

Yan Zhenyu zhang maoqing Xu haili Xu lili

School of Mechanical and Electrical Engineering Soochow University Suzhou 215021 China

Abstract In this article a dsp28 12 SP WM piecewise synchronous modulation system model is built in the Simulink

platform with the use of Simulink modules in MATLAB 2010b. It completes the auto generation of DSP code with

of Real-Time Workshop. It realizes the moduler programming in MATLAB environment. The experiment

shows that the automatically generated program runs smoothly in TMS320F2812 development board and the result is

correct. It proves this method can improve efficiency of dsp development and it has a certain practical value

Key Words DSp2812 MATLAB modular programming code auto generation SPWM modulation

C1994-2013ChinaAcadcmicJournalElcctronicPublishingHousc.Allrightsrescrved.http://www.cnki.nct

【实例截图】

【核心代码】

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值