Cov txheej txheem:

GPSDO YT, Kev qhuab qhia oscillator 10Mhz Siv Zaus. Tus Nqi Tsawg. Qhov tseeb: 3 Kauj ruam
GPSDO YT, Kev qhuab qhia oscillator 10Mhz Siv Zaus. Tus Nqi Tsawg. Qhov tseeb: 3 Kauj ruam

Video: GPSDO YT, Kev qhuab qhia oscillator 10Mhz Siv Zaus. Tus Nqi Tsawg. Qhov tseeb: 3 Kauj ruam

Video: GPSDO YT, Kev qhuab qhia oscillator 10Mhz Siv Zaus. Tus Nqi Tsawg. Qhov tseeb: 3 Kauj ruam
Video: Tswv Yexus lub neej thaum pib txug thaum xaus 2024, Kaum ib hlis
Anonim
GPSDO YT, Kev qhuab qhia oscillator 10Mhz Siv Zaus. Tus Nqi Tsawg. Qhov tseeb
GPSDO YT, Kev qhuab qhia oscillator 10Mhz Siv Zaus. Tus Nqi Tsawg. Qhov tseeb
GPSDO YT, Kev qhuab qhia oscillator 10Mhz Siv Zaus. Tus Nqi Tsawg. Qhov tseeb
GPSDO YT, Kev qhuab qhia oscillator 10Mhz Siv Zaus. Tus Nqi Tsawg. Qhov tseeb
GPSDO YT, Kev qhuab qhia oscillator 10Mhz Siv Zaus. Tus Nqi Tsawg. Qhov tseeb
GPSDO YT, Kev qhuab qhia oscillator 10Mhz Siv Zaus. Tus Nqi Tsawg. Qhov tseeb

*******************************************************************************

STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP STOP

Qhov no yog ib qhov haujlwm tsis raug.

Hloov chaw txheeb xyuas kuv tus tshiab 2x16 lcd zaub version muaj nyob ntawm no:

www.instructables.com/id/GPSDO-YT-10-Mhz-L…

Kuv tawm qhov qub version ntawm no rau cov ntaub ntawv.

*******************************************************************************

Nyob zoo cov neeg, GPSDO yog dab tsi? GPSDO txhais tau tias: GPS qhuab qhia oscillator. GPS rau ntiaj teb txoj haujlwm tso rau. Txhua lub GPS satellites tau nruab nrog lub moos atomic synchronized. GPS module tau txais cov cim no los ntawm ntau lub hnub qub. Thiab los ntawm triangulation, nws paub nws qhov chaw nyob. Tab sis ntawm no, qhov kev txaus siab rau peb yog lub plawv dhia ib pliag uas pom ntawm tus qauv. Nrog qhov ntsuas qhov tseeb (los ntawm lub moos atomic), peb tuaj yeem ua qhov oscillator raug heev. Dab tsi rau? Rau kev siv, rau kev ntsuas ntsuas ntawm qhov ntsuas zaus lossis tsuas yog kev lom zem kom muaj ib qho hauv nws chav kuaj.

Lawv muaj ntau yam schematic hauv internet. Kuv tau sim qee yam. Qee qhov zoo, ib qho nrog 2313 me me yog 5 hertz qeeb dhau. Tab sis kuv yog qhov yooj yim tshaj plaws, muaj txiaj ntsig thiab yooj yim. Thiab kuv tab tom muab koj.hex code. Lawv tsis yog VCO thiab tsis muaj kev faib tawm. Circuit nrog VCO ua tau zoo. Tab sis, nws yuav tsum muaj lub plawv dhia ntawm 10khz lossis ntau dua tas li. Yog tias lub kav hlau txais xov tsis muaj zog heev, ploj hauv plawv lossis tsis muaj mem tes hlo li, tus oscillator (ocxo) tab tom khiav los ntawm nws tus kheej thiab VFC (Voltage Frequency Control) tsis raug lawm. VCO cov lus tawm tswv yim xav tau kev siv zaus txhawm rau txhawm rau. Yog tsis yog, Nws txawv ntawm 1 txog 2 Hertz! Tsis tas li, qhov pheej yig dua gps module tsis ua haujlwm hauv qhov teeb tsa no. Peb yuav tsum muaj tsawg kawg 10khz los ua VCO. Kuv sim nrog 1000 hertz. Qhov sib txawv loj heev. Qhov sib txawv. Yog li nrog ublox neo-6m koj tsis tuaj yeem ua tau zoo vco gpsdo vim qhov tso zis ntau tshaj yog 1000Hz. Koj yuav tsum yuav neo-7m lossis siab dua.

Nov yog qhov kuv GPSDO YT ua haujlwm li cas. Tus tswj hwm pom qhov hloov pauv zoo rau ib qho OCXO nrog vfc 0 txog 5v. Yog tias peb xoob GPs teeb liab, qhov zaus tsis txav txhua. Thaum lub teeb liab rov tshwm sim, tus tswj hwm siv nws lub xeem paub qhov txiaj ntsig zoo thiab txuas ntxiv ib yam li ua ntej. Ntawm qhov dav, nrog tus siv oscillator. Peb tsis tuaj yeem qhia thaum lub teeb liab ploj lossis thaum nws rov qab los. Lub teeb liab yog tib yam.

Tom qab ntsuas ntsuas, koj tuaj yeem siv gpsdo tsis muaj lub kav hlau txais xov yog tias koj xav tau. Ob peb qhov nce tom qab koj yuav muaj me ntsis drift. Tab sis…. loj npaum li cas? Nws yog lub sijhawm rau qee qhov kev piav qhia.

Nov yog qee qhov lej … Yooj yim ua lej, ua raws kuv nrog qhov no yooj yim. Txog tam sim no cov txheej txheem muaj 6 theem. Txhua theem siv tus qauv ntawm 1 txog 1000 vib nas this, pom qhov hloov pauv pwm zoo thiab mus rau qhov piv txwv ntev tshaj plaws rau qhov raug ntau dua.

Qhov tseeb = ((Tus naj npawb thib ob x 10E6) + 1)/tus lej thib ob) - 10E6

Theem 1, 1 tus qauv thib ob rau 10, 000, 000 suav rau +- 1 Hz raug

theem 2, 10 vib nas this piv rau 100, 000, 000 suav rau +-0.1Hz raug

Theem 3, 60 vib nas this piv rau 600, 000, 000 suav rau +-0.01666 Hz qhov tseeb

Theem 4, 200 vib nas this Qauv rau 2, 000, 000, 000 suav rau +-0.005 Hz qhov tseeb

Theem 5, 900 vib nas this piv rau 9, 000, 000, 000 suav rau +-0.001111 Hz qhov tseeb

Theem 6, 1000 vib nas this piv rau 10 lab suav rau rau +-0.001 Hz raug

Rooj plaub. Thaum peb tau txais theem 6. Tus lej no tuaj yeem hloov pauv me ntsis txhua 1000 vib nas this lossis tsis tau. qee lub sijhawm nws yuav yog 10, 000, 000, 001 lossis 9, 999, 999, 999 Yog li, +lossis - 0, 000, 000.001 kev hloov pauv rau 1000s. Tam sim no peb yuav tsum paub tus nqi rau 1 thib ob.

10Mhz = 1 feeb

Rau 1 thib ob = 10, 000, 000, 001 suav/1000s = 10, 000, 000.001 Hz (qhov phem tshaj rau 1 thib ob)

10, 000, 000.001 - 10, 000, 000 = 0.001 Hz/s nrawm dua lossis qeeb dua

0.001Hz X 60 X 60 X24 X365 = 31536 Hz/xyoo

Yog li nco ntsoov, 10Mhz yog 1 thib ob, 31536Hz X 1 / 10E6 = 0, 0031536 thib ob / xyoo

Lwm txoj hauv kev nrawm dua rau kev suav. ib qho poob rau 10E9Mhz yog 1/10E9 = 1E-10

