⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rf_bb_1.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  SampleTime		  "1/(2.56*BW)"
	}
	Block {
	  BlockType		  StateSpace
	  Name			  "anti alias"
	  Position		  [115, 32, 180, 88]
	  AncestorBlock		  "dsparch3/Analog\nFilter Design"
	  A			  "a"
	  B			  "b"
	  C			  "c"
	  D			  "d"
	  MaskType		  "Analog Filter Design"
	  MaskDescription	  "Design one of several standard analog filte"
"rs, implemented in state-space form."
	  MaskHelp		  "web(dspbhelp);"
	  MaskPromptString	  "Design method:|Filter type:|Filter order:|P"
"assband edge frequency (rads/sec):|(unused)|Passband ripple in dB:|Stopband a"
"ttenuation in dB:"
	  MaskStyleString	  "popup(Butterworth|Chebyshev I|Chebyshev II|"
"Elliptic|Bessel),popup(Lowpass|Highpass|Bandpass|Bandstop),edit,edit,edit,edi"
"t,edit"
	  MaskTunableValueString  "on,on,off,on,on,on,on"
	  MaskCallbackString	  "dspblkanalog|dspblkanalog|||||"
	  MaskEnableString	  "on,on,on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,off,on,on"
	  MaskToolTipString	  "on,on,on,on,on,on,on"
	  MaskVarAliasString	  ",,,,,,"
	  MaskVariables		  "method=&1;filttype=&2;N=@3;Wlo=@4;Whi=@5;Rp"
"=@6;Rs=@7;"
	  MaskInitialization	  "[a,b,c,d,h,w,str]=dspblkanalog('design', me"
"thod,filttype,N,Wlo,Whi,Rp,Rs);\n"
	  MaskDisplay		  "plot(w,h); text(.05,.9,str);\n"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  MaskValueString	  "Elliptic|Lowpass|8|BW*2*pi|80|2|100"
	  MaskTabNameString	  ",,,,,,"
	}
	Block {
	  BlockType		  StateSpace
	  Name			  "anti alias1"
	  Position		  [115, 117, 180, 173]
	  AncestorBlock		  "dsparch3/Analog\nFilter Design"
	  A			  "a"
	  B			  "b"
	  C			  "c"
	  D			  "d"
	  MaskType		  "Analog Filter Design"
	  MaskDescription	  "Design one of several standard analog filte"
"rs, implemented in state-space form."
	  MaskHelp		  "web(dspbhelp);"
	  MaskPromptString	  "Design method:|Filter type:|Filter order:|P"
"assband edge frequency (rads/sec):|(unused)|Passband ripple in dB:|Stopband a"
"ttenuation in dB:"
	  MaskStyleString	  "popup(Butterworth|Chebyshev I|Chebyshev II|"
"Elliptic|Bessel),popup(Lowpass|Highpass|Bandpass|Bandstop),edit,edit,edit,edi"
"t,edit"
	  MaskTunableValueString  "on,on,off,on,on,on,on"
	  MaskCallbackString	  "dspblkanalog|dspblkanalog|||||"
	  MaskEnableString	  "on,on,on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,off,on,on"
	  MaskToolTipString	  "on,on,on,on,on,on,on"
	  MaskVarAliasString	  ",,,,,,"
	  MaskVariables		  "method=&1;filttype=&2;N=@3;Wlo=@4;Whi=@5;Rp"
"=@6;Rs=@7;"
	  MaskInitialization	  "[a,b,c,d,h,w,str]=dspblkanalog('design', me"
"thod,filttype,N,Wlo,Whi,Rp,Rs);\n"
	  MaskDisplay		  "plot(w,h); text(.05,.9,str);\n"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  MaskValueString	  "Elliptic|Lowpass|8|BW*2*pi|80|2|100"
	  MaskTabNameString	  ",,,,,,"
	}
	Block {
	  BlockType		  StateSpace
	  Name			  "anti alias2"
	  Position		  [180, 212, 245, 268]
	  AncestorBlock		  "dsparch3/Analog\nFilter Design"
	  A			  "a"
	  B			  "b"
	  C			  "c"
	  D			  "d"
	  MaskType		  "Analog Filter Design"
	  MaskDescription	  "Design one of several standard analog filte"
"rs, implemented in state-space form."
	  MaskHelp		  "web(dspbhelp);"
	  MaskPromptString	  "Design method:|Filter type:|Filter order:|P"
"assband edge frequency (rads/sec):|(unused)|Passband ripple in dB:|Stopband a"
"ttenuation in dB:"
	  MaskStyleString	  "popup(Butterworth|Chebyshev I|Chebyshev II|"
"Elliptic|Bessel),popup(Lowpass|Highpass|Bandpass|Bandstop),edit,edit,edit,edi"
"t,edit"
	  MaskTunableValueString  "on,on,off,on,on,on,on"
	  MaskCallbackString	  "dspblkanalog|dspblkanalog|||||"
	  MaskEnableString	  "on,on,on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,off,on,on"
	  MaskToolTipString	  "on,on,on,on,on,on,on"
	  MaskVarAliasString	  ",,,,,,"
	  MaskVariables		  "method=&1;filttype=&2;N=@3;Wlo=@4;Whi=@5;Rp"
"=@6;Rs=@7;"
	  MaskInitialization	  "[a,b,c,d,h,w,str]=dspblkanalog('design', me"
"thod,filttype,N,Wlo,Whi,Rp,Rs);\n"
	  MaskDisplay		  "plot(w,h); text(.05,.9,str);\n"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  MaskValueString	  "Elliptic|Lowpass|8|BW*2*pi|80|2|100"
	  MaskTabNameString	  ",,,,,,"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "sampler"
	  Position		  [215, 41, 250, 79]
	  SampleTime		  "1/(2.56*BW)"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "sampler1"
	  Position		  [215, 126, 250, 164]
	  SampleTime		  "1/(2.56*BW)"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Excitation"
	  Position		  [300, 233, 330, 247]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Mag"
	  Position		  [475, 63, 505, 77]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Phase"
	  Position		  [480, 123, 510, 137]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Transfer Function"
	  SrcPort		  2
	  DstBlock		  "Phase"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transfer Function"
	  SrcPort		  1
	  DstBlock		  "Mag"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "sampler1"
	  SrcPort		  1
	  Points		  [15, 0; 0, -15]
	  DstBlock		  "Transfer Function"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "sampler"
	  SrcPort		  1
	  Points		  [15, 0; 0, 10]
	  DstBlock		  "Transfer Function"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "anti alias2"
	  SrcPort		  1
	  DstBlock		  "Excitation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Uniform Random\nNumber"
	  SrcPort		  1
	  DstBlock		  "anti alias2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Response"
	  SrcPort		  1
	  DstBlock		  "anti alias1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "anti alias1"
	  SrcPort		  1
	  DstBlock		  "sampler1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Reference "
	  SrcPort		  1
	  DstBlock		  "anti alias"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "anti alias"
	  SrcPort		  1
	  DstBlock		  "sampler"
	  DstPort		  1
	}
	Annotation {
	  Name			  "Bandlimited Excitation"
	  Position		  [216, 199]
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "LPF Magnitude dB"
      Ports		      [1]
      Position		      [485, 105, 520, 155]
      SourceBlock	      "dspsnks4/Vector\nScope"
      SourceType	      "Vector Scope"
      ScopeProperties	      on
      Domain		      "Frequency"
      HorizSpan		      "1"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      on
      AxisLegend	      off
      AxisZoom		      off
      OpenScopeAtSimStart     on
      OpenScopeImmediately    off
      FigPos		      "[15 321 372 236]"
      AxisProperties	      off
      XUnits		      "Hertz"
      XRange		      "[0...Fs/2]"
      InheritXIncr	      on
      XIncr		      "2*Fs"
      XLabel		      "Time"
      YUnits		      "dB"
      YMin		      "-100"
      YMax		      "10"
      YLabel		      "dB"
      LineProperties	      off
      LineColors	      "[1 0 0]|[1 0 0]"
      ShowPortLabels	      off
    }
    Block {
      BlockType		      Reference
      Name		      "LPF Phase in Degrees"
      Ports		      [1]
      Position		      [415, 135, 450, 185]
      SourceBlock	      "dspsnks4/Vector\nScope"
      SourceType	      "Vector Scope"
      ScopeProperties	      on
      Domain		      "Frequency"
      HorizSpan		      "1"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      on
      AxisLegend	      off
      AxisZoom		      off
      OpenScopeAtSimStart     on
      OpenScopeImmediately    off
      FigPos		      "[16 37 372 236]"
      AxisProperties	      off
      XUnits		      "Hertz"
      XRange		      "[0...Fs/2]"
      InheritXIncr	      on
      XIncr		      "1"
      XLabel		      "Frequency"
      YUnits		      "Magnitude"
      YMin		      "-1000"
      YMax		      "0"
      YLabel		      "Phase in Degrees"
      LineProperties	      off
      LineColors	      "[1 0 0]"
      ShowPortLabels	      off
    }
    Block {
      BlockType		      Reference
      Name		      "Low Pass Fillter Design"
      Ports		      [1, 1]
      Position		      [55, 122, 120, 178]
      SourceBlock	      "dsparch4/Analog\nFilter Design"
      SourceType	      "Analog Filter Design"
      method		      "Elliptic"
      filttype		      "Lowpass"
      N			      "8"
      Wlo		      "1e6*2*pi"
      Whi		      "80"
      Rp		      "1"
      Rs		      "90"
    }
    Line {
      Labels		      [0, 0]
      SrcBlock		      "Low Pass Fillter Design"
      SrcPort		      1
      DstBlock		      "Base Band Transfer Function"
      DstPort		      2
    }
    Line {
      Labels		      [0, 0]
      SrcBlock		      "Base Band Transfer Function"
      SrcPort		      1
      Points		      [40, 0; 0, -40; -240, 0]
      Branch {
	Points			[-145, 0; 0, 90]
	DstBlock		"Low Pass Fillter Design"
	DstPort			1
      }
      Branch {
	Points			[0, 50]
	DstBlock		"Base Band Transfer Function"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Base Band Transfer Function"
      SrcPort		      2
      DstBlock		      "LPF Magnitude dB"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Base Band Transfer Function"
      SrcPort		      3
      Points		      [35, 0]
      DstBlock		      "LPF Phase in Degrees"
      DstPort		      1
    }
    Annotation {
      Name		      "Transfer Function Estimate of a Continuous Time"
" Filter. "
      Position		      [225, 22]
    }
  }
}
MatData {
  NumRecords		  4
  DataRecord {
    Tag			    DataTag3
    Data		    "  %)30     .    :     8    (     0         %    "
"\"     $    !     0         .    .     8    (    !          %    \"     $    "
"&     0         0    !@   %=I;F1O=P  "
  }
  DataRecord {
    Tag			    DataTag2
    Data		    "  %)30     .    :     8    (     0         %    "
"\"     $    !     0         .    .     8    (    !          %    \"     $    "
"&     0         0    !@   %=I;F1O=P  "
  }
  DataRecord {
    Tag			    DataTag1
    Data		    "  %)30     .    8     8    (     0         %    "
"\"     $    !     0         .    ,     8    (    !          %    \"     $    "
"#     0         0  , 1D94  "
  }
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    8     8    (     0         %    "
"\"     $    !     0         .    ,     8    (    !          %    \"     $    "
"#     0         0  , 1D94  "
  }
}

