PWM - Mosfet/motor introducing noise


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382

    Default PWM - Mosfet/motor introducing noise

    I'm building a prop controller for Halloween. The circuit I've designed has two relays controlled via transistors and a PWM motor controller via a mosfet.

    The mosfet gate is tied to the pic via a 1K resistor. The motor and relays all have a 1N4001 tied between 12V and common. I’m using the same 12V supply for the motor, relays, and the rest of the circuit (5V regulator to the circuitry). The PWM controlled Fet is connected to a windshield wiper motor from a car.

    The issue I'm running into is when the motor is run I am seeing spikes on the power buss.

    Any thoughts on how to correct this issue without dramatically changing the design? I could drop optos in and use a separate power supplies but that would require a ton of rework.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Are the spikes on the 5 volt buss? What do you have in the way of capacitors before and after the the 5 v regulator?
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    Here is a working schematic.

    I'm sharing a common between the 12V and 5V rail. I haven't looked at the 5V rail yet.
    Attached Images Attached Images

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Try a 4700 or greater cap across the motor leads?
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    I tried a 2200K, no change.

    Here are some scope shots of the 5V and 12V rails with the motor running.
    5V = motor controller2 sml
    12V = motor controller 12sml

    2ms/div, 1V/div (x10 probes)
    Attached Images Attached Images   
    Last edited by DynamoBen; - 17th October 2007 at 03:32.

  6. #6
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    After some thought I may just leave things as they are. To get it perfect will require a major redesign which I don't have time for. At this point I'm not sure that this will be a big deal. Agreed?
    Last edited by DynamoBen; - 17th October 2007 at 03:31.

Similar Threads

  1. Half-bridge PWM with a 16F684 ?
    By Byte_Butcher in forum General
    Replies: 7
    Last Post: - 17th January 2010, 22:18
  2. Variable PWM PIC18F2431
    By trr1985 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 12th June 2009, 06:03
  3. PWM: Vernacular/Function (Newbee)
    By TerryN in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 3rd July 2008, 16:58
  4. PWM setting PIC16F887
    By Gevo in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 12th June 2008, 07:24
  5. Tidying Up PWM Routine
    By Tissy in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st February 2005, 00:26

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts