摘 要 瞬態(tài)仿真領(lǐng)域的許多工作需要獲得可視化數(shù)據(jù), 仿真電路不能將輸出參數(shù)繪制成圖形時(shí)研究工作將受到很大影響. 而權(quán)威電路仿真軟件PSpice 在這個(gè)方面不盡如人意. 本文提出了一種有效的解決辦法: 通過(guò)MATLAB 編程搭建一個(gè)PSpice 與MATLAB 的數(shù)據(jù)接口,使PSpice輸出數(shù)據(jù)文件可以導(dǎo)入到MATLAB中繪制圖形. 這令我們能夠很方便地獲得數(shù)據(jù)的規(guī)律以有效地分析仿真結(jié)果, 這項(xiàng)技術(shù)對(duì)于教學(xué)和工程實(shí)踐都有比較實(shí)際的幫助.關(guān)鍵詞: 瞬態(tài)仿真 仿真程序 PSpice MATLAB 可視化數(shù)據(jù)The Data Transfer from Pspice to MATLABWu hao Ning yuanzhong Liang yingAbstract Many works in the area of transient simulation has shown how a emulator such asPSpice can be interfaced to an control analysis package such as MATLAB to get viewdata. Thepaper describes how such interfaces can be made using the MATLAB programming. The platformas a typical platform will solve the problem that PSpice software sometimes can not draw the datato a picture. It can make us find the rule from numerous data very expediently, so we can analyzethe outcome of the simulation. And it also can be used in the field of education.Keywords Transient Simulation Emulator PSpice MATLAB Viewdata1 引言科學(xué)研究和工程應(yīng)用常需要進(jìn)行電路仿真 PSpice可進(jìn)行直流 交流 瞬態(tài)等基本電路特性分析 也可進(jìn)行蒙托卡諾 MC 統(tǒng)計(jì)分析 最壞情況 Wcase 分析 優(yōu)化設(shè)計(jì)等復(fù)雜電路特性分析 它是國(guó)際上仿真電路的權(quán)威軟件 而MATLAB的主要特點(diǎn)有 高效方便的矩陣和數(shù)組運(yùn)算 編程效率高 結(jié)構(gòu)化面向?qū)ο?方便的繪圖功能 用戶使用方便 工具箱功能強(qiáng)大 兩者各有著重點(diǎn) 兩種軟件結(jié)合應(yīng)用 對(duì)研究工作有很重要的意義香港理工大學(xué)Y. S. LEE 等人首先將PSpice和MATLAB結(jié)合 開(kāi)發(fā)了電力電子電路優(yōu)化用的CAD 程序MATSPICE[6] 將兩者相結(jié)合的關(guān)鍵在于 如何用MATLAB 獲取PSpice的仿真數(shù)據(jù) 對(duì)此參考文獻(xiàn) 6 里沒(méi)有詳細(xì)敘述 本文著重說(shuō)明用MATLAB 讀取PSpice仿真數(shù)據(jù)的具體方法本論文利用MATLAB對(duì)PSpice仿真出的數(shù)據(jù)處理繪制出后者無(wú)法得到或是效果不好的仿真圖形 下面就兩者結(jié)合使用的例子 進(jìn)行具體說(shuō)明
標(biāo)簽: MATLAB PSpice 數(shù)據(jù) 接口技術(shù)
上傳時(shí)間: 2013-10-20
上傳用戶:wuchunzhong
load initial_track s; % y:initial data,s:data with noiseT=0.1; % yp denotes the sample value of position% yv denotes the sample value of velocity% Y=[yp(n);yv(n)];% error deviation caused by the random acceleration % known dataY=zeros(2,200);Y0=[0;1];Y(:,1)=Y0;A=[1 T 0 1]; B=[1/2*(T)^2 T]';H=[1 0]; C0=[0 0 0 1];C=[C0 zeros(2,2*199)];Q=(0.25)^2; R=(0.25)^2;
上傳時(shí)間: 2014-12-28
上傳用戶:asaqq
中文版詳情瀏覽:http://www.elecfans.com/emb/fpga/20130715324029.html Xilinx UltraScale:The Next-Generation Architecture for Your Next-Generation Architecture The Xilinx® UltraScale™ architecture delivers unprecedented levels of integration and capability with ASIC-class system- level performance for the most demanding applications. The UltraScale architecture is the industr y's f irst application of leading-edge ASIC architectural enhancements in an All Programmable architecture that scales from 20 nm planar through 16 nm FinFET technologies and beyond, in addition to scaling from monolithic through 3D ICs. Through analytical co-optimization with the X ilinx V ivado® Design Suite, the UltraScale architecture provides massive routing capacity while intelligently resolving typical bottlenecks in ways never before possible. This design synergy achieves greater than 90% utilization with no performance degradation. Some of the UltraScale architecture breakthroughs include: • Strategic placement (virtually anywhere on the die) of ASIC-like system clocks, reducing clock skew by up to 50% • Latency-producing pipelining is virtually unnecessary in systems with massively parallel bus architecture, increasing system speed and capability • Potential timing-closure problems and interconnect bottlenecks are eliminated, even in systems requiring 90% or more resource utilization • 3D IC integration makes it possible to build larger devices one process generation ahead of the current industr y standard • Greatly increased system performance, including multi-gigabit serial transceivers, I/O, and memor y bandwidth is available within even smaller system power budgets • Greatly enhanced DSP and packet handling The Xilinx UltraScale architecture opens up whole new dimensions for designers of ultra-high-capacity solutions.
標(biāo)簽: UltraScale Xilinx 架構(gòu)
上傳時(shí)間: 2013-11-13
上傳用戶:瓦力瓦力hong
前的GPS導(dǎo)航應(yīng)用很成熟,精度也比較高,但在地下停車場(chǎng)等室內(nèi)地方,GPS信號(hào)非常微弱,無(wú)法對(duì)車進(jìn)行導(dǎo)航,同時(shí)當(dāng)前的地下停車場(chǎng)沒(méi)有很好地智能化。為避免車主盲目尋找車位,方便車主在盡可能短的時(shí)間內(nèi)尋找到車位,設(shè)計(jì)并制作基于nanoPAN5375的語(yǔ)音導(dǎo)航系統(tǒng)。系統(tǒng)由4個(gè)nanoPAN5375模塊、2個(gè)CC1101模塊、超聲波模塊與isd1700模塊構(gòu)成。以STM32F103微控制器為核心芯片,使用nanoPAN5375模塊進(jìn)行無(wú)線定位,CC1101模塊傳輸超聲波模塊采集到的車位信息,語(yǔ)音模塊isd1700進(jìn)行語(yǔ)音導(dǎo)航,軟件采用三邊質(zhì)心算法和卡爾曼濾波算法。實(shí)驗(yàn)表明,在邊長(zhǎng)為6米的等邊三角形內(nèi),x坐標(biāo)的平均誤差為0.42米,y坐標(biāo)的平均誤差為0.42米;系統(tǒng)在邊長(zhǎng)為12米的等邊三角形內(nèi)實(shí)現(xiàn)過(guò)較為精確的語(yǔ)音導(dǎo)航。
標(biāo)簽: nanoPAN 5375 停車場(chǎng) 語(yǔ)音導(dǎo)航
上傳時(shí)間: 2013-11-24
上傳用戶:zhang97080564
系統(tǒng)是以TI公司的低功耗微控制器MSP430F149為核心,基于CCD傳感器OV7670對(duì)點(diǎn)光源所在平面進(jìn)行采樣,利用微控制器將圖像信息存儲(chǔ)并進(jìn)行簡(jiǎn)單的圖像處理,顯示在液晶上,再通過(guò)無(wú)線傳輸系統(tǒng)將信息反饋到追蹤臺(tái)上,步進(jìn)電機(jī)在細(xì)分器的驅(qū)動(dòng)下自動(dòng)控制追蹤臺(tái)進(jìn)行X/Y方向移動(dòng),以達(dá)到動(dòng)態(tài)追蹤點(diǎn)光源的目的。經(jīng)過(guò)實(shí)際的測(cè)試和分析,CCD傳感器采集信息準(zhǔn)確,伺服控制系統(tǒng)運(yùn)動(dòng)精準(zhǔn),最終證實(shí)了系統(tǒng)的有效性和可行性。
標(biāo)簽: CCD 傳感器 點(diǎn)光源 動(dòng)態(tài)跟蹤
上傳時(shí)間: 2014-12-29
上傳用戶:aeiouetla
ADXL345的詳細(xì)介紹資料 本模塊使用說(shuō)明書(shū)。 本壓縮文件能夠利用角度傳感器對(duì)x,y,z三方的加速度值,角度值進(jìn)行測(cè)量,并集成了1602對(duì)其進(jìn)行顯示。 為了便于使用,我們分別將模塊單獨(dú)化,如果您有使用的意向,可以單獨(dú)摘出 angle.c 引入到您自己新建的工程中。 關(guān)于angle.c文件的內(nèi)部函數(shù)使用說(shuō)明。 首先為了便于使用和方便引用我們對(duì)內(nèi)部函數(shù)進(jìn)行了高度集成化,您在引入angle.c后直接在您的主程序中調(diào)用 dis_data();函數(shù),可完成ADXL345芯片的測(cè)量數(shù)據(jù), 測(cè)量數(shù)據(jù)說(shuō)明: char as_Xjiasu[6],as_Yjiasu[6],as_Zjiasu[6]; //定義3軸靜態(tài)重力加速度值的ASCII碼值 unsigned char as_Xangel[4],as_Yangel[4],as_Zangel[4]; //定義3軸角度值的ASCII碼值 as_Xjiasu[x]數(shù)組里邊我們?yōu)榱四氖褂弥苯訉?加速度值轉(zhuǎn)換成了 能夠直接顯示到 1602上的ASCII碼值,同理as_Xangel 真實(shí)數(shù)據(jù)存放說(shuō)明。 float jiasu_xyz[3]; angel_xyz[3]; //存放X,Y,Z 軸的靜態(tài)重力加速度,角度值 存放了 加速度和角度的真實(shí)值(未經(jīng)轉(zhuǎn)換成ASCII碼的數(shù)據(jù))--本數(shù)據(jù)可以用于其他用途,直接參與MCU內(nèi)部運(yùn)算等。
上傳時(shí)間: 2013-11-17
上傳用戶:wpwpwlxwlx
設(shè)計(jì)了一種新型結(jié)構(gòu)的體硅工藝梳齒電容式加速度計(jì),該設(shè)計(jì)采用2個(gè)檢測(cè)質(zhì)量塊,分別檢測(cè)水平方向和垂直方向的加速度。x,y水平方向不對(duì)稱梳齒的設(shè)計(jì),消除了z軸對(duì)水平軸向加速度的干擾,同時(shí)z軸支撐梁的設(shè)計(jì),解決了水平軸向?qū)軸的干擾。
標(biāo)簽: 電容式 加速度計(jì) 設(shè)計(jì)分析
上傳時(shí)間: 2013-10-13
上傳用戶:1142895891
用MDK 生成bin 文件1用MDK 生成bin 文件Embest 徐良平在RV MDK 中,默認(rèn)情況下生成*.hex 的可執(zhí)行文件,但是當(dāng)我們要生成*.bin 的可執(zhí)行文件時(shí)怎么辦呢?答案是可以使用RVCT 的fromelf.exe 工具進(jìn)行轉(zhuǎn)換。也就是說(shuō)首先將源文件編譯鏈接成*.axf 的文件,然后使用fromelf.exe 工具將*.axf 格式的文件轉(zhuǎn)換成*.bin格式的文件。下面將具體說(shuō)明這個(gè)操作步驟:1. 打開(kāi)Axf_To_Bin 文件中的Axf_To_Bin.uv2 工程文件;2. 打開(kāi)Options for Target ‘Axf_To_Bin’對(duì)話框,選擇User 標(biāo)簽頁(yè);3. 構(gòu)選Run User Programs After Build/Rebuild 框中的Run #1 多選框,在后邊的文本框中輸入C:\Keil\ARM\BIN31\fromelf.exe --bin -o ./output/Axf_To_Bin.bin ./output/Axf_To_Bin.axf 命令行;4. 重新編譯文件,在./output/文件夾下生成了Axf_To_Bin.bin 文件。在上面的步驟中,有幾點(diǎn)值得注意的是:1. C:\Keil\ARM\BIN31\表示RV MDK 的安裝目錄;2. fromelf.exe 命令的具體語(yǔ)法格式如下:命令的格式為:fromelf [options] input_file命令選項(xiàng)如下:--help 顯示幫助信息--vsn 顯示版本信息--output file 輸出文件(默認(rèn)的輸出為文本格式)--nodebug 在生成的映象中不包含調(diào)試信息--nolinkview 在生成的映象中不包含段的信息二進(jìn)制輸出格式:--bin 生成Plain Binary 格式的文件--m32 生成Motorola 32 位十六進(jìn)制格式的文件--i32 生成Intel 32 位十六進(jìn)制格式的文件--vhx 面向字節(jié)的位十六進(jìn)制格式的文件t--base addr 設(shè)置m32,i32 格式文件的基地址--text 顯示文本信息文本信息的標(biāo)志-v 打印詳細(xì)信息-a 打印數(shù)據(jù)地址(針對(duì)帶調(diào)試信息的映象)-d 打印數(shù)據(jù)段的內(nèi)容-e 打印表達(dá)式表print exception tables-f 打印消除虛函數(shù)的信息-g 打印調(diào)試表print debug tables-r 打印重定位信息-s 打印字符表-t 打印字符串表-y 打印動(dòng)態(tài)段的內(nèi)容-z 打印代碼和數(shù)據(jù)大小的信息
標(biāo)簽: MDK bin 可執(zhí)行文件
上傳時(shí)間: 2013-12-17
上傳用戶:AbuGe
SDH傳輸系統(tǒng)光接口 SDH光接口的分類及應(yīng)用代碼 應(yīng)用代碼的表達(dá)方式:X-Y.Z,如:V-64.2、S-64.1
標(biāo)簽: 傳輸系統(tǒng) 數(shù)字接口 光接口
上傳時(shí)間: 2013-11-22
上傳用戶:非洲之星
通過(guò)比較各種隔離數(shù)字通信的特點(diǎn)和應(yīng)用范圍,指出塑料光纖在隔離數(shù)字通信中的優(yōu)勢(shì)。使用已經(jīng)標(biāo)準(zhǔn)化的TOSLINK接口,有利于節(jié)省硬件開(kāi)發(fā)成本和簡(jiǎn)化設(shè)計(jì)難度。給出了塑料光纖的硬件驅(qū)動(dòng)電路,說(shuō)明設(shè)計(jì)過(guò)程中的注意事項(xiàng),對(duì)光收發(fā)模塊的電壓特性和頻率特性進(jìn)行全面試驗(yàn),并給出SPI口使用塑料光纖隔離通信的典型應(yīng)用電路圖。試驗(yàn)結(jié)果表明,該設(shè)計(jì)可為電力現(xiàn)場(chǎng)、電力電子及儀器儀表的設(shè)計(jì)提供參考。 Abstract: y comparing characteristics and applications area of various isolated digital communications, this article indicates advantages of plastic optical fiber in isolated digital communications. Using the standardized TOSLINK interface, it helps to control costs and difficulty in hardware development and design. Then it gives the hardware driver circuit of plastic optical fiber module, explains the noticed details in design process, gives results on the basis of the optical transceiver module voltage characteristics and frequency characteristics tests. Finally,it gives typical application circuit of the SPI communication port by using plastic optical fiber isolation .The results show that this design can be referenced for the power field, power electronics and instrumentation design.
標(biāo)簽: 塑料光纖 高壓隔離 通信 接口設(shè)計(jì)
上傳時(shí)間: 2014-01-10
上傳用戶:gundan
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1