Cov txheej txheem:

Clock Digital Siv Crystal Oscillator & Flip Flops: 3 Kauj Ruam
Clock Digital Siv Crystal Oscillator & Flip Flops: 3 Kauj Ruam

Video: Clock Digital Siv Crystal Oscillator & Flip Flops: 3 Kauj Ruam

Video: Clock Digital Siv Crystal Oscillator & Flip Flops: 3 Kauj Ruam
Video: Part 1: How to generate 100% accurate 1Hz clock pulse with crystal oscillator 2024, Hlis ntuj nqeg
Anonim
Lub Sijhawm Digital Siv Crystal Oscillator & Flip Flops
Lub Sijhawm Digital Siv Crystal Oscillator & Flip Flops

Cov moos tau pom nyob hauv yuav luag txhua hom khoom siv hluav taws xob, lawv yog lub plawv dhia ntawm txhua lub khoos phis tawj. Lawv tau siv los ua synchronize txhua qhov sib txuas ua ke. lawv kuj tseem siv ua cov txee kom taug qab lub sijhawm thiab hnub tim. Hauv cov lus qhia no koj yuav kawm paub suav lub computer thiab qhov tseem ceeb li cas lub moos digital ua haujlwm siv cov flip flops thiab cov logic sib txuas ua ke. Txoj haujlwm tau tawg mus rau ntau qhov qauv uas txhua tus ua haujlwm tshwj xeeb.

Khoom siv

Rau qhov kev qhia no koj yuav xav tau qee qhov kev paub ua ntej hauv:

  • Cov tswv yim logic digital
  • Multisim simulator (yeem)
  • Nkag siab txog Cov Hluav Taws Xob Hluav Taws Xob

Kauj Ruam 1: Tsim Lub Sijhawm Pib Lub Qauv

Tsim Lub Sijhawm Pib Lub Qauv
Tsim Lub Sijhawm Pib Lub Qauv

Lub Ntsiab Lus Tom Qab Lub Sijhawm Digital yog qhov peb tseem ceeb suav nrog cov moos mus. lub moos 1 Hz tab tom tsim cov mem tes txhua thib ob. hauv cov kauj ruam tom ntej peb yuav pom yuav ua li cas peb tuaj yeem suav cov kev hloov pauv no los ua vib nas this, feeb thiab teev ntawm peb lub moos. Ib txoj hauv kev peb tuaj yeem tsim 1 Hz teeb liab yog los ntawm kev siv lub tshuab siv lead ua oscillator uas tsim lub teeb liab 32.768 kHz (zoo li qhov kuv tau tsim los saum toj no uas hu ua tho qhov oscillator), uas peb tuaj yeem faib los ntawm kev siv cov saw Flip Flops. Yog vim li cas 32.768 kHz siv vim tias nws siab dua peb qhov hnov siab tshaj plaws uas yog 20 kHz thiab nws sib npaug rau 2^15. Qhov laj thawj uas yog qhov tseem ceeb yog vim tias JK flip flop tso tawm Toggles ntawm Qhov Zoo lossis Tsis Zoo Ntug (nyob ntawm FF) ntawm cov lus tawm tswv yim, yog li ntawd cov zis tau ua tau zoo ntawm ib zaus uas yog ib nrab ntawm thawj qhov kev nkag. Los ntawm tib tus cim yog tias peb txuas 15 Flip Flops peb tuaj yeem faib cov teeb liab tawm tswv yim kom tau txais peb 1 Hz teeb liab. Kuv nyuam qhuav siv 1 Hz pulse generator kom nrawm Simulation sijhawm hauv Multisim. Txawm li cas los xij ntawm lub khob cij xav tias dawb los tsim lub Circuit Court kuv muaj saum toj no lossis siv tus qauv DS1307.

Kauj Ruam 2: Txhim Kho Tus Thib Ob

Tsim Lub Tuam Tsev Thib Ob
Tsim Lub Tuam Tsev Thib Ob

Qhov Module no tau tawg ua ob ntu. Thawj ntu yog 4-ntsis nce txee uas suav txog 9 uas ua rau 1 qhov chaw ntawm vib nas this. Qhov thib ob yog 3-ntsis nce txee uas suav txog 6 uas ua rau 10 qhov chaw ntawm vib nas this.

Muaj 2 hom suav, lub rooj sib txuas sib txuas (qhov twg lub moos txuas nrog txhua FF) thiab lub txee tsis sib xws uas lub moos tau pub rau thawj FF thiab cov zis ua raws li lub moos ntawm FF tom ntej. Kuv siv lub txee asynchronous (tseem hu ua lub ripple counter). Lub tswv yim yog tias yog peb xa lub teeb liab mus rau 'J' thiab 'K' cov tswv yim ntawm FF, FF yuav hloov nws lub xeev ntawm txhua lub voj voog ntawm lub moos nkag. Qhov no yog qhov tseem ceeb vim tias rau txhua 2 toggles ntawm thawj FF toggle yog tsim nyob rau hauv FF sib law liag thiab ntxiv mus txog thaum kawg. Yog li ntawd peb tsim tus lej Binary sib npaug rau tus lej ntawm cov lej ntawm lub moos teeb liab.

Raws li tau hais los saud, rau sab laug yog kuv lub voj voog uas ua rau 4-ntsis nce txee rau 1 qhov chaw. Hauv qab nws kuv tau siv qhov pib Circuit Court, nws yog ib qho THIAB rooj vag uas xa lub teeb liab siab mus rau tus pin rov pib dua ntawm Flip Flops yog tias qhov tso tawm ntawm lub txee yog 1010 lossis 10 hauv zauv. Li no qhov tso tawm ntawm THIAB lub rooj vag yog 1 Pulse Per 10 Seconds teeb liab uas peb yuav siv los ua lub moos nkag rau peb 10 qhov chaw txee..

Kauj Ruam 3: Muab tag nrho ua ke

Los ntawm qhov kev xav tib yam, peb tuaj yeem txuas ntxiv cov txee los ua Cov feeb thiab Sijhawm. Peb tseem tuaj yeem mus ntxiv thiab suav hnub, lub lis piam thiab txawm tias xyoo. koj tuaj yeem tsim qhov no ntawm lub khob cij, hom phiaj txawm li cas los xij ib qho yuav siv RTC (lub sijhawm tiag tiag) cov qauv tsuas yog kom yooj yim. Tab sis yog tias koj tau txais kev tshoov siab koj yuav xav tau qhov tseem ceeb:

19 JK K Flip Flops (lossis 10 Dual JK K ICs xws li SN74LS73AN)

  • a 1 Hz cov peev txheej nkag (koj tuaj yeem siv DS1307 module nws tsim tawm 1 Hz square yoj)
  • 6 Binary rau 7-ntu Decoders (xws li 74LS47D)
  • 23 Inverters, 7 3-input THIAB rooj vag, 10 2-input THIAB rooj vag, 3 4-input THIAB rooj vag, 5 LOSSIS rooj vag
  • Rau 7-ntu hex qhia

Kuv vam tias koj tau kawm paub yuav ua li cas lub moos digital ua haujlwm los ntawm cov lus qhia no, thov koj xav nug cov lus nug!

Pom zoo: