_WELCOMETO Radioland

Ãëàâíàÿ Ñõåìû Äîêóìåíòàöèÿ Ñòóäåíòàì Ïðîãðàììû Ïîèñê Top50  
Ïîèñê ïî ñàéòó



Íàâèãàöèÿ
Ãëàâíàÿ
Ñõåìû
Àâòîýëåêòðîíèêà
Àêóñòèêà
Àóäèî
Èçìåðåíèÿ
Êîìïüþòåðû
Ïèòàíèå
Ïðîã. óñòðîéñòâà
Ðàäèî
Ðàäèîøïèîíàæ
Òåëåâèäåíèå
Òåëåôîíèÿ
Öèôð. ýëåêòðîíèêà
Äðóãèå
Äîáàâèòü
Äîêóìåíòàöèÿ
Ìèêðîñõåìû
Òðàíçèñòîðû
Ïðî÷åå
Ôàéëû
Óòèëèòû
Ðàäèîëþá. ðàñ÷åòû
Ïðîãðàììèðîâàíèå
Äðóãîå
Ñòóäåíòàì
Ðåôåðàòû
Êóðñîâûå
Äèïëîìû
Èíôîðìàöèÿ
Ïîèñê ïî ñàéòó
Ñàìîå ïîïóëÿðíîå
Êàðòà ñàéòà
Îáðàòíàÿ ñâÿçü

Ñòóäåíòàì


Ñòóäåíòàì > Êóðñîâûå > Èññëåäîâàíèå ýôôåêòà àâòîäèííîãî äåòåêòèðîâàíèÿ â ìíîãîêîíòóðíîì ãåíåðàòîðå íà äèîäå Ãàííà

Èññëåäîâàíèå ýôôåêòà àâòîäèííîãî äåòåêòèðîâàíèÿ â ìíîãîêîíòóðíîì ãåíåðàòîðå íà äèîäå Ãàííà

Ñòðàíèöà: 6/7

                         phas_y:=phas_y+10;

                         an4;

                        Size := ImageSize(xgmin+1, ygmin+1,                     xgmax-1, ygmax-1);

                        GetMem(P, Size);

                        GetImage(xgmin+1, ygmin+1, xgmax-1,                     ygmax-1, P^);

                        setfillstyle(0,0);

                         bar(xgmin+1,ygmin+1,xgmax-1,ygmax-1);

                        PutImage(xgmin+1, ygmin+1+10, P^,                            NormalPut);

                         FreeMem(P, Size);

                         scal;

                   end;

                   '8': begin

                         phas_y:=phas_y-10;

                         an4;

                        Size := ImageSize(xgmin+1, ygmin+1,                     xgmax-1, ygmax-1);

                        GetMem(P, Size);

                        GetImage(xgmin+1, ygmin+1, xgmax-1,                     ygmax-1, P^);

                        setfillstyle(0,0);

                         bar(xgmin+1,ygmin+1,xgmax-1,ygmax-1);

                        PutImage(xgmin+1, ygmin+1-10, P^,                            NormalPut);

                         FreeMem(P, Size);

                         scal;

                   end;

{ ïåpåõîä íà âû÷èñëåíèå ñïåêòpà }

                   's': begin

                            goto 1;

                   end;

{ ìàñøòàá ôàç. ïîpòpåòà }

                   '+': begin

                            an4;

                        setfillstyle(0,0);

                         bar(xgmin+1,ygmin+1,xgmax-1,ygmax-1);

                         size_x:=size_x+0.1;

                         size_y:=size_y+0.1;

                    end;

                   '-': begin

                            an4;

                        setfillstyle(0,0);

                             bar(xgmin+1,ygmin+1,xgmax-1,ygmax-1);

                            size_x:=size_x-0.1;

                            size_y:=size_y-0.1;

                    end;

 

               end;

2:       end;

end;

 

 

{ ñïåêòð }

 

1:   SETCOLOR(15);

        an2;

        f0:=0;

        Smax:=0;

        sign0:=0;

        setcolor(15);

        for k:=1 to 200 do begin

            s0:=0;s1:=0;

            FOR   i:=1 to 500  do begin

                  s0:=s0+(sign[i]-sign0)*cos(f0*i*6.28e-9/250);

                  s1:=s1+(sign[i]-sign0)*sin(f0*i*6.28e-9/250);

            end;

            if k=1 then begin  sign0:=s0/500; s0:=0;  end;

            f0:=f0+2e8;

            g1[k]:=s0*s0+s1*s1;

            if g1[k]>Smax then Smax:=g1[k];

        end;

        ppp:=s0*s0+s1*s1;

        f0:=0;

 

{ î÷èñòêà ïîëÿ è ïåðåðèñîâêà âèçèðîâ è öèôð }

 

     setfillstyle(0,0);

     bar(xgmin+1,ygmin+1,xgmax-1,ygmax-1);

     scal;

 

     setwritemode(XORput);

     if(d_visir<>0) then begin

         line(trunc(visir_s),ygmin,trunc(visir_s),ygmax);

         str((1e-9/d_visir):5:3,s);

         outtextxy(540,35,s+' GHz');

     end;

        line(visir_3,ygmin,visir_3,ygmax);

         setcolor(14);

        line(visir_4,ygmin,visir_4,ygmax);

        setwritemode(COPYput);

         setcolor(11);

         str(visir_f:5:3,s);

         outtextxy(540,50,s+' GHz');

         setcolor(14);

         str(visir_f1:5:3,s);

         outtextxy(540,60,s+' GHz');

 

        Result;

{ ðèñîâàíèå ñïåêòðà }

        moveto(xgmin,ygmax);setcolor(10);

        for k:=1 to 200 do begin

          xg:=xgmax-trunc((xmax-f0/1e9)*(xgmax-xgmin)/(xmax-      xmin));

          yg:=ygmin-trunc((ymax-100*g1[k]/SMAX)*(ygmin-           ygmax)/(ymax-ymin));

          lineto(xg,yg);

          f0:=f0+2e8;

    end;

 

{ êîíåö ñïåêòðà }

 

     repeat

         c:=readkey;

                case c of

{ ïåðåìåùåíèå âèçèðîâ }

                   '9': begin

                            an3;

                        setwritemode(XORput);

                            setcolor(15);

                                                                                line(visir_1,ygmin,visir_1,ygmax);

                        visir_1:=visir_1+1;

                                                                                line(visir_1,ygmin,visir_1,ygmax);

 

                         v12;

                         setwritemode(COPYput);

                   end;

                   '7': begin

                            an3;

                        setwritemode(XORput);

                         setcolor(15);

                                                                                line(visir_1,ygmin,visir_1,ygmax);

                        visir_1:=visir_1-1;

                                                                                line(visir_1,ygmin,visir_1,ygmax);

 

                         v12;

                         setwritemode(COPYput);

                   end;

                   '6': begin

                            an3;

                        setwritemode(XORput);

                         setcolor(15);

                                                                                line(visir_2,ygmin,visir_2,ygmax);

                        visir_2:=visir_2+1;

                                                                                line(visir_2,ygmin,visir_2,ygmax);

 

                         v12;

                         setwritemode(COPYput);

                   end;

                   '4': begin

                            an3;

                        setwritemode(XORput);

                         setcolor(15);

                                                                                line(visir_2,ygmin,visir_2,ygmax);

                        visir_2:=visir_2-1;

                                                                                line(visir_2,ygmin,visir_2,ygmax);

 

                         v12;

                         setwritemode(COPYput);

                   end;

                   '3': begin

                            an2;

                        setwritemode(XORput);

                         setcolor(11);

                                                                                line(visir_3,ygmin,visir_3,ygmax);

                        visir_3:=visir_3+1;

                                                                                line(visir_3,ygmin,visir_3,ygmax);

                      visir_f:=(visir_3-xgmin)*(xmax-                         xmin)/(xgmax-xgmin);

 

                        setcolor(0);

                        outtextxy(540,50,'___________');

 

                            setcolor(11);

                        str(visir_f:5:3,s);

                        outtextxy(540,50,s+' GHz');

 

                         setwritemode(COPYput);

                         Result;

                   end;

                   '1': begin

                            an2;

                        setwritemode(XORput);

                            setcolor(11);

                                                                                line(visir_3,ygmin,visir_3,ygmax);

                        visir_3:=visir_3-1;

                                                                                line(visir_3,ygmin,visir_3,ygmax);

                      visir_f:=(visir_3-xgmin)*(xmax-                         xmin)/(xgmax-xgmin);