0 views

Uploaded by M

hw phot

hw phot

© All Rights Reserved

- 2.55
- Asus X553MA Repair Guide shematics
- FMEA Motor
- 08-GT-S5570I-TSHOO-7
- Fisher-Price Rainforest Manual
- Seminar Presentation
- F06 C57.21WG Presentation Losses on Shunt Reactors
- TCC-1 (Star TCC).pdf
- Presentation Synchro Feeder
- TCC-1 (Star TCC).pdf
- Single Phase1
- OC
- OC
- OC
- Accessories, Ele Starting
- Rubrics
- Non-linearity Capacitance Sensor
- bi-stable-bdfkmv-1355385702us2-1406685973.pdf
- OC
- Utilisation B Assignment1

You are on page 1of 3

clear all

close all

clc

% data 3

V = 0:0.5:8;

P1 = [1.38, 1.28, 1.17, 1.02, 0.86, 0.64, 0.44, 0.26, 0.12, 0.04, 0.01, ...

0.1, 0.21, 0.32, 0.42, 0.46, 0.48];

P2 = [0.13, 0.24, 0.34, 0.48, 0.65, 0.82, 0.99, 1.14, 1.28, 1.32, 1.28, ...

1.14, 0.79, 0.58, 0.4, 0.34, 0.3];

xp = linspace(0,8);

%% Sum

alpha_v = 2.*(P1+P2)./P_in - 1;

f_alpha = fit(V',alpha_v','poly2');

alpha_fit = f_alpha.p1*xp.^2 + f_alpha.p2.*xp + f_alpha.p3;

if 1==0

fig = figure('units', 'centimeters', 'pos', [0 0 14 9.26], 'tag', '');

plot(xp, alpha_fit);

title('Measured alpha(V)')

hold on

plot(V, alpha_v, 'o-')

legend('Fit', '\alpha(V)')

xlabel('Voltage [V]')

ylabel('Alpha(V) [-]')

end

%% Difference

% fig = figure('units', 'centimeters', 'pos', [0 0 14 9.26], 'tag', '');

% plot(V, P1-P2, 'o-')

% hold on

% plot(V, cos_phi, 'o')

% hold on

% fit to sinusoidal

y = cos_phi;

x = V;

yu = max(y);

yl = min(y);

yr = (yu-yl); % Range of ?y?

yz = y-yu+(yr/2);

zx = x(yz .* circshift(yz,[0 1]) <= 0); % Find zero-crossings

per = 2*mean(diff(zx)); % Estimate period

ym = mean(y); % Estimate offset

fitfunc = @(b,x) b(1).*(sin(2*pi*x./b(2) + 2*pi/b(3))) + b(4);

fcn = @(b) sum((fitfunc(b,x) - y).^2);

s = fminsearch(fcn, [yr; per; -1; ym]) ;

% xp = linspace(min(x),max(x));

f2 = fitfunc(s,xp);

% plot(xp,f2, 'r')

hold on

% plot(xp, s(1).*(sin(2*pi*xp./s(2) + 2*pi/s(3))) + s(4))

cos_amp = s(1);

cos_per = s(2);

cos_fre = 1/s(2);

cos_phase = 2*pi/s(3) - 0.5*pi + 2*pi;

cos_offset = s(4);

cos_fit_inv = acos(cos_fit);

limit = 60;

phi_v_fit = fit_2.p1.*xp.^2 + fit_2.p2.*xp + fit_2.p3;

f_phi = fit_2;

P_out_1_fit = 0.25 * P_in * (alpha_fit + 2.*sqrt(alpha_fit) .* ...

cos(phi_v_fit) + 1);

P_out_2_fit = 0.25 * P_in * (alpha_fit - 2.*sqrt(alpha_fit) .* ...

cos(phi_v_fit) + 1);

%% Figures

fig = figure('units', 'centimeters', 'pos', [0 0 14 9.26], 'tag', '');

plot(V, P1, 'o')

hold on

plot(V, P2, 'o')

hold on

plot(xp, P_out_1_fit)

hold on

plot(xp, P_out_2_fit)

legend('P_{out,1}', 'P_{out,2}', 'calculated P_{out,1}', ...

'calculated P_{out,2}')

title('Measurement data and calulated powers')

xlabel('Voltage (V)')

ylabel('Power (mW)')

hgexport(fig, strcat(pwd, '/figures/', 'hw2_3'));

plot(V,P1+P2, 'o')

hold on

plot(V,alpha_v,'o')

hold on

plot(xp, alpha_fit);

xlabel('Voltage (V)')

ylabel('Power (mW)')

hgexport(fig, strcat(pwd, '/figures/', 'hw2_1'));

fig = figure('units', 'centimeters', 'pos', [0 0 14 9.26], 'tag', '');

plot(V,P1-P2, 'o')

hold on

plot(V, cos_phi, 'o')

hold on

plot(xp, cos_fit)

hold on

plot(xp, acos(cos_fit))

hold on

plot(xp, phi_v_fit)

'cos(\phi(V)+\Delta\phi) fit', '\phi(V)+\Delta\phi', ...

'\phi(V)+\Delta\phi fit', 'Location', 'northwest')

xlabel('Voltage (V)')

ylabel('Power (mW) or Phase (rad)')

hgexport(fig, strcat(pwd, '/figures/', 'hw2_2'));

