Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
it was an example .. ok I ll try to make a good example:
let say you have 3 poles and a zero after all the math you get to a degree of -225
and gain of -50 dB at the last W[rad/sec] ( lets say the last one is a pole ( meaning zero-> pole-> pole->pole)
my instructer way to calculate the GM is...
mm ok... my instructor definition is strange... but as one of the people of commented here wrote:
I understand that a PM and GM are as you said but lets say if I go in the way of my Maybe your instructor was making the following assumption: it is a simple control loop where most of the poles...
well he didnot mention Nyquist - he didnot even wrote his name lol...
if you look at the image I sent at a previous post in this thread ..does Nyquist aplies there and does the private case that my instructer said is fine or I should do it by the "general" formula like you wrote ?
because the...
yes he did that .... but its a private case of phase and gain margin ..he did not show the "normal" way ( the one in the link)
I saw answers to questions from tests and they used the "normal" way or guessed/assumed numbers..
+ his way isn't accurate at all
I read what you wrote ( the first...
lets start with what I know about the gain and phase margin:
as my "teacher" told gain margin is :
you take the last zero or pole and messure the distance to zero dB.
phase margin :
you take the last zero or pole and see the difference between his phase and 180 degree.
BUT from what I read...
well I tryed to find differnet programs and the only one is sdcc how can I compile or make an hex file from c source file.
I tryed the command sdcc sourcefile.c. but it didnot work what i am doing wrong ?
the sdcc error says:
e:\>SDCC--debug--code-loc 0x2000--stack-lock 0xc0 --no-pep 145.c
145.c:21:syntax error:token ->'at' ; colum 8
stdout:invalid argument
I think its about the library BUT I add it manualy to the software ( the place I installed it)
its not all of the variables but youll...
well I just installed the demo software it looks great and act great but it still have limits.
about sdcc I think the problem is as you said srizbf its about the extra registers... I add the library of at89c5131 to the software library but still no luck
the problem is at a command for...
for start I had to use a c file from ride 7 or it wont build.. but its fine I had worse problems and the other thing is that it doesnt support my ic but I didnot look at the newer sdcc maby now ..one sec I ll check a newer sdcc.
I am still writing in ride7 but the building I ll do in a...
my main lang isnt english so I have a little problem explaining what I need..
yes I need another compiler..lol
since ride7 checks errors and build ( meaning convert the c file to hex file so I could "burn" it to my IC at89c5131)
I used sdcc but it had errors dealing iwth my IC...+ had...
I cant find the link for download .. I only found the download files with examples
I only need the software that makes c source code to hex file without the limitation.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.