Google-Apps
Hauptmenü

Post a Comment On: Ken Shirriff's blog

"Reverse engineering the popular 555 timer chip (CMOS version)"

5 Comments -

1 – 5 of 5
Blogger Unknown said...

Wonderful post. I am taking a digital circuit design class and this was a great mix of both analog and digital circuit design materials. The one part the still has me a little confused is how the current mirror circuit works as it seems as though the PMOS has its drain connected to the gate which should cause it to oscillate on and off rapidly but it seems as though that is not the case. Any explanation would be greatly appreciated. If this is a stupid question I am sorry for wasting your time. Thanks for the read either way.

April 10, 2016 at 2:43 PM

Blogger Ken Shirriff said...

Hi Taylor, thanks for the question. I see why you'd think it would oscillate, but what actually happens is the gate voltage stabilizes somewhere in between. If you're taking digital circuits, you may be thinking of the transistor as either on or off, but in a current mirror you need to remember that the transistor is an analog component.

Specifically, the gate will end up approximately the threshold voltage below the source voltage (e.g. 0.7 volts below), with the exact voltage depending on the current. (You can play around with the circuit in the LTSpice simulator if you want to get a better feel for what's happening.)

Another way of thinking about it is that connecting the gate and drain creates a diode. If you hook up a diode and a resistor, you get a voltage drop across the diode, not an oscillation. This is exactly what happens in the current mirror.

You

April 10, 2016 at 11:08 PM

Blogger Unknown said...

Hi Ken,
For my Diplom : I used the Library IRremote.h to send an Infrared Code but i can only use the PIN3!!! What should i do to send codes with 4 LEDs(for exemple PIN 5,6,9). It's very important . Thanks

April 25, 2016 at 6:19 AM

Anonymous Anonymous said...

Hi

Wonderful article!

I've created a transistor based spice model for LTspice using your schematic.
I had to work out the mosfet parameters but it works nicely.

thanks for the read..

April 10, 2017 at 8:15 PM

Anonymous Anonymous said...

Hi there,

it was a pleasure to read your article. You did a really nice job :)

I came across an interesting point that I would like to discuss here. The CMOS version of the timer IC is based on two comparator circuits that are built from simple differential stages (NMOS-Diff input and PMOS-Diff input, respectively). Due to their structure, they have to posses a limited input common-mode range (ICMR) that is dependent on the active load and bias transistor, respectively. From my knowledge, only when both inputs lie inside this range, we can ensure a "safe" and non-faulty operation (all transistors in saturation region).

However, while one of the comparator inputs is tied to a reference potential, for the operation in bistable mode, the other inputs are driven directly from GND or VDD.

How is it possible to apply rail-to-rail inputs, while having a limited ICMR? Wouldn't this impair the working of the comparator?

Whoever reads this, please feel free to answer or discuss this point!

Greetings :)

October 6, 2022 at 1:54 PM

You can use some HTML tags, such as <b>, <i>, <a>

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.
Please prove you're not a robot