electronic problem/question/help me ;)


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Posts
    747

    Default electronic problem/question/help me ;)

    Hi,
    I produced a variable dutycyle and variable frequency and output on RB0 (HPWM). thi is driving a mosfet driver.
    You can view the circuit here:
    http://www3.sympatico.ca/captoro/
    the problem I am getting is when I supply current to the coil, (which is probably not 10uH because I used the default one in Orcad, I'll need to calculate if you want. It has 300 feet wire wrapped on a 2 inch diameter PVC and 3 inch long) . the problem is when I put on the 36v actually for now 12v for testing purposes, the output pin from the picchip stops randomly for oscillating ....
    I mean 1 second on 0.5 second off etc...
    When there is no load the pic keeps oscillating !! why is this
    thanks for the help
    K

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,604


    Did you find this post helpful? Yes | No

    Default Re: electronic problem/question/help me ;)

    Hi,
    The PIC is probably resetting or locking up due to the EMI/EMF caused by the high speed/high current signals thru the coil and wiring.

    I'd clean up the wiring, keeping the high current stuff as far away from the low level stuff as possible. Make sure the coil current has a "clear return path" back to the 36V supply so that it doesn't need to pass thru any of the low level ground path. If they share the same ground (which they seem to) make sure to keep them separated thru out the circuit and only connect them together at one single point. Make sire you have ample decoupling across the supply for the PIC right across the supply pins, not inches away from it.

    You may want to put a low(ish) value resistor in the gate path for the MOSFET, (10 to 100ohms perhaps) it'll slow down the turn on/turn off slightly, reducing the EMI.

    Make sure you have proper decoupling at the MOSFET driver, datasheet suggests 4.7uF and 100nF - again, right at the supply pins of the device.

    Finally, that 7812 regulator won't work properly when driven from a 12V supply. If the supply is indeed 12VDC then I'd skip the regulator.

  3. #3
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default Re: electronic problem/question/help me ;)

    alright, I will make a few adjustments and get back to you
    thanks

    Ken

  4. #4
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: electronic problem/question/help me ;)

    100% agree with Henrik, would bypass MCLR with a .01 uF cap too . . .Electricity runs through wires, RF crawls around outside. 1 other thing, make sure chip is not browning out too.
    Last edited by Archangel; - 9th May 2013 at 10:34.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. help with electronic question
    By longpole001 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 18th April 2012, 23:49
  2. Electronic Components Giveaway
    By rmteo in forum Adverts
    Replies: 3
    Last Post: - 24th April 2010, 23:58
  3. Electronic toys
    By rmteo in forum Off Topic
    Replies: 3
    Last Post: - 24th September 2008, 14:21
  4. The 10 Electronic Commands
    By Acetronics2 in forum Off Topic
    Replies: 1
    Last Post: - 2nd February 2007, 10:21
  5. Electronic Key
    By Carl0701 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 16th February 2004, 10:01

Members who have read this thread : 0

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