Cov txheej txheem:

DIY Emg Sensor Nrog thiab Tsis Muaj Micro-maub los: 6 Cov Kauj Ruam
DIY Emg Sensor Nrog thiab Tsis Muaj Micro-maub los: 6 Cov Kauj Ruam

Video: DIY Emg Sensor Nrog thiab Tsis Muaj Micro-maub los: 6 Cov Kauj Ruam

Video: DIY Emg Sensor Nrog thiab Tsis Muaj Micro-maub los: 6 Cov Kauj Ruam
Video: Test of my own EMG Sensor Circuit - DIY 2024, Kaum ib hlis
Anonim
DIY Emg Sensor Nrog thiab Tsis Muaj Micro-maub los
DIY Emg Sensor Nrog thiab Tsis Muaj Micro-maub los
DIY Emg Sensor Nrog thiab Tsis Muaj Micro-maub los
DIY Emg Sensor Nrog thiab Tsis Muaj Micro-maub los
DIY Emg Sensor Nrog thiab Tsis Muaj Micro-maub los
DIY Emg Sensor Nrog thiab Tsis Muaj Micro-maub los

Zoo siab txais tos rau kev paub sib qhia kev qhia paub platform. Hauv cov lus qhia no kuv yuav tham txog yuav ua li cas ua kom yooj yim emg Circuit thiab tom qab kev suav ua lej suav nrog hauv nws. Koj tuaj yeem siv qhov kev ntsuas no los soj ntsuam cov leeg sib txawv ntawm cov leeg, tswj servo, zoo li joystick, tswj lub cev muaj zog, lub teeb thiab ntau yam khoom siv. Qhov duab thawj qhia txog daim duab duab hluav taws xob uas tsim los hauv ltspice software, daim duab thib ob qhia txog kev sim tawm ntawm ltspice thaum muab nkag thiab daim duab thib peb qhia txog kev tso tawm thaum tsis muaj kev muab tswv yim.

Khoom siv

QHOV TSEEM CEEB

LM741 IC -X 4

NE555 -X1

RESISTOR

10K -X2

1K -X4

500x 2

1.5K -X1

15K -X1

300K -X1

220K -X1

5K -X1

DIODES -X3

CAPACITOR -22 nf (rau 555 TIMER IC)

CAPACITOR -1U -X3

ELECTROLYTIC CAPACITOR -1U (AT OUTPUT)

Kauj Ruam 1: Cov Kauj Ruam Koom Nrog Hauv Kev Tsim Kho Emg

Cov Kauj Ruam Koom Nrog Hauv Kev Tsim Kho Emg
Cov Kauj Ruam Koom Nrog Hauv Kev Tsim Kho Emg

1 Instrumentation amplifier tsim

2 Siab dhau lim

3 Ib nrab choj yoj rectifier

4 Ua kom yooj yim dua

(yeem)

5 pwm teeb liab lub tshuab hluav taws xob.

Kauj Ruam 2: QHIA TSEV KAWM NTAWV AMPLIFIER

INSTRUMENTATION AMPLIFIER
INSTRUMENTATION AMPLIFIER
INSTRUMENTATION AMPLIFIER
INSTRUMENTATION AMPLIFIER
INSTRUMENTATION AMPLIFIER
INSTRUMENTATION AMPLIFIER

1 Kev ntsuas suab nrov

Hauv cov kauj ruam no peb xav tau peb Lm741 ic

liab qhia qhov zoo 9v thiab dub qhia -9v thiab cov xov hlau ntsuab li hauv av

Tam sim no theem tom ntej yog ua kom muaj qhov sib txawv amplifier. Siv ib Lm741 ic txuas tus pin 7 rau qhov zoo thiab tus pin 4 rau qhov tsis zoo (tsis yog hauv av). Txhais 10k resistor txuas ntawm 2 thiab 6 ntawm lm741 ic. Siv ob lm741 ua qhov sib txuas zoo ib yam li thawj zaug Lm741 ic. Tam sim no ntxiv 500 ohms resistor, ib lub davhlau ya nyob twg ntawm 500 ohm resistor rau thawj lub davhlau ya nyob twg ntawm Lm741 ic thiab lub davhlau ya nyob twg thib ob ntawm 500 ohm resistor rau thib ob hloov pauv davhlau ya nyob twg ntawm Lm741 ic raws li qhia hauv daim duab 2

Kev tsim cov cuab yeej siv suab nrov

Nyob rau theem no peb yuav tsum coj tawm thawj Lm741 ic mus rau ib lub davhlau ya nyob twg ntawm 1k resistor thiab lwm lub davhlau ya nyob twg ntawm resistor 1k rau hloov pauv davhlau ya nyob twg ntawm Lm741 ic thib peb, zoo ib yam ntawm Lm741 ic thib ob rau ib lub davhlau ya nyob twg ntawm resistor 1k thiab lwm lub davhlau ya nyob twg ntawm resistor 1k mus rau qhov tsis hloov pauv davhlau ya nyob twg ntawm Peb Lm741 ic. Ua ntxiv 1k resistor nruab nrab ntawm qhov hloov pauv dav dav ntawm peb Lm741 ic thiab tus pin 6 ntawm Peb Lm741 ic, thiab 1k resistor ntawm qhov tsis hloov pauv davhlau ya nyob twg ntawm peb Lm741 ic thiab hauv av (qhov tsis zoo). This ua tiav kev tsim cov cuab yeej amplifier

Kev ntsuas ntawm qhov ntsuas qhov ntsuas

Siv ob lub tshuab hluav taws xob teeb tsa. Teeb tsa lub teeb liab thib 1 nkag mus ua 0.1mv 100 hz (koj xav sim ua qhov sib txawv ntawm qhov sib txawv), zoo ib yam teeb tsa lub cim hluav taws xob thib ob nkag ua 0.2mv 100hz.positive pin ntawm 1st lub tshuab hluav taws xob teeb tsa rau tus pin 3 ntawm thawj LM741 ic thiab tus pin tsis zoo mus rau hauv av, zoo ib yam tus lej zoo ntawm lub cim thib ob lub tshuab hluav taws xob rau tus pin 3 ntawm LM741 ic thib ob thiab tus lej tsis zoo rau hauv av

xam

nce ntawm instrumentation amplifier

nce = (1+ (2*R1)/Rf)*R2/R3

nov

Rf = 500 hli

R1 = 10k

R2 = R3 = 1k

V1 = 0.1mv

V2 = 0.2mv

tso zis ntawm qhov sib txawv amplifier = V2 -V1 = 0.2mv -0.1mv = 0.1mv

nce = (1+ (2*10k)/500)*1k/1k = 41

tso tawm ntawm kev ntsuas qhov ntsuas hluav taws xob = tso tawm qhov sib txawv ntawm qhov sib txawv*nce

cov khoom siv hluav taws xob tso tawm = 0.1mv * 41 = 4.1v

Thiab cov zis oscilloscope yog 4v ncov mus rau qhov siab tshaj plaws hauv daim duab 4, txiav tawm los ntawm tinker cad simulation software li no tsim yog raug thiab peb mus rau kauj ruam tom ntej

Kauj Ruam 3: HIGH PASS FILTER

HIGH PASS FILTER
HIGH PASS FILTER

Kev tsim lim siab dhau

Nyob rau theem no peb yuav tsum tsim lub siab lim kom tsis txhob tsim hluav taws xob tsim tawm los ntawm lub suab nrov. Txhua kom nrov nrov peb yuav tsum tsim lim 50 Hz zaus kom tsis txhob cuam tshuam suab nrov uas tsim los ntawm roj teeb

kev tsim kho

Siv cov cuab yeej siv hluav taws xob txuas thiab txuas nws mus rau ib qho kawg ntawm 1u capacitor thiab lwm qhov kawg ntawm lub tshuab hluav taws xob txuas nrog ib kawg ntawm 15 k resistor thiab lwm qhov kawg ntawm 15k resistor rau inverting davhlau ya nyob twg input ntawm 4th Lm741 ic. Non inverting davhlau ya nyob twg ntawm 4 Lm741 ic Tam sim no coj 300k resistor txuas ntawm tus pin 2 thiab 6 ntawm 4th Lm741 ic

xam

c1 = 1 ua

R1 = 15k

R2 = Rf = 300K

txiav tawm zaus ntawm lim siab dhau

Fh = 1/2 (pi)*R1*C1

Fh = 1/2 (pi)*15k*1u = 50hz

nce ntawm qhov siab dhau lim

Aw = -Rf/R1

Ah = -300k/15k = 20

yog li cov khoom siv los ntawm cov cuab yeej siv suab nrov tau dhau los raws li kev nkag mus rau lub siab lim uas yuav ua kom lub teeb liab 20 zaug thiab teeb liab qis dua 50 Hz raug txo qis

Kauj Ruam 4: ROOJ SIB THAM

SMOOTHING CIRCUIT
SMOOTHING CIRCUIT

Smoothing Circuit

Microcontroller lees txais kev nyeem ntawv los ntawm 0 txog 5v (lwm yam microcontroller tau hais tseg qhov hluav taws xob) lwm qhov kev nyeem lwm qhov kev ntsuas uas tau teev tseg yuav muab qhov tsis raug vim li no pheripheral ntaus ntawv zoo li servo, coj, lub cev muaj zog yuav tsis ua haujlwm tau zoo. Ua kom tiav qhov no peb xav tau los tsim ib nrab nthwv dej kho qhov muag (lossis tag nrho cov nthwv dej choj txuas)

Kev tsim kho

Cov zis los ntawm lub siab lim lim tau muab rau qhov kawg ntawm 1st diode, qhov tsis zoo kawg ntawm 1st diode txuas nrog rau qhov tsis zoo kawg ntawm 2nd diode. Qhov kawg ntawm qhov thib ob diode yog hauv av. Qhov tso tawm yog coj los ntawm kev sib tshuam ntawm qhov tsis zoo kawg diodes. Tam sim no cov zis zoo li rectifed tso tawm ntawm sine wave. Peb tsis tuaj yeem muab ncaj qha rau microcontroller rau kev tswj cov cuab yeej pheripheral vim tias cov khoom tsim tawm tseem sib txawv hauv ib nrab nthwv dej hom kev txhaum. Peb xav tau kom tau txais cov teeb liab dc tas li ntawm 0 txog 5v. Qhov no tuaj yeem ua tiav los ntawm muab cov zis los ntawm ib nrab nthwv dej hloov pauv mus rau qhov zoo kawg ntawm 1uf capacitor thiab qhov tsis zoo kawg ntawm lub capacitor yog hauv av

CODE:

#suav nrog

Servo tswj;

cov potpin = 0;

void teeb tsa ()

{

Serial.begin (9600);

myservo.attach (13);

}

void lub voj ()

{

val = analogRead (tus pin);

Serial.println (nqi);

val = daim ntawv qhia (val, 0, 1023, 0, 180);

myservo.write (nqi);

ncua (15);

Serial.println (nqi);

}

Kauj Ruam 5: TSIS MUAJ MICRO-CONTROLLER VERSION (OPTIONAL)

TSIS MUAJ MICRO-CONTROLLER VERSION (TSIS MUAJ)
TSIS MUAJ MICRO-CONTROLLER VERSION (TSIS MUAJ)

Cov neeg uas tau txais kev pabcuam aurdino lossis tsis nyiam lub program tsis muaj kev txhawj xeeb. Peb muaj kev daws teeb meem rau nws. Aurdino siv cov txheej txheem dav siv tes taw los ua haujlwm ib puag ncig cov cuab yeej (servo, coj, lub cev muaj zog). Peb xav tau los tsim tib yam. Aurdino pwm teeb liab txawv ntawm 1ms txog 2.5ms. Ntawm no 1ms qhia qhov tsawg kawg lossis tawm lub teeb liab thiab 2.5ms qhia lub teeb liab tag nrho. Hauv nruab nrab ntawm lub sijhawm tuaj yeem siv los tswj hwm lwm yam khoom siv ntawm lub cev pheripheral xws li tswj kev ci ci ntawm coj, lub kaum sab xis servo, tswj ceev ntawm lub cev thiab lwm yam

Kev tsim kho

peb xav tau txuas cov khoom tawm los ntawm kev ua kom du mus rau ib qho kawg ntawm 5.1k resistor thiab lwm qhov kawg rau kev sib txuas sib txuas ntawm 220k thiab diode ib kis. 555 timer ic. Pin 4 thiab 8 ntawm 555 timer txuas nrog 5 volt thiab tus pin 1 yog grounded. A capacitor ntawm 22nf thiab 0.1 uf txuas nrog tus pin 2 thiab hauv av. Tawm tau los ntawm tus pin peb ntawm 555 timer ic

Pab kev zoo siab koj tau ua tiav tsis suav nrog micro tswj

Kauj Ruam 6: YUAV UA LI CAS YUAV TSUM siv CIRCUIT

Pom zoo: