基于通用集成運算放大器,利用MASON公式設計了一個多功能二階通用濾波器,能同時或分別實現(xiàn)低通、高通和帶通濾波,也能設計成一個正交振蕩器。電路的極點頻率和品質因數(shù)能夠獨立、精確地調節(jié)。電路使用4個集成運放、2個電容和11個電阻,所有集成運放的反相端虛地。利用計算機仿真電路的通用濾波功能、極點頻率和品質因數(shù)的獨立控制和正交正弦振蕩,從而證明該濾波器正確有效。 Abstract: A new multifunctional second-order filter based on OPs was presented by MASON formula. Functions, such as high-pass, band-pass, low-pass filtering, can be realized respectively and simultaneously, and can become a quadrature oscillator by modifying resistance ratio. Its pole angular frequency and quality factor can be tuned accurately and independently. The circuit presented contains four OPs, two capacitors, and eleven resistances, and inverting input of all OPs is virtual ground. Its general filtering, the independent control of pole frequency and quality factor and quadrature sinusoidal oscillation were simulated by computer, and the result shows that the presented circuit is valid and effective.
上傳時間: 2013-10-09
上傳用戶:13788529953
近年來電腦虛擬儀器的發(fā)展很快。在飛速發(fā)展的計算機技術支持下,“軟件即儀器”的理念得到了充分的發(fā)揮。計算機加軟件配合合適的AD/DA界面和傳感器/控制器,就可以完成形形色色的傳統(tǒng)儀器的所有功能,應用領域遍及現(xiàn)代科技的各個方面,大有星火燎原之勢。而且由于其成本較低,升級容易換代快,維護簡單,特別是數(shù)據(jù)的采集、分析、管理做到了智能化,大大提高了工作效率,在科研、計量、工控、自控等應用上特別受青睞,發(fā)展勢頭已將傳統(tǒng)儀器遠遠拋在了后面,并將持續(xù)下去。但是一般的虛擬儀器對于普通電子愛好者來說仍然是太昂貴了,而且由于通用的虛擬儀器要考慮高速信號,往往采用高速低分辨率的AD/DA芯片,一般分辨率只能達到8至12位,這對于電子愛好者常用的音頻領域恰恰不夠精確。在現(xiàn)代多媒體電腦上,聲卡已經(jīng)成為一個必不可少的重要組成部分,它給我們提供了豐富多彩的視聽娛樂和有聲交流功能,使“多媒體”的名稱名副其實。但是你是否知道,利用聲卡高精度的AD/DA變換界面,加上合適的軟件,就可以構成功能十分強大的音頻(超音頻)虛擬儀器呢?并且,如果使用足夠好的聲卡,配合比較簡單的擴展設備和傳聲器/放大器,再選用本文介紹的軟件,將是目前音頻虛擬儀器的最強、最佳選擇。限于篇幅和時間,本文主要介紹一些原則性的測試方法,期望起到拋磚引玉的作用,給有興趣的愛好者引個路。具體的應用還需要大家不斷學習、探索,詳細的軟件應用方法將在2004年《無線電》雜志以及本站連續(xù)刊登介紹。1.聲卡的選擇聲卡擔負著模擬信號進出大門的重任,其性能如何,對虛擬儀器的精度有著最直接的影響,因此選擇合適的聲卡是非常有必要的。從分辨率看,一般電腦多媒體聲卡為16位,取樣頻率為44.1/48KHz,而現(xiàn)在的主流中高檔聲卡大多具備了96KHz/24bit的取樣精度,好的專業(yè)聲卡甚至能達到輸入/輸出兼?zhèn)涞?92KHz/24bit取樣精度。從音頻處理的技術指標看,許多質量良好的廉價聲卡已經(jīng)超越了一般模擬儀器,而高檔的專業(yè)聲卡更是具有極其優(yōu)異的指標。這也不奇怪,因為專業(yè)聲卡本身就是為專業(yè)的錄音、監(jiān)聽、音頻處理而設計的,是音頻傳播的門檻,理應具有良好的素質。例如,頂級的專業(yè)聲卡頻率響應可以從幾Hz平坦地延伸到數(shù)十KHz至接近100 KHz,波動在正負0.1dB以下,噪聲水平在-110dB以下,動態(tài)范圍大于110dB,總諧波失真和互調失真遠小于萬分之一,通道分離度能達到100dB……這樣的聲卡已經(jīng)超越了絕大多數(shù)模擬設備的指標,足以應付最苛刻的應用要求,也足以勝任高精度電腦音頻虛擬儀器的要求,乃至于數(shù)十KHz的超聲波研究。當然了,頂級的專業(yè)聲卡價格昂貴,一般相當于一套主流電腦的價格,大多數(shù)業(yè)余愛好者不能或不愿承受,但比起模擬測試儀器來說還是便宜很多,而且軟件升級沒有限制。不過近來電腦音頻設備市場看好,許多專業(yè)聲卡廠家推出了“準專業(yè)”聲卡進軍多媒體市場,素質良好,支持多聲道,價格也便宜很多,用途廣泛,很適合業(yè)余愛好者選用。如果再“摳門”一點,精選百元級優(yōu)質聲卡也是可以應付一般的聲學測量的,因為我們知道聲學測量的瓶頸一般在于傳聲器而不是電路。當然這時最好對聲卡模擬電路進行“打摩”如更換運放和輸出電容等,以得到更好的效果。介紹一些具體的聲卡品牌。頂級聲卡首選Lynx Two/Lynx 22,據(jù)筆者所知是目前世界上指標最優(yōu)秀的聲卡,價格一千美元左右。類似的其它專業(yè)聲卡有RME,比Lynx還貴(主要因為支持的聲道數(shù)多)。另外如果單為測試用,一些專業(yè)的測試用AD/DA界面設備也可用(例如Sound Technology公司的產(chǎn)品),不過可能更昂貴,而且功能少,指標也未必更強,但好處是可以找到USB接口型的,可配合筆記本電腦使用。這類聲卡可以進行精確的電路測試,如作為其它聲卡、碟機、功放等設備的輸入輸出參考標準進行測量,聲學測試更是不在話下。
上傳時間: 2013-10-13
上傳用戶:zhengjian
Tug of War(A tug of war is to be arranged at the local office picnic. For the tug of war, the picnickers must be divided into two teams. Each person must be on one team or the other the number of people on the two teams must not differ by more than 1 the total weight of the people on each team should be as nearly equal as possible. The first line of input contains n the number of people at the picnic. n lines follow. The first line gives the weight of person 1 the second the weight of person 2 and so on. Each weight is an integer between 1 and 450. There are at most 100 people at the picnic. Your output will be a single line containing 2 numbers: the total weight of the people on one team, and the total weight of the people on the other team. If these numbers differ, give the lesser first. )
上傳時間: 2014-01-07
上傳用戶:離殤
浮點數(shù)基本運算 浮點數(shù)的基本運算主要有四則運算、符號處理、大小比較,以及浮點數(shù)分柝等。 包含頭文件 "fn.hpp" #include "fn.hpp" 浮點數(shù)基本運算 浮點數(shù)的基本運算中有加、減、乘、除、取負、絕對值、相等比較等。 加減乘除 加、減、乘、除四個運算極為相似,都是需要兩個參數(shù),結果當然也是浮點數(shù)了。 例子: // 加 減 乘 除 btil::fn::plus<f1, f2>::value // f1+f2 的結果 btil::fn::minus<f1, f2>::value // f1-f2 的結果 btil::fn::multiplies<f1, f2>::value // f1*f2 的結果 btil::fn::divides<f1, f2>::value // f1/f2 的結果 plus<f1, f2>::value::f_val // f1+f2 的結果的值 struct one { static const double f_val = 1.0 } // 兩個浮點數(shù) struct two { static const double f_val = 2.0 } minus<two, plus<divides<one, two>::value, one>::value >::value::f_val == 0.5 取負 取負運算就是取一個浮點數(shù)的負數(shù)。
上傳時間: 2014-12-06
上傳用戶:exxxds
自己用C編寫的小游戲,DOS界面哦,可以運行。 浮點數(shù)基本運算 浮點數(shù)的基本運算主要有四則運算、符號處理、大小比較,以及浮點數(shù)分柝等。 包含頭文件 "fn.hpp" #include "fn.hpp" 浮點數(shù)基本運算 浮點數(shù)的基本運算中有加、減、乘、除、取負、絕對值、相等比較等。 加減乘除 加、減、乘、除四個運算極為相似,都是需要兩個參數(shù),結果當然也是浮點數(shù)了。 例子: // 加 減 乘 除 btil::fn::plus<f1, f2>::value // f1+f2 的結果 btil::fn::minus<f1, f2>::value // f1-f2 的結果 btil::fn::multiplies<f1, f2>::value // f1*f2 的結果 btil::fn::divides<f1, f2>::value // f1/f2 的結果 plus<f1, f2>::value::f_val // f1+f2 的結果的值 struct one { static const double f_val = 1.0 } // 兩個浮點數(shù) struct two { static const double f_val = 2.0 } minus<two, plus<divides<one, two>::value, one>::value >::value::f_val == 0.5 取負 取負運算就是取一個浮點數(shù)的負數(shù)。
上傳時間: 2014-12-06
上傳用戶:jichenxi0730
Locally weighted polynomial regression LWPR is a popular instance based al gorithm for learning continuous non linear mappings For more than two or three in puts and for more than a few thousand dat apoints the computational expense of pre dictions is daunting We discuss drawbacks with previous approaches to dealing with this problem
標簽: polynomial regression weighted instance
上傳時間: 2013-11-28
上傳用戶:sunjet
This an adaptive receiver for a direct-sequence spread spectrum (DS-SS) system over an AWGN channel. The adaptive receiver block is modified from the LMS adaptive filter block in DSP Blockset. For DS-SS signal reception, the adaptive filter needs to have multi-rate operation. The input sample rate is equal to chip rate and the output is at symbol rate. Two rates are related by PG, processing gain
標簽: direct-sequence adaptive receiver spectrum
上傳時間: 2014-01-16
上傳用戶:D&L37
One of the most important issues affecting the implementation of microcontroller software deals with the data-decision algorithm. Data-decision refers to decoding the DIO-pin from the CC400/CC900. Two main principles exist for decoding Manchester-coded data: Data decision based on timing the period between transitions, and data decision based on oversampling.
標簽: microcontroller implementation important affecting
上傳時間: 2013-12-18
上傳用戶:671145514
隨機性發(fā)生器、冒泡分類和混洗一組12張牌的演示程序。 Demonstrates the use of a randomizer, bubble-sort and an array to "shuffle" a deck of 12 cards. I put it here for those of you who are trying to figure out how to shuffle with a randomizer without having the same card appear two-or-more times.
標簽: Demonstrates bubble-sort randomizer array
上傳時間: 2014-01-16
上傳用戶:zhanditian
Tic Tac Toe程序。可以供一到兩個玩家使用。程序中使用了visual basic 計時器,所以每一個步驟都有時間限制。此外,計算機可是一個有簡單智能的對手,他不但不會隨便出手,反而還要竭力贏了你才罷休。 Tic Tac Toe program. One or two players. It uses the visual basic timer, so each move has time limit. Simple artificial intelligence: computer does not play randomly, but "tries" to win and stop you from winning.
上傳時間: 2015-04-11
上傳用戶:sxdtlqqjl