Simulink???? - PowerPoint PPT Presentation

1 / 33
About This Presentation
Title:

Simulink????

Description:

Simulink Simulink MATLAB – PowerPoint PPT presentation

Number of Views:152
Avg rating:3.0/5.0
Slides: 34
Provided by: fu56
Category:

less

Transcript and Presenter's Notes

Title: Simulink????


1
Simulink????
2
  • Simulink ?MATLAB ?????????,???????????
    ??????????????????MATLAB ????,????????,???????????
    ?,????????????,????????,????????????
  • ?start??Simulink??,?? Simulink
    Library Browser,??Simulink???,?? File New???????
  • ?MATLAB? Command??????Simulink????Sim
    ulink?????
  • Simulink ???????????,??????????
  • (1)???????????????????????????????,???????,????
    ????????
  • (2)????????????????,?????????,Simulink?????????
    ????,????????????,??????????,???????????????????,
    ???????????????????????

3
  • (3) ??????????????????????????????????????????
    ???????MATLAB?????(workspace).???????,???????????
    ??????????????
  • Simulink??????????????,??Power System
    Blockset (PSB),DSP Blockset ,Communication
    Blockset,CDMA Reference Blockset, Nonlinear
    Control Design Blockset ?????????????
  • ??MATLAB?????????,??????Simulink????Com
    monly used Blocks ,Sinks ,Sources
    ???????????????Power System Blockset(DSP)???

4
?i3,U4,U7
5
  • 1. Simulink??????
  • ??????Simulink????,??????????Simlink
    ?????????????Simulink??????????Simulink???????????
    ????????Sources????Sinks ????Math
    Operations??Continuous??????????????
  • Sources ??
  • ????,??????1???0????step??,???????(ste
    p time)????(Initial value, Final value)????????
  • ?????,???????????????(sine
    wave)???(square wave)????(sawtooth wave),?????????

6
  • ???,??????,???????????,
  • ????????????
  • ???,???????????(Sine
    Wave)??,????,???????????????????????Time based ?
    Sample based ?
  • ???Time based ???????,????????????(Ampl
    itude)???(Bias)???(Frequency)???(Phase)????
  • ????Sample based??,????????(Amplitude)?
    ??(Bias)???????(Sampies per period)??????(Number
    of offset samples).
  • ???????????????????????
  • ??????2pi/(??????)
  • ?????????????/(2pi)
  • ??????Sampletime ,???????????????????,?
    ???????????????????????????????Sample based
    ??????????????????

7

  • ?????????MATLAB

  • Workspace?????????????????????MATLAB??????????????
    ??????,????????????????T, U???????????
  • Math Operations??
  • ????? ?List of signs????????????????
    ????Icon shape???????????
  • Gain ?? ????????????
  • Continuous??
  • Transfer Fcn ????,??
    numerator?
  • ?,?????????????
    Denominator??,?????????????

8
  • Sinks??
  • Sinks????????????????,?????????????

  • ???????,???From

  • Workspace????,????????????????????
  • XY????? MATLAB??????
  • ?????????????????
  • ?????????????
  • ?????????
  • ???????????,????????????????,?????????
    ?????????
  • ???????????????,??????????????????????
    ?????????,?????????????????????????,??????????

9
  • (1) ???????

10
  • (2)????????
  • ???????????,???????????Axes properties
    ??,??????????,??4.1-1???Y-min?Y-max?????Y
    ?????????,?Title???????????,????????????????????
    ?

11
  • (3)????????
  • ?? ????????????(SopeParameters)???

12
(No Transcript)
13
  • General?????????????
  • ?Number of axes ???????????,????????????????
    ?
  • ?Time range ???????X ?(????)??????
  • ?Sampling ?????????????Decimation????????
    ??,????n,???n-1 ?????????????Sample
    time??????????,???0????????,-1?????????????,?????
    ?????????????????
  • ? Floating scope??????????,??????????????

14
  • (4)???????

  • ????????????????

  • ?????????????????,???????????????????????????????
    ??,???????????????

15
  • 2. SimPowerSystems????
  • DC Voltage Source?????,? Electrical
    Sources????
  • Series RLC Branch ??RLC ??,????????????,???
    ????????????????
  • ?Series RLC Branch ??????????,????Res
    istance????????????,Inductance???0,Capacitance
    ???inf
  • ?Series -RLC Branch???????????,????In
    ductance????????????,Resistance???0,Capacitanc
    e???inf
  • ?Series RLC Branch?????????,????Capac
    itance????????????,Resistance?Inductance????0
    ?

16
  • Parallel RLC Branch ??RLC ??,????????????,??????
    ?????????????
  • ?Parallel RLC Branch
    ??????????,????Resistance????????????,Inductan
    ce???inf ,Capacitance???0
  • ?Parallel -RLC Branch???????????,????
    Inductance????????????,Resistance???inf
    ,Capacitance???0
  • ?Parallel RLC Branch?????????,????Cap
    acitance????????????,Resistance?Inductance???
    ?inf?

17
  • Current Measurement?Voltage Measurement
    ?Measurmrnts???,???????????????????
  • Controlled Voltage Source??????Controlled
    Current Source?????,?Electrical
    Sources???,???????????
  • Break(??)?????Elements?????Break????????
    External control of switching times
    ???,?????????,Switching times(??????)?Sample time
    of the internal timer Ts ????????,?????External
    control of switching times???????,???????

18
  • 3. ??????
  • Solver? simulationconfiguration--solver
  • ????Start time ????stop time ??????
    ???Variable-step ,????Fixed-step?????solver
  • ???Variable-step???????????????????(???,????/50)?
    ???????,????????????,?????
  • ????solver2/3???-????4/5???-???(????????????)????
    ??

19
  • ???Variable-step???

20
????Fixed-step???
21
  • ????????????????????????????????,?????
    ???????????????????relative tolerance(1e-3)?????ab
    solute tolerance(1e-6)?

22
  • 4. ??????
  • ???????format????flip block?,????????,?rotate
    block?????????90??
  • ?????????,????????????????,????,????????
  • ????????????,?????????,??????????,?????????,?
    ???????????????,??????????,??????,????????????????
    ????????????(formathide name formatshow
    name)???(formatflip name)?

23
  • ?????????????????,?Format Show drop
    shadow???
  • ??????????????????,?Format
    foregroundcolor???,??????????Format
    Backgroundcolor???,??????????Format
    Screencolor???,??????????
  • ???????????????????,?Format
    Font???,?????,????????

24
  • ???????????????????????????,??Edit Creat
    Subsystem???,SIMULINK??????????????????,??????????
    ??????????????,????????????,???????????
  • ???????Commomly Used Blocks
    ???Subsystem?????????,??????????????????????????
  • ???????????????,??Edit Mark
    Subsystem???,?????????
  • ?Icon??Initialization??Document?????,??
    ?????

25
  • 5. ??MATLAB/Simulink?
  • ??????????
  • (1)???????
  • ????
  • ??Simulink ??

  • R12,

  • R24,

  • R312,

  • R44,

  • R512,

  • R64,

  • R72,

  • Us10V?

  • ?i3,U4,U7

26
  • ????Simulation?,??Start??CtrlT???,??????
    ???
  • ????

27
(No Transcript)
28
  • (2)????????
  • ???b ,d ??????
  • ??Simulink ??
  • ??????????

29
  • ??????,??b,d ???????

30
  • (3)

31
  • (4)

32
(No Transcript)
33
Write a Comment
User Comments (0)
About PowerShow.com