1E-10 x 60x60x24x365 = 0, 0031536 thib ob/xyoo.

Puas yog qhov tseeb txaus rau koj?

Txawm li cas los xij, koj yuav tsum muaj OXCO zoo. Kuv nyiam Ob Chav Cub 12v Sinus tso tawm. Ntau ruaj khov, nyob ntsiag to thiab raug. Tab sis kuv muaj qhov txiaj ntsig zoo ib yam nrog 5V yooj yim. Piv txwv li, stp 2187 muaj lub sijhawm ruaj khov luv (allan sib txawv) ntawm 2x10-12 = 0.000, 000, 000, 002 Hz ntawm kev ruaj ntseg. Nyob rau tib lub sijhawm, thaum muaj GPS mem tes, Avr yuav ib txwm kho pwm (zaus). UC ib txwm suav… ib txwm. Qhov no txhais tau tias ntawm cov zaub koj yuav tsis pom hnub thiab sijhawm. Thaum uC yog kuaj 900s, qhov no tsis khoom rau 900 vib nas this. Nws yuav tsum suav txhua lub moos. Teeb meem yog uC ua haujlwm ntawm 10Mhz. Txhua lub moos yuav tsum suav. Nws suav nws tus kheej. Yog tias tsuas muaj ib lub moos ploj lawm cov qauv yuav tsis zoo thiab pwm kev kho yuav tsis raug. Kuv tsis tuaj yeem rov ua dua tshiab txhua ob.

Thaum pib ua piv txwv. Uc pib suav timer0. Txhua 256 moos tsim kev cuam tshuam. X sau npe yog nce ntxiv. thaum nws tag nrho Y sau npe tau nce ntxiv thiab X rov pib dua rau 0 thiab ntxiv rau. Thaum kawg, thaum nws kawg ib tus gps mem tes, suav tsis tau lawm. Thiab tam sim no thiab tsuas yog tam sim no kuv tuaj yeem hloov kho cov zaub thiab ua qee qhov lej rau pwm suav.

paub qhov ntawd, kuv tsuas muaj 25, 6 peb (256 moos ua ntej cuam tshuam) nyeem thiab tso saib lub sijhawm lossis lwm yam. Nws ua tsis tau Ib qho kev cuam tshuam tuaj yeem cuam tshuam, tsis yog 2. Kuv tuaj yeem rov kho lub sijhawm tom qab 1000s … tab sis nws yuav tsis siv sijhawm pom lub sijhawm nrog 15, 16 feeb sib nrug. Kuv muaj lub moos, lub moos, xov tooj ntawm tes kom paub sijhawm:) Kuv tab tom ua 10Mhz siv. Tsis yog moos.

Lwm qhov teeb meem kuv muaj, qee qhov kev qhia avr muaj 2 mus. Nrog rau kev qhia rjmp. Qhov no txhais tau tias yog thawj zaug lossis zaum kawg gps mem tes tau tshwm sim nyob rau tib lub sijhawm ntawm 2 txoj kev qhia mus, uC yuav plam lub moos. Vim tias uC yuav ua tiav cov lus qhia ua ntej pib cuam tshuam. Yog li lub txee yuav pib lossis nres ib lub voj voog tom qab. Yog li kuv tsis tuaj yeem ua lub sijhawm tos lub voj … Tab sis qhov tseeb, kuv tsis muaj lwm txoj kev xaiv. Kuv yuav tsum tau mus ncig qhov chaw !! Kuv Yog li kuv siv rjmp thiab nop (qhov no tsis ua dab tsi) qhia. Nop yog kev qhia ib lub voj voog. Kuv tau tso 400 nop qhia rau ib rjmp ntawm atmega48. 2000 ntawm atmega88 thiab atmega328p version. Yog li txoj hauv kev yuav tsawg dua rau thawj zaug lossis kawg mem tes tuaj ntawm kev qhia rjmp. Tab sis yog nws tuaj yeem ua tau thiab yog tias qhov no tshwm sim, qhov yuam kev no yuav raug kho ntawm qhov piv txwv tom ntej.

Cov zaub yog xaiv tau. Koj tuaj yeem ua hluav taws xob nrog, uC, OCXO thiab lim qis dhau (tiv thaiv tus neeg tiv thaiv) nkaus xwb, qhib thiab tos. Tom qab 1 teev koj yuav muaj zaus siv tau. Tab sis kom mus txog theem 6. Nws yuav siv ob peb teev.

Pwm is 16 bits. 65535 ua. 5v/65535 = 76, 295 uV

OCXO kev hloov pauv yog 2Hz los ntawm 1V. 1v/76, 295uV = 13107 kauj ruam rau 2 hz. 2/13107 = 152.59uHz by step of pwm

The phase 5, is changing pwm by 3, phase 6 is 2. step… Vim li cas 3? vim 3 tau hloov pauv zaus los ntawm 0.000, 000, 000, 4 ntawm 15 feeb ntsuas. thiab 4 yog kuv tus lej khawv koob hauv kuv lub algorithm. Piv txwv, yog nyob rau theem ib, thawj zaug pom yog 10,000, 003Mhz. Kuv txo qis los ntawm 0, 000, 000.4 kauj ruam.

Cov kauj ruam loj dhau tuaj yeem dhau los ntawm 10.000003 txog 10.000001 thiab tom qab 9, 999998Hz. Kuv ploj lawm lub hom phiaj.

Nrog 0, 0000004. Nws nrawm dua 0, 1 thiab kuv paub tseeb tias tsis hla tus lej. Ntxiv rau Kuv ua tib yam nrog 10 vib nas this, 60 vib nas this thiab 200s theem thiab 900s. 1000s tab tom khiav hom thiab siv pwm theem ntawm 2

Thov nco ntsoov tias theem 5 ntev dua los ua tiav. Qhov sib txawv ntawm 4 thiab 5 yog qhov loj dua. Tab sis nws pab kom dhau los ntawm 5 txog 6 nrawm dua.

Thaum theem 6 tau suav raws nraim 10 lab daus las, cov txiaj ntsig pwm raug cawm hauv eeprom. Tam sim no, nws yog lub sijhawm rau hom khiav. Qhov no suav txog 1000 vib nas this piv txwv tab sis nrog 2 kauj ruam pwm nkaus xwb. Thaum khiav hom, qhov tseeb zaus tau tshwm sim thiab hloov tshiab ntawm 1000 vib nas this ib ntus. Yog tias lub teeb liab ploj hauv hom khiav nws dhau ntawm tus kheej khiav. Tsis muaj kev hloov pauv pwm hauv hom no. Thaum lub teeb liab rov qab los, nws rov qab mus rau theem 5 kom rov ua dua tshiab.

Yog hais tias Circuit tsis txuas tom qab eeprom tau txais kev cawmdim. Qhov no yuav pib ntawm theem 5 ntawm lub zog nrog eeprom pwm tus nqi.

Txog kev tshem tus nqi eeprom, tsuas yog nias lub pob thaum pib-pib. Pwm 50% yuav raug thauj thiab ntsuas yuav pib los ntawm theem 1.

Kuv dhau ntau teev los sim qhov sib txawv, teeb tsa ntawm Circuit. Kuv tau ua ntau qhov kev sim, nrog OP amp, tsis thiab lwm yam nti. Thiab thaum kawg … qhov txiaj ntsig zoo tshaj plaws uas kuv tau txais tsis xav tau. Tsuas yog lub zog ruaj khov zoo thiab qee qhov lim dej lim. Yog li kuv khaws qhov yooj yim no.

Kauj Ruam 1: Yuav Cov Khoom

Yuav Qhov
Yuav Qhov
Yuav Qhov
Yuav Qhov
Yuav Qhov
Yuav Qhov

Thawj qhov ua yog yuav cov khoom. Vim tias feem ntau thauj khoom ntev heev.

Gps module: Kuv siv ublox neo-6m. Kuv yuav qhov no ntawm eBay. Tshawb nrhiav, nws raug nqi li 7 txog 10 us las.

Los ntawm lub neej ntawd, tus neeg txais khoom no muaj 1 mem tes los ntawm kev siv thib ob. Peb tsis tas yuav ua dab tsi.

Koj tuaj yeem siv ib qho qauv gps nrog 1 Hertz pulse output. Koj muaj ib tug. Siv qhov ntawd!

OCXO: Kuv sim 2 oscillators. Ob chav cub stp2187 12v sine wave tso zis. Thiab ISOTEMP 131-100 5V, square yoj tawm. Ob leeg los ntawm radioparts16 ntawm ebay. Kuv tau txais kev pabcuam zoo heev los ntawm lawv thiab tus nqi pheej yig dua.

AVR: Txoj cai haum rau me ntsis atmega48. Tab sis kuv hais kom yuav atmega88 lossis atmega328p. Nws yuav luag zoo ib yam tus nqi. Yuav qhov no ntawm digikey lossis ebay. Kuv siv lub dip version. Koj tuaj yeem yuav cov txheej txheem saum npoo av, tab sis xyuam xim, pins tsis zoo ib yam rau cov phiaj xwm.

Lcd zaub: Txhua 4x20 HD44780 tso saib tau yuav ua haujlwm. Kwv yees qhov twg kuv yuav kuv li:) Yog ntawm ebay ob peb xyoos dhau los. Tam sim no nws kim dua ua ntej. Tab sis muaj qis dua $ 20 Asmeskas.

Tej zaum yav tom ntej, kuv yuav ua tus lej rau 2x16 zaub. Cov lus qhia no tsuas yog 4 $. Thiab ntawm koj thiab kuv, 2 kab lus qhia yuav txaus.

Koj yuav tsum muaj AVR ISP Programmer. Lub cajmeem AVR tsis zoo li Arduino. Arduino twb tau npaj rau kev sib txuas lus ntawm chaw nres nkoj txuas. Hom avr tshiab yuav tsum tau ua haujlwm nrog ISP lossis Parallel High Voltage Programmer. Peb siv isp ntawm no.

A 74hc04 lossis 74ac0, tus tswj hluav taws xob 7812 thiab 7805, tus tiv thaiv, lub tshuab hluav taws xob … zoo, ebay

Kauj Ruam 2: Nov Yog Schematic thiab Gpsdo_YT_v1_0.hex

Image
Image
Nov Yog Schematic thiab Gpsdo_YT_v1_0.hex
Nov Yog Schematic thiab Gpsdo_YT_v1_0.hex
Nov Yog Schematic thiab Gpsdo_YT_v1_0.hex
Nov Yog Schematic thiab Gpsdo_YT_v1_0.hex

Kuv xav tias schematic yog txhua yam koj xav paub txog txoj haujlwm no. Koj tuaj yeem siv tooj liab clad board nrog cov txheej txheem los yog tsuas yog perforated board yog tias koj nyiam.

Koj tuaj yeem siv lub thawv twg koj xav tau, tab sis kuv qhia lub thawv hlau. Los yog tsuas yog ntawm lub khob cij rau kev lom zem zoo li kuv:)

Kuv tab tom tos lub kav hlau txais xov txuas ntxiv thiab bnc txuas los tso kuv txoj haujlwm hauv ib lub thawv.

Koj yuav tsum xaiv txoj cai fuse me ntsis. Nco ntsoov tias sab nraud oscillator raug xaiv. Yog tias koj muaj teeb meem nrog Sab Nraud Oscillator, sim Sab Nraud Crystal. Thiab lub moos low.ckdiv8 tsis raug xaiv. Saib daim duab. Ua tib zoo mloog, thaum lub moos sab nraud cuam tshuam me ntsis, koj yuav tsum muab lub moos sab nraud los ua haujlwm lossis ua haujlwm raws txoj cai. Hauv lwm lo lus, txuas tus Oscillator hauv xtal1 tus pin.

Los ntawm txoj kev… koj tuaj yeem siv tib txoj cai los ua tus lej ntsuas nrog 1 lub rooj vag thib ob. Tsuas yog sau lub moos los ntsuas hauv xtal1 tus lej thiab koj yuav muaj +-1 Hz zaus suav.

Kuv yuav hloov kho qhov project sai li sai tau thaum kuv muaj khoom tshiab.

Lub sijhawm no, yog tias txoj haujlwm txaus siab rau koj, koj muaj cov ntaub ntawv txaus los pib thiab txawm ua tiav nws ua ntej kuv

Kuv tso 2 cov vis dis aus, koj tuaj yeem pom ntu ib thiab zaum kawg.

Kuv muaj lus nug lossis lus pom. Ua tsaug.

Lub Ob Hlis 26 2017…. Version 1.1 muaj.

-atmega48 tsis txhawb ntxiv lawm. Tsis muaj chaw txaus.

-Ntxiv cov xov tooj cua xauv.

-Txhawb 2x16 lcd. Yog tias koj muaj 4x20, yuav ua haujlwm ib yam nkaus. Tab sis 2 kab kawg yuav tsis pom dab tsi.

Kauj ruam 3: Nkag mus rau hauv Eeprom

Logs in Eeprom
Logs in Eeprom

Nov yog qhov pov tseg ntawm eeprom tom qab ob peb teev uf sijhawm ua haujlwm. Kuv mam piav qhia seb yuav nyeem qhov no li cas. Ib zaug ntxiv, nws yooj yim:)

Ntawm qhov chaw nyob 00, 01 yog khaws tus nqi pwm. Sai li sai tau theem 5 suav 9 txhiab nyiaj, pwm tus nqi raug hloov kho tshiab txhua lub sijhawm lub txee nce mus txog 10 billion raws nraim.

Sai li peb nyob rau theem 5. Txhua qhov suav tau khaws cia hauv eeprom tom qab tus nqi pwm. Pib ntawm chaw nyob 02, tom qab 03 thiab ntxiv rau.

Qhov piv txwv no los ntawm kuv 5 volts ocxo. Peb tuaj yeem nyeem pwm tus nqi ntawm 0x9A73 = 39539 decimal ntawm 65536. = 60, 33% lossis 3.0165 Volt.

Yog li chaw nyob 00:01 yog 0x9A73

Tom ntej no, koj tuaj yeem nyeem 03. Rau 9, 000, 000, 003 Pwm qis dua 3 vim tias peb tseem tsis tau nyob rau theem 5

00 rau 10, 000, 000.000 pwm nyob tsis raug thiab peb dhau mus rau hom khiav (theem 6)

02 rau 10, 000, 000.002 Hauv qhov xwm txheej ntawd, tus nqi pwm tau qis dua los ntawm 2

01 rau 10, 000, 000.001 pwm tus nqi qis los ntawm 2

01 rau 10, 000, 000.001 pwm tus nqi qis dua los ntawm 2 dua

00 rau 10, 000, 000.000 pwm nyob tsis raug

00 rau 10, 000, 000.000 pwm nyob tsis raug

00 rau 10, 000, 000.000 pwm nyob tsis raug

Tam sim no koj paub yuav nyeem eeprom li cas. Txhua 1000 vib nas this tus nqi tshiab tau sau hauv eeprom. Thaum eeprom puv, nws rov pib dua los ntawm chaw nyob 2.

FF tus nqi txhais tau tias 9, 999, 999.999

Koj tuaj yeem nrog qhov pov tseg no taug qab qhov raug, tsis muaj cov duab LCD.

Koj tuaj yeem pov tseg eeprom cov ntaub ntawv nrog isp programmer.

Kuv vam tias kuv tau muab xov xwm txaus rau koj. Yog tsis yog, qhia rau kuv paub. Tawm tswv yim, yuam kev, txhua yam.

Yannick

Pom zoo: