【正文】
參數(shù)R和C,使得振蕩周期為1秒。綜上,根據(jù)自身的知識和方案比較,采用方案一,因?yàn)榉桨敢缓啽沆`活,擴(kuò)展性好,而且正好是所學(xué)知識的應(yīng)用,可以對邏輯器件的使用增加經(jīng)驗(yàn),同時(shí)符合此次數(shù)字電路知識設(shè)計(jì)的要求。方案三:單片機(jī)編程實(shí)現(xiàn)利用AT89S51單片機(jī)和74HC573八位鎖存器以及利用C語言對AT89S51進(jìn)行編程來實(shí)現(xiàn)數(shù)字鐘的時(shí)間顯示。但此方案邏輯電路復(fù)雜,外圍設(shè)備多,靈活性較低,不利于擴(kuò)展。此方案正是所學(xué)的知識的實(shí)際應(yīng)用,可以加深對邏輯電路的了解,符合此次設(shè)計(jì)的要求。2 方案選擇方案一:采用中小規(guī)模集成電路實(shí)現(xiàn)采用中小規(guī)模集成邏輯電路設(shè)計(jì)可以實(shí)現(xiàn)數(shù)字鐘的時(shí)、分、秒計(jì)時(shí)功能、定點(diǎn)報(bào)時(shí)功能、校時(shí)功能、鬧鐘功能,計(jì)時(shí)模塊采用時(shí)鐘信號觸發(fā),不需要程序控制。SPICE3F5是SPICE的最新版本,SPICE自1972年使用以來,已經(jīng)成為模擬集成電路設(shè)計(jì)的標(biāo)準(zhǔn)軟件。EWB是加拿大Interactive Image Technologies公司于1988年開發(fā)的。鬧鐘電路則是通過數(shù)值比較器來實(shí)現(xiàn)。整點(diǎn)報(bào)時(shí)電路時(shí)根據(jù)計(jì)時(shí)系統(tǒng)的輸出狀態(tài)產(chǎn)生一個(gè)脈沖信號,然后去觸發(fā)一音頻發(fā)生器實(shí)現(xiàn)報(bào)時(shí)。時(shí)計(jì)數(shù)器采用24進(jìn)制計(jì)時(shí)器,可實(shí)現(xiàn)對一天24小時(shí)的計(jì)時(shí)。秒脈沖是整個(gè)系統(tǒng)的時(shí)基信號,它直接決定計(jì)時(shí)系統(tǒng)的精度,將標(biāo)準(zhǔn)秒信號送入“秒計(jì)數(shù)器”,“秒計(jì)數(shù)器”采用60進(jìn)制計(jì)數(shù)器,每累計(jì)60秒發(fā)出一個(gè)“分脈沖”信號,該信號將作為“分計(jì)數(shù)器”的時(shí)鐘脈沖。它的計(jì)時(shí)周期是24小時(shí),由于計(jì)數(shù)器的起始時(shí)間不可能與標(biāo)準(zhǔn)時(shí)間(如北京時(shí)間)一致所以采用校準(zhǔn)功能和報(bào)時(shí)功能。關(guān)鍵詞:數(shù)字鐘;設(shè)計(jì);EWB;仿真IAbstract Digital clock is a sort of clock which can be made to time hours、minutes and seconds through digital circuit technology. Compared with mechanical clock, digital clock has higher accuracy and intuition and longer service life. It has been widely used nowadays. There are mang kinds of methods to design the digital clock. For example, small and medium scale integrated circuit can be used to design it. Micro controller can also de used to design digital clock and etc. There are different characteristics in different methods. This time, small and medium scale integrated circuit will be used to achieve the functions of the digital clock such as display、timing、alarm clock、giving the correct time. EWB, whose full name is ELECTRONICS WORKBENCH EDA, is the Interactive Image Technology Ltd launched in the early ninety’s EDA software, which can be used to achieve the mixed simulation of analogous circuit and digital circuit. EWB is a small software but it has a powerful function of simulation. The simulation of this design will be