Author Topic: switch a LED with a MOSFET  (Read 583 times)

0 Members and 1 Guest are viewing this topic.

Offline andoo2012Topic starter

  • Newbie
  • Posts: 1
  • Country: us
switch a LED with a MOSFET
« on: May 10, 2021, 09:22:31 pm »
Hello,
I am working on a project where I need to turn a LED on/off by an FPGA pin (1.8V). It needs to work with up to 50 Mhz frequency.  I am currently using a channel MOSFET(BSS138PW) but the switching is very slow. The schematic pic is attached. The gate capacitance might be too high for FET to switch efficiently. Can I use a buffer before MOSFET to solve this problem? are there other better parts that I can use? Could somebody please point me to any articles/videos related to this topic?
 

Offline Nikan

  • Regular Contributor
  • *
  • Posts: 78
  • Country: de
Re: switch a LED with a MOSFET
« Reply #1 on: May 10, 2021, 10:10:03 pm »
I think your mosfet is too slow to handle 50mhz, could be more on the max side of the datasheet...
Having a 0Ohm gate resistance can destroy your fpga.
Try a generic 100mhz bjt with the correct base resistor.

If it's not the fet, a buffer would only help if the fpga can't supply enough current to charge/discharge the capacitance at that switching rate. Duty cycle should be considered as well.

If you don't have to use a discrete component you could also use something like the NC7WZ14 to directly drive the led.
« Last Edit: May 10, 2021, 11:45:32 pm by Nikan »
living without a multimeter is possible but not worth it
 

Offline Wolfram

  • Frequent Contributor
  • **
  • Posts: 382
  • Country: no
Re: switch a LED with a MOSFET
« Reply #2 on: May 11, 2021, 08:26:14 am »
In a common-emitter (source) configuration, a BJT will likely switch even slower due to storage time. The other suggestion of using an NC7WZ14 or any other modern fast gate (74LVC1G14, etc.) is more likely to do what you want. If you need more current than can be provided by a single gate, multiple can be paralleled through current sharing resistors, which can also serve the role as current limiting for the LED.
 

Offline Terry Bites

  • Super Contributor
  • ***
  • Posts: 2389
  • Country: gb
  • Recovering Electrical Engineer
Re: switch a LED with a MOSFET
« Reply #3 on: May 11, 2021, 08:49:34 am »
MAX3966/7 for instance?
 

Offline exe

  • Supporter
  • ****
  • Posts: 2562
  • Country: nl
  • self-educated hobbyist
Re: switch a LED with a MOSFET
« Reply #4 on: May 11, 2021, 09:02:56 am »
Why do you need to switch the led so fast? Is it a laser or something?
 
The following users thanked this post: tooki


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf