All inputs of the C16x family have Schmitt-Trigger input characteristics. These Schmitt-Triggers are intended to always provide proper internal low and high levels, even if anundefined voltage level (between TTL-VIL and TTL-VIH) is externally applied to the pin.The hysteresis of these inputs, however, is very small, and can not be properly used in anapplication to suppress signal noise, and to shape slow rising/falling input transitions.Thus, it must be taken care that rising/falling input signals pass the undefined area of theTTL-specification between VIL and VIH with a sufficient rise/fall time, as generally usualand specified for TTL components (e.g. 74LS series: gates 1V/us, clock inputs 20V/us).The effect of the implemented Schmitt-Trigger is that even if the input signal remains inthe undefined area, well defined low/high levels are generated internally. Note that allinput signals are evaluated at specific sample points (depending on the input and theperipheral function connected to it), at that signal transitions are detected if twoconsecutive samples show different levels. Thus, only the current level of an input signalat these sample points is relevant, that means, the necessary rise/fall times of the inputsignal is only dependant on the sample rate, that is the distance in time between twoconsecutive evaluation time points. If an input signal, for instance, is sampled throughsoftware every 10us, it is irrelevant, which input level would be seen between thesamples. Thus, it would be allowable for the signal to take 10us to pass through theundefined area. Due to the sample rate of 10us, it is assured that only one sample canoccur while the signal is within the undefined area, and no incorrect transition will bedetected. For inputs which are connected to a peripheral function, e.g. capture inputs, thesample rate is determined by the clock cycle of the peripheral unit. In the case of theCAPCOM unit this means a sample rate of 400ns @ 20MHz CPU clock. This requiresinput signals to pass through the undefined area within these 400ns in order to avoidmultiple capture events.For input signals, which do not provide the required rise/fall times, external circuitry mustbe used to shape the signal transitions.In the attached diagram, the effect of the sample rate is shown. The numbers 1 to 5 in thediagram represent possible sample points. Waveform a) shows the result if the inputsignal transition time through the undefined TTL-level area is less than the time distancebetween the sample points (sampling at 1, 2, 3, and 4). Waveform b) can be the result ifthe sampling is performed more than once within the undefined area (sampling at 1, 2, 5,3, and 4).Sample points:1. Evaluation of the signal clearly results in a low level2. Either a low or a high level can be sampled here. If low is sampled, no transition willbe detected. If the sample results in a high level, a transition is detected, and anappropriate action (e.g. capture) might take place.3. Evaluation here clearly results in a high level. If the previous sample 2) had alreadydetected a high, there is no change. If the previous sample 2) showed a low, atransition from low to high is detected now.
上傳時間: 2013-10-23
上傳用戶:copu
電子元器件 任何一個電子電路,都是由電子元器件組合而成。了解常用元器件的性能、型號規格、組成分類及識別方法,用簡單測試的方法判斷元器件的好壞,是選擇、使用電子元器件的基礎,是組裝、調試電子電路必須具備的技術技能。下面我們首先分別介紹電阻器、電容器、電感器、繼電器、晶體管、光電器件、集成電路等元器件的基本知識1 .電阻器電阻器在電路中起限流、分流、降壓、分壓、負載、匹配等作用。1.1電阻器的分類電阻器按其結構可分為三類,即固定電阻器、可變電阻器(電位器)和敏感電阻器。按組成材料的不同,又可分為炭膜電阻器、金屬膜電阻器、線繞電阻器、熱敏電阻器、壓敏電阻器等。常用電阻器的外形圖如圖1.1 1.2 電阻器的參數及標注方法電阻器的參數很多,通常考慮的有標稱阻值、額定功率和允許偏差等。(1)、標稱阻值和允許誤差 電阻器的標稱阻值是指電阻器上標出的名義阻值。而實際阻值與標稱阻值之間允許的最大偏差范圍叫做阻值允許偏差,一般用標稱阻值與實際阻值之差除以標稱阻值所得的百分數表示,又稱阻值誤差。普通電阻器阻值誤差分三個等級:允許誤差小于±5﹪的稱Ⅰ級,允許誤差小于±10﹪的稱Ⅱ級,允許誤差小于±20﹪的稱Ⅲ級。表示電阻器的阻值和誤差的方法有兩種:一是直標法,二是色標法。直標法是將電阻的阻值直接用數字標注在電阻上;色標法是用不同顏色的色環來表示電阻器的阻值和誤差,其規定如表1.1(a)和(b)。 用色標法表示電阻時,根據阻值的精密情況又分為兩種:一是普通型電阻,電阻體上有四條色環,前兩條表示數字,第三條表示倍乘,第四條表示誤差。二是精密型電阻,電阻體上有五條色環,前三條表示數字,第四條表示倍乘,第五條表示誤差。通用電阻器的標稱阻值系列如表1.2所示,任何電阻器的標稱阻值都應為表1.2所列數值乘以10nΩ,其中n為整數。(2)、電阻器的額定功率 電阻器的額定功率指電阻器在直流或交流電路中,長期連續工作所允許消耗的最大功率。常用的額定功率有1/8W、1/4W、1/2W、1W、2W、5W、10W、25W等。電阻器的額定功率有兩種表示方法,一是2W以上的電阻,直接用阿拉伯數字標注在電阻體上,二是2W以下的炭膜或金屬膜電阻,可以根據其幾何尺寸判斷其額定功率的大小如表1.3。3 電阻器的簡單測試 電阻器的好壞可以用儀表測試,電阻器阻值的大小也可以用有關儀器、儀表測出,測試電阻值通常有兩種方法,一是直接測試法,另一種是間接測試法。(1).直接測試法就是直接用歐姆表、電橋等儀器儀表測出電阻器阻值的方法。通常測試小于1Ω的小電阻時可用單臂電橋,測試1Ω到1MΩ電阻時可用電橋或歐姆表(或萬用表),而測試1MΩ以上大電阻時應使用兆歐表。
上傳時間: 2013-10-26
上傳用戶:windwolf2000
LCS(最長公共子序列)問題可以簡單地描述如下: 一個給定序列的子序列是在該序列中刪去若干元素后得到的序列。給定兩個序列X和Y,當另一序列Z既是X的子序列又是Y的子序列時,稱Z是序列X和Y的公共子序列。例如,若X={A,B,C,B,D,B,A},Y={B,D,C,A,B,A},則序列{B,C,A}是X和Y的一個公共子序列,但它不是X和Y的一個最長公共子序列。序列{B,C,B,A}也是X和Y的一個公共子序列,它的長度為4,而且它是X和Y的一個最長公共子序列,因為X和Y沒有長度大于4的公共子序列。 最長公共子序列問題就是給定兩個序列X={x1,x2,...xm}和Y={y1,y2,...yn},找出X和Y的一個最長公共子序列。對于這個問題比較容易想到的算法是窮舉,對X的所有子序列,檢查它是否也是Y的子序列,從而確定它是否為X和Y的公共子序列,并且在檢查過程中記錄最長的公共子序列。X的所有子序列都檢查過后即可求出X和Y的最長公共子序列。X的每個子序列相應于下標集{1,2,...,m}的一個子集。因此,共有2^m個不同子序列,從而窮舉搜索法需要指數時間。
上傳時間: 2015-06-09
上傳用戶:氣溫達上千萬的
光學設計軟件zemax源碼: This DLL models an nular aspheric surface as described in: "Annular surfaces in annular field systems" By Jose M. Sasian Opt. eng. 36 (12) P 3401-3401 December 1997 This surface is essentially an odd aspheric surface with an offset in the aspheric terms. The sag is given by: Z = (c*r*r) / (1+(1-((1+k)*c*c*r*r))^ 1/2 ) + a*(r-q)^2 + b*(r-q)^3 + c*(r-q)^4 + ... Note the terms a, b, c, ... have units of length to the -1, -2, -3, ... power.
標簽: described aspheric surfaces Annular
上傳時間: 2014-01-08
上傳用戶:yyyyyyyyyy
1. 在IBConsole中添加兩個用戶LOGIN和MATER,密碼均為PASSWORD。 2. 用MISDBA用戶登錄MISDB數據庫。 3. 在ISQL中,輸入第9章提供的SQL語句;或者根據表9-1至表9-8在SQL Explorer中自行創建數據表。數據庫創建后需要分配LOGIN和MATER用戶的訪問權限。 4. 根據表9-9和表9-10設置初始數據,另外需要在PERSON數據表中設置一個用于登錄系統的用戶(ID=’MAT’,PASSWD=’PASSWORD’,AUTHORITY=’7’,STATE=’F’),同時在PART表中添加ID為’0000000000’的零件,名稱為“。 5. 除了修改數據庫連接的屬性,還需要修改數據模塊中LOGIN方法的相關用戶密碼。
上傳時間: 2014-08-06
上傳用戶:xiaohuanhuan
高精度乘法基本思想和加法一樣。其基本流程如下: ①讀入被乘數s1,乘數s2 ②把s1、s2分成4位一段,轉成數值存在數組a,b中;記下a,b的長度k1,k2; ③i賦為b中的最低位; ④從b中取出第i位與a相乘,累加到另一數組c中;(注意:累加時錯開的位數應是多少位 ?) ⑤i:=i-1;檢測i值:小于k2則轉⑥,否則轉④ ⑥打印結果
上傳時間: 2015-08-16
上傳用戶:源弋弋
(1) 程序1-跑馬燈:會看到led變化。 (2) 程序2-獨立鍵盤 :分別按“INT0/+”鍵和”t0/-“會看到LED變化。 (3) 程序3-定時器:會看到5個LED閃爍。 (4) 程序4-數碼管顯示:會看到數碼管顯示數字變化。 (5) 程序5-掃描鍵盤:按3*3鍵盤的任意一個鍵,會看到相應的鍵盤代碼顯示在數碼管。 (6) 程序6-計數器:按”NIT0/+”鍵,會看到數碼管顯示變化。 (7) 程序7-外部中斷:按T0/-“鍵,會看到led變化。 (8) 程序8- 24c02讀寫程序:按3*3鍵盤的任意鍵,會看到數碼管顯示相應的鍵盤代碼,然后按“rst“復位鍵,程序重新啟動,數碼管會顯示剛才的內容。 (9) 程序9-計算器:個位數的計算器,按一個數,然后按“+“或”-“,再按一個數,過一秒就會出來結果。
上傳時間: 2014-01-14
上傳用戶:hebmuljb
5-1.asm對應第五章語音信號的采集和播放主程序; (2)5-2.asm對應第五章語音信號的采集和播放中斷向量程序; (3)5-3.cmd對應第五章語音信號的采集和播放配置文件; (4)5-4.asm對應第五章語音信號的u/A律壓縮程序; (5)5-5.m對應第五章語音去噪的仿真程序; (6)5-6.asm對應第五章語音去噪的主程序; (7)5-7.c對應第五章CVSD編碼的C語言程序代碼; (8)5-8.asm對應第五章CVSD的解碼程序; (9)5-9.asm對應第五章CVSD的編碼程序。
上傳時間: 2014-11-28
上傳用戶:hoperingcong
430例程調試程序 |——5-1 框架程序 |——6-1 異步串行通信程序(點對點通信) |——6-2 異步串行通信程序(地址位模式多機通信) |——6-3 異步串行通信程序(空閑模式多機通信) |——7-1 定時中斷程序 |——7-2 PWM輸出程序 |——7-3 捕獲脈沖信號周期程序 |——7-4 軟件模擬異步串行通信程序 |——7-5 基本定時器程序 |——8-1 FLASH擦寫程序 |——8-2 非行列式鍵盤程序 |——8-3 行列式鍵盤程序 |——9-1 DMA數據傳輸程序 |——9-2 軟件模擬IIC總線讀寫24C02程序 |——10-1 FLL+鎖頻環程序 |——10-2 LCD模塊程序 |——11-1 ADC12單通道和序列通道單次轉換程序 |——11-2 ADC12單通道和序列通道多次轉換程序 |——11-3 DAC12數模轉換程序 |——12-1 使用比較器A進行斜邊AD轉換程序 |——12-2 比較器A電阻值測量程序 |——13-1 中斷嵌套程序 |——13-2 異常處理程序
上傳時間: 2014-01-10
上傳用戶:playboys0
目 錄 前 言 1 第一章 概述 1 1.1課題來源 1 1.2 開發工具的選用 2 1.2.1 Visual Basic的使用 2 1.2.2 Microsoft Access的使用 3 1.3 系統的初步調查 3 1.4 系統的可行性研究 4 1.4.1技術上的可行性 4 1.4.2管理上的可行性 4 1.4.3安全上的可行性 4 1.5 系統分析 4 1.5.1系統的安全性 4 1.5.2系統的快捷性 5 1.5.3系統的準確性 5 1.5.4系統的嚴謹性 5 第二章 概要設計 5 2.1 系統設計思路 5 2.1.1界面設計 5 2.1.2用戶登陸 5 2.1.3學籍信息內容查詢和錄入 6 2.1.4數據庫分析 6 2.2 設計簡述 6 2.2.1 vb設計的界面簡述 6 2.2.2 Access2000設計數據庫 7 2.2.3系統簡圖 7 2.3 設計需求 7 2.3.1 運行設計 7 2.3.2 出錯處理設計 8 2.3.3安全保密設計 8 2.3.4維護設計 8 第三章 詳細設計 9 3.1 數據庫的實現 9 3.1.1課程表 9 3.1.2學生情況表 9 3.1.3學生與課程表 9 3.2 界面的實現 9 3.2.1登陸界面 9 3.2.3 主界面 10 3.2.4 基本信息錄入 11 3.2.5 成績錄入 14 3.2.6 信息查詢 16 3.2.7 報表輸出 18 第四章 數據測試 18 第五章 總結 19 5.1 編程心得 19 5.2 感謝 19 參考文獻 20
標簽: Microsoft Visual Access Basic
上傳時間: 2014-11-26
上傳用戶:xieguodong1234