Cov txheej txheem:

Stepper Driver Final Project Module: 5 Kauj Ruam
Stepper Driver Final Project Module: 5 Kauj Ruam

Video: Stepper Driver Final Project Module: 5 Kauj Ruam

Video: Stepper Driver Final Project Module: 5 Kauj Ruam
Video: 20 MOMENTS YOU WOULDN'T BELIEVE IF NOT FILMED 2024, Kaum ib hlis
Anonim
Stepper Tsav Tsheb Kawg Qhov Project Module
Stepper Tsav Tsheb Kawg Qhov Project Module

Los ntawm Marquis Smith thiab Peter Moe-Lange

Kauj ruam 1: Taw qhia

Hauv txoj haujlwm no, peb tau siv tus tsav tsheb stepper los tswj lub stepper motor kom tig. Lub tshuab hluav taws xob stepper no muaj peev xwm txav mus los ntawm qhov ua tau zoo heev, thiab ntawm qhov nrawm sib txawv. Peb tau siv Basys 3 FPGA pawg thawj coj los xa lub teeb liab mus rau tus tsav tsheb thiab tus tsav tsheb hla lub khob cij nruab nrab.

Kev ua haujlwm ntxiv tau qhia nrog cov hloov pauv uas sib haum rau cov tswv yim ntawm tus tsav tsheb. Thaum ua haujlwm tau zoo, peb lub zog ua haujlwm sib nrug yuav ua raws lub xeev lub tshuab siv los siv HDL cov cai thiab cov xov hlau, los ntawm tag nrho 1/1 stepper txav mus kom raug raws li 1/16 stepper txav. Peb rov pib dua tsuas yog "ua tsis tau zoo"; qhov ntawd yog tias tsis muaj dab tsi tshwm sim nyob rau hauv lub xeev lub tshuab, tus tsav tsheb yuav ua rau lub cev muaj zog mus rau nws qhov kev txav mus los siab tshaj plaws.

Kauj ruam 2: Cov ntaub ntawv

Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv

Nov yog cov ntaub ntawv koj yuav xav tau rau teeb tsa:

A4988 Stepper Tsav Tsheb

Nema 17 Stepper Motor (Peb siv tus qauv 4-hlau, 6 tus qauv hlau yuav xav tau ntau lub tswv yim thiab cov cai rau kev hloov pauv lub zog/lub zog ua haujlwm)

Ib qho txheej txheem qhob cij

Txheem Jumper xov hlau

Cov khoom siv hluav taws xob sib txawv (Rau qhov haujlwm no, lub zog sib txawv me ntsis tshwj xeeb thiab nkag siab zoo rau kev ua tau zoo)

Daim kab xev (lossis tus chij ntawm qee yam kom pom cov kauj ruam ua kom pom tseeb)

Cov yeeb yaj kiab (Kom txuas lub rooj tsavxwm lub hwj chim, txawm hais tias qhov no tuaj yeem ua tiav ntau txoj hauv kev)

Kauj Ruam 3: Schematics, Code, thiab Block Design

Txoj Cai Txuas:

Cov cai no yog kev siv PWM tus qauv; ib qho uas siv lub moos digital thiab lub luag haujlwm tawm tswv yim thiab tso tawm "rau" thiab "tawm" lub voj voog uas simulates analog inputs. Peb tus neeg tsav tsheb stepper tivthaiv yuav siv cov khoom no los ua cov tswv yim thiab siv nws los tsav lub cav hauv cov kauj ruam.

Kev tsis lees paub: Thaum peb pib siv lub moos VHDL code thiab hloov kho me ntsis nws kom ua haujlwm ntawm peb tus stepper, nws tsis muaj lub luag haujlwm uas peb xav tau los siv ua ntu zus. Cov cai pom nyob hauv "qhov chaw" ib feem ntawm cov ntaub ntawv qhia txog lub koom haum thiab tus sau los ntawm lub npe Scott Larson; txawm li cas los xij peb tau ntxiv hauv lub xeev lub tshuab peb tsim thaum kawg (hauv tib cov ntaub ntawv pwm) uas hloov lub moos rau thiab tawm mus.

Kauj ruam 4: Sib dhos

Los ua ke
Los ua ke

1. Siv 2 Jumper xov hlau, txuas koj ob lub PMOD tso rau hauv lub khob cij. Cov no yog rau lub cim pwm_out thiab koj lub cim taw qhia uas yuav txuas rau tus tsav tsheb tsis ncaj.

2. Siv 3 Jumper xov hlau thiab nyiam dua tib lub PMOD kab rau kev yooj yim, txuas koj qhov "qhov tseeb" tso tawm rau ntawm lub khob cij. Cov xov hlau no yog txhawm rau txheeb xyuas qhov twg lub xeev stepper tau tshwm sim los siv cov tswv yim ntawm tus tsav tsheb dua

3. Siv 4-crimp txuas, txuas 4-xaim lub cev rau lub khob cij. Ua kom ntseeg tau tias qhov kev txiav txim zoo ib yam li tau muab rau ntawm cov qauv teeb tsa; qhov no yog qhov tseem ceeb txwv tsis pub koj tuaj yeem tshuab tawm lub nti.

4. Siv tus thib ob 4-crimp txuas, txuas thawj mus rau thib ob.

5. Piv txwv tias koj tab tom siv ob lub zog tso tawm (2 cais qhov hluav taws xob/qib amp) cov khoom siv hluav taws xob, txuas lub rooj tsav xwm lub VCC tso tawm rau lub khob cij raws li qhia. NCO TSEG: Nco ntsoov tias lub hwj chim tau muab rau pawg thawj coj (thiab tom qab tus neeg tsav tsheb) ua ntej lub cav nyob hauv cov kauj ruam tom ntej, vim tias koj tuaj yeem rhuav tshem sab hauv nti nrog qhov hluav taws xob ntau dhau.

6. Thaum kawg, siv tus kais kais lossis qee lwm cov xov hlau, txuas qhov thib ob qhov hluav taws xob tawm mus rau lub cav IN SERIES. Ua kom ntseeg tau dua tias qhov no siv qhov tso tawm kom raug ntawm tus tsav tsheb.

Kauj Ruam 5: Xaus

Thiab nyob ntawd koj muaj nws, tus tsav lub cev muaj zog uas sib txawv nws cov kauj ruam raws li cov xov hlau uas muab rau tus tsav tsheb. Vim yog peb lub sijhawm txwv, peb tsis muaj peev xwm tab sis xav siv Python los txhais G-code rau hauv cov voj voos uas tom qab ntawd tuaj yeem siv sib txuas nrog ntau lub cav kom tsim tau ntau qhov qauv. Peb kuj tseem tsis tuaj yeem ua tiav qhov kawg 1/16 hom stepper (qhov tseeb tshaj plaws) kom khiav tas li. Qhov no yuav yog vim peb lub xeev lub tshuab raug ntes lossis rov pib dua ua ntej los txog rau theem no, txawm tias thaum peb hloov cov ntaub ntawv nkag tau muaj tseeb.

Nov yog qhov txuas video kawg:

drive.google.com/open?id=1jEnI3bdv_hVR-2FiZinzCbqi8-BS3Pwe

Pom zoo: