switching high inductance loads


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    kitcat, I assume from the schematic you are using one of the Allegro driver chips but I don't see pin 10 connected directly to the solenoid + supply. The reverse diode in series with this pin makes any connections to it useless.
    I have used quite a few of the Allegro (formerly Sprague) drivers and I have never experenced any problems with them reseting any processors I have connected to them. One thing to keep in mind when using these multiple sinking or sourcing drivers is the current return path in the case of sinking drivers, and the supply path in the case of sourcing drivers should be as direct to the current supply as possible. Therefore in your application the pin 9 of your selected driver should have a seprate high current path to the current source "return" and the pin 10 should be going to the the closest point of the "loads" current source.
    Dave Purola,

  2. #2
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    kitcat,

    First of all:
    As Dave has already mentioned: Pin 10 of the 2803 MUST be connected to the positive supply of the solenoids.
    (+12V in your case)

    BTW
    according to the schematic the Drivers on Pins 11 & 12 of the 2803 are not used.
    If so, you could drive the relay off one of those pins and get rid of the transistor, diode and resistor.

    Your schematic is not really clear,
    what are the relay pins connected to?
    (they some appear to be unconnected in your schematic)

    Could you complete the schematic before we continue guessing?
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  3. #3
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    See page 6 of this PDF (Fig.3).
    http://www.pololu.com/products/misc/0024/sn754410.pdf

    (fig 3). If you set Control A to "1" the current will flow
    in one direction in the motor winding (or your solenoid) and if you
    set Control A to "0" the current will flow in the opposite direction
    in the motor winding (or your solenoid).

    Same for Control B (Your second solenoid).

    External diodes are mandatory!

    * * *

    With two IC 7406 (inverting buffer), three IC SN754410 and 24 diodes you
    can drive your six solenoids.

    (You can find similar driver ICs with built-in diodes).


    Luciano

    *******************
    Edit:
    One IC with built-in output clamp diodes for inductive transient suppression is the L293D.
    The "D" at the end is for Diodes. The model L293 is without diodes.

    See page 8 of this PDF.

    (Texas Instruments Datasheet SLRS008C − SEPTEMBER 1986 − REVISED NOVEMBER 2004)
    L293, L293D QUADRUPLE HALF-H DRIVERS

    http://focus.ti.com/lit/ds/symlink/l293d.pdf

    *******************
    Last edited by Luciano; - 30th July 2005 at 07:40.

  4. #4
    kitcat's Avatar
    kitcat Guest


    Did you find this post helpful? Yes | No

    Default

    Sorry for my unclear and incomplete schematic. I am lacking in any good software for this purpose (and the necessary skills!)
    So far I have not even plugged the uln2803s into the sockets. I have just 1 solenoid hooked up and the pulse to flick the relay over and send current to the solenoid is enough to reset the pic. I will eventually have 16 solenoids with a global pulse to unltach them and then with the polarity reversed I was intending to latch the ones required. The equipment the are on hass them wired with a common feed and 16 returns which is why I have to do it this way.
    I will have to start again with this one. would there be an advantage to seperating the drive for the solenoids from the board the Pic is on?

  5. #5
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    See attached schematic (JPG file).

    Make sure you allow enough time for the relay to switch back
    to its unenergized position before you activate the solenoids
    with the 2803.

    On my schematic D2 and D4 are not necessary if you connect +12V
    to the PIN 10 of the IC 2803.

    The schematic only shows two solenoids.
    Do the same for the other four solenoids.

    Please verify before you try the schematic!

    I am on vacation for three days.


    Luciano
    Attached Images Attached Images  

  6. #6
    mytekcontrols's Avatar
    mytekcontrols Guest


    Did you find this post helpful? Yes | No

    Default

    kitkat,

    Since you mentioned not having any good software for doing circuit diagrams I thought I'd make a few suggestions of some utilities I have used and recommend. Here is a source for an excellent, and free (with some limitations) circuit and PCB layout package: http://www.cadsoftusa.com/
    (the free version only limits the size of the board you can layout, and allows only 1 page per schematic).

    And if all you are interested in is just doing schematics then this is a very easy to use, and quite good open source solution: http://tinycad.sourceforge.net/
    (this one allows using the clipboard to cut and paste into other windows apps... very nice).

    I hope that helps on the schematic development side. On the other issue of getting resets of the pic when switching solenoids; I found the zero crossing triac (AC) opto isolator approach good for preventing this. If the relay or solenoid load is very small, then no external Triac is required. If not, then driving a suitably rated external Triac with a simple resistor, capacitor snubber network, does the trick. I have successfully done this with massive 220 Vac solenoids switching gears on a 3000 foot cable winch without any gliching problems what-so-ever. If I find the schematics, I'll post them.

    Good luck!

  7. #7
    kitcat's Avatar
    kitcat Guest


    Did you find this post helpful? Yes | No

    Default

    Hi.
    thanks for those suggestions. I shall take a look real soon. I had been wondering what to do about my schematics. As for the schematics you mentioned, if you o have a chance could you have a look and see if you can find them. I am going to start again with this and see if I can't nail it.

    Matt Kitcat

Similar Threads

  1. SERIN MIDI out of Synch?
    By jncortes in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 9th June 2009, 20:08
  2. Old and beyond help ?
    By DavidFMarks in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 11th December 2008, 15:23
  3. confused problem with interrupt in a working program
    By illuminator4 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th November 2008, 17:01
  4. sample code for M25P32
    By Pedro Santos in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th January 2007, 02:37
  5. Serin and TMR0
    By capitano in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 17th May 2006, 14:58

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