All About Circuits Forum  

Go Back   All About Circuits Forum > Electronics Forums > The Projects Forum

Notices

The Projects Forum Working on an electronics project and would like some suggestions, help or critiques? If you would like to comment or assist others with their projects, this is the place to do it.

Reply   Post New Thread
 
Thread Tools Display Modes
  #21  
Old 04-15-2012, 12:16 PM
bytraper bytraper is offline
Senior Member
 
Join Date: Sep 2010
Posts: 119
Default

Bill,
I took a video of the PWM... at the very beginning and end the triangle wave seems to go haywire. The squarewave is pin 7 and the triangle wave is pin 6


http://youtu.be/Lpgv3nfWcho

Hope this helps ?
Reply With Quote
  #22  
Old 04-17-2012, 03:01 PM
bytraper bytraper is offline
Senior Member
 
Join Date: Sep 2010
Posts: 119
Default

I still can't figure this out... any help will be appreciated!
Reply With Quote
  #23  
Old 04-17-2012, 09:42 PM
shortbus's Avatar
shortbus shortbus is offline
Senior Member
 
Join Date: Sep 2009
Location: ohio,usa
Posts: 2,670
Default

What is the load on your PWM? Is it a mosfet gate? If so it could be ringing on the gate back feeding in to your circuit.
Reply With Quote
  #24  
Old 04-17-2012, 11:47 PM
bytraper bytraper is offline
Senior Member
 
Join Date: Sep 2010
Posts: 119
Default

No, it feeds straight to a driver IC
Reply With Quote
  #25  
Old 04-18-2012, 08:35 AM
crutschow's Avatar
crutschow crutschow is offline
Senior Member
 
Join Date: Mar 2008
Location: L.A. USA
Posts: 5,687
Blog Entries: 1
Default

Quote:
Originally Posted by bytraper View Post
Bill,
I took a video of the PWM... at the very beginning and end the triangle wave seems to go haywire. The squarewave is pin 7 and the triangle wave is pin 6

http://youtu.be/Lpgv3nfWcho
The waveforms look more or less normal to me. At the maximum and minimum duty-cycles you are going to 0% or 100% output with circuit noise causing some sporadic pulses. The "haywire" is likely from the oscilloscope sync. If you sync on the sawtooth waveform you should get a stable sync and will better see what is happening.
__________________
Zapper
Curmudgeon Elektroniker
Reply With Quote
  #26  
Old 04-22-2012, 12:58 AM
bytraper bytraper is offline
Senior Member
 
Join Date: Sep 2010
Posts: 119
Default

No, its not normal, where the pwm freaks out is where the mosfets or the driver blow up.
Reply With Quote
  #27  
Old 05-02-2012, 09:00 PM
bytraper bytraper is offline
Senior Member
 
Join Date: Sep 2010
Posts: 119
Default

Just to let everyone know what happened with this, there was no problem with the pwm, the error was completely mine.

I made a really bad error that I didn't pick up on for ages. Floating inputs on the 5v rail cause random noise.... should have realised when I put my hand near it and it started to go wonky. Stupid, stupid stupid.

Didn't see it on the schematic because I'd drawn it so compact.
Reply With Quote
The Following User Says Thank You to bytraper For This Useful Post:
Bill_Marsden (05-03-2012)
  #28  
Old 05-03-2012, 07:29 AM
Bill_Marsden's Avatar
Bill_Marsden Bill_Marsden is offline
Super Moderator
 
Join Date: Mar 2008
Location: Dallas, TX (GMT-5 w/ DST)
Posts: 18,824
Blog Entries: 5
Default

Happens to us all. And remember, experience is when you make the same mistake a second time.
__________________
..
"Good enough is enemy of the best." An old engineering saying, Author unknown.

General info:
If you have a question, please start a thread/topic. I do not provide gratis assistance via PM nor E-mail, as that would violate the intent of this Board, which is sharing knowledge ... and deprives you of other knowledgeable input. Thanks for the verbage Wookie.
Reply With Quote
  #29  
Old 05-03-2012, 04:31 PM
crutschow's Avatar
crutschow crutschow is offline
Senior Member
 
Join Date: Mar 2008
Location: L.A. USA
Posts: 5,687
Blog Entries: 1
Default

Quote:
Originally Posted by Bill_Marsden View Post
Happens to us all. And remember, experience is when you make the same mistake a second time.
Or as I heard it "Experience is what allows you to recognize the same mistake twice".
__________________
Zapper
Curmudgeon Elektroniker
Reply With Quote
  #30  
Old 05-03-2012, 05:31 PM
wayneh wayneh is offline
Senior Member
 
Join Date: Sep 2010
Location: Roscoe, IL
Posts: 6,871
Default

"Education is what you get reading the fine print. Experience is what you get when you don't." Pete Seeger
Reply With Quote
Reply   Post New Thread

Tags
, , , ,


Related Site Pages
Section Title
Worksheet Digital-to-Analog conversion
Worksheet Flip-flop circuits
Worksheet Timer circuits
Worksheet Design Project: Pulse-Width Modulation (PWM) signal generator
Worksheet Signal modulation
Worksheet Power conversion circuits
Textbook Quirks : Using The spice Circuit Simulation Program
Textbook CMOS 555 LONG DURATION MINIMUM PARTS RED LED FLASHER : 555 Timer Circuits
Textbook 3-bit binary counter : Digital Integrated Circuits


Similar Threads
Thread Thread Starter Forum Replies Last Post
PWM to voltage conversion - OpAmp offset. vojtik The Projects Forum 4 03-12-2012 06:51 PM
A PWM DC Fan controller with rpm feedback and automatic rpm control! kammenos The Projects Forum 4 08-18-2009 08:17 AM
Learning - project pwm MrWoo The Projects Forum 5 06-19-2007 07:47 PM
How do I tell if the clock is working properly? skyjeff185 General Electronics Chat 6 02-14-2007 05:39 AM
pwm help. $10 in paypal for working circuit! fubar General Electronics Chat 17 03-23-2006 08:24 PM

Thread Tools
Display Modes

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. The time now is 10:34 AM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.