# Finite State Machines
#
#    Stateflow Version 6.1 (R14SP1) dated Sep  7 2004, 18:52:26
#
#

Stateflow {

	machine {
		id                   		1
		name                 		"rf_bb_1"
		created              		"16-Jan-2006 12:39:07"
		isLibrary            		0
		firstTarget          		9
		sfVersion            		61014000
	}

	chart {
		id                       		2
		name                     		"Base Band Transfer Function/Transfer Function/Phase Unwrap/Embedd"
					"ed\n"
					"MATLAB Function1"
		windowPosition           		[371.813 239.45 200.25 189.75]
		viewLimits               		[0 156.75 0 153.75]
		screen                   		[1 1 1280 1024 1.333333333333333]
		treeNode                 		[0 3 0 0]
		firstTransition          		5
		firstJunction            		4
		viewObj                  		2
		machine                  		1
		decomposition            		CLUSTER_CHART
		type                     		EML_CHART
		firstData                		6
		chartFileNumber          		4
		disableImplicitCasting   		1
		eml {
			name		"center_sub"
		}
	}

	state {
		id                  		3
		labelString         		"eML_blk_kernel()"
		position            		[18 64.5 118 66]
		fontSize            		12
		chart               		2
		treeNode            		[2 0 0 0]
		superState          		SUBCHART
		subviewer           		2
		type                		FUNC_STATE
		decomposition       		CLUSTER_STATE
		eml {
			isEML       		1
			script      		"function y = center_sub(u)\n"
						"% Set Phase to zero at DC.  \n"
						"y=zeros(size(u));\n"
						"[r,c]=size(u);\n"
						"p=ceil(r/2);\n"
						"for k=1:c\n"
						"    y(:,k) = u(:,k)-u(p,k);\n"
						"end;"
			editorLayout		"100 M4x1[225 225 640 512]"
		}
	}

	junction {
		id         		4
		position   		[23.5747 49.5747 7]
		chart      		2
		linkNode   		[2 0 0]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	transition {
		id             		5
		labelString    		"{eML_blk_kernel();}"
		labelPosition  		[32.125 19.875 102.544 14.964]
		fontSize       		12
		src {
			intersection		[0 0 1 0 23.5747 14.625 0 0]
		}
		dst {
			id          		4
			intersection		[7 0 -1 -1 23.5747 42.5747 0 0]
		}
		midPoint       		[23.5747 24.9468]
		chart          		2
		linkNode       		[2 0 0]
		dataLimits     		[21.175 25.975 14.625 42.575]
		subviewer      		2
		drawStyle      		SMART
	}

	data {
		id                            		6
		name                          		"u"
		linkNode                      		[2 0 7]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"inherited"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		complexity                    		SF_COMPLEX_INHERITED
		props {
			range {
				minimum		""
				maximum		""
			}
			array {
				size      		"-1"
				firstIndex		"1"
			}
		}
	}

	data {
		id                            		7
		name                          		"y"
		linkNode                      		[2 6 0]
		scope                         		OUTPUT_DATA
		machine                       		1
		dataType                      		"inherited"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		complexity                    		SF_COMPLEX_INHERITED
		props {
			range {
				minimum		""
				maximum		""
			}
			array {
				size      		"-1"
				firstIndex		"1"
			}
		}
	}

	instance {
		id     		8
		name   		"Base Band Transfer Function/Transfer Function/Phase Unwrap/Embedd"
					"ed\n"
					"MATLAB Function1"
		machine		1
		chart  		2
	}

	target {
		id                        		9
		name                      		"sfun"
		description               		"Default Simulink S-Function Target."
		machine                   		1
		linkNode                  		[1 0 0]
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -