Cov txheej txheem:

Cov Khoom Siv Hluav Taws Xob (Hloov Hloov): 4 Cov Kauj Ruam (nrog Duab)
Cov Khoom Siv Hluav Taws Xob (Hloov Hloov): 4 Cov Kauj Ruam (nrog Duab)

Video: Cov Khoom Siv Hluav Taws Xob (Hloov Hloov): 4 Cov Kauj Ruam (nrog Duab)

Video: Cov Khoom Siv Hluav Taws Xob (Hloov Hloov): 4 Cov Kauj Ruam (nrog Duab)
Video: Tus Cawm Seej Hloov Neeg Txoj Hmoo (HD) 2024, Hlis ntuj nqeg
Anonim
Image
Image
Buck Converter thiab Nws Ua Haujlwm
Buck Converter thiab Nws Ua Haujlwm

Lub hwj chim yog lub cuab yeej tseem ceeb thaum koj ua haujlwm nrog hluav taws xob. Yog tias koj xav paub ntau npaum li cas lub zog koj siv tau, koj yuav tsum ntsuas qhov ntsuas hluav taws xob thiab ntsuas tam sim no thiab tom qab ntawd muab lawv sib zog kom tau txais lub zog. Xws li siv sijhawm ua haujlwm. Qhov no dhau los ua qhov nyuaj dua yog tias koj xav saib xyuas lub zog tsis tu ncua nyob rau lub sijhawm. Zoo, cia koj lub microcontroller ua txhua yam haujlwm nyuaj. Hauv daim vis dis aus no, peb yuav pom yuav ua li cas thiaj tsim tau lub zog hloov pauv pheej yig thiab kawm paub nws ua haujlwm li cas.

Cia peb pib

Kauj ruam 1: Buck Converter thiab Nws Ua Haujlwm

Buck Converter thiab Nws Ua Haujlwm
Buck Converter thiab Nws Ua Haujlwm
Buck Converter thiab Nws Ua Haujlwm
Buck Converter thiab Nws Ua Haujlwm
Buck Converter thiab Nws Ua Haujlwm
Buck Converter thiab Nws Ua Haujlwm

Cia peb saib qhov ntsuas no nyob ib puag ncig LM2596 IC uas muab qhov sib txawv DC qhov hluav taws xob ntawm nws cov chaw tso tawm. Txhawm rau kawm txog kev sib txuas lus tob, kuv tau tshem kuv lub ntsuas cua, muab tso rau hauv hom txuas mus ntxiv thiab pib tshawb nrhiav kom pom tias txuas nrog dab tsi. Tom qab qee qhov kev soj ntsuam, Kuv tuaj nrog lub Circuit Court raws li qhia. Nov yog Buck Converter, tseem hu ua hloov pauv qis. Hloov pauv lub hwj chim muab ib qho hluav taws xob nruab nrab ntawm 1.25V thiab qhov hluav taws xob nkag. Los ntawm kev saib cov ntaub ntawv ntawm LM2596 peb tuaj yeem pom tias nws yog lub cuab yeej hloov pauv yooj yim nrog qee yam uas peb tuaj yeem tsis quav ntsej rau tam sim no.

Yog li kom nkag siab meej, peb tuaj yeem hloov qee feem ntawm kev siv hluav taws xob nrog hloov pauv yooj yim raws li qhia hauv daim duab.

Case 1: Hloov raug kaw (Tuj)

Thaum qhov hloov pauv raug kaw, tam sim no ntws los ntawm lub nra. Qhov no txhawb lub zog inductor uas khaws lub zog hauv nws qhov chaw sib nqus. Lub diode yog rov qab tsis ncaj ncees thiab ua raws li qhib Circuit Court.

Case 2: Hloov tau qhib (Toff)

Thaum qhov hloov pauv qhib, tus inductor's magnetic field collapses uas induce emf thiab yog li tam sim no ntws los ntawm kev thauj khoom thiab diode uas yog tam sim no rau pem hauv ntej kev tsis ncaj ncees.

Txoj hauj lwm ntawm lub tshuab hluav taws xob yog txhawm rau txo cov ntsiab lus ripple hauv cov qauv tsim tawm. Qhov no yog ua tiav thiab rov ua dua.

Qhov tam sim no ntws los ntawm lub nra yuav zoo li qhia hauv daim duab. Cov dej tam sim no yuav nce thaum Lub Caij Nyoog thiab ntog thaum Toff. Los ntawm kev ua lej, peb tuaj yeem suav nrog cov qauv

Vout = α x Vin

qhov twg 'α' paub tias yog lub luag haujlwm hloov pauv uas yog sib npaug rau Ton/T. Raws li α sib txawv ntawm 0 txog 1, peb tuaj yeem pom tias qhov hluav taws xob tso tawm yog qhov feem ntawm qhov hluav taws xob nkag.

Kauj Ruam 2: Yam Koj Yuav Tsum Tau

Yam Koj Yuav Tsum Muaj
Yam Koj Yuav Tsum Muaj

1x Arduino ntawm koj xaiv (me dua qhov zoo dua)

1x INA219 Lub Hwj Huam Saib Xyuas

1x LM2596 Module

1x LM7805 Tus Tswj Hluav Taws Xob

1x OLED Zaub (128 x 64)

1 x DC fais fab tuag

2x Terminal thaiv

1x SPDT hloov

1x 10k Potentiometer (Siv qhov tseeb 10 tig lub lauj kaub yog ua tau)

1 x Lub thawv ntawv

Kauj Ruam 3: Cia Peb Mus Rau Qhov Tsim

Cia Peb Mus Rau Qhov Tsim
Cia Peb Mus Rau Qhov Tsim
Cia Peb Mus Rau Qhov Tsim
Cia Peb Mus Rau Qhov Tsim
Cia Peb Mus Rau Qhov Tsim
Cia Peb Mus Rau Qhov Tsim

Txaus ntawm txoj kev xav. Cia peb sib sau tag nrho cov khoom siv xav tau thiab tsim lub zog me me pheej yig siv lub tshuab hloov pauv no. Daim duab qhia chaw thiab cov cai tau txuas nrog ntawm no. Nco ntsoov tias koj nruab SSD1306 thiab INA219 cov tsev qiv ntawv los ntawm Adafruit.

Txhawm rau kom tau txais txhua qhov ntsuas xav tau, Kuv tau mus nrog INA219. Nws yog Bidirectional Power Monitor nrog I2C. Cov cuab yeej me me no ua rau txoj haujlwm ntsuas tam sim no yooj yim.

Peb yuav siv tsuas yog ob tus pin ntawm Arduino rau I2C. Kuv tsuas yog muaj Arduino Nano thaum lub sijhawm ua qhov haujlwm. Ib qho me me tuaj yeem siv tau.

Kuv desoldered lub hwj chim me me uas nyob ntawm PCB thiab hloov nws nrog 10k potentiometer uas tau txuas ua ntej ntawm lub npov. Yog tias ua tau, siv kaum tig qhov ntsuas qhov tseeb. Qhov no yuav pab ua kom kho tau zoo.

Me me 0.96 nti 128x64 OLED zaub tau siv los tso saib txhua qhov ntsuas los ntawm INA219.

Thaum kawg, lub thawv me me rau txhua yam kom haum. Muaj tswv yim xaiv cov txheej txheem rau cov khoom siv kom ntev li ntev tau raws li qhov xav tau.

Kauj ruam 4: Txaus siab rau

Qhov ntawd yog nws! Rub cov cai thiab pib ua si nrog koj lub cuab yeej me me. Tsuas yog nco ntsoov tias qhov siab tshaj plaws tam sim no uas tuaj yeem rub los ntawm tus hloov pauv yog 3A. Hom qauv no tsis muaj kev tiv thaiv luv luv Circuit Court.

Ua tsaug rau koj ua kom txog thaum kawg. Vam tias koj txhua tus nyiam txoj haujlwm no thiab kawm paub qee yam tshiab hnub no. Qhia rau kuv paub yog tias koj ua ib qho rau koj tus kheej. Sau npe yuav ua rau kuv tus YouTube channel rau ntau qhov haujlwm yav tom ntej. Ua tsaug ntau ntau!

Pom zoo: