-
使用Matlab和CCS设计FIR滤波器
详细讲解FIR滤波器的原理,Matlab的实现及导入CCS中的应用全过程。从中导出滤波器系数。在中,选择,如图。在出现的对话框中选择输出文件类型为,输出系数类型为如图所点击按钮,选择路径,即输出前一步设计出的滤波器的系数表。(假设生成的系数表文件为g Filter Dcaign Analzaia Too1-[untitled.fda]e Edi共书田田国回Sruct rForm FipStab er婴Fr eMei LY (kHzfilter Manage图A Export to Code Co poser Studio (tu)IDE□ Disaale memory trVariable names in c header fie:BNume"ator lengthFiata lype to l e In evpTarget selec 3○ Export suggestedDot Ele-c-recision⊙ Export asSg16H量 t integerFractional lengrh: 15Selectiarqet.HelE图利用产生噪声信号用于滤波器测试将下面代码另存为文件,在中运行后将会生成文件。该数据文件中含有三种频卒的信号,用于滤波器滤波效果测试。信号的时域图和频谱分别图、图所小采样数据个数米样周期待滤波信号波形待滤波信号频谱归一化打开文件输出文件头输出图图在中编写滤波器程序(本文以语言为例)新建工程,作者是以为例,新建工程的过程就不再赘述。编写语言源代码并导入工程,如下为生成的系数表头文件如运行不通过,请修改中的代码,将这行修改为如下:也就是自己机器上的安装的绝对路径滤波器的级数,本例中滤波器级数为待滤波的数据长度输入缓冲,在仿真时将从内存载入输出缓冲,直接存放在内存中文件如下,其实是从软件中的例子里复制过来的另外还要导入文件,在文件夹下。、滤波器仿真测试在第部分编译成功后会在工程所以目录文件夹下产生文件,在软件的里打开这个文件(图)TehCartsSave AALlLoad prReload p图将滤波器设计文件载入到内存中选择打开之前生成的文件(图)7/C54x Simulator (Texas Instruments)/dg Fi Edit View Project Debug Profiler GEL自Eea了eA11L。adPTR Load symbol10Adf SymbolReload pr.Load gelEiLe工图将设置为设置为设置为(图)Loading File into LAddressinputFagOK上ance1Hely2运行程序,点击叫按钮,程序即开始运行查看滤波器滤波效果打开(图)2/C54x Simulator (Texas Instruments)CPU - C54x(Simula File Edit view Project Debug Profiler GEL Opti on Tools DSF/EI20090614pit v Project Toolbar多画函了y edit tooleStatus rs0:1434E846FilesPlugin Too_bars00:1436L 4GE0:1436F73口Pia20:1438Memor00:143877180d:143A日EE8CPU Registers00:143D6F8图在上一步出现的对话框中,按如图设置:Graph Property Dialo冈ingle Timeaph Tt art AddressInputPageDat ation Buff20囗Index工 nCP EmerⅣ1sp1 as Iata s1reISP Data Type16-bit sAmp1 ing R& e (Hi〕PLatⅡ ata FroLe上 t to RightLe ft-shi fted Data DisplayAutoscaLees DisplayILHelp图如果出现的波形图太大,在图形上点右键,将之前的勾去掉,即会变成如图的波形t1Ee+434.11540〕Lin Auto S图重复前三个步骤,只改变图形选项中的使之最后出现如下的图形:input FT了L10011gin Auto s‖m.0FFT Magoutputoutput FFIE48B+de10TAtS‖I,10516FFT MLin Auto s图左上角:输入数据时域图右上角:输入数据频谱(左下角:输出数据时域图右下角:输出数据频谱(
- 2020-12-09下载
- 积分:1
-
基于stm32的数控直流电源.zip
【实例简介】基于stm32 的数控直流电源控制系统,使用内部FLASH实现断电保存
- 2021-11-25 00:42:44下载
- 积分:1
-
图像融合源代码(多种算法可对比)
研究生期间利用的多种图像融合算法代码,进行了合成,可以加入自己算法进行对比!良心资源
- 2019-04-14下载
- 积分:1
-
基于STM32和HC-SR04超声波测距模块范例
代码规范,注释清晰,各个模块文件清晰,可以用来扩展。
- 2020-11-28下载
- 积分:1
-
trbhsparent
说明:
- 2018-05-25 13:11:24下载
- 积分:1
-
信号检测与估计 PPT 电子科大
不错的课件 很详细
- 2020-12-02下载
- 积分:1
-
FAM和SSCA算法的matlab源程序-detection and identification of signal
FAM和SSCA算法的matlab源程序-detection and identification of signalFAM和SSCA算法的matlab源程序-detection and identification of signalDISCLAIMER NOTICEMTHIS DOCUMENT IS BESTQUALITY AVAILABLE. THECOPY FURNISHED TO DTICCONTAINED A SIGNIFICANTNUMBER OF PAGES WHICH DONOT REPRODUCE LEGIBLY.ilApproved for public release; distribution is unlimitedDETECTION AND IDENTIFICATION OF CYCLOSTATIONARY SIGNALSEvandro luiz da costaLieutenant Commander, brazilian NavyB.S., Instituto Militar de Engenharia, 1980Submitted in partial fulfillmentof the requirements for the degree ofMASTER OF SCIENCE IN ELECTRICAL ENGINEERINGANDMASTER OF SCIENCE IN ENGINEERING ACOUSTICSfrom theNAVAL POSTGRADUATE SCHOOLMarch 1996Author.Evandrodk da costaapproved byRQ求Ralph Hippenstiel, Thesis Co-AdvisorRoberto Cristi, Thesis Ca-AdvisoiHerschel. Loomis, Jr, hairmanDepartment of Electrical and Computer EngineeringArthony A. Atchley / ChairmanEngineering Acoustics Academic CommitteeABSTRACTPropeller noise can be modeled as an amplitude modulated(AM) signalCyclic Spectral Analysis has been used successfully to detect the presence ofanalog and digitally modulated signals in communication systems. It can also identithe type of modulation. Programs for Signal Processing based on compiledlanguages such as FORTRAN or C are not user friendly, and MATLAB basedprograms have become the de facto language and tools for signal processingengineers worldwideThis thesis describes the implementation in mAtlab of two fast methods ofcomputing the Spectral Correlation Density(SCD)Function estimate, the FFTAccumulation Method (FAM)and the Strip Spectral Correlation Algorithm( SSCA),toperform Cyclic Analysis. Both methods are based on the Fast Fourier transformFFT)algorithm. The results are presented and areas of possible enhancement forpropeller noise detection and identification are discussedTABLE OF CONTENTSINTRODUCTIONA MOTIVATION,P,中“····*s···:···:B BACKGROUNDC THESIS GOALSIL NOISE IN THE OCEAN··+A TYPES OF UNDERWATER NOISE25561. Ambient Noise番申2. Self noise3. Radiated noise8B RADIATED NOISE FROM SHIPS, SUBMARINES AND TORPEDOES.......8C PROPELLER NOISE10lI CYCLOSTATIONARY PROCESSING15A CYCLOSTATIONARIT15B THE CYCLIC AUTOCORRELATION FUNCTION (ACF)17C THE SPECTRAL CORRELATION DENSITY FUNCTION (SCD)18N. ESTIMATION OF THE SPECTRAL CORRELATION DENSITY FUNCTION23A FFT ACCUMULATION METHOD(FAM)25B STRIP SPECTRAL CORRELATION ALGORITHM(SSCA■D28V. EXPERIMENTAL RESULTSA. ANALOG-MODULATED SIGNALS311. Amplitude Modulated(AM)Signal===2-312. Pulse-Amplitude Modulated(PAM) Signal58B DIGITAL-MODULATED SIGNALS1. Amplitude Shift Keying(ASK) Signal中中非昏号即即号自唱即自曲音非带卡.最662. Binary-Phase Shift Keying(BPSK) Signal6了VI CONCLUSIONS81A SUMMARY81B SUGGESTIONS82APPENDIX A-CALCULATION OF THE SCD FUNCTION OF AN AMPLITUDE-MODULATED SIGNAL83APPENDIX B-FUNCTION AUTOFAM95APPENDIX C-FUNCTION AUTOSSCA99APPENDIXD-FUNCTION CROSSFAM103APPENDIX E-FUNCTION CROSSSSCA109APPENDIX F-PLOTTING ROUTINES113LIST OF REFERENCES115INITIAL DISTRIBUTION LIST看音117INTRODUCTIONA. MOTIVATIONPropeller related acoustic signatures typically exhibit modulationcharacteristics. These modulation characteristics originate from the cavitationprocess that takes place in the water due to the cyclic movement of the propellerThe cavitation process is basically the collapse of air and vapor bubblesdue to variations in the static pressure. These variations in static pressure are aconsequence of the passage of the propeller blades through the water. Thismovement, cyclic in nature, causes amplitude modulation in the static pressureand as a consequence an amplitude-modulated(AM) signal can be detected in areceiverCyclostationary processing techniques have been used to detect andlentify analog and digital communication signals very successfully. Thesetechniques have the advantage of using a more realistic model for the signalthan the stationary model used in most of the more conventional signalprocessing techniquesB BACKGROUNDThe basic elements of cyclic spectral analysis are the time-variant cyclicperiodogram and the time-variant cyclic correlogram. These two functions form aFourier transform pair. This fact is known as the cyclic Wiener relation or thecyclic Wiener-Khinchin relation [Ref. 1: p. 49.1
- 2020-12-05下载
- 积分:1
-
三相逆变器电流采样方案总结
三相逆变器电流采样方案总结,比较系统地介绍了三相三相逆变器电流采样原理。(The current sampling scheme of three phase inverter is summarized, and the current sampling principle of three-phase three phase inverter is systematically introduced.)
- 2018-07-19 17:16:33下载
- 积分:1
-
梁的静力学有限元分析,ansys命令流实例
梁的静力学有限元分析,ansys命令流实例(Static analysis of beams, ANSYS command flow)
- 2018-06-11 15:03:59下载
- 积分:1
-
CompAct-VSA Design and modelling
本文介绍了一种新型变刚度执行机构(CompAct-VSA)的设计与建模。压实- vsa的工作原理是基于具有连续调节枢轴点的杠杆臂机构。提出的概念允许开发具有大刚度范围和快速刚度调节响应的驱动单元。执行机构的实现利用凸轮形杠杆臂与可变枢轴驱动齿条和小齿轮传动系统。这种实现导致了高度集成和模块化的组装。尺寸和重量确实是VSAs设计中的一个开放问题,这最终限制了它们在多自由度机器人系统中的实现。本文介绍了执行机构的原理、工作原理和模型。初步结果表明,所提出的压实vsa设计具有快速的刚度调节响应和较大的刚度范围。(This paper describes the design and modelling of a new variable stiffness actuator (CompAct-VSA). The principle of operation of CompAct-VSA is based on a lever arm mechanism with a continuously regulated pivot point. The proposed concept allows for the development of an actuation unit with a wide range of stiffness and a fast stiffness regulation response. The implementation of the actuator makes use of a cam shaped lever arm with a variable pivot axis actuated by a rack and pinion transmission system. This realization results in a highly integrated and modular assembly. Size and weight are indeed an open issue in the VSAs design, which ultimately limit their implementation in multi-dof robotic systems. The paper introduces the mechanics, the principle of operation and the model of the actuator. Preliminary results are presented to demonstrate the fast stiffness regulation response and the wide range of stiffness achieved by the proposed CompActVSA design.)
- 2019-03-19 23:31:15下载
- 积分:1