element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
The Learning Circuit
  • Challenges & Projects
  • element14 presents
  • The Learning Circuit
  • More
  • Cancel
The Learning Circuit
Documents The Learning Circuit 32:  Making a FET Phase Light
  • Blog
  • Forum
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
The Learning Circuit requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Engagement
Author: kellyhensen
Date Created: 20 Nov 2018 7:58 PM
Last Updated: 6 Oct 2021 9:46 PM
Views: 584
Likes: 10
Comments: 19
Related
Recommended

The Learning Circuit 32:  Making a FET Phase Light

element14 Presents

Learn basic electronics, explore STEM subjects, get what you need to know to get started on electronics projects, and more.

Back to element14 Presents homepage

The Learning Circuit
Project Videos
element14 presents

 

You don't have permission to edit metadata of this video.
Edit media
x
Upload Preview

Karen shows how capacitors and mosfets work together to create a project with 3 constantly shifting LEDs. Learn how to create a cool LED effect without the use of a microcontroller in this phase light project!

  • learning circuit
  • e14presents_makerkaren
  • making a fet phase light
  • Share
  • History
  • More
  • Cancel
Anonymous

Top Comments

  • jc2048
    jc2048 over 3 years ago +8

    In case it's of any interest, the circuit has its roots in this phase-shift oscillator:

     

    https://en.wikipedia.org/wiki/Phase-shift_oscillator

     

    That has three RC networks and just a single transistor to…

  • Sean_Miller
    Sean_Miller over 3 years ago +2

    Although this is a digital solution using a MAX7219 chip, it shows a fun application of LED diffusion around 6:40

     

     

    …
  • michaelwylie
    michaelwylie over 3 years ago +2

    I can't help but notice the wool sweater and partial gloves. What do you do for static control, especially when dealing with FETs?

  • makerkaren
    makerkaren over 1 year ago in reply to oscargrey54

    The capacitors in your simulation are perfect so they would stay synced, all discharging at the same time for the exact same duration. Real capacitors are flawed so each would discharge at a slightly different rate, slightly faster or slower than each other, which is what triggers the offset. (I think)

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • oscargrey54
    oscargrey54 over 1 year ago in reply to makerkaren

    A big thanks for the reply, Karen. So, basically the Capacitors in the Simulation won't be discharging quickly or at the rate they discharge in real circuits due to which there will  be a positive voltage at the GATE of the MOSFET for most part of the time that allows the current to flow from SOURCE to DRAIN, which allow all the LEDs to glow at the Same time. Am I Correct with these points ?

    - Oscar

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • makerkaren
    makerkaren over 1 year ago in reply to oscargrey54

    It's been two years, but I think I know what's happening. So you created the circuit identical to the way I created it, but you're only showing a simulation, not creating the circuit IRL?

    I believe the ideal circuit, with each component manufactured exactly to spec, would, in fact, have all the lights synced. What causes them to be slightly off is the minor imperfections and slight differences between real world components.

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • oscargrey54
    oscargrey54 over 1 year ago

    Hi everyone,

    May be it's almost two years since you guys discussed about the FET phase light, but i'm new to the FETs and i definitely need  your help. I tried to create the circuit in Tinkercad but wasn't able to achieve the Shifting effect since all LEDs were lighting together all the time. Don't know what was making  the difference.   

                                               Here is my implementation of the Circuit.

       

    I would be grateful for all your help.

    - Oscar

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • makerkaren
    makerkaren over 3 years ago in reply to jc2048

    I wonder if the difference could be in the real parts. Since the components are made to a certain spec, but there is only a certain level of accuracy possible, there is a slight enough variance from component to component that the minute differences could eventually trigger the oscillation. That's my theory.

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • jc2048
    jc2048 over 3 years ago in reply to Sean_Miller

    I've got three identical LEDs in there which I picked at random from those in the simulator. Don't even know what they are (it looks like it might be a Kingbright part number). I was just going for the general behaviour to show how it's actually trying to be a sinewave oscillator (with very heavy clipping).

     

    I assumed that it wouldn't start unless I changed something on one of the stages, but I've just tried it with identical capacitors and it does eventually start, though it takes its time. Here's what it does

     

     

    I assumed that it wouldn't start because I've often seen that behaviour with oscillators in the simulation where they need a kick of some sort to get them going, but here I'm wrong.

     

    I can't explain that but, if you asked me to guess, I'd say that it might be something to do with the way the simulation proceeds. The simulation has to be in discrete steps of time and with feedback like this, with a signal circulating round a loop, I suspect it might be to do with the order in which the calculations proceed round the loop when it first starts. Just guessing, though.

     

    Different LEDs would certainly make a difference. Partly because of the drops limiting the signal at different voltages, but also because the gain of a stage is related to the load. So, all in all, my simulation isn't that good as a model of the real circuit.

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • Sean_Miller
    Sean_Miller over 3 years ago in reply to jc2048

    Awesome stuff!

     

    Do the LED's being different colors affect the startup timing distinctly?  If so, is that due to a difference in forward voltage?

     

    Without changing the capacitor value, did it not get to oscillating at all?

     

    -Sean

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • makerkaren
    makerkaren over 3 years ago in reply to jc2048

    That's great additional information. Thanks, Jon!

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • jc2048
    jc2048 over 3 years ago

    In case it's of any interest, the circuit has its roots in this phase-shift oscillator:

     

    https://en.wikipedia.org/wiki/Phase-shift_oscillator

     

    That has three RC networks and just a single transistor to give enough gain to make up for the losses through the passive

    components. The transistor gives 180 degrees of phase shift (an inversion) and the three RC networks contribute the other 180

    (ideally they'd each contibute 60 degrees, but for the BJT case it doesn't divide that neatly because of the way that the

    transistor loads the last stage).

     

    In Karen's circuit, each RC network is followed by its own gain stage. The two additional stages invert twice, leaving

    things as they were. Each gain stage can then drive an LED as its load.

     

    Here it is in a simulator.

     

     

    I've made the first capacitor a slightly different value (2.15uF) to the other two to encourage the simulation in getting the

    oscillation started - in a real circuit they'd never be identical (and the gate thresholds and resistors would be different

    too). The real circuit probably starts quicker than the simulation. [I've also used a voltage generator rather than a voltage

    source for the power. That just enables me to have the power applied after the simulation start time (at time = 1s).]

     

    First plot is all the waveforms on top of each other which shows how it gets going with one stage getting a slight edge over

    the others and then forcing the others into the sequence. The second one is with the waveforms separated and shows more

    clearly how the resulting phases drive the three LEDs.

     

     

    • Cancel
    • Up +8 Down
    • Reply
    • More
    • Cancel
  • makerkaren
    makerkaren over 3 years ago in reply to michaelwylie

    Excellent point! My electrostatic bracelet recently arrived. Sadly, when building this project I was using poor practices and didn't have any ESD protection. I lucked out in not harming any of my FETs.

    That's a really good warning and while I meant to put it in one of the FET videos, I can't remember if the information made it in. FETs are extremely sensitive to statice electricity and can even be damaged by what little is generated by the human body. It is always a good idea to use an electrostatic discharge bracelet when working with FETs. You also want to store them in low static conditions, never in styrofoam and preferably in an antistatic bag.

    jw0752, Womp womb. I do like to think I'm fairly...grounded.




    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
>
Element14

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2022 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube