. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Hi tribbles,

    Yep, all that would work - I was just demonstrating that what was required could be done simply.

    In the past I've used PWM to modify the VRef voltage - however I've always spotted some ripple with a single stage of RC filtering (I think my PWM was at about 5khz) so always added another. Don't think it matters that much as long as the voltage is approximately right though.
    Usually I didn't bother with the VR, having options in the PIC to set the current (either with links setting the most common values, or via a menu on whatever display device I'm using).

    Monitoring the VRef voltage I've never found to be necessary - although my initial attempt did exactly that. I have in the past though (when building buck/boost converters to drive LED's) made self starting regulators using the PWM on the PIC and used the analogue inputs to monitor the voltage and adjust the PWM. That's a very interesting experiment in feedback loops... )

  2. #2
    Just to clear any confusion - you the 3k9 res should be removed from the +5v line and connected to a port. The voltage at the other end will never exceed 1v.
    Another resistor is connected the same (19k??) one end to the junction of the VR and the 3K9 the other to a second port.
    See first attachment, is this what you meant? if not Im afraid I dont know what you mean, sorry

    The advantages with this are:

    1) The hold VREF can be easily adjusted, and measured with a volt meter
    2) The PIC has voltage comparison circuits on GP0 and GP1, and this would be using them
    3) Interrupts can easily be used for everything (VREF going below voltage, clock signal coming in, timeout occurring)
    4) The PIC shouldn't need to be reprogrammed at all (once it's all working)
    Sounds good, especially not needing to be reprogramed , see 2nd attachment. hope Ive at least got 1 right

    If monitoring the vref isnt necessary then the reset option would be best. I see the data sheet says the reset must be initially be set low and then set high but this is the only circuit I have seen that dose this, all the others just tie it to +5v.

    The only question is what can we make GP3 do? Flashy lights, make the tea?

    Usually I didn't bother with the VR, having options in the PIC to set the current (either with links setting the most common values, or via a menu on whatever display device I'm using).
    Nice idea but I think I'll save that for the next incarnation...
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Copy Ideal mk2_ 4 amp.png 
Views:	464 
Size:	33.6 KB 
ID:	1173   Click image for larger version. 

Name:	mk2_ 4 amp.png 
Views:	427 
Size:	34.1 KB 
ID:	1174  

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 guests)

Similar Threads

  1. Replies: 1
    Last Post: 16-03-2014, 07:29 PM
  2. Dc servo driver
    By Treemonkey in forum Motor Drivers & Controllers
    Replies: 11
    Last Post: 11-02-2013, 08:16 PM
  3. Driver suggestions
    By Shinobiwan in forum Motor Drivers & Controllers
    Replies: 0
    Last Post: 04-03-2012, 03:54 PM
  4. Driver wiring help...
    By mike in forum Motor Drivers & Controllers
    Replies: 12
    Last Post: 21-09-2010, 09:29 AM
  5. Driver box
    By John S in forum General Electronics
    Replies: 1
    Last Post: 21-06-2009, 12:46 PM

Tags for this Thread

Bookmarks

Posting Permissions

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