The code for this article was written for version 1.0 of the
Active Template Library (ATL). The current version of the code
(in SieveATL) was built with Visual C++ 6.0 and the ATL provided
with that compiler. It may be slightly different than the code
shown in the article.
The directory SieveMFC contains an MFC version of a component
equivalent to the ATL version discussed in the article. It was built
with version 5 of the C++ compiler and the MFC version provided
with it.
The code discussed in the article was later adapted for Hardcore
Visual Basic, Second Edition. Comparable Visual Basic versions are
discussed in Chapter 10 of the book.
Bruce McKinney
數(shù)學公式庫--非常不錯
The GNU Scientific Library (GSL) is a collection of routines for numerical computing. The routines have been written from scratch in C, and present a modern Applications Programming Interface (API) for C programmers, allowing wrappers to be written for very high level
The book uses a task-oriented structure that allows you to work through the steps necessary to install
MySQL 4.1 on Linux and Windows platforms, create and manage MySQL databases, query and manipulate
data stored in those databases, administer the MySQL database management system, and connect to
MySQL databases from your PHP, JSP/Java, and ASP.NET/C# applications.
The next section, which describes the book’s structure, provides additional details about the specifics of
what the book covers.
If you are a C++ programmer who desires a fuller understanding of what is going on "under the hood," then Inside the C++ Object Model is for you!
Inside the C++ Object Model focuses on the underlying mechanisms that support object-oriented programming within C++: constructor semantics, temporary generation, support for encapsulation, inheritance, and "the virtuals"-virtual functions and virtual inheritance. This book shows how your understanding the underlying implementation models can help you code more efficiently and with greater confidence. Lippman dispells the misinformation and myths about the overhead and complexity associated with C++, while pointing out areas in which costs and trade offs, sometimes hidden, do exist. He then explains how the various implementation models arose, points out areas in which they are likely to evolve, and why they are what they are. He covers the semantic implications of the C++ object model and how that model affects your programs.
磁芯電感器的諧波失真分析 摘 要:簡述了改進鐵氧體軟磁材料比損耗系數(shù)和磁滯常數(shù)ηB,從而降低總諧波失真THD的歷史過程,分析了諸多因數(shù)對諧波測量的影響,提出了磁心性能的調(diào)控方向。 關(guān)鍵詞:比損耗系數(shù), 磁滯常數(shù)ηB ,直流偏置特性DC-Bias,總諧波失真THD Analysis on THD of the fer rite co res u se d i n i nductancShi Yan Nanjing Finemag Technology Co. Ltd., Nanjing 210033 Abstract: Histrory of decreasing THD by improving the ratio loss coefficient and hysteresis constant of soft magnetic ferrite is briefly narrated. The effect of many factors which affect the harmonic wave testing is analysed. The way of improving the performance of ferrite cores is put forward. Key words: ratio loss coefficient,hysteresis constant,DC-Bias,THD 近年來,變壓器生產(chǎn)廠家和軟磁鐵氧體生產(chǎn)廠家,在電感器和變壓器產(chǎn)品的總諧波失真指標控制上,進行了深入的探討和廣泛的合作,逐步弄清了一些似是而非的問題。從工藝技術(shù)上采取了不少有效措施,促進了質(zhì)量問題的迅速解決。本文將就此熱門話題作一些粗淺探討。 一、 歷史回顧 總諧波失真(Total harmonic distortion) ,簡稱THD,并不是什么新的概念,早在幾十年前的載波通信技術(shù)中就已有嚴格要求<1>。1978年郵電部公布的標準YD/Z17-78“載波用鐵氧體罐形磁心”中,規(guī)定了高μQ材料制作的無中心柱配對罐形磁心詳細的測試電路和方法。如圖一電路所示,利用LC組成的150KHz低通濾波器在高電平輸入的情況下測量磁心產(chǎn)生的非線性失真。這種相對比較的實用方法,專用于無中心柱配對罐形磁心的諧波衰耗測試。 這種磁心主要用于載波電報、電話設備的遙測振蕩器和線路放大器系統(tǒng),其非線性失真有很嚴格的要求。
圖中 ZD —— QF867 型阻容式載頻振蕩器,輸出阻抗 150Ω, Ld47 —— 47KHz 低通濾波器,阻抗 150Ω,阻帶衰耗大于61dB, Lg88 ——并聯(lián)高低通濾波器,阻抗 150Ω,三次諧波衰耗大于61dB Ld88 ——并聯(lián)高低通濾波器,阻抗 150Ω,三次諧波衰耗大于61dB FD —— 30~50KHz 放大器, 阻抗 150Ω, 增益不小于 43 dB,三次諧波衰耗b3(0)≥91 dB, DP —— Qp373 選頻電平表,輸入高阻抗, L ——被測無心罐形磁心及線圈, C ——聚苯乙烯薄膜電容器CMO-100V-707APF±0.5%,二只。
測量時,所配用線圈應用絲包銅電磁線SQJ9×0.12(JB661-75)在直徑為16.1mm的線架上繞制 120 匝, (線架為一格) , 其空心電感值為 318μH(誤差1%) 被測磁心配對安裝好后,先調(diào)節(jié)振蕩器頻率為 36.6~40KHz, 使輸出電平值為+17.4 dB, 即選頻表在 22′端子測得的主波電平 (P2)為+17.4 dB,然后在33′端子處測得輸出的三次諧波電平(P3), 則三次諧波衰耗值為:b3(+2)= P2+S+ P3 式中:S 為放大器增益dB 從以往的資料引證, 就可以發(fā)現(xiàn)諧波失真的測量是一項很精細的工作,其中測量系統(tǒng)的高、低通濾波器,信號源和放大器本身的三次諧波衰耗控制很嚴,阻抗必須匹配,薄膜電容器的非線性也有相應要求。濾波器的電感全由不帶任何磁介質(zhì)的大空心線圈繞成,以保證本身的“潔凈” ,不至于造成對磁心分選的誤判。 為了滿足多路通信整機的小型化和穩(wěn)定性要求, 必須生產(chǎn)低損耗高穩(wěn)定磁心。上世紀 70 年代初,1409 所和四機部、郵電部各廠,從工藝上改變了推板空氣窯燒結(jié),出窯后經(jīng)真空罐冷卻的落后方式,改用真空爐,并控制燒結(jié)、冷卻氣氛。技術(shù)上采用共沉淀法攻關(guān)試制出了μQ乘積 60 萬和 100 萬的低損耗高穩(wěn)定材料,在此基礎(chǔ)上,還實現(xiàn)了高μ7000~10000材料的突破,從而大大縮短了與國外企業(yè)的技術(shù)差異。當時正處于通信技術(shù)由FDM(頻率劃分調(diào)制)向PCM(脈沖編碼調(diào)制) 轉(zhuǎn)換時期, 日本人明石雅夫發(fā)表了μQ乘積125 萬為 0.8×10 ,100KHz)的超優(yōu)鐵氧體材料<3>,其磁滯系數(shù)降為優(yōu)鐵
The 87LPC76X Microcontroller combines in a small package thebenefits of a high-performance microcontroller with on-boardhardware supporting the Inter-Integrated Circuit (I2C) bus interface.The 87LPC76X can be programmed both as an I2C bus master, aslave, or both. An overview of the I2C bus and description of the bussupport hardware in the 87LPC76X microcontrollers appears inapplication note AN464, Using the 87LPC76X Microcontroller as anI2C Bus Master. That application note includes a programmingexample, demonstrating a bus-master code. Here we show anexample of programming the microcontroller as an I2C slave.The code listing demonstrates communications routines for the87LPC76X as a slave on the I2C bus. It compliments the program inAN464 which demonstrates the 87LPC76X as an I2C bus master.One may demonstrate two 87LPC76X devices communicating witheach other on the I2C bus, using the AN464 code in one, and theprogram presented here in the other. The examples presented hereand in AN464 allow the 87LPC76X to be either a master or a slave,but not both. Switching between master and slave roles in amultimaster environment is described in application note AN435.The software for a slave on the bus is relatively simple, as theprocessor plays a relatively passive role. It does not initiate bustransfers on its own, but responds to a master initiating thecommunications. This is true whether the slave receives or transmitsdata—transmission takes place only as a response to a busmaster’s request. The slave does not have to worry about arbitrationor about devices which do not acknowledge their address. As theslave is not supposed to take control of the bus, we do not demandit to resolve bus exceptions or “hangups”. If the bus becomesinactive the processor simply withdraws, not interfering with themaster (or masters) on the bus which should (hopefully) try toresolve the situation.
摘 要:用一種新的思路和方法,先計算低通、再計算高通濾波器的有關(guān)參數(shù),然后組合成帶通濾波器.關(guān)鍵詞:濾波器;參數(shù);新思路中圖分類號: TN713. 5 文獻識別碼:B 文章編號:1008 - 1666 (1999) 04 - 0089 - 03A New Consideration of the Band Filter’s CalculationGuo Wencheng( S hao Yang B usiness and Technology school , S haoyang , Hunan ,422000 )Abstract :This essay deals with a new method of calculating the band filters - first calculatingthe relevant parameters of low - pass filters ,then calculating the ones of high - pass filters.Key words :filter ; parameters ;new considercation八十年代后,信息產(chǎn)業(yè)得到了迅猛發(fā)展. 帶通濾波器在微波通信、廣播電視和精密儀器設備中得到了廣泛應用. 帶通濾波器性能的優(yōu)劣,對提高接收機信噪比,防止鄰近信道干擾,提高設備的技術(shù)指標,有著十分重要的意義.我在長期的教學實踐中,用切比雪夫型方法設計、計算出寬帶濾波器集中參數(shù)元件的數(shù)據(jù). 該濾波器可運用在檢測微波頻率的儀器和其他設備中. 再將其思路和計算方法介紹給大家,供參考.
磁芯電感器的諧波失真分析 摘 要:簡述了改進鐵氧體軟磁材料比損耗系數(shù)和磁滯常數(shù)ηB,從而降低總諧波失真THD的歷史過程,分析了諸多因數(shù)對諧波測量的影響,提出了磁心性能的調(diào)控方向。 關(guān)鍵詞:比損耗系數(shù), 磁滯常數(shù)ηB ,直流偏置特性DC-Bias,總諧波失真THD Analysis on THD of the fer rite co res u se d i n i nductancShi Yan Nanjing Finemag Technology Co. Ltd., Nanjing 210033 Abstract: Histrory of decreasing THD by improving the ratio loss coefficient and hysteresis constant of soft magnetic ferrite is briefly narrated. The effect of many factors which affect the harmonic wave testing is analysed. The way of improving the performance of ferrite cores is put forward. Key words: ratio loss coefficient,hysteresis constant,DC-Bias,THD 近年來,變壓器生產(chǎn)廠家和軟磁鐵氧體生產(chǎn)廠家,在電感器和變壓器產(chǎn)品的總諧波失真指標控制上,進行了深入的探討和廣泛的合作,逐步弄清了一些似是而非的問題。從工藝技術(shù)上采取了不少有效措施,促進了質(zhì)量問題的迅速解決。本文將就此熱門話題作一些粗淺探討。 一、 歷史回顧 總諧波失真(Total harmonic distortion) ,簡稱THD,并不是什么新的概念,早在幾十年前的載波通信技術(shù)中就已有嚴格要求<1>。1978年郵電部公布的標準YD/Z17-78“載波用鐵氧體罐形磁心”中,規(guī)定了高μQ材料制作的無中心柱配對罐形磁心詳細的測試電路和方法。如圖一電路所示,利用LC組成的150KHz低通濾波器在高電平輸入的情況下測量磁心產(chǎn)生的非線性失真。這種相對比較的實用方法,專用于無中心柱配對罐形磁心的諧波衰耗測試。 這種磁心主要用于載波電報、電話設備的遙測振蕩器和線路放大器系統(tǒng),其非線性失真有很嚴格的要求。
圖中 ZD —— QF867 型阻容式載頻振蕩器,輸出阻抗 150Ω, Ld47 —— 47KHz 低通濾波器,阻抗 150Ω,阻帶衰耗大于61dB, Lg88 ——并聯(lián)高低通濾波器,阻抗 150Ω,三次諧波衰耗大于61dB Ld88 ——并聯(lián)高低通濾波器,阻抗 150Ω,三次諧波衰耗大于61dB FD —— 30~50KHz 放大器, 阻抗 150Ω, 增益不小于 43 dB,三次諧波衰耗b3(0)≥91 dB, DP —— Qp373 選頻電平表,輸入高阻抗, L ——被測無心罐形磁心及線圈, C ——聚苯乙烯薄膜電容器CMO-100V-707APF±0.5%,二只。
測量時,所配用線圈應用絲包銅電磁線SQJ9×0.12(JB661-75)在直徑為16.1mm的線架上繞制 120 匝, (線架為一格) , 其空心電感值為 318μH(誤差1%) 被測磁心配對安裝好后,先調(diào)節(jié)振蕩器頻率為 36.6~40KHz, 使輸出電平值為+17.4 dB, 即選頻表在 22′端子測得的主波電平 (P2)為+17.4 dB,然后在33′端子處測得輸出的三次諧波電平(P3), 則三次諧波衰耗值為:b3(+2)= P2+S+ P3 式中:S 為放大器增益dB 從以往的資料引證, 就可以發(fā)現(xiàn)諧波失真的測量是一項很精細的工作,其中測量系統(tǒng)的高、低通濾波器,信號源和放大器本身的三次諧波衰耗控制很嚴,阻抗必須匹配,薄膜電容器的非線性也有相應要求。濾波器的電感全由不帶任何磁介質(zhì)的大空心線圈繞成,以保證本身的“潔凈” ,不至于造成對磁心分選的誤判。 為了滿足多路通信整機的小型化和穩(wěn)定性要求, 必須生產(chǎn)低損耗高穩(wěn)定磁心。上世紀 70 年代初,1409 所和四機部、郵電部各廠,從工藝上改變了推板空氣窯燒結(jié),出窯后經(jīng)真空罐冷卻的落后方式,改用真空爐,并控制燒結(jié)、冷卻氣氛。技術(shù)上采用共沉淀法攻關(guān)試制出了μQ乘積 60 萬和 100 萬的低損耗高穩(wěn)定材料,在此基礎(chǔ)上,還實現(xiàn)了高μ7000~10000材料的突破,從而大大縮短了與國外企業(yè)的技術(shù)差異。當時正處于通信技術(shù)由FDM(頻率劃分調(diào)制)向PCM(脈沖編碼調(diào)制) 轉(zhuǎn)換時期, 日本人明石雅夫發(fā)表了μQ乘積125 萬為 0.8×10 ,100KHz)的超優(yōu)鐵氧體材料<3>,其磁滯系數(shù)降為優(yōu)鐵
This program is free software you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.