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.
Hi thank you for your codes I have given my files as proteus and MicroC in the thread " Result is not defined in function" "https://www.edaboard.com/threads/336080/" I think my problems are a little hard to solve .Now I read and learn about ADC PWM and PID .If I can not solve I think to ask...
@ FvM
Hallo!
At code Line 60 I had calculate the PID value but I think I used it wrong How can I give this value to the PWM ? bzw.to the duty? What did you mean with “Ti and Td parameters depend on the software cycle time which isn't well defined in your code.” ? what would I do to correct them...
For PWM Frequecy I had choosen 1000 because of Proteus . In real circuit I have choosen 10 000 Hz. In MicroC I coudnt see any Timer ,I think the libraries count the cycle times but how I dont know .For that reason in Function oku(); the values of variables II ,IY can not be reasonable...
The project :
There are two currents “ unsignt int IIO,IYO ; ” to compare via current sensors. The condition must be “ IIO > = IIY “ . if IIO < IIY then PWM works and gates a Mosfet to draw the over current over an external load. The current sensors are the same sort. They have 2,5...
Yes I see. I will investigate the Ziegler -Nichols tuning method The software cycle time is also considerable.I ve said that I'm new in C but a little knowledge about picbasic. I have to read about this Ti, Td parameters. Would you please say me how would it be defined software cycle time in C ...
Friends;
I'm new in C I tried to comply a project but I take this message .Can some help?
// LCD module bağlantıları
sbit LCD_RS at RD4_bit;
sbit LCD_EN at RD5_bit;
sbit LCD_D4 at RD0_bit;
sbit LCD_D5 at RD1_bit;
sbit LCD_D6 at RD2_bit;
sbit LCD_D7 at RD3_bit;
sbit LCD_RS_Direction at...
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.