Controlling Slew Rate of GPIO

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
chuckbook
Posts: 135
Joined: Fri Oct 30, 2015 11:55 pm

Re: Controlling Slew Rate of GPIO

Post by chuckbook » Thu Apr 05, 2018 8:04 am

BTW, it is interesting that Rds seems to be constant. So I guess it is just a variation of the gate area or using multiple gates.

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Controlling Slew Rate of GPIO

Post by pythoncoder » Thu Apr 05, 2018 8:18 am

I must admit I can't figure out how it works. But it evidently does ;) I wonder if capacitance is somehow added to the pin to reduce the slew rate? Or might the "slow" MOSFETs use the Miller effect to reduce the slew rate while retaining a low Rdson?
Peter Hinch
Index to my micropython libraries.

chuckbook
Posts: 135
Joined: Fri Oct 30, 2015 11:55 pm

Re: Controlling Slew Rate of GPIO

Post by chuckbook » Fri Apr 06, 2018 11:00 am

If I remember correctly the (usually unwanted) parasitic capacity from overlapping gate and drain is indeed called Miller capacity.

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Controlling Slew Rate of GPIO

Post by pythoncoder » Sat Apr 07, 2018 5:32 am

Miller capacitance is that between gate and drain, or base and collector in a bipolar transistor. Not to mention anode and grid in a thermionic valve ;)

The key point about it is that if there's a resistance between the signal source and the control electrode, the effect of negative feedback causes the rate of change (or bandwidth) on the output to be limited; the feedback causes a small capacitance to have an unduly large effect. Usually this is undesirable but it struck me that in this case it might be used for slew rate limiting. In integrated circuits capacitors are expensive but a deliberately "bad" device geometry and the Miller effect could limit slew rate without limiting the current drive capability.
Peter Hinch
Index to my micropython libraries.

Post Reply