파일:3 phase rectification 2.svg

testwiki
둘러보기로 이동 검색으로 이동
    원본 파일 (SVG 파일, 실제 크기 624 × 943 픽셀, 파일 크기: 120 KB)

    이 파일은 위키미디어 공용에 있으며, 다른 프로젝트에서 사용하고 있을 가능성이 있습니다. 해당 파일에 대한 설명이 아래에 나와 있습니다.

    파일 설명

    설명
    English: Waveforms for a typical 3-phase half-wave and full-wave rectifiers. The top plot shows the individual three phase signals, the middle plot shows the half-wave rectifier output in solid curve and the bottom plot shows the full-wave rectifier output in solid curve. The 'T' in time is the time period of individual signals and Vpeak is the amplitude of each of the three input signals. The diagram was created using python, matplotlib and numpy.
    Русский: Формы сигналов трёхфазного одно- и двухполупериодного выпрямителей. Сверху - отдельные трехфазные сигналы, средний график - выход однополупериодного выпрямителя сплошной линией, нижний график - выходной сигнал двухполупериодного выпрямителя сплошной линией. T - период, U - напряжения.
    날짜
    출처 자작
    저자 Krishnavedala
    다른 버전

    3 phase rectification 2.png [편집]

    .svg:

    .png:

    .jpg:

    SVG 발전
    InfoField
     이 SVG 파일의 소스 코드 문법이 올바릅니다.
     이 벡터 그림은 Matplotlib(으)로 제작되었습니다.
    소스 코드
    InfoField

    Python code

    Source code
    from matplotlib.pyplot import *
    from numpy import *
    
    f, Vpeak, cycles = 50., 1., 1.5
    fs, Tlim = 2.*f, cycles/f
    Vavg, Vrms = Vpeak*2./pi, Vpeak/sqrt(2.)
    t = linspace(0,Tlim,fs*cycles)
    w = 2.*pi*f # 50Hz AC
    signal = lambda x,p: sin(w*x+p*2.*pi/3.)
    def halfWave(time):
            s1, s2, s3 = signal(time,0.), signal(time,1.), signal(time,2.)
            if s1 > s2 and s1 > s3:
                    if s2 > s3:
                            return s1, s2
                    else:
                            return s1, s3
            elif s2 > s1 and s2 > s3:
                    if s1 > s3:
                            return s2, s1
                    else:
                            return s2, s3
            else:
                    if s1 > s2:
                            return s3, s1
                    else:
                            return s3, s2
     
    def fullWave(time):
            s1, s2, s3 = abs(signal(time,0.)), abs(signal(time,1.)), \
                    abs(signal(time,2.))
            if s1 > s2 and s1 > s3:
                    if s2 > s3:
                            return s1, s2
                    else:
                            return s1, s3
            elif s2 > s1 and s2 > s3:
                    if s1 > s3:
                            return s2, s1
                    else:
                            return s2, s3
            else:
                    if s1 > s2:
                            return s3, s1
                    else:
                            return s3, s2
    
    xTickPts = []
    for time in t:
            s1, s2, s3 = abs(signal(time,0.)), abs(signal(time,1.)), \
                    abs(signal(time,2.))
            if s1 == s2:
                    xTickPts = append(xTickPts, time)
                    print time
            elif s2 == s3:
                    xTickPts = append(xTickPts, time)
                    print time
            elif s3 == s1:
                    xTickPts = append(xTickPts, time)
                    print time
     
    def myAxes(this):
            this.grid(True)
            this.set_xlim(0,Tlim)
            this.set_xticks(arange(0,cycles+.25,.25)/f)
            this.set_xticklabels([])
            this.set_ylabel(r"Voltage (V)",fontsize=12)
    	this.set_ylim(-2.*Vpeak-.1,2.*Vpeak+.1)
    	this.set_yticks([-1.73*Vpeak,-Vpeak,0,Vpeak,1.73*Vpeak])
    	this.set_yticklabels([r"$-\sqrt{3}V_{\mathrm{peak} }$",r"$-V_{\mathrm{peak} }$",\
            	r"0",r"$V_{\mathrm{peak} }$",r"$\sqrt{3}V_{\mathrm{peak} }$"])
    
    fig = figure(figsize=(7,12))
    ax = fig.add_subplot(311)
    ax.plot(t,signal(t,0),'b',linewidth=2,label=r"$\phi=0^\circ$")
    ax.plot(t,signal(t,1),'r',linewidth=2,label=r"$\phi=120^\circ$")
    ax.plot(t,signal(t,2),'g',linewidth=2,label=r"$\phi=240^\circ$")
    myAxes(ax)
    ax.set_title(r'3-Phase signals',fontsize=12)
    ax.legend(loc=1, \
            bbox_to_anchor=(.8,.35),\
            frameon=False,handletextpad=.05)
    
    ax = fig.add_subplot(312)
    S, H = [], []
    for time in t:
            s, h = halfWave(time)
            S = append(S,s)
            H = append(H,h)
    ax.plot(t,S,'k',linewidth=2.)
    ax.plot(t,signal(t,0),'b--',linewidth=1.)
    ax.plot(t,signal(t,1),'r--',linewidth=1.)
    ax.plot(t,signal(t,2),'g--',linewidth=1.)
    myAxes(ax)
    ax.set_title(r"Half-wave rectification", fontsize=12) 
     
    ax = fig.add_subplot(313)
    S, H = [], []
    for time in t:
            s, h = fullWave(time)
            S = append(S,s)
            H = append(H,h)
    ax.plot(t,S+H,'k',linewidth=2.)
    ax.plot(t,(signal(t,0)),'b--',linewidth=1.)
    ax.plot(t,(signal(t,1)),'r--',linewidth=1.)
    ax.plot(t,(signal(t,2)),'g--',linewidth=1.)
    myAxes(ax)
    ax.set_title(r"Full-wave rectification", fontsize=12) 
     
    myLabel = []
    for i in arange(0,cycles+.25,.25):
       myLabel = append(myLabel,r"%.2fT"%i)
    #    myLabel = append(myLabel,r"${}^{%.1fT}_{\pi/%.1f}$"%(i,(i*2)))
     
    ax.set_xticklabels(myLabel,fontsize=10)
    ax.set_xlabel(r"Time",fontsize=14)
     
    #fig.suptitle("3-phase AC rectification",fontsize=16)
     
    fig.savefig("3_phase_rectification_2.svg",bbox_inches="tight",\
            pad_inches=.15)
    

    라이선스

    나는 아래 작품의 저작권자로서, 이 저작물을 다음과 같은 라이선스로 배포합니다:
    w:ko:크리에이티브 커먼즈
    저작자표시 동일조건변경허락
    이용자는 다음의 권리를 갖습니다:
    • 공유 및 이용 – 저작물의 복제, 배포, 전시, 공연 및 공중송신
    • 개작 – 저작물의 개작, 수정, 2차적저작물 창작
    다음과 같은 조건을 따라야 합니다:
    • 저작자표시 – 적절한 저작자 표시를 제공하고, 라이선스에 대한 링크를 제공하고, 변경사항이 있는지를 표시해야 합니다. 당신은 합리적인 방식으로 표시할 수 있지만, 어떤 방식으로든 사용권 허가자가 당신 또는 당신의 사용을 지지하는 방식으로 표시할 수 없습니다.
    • 동일조건변경허락 – 만약 당신이 이 저작물을 개작 또는 변형하거나 이 저작물을 기반으로 제작하는 경우, 당신은 당신의 기여물을 원저작물과 동일하거나 호환 가능한 라이선스에 따라 배포하여야 합니다.
    GNU head GNU 자유 문서 사용 허가서 1.2판 또는 자유 소프트웨어 재단에서 발행한 이후 판의 규정에 따라 본 문서를 복제하거나 개작 및 배포할 수 있습니다. 본 문서에는 변경 불가 부분이 없으며, 앞 표지 구절과 뒷 표지 구절도 없습니다. 본 사용 허가서의 전체 내용은 GNU 자유 문서 사용 허가서 부분에 포함되어 있습니다.
    이 라이선스 중에서 목적에 맞는 것을 선택하여 사용할 수 있습니다.

    설명

    이 파일이 나타내는 바에 대한 한 줄 설명을 추가합니다

    이 파일에 묘사된 항목

    다음을 묘사함

    image/svg+xml

    81710e35a0295fce57872446b59671e4654e7476

    122,572 바이트

    943 화소

    624 화소

    파일 역사

    날짜/시간 링크를 클릭하면 해당 시간의 파일을 볼 수 있습니다.

    날짜/시간섬네일크기사용자설명
    현재2011년 9월 23일 (금) 16:522011년 9월 23일 (금) 16:52 판의 섬네일624 × 943 (120 KB)wikimediacommons>Krishnavedalaindividual plots are now consistent with each other

    이 파일을 사용하는 문서가 없습니다.