switching high inductance loads


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    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 ...
    _______________________________________________



  2. #2
    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.

  3. #3
    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?

  4. #4
    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  

  5. #5
    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!

  6. #6
    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

  7. #7
    mytekcontrols's Avatar
    mytekcontrols Guest


    Did you find this post helpful? Yes | No

    Default

    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 found them, but it was part of a project I was subcontracted to do, so I can't post the entire schematic (too bad, since it has a lot of very useful power control related aspects). However I did take a snapshot of the item of interest, and have it shown here:

    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=386">

    The circuit shows an MOC3022 being used. This is actually a random crossing device. For zero cross switching, you will want to substitute a MOC3043 (unless you use the PIC to monitor the AC line for zero crossing as I did on this project). Here is the spec sheet for the zero cross part: http://www.jameco.com/wcsstore/Jamec.../277843FSC.pdf
    These are about $0.59 each from Jameco, and will be a drop-in replacement for the MOC3022 device. The external triac can be anything that is suitable for the voltage and load you anticipate for your application.

    The AC source can be any voltage you wish. Although if you want to run this at 200+ volts, it is recommended that the resistors be increased to 180 ohms. Also as I mentioned in an earlier post, you can directly drive small AC loads directly from the opto isolator's output (a very small relay or solenoid).

    By the way here is the Zero Cross Detection circuit I was using on the original project:

    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=387">

    The output of the XOR Gate was monitored by the INT0 line of the PIC, and would enable switching of the OPTO's only when the AC was in the zero crossing state. I took this route because I was also doing speed control of 2 motors utilizing phase delayed switching, based on zero cross as the starting point.

    I hope this info is of use to you,
    Attached Images Attached Images   

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