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.

Question about control theory

Status
Not open for further replies.

Manchested

Member level 5
Joined
Apr 25, 2011
Messages
87
Helped
1
Reputation
2
Reaction score
1
Trophy points
8
Activity points
0
Hi,

I wanted to control the brighhtness of lamp with mega8 by adjusting the pwm. If the measured brightness has a deviation from the desired brightness, then the program will increment or decrement the OCR value, meaning varying 1/255% duty a time (note this change isn't proportional to the error). This will go into a infinite loop until the error drops close to zero. Does anyone know what type of control action this is?
 

changing the output based on the input in an endless loop resembles feedback.
 

Are you asking for a device that can provide information for the light intensity so that it can be measured from the mcu?
I guess you can use a photoresistor.

Alex
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top