single quadrant dc drive using pwm
Discussion in "General help Guidance and Discussion" started by maxparveen Feb 2, 2008.
Sat Feb 02 2008, 10:07 pm
i m working on a pmdc motor controller(ratings- 36V,15A nominal)
i m using mosfet as chopper so i need pwm to control speed of motor.
pulse width is to be controlled by potentiometer .now my plan is to use adc808 to sense pot (since i m also using it to sense temprature speed and some other voltages) and use its output to change on time of pulse using a relatove delay. problem is that i m not able to monitor the things alongwith generating pwm . either i can generate continuous pwm or i can poll for other things.please help me. i can do this using two microcontrollers but it will be more complex i think so.
i m using mosfet as chopper so i need pwm to control speed of motor.
pulse width is to be controlled by potentiometer .now my plan is to use adc808 to sense pot (since i m also using it to sense temprature speed and some other voltages) and use its output to change on time of pulse using a relatove delay. problem is that i m not able to monitor the things alongwith generating pwm . either i can generate continuous pwm or i can poll for other things.please help me. i can do this using two microcontrollers but it will be more complex i think so.
Sat Feb 02 2008, 11:50 pm
Well i have a suggestion for you.. you are using POT to control speed.. so i think.. you don't need a microcontroller.. just use the POT with NE555 to generate a PWM. and rest temperature par you can use ADC and micro..
but still if you want to do both the things together.. then do it on time basis like.. read first channel and then read second channel and do things accordingly.. this can be done in mili Seconds, so there wont be any difference.. and PWM is interrupt based, you wont have any problem implementing everything together
PS: if you like then do share your project with us. I will have it on my site.
but still if you want to do both the things together.. then do it on time basis like.. read first channel and then read second channel and do things accordingly.. this can be done in mili Seconds, so there wont be any difference.. and PWM is interrupt based, you wont have any problem implementing everything together
PS: if you like then do share your project with us. I will have it on my site.
Powered by e107 Forum System