Continue to Site

Welcome to EDAboard.com

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.

[PIC] PID control for PWM duty cycle

Status
Not open for further replies.

M.Rehan

Full Member level 2
Joined
Feb 10, 2016
Messages
129
Helped
2
Reputation
66
Reaction score
33
Trophy points
28
Activity points
972
can someone explain PID control logic for PWM duty cycle given below


--> Lets say output refrence voltage are 2.5V

If voltage are changed (transient change) from reference "V" Change PWM duty cycle accordingly to maintain 2.5 output

only using PID control logic

Assumption
ADC read at RA0/AN0
PWM1 out at RC1

Ps Explain in Mikroc syntax
 

Hi,

You want us to write your code? For free?

What did you do so far? Show us your code and your experience with it.

Klaus
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top