📄 dingzi.mdl
字号:
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "dingzi"
Location [37, 82, 1022, 743]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "ABC-ab"
Ports [3, 2]
Position [310, 98, 385, 252]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "ABC-ab"
Location [295, 156, 806, 576]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "UA"
Position [80, 48, 110, 62]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "UB"
Position [45, 113, 75, 127]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "UC"
Position [25, 168, 55, 182]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "Gain"
Position [190, 40, 220, 70]
Gain "sqrt(2/3)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [185, 105, 215, 135]
Gain "1/sqrt(6)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [185, 160, 215, 190]
Gain "1/sqrt(6)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [185, 235, 215, 265]
Gain "0"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain4"
Position [185, 305, 215, 335]
Gain "sqrt(2)/2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain5"
Position [185, 365, 215, 395]
Gain "sqrt(2)/2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [305, 29, 330, 181]
ShowName off
Inputs "|+--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [305, 234, 335, 386]
ShowName off
Inputs "|++-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "ua"
Position [355, 98, 385, 112]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "ub"
Position [360, 298, 390, 312]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "UA"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 195]
DstBlock "Gain3"
DstPort 1
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "UB"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 200]
DstBlock "Gain4"
DstPort 1
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "UC"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 205]
DstBlock "Gain5"
DstPort 1
}
Branch {
DstBlock "Gain2"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [40, 0; 0, 30]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [70, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Gain5"
SrcPort 1
Points [30, 0; 0, -10]
DstBlock "Sum1"
DstPort 3
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [30, 0; 0, 35]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "ua"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, -5]
DstBlock "ub"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "Constant"
Position [200, 260, 230, 290]
Value "8.84"
}
Block {
BlockType Constant
Name "Constant1"
Position [200, 330, 230, 360]
}
Block {
BlockType Scope
Name "Scope"
Ports [3]
Position [835, 172, 900, 318]
Location [5, 54, 1029, 741]
Open off
NumInputPorts "3"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "N*M"
axes2 "n/m"
axes3 "A"
}
TimeRange "0.5 "
YMin "-0.25~-1.4e+009~0"
YMax "2.5~0~1.3e+014"
DataFormat "StructureWithTime"
}
Block {
BlockType Sin
Name "Sine Wave"
Ports [0, 1]
Position [100, 110, 130, 140]
SineType "Time based"
Amplitude "380"
Frequency "100*pi"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave1"
Ports [0, 1]
Position [95, 210, 125, 240]
SineType "Time based"
Amplitude "380"
Frequency "100*pi"
Phase "2*pi/3"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave2"
Ports [0, 1]
Position [100, 160, 130, 190]
SineType "Time based"
Amplitude "380"
Frequency "100*pi"
Phase "-2*pi/3"
SampleTime "0"
}
Block {
BlockType Reference
Name "XY Graph"
Ports [2]
Position [835, 395, 915, 530]
SourceBlock "simulink/Sinks/XY Graph"
SourceType "XY scope."
ShowPortLabels on
xmin "0"
xmax "1500"
ymin "-10"
ymax "80"
st "-1"
}
Block {
BlockType SubSystem
Name "dianji"
Ports [5, 3]
Position [530, 174, 570, 376]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "dianji"
Location [7, 82, 1019, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ua1"
Position [225, 63, 255, 77]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "ub1"
Position [225, 133, 255, 147]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Tc"
Position [630, 138, 660, 152]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "ua2"
Position [200, 233, 230, 247]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "ub2"
Position [200, 393, 230, 407]
Port "5"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [795, 110, 825, 140]
}
Block {
BlockType Gain
Name "Npn"
Position [745, 110, 775, 140]
Gain "100"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [705, 95, 725, 155]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "Te1"
Ports [4, 1]
Position [585, 46, 630, 204]
BackgroundColor "green"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Te1"
Location [589, 340, 934, 563]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ia1"
Position [25, 13, 55, 27]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "ib2"
Position [25, 73, 55, 87]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "ib1"
Position [30, 123, 60, 137]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "ia2"
Position [30, 178, 60, 192]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "NP.Lm"
Position [235, 100, 265, 130]
Gain "1.302"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [80, 27, 110, 58]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [85, 162, 115, 193]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [165, 42, 185, 198]
ShowName off
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Te"
Position [290, 108, 320, 122]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Product"
SrcPort 1
Points [15, 0; 0, 65]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [15, 0; 0, -10]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -