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.
@ Jayanth I am using PIC16F887 and I have configured all the required registers. Thank you very much.
Thank you all guys for your concern. I could not fix the problem yet but I hope it would be soon.
Thank you for your reply.
The problem is that, my reference voltage is 5V so based on that if I modify my code as follows;
tlong = (long)adc_rd*5/1023;
ch = tlong / 1; // extract volts digit
It gives me 5.005V instead of 5.000V (assuming adc_rd = 1023);
- - - Updated - - -
kindly...
Dear Guys
I am new to PIC Microcontroller and just started working on an example i.e. to read ADC value and convert it to ASCI and then display on LCD. I am using mikroC compiler.
Can some body explain what does the following code do ?
unsigned char ch;
unsigned int adc_rd;
char *text;
long...
Dear Guys
I am working on the design of a buck converter. Using the classical approach of PWM for gating the Mosfet. I have also implemented a PI controller.
I came to know another approach of simply comparing the output voltage of my buck converter with a Vref and the feeding them to a...
Dear guys
Can some body clarify/explain to me;
What does the bandwidth of SMPS means ? For example, if we look at the open loop bode plot of LC buck converter, we can see after the corner frequency there is a -40dB/decade slope which actually shows the attenuation of the signals after the...
Yes I am talking about the first one. i.e.
I mean if i use only this algo then the system should work and the error will be eliminated so then why we always talk about PID controllers in digital controllers.
Thank you for your reply.
But I am sorry for me it is still not very clear. I do not understand what you mean
I mean if I increase and decrease my PWM pulse by pulse according to the voltage I sense from the feedback, in this case I can achieve steady state behavior ?
Dear Guys
I have a very basic question that why we use PID algorithm in digital controller design ?
I mean cant we use some alternative approach e.g if i sense output voltage of a dc-dc converter and then accordingly i adjust my PWM.
Lets take an example :
Suppose Vout of a dc-dc converter is...
Thank you all.
Infact I am working on very strict specifications, however I found a way to make my calculations, you might also be intersted in, therefore I am sharing it in bellow.
Decay Rate x Log (Fsw/Fc) = -dB
Decay rate for LC filter is = -40dB per decay
Fc => Corner Frequency
Fsw =>...
Dear Guys
I am have an the following specifications for my output LC Series filter design;
L = 5mH
Fswitching = 20kHz
Attenuation of 20kHz switching frequency = -60dB
I want to attenuate my 20kHz switching frequency upto -60dB, so How can I calculate my required corner frequency with a decay...
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.