您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 其它行业文档 > 虚拟谐波分析仪-毕业论文
::ZD200320UA301ALabVIEWFFTLabVIEWFFTExcelbmpLabVIEW,,,FFTThemainstreamoftestinstrumentsdevelopmentisthatitiscombinedwiththecomputertechnology.Thereforevirtualinstrumentstechnologyhasbecomeanimportantfieldoftestinstrumentstechnology.InthispaperthevirtualinstrumenttechnologyisusedtothepowersystemharmonicsmeasurementandthevirtualinstrumentonharmonicsanalysisisdevelopedandstudiedusingacomputerandUA301AdataacquisitionasthehardwareplatformandLabVIEWasthesoftwareplatformofthevirtualinstrument.FFTalgorithmisusedforharmonicsanalysis.Firstlyitistheanalysisoftheharmonicshazards,theharmonicsresearchstatusinhomeandaboardandthemeasurementalgorithmsonharmonicsinthepaper.Thenitintroducesthedevelopmenttechnologyofvirtualinstruments,thebasictheorythatthesystemdependsonandthehardwareandsoftwaredevelopmentplatformofthesystem,andthenadetaileddescriptionofthesystemsoftwarearchitectureisshown,includingtheinterfacedrivingprogramdesignbetweenthedataacquirementandLabVIEWandthesoftwareapplicationprogramdesignusingthewayofthequasi-synchronoussamplingandsynchronoussamplingtoacquiredataofthesignal.FFTalgorithmisusedtomakethereal–timeharmonicsanalysis.Finallyitcarrysthroughasimulation,theexperimentcircuitdesignandthemeasurementofparametersoftheexperimentsystem.Thesoftwareofthesystemiscomposedbythehuman-machineinterface,datatransmissionanddataprocessing.Themeasurementfunctionsofthemaininterfaceinthesystemincludethreemodules--spectrummeasurements,harmonicsanalysisandpowermeasurements.ThemeasureddataaresavedtoExcelformatandtheshowngraphicsaresavedtobmpformat.Throughthesimulationandthemeasurementofparametersinexperimentsystem,itprovesthatthedesignofthesystemisreasonableandfeasible.LabVIEW,Harmonics,VirtualInstruments,FFT1[3](1)(2)2(3)(4)60%(5)(6)1893203031945J.C.Read5060701982F.J.J.ClarkeJ.R.Stockton19841984ICHPSNIHP(1)(2)(3)(4)51)41.1f1,f2...fn(n)f1f2...fn1.12)23)1984H.Akagi1n12235pqIpIqIpIqpq()1/64)(ANN)(ANN):,5),6(1)DSP(digitalsignalprocessing)(2)(1)(2)(VirtualInstrumentVI)1986NationalInstrumentNII/07GPIBVXIPCIUSBI/O1-11-1,20801982NIHP90/8NILabVIEWLabWindows/CVIHPHP-VEEHP-TIGTektronixEx-TestTek-TNSHEMDataSnap-Master1.21.2NISoftwareisInstrumentGPIBVXI/PXI/PLCGPIB9PCRS232GPIBVXIPCIPCUSBIEEE1394()RS232PCGPIB8GPIBGPIBVXIVMEPCIUSBIEEE1394PCPCUSBIEEE1394USBSUNDigitalIEEE1394100200400Mb/sUSBUSB20004USB2.0USB40,480Mbit/sUSB,10UA301APhilipsUSBPDIUSBD12USB1.1USB1.112Mb/s1.5Mbit/sUSB21USB11:1.2.3.4.5.12(1)x(t)Ts()x(t)()sSxnT()(2)()sSxnT()sSxnT()qSxnTx(n)()A/DA/Dx(t)x(nTs)x(t)()XjΩ()jwXeA/D2.12.1A/D(A/D)fs2.2132.2(samplingtheory)x(t)cfx(t)2(2,/)scssffcTcp≥Ω≥Ω≤Ωx(nTs)x(t)x(nTs)x(t)DFTNx(n)DFT:1010()()(0,1,2,...,1,)1()()NnKNnjNNnKNkXkxnWkNWexnXkWN-=---=⎧=⎪⎪=-=⎨⎪=⎪⎩∑∑(2-1)DFT---FFT1965-(Cooley-Tukey)1.FFTNx(n)DFT(2-1)X(k)x(n)DFTnkNWx(n)(2-1)140(0)0(1)0(1)1(0)1(1)1(1)1(0)1(1)1(1)(0)(0)(1)...(1)(1)(0)(1)...(1)..(1)(0)(1)...(1)NNNNNNxWxWxWxNxWxWxWxNxNWxWxWxN------=+++-=+++--=+++-(2-2)N(N-1)X(k)NN2(N-1)422PCDFTDFTDFTDFT(2-1)()()kkNNNknklNnmNNNWWWW+++==l,m(2-3)NN2()11jNNNNNNWeWp-===NWNNknNW(FourierKernel)()/2/43/4/221,1,1,,NkNNNNNNNkkNNNNWWWWjWjWW===-=-==(2-4)NW/2kNkNNWW+=-(2-5)DFTN2NDFT2N/2DFT222(/2)/2NN×=FFTNDFTNWDFT152.FFTFFTFFTFORTRANC(C++)MATLABMATHMATICAFFT()LabVIEWFFTFFT2FFTNDFTx(n)X(k)2N/2Xl(k)X2(k)CLabVIEWCLF22DFT:(1)TsTNT=NTs(2)N22+(=NTs-T0))||22NMpp+Δ16f(x)()fx0021()()2xxfxfxdxpp+=∫(2-6)2ðf(x)X035f(x)50Hz3-42.3340121(a)(b)2.317,,,UA301AA/D()10uSA/D410uS1430uS(1KHz1000uS):UA301Aminitz:void_stdcallminitz(HANDLEhusb,shortfch,shortchn,shortgain,unsignedshortfn)readdataz:void_stdcallreaddataz(HANDLEhusb,short*addat,unsignedshortfcode,longleng)13191Tf(t)()()ftftnT=+0,1,2,...n=(2-7)f(t)0101()(cossin)cos()nnnnnnftaantbntAAntwwwj∞=∞==++=++∑∑(2-8)=2/TTf(t)1800000221()2()cos2()sin(1,2,3......)narctan()nTTnTnnnnnnnAaftdtTaftntdtTbftntdtnTAabbawwf======+=-∫∫∫A0()jkwtek-∞2-8:0100()()2222jkwtjkwtkkkkkjkwtjkwtkkkkkkjkwtkajbajbftaeeajbajbeeFe∞-=∞∞-==∞-∞-+=++-+=+=∑∑∑∑(2-9)(90)22(90)22111()222111()222kkjjkkkkkkkjjkkkkkkkFajbabeAeFajbabeAejqjq-----=-=+==+=+=cos()sin()jkwtjkwtkkkkkkFeFeAkwtAkwtqj--+=+=+(2-10)kkAkj0001122()(()cos()()sin())221()TTkkkTjketFajbftkwtdtjftkwtdtTTftedtT-=-=-=∫∫∫(2-11)f(t)N,2110011,0,1,2...,1NNjnknkNknnNnnFfefWkNNNp---=====-∑∑(2-12)19kf()ft2jkkNNWep-=2-12()ftDFT()ftk2||kFkFkq90N0N-10N/2-1N=2560127(DFT)FFTDFTFFT2n(1)2222HhhHhhUUII∞=∞===∑∑(2-13)(2):22221212222121......nnnnnnUUUUUIIIII∞=∞==++==++=∑∑(2-14)(3)NHRUnnn1100%UHRUU=×(2-15)Un—NU1—nn1100%IHRII=×(2-16)20(4)THD(TotalHarmonicDistortion)THDuTHDi11100%100%HuHiUTHDUITHDI=×=×(2-17)2222,HhHhhhUUII∞∞====∑∑3.cosPUIj=(2-18)PUIjcosjsinQUIj=(2-19)SUI=(2-20)21MicrosoftVisualC++VisualBasicNILabWindows/CVILabVIEWHPITGHPVEELabWindows/CVI:NILabVIEWHPHPVEENILabVIEWCWindowsANSICLabWindows/CVILabVIEWVC++6.0LabVIEWLabVIEWVC++VC++LabVIEW()22VC++VC++LabVIEWVC++VC++LabVIEWVC++LabVIEWLabVIEW:LabVIEW(G)(SubVI)SubVILabVIEW:(1)PC(2)I/0I/0A/DDAQ(DataAcquisition)DAQISAPCIUSBDAQ23I/OUA301AA/D3.3UA301AA/DUSBUSB12A/DUSBA/DUA301A3.4243.4UA301AUSBA/DIOEEPROMI/OADCA/DFIFOA/DUSBUSB:ADCFIFOI/OADCUSB25dtzLPΔ∫DC/DCSR5D12/100
本文标题:虚拟谐波分析仪-毕业论文
链接地址:https://www.777doc.com/doc-31427 .html