Go Back   IceInSpace > Equipment > ATM and DIY Projects
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread
  #1  
Old 12-12-2013, 07:51 AM
rcheshire's Avatar
rcheshire (Rowland)
Registered User

rcheshire is offline
 
Join Date: Apr 2010
Location: Geelong
Posts: 2,617
MOSFET switching success

In an attempt to better understand the problem of pulse width modulation and mosfet switching and the frustrating lines on images, produced by switching events, I started from scratch.

Other than the huge voltage spikes generated by mosfets, pwm switching is the main source of lines in images. I found this to be the case with any form of hard switching on the logic side and opted for a soft solution.

Using a SPICE based simulator, I started with the mosfet, a logic level device that should run comfortably in the palm of your hand. Itracked down some typical N-channel enhancement characteristics, starting with Gate and Drain turn on/turn off.

The drain showed a nasty 300v spike at turn off - a pair of diodes fixed that with a 5k resistor to flatten out residual spikes along with a 10nH inductor. That pretty much took care of the power side of things.

On the logic side, any form of switching is noisy. In the attached circuit, PWM from the Arduino compatible microprocessor soft switches supply from the 12v side to the gate, rather than switching the mosfet gate directly - more or less simulating switching through a transistor.

The mosfet runs cool, and as far as I can see, inteference lines (in the dark frames I take to test noise levels) are imperceptable. I can't pick the difference comparing the fixed pattern noise of the sensor.

The mosfet gate voltage does not go to 0 with the Zener/diode in place, which probably accounts for a large part of the noise reduction - but it's cool to touch, which is a surprise. Temperature control is steady, with indications flicking up and down, as is usual, either side of setpoint.

Time for that mosfet driver and a new design mosfet with plans to go smd.
Attached Thumbnails
Click for full-size image (Screenshot_2013-12-12-05-53-03.png)
61.2 KB31 views
Click for full-size image (Screenshot_2013-12-12-05-49-03.png)
21.4 KB27 views

Last edited by rcheshire; 16-12-2013 at 05:27 PM. Reason: explanation
Reply With Quote
  #2  
Old 12-12-2013, 09:54 AM
2stroke's Avatar
2stroke (Jay)
The devil's advocate

2stroke is offline
 
Join Date: Jul 2011
Posts: 816
looks sweet would love to add a set point to my starshoot pro v2, will be following.
Reply With Quote
  #3  
Old 13-12-2013, 07:40 AM
rcheshire's Avatar
rcheshire (Rowland)
Registered User

rcheshire is offline
 
Join Date: Apr 2010
Location: Geelong
Posts: 2,617
Thanks Jay. I think it can be simplified further. The more I play with it, I realise it morphed from one thing to another. A tweak here and there should make it switch a bit cleaner.

EDIT: The solution is a mosfet driver. Alternatively, and I tried this last night, a LM317T can be used as a switch. PWM on the input pin and drive the gate with the output. This gets 3.89 volts to the gate from 5v pwm. Depending on the mosfet, it works. I've had the mosfet gate switching at <3v and still getting a full 24C differential - mosfet is warm to touch. I recall this was suggested in an earlier thread.

Last edited by rcheshire; 15-12-2013 at 09:10 AM.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 09:18 AM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Advertisement
Bintel
Advertisement