Maker Pro
Maker Pro

Three stage 555 generated PWM

Jtw11

Feb 19, 2012
2
Joined
Feb 19, 2012
Messages
2
Hi guys,

First post on this forum - I had a search around but couldn't find what I was looking for.

I'm building a motor controller that consists of a 555 timer configured in astable mode to output a frequency around 6KHz, i'm then feeding this 50% duty cycle PWM signal through an RC integrator to convert it to a triangular waveform.

This is then fed as an input into a comparator, the other input being the output from a pot to allow me to adjust reference voltage, and thus PWM output. The reason I'm doing it in three stages like this is to give me 0-100% PWM as opposed to 10-90% PWM.

A few questions;

  1. If i want to replace the pot with a 2 wire thermistor, how would I go about acheiving this? I can't quite work it out. The aim is to make one of the inputs to the comparator temperature dependant.
  2. Secondly, looking at the outputs on a 'scope - the 50% duty cycle PWM signal from the 555 is perfect, as is the triangular waveform. However, the output from the comparator looks like PWM in that I have a high signal, but the low signal is replaced with wha tlooks like the charging of a capacitor? Would maybe adding a diode to the comparator inputs solve this?

I've attached some pictures.

Cheers in advance for any replys!

J
 

Attachments

  • Photo 20-02-2012 11 13 47.jpg
    Photo 20-02-2012 11 13 47.jpg
    72.5 KB · Views: 240
  • Photo 15-02-2012 17 29 45.jpg
    Photo 15-02-2012 17 29 45.jpg
    69.9 KB · Views: 176
  • Photo 15-02-2012 17 29 16.jpg
    Photo 15-02-2012 17 29 16.jpg
    68.1 KB · Views: 200
  • Photo 15-02-2012 17 30 08.jpg
    Photo 15-02-2012 17 30 08.jpg
    71.4 KB · Views: 180

mechtronics

Aug 7, 2011
153
Joined
Aug 7, 2011
Messages
153
hi, u could change the pot to a 2 wire thermistor by putting on one wire of the thermistor to positive the second wire into the op amp inverting side, the same as where the pot is in the diagram and just run a resistor of approporiate value from the inverting side to ground.
 

duke37

Jan 9, 2011
5,364
Joined
Jan 9, 2011
Messages
5,364
Do you have a pull-up resistor on the output of the comparator?
 
Top