المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : The new report



egyeng
04-22-2010, 09:50 PM
I have heard that Dr/Khaled Sharaf asked for a new report can anyone tell me exactly what's required in that report ? Thank you in Advance :)

planète bleue
04-23-2010, 01:09 AM
sorry i was about to make this topic today, but 4 some conditions i couldn't

anyway, this is the report:

Draw a plot by matlab 4 the frequency response of D-class

assume f_audio=10KHZ

f_triangular=1 MHZ

f_cutoff=100KHZ

so omega_cutoff=2*pi*f_cutoff

take the value of omega_cutoff and make sweep on Q from 0.1 to 2 and take step_deltaQ=0.2

note: Q=omega*R_load*C

the plot is in scale of dB

hint: use the ABM library (Analog Behaviour Module), iam not sure about the location of the library if it's in the matlab or in the Pspice !

so plz any one confirm on me

note: make just one paper containing yr name, the code, the schematic circuit and the graph

the deadline of the report's delivery is next week

Mahmoud Amr
04-23-2010, 01:14 AM
so plz any one confirm on me

you are right
i found it and used it
hint: use Laplace (you can find it in ABM library) then use the formula written in the lecture and sweep on Q
:lol:

planète bleue
04-23-2010, 01:59 AM
right elhamdulelah

planète bleue
04-23-2010, 03:19 AM
احم .. معلش هو قصد حضرتك في ال matlab ولا ال Orcad ?

planète bleue
04-23-2010, 03:29 AM
احم .. معلش هو قصد حضرتك في ال matlab ولا ال Orcad ?

ORCAD

Kamal
04-23-2010, 04:04 AM
تمام .. جزاكم الله خيرا ... هو بس أنا عندي استفسار هو ما طلعش معايا ال over shot أللي الدكتور عمله في المحاضرة .. هل طلع مع حد ؟

planète bleue
04-23-2010, 04:06 AM
أنا لسة بحاول فيه ..

أنا محتارة بين ال ORCAD وال MATLAB .. هو أنهي أسهل ؟

planète bleue
04-23-2010, 04:38 AM
ممممممممممممم طلعت معايا برده من غير ال overshoot ..

بيتهيألي نقعد نغير في قيمة ال C لغاية ما تطلع

Kamal
04-23-2010, 04:57 AM
انهي مكثف اللي هنغير فيه .. ؟ أنا استخدمت Laplace وعدلت الexpression بتاعه زي المحاضرة ورسمت ال bode plot .. يعني ما ستخدمتش مكثفات خالص !!

Kamal
04-23-2010, 04:58 AM
اه الاوركاد والماتلاب نفس الحاجة .. الفرق بس اني كنت محتاج اعمل في الماتلاب sweep علي ال Q .. يعني فكرت اني استخدم دالة في اكثر من متغير بس لقيت الموضوع هيبقي تقيل في الحسابات علي الماتلاب واسهل في simulation علي الاوركاد فاستخدمت اوركاد

planète bleue
04-23-2010, 05:50 AM
أنا استخدمت Matlab

لا هو الموضوع أني كنت معوضة عن ال Q ب omega * Rl * C

والمفروض حسب كلام المحاضرة أن ال Overshoot بتطلع لما ال Q تكون صغيرة وأقل من 1/root2

فأنا عمالة أصغر في ال Q .. بس ال overshoot مش راضية تطلع برده ..

وبعدين فيه حاجة .. يعني في حالة استخدام الماتلاب .. هتنفعني قيم ال f_triangle و f_audio بايه !

planète bleue
04-23-2010, 05:51 AM
اه الاوركاد والماتلاب نفس الحاجة .. الفرق بس اني كنت محتاج اعمل في الماتلاب sweep علي ال Q .. يعني فكرت اني استخدم دالة في اكثر من متغير بس لقيت الموضوع هيبقي تقيل في الحسابات علي الماتلاب واسهل في simulation علي الاوركاد فاستخدمت اوركاد

ليه هو مينفعش ترسم الدالة مع قيم مختلفة لل Q وتعمل hold وخلاص ؟

Λ7MD
04-23-2010, 07:16 AM
الدكتور قال نعمل الـ simulation على الـ spice يبقي أكيد قصده على الـ orcad

Λ7MD
04-23-2010, 08:14 AM
هو الـ i/p هنا أيه؟

egyeng
04-23-2010, 10:37 AM
Sorry but i was absent when this report is asked to be done so could u please upload the circuit or the last lecture to see what exactly i have to do because i don't have anything about the report ? thank u in advance :)

planète bleue
04-23-2010, 01:31 PM
حاضر المحاضرة هتنزل النهاردة قريبا إن شاء الله

planète bleue
04-23-2010, 01:32 PM
هو الـ i/p هنا أيه؟

مش فاهمة ..

يعني عادي sin wave عادية

Kamal
04-23-2010, 02:00 PM
بس انت مفترض تعمل parametric Sweep + AC Sweep بحيث انك ترسم مع الfreq. عند قيم مختلفة لل Q @ بشمهندسة blue : في الاوركاد برده ما احتاجتش قيم ال ft & fs لاني استخدمت بلوك زي بتاع الماتلاب مش محتاج فيه الترددات ديه مش عارف هل الدكتور كان يقصد حاجة تانية !!

Λ7MD
04-23-2010, 02:09 PM
يوووه
ماهو الدكتور قال نعمل DC Sweep و لو كده هادخل VSIN بس مش هاعرف أرسم مع الـ freq عشان لو عاوز أرسم مع الـ freq لازم أعمل AC Sweep و في الحالة دى هاستخدم VAC
أنا تعبت من الكلام

حد ياخد المايك مني بقي
:lol:

yousef
04-23-2010, 02:15 PM
هوه مش برده الرسمه اصلا مع ال Frequency
ولا ايه
ثانيا انت المفروض تعمل AC Sweep وتستعمل VAC
وما اظنش ان في اية مشكلة في ده
صحيح الرسمة طلعت عادي مافيهاش مشاكل وطلعت معايا ال Spike

planète bleue
04-23-2010, 02:19 PM
يوووه
ماهو الدكتور قال نعمل DC Sweep و لو كده هادخل VSIN بس مش هاعرف أرسم مع الـ freq عشان لو عاوز أرسم مع الـ freq لازم أعمل AC Sweep و في الحالة دى هاستخدم VAC
أنا تعبت من الكلام

حد ياخد المايك مني بقي
:lol:

مممممممممممممم هو فعلا الدكتور قال كدة ...

بس أنا حطيت ال equation في ال matlab واترسمت بس مش راضية تطلع ال overshoot !

111
04-23-2010, 02:30 PM
I did it with the equation in Orcade 1/1+s and it give the oveshoot the Dr said

Λ7MD
04-23-2010, 02:33 PM
يا جماعة مش المفروض أحط المعادلة اللى الدكتور أداها بتاعة الـ s


كمان أزاي هاعمل AC sweep و أغير في الـ Q
:011:

planète bleue
04-23-2010, 03:15 PM
تم إضافة المحاضرة الثامنة

beauty
04-23-2010, 03:41 PM
i got the overshoot bas el slop beta3ha mesh straight line ya3ny ba2et el curve mesh nazet straight line???

planète bleue
04-23-2010, 03:49 PM
i got the overshoot bas el slop beta3ha mesh straight line ya3ny ba2et el curve mesh nazet straight line???

did u use matlab walla ORCAD?

beauty
04-23-2010, 04:13 PM
matlab i didn't know how to use the orcade but is this correct or not?

planète bleue
04-23-2010, 05:00 PM
أنا كمان معرفتش أستخدم ال ORCAD بصراحة !

مش عارفة إذا كان صح ولا لأ .. بس هو طلعالي overshoot بس في ال low freq !

beauty
04-23-2010, 05:38 PM
tib hwa ba2et el curve nazel straight wala mayel?

Kamal
04-23-2010, 05:50 PM
طيب الناس اللي عملتها في الاوركاد ... عدلت في المعادلة بانهي شكل عشان يطلع over shot لاني حطيت نفس معادلة المحاضرة طلعت الرسمة من غير ال spike ديه !!

planète bleue
04-23-2010, 05:57 PM
tib hwa ba2et el curve nazel straight wala mayel?

no it's curve not straight line

but the problem here is that the overshoot is at high Q not small Q !

heya tal3a ma3aky keda walla zay elmo7adra ?

beauty
04-23-2010, 06:00 PM
ana mesh fahma 2sdek b 'high Q' bas zy ma2olt belzabt hia mediany el over shoot dah we ba3d keda nazel curve hata mesh 2ate3 fe el x axis zy el mo7adra?

yousef
04-23-2010, 06:04 PM
For the people who got the curved not the straight line
it is most likely cause is that they forgot that it is drawn in dB not as is
and for the shape of the equation in orcad first what version
second i used 10.5 it didn't understand the power "^" so i used multiplications to get s^2
and since there is s^2 there must be a spike

planète bleue
04-23-2010, 06:04 PM
أنا عندي مش قاطع برده .. بس لو كبرتي ال range بتاع ال freq هاتقطعهولك ...

في المحاضرة الدكتور كاتب على الرسمة أن عند low Q بيحصل overshoot تقريبا لما يكون أقل من 1/root 2

فأنا طلعالي العكس ... !

انتي طلعالك ال overshoot امتة بقة

عند high Q ولا low Q :D

beauty
04-23-2010, 06:19 PM
?ana rasamt kol el'
q' b colour wa7ed 3ashan keda mesh 3arfa 27aded
dah lw kabart el rang l7ad kam?

planète bleue
04-23-2010, 06:29 PM
?ana rasamt kol el'
q' b colour wa7ed 3ashan keda mesh 3arfa 27aded
dah lw kabart el rang l7ad kam?

أيوة شوفي بقة كدة أنهي لون لأنهي Q عندك في ال m-file وهتعرفي ساعتها هي زي المحاضرة ولا لأ ... :D

بس يا ريت تشوفي كدة وتقوليلي عشان أنا مش عارفة هو الدكتور هو اللي غلطان في المحاضرة ولا ايه ... بس أكيد الماتلاب مش هايغلط يعني !

اضربي ال range عندك في 10

planète bleue
04-23-2010, 06:31 PM
هو عادي يا بشمهندس يوسف أنا واخدة dB ..

beauty
04-23-2010, 06:35 PM
ok,the over shoot for 'q' big &smooth 'q'small
mesh 3iz ye2ta3 enty wa5da el rang kolo kam?

beauty
04-23-2010, 07:06 PM
tib momken 7ad ye2ol ezay ba7awel l db in ORCADE?

planète bleue
04-23-2010, 07:19 PM
معلش رحت آكل :D

هو أنا عملته 10^7

بس على فكرة هو كدة كدة ال w-axis ملهاش reference محدد .. يعني عمرها ما هاتقطع غير لما تضبطيها بال zoom

beauty
04-23-2010, 07:25 PM
bel hana wel shefa =)
mesh 3arfa any way hia medi2any 7asa eny 3amla 7aga 3'alat faba7awel orcade ya rabe 7aga menhom tetla3 sa7

Λ7MD
04-23-2010, 07:31 PM
أنا هاعمله ماتلاب و خلاص

beauty
04-23-2010, 07:34 PM
tib momken 7ad ye2ol ezay ba7awel l db in ORCADE?

yousef
04-23-2010, 07:37 PM
عشان يتعمل dB في الأوركاد
بعد ما بتطلع الرسمة بضغط double click على ال trace
that is the name of the viewed output
وبعدين حتطلع صفحة كده احط فيها ال formula
20 * LOG10 ()

beauty
04-23-2010, 07:49 PM
thx alot,
bas hia el overshoot 3and 0.95Mhz lih?wala ana 3amla 7aga 3'alat?

beauty
04-23-2010, 07:53 PM
beside lih madrabhash fe 10 why 20?

Kamal
04-23-2010, 07:54 PM
إم إنك تستخدمي add trace >> bode plot db او فيه زرار بيحول ال scale علي طول ل log scale

yousef
04-23-2010, 07:57 PM
to multiply in 20 because it is a voltage not Power

beauty
04-23-2010, 07:59 PM
إم إنك تستخدمي add trace >> bode plot db او فيه زرار بيحول ال scale علي طول ل log scale
thx alot i used what eng. yuossef told me & i think u mean the same thing but the problem is that the over shot is @0.9Mhz & i think it is alittle bit far or did u got it the same?

beauty
04-23-2010, 08:05 PM
to multiply in 20 because it is a voltage not Power
thanks alot

yousef
04-23-2010, 08:09 PM
did you put OmegaC = 628318.53

beauty
04-23-2010, 08:40 PM
yes

beauty
04-23-2010, 08:46 PM
oh noi found that i put it with Wc=628.31*10k.
i corrected it but now it gives me shoot @100k

sweetangel
04-23-2010, 09:31 PM
oh noi found that i put it with Wc=628.31*10k.
i corrected it but now it gives me shoot @100k



ana bardo tal3aly keda...i hope its correct isa

planète bleue
04-23-2010, 09:32 PM
فهمت :D

ahmad12
04-25-2010, 10:41 PM
tab 7ad tala3 el overshot di fel matlab?
btitla3 ma3ia el rasma 3adi mn ghir over shot :S

oastem
04-25-2010, 11:14 PM
انا طلع معايا ال overshoot في الماتلاب والاوركاد
بس عاوز اعرف الدكتور عاوز مين فيهم

ahmad12
04-25-2010, 11:16 PM
tab mat2oli maslan el overshot da yitla3 ma3ia ezay fel matlab?
ana 3amlt s=jw
w ba3din katbat el equation w 7atitaha f for loop 3ashan el Q w kda
bas el rasma bitla3 overshot fel awel curve bas w eli fo2ih kolohom mafish overshot
momkn a3mel ih maslan?

oastem
04-25-2010, 11:24 PM
بص انت دور عالنت على Bode Plot in matlab
هتلاقي كذا طريقة اختار اللي يعجبك فيهم واعملها على المعادلة اللي في المحاضرة

khalil
04-26-2010, 12:07 AM
ya gama3a ana ektashaft 7aga 3'areba

lama betzawed el Q 3n 0.7 beysal el 2n el curve beytla3 lfoo2 kda
w lama beyb2a 2a2al 3n0.7 el curve beyb2a 3ady shabah beta3 el transistor

ma3raf 2na ely 3'alat wala el dr howa ely 3'alat

planète bleue
04-26-2010, 12:26 AM
أعتقد الدكتور عكسهم في المحاضرة .. عشان الناس كلها طالعة معاها كدة

متقلقش يا بشمهندس حضرتك صح إن شاء الله :)

khalil
04-26-2010, 12:32 AM
thx blue

ahmad12
04-26-2010, 02:48 AM
i tried to plot with bode plot fa tal3li rasma ghariba w fiha magnitude w phase i dont think el doctor 3aiz magnitude w phase ??wala ih
i tried also to multilply 20log(H) but el rasma til3t kolaha fiha overshot
a3mel ih ??

planète bleue
04-26-2010, 03:15 AM
is that using ORCAD or MATLAB?

oastem
04-26-2010, 12:43 PM
i tried to plot with bode plot fa tal3li rasma ghariba w fiha magnitude w phase i dont think el doctor 3aiz magnitude w phase ??wala ih
i tried also to multilply 20log(H) but el rasma til3t kolaha fiha overshot
a3mel ih ??

ال bode plot بيطلع ال magnitude & phase
انت هتاخد رسمة ال magnitude بس اللي هي بال db يعني انت مش هتعمل فيها حاجة وهتطلع معاك مظبوطة

tamara
04-27-2010, 12:18 AM
in orcad when i turn y-axis to db over shoot disappears...is that right?

planète bleue
04-27-2010, 12:20 AM
لا يا بشمهندسة المفروض ال overshoots تبان في ال db برده

حضرتك شغالة matlab ولا orcad?

tamara
04-27-2010, 12:34 AM
orcad

planète bleue
04-27-2010, 12:57 AM
لا مش عارفة الصراحة !

أنا اشتغلت الريبورت matlab :)

tamara
04-27-2010, 01:00 AM
in orcad when i turn y-axis to db over shoot disappears...is that right?
i repeat my question

beauty
04-27-2010, 01:18 AM
no it shldn't disappear but its amplitude won't be very high as b4 db