Cov txheej txheem:

Advanced Arduino-based DC Electronic Load: 5 Kauj Ruam
Advanced Arduino-based DC Electronic Load: 5 Kauj Ruam

Video: Advanced Arduino-based DC Electronic Load: 5 Kauj Ruam

Video: Advanced Arduino-based DC Electronic Load: 5 Kauj Ruam
Video: How to Build a Simple DC Electronic Load with Arduino Part 1 2024, Kaum ib hlis
Anonim
Advanced Arduino-based DC Electronic Load
Advanced Arduino-based DC Electronic Load

Txoj haujlwm no tau txhawb nqa los ntawm JLCPCB.com. Tsim koj cov phiaj xwm siv software EasyEda online, rub koj cov ntaub ntawv Gerber (RS274X) uas twb muaj lawm, thiab tom qab ntawd xaj koj cov khoom los ntawm LCSC thiab kom tag nrho txoj haujlwm xa ncaj qha mus rau koj lub qhov rooj.

Kuv muaj peev xwm hloov pauv KiCad cov ntaub ntawv ncaj qha rau JLCPCB cov ntaub ntawv gerber thiab xaj cov laug cam no. Kuv tsis tas yuav hloov kho lawv txhua txoj kev. Kuv siv JLCPCB.com lub vev xaib txhawm rau taug qab cov xwm txheej ntawm pawg thawj coj thaum nws tab tom tsim, thiab lawv tau ua rau kuv lub qhov rooj tsis pub dhau 6 hnub tom qab kuv xa qhov kev txiav txim. Txoj cai tam sim no lawv tau muab kev thauj khoom dawb rau TXHUA PCB's thiab PCB's tsuas yog $ 2 txhua!

Intro: Saib kab lus no hauv YouTube ntawm "Scullcom Hobby Electronics" yog li koj tuaj yeem nkag siab qhov ua tiav ntawm kev tsim qauv thiab software. Rub tawm.zip_file los ntawm Video 7 ntawm koob.

Kuv tab tom rov tsim kho thiab hloov kho "Scullcom Hobby Electronic DC Load". Mr. Louis xub tsim txhua qhov txheej txheem kho vajtse thiab software cuam tshuam nrog txoj haujlwm no. Thov xyuas kom nws tau txais credit yog tias koj rov tsim cov qauv no.

Kauj Ruam 1: Txheeb Xyuas "Tus Kws Tshaj Lij Ua Haujlwm" hauv YouTube rau Cov Lus Qhia Tshwj Xeeb Txog PCB Kev Txiav Txim Siab

Image
Image
Ntsuam xyuas
Ntsuam xyuas

Saib cov vis dis aus no, uas yog vis dis aus 1 ntawm koob, thiab kawm paub yuav xaj koj li kev cai PCB li cas. Koj tuaj yeem tau txais kev pom zoo ntawm txhua qhov koj siv los ntawm LCSC.com thiab muaj cov laug cam thiab txhua qhov khoom xa ua ke. Thaum lawv tuaj txog tshuaj xyuas lawv thiab pib siv qhov project.

Nco ntsoov tias sab lo lo ntxhuav-sab yog sab saum toj thiab koj yuav tsum thawb ob txhais ceg ntawm ntu los ntawm sab saum toj thiab muab lawv tso rau sab hauv qab. Yog tias koj cov txheej txheem ua tau zoo, qhov me me ntawm cov laug yuav ntws los rau sab saum toj thiab tsau nyob ib puag ncig puag puag. Txhua tus IC's (DAC, ADC, VREF, thiab lwm yam) mus rau hauv qab ntawm pawg thawj coj ib yam. Xyuas kom koj tsis txhob kub dhau qhov rhiab heev thaum cov lus qhia ntawm koj cov hlau txuas. Koj tuaj yeem siv cov txheej txheem "rov ua dua tshiab" ntawm cov ntawv me me SMD ib yam. Khaws cov txheej txheem ntawm tes thaum tsim lub tsev thiab kuv pom cov txheej txheem thiab txheej txheem pab tau zoo heev ib yam. Siv koj lub sijhawm thiab ua kom ntseeg tau tias txhua tus neeg tawm tsam xaus rau hauv -qhov raug qhov yog. Thaum koj txheeb xyuas ob zaug tias txhua yam nyob hauv qhov chaw raug, siv cov txiav me me los txiav tawm qhov ua ntau dhau ntawm cov ntu.

Hint: koj tuaj yeem siv ob txhais ceg ntawm cov neeg tawm tsam los tsim cov jumper txuas rau cov teeb liab. Txij li txhua tus tiv thaiv nyob rau sab hnub tuaj 0.5W, lawv nqa lub teeb liab zoo xwb.

Kauj ruam 2: Calibration

Calibration
Calibration
Calibration
Calibration

Kab "SENSE" tau siv los nyeem qhov ntsuas hluav taws xob ntawm qhov ntsuas, thaum lub ntsuas tau ntsuas. Nws tseem yog lub luag haujlwm rau kev nyeem qhov hluav taws xob uas koj pom ntawm LCD. Koj yuav tsum ntsuas ntsuas kab "SENSE" nrog lub load "on" thiab "off" ntawm ntau qhov hluav taws xob kom ntseeg tau qhov tseeb tshaj plaws. (ADC muaj 16-ntsis kev daws teeb meem yog li koj tau txais qhov raug 100mV nyeem tau zoo- koj tuaj yeem hloov qhov nyeem tawm hauv software, yog xav tau).

Cov zis los ntawm DAC tuaj yeem hloov kho thiab teeb tsa lub zog tsav rau Lub Rooj vag ntawm Mosfets. Hauv cov vis dis aus, koj yuav pom kuv hla dhau 0.500V, faib hluav taws xob thiab kuv tuaj yeem xa tag nrho 4.096V los ntawm VREF mus rau Lub Rooj vag ntawm Mosfets. Hauv txoj kev xav yuav tso cai txog 40A tam sim no ntws los ntawm lub nra.* Koj tuaj yeem kho lub qhov rooj tsav qhov hluav taws xob siv 200Ohm 25-tig potentiometer (RV4).

RV3 teeb tsa qhov tam sim no uas koj pom ntawm LCD thiab tsis muaj qhov thauj khoom tam sim no ntawm chav tsev. Koj yuav tsum tau kho lub hwj chim kom qhov nyeem tau raug ntawm lub LCD, thaum tswj kom tsawg li sai tau "OFF" kos tam sim no ntawm lub nra. Qhov no txhais li cas koj nug? Zoo, qhov yog qhov ua yuam kev me me qhov kev tawm tswv yim voj tswj. Thaum koj txuas lub nra rau lub dav hlau thauj khoom ntawm lub tsev, qhov me me "xau tam sim no" yuav nkag los ntawm koj lub cuab yeej (lossis roj teeb) hauv kev sim thiab nkag rau hauv chav. Koj tuaj yeem txiav qhov no mus rau 0.000 nrog lub ntsuas hluav taws xob, tab sis kuv tau pom tias yog tias koj teeb tsa nws mus rau 0.000 dua li lub LCD nyeem ntawv tsis raug raws li qhov koj cia 0.050 ntsiag to. Nws qhov me me "qhov tsis zoo" hauv chav tsev thiab nws tau hais txog.

*Nco tseg: Koj yuav tsum tau hloov kho software yog tias koj sim hla lossis hloov pauv qhov faib hluav taws xob thiab koj ua li ntawd ntawm koj tus kheej qhov kev pheej hmoo. Tshwj tsis yog tias koj muaj kev paub ntau nrog cov khoom siv hluav taws xob, tawm hauv chav teeb mus rau 4A zoo li tus qauv qub.

Kauj Ruam 3: Txias

Cua txias
Cua txias
Cua txias
Cua txias
Cua txias
Cua txias

Xyuas kom tseeb tias koj tso lub kiv cua kom koj tau txais cov pa ntau tshaj ntawm Mosfets thiab lub dab dej kub*. Kuv yuav siv peb (3) tus kiv cua tag nrho. Ob qho rau Mosfet/cua sov thiab ib qho rau LM7805 tus tswj hluav taws xob. 7805 muab tag nrho lub zog rau cov xov tooj cua digital thiab koj yuav pom nws tau nyob ntsiag to sov. Yog tias koj npaj yuav muab qhov no tso rau hauv ib rooj plaub kom ntseeg tau tias rooj plaub loj txaus kom tso cai kom muaj huab cua txaus txaus hla Fets thiab tseem ncig thoob plaws qhov chaw. Tsis txhob cia lub kiv cua tshuab cua kub ncaj qha mus rau lub capacitors ib yam, vim qhov no yuav ua rau lawv ntxhov siab thiab ua rau lawv lub neej luv.

*Nco tseg: Kuv tseem tsis tau tso lub cua sov tso rau qhov haujlwm no (thaum lub sijhawm tshaj tawm) tab sis kuv yuav thiab koj xav tau ib qho! Thaum kuv txiav txim siab txog rooj plaub (Kuv tab tom yuav 3D luam tawm ib rooj plaub tshwj xeeb) Kuv yuav txiav cov cua sov kom me me thiab teeb tsa lawv.

Kauj ruam 4: Software

Lub Software
Lub Software
Lub Software
Lub Software
Lub Software
Lub Software
Lub Software
Lub Software

Txoj haujlwm no yog ua raws Arduino Nano thiab Arduino IDE. Mr. Louis sau qhov no hauv 'modular' yam uas tso cai rau tus neeg siv kawg hloov kho nws rau nws qhov kev xav tau. (*1) Txij li thaum peb siv 4.096V qhov ntsuas hluav taws xob thiab 12-ntsis DAC, MCP4725A, peb tuaj yeem kho qhov tso tawm ntawm DAC kom raws nraim 1mV rau ib kauj ruam (*2) thiab ntsuas lub qhov rooj tsav tsheb kom raug rau Mosfets (uas tswj hwm tam sim no los ntawm kev thauj khoom). 16-ntsis MCP3426A ADC, tseem tau tsav los ntawm VREF yog li peb tuaj yeem yooj yim tau txais 0.000V kev daws teeb meem rau kev ntsuas qhov ntsuas hluav taws xob. Qhov chaws, raws li yog, los ntawm.zip yuav tso cai rau koj sim ntsuas mus txog 50W lossis 4A, qhov twg los xij. yog ntau dua, hauv ib qho 'tsis tu ncua-tam sim no', 'lub zog tsis tu ncua', lossis 'qauv tsis tu ncua'. Chav tsev kuj tseem muaj lub roj teeb ntsuas ua haujlwm uas tuaj yeem siv 1A tso tawm tam sim no rau txhua qhov roj teeb loj chemistry. Thaum nws ua tiav nws yuav tso saib tag nrho lub peev xwm ntawm txhua lub xov tooj ntawm tes kuaj. Chav tsev tseem muaj hom kev hloov pauv thiab lwm yam zoo uas tsuas yog tshawb xyuas. INO_file kom paub meej.

Lub firmware yog chalk tag nrho ntawm kev nyab xeeb nta ib yam. Ib qho ntsuas kub sib piv tso cai rau kiv cua tswj hwm thiab txiav tawm yog tias qhov kub siab tshaj. Lub roj teeb hom tau teeb tsa ua ntej (kho tau) qis hluav taws xob txiav tawm rau txhua qhov kev siv tshuaj lom neeg thiab tag nrho chav tsev yuav kaw yog tias qhov ntsuas hluav taws xob siab tshaj.

(*1) uas kuv ua. Kuv yuav tshaj tawm cov vis dis aus ntau ntxiv thiab ntxiv rau txoj haujlwm no thaum nws nce mus.

(*2) [(12-ntsis DAC = 4096 cov kauj ruam) / (4.096Vref)] = 1mV. Txij li tsis muaj dab tsi zoo tag nrho, muaj lub lauj kaub txiav kom suav nrog lub suab nrov thiab lwm yam cuam tshuam.

Kauj ruam 5: Dab Tsi Ntxiv

Dab Tsi Ntxiv
Dab Tsi Ntxiv
Dab Tsi Ntxiv
Dab Tsi Ntxiv
Dab Tsi Ntxiv
Dab Tsi Ntxiv

Kuv tab tom hloov kho txoj haujlwm no, ob qho tib si kho vajtse thiab software, nrog lub hom phiaj ua kom nws ruaj khov ntawm 300W/ 10A. Qhov no tsuas yog pib ntawm yam uas yuav muaj tseeb los ua qhov zoo tshaj plaws DIY Roj Teeb Tester/ Lub Hom Phiaj Dav DC Load. Ib chav sib piv los ntawm cov neeg muag khoom lag luam yuav raug nqi koj ntau pua, yog tias tsis ntau txhiab daus las, yog li koj mob siab txog kev sim koj DIY 18650 Powerwalls rau kev nyab xeeb siab tshaj plaws thiab kev ua tau zoo, Kuv txhawb koj kom tsim qhov no rau koj tus kheej.

Nyob twj ywm kom paub ntau ntxiv:

1) Kev cai 3D luam ntawv siv OnShape

2) 3.5 TFT LCD zaub

3) Ua kom muaj zog thiab nyob ib puag ncig

Xav tias dawb nug cov lus nug uas koj yuav muaj txog qhov haujlwm no. Yog tias kuv tau tso tseg ib yam dab tsi tseem ceeb, Kuv yuav sim rov qab thiab hloov kho nws. Kuv muab tso ua ke ob peb ntawm "ib nrab tsim cov khoom siv" suav nrog PCB, tus tiv thaiv, JST-txuas, txiv tsawb jacks, diodes, capacitors, programmed Arduino, header pins, rotary encoder, latching power switch, laub khawm, thiab lwm yam thiab yuav ua rau lawv muaj sai sai no. (Kuv yuav tsis ua "cov khoom siv ua tiav" vim tus nqi ntawm IC ntau yam xws li DAC/ADC/Mosfets/thiab lwm yam, tab sis koj yuav muaj peev xwm muaj txog 80% ntawm cov khoom npaj mus, hauv ib pob khoom, nrog cov kws tshaj lij PCB).

Ua tsaug thiab Txaus siab rau.

Pom zoo: