Đồ án Lập trình thiết kế bộ nguồn cho động cơ một chiều bằng ngôn ngữ c++

Nội dung file nguồn *. Cpp #include #include #include main() { float D,Nmax,Mmax,ss ;//bien so cong nghe float Uf1,Uf2,f,doondinh; // bien du lieu nguon float Ud,Id,Ru,Ndm,Pd,p,cuonbu ; //bien du lieu dong co float Ulv,Ilv,Ihd, Un,Unv,Idm,Ir,deltaUv; //bien thong so cua van float If1,If2,S,n,l,deltaP,Ud0; // bien so cua bien ap float Qfe,h,d,tiso,Bt,bfe,a,b,c,H,C,dfe; // bien trung gian mach tu MBA float W1,W2,d1,d2,dn1,dn2,J1,J2,S1,S2,l1,l2;// bien trung gian day quan float W11,h2,W12,n12,Dt2,Dn2,cd22,Bd2;//bien trung gian kat cau float Dn1,Dtb1,cd01,h1,hg,Kc,n11,S01,Dt,Dt1,cd11,Bd1,a01,nl; float a1,a2,b1,b2,dn11,dn22; //bien thong so day quan chu nhat float Dtb2,D12,r12,a22; // cac thong so con lai cua MBA float deltaUba,cdt,cdn,Bd; float Mcu1,Mcu2,Mcu; float R1,R2,Rba,Xba,Rbk,Lba,Zba,deltaPn; float Unr,Unx,deltaUr,deltaUx; float g,gmax,Udmin,Ukn,U1n,U1m; float L,Lu,t,Lk;//bien tinh toan cuon khang float Zk,deltaUk,Sk,Qk,ak,bk,ck,Wk,mk,adk,bdk; float Jk,Ik,Qcsk,kld,hk,hgk,n1k,a01k,cd1k; float Bdk,Bdtk,l1k,l2k,ltbk,Vfek,Mfek,Mcuk; float Btk,Hk,Ck,W1k,Rk; int sopha,k, chedo; float pi=3.141592654;

doc44 trang | Chia sẻ: ngtr9097 | Lượt xem: 2056 | Lượt tải: 0download
Bạn đang xem trước 20 trang tài liệu Đồ án Lập trình thiết kế bộ nguồn cho động cơ một chiều bằng ngôn ngữ c++, để xem tài liệu hoàn chỉnh bạn click vào nút DOWNLOAD ở trên
Ch­¬ng tÝnh thiÕt kÕ bé nguån cho ®éng c¬ ®iÖn mét chiÒu b»ng ng«n ng÷ C++ Néi dung file nguån *. Cpp #include #include #include main() { float D,Nmax,Mmax,ss ;//bien so cong nghe float Uf1,Uf2,f,doondinh; // bien du lieu nguon float Ud,Id,Ru,Ndm,Pd,p,cuonbu ; //bien du lieu dong co float Ulv,Ilv,Ihd, Un,Unv,Idm,Ir,deltaUv; //bien thong so cua van float If1,If2,S,n,l,deltaP,Ud0; // bien so cua bien ap float Qfe,h,d,tiso,Bt,bfe,a,b,c,H,C,dfe; // bien trung gian mach tu MBA float W1,W2,d1,d2,dn1,dn2,J1,J2,S1,S2,l1,l2;// bien trung gian day quan float W11,h2,W12,n12,Dt2,Dn2,cd22,Bd2;//bien trung gian kat cau float Dn1,Dtb1,cd01,h1,hg,Kc,n11,S01,Dt,Dt1,cd11,Bd1,a01,nl; float a1,a2,b1,b2,dn11,dn22; //bien thong so day quan chu nhat float Dtb2,D12,r12,a22; // cac thong so con lai cua MBA float deltaUba,cdt,cdn,Bd; float Mcu1,Mcu2,Mcu; float R1,R2,Rba,Xba,Rbk,Lba,Zba,deltaPn; float Unr,Unx,deltaUr,deltaUx; float g,gmax,Udmin,Ukn,U1n,U1m; float L,Lu,t,Lk;//bien tinh toan cuon khang float Zk,deltaUk,Sk,Qk,ak,bk,ck,Wk,mk,adk,bdk; float Jk,Ik,Qcsk,kld,hk,hgk,n1k,a01k,cd1k; float Bdk,Bdtk,l1k,l2k,ltbk,Vfek,Mfek,Mcuk; float Btk,Hk,Ck,W1k,Rk; int sopha,k, chedo; float pi=3.141592654; textcolor(3);// thay doi mau cua chu clrscr(); cout<<"\n CHUONG TRINH TINH BO NGUON CHO DC DIEN MOT CHIEU"; cout <<"\n BAN CO THE CHON CHE DO TINH TOAN "; cout<<"\n co hai che do : ban tu dong va che do ban tu chon"; cout<<"\n NEU CHON BAN TU DONG THI AN (1) "; cout <<"\n CHE DO TU BAN CHON KICH THUOC THI AN (2) "; cin>>chedo; cout<<"\n CAC THONG SO CONG NGHE"; cout<<"\n dai dieu chinh toc do D="; cin>>D; cout<<"\n toc do lon nhat(vong/phut) Nmax="; cin>>Nmax; cout<<"\n momem lon nhat Mmax="; cin>>Mmax; cout<<"\n sai so toc do cho phep ss="; cin>>ss; cout<<"\n THONG SO CUA NGUON"; cout<<"\n dien ap pha(V) Uf1 ="; cin>>Uf1; cout<<"\n tan so cua nguon (Hz) f="; cin>>f; cout<<"\n do on dinh cua nguon ondinh="; cin>>doondinh; cout<<"\n so pha cua nguon sopha="; cin>>sopha; if ((sopha!=1)&(sopha!=3)) { cout<<"\n ban vao sai so pha, hay vao lai so pha chi bang 1hoac 3"; cout<<"\n sopha="; cin>>sopha; } cout<<"\n CAC THONG SO DONG CO"; cout<<"\n cong suat dong co(W) Pd="; cin>>Pd; cout<<"\n dien ap dong co(V) Ud="; cin>>Ud; cout<<"\n dong dien dong co (A)Id="; cin>>Id; cout<<"\n dien tro phan ung dong co(om) Ru="; cin>>Ru; cout<<"\n toc do dinh muc dong co(vong/phut) Ndm="; cin>>Ndm; cout<<"\n vao so doi cuc dong co p="; cin>>p; cout<<”\n DA NHAP DU CAC THONG SO CAN THIET, AN ENTER DE TIEP TUC”; getch(); clrscr(); textcolor(12); if (sopha==3) { cout<<"\n nguon dien xoay chieu ba pha"; cout<<"\n chon so do chinh luu la chinh luu cau 3 pha dieu khien doi xung"; cout<<"boi vi tai la dong co dien mot chieu co yeu cau tra nang luong ve luoi"; Ulv = ((pi/3)*Ud); Unv=1.8*Ulv; Ihd=0.71*Id; } else if (sopha==1) { cout<<"\n nguon dien xoay chieu mot pha"; cout<<"\n chon so do chinh luu la chinh luu cau 1 pha dieu khien doi xung"; cout<<"boi vi tai la dong co dien mot chieu co yeu cau tra nang luong ve luoi"; Ulv = 1.57135*Ud; Unv=1.8*Ulv; Ihd=0.7071*Id*2; } cout<<"\n dien ap nguoc toi thieu cua van la(V) Unv="<<Unv; cout<<"\n dong dien lam viec toi thieu cua van la (A)Ilv="<<Ihd; cout<<"\n voi cac gia tri tren ban chon van thich hop voi cac thong so cua van"; cout<<"\n dien ap nguoc cua van la(V) Unv="; cin>> Unv; cout<<"\n dong dien dinh muc cua van la(A) Idm="; cin>>Idm; cout<<"\n sut ap tren van la(V) dletaUv="; cin>>deltaUv; cout<<"\n dong dien ro qua van la(A) Ir="; cin>>Ir; cout<<”\n DA NHAP DU THONG SO VAN, AN ENTER DE TIEP TUC”; getch(); deltaP= deltaUv*Idm; if (deltaP<=20) cout<<"\n chon dieu kien lam mat cua van la lam mat tu nhien"; else if ((deltaP>20)&(deltaP<=40)) { cout<<"\n chon dieu kien lam mat cua van la"; cout<<" co canh toa nhiet voi day du dien tich lam mat khong co quat doi luu"; } else if ((deltaP>40)&(deltaP<100)) { cout<<"\n chon dieu kien lam mat cua van la"; cout<<" co canh toa nhiet va co quat doi luu"; } else { cout<<"\n chon dieu kien lam mat cua van la "; cout<<"co canh toa nhiet va lam mat cuong buc"; } S=1.05*Pd; deltaUba=0.07*Ud; Ud0=(Ud+(2*deltaUv)+deltaUba)/cos(10*pi/180); if (sopha==3) { Uf2=Ud0/2.34; If2=sqrt(2.0/3.0)*Id; If1=(Uf2*If2)/Uf1; } else if (sopha==1) { Uf2=Ud0/0.9; If2= sqrt(2.000)*Id; If1=(Uf2*If2)/Uf1; } cout<<"\n cong suat may bien ap la(VA) Sba="<<S; cout<<"\n dien ap pha so cap may bien ap(V) Uf1="<<Uf1; cout<<"\n dien ap pha thu cap may bien ap la(V) Uf2="<<Uf2; cout<<"\n dong dien pha so cap may bien ap(A) If1="<<If1; cout<<"\n dien ap pha thu cap may bien ap(A) If2 ="<<If2; Qfe=6.0*sqrt(S/(sopha*f)); if (S>=10000) { cout<<"\n CHON TRU THEP CO TIET DIEN TRON "; d=ceil(sqrt((4*Qfe/pi))); cout<<"\n duong kinh tru la(cm) d="<<d; if (chedo==2) { cout<<"\n chon ti so chieu cao va duong kinh tru h/d="; cin >>tiso; cout<<"\n trong do d: duong kich cua tru"; cout<<"\n h: chieu cua tru"; } else if (chedo==1) tiso=2.5; h=ceil(d*tiso); cout<<"\n chieu cao tru thep la(cm) h="<<h; } else { cout<<"\n CHON TRU THEP TIET DIEN HINH CHU NHAT "; if (chedo==2) { cout<<"\n ta co cac ti so tuong ung la tiso=h/a, "; cout<<"n=c/a,l=b/a,theo kinh nghiem ta co tiso=2.5,n=1.5,l=1den1.5"; cout<<"\n trong do a: la be rong cua tru"; cout<<"\n b: be day cua tru"; cout<<"\n c: be rong cua so mach tu"; cout<<"\n h: chieu cao cua so mach tu"; cout<<"\n ban chon cac ti so tuong ung"; cout<<"\n ti so giua chieu cao cua so va be rong tru h/a="; cin>>tiso; cout<<"\n ti so giua be rong cua cua so va be rong cua tru la c/a="; cin>>n; cout<<"\n ti so giua be day va be rong cua tru b/a="; cin>>l; } else if (chedo==1) { tiso=2.5; n=1.5; l=1.5; } a=ceil(sqrt(Qfe/l)); b=ceil(l*a); c=ceil(n*a); h=ceil(tiso*a); cout<<"\n be rong cua tru la(cm) a="<<a; cout<<"\n be day cua tru la(cm) b="<<b; cout<<"\n chieu rong cua so mach tu la(cm) c="<<c; cout<<"\n chieu la cua so mach tu(cm) h="<<h; H=a*2+h; C=2*c+3*a; cout<<"\n chieu cao mach tu la (cm) H="<<H; cout<<"\n chieu dai mach tu la (cm) C="<<C; } if (chedo==2) { cout<<"\n chon loai thep co be day (mm) bfe="; cin>>bfe; cout<<"\n chon mat do tu cam cua thep la (T) Bt="; cin>>Bt; } else if (chedo==1) { bfe=0.5; Bt=1.0; } W1=ceil((Uf1*10000)/(4.44*f*Qfe*Bt)); W2=ceil(Uf2*W1/Uf1); cout<<"\n so vong day so cap may bien ap la(vong) W1="<<W1; cout<<"\n so vong day thu cap may bien ap la(vong) W2="<<W2; cout<<"\n TINH TOAN THONG SO DAY SO CAP MAY BIEN AP"; { if (chedo==2) { cout<<"\n chon mat do dong dien trong day quan so cap(A/mm) J1="; cin>>J1; cout<<"\n chon mat do dong dien trong day quan thu cap(A/mm) J2="; cin>>J2; } else if (chedo==1) { J1=2.75; J2=2.75; } S1=If1/J1; cout<<"\n tiet dien day so cap theo tinh toan (mm2) S1="<<S1; if (S1>4.0) { cout<<"\n CHON DAY DAN TIET DIEN HINH CHU NHAT"; cout<<"\n chuan hoa kich thuoc be day day dan(mm) a1="; cin>>a1; cout<<"\n chieu rong day dan(mm) b1="; cin>>b1; S1=a1*b1; dn1=b1; dn11=a1; } else { cout<<"\n CHON DAY DAN TIET DIEN TRON"; d1=sqrt(4.0*S1/pi); cout<<"\n duong kinh day quan so cap(mm) d1="<<d1; cout<<"\n duong kinh day quan so cap theo chuan hoa(mm) d1="; cin>>d1; cout<<"\n tiet dien day so cap theo chuan hoa(mm2) S1="; cin>>S1; cout<<"\n duong kinh ngoai day so cap ke ca cach dien (mm) dn1="; cin>>dn1; dn11=dn1; } J1=If1/S1; cout<<"\n mat do dong dien day so cap theo tinh toan la(A/mm) J1="<<J1; } cout<<"\n TINH TOAN THONG SO DAY QUAN THU CAP"; { S2=If2/J2; cout<<"\n tiet dien day thu cap theo tinh toan la (mm2) S2="<<S2; if (S2>4) { cout<<"\n CHON DAY DAN TIET DIEN HINH CHU NHAT"; cout<<"\n chuan hoa kich thuoc chieu day day (mm) a2="; cin>>a2; cout<<"\n chieu rong day(mm) b2="; cin>>b2; S2=a2*b2; dn2=b2; dn22=a2; } else { cout<<"\n CHON DAY DAN TIET DIEN TRON"; d2=sqrt(4.0*S2/pi); cout<<"\n duong kinh day thu cap theo tinh toan la (mm) d2="<<d2; cout<<"\n duong kinh day thu cap theo chuan hoa (mm) d2="; cin>>d2; cout<<"\n duong kinh ngoai day thu cap la (mm) dn2="; cin>>dn2; cout<<"\n tiet dien day theo chuan hoa(mm) S2="; cin>>S2; dn22=dn2; } J2=If2/S2; cout<<"\n mat do dong dien day thu cap theo tinh toan la(mm) J2="<<J2; } cout<<"\n KET CAU DAY SO CAP"; cout<<"\n chon be day ong day bang vat lieu cach dien (mm) S01="; cin>>S01; if (chedo==2) { cout<<"\n chon he so ep chat Kc="; cin>>Kc; cout<<"\n chon cach dien giua cac lop day cuon so cap(mm) cd11="; cin>>cd11; cout<<"\n chon be day cach dien giua hai cuon day la(mm) cd01="; cin>>cd01; cout<<"\n chon cach dien giua cac lop day thu cap(mm) cd22="; cin>>cd22; cout<<"\n chon be day cach dien trong la(mm) cdt="; cin>>cdt; cout<<"\n chon be day cach dien ngoai(mm) cdn="; cin>>cdn; } else if (chedo==1) { Kc=0.95; cd11=0.1; cd01=1; cd22=0.1; cdt=1; cdn=1; } hg=S01;//khoang cach tu gong toi cuon so cap W11=(h*10-2*hg)*Kc/dn1; n11=ceil(W1/W11); W11=floor(W1/n11); cout<<"\n so lop day cuon so cap la(lop) n11="<<n11; cout<<"\n so vong day so cap tren moi lop la(vong/lop) W11="<<W11; h1=W11*dn1/Kc;//chieu cao thuc te cuon day so cap a01=10;//khoang cach tu tru toi cuon day so cap cdt=S01; if (S>10000) Dt1=d*10+2*a01; else { Dt1=10*sqrt(a*a+b*b)+2*cdt; } Bd1=(dn11+cd11)*n11; Dn1=Dt1+2*Bd1; Dtb1=(Dt1+Dn1)/2; l1=(W1*pi*Dtb1)/1000; cout<<"\n chieu dai day quan so cap la(m) l1="<<l1; cout<<"\n KET CAU DAY THU CAP"; h2=h1; W12=h2*Kc/dn2; n12=ceil(W2/W12); W12=floor(W2/n12); h2=W12*dn2/Kc; Dt2=Dn1+2*cd01; Bd2=(dn22+cd22)*n12; Bd=Bd1+Bd2+cdt+cdn; Dn2=Dt2+2*Bd2; Dtb2=(Dt2+Dn2)/2.0; l2=W2*pi*Dtb2/1000.0; cout<<"\n so lop day cua cuon day thu cap (lop) n12="<<n12; cout<<"\n so vong tren moi lop (vong/lop) W12="<<W12; cout<<"\n chieu dai day quan thu cap (m) l2="<<l2; cout<<"\n tinh khoi luong dong"; if (sopha==3) { Mcu1=S1*l1*8.9*3*0.001; Mcu2=S2*l2*8.9*3*0.001; } else if (sopha==1) { Mcu1=S1*l1*8.9*0.001; Mcu2=S2*l2*8.9*0.001; } Mcu=Mcu1+Mcu2; cout<<"\n KHOI LUONG DONG 1 CUON SO CAP(kg) Mcu1="<<Mcu1; cout<<"\n KHOI LUONG DONG 1 CUONG THU CAP (kg) Mcu2="<<Mcu2; cout<<"\n TONG KHOI LUONG DONG (kg) Mcu="<<Mcu; float r75=0.02133; R1=r75*l1/S1; R2=r75*l2/S2; Rba=R2+R1*(W2/W1)*(W2/W1); deltaUr=Rba*Id; Rbk=Dt2/2; //ban kinh trong cuon day thu capmay bien ap Xba=16*pi*pi*W2*W2*(Rbk/h)*(cd01+(Bd1+Bd2)/3)*0.001*pi*f*0.0000001; Lba=Xba/(2*pi*f); if (sopha==3) { deltaUx=3*Xba*Id/pi; deltaPn=3*Rba*Id*Id; Unr=3*Rba*If2*100/Uf2 ; } else if (sopha==1) { deltaUx=Xba*Id/pi; deltaPn=Rba*Id*Id; Unr=Rba*If2*100/Uf2 ; } deltaUba=sqrt(deltaUr*deltaUr+deltaUx*deltaUx); Zba=sqrt(Rba*Rba+Xba*Xba); deltaP=deltaPn*100/S; Unx=Xba*If2*100/Uf2; Un=sqrt(Unr*Unr+Unx*Unx); cout<<"\n dien tro cuon so cap(om) R1="<<R1; cout<<"\n dientro cuong thu cap(om) R2="<<R2; cout<<"\n dien tro may bien ap(om) Rba="<<Rba; cout<<"\n dien cam may bien ap(om) Xba="<<Xba; cout<<"\n tong sut ap(V) deltaUba="<<deltaUba; cout<<"\n cong suat ton hao ngan mach(%) deltaP="<<deltaP; cout<<"\n dien ap ngan mach(%) Un="<<Un; cout<<"\n XAC DINH THANH PHAN SONG HAI "; Udmin=(2.34*Uf2*cos(10*pi/180)+(D-1)*Id*(Ru+Rba+3*Xba/pi))/D; t=Udmin/Ud0; cout<< "\n goc mo lon nhat la goc co arcos(goc)= "<<t; cout<<"\n vao bac song hai can tinh k="; cin>>k; cout<<"\n vao gia tri goc cua song hai can tinh(do) g="; cin>>g; Ukn=3*sqrt(6)*Ud0*sqrt(1+36*k*k*tan(g*pi/180)*tan(g*pi/180))/(pi*(36*k*k-1)); cout<<"\n tri so cua song hai voi bac va"; cout<<"goc tuong ung la(V) Ukn="<<Ukn; U1m=2*Ud0*t*sqrt(1+36.0*(1/(t*t)-1))/35.0; L=U1m/(1.2*pi*f*Id); Lba=Xba/(2*pi*f); cout<<"\n dong co co cuon bu khong ? neu co thi an 1, khong thi an 2 "; cin>>cuonbu; if (cuonbu==1) { Lu=0.25*Ud*30.0/(pi*Ndm*Id*p); } else if (cuonbu==2) { Lu=0.55*Ud*30/(pi*Ndm*Id*p); } Lk=L-(Lu+2.00*Lba); if (Lk<0) {Lk=-Lk;} else if (Lk>0) Lk=Lk; cout<<"\n dien cam cuon khang loc la (H) Lk="<<Lk; Zk=2*pi*f*Lk; deltaUk=Zk*Id/sqrt(2); Sk=deltaUk*Id*0.1/sqrt(2); Qk=5*100*sqrt(Sk/(6*f)); cout<<"\n tiet dien cuon khang theo tinh toan la(mm2) Qk="<<Qk; cout<<"\n chon tiet dien cuon khang theo chuan hoa (mm2) Qk="; cin>>Qk; cout<<"\n tuong ung co be rong tru cuon khang (mm) ak="; cin>>ak; cout<<"\n va be day tru cuon khang (mm) bk="; cin>>bk; if (chedo==2) { cout<<"\n ty so hinh dang mk=hk/ak="; cin>>mk; cout<<"\n chon mat do tu cam trong tru(T) Btk="; cin>>Btk; cout<<"\n chon mat do dong dien qua cuon khang Jk="; cin>>Jk; cout<<"\n chon ty so lap day cuon khang la Kld="; cin>>kld; } else if (chedo==1) { mk=2.5; Btk=0.85; Jk=2.5; kld=0.75; } Wk=ceil(1000000*deltaUk/(4.44*f*Btk*Qk)); Ik=sqrt(Id*Id+(0.01*Id*Id/sqrt(2))); Sk=Ik/Jk; cout<<"\n tiet dien day quan cuon khang theo tinh toan la Sk="<<Sk; cout<<"\n chuan hoa kich thuoc day"; cout<<"\n chieu day day quan la (mm) adk="; cin>>adk; cout<<"\n chieu rong day quan la(mm) bdk="; cin>>bdk; Sk=adk*bdk; Jk=Ik/Sk; Qcsk=Wk*Sk/kld; hk=mk*ak; ck=ceil(Qcsk/hk); Hk=hk+ak; Lk=2*ck+2*ak; hgk=2; W1k=floor((hk-2*hgk)/bk); n1k=ceil(Wk/W1k); a01k=3; cd1k=0.1; Bdk=(adk+cd1k)*n1k; Bdtk=Bdk+a01k; l1k=2*(ak+bk)+2*pi*a01k; l2k=2*(ak+bk)+2*pi*(a01k+Bdk); ltbk=(l1k+l2k)/2; Rk=r75*ltbk*Wk*0.001/Sk; Vfek=ak*bk*(2*hk+1); Mfek=Vfek*7.85*0.001; Mcuk=Sk*ltbk*Wk*0.001*8.9; cout<<"\n CAC THONG SO CUON KHANG"; cout<<"\n tri so dien cam(H) Lk="<<Lk; cout<<"\n so vong day cuon khang(vong) Wk="<<Wk; cout<<"\n tiet dien day cuon khang(mm2) Sk="<<Sk; cout<<"\n tiet dien tru cuon khang(mm2) Qk="<<Qk; cout<<"\n dien tich cua so cuon khang(mm2) Qcsk="<<Qcsk; cout<<"\n BAN ENTER DE XEM THONG SO DAU RA THEO YEU CAU"; getch() ; { clrscr(); textcolor(12); cout<<"\n\n CAC THONG SO CUA MAY BIEN AP DONG LUC "; cout<<"\n cong suat bien ap (VA) Sba="<<S; cout<<"\n dien ap so cap may bien ap (V) Uf1="<<Uf1; cout<<"\n dien ap thu cap may bien ap (V) Uf2="<<Uf2; cout<<"\n dong dien so cap may bien ap (A) If1="<<If1; cout<<"\n dong dien thu cap may bien ap (A) If2="<<If2; cout<<"\n tiet dien day so cap may bien ap (mm2) S1="<<S1; cout<<"\n tiet dien day thu cap may bien ap (mm2) S2="<<S2; cout<<"\n tiet dien tru (mm2) Qfe="<<Qfe; cout<<"\n dien cam may bien ap (H) Lba="<<Lba; cout<<"\n dien tro may bien ap (om) Rba="<<Rba; cout<<"\n tong sut ap may bien ap (V) deltaUba="<<deltaUba; cout<<"\n ton hao cong suat ngan mach (W) deltaPn="<<deltaPn; cout<<"\n dien ap ngan mach la (V) Un="<<Un; cout<<"\n\n CAC DU LIEU CUON KHANG LOC"; cout<<"\n tri so dien cam (H) Lk="<<Lk; cout<<"\n so vong day (vong) Wk="<<Wk; cout<<"\n tiet dien day (mm2) Sk="<<Sk; cout<<"\n tiet dien tru (mm2) Qk="<<Qk; cout<<"\n dien tich cua so (mm2) Qcsk="<<Qcsk; cout<<"\n\n DU LIEU CHAT LUONG NGUON"; cout<<"\n tri so song hai bac"<<k<<" goc"<<g<<"la(V) Ukn="<<Ukn; cout<<"\n\n GHI SO LIEU VA THOAT CT BANG LENH ENTER"; } getch( ); } KÕt qu¶ ch¹y thö file *.exe §Ò bµi víi c¸c th«ng sè cho nh­ sau: C¸c d÷ liÖu c«ng nghÖ: D¶i ®iÒu chØnh D =100, tèc ®é lín nhÊt Nmax =1000 (vßng/phót), m«mmen lín nhÊt Mmax =200 (N.m ), sai sè tèc ®é cho phÐp lµ 5%. C¸c d÷ liÖu nguån: ®iÖn ¸p 220/380 (V), tÇn sè f=50 (Hz), 3 pha , ®é æn ®Þnh nguån lµ 0,95. C¸c d÷ liÖu ®éng c¬ : c«ng suÊt Pd = 27(Kw), ®iÖn ¸p Ud = 400(V), dßng ®iÖn Id =80(A), ®iÖn trë phÇn øng R­ = 0.38(W), tèc ®é ®Þnh møc n®m 980(vßng /phót). ®éng c¬ kh«ng cã cuén bï. Qu¸ tr×nh nhËp vµ ch¹y kÕt qu¶. Ta tÝnh ë chÕ ®é b¸n tù ®éng : KÕt qu¶ theo th«ng sè yªu cÇu cña ®Ò ra khi ch¹y file *.exe §Ò bµi víi c¸c th«ng sè cho nh­ sau: C¸c d÷ liÖu c«ng nghÖ: D¶i ®iÒu chØnh D =100, tèc ®é lín nhÊt Nmax =1000 (vßng/phót), m«mmen lín nhÊt Mmax =120 (N.m ), sai sè tèc ®é cho phÐp lµ 5%. C¸c d÷ liÖu nguån: ®iÖn ¸p 220/380 (V), tÇn sè f=50 (Hz), 3 pha , ®é æn ®Þnh nguån lµ 0,95. C¸c d÷ liÖu ®éng c¬ : c«ng suÊt Pd = 10(Kw), ®iÖn ¸p Ud = 220(V), dßng ®iÖn Id =50(A), ®iÖn trë phÇn øng R­ = 0.2(W), tèc ®é ®Þnh møc n®m= 970(vßng /phót). ®éng c¬ cã cuén bï. Ta ch¹y ch­¬ng tr×nh víi tr­êng hîp lµ tù chän c¸c th«ng sè Qu¸ tr×nh tÝnh to¸n: KÕt qu¶ cuèi cïng cña bµi to¸n lµ: ThuyÕt minh ho¹t ®éng cña ch­¬ng tr×nh tÝnh bé nguån cho ®«ng c¬ ®iÖn mét chiÒu I.TÝnh chän Thyristor: TÝnh chän dùa vµo c¸c yÕu tè c¬ b¶n dßng t¶i, ®iÒu kiÖn to¶ nhiÖt, ®iÖn ¸p lµm viÖc, c¸c th«ng sè c¬ b¶n cña van ®­îc tÝnh nh­ sau: + §iÖn ¸p ng­îc lín nhÊt mµ Thyristor ph¶i chÞu: Unmax=Knv.U2 =Knv . Trong ®ã: Knv , Ku : tra trong tµi liÖu §iÖn ¸p ng­îc cña tiristor cÇn chän: Unv = KdtU . Un max Trong ®ã: KdtU - hÖ sè dù tr÷ ®iÖn ¸p, chän KdtU =1,8 . + Dßng lµm viÖc cña van ®­îc tÝnh theo dßng hiÖu dông: Ilv = Ihd = Khd .Id Tõ c¸c th«ng sè vÒ dßng ®iÖn lµm viÖc vµ ®iÖn ¸p ng­îc th× ta chän van vµ nhËp c¸c th«ng sè theo yªu cÇu ®Ó ch­¬ng tr×nh tiÕp tôc ch¹y II.TÝnh to¸n m¸y biÕn ¸p chØnh l­u. NÕu nguån bµ pha th× ta chän m¸y biÕn ¸p 3 pha 3 trô s¬ ®å ®Êu d©y D/Y lµm m¸t b»ng kh«ng khÝ tù nhiªn . NÕu lµ nguån mét pha th× ta chon m¸y biÕn ¸p 1 pha TÝnh c¸c th«ng sè c¬ b¶n: 1. TÝnh c«ng suÊt biÓu kiÕn cña M¸y biÕn ¸p: S = Ks . Pd 2. §iÖn ¸p s¬ cÊp m¸y biÕn ¸p: U1 ®· cho. 3. §iÖn ¸p pha thø cÊp cña m¸y biÕn ¸p Ph­¬ng tr×nh c©n b»ng ®iÖn ¸p khi cã t¶i: Udo .cos amin =Ud +2. DUv +DUdn + DUba (1.80) Trong ®ã: amin =100 lµ gãc dù tr÷ khi cã sù suy gi¶m ®iÖn l­íi DUv lµ sôt ¸p trªn Thyristor DUdn 0 lµ sôt ¸p trªn d©y nèi DUba = DUr + DUx lµ sôt ¸p trªn ®iÖn trë vµ ®iÖn kh¸ng m¸y biÕn ¸p . Tõ ph­¬ng tr×nh c©n b»ng ®iÖn ¸p khi cã t¶i ta cã: Ud0 = §iÖ

Các file đính kèm theo tài liệu này:

  • dochoan thanh(0905).doc
  • docdebai.doc
  • rarkien1105.rar