- 2.55Uploaded byEric Kial
- Asus X553MA Repair Guide shematicsUploaded byWolfang Ferney Gomez Cardenas
- FMEA MotorUploaded byMvzib うちはサスケ
- 08-GT-S5570I-TSHOO-7Uploaded byforphucksakes
- Fisher-Price Rainforest ManualUploaded byIbrahim Kalloufi
- Seminar PresentationUploaded bySakshi Dhingra
- F06 C57.21WG Presentation Losses on Shunt ReactorsUploaded byAshish Bajpai
- TCC-1 (Star TCC).pdfUploaded byJohn Buntales
- Presentation Synchro FeederUploaded byNur Wulan Puspawati
- TCC-1 (Star TCC).pdfUploaded byJohn Buntales
- Single Phase1Uploaded byreynaldy
- OCUploaded byimu
- OCUploaded byimu
- OCUploaded byimu
- Accessories, Ele StartingUploaded byCucun Prijatno
- RubricsUploaded byMarian Alexis Fernandez
- Non-linearity Capacitance SensorUploaded byShanmugasundaram Raghuraman
- bi-stable-bdfkmv-1355385702us2-1406685973.pdfUploaded byYamilelc
- OCUploaded byimu
- Utilisation B Assignment1Uploaded bycsedtuh
- OCUploaded byimu
- OCUploaded byimu
- FP12120DUploaded bybianca6317
- 0625_w16_ms_51Uploaded byyuke kristina
- C&D Technologies, Inc.Uploaded bySandeep
- ResumeUploaded bybhanu prakash
- sunmodule-solar-panel-250-mono-ds (1).pdfUploaded byrohit_raj21
- Events Incident 05-11-2014- Du Départ 30kV FECHKEUR 6h14Uploaded bysamiahmedmansour
- Loadflow Nodal Networks.Uploaded byShijumon Kp
- Weightage of InspectionsUploaded byiprao

- Hino Nacional Angola Avante! Voice, PianoUploaded byM
- Handleiding FGD 212 en T v1.3Uploaded byM
- En EuFIX S223 04 Operating Instructions OptimizeUploaded byM
- Fibaro Manual FGS 2x3 en T v1.0_OptimizeUploaded byM
- Rr c FilteringUploaded byM
- Measurement datadaUploaded byM
- EULA for BebasUploaded byRafael Delloma
- hw2.txtUploaded byM
- BomUploaded byM
- hw2Uploaded byM
- Electronics 2Uploaded byM
- Electronics.pdfUploaded byM
- LTC3897_DC2108AUploaded byM
- Silicon NtypeUploaded byM
- MillerUploaded byM
- OutlineUploaded byM
- HomeworkUploaded byM
- Assignment 2 a Matlab ScriptUploaded byM
- Import MatlabUploaded byM
- Import Csv Qu CsUploaded byM
- Import FileUploaded byM
- UNA CORDA Manual EnglishUploaded byM
- Stillness of the Mind - A Single ManUploaded byM
- Reduced List of Formulas for the Midterm 2015Uploaded byM
- Logo in pdf formatUploaded byM
- Lab 223 DatabaseUploaded byM
- Piano exercisesUploaded bycojocariuadrian

- Mcq Anesthesiology Group 5Uploaded byLaw You
- Lesson Plan Looking GoodUploaded bynsmina212
- Manual Cos2010Uploaded byRyan Rawlings
- HeatUploaded byElizabeth Felix
- Construction DisputeUploaded byliza
- 5G Ultra Dense Cellular NatworkUploaded bysantosh975
- Combining Virtual Min and LDAPUploaded byalesaniu
- The World s Best Poetry Volume 8Uploaded byRaLuKaG
- TenebraeUploaded byAlbertBloomfield
- Yoga Therapy Techniques-1Uploaded byDr. Shamanthakamani Narendran
- Pollner 1975 Pollner 411 30Uploaded byJack Sidnell
- Paper on Cathode Quality Improvement Published at ICDCUploaded byBalachandran P Kamath
- Plant BreedingUploaded byLatiftraders
- Harvey 1997-Managing Inpatriates Building AUploaded byKumar Saurabh
- web-partUploaded bynagababumdn
- Cosmos Taxis 1: 3Uploaded bymanwithoutqualities
- MGTS1601 Solo AssignmentUploaded byDanielWong
- Kelly Youth-At-RiskUploaded byBlythe Tom
- Austin Journal of Orthopedics & RheumatologyUploaded byAustin Publishing Group
- Fedspeak Fed FactsUploaded byForeclosure Fraud
- Barbara Egedi, Coptic Noun Phrases, diss. Univ. Budapest 2012Uploaded byfcrevatin
- Safeguarding of Machinery and PlantUploaded byMiko Akbar
- Quiz CrimInvestKeyUploaded byRalugers Yadiloh
- PC Version Help Manual.pdfUploaded byAsphalt Racer
- s Course Outline Chem1aUploaded byMarcus Philip Gonzales
- Establishment of a permanent landscape symbolising religious harmony in Singapore at Stamford green, Port Canning Park, Press Release, 19 Jul 2008Uploaded bydbmcys
- Engineering Paths for Wayne State University Undergrad StudentsUploaded byfeafok
- On the Conditions of Possibility of the Objects of ExperienceUploaded byAmogh Sahu
- UpakarmaUploaded bynieotyagi
- CAPGEMINIUploaded bySANJEEV MISHRA