simulink模块的分类及用途解析.docx
《simulink模块的分类及用途解析.docx》由会员分享,可在线阅读,更多相关《simulink模块的分类及用途解析.docx(16页珍藏版)》请在冰豆网上搜索。
simulink模块的分类及用途解析
simulink模块的分类及用途
模块名(Sourcelibrary)
用途
Band_LimitedWhiteNoise
把白噪声加到连续系统中
ChipSignal
产生一个频率不断增大的正弦波
Clock
显示和提供仿真时间
Constant
产生一个常值
DigitalClock
在规定的采样间隔产生仿真时间
FromFile
从文件读取数据
FromWorkspace
从工作面上定义的矩阵中读数据
PulseGenerator
在固定的时间间隔产生脉冲
RandomNumber
产生正态分布的随机数
RepeatingSequence
产生规律重复的任意信号
SignalGenerator
产生各种不同的波形
SineWave
产生一个正弦波
StepInput
产生一个阶跃函数
模块名(Sinkslibrary)
用途
Auto_ScaleGraphScope
在MATLAB自动调整显示比例的图形窗口显示信号
GraphScope
在MATLAB图形窗口显示信号
HitCrossing
在规定值附近增加仿真步数
Scope
在仿真过程中显示信号
StopSimulation
当输入不为零时停止仿真
ToFile
把数据输出到文件中
ToWorkspace
把数据输出到工作面上定义的一个矩阵中
XYGraphScope
在MATLAB图形窗口中显示信号的X—Y图
模块名(Discretelibrary)
用途
Discrete-TimeIntegrator
对一个信号进行离散积分
Discrete-TimeLimitedIntegrator
对一个信号进行离散有限积分
DiscreteState-Space
建立一个离散状态空间模型
DiscreteTransferFcn
建立一个离散传递函数
DiscreteZero-Pole
以零极点形式建立一个离散传递函数
Filter
建立IIR和FIR滤波器
First-OrderHold
建立一阶采样保持器
UnitDelay
对一个信号延迟一个采样周期
Zero-OrderHold
建立一个采样周期的零阶保持器
模块名(Linearlibrary)
用途
Derivative
对输入信号进行微分
Gain
对输入信号乘上一个常数增益
InnerProduct
对输入信号进行点积
Integrator
对输入信号进行积分
MatrixGain
对输入信号乘上一个矩阵增益
SliderGain
以滑动形式改变增益
State-Space
建立一个线性状态空间模型
Sum
对输入信号进行求和
TransferFcn
建立一个线性传递函数
Zero-Pole
以零极点形式建立一个传递函数
模块名(Nonlinearlibrary)
用途
Abs
输出输入信号的绝对值
Backlash
用放映的方式模仿一个系统的特性
Combinatorial
建立一张真值表
CoulombicFriction
在原点不连续而在原点以外具有线性增益
DeadZone
提供一个死区
Fcn
对输入进行规定的表示
LimitedIntegrator
在规定的范围内进行积分
LogicalOperator
对输入进行规定的逻辑运算
Look-upTable
对输入进行分段的线性映射
MATLABFcn
定义一个函数对输入信号进行处理
Memory
输出本模块上一步的输入值
Product
对输入信号进行乘积运算
Quantizer
对输入信号进行量化处理
RateLimiter
限制信号的变化速率
RelationalOperator
对输入进行一定的关系运算
Relay
在两个值中轮流输出
ResetIntegrator
在仿真中对积分器进行重新初始化
Saturation
对输入信号进行限幅
Sign
符号函数
Swith
在两个输入之间进行开关
TransportDelay
对输入信号进行一定的延迟
2-DLook-UpTable
对两个输入信号进行分段的线性映射
VariableTransportDelay
对输入信号进行不定量的延迟
模块名(Connectionslibrary)
用途
Demux
把向量信号分开输出
Inport
给系统提供一个外部输出
Mux
把几个信号合并成向量形式
Outport
给系统规定一个输出
Subsystem
表示一个系统在另外一个系统中
Commsim2001Education模块化通信仿真软件
产品编号:
808-110(单),112(10),115(25)
Commsim2001是一个理想的通信系统的教学软件。
它很适用于如‘信号与系统’、‘通信’、‘网络’等课程,难度适合从一般介绍到高级。
使学生学的更快并且掌握的更多。
Commsim2001含有200多个通用通信和数学模块,包含工业中的大部分编码器,调制器,滤波器,信号源,信道等,Commsim2001中的模块和通常通信技术中的很一致,这可以确保你的学生学会当今所有最重要的通信技术。
要观察仿真的结果,你可以有多种选择:
时域,频域,XY图,对数坐标,比特误码率,眼图和功率谱。
ScalableFunctionality
LikeallotherElectronicsWorkbenchproductsCommsim2001isavailableinthreetiersfortheeducationcommunity:
Single:
Forusebyprofessors/teachersinthecreationoflectures,lessons,assignmentsetc
Lab:
Forusebystudentsinon-campuscomputerlabs
Student:
AspecialversionforusebystudentsonhomePCsonly
HowCommsimisUsed
Commsim2001isapowerfulyeteasytousesimulationtoolthatprovidesfast,accurateviewingofsignalsatanypointinyoursystem,viaanaturalsequenceofsteps.ThispowerispresentedtotheuserthroughanintuitiveGUI(graphicalUserInterface)enablingdraganddropsimplicity,justlikealloftheotherproductsintheElectronicsWorkbenchFamily.
FeaturesataGlance:
∙ Industry'sLargestLibrary
∙ 200+Blocks
∙ Communication&MathBlocks
∙ BuildyourownBlocks/Models
∙ DragandDropDiagramConstruction
∙ Analog,Digital&MixedSystems
∙ AutomaticWiring
∙ AnalogandDigitalModulators/Demodulators
∙ WidevarietyofEncoders/Decoders
∙ AdaptiveEqualizers
∙ VectorandMatrixOperations
∙ AllpopularChannelModels
∙ FilterDesignWizardandResponseViewer
∙ PLLs
∙ RFElementsandAccurateDistortion
∙ ComplexMath
∙ ComplexEnvelopeRepresentation
∙ Continuous,DiscreteandHybridSimulation
∙ AutorestartandSingleStepAlgorithms
∙ Euler,TrapezoidalandRungeKuttaIntegrationMethods
∙ Look-upTableWizard
∙ SignalProbes
∙ LargevarietyofPlotOptions
∙ Mathcad,MatlabOLEIntegration
PlacingandConnectingBlocks
Placedesiredblocksfromthelibrarybydragginganddropping(fromeitherthemenusorthetoolbar)anyoftheover200functionalblocksavailable.Onceplaced,connectingblocksisextremelystraightforward-justclickononeblock'soutputthenonotherblocksinputandCommsimtakescareoftherest.Itsthatsimple!
Youcanalsomakeuseofhierarchicalblockstobreakupmorecomplexsystems,eachofwhichcanbeassigneditsownsymbol.
BlocksLibraries
Thescienceofunderstandingandteachingcommunicationsystemsliesinbeingawareofawidevarietyof"functionalblocks"oftechnologyavailableto"construct"theoptimaltransmitterorreceiver,givenaparticulartypeofsignalandchannel.
Commsim2001helpsyoutoensureyourstudentslearnalloftoday'smostimportantcommunicationtechnologiesbydeliveringblockstomatchallofthecommonlyusedtechniquesincommunications.Thecommsimlibrarycontainstheindustry'slargestselectionofcoders,modulators,filters,sources,channelsetc.Youcanevencreateyourownblocksusingequationsorlowerlevelfunctionalblocks.
LibraryBlocks
Becausetherightlibraryissoessentialtoagoodcommunicationssimulator,wehaveexplainedeachfamilyofblocksindetail.Simplyclickonthefamilytoviewmoreinformation.
Channels
Encoding/Decoding
Modulators/Demodulators
OtherCommunicationBlocks
BasicBlocks
Channels
Modelingthemediumthroughwhichatransmittedsignalmustpassisessentialtoaccuratelycapturedelayanddistortioneffects.Channelsincludecopperwire,fiber,freespace,etc.
ChannelBlocksModeledinCommsim2001
∙ Add.WhiteGaussianNoise(Complex&Real)
∙ BinarySymmetricChannel
∙ JakesMobile
∙ Multipath
∙ PropagationLoss
∙ Rice/RayleighFading
∙ RummlerMultipath
∙ TWTA
Encoding/Decoding
Singleencodingisperformedtoincreasethereliabilityofinformationtransferandcanincludecompandingandquantization(analogsignals)orforwarderrorcorrection(usingconvolutionalortrelliscoolingondigitalsignals).
Commsim2001includesthefollowingEncoders/Decoders
∙BlockInterleaver
∙ConvolutionalEncoder
∙ConvolutionalInterleaver
∙GrayDecoder
∙GrayEncoder
∙TrellisDecoder
∙ViterbiDecoder(Hard&Soft)
Modulators/Demodulators
Commsimprovidesthefollowinganaloganddigitalmodulators/demodulationblocks,asubsetofwhichusecoherentmethods(requirephasesynchronizationindemodulation):
Commsim2001includesthefollowingModulators/Demodulators
∙AM
∙DQPSK
∙pi/4-DQPSK
∙FM
∙FSK
∙I/Q
∙MSK
∙PM
∙PAM(4,8)
∙PPM
∙PSK(2,4,8,16)
∙QAM(16,32,64,256)
∙SQPSK
∙DQPSK
∙pi/4-DQPSKDetector
∙FMDemodulator
∙PPMDemodulator
∙PSKDetector(2,4,8,16)
∙PAMDetector(2,4,8,16)
∙QAMDetector(16,32,64,256)
OtherBlocks
Commsim2001alsoprovidesmanyothercommunicationblocks(filters,PLLs,digitaletc.)andgeneralmathematicalfunctions(complexmath,estimatio,etc.)
Communication&GeneralMathematicalBlocksModeledinCommsim2001
ComplexMath
Filters
DigitalElements
Phase-LockedLoops
∙ Addtion
∙ Conjugate
∙ Conversions(Complex&Real)
∙ Division
∙ Inverse
∙ Multiplication
∙ Power
∙ SquareRoot
∙ AdaptiveEqualizer(Complex&Real)
∙ FileFIR
∙ FIR
∙ IIR
∙ MagPhase
∙ SampledFileFIR
∙ SampledFIR
∙ BinaryCounter
∙ BitstoSymbol
∙ DividebyN
∙ DFlipFlop
∙ JKFlipFlop
∙ Mux/Demux
∙ ParalelltoSerial
∙ Queue
∙ SerialtoParalell
∙ SymboltoBits
∙ ChargePump
∙ PLLLoopFilters(2nd&3rdOrder)
∙ Type2PhaseDetector
∙ Type3Phase/FrequencyDetector
∙ Type4Phase/FrequencyDetector
Operators
RFComponents
Estimators
SignalSources
∙ A/DConverter
∙ Compander
∙ ComplexExponential
∙ ComplexFFtIFFT
∙ Conversions
∙ Decimation
∙ Delay(Complex&Real)
∙ Gain(dB)
∙ Integrate&Dump(Complex&Real)
∙ I/QMapper
∙ MaxIndex
∙ Modulo
∙ PhaseRotate
∙ PhaseUnwrap
∙ Polynomial
∙ SpectrumAnalyzer
∙ Amplifier
∙ Attenuator
∙ Coupler
∙ DoubleBalancedMixer
∙ Splitter/Combiner
∙ Switch
∙ VariableAttenuator
∙ AveragePower(Complex&real)
∙ BERCurveControl
∙ Bit/SymbolEditor
∙ Correlation
∙ DelayEstimator
∙ EventTime
∙ mean
∙ Median
∙ Variance
∙ WeightedMean
∙ ComplexTone
∙ Filedata
∙ FrequencySweep
∙ Impulse
∙ ImpulseTrain
∙ Noise
∙ PNSequence
∙ RandomSeed
∙ RandomSymbol
∙ RectangularPulses
∙ Sinusoid
∙ VCO(Complex&real)
∙ WalshSequence
∙ WalshSequenceGenerator
BasicBlocks
Commsim2001offersover90blocksforlinear,nonlinear,continous,discrete-time,timevarying,andhybridsystemdesign.
BasicBlocksModeledinCommsim2001
∙ Animation
∙ Annotation
∙ Arithmetic
∙ Boolean
∙ DDE
∙ Integration
∙ LinearSystems
∙ MatlabInterface
∙ MatrixOperations
∙ Nonlinear
∙ Optimization
∙ RandomGenerator
∙ SignalConsumer
∙ SignalProducer
∙ TimeDelay
∙ Transcendental
CDMA通信系统的MATLAB仿真
张广森,王虎
(中国民航学院通信工程系,天津300300)
摘要:
在简要介绍MATLAB语言的基础上,对使用MATLAB语言仿真的CDMA通信系统进行描述。
关键词:
仿真;码分多址;扩频
1仿真语言
矩阵实验室(MATLAB:
MatrixLaboratory)是一种以矩阵运算为基础的交互式的程序语言。
与其它计算机语言相比,具有简洁和智能化程度高的特点,而且适应科技专业人员的思维方式和书写习惯,因而用