ファイル:3 phase rectification 2.svg

提供: testwiki
ナビゲーションに移動 検索に移動
    元のファイル (SVG ファイル、624 × 943 ピクセル、ファイルサイズ: 120キロバイト)

    このファイルはウィキメディア・コモンズのものであり、他のプロジェクトで使用されている可能性があります。 ウィキメディア・コモンズでのファイル解説ページにある説明を以下に示します。

    概要

    解説
    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:ja:クリエイティブ・コモンズ
    表示 継承
    このファイルはクリエイティブ・コモンズ 表示-継承 3.0 非移植ライセンスのもとに利用を許諾されています。
    あなたは以下の条件に従う場合に限り、自由に
    • 共有 – 本作品を複製、頒布、展示、実演できます。
    • 再構成 – 二次的著作物を作成できます。
    あなたの従うべき条件は以下の通りです。
    • 表示 – あなたは適切なクレジットを表示し、ライセンスへのリンクを提供し、変更があったらその旨を示さなければなりません。これらは合理的であればどのような方法で行っても構いませんが、許諾者があなたやあなたの利用行為を支持していると示唆するような方法は除きます。
    • 継承 – もしあなたがこの作品をリミックスしたり、改変したり、加工した場合には、あなたはあなたの貢献部分を元の作品とこれと同一または互換性があるライセンスの下に頒布しなければなりません。
    GNU head この文書は、フリーソフトウェア財団発行のGNUフリー文書利用許諾書 (GNU Free Documentation License) 1.2またはそれ以降のバージョンの規約に基づき、複製や再配布、改変が許可されます。不可変更部分、表紙、背表紙はありません。このライセンスの複製は、GNUフリー文書利用許諾書という章に含まれています。
    あなたは上記のライセンスから、どれか一つ以上を選択できます。

    キャプション

    このファイルの内容を1行で記述してください

    このファイルに描写されている項目

    題材

    8 6 2011

    81710e35a0295fce57872446b59671e4654e7476

    122,572 バイト

    943 ピクセル

    624 ピクセル

    ファイルの履歴

    過去の版のファイルを表示するには、その版の日時をクリックしてください。

    日時サムネイル寸法利用者コメント
    現在の版2011年9月23日 (金) 16:522011年9月23日 (金) 16:52時点における版のサムネイル624 × 943 (120キロバイト)wikimediacommons>Krishnavedalaindividual plots are now consistent with each other

    このファイルを使用しているページはありません。