Recommendations - Model Train Controller


Closed Thread
Results 1 to 40 of 102

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Unfortunately i don't have anything like that here to test, but Maybe the PWM have to be smooth first...

    what happen if you place a big capacitor (470 & up) in parallel with the motors?

    What happen if you place a capacitor (few uF) on the mosfet gate pin? (transistor base)

    What happen if you use a variable voltage regulator (or PSU)? instead of PWM?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    Unfortunately i don't have anything like that here to test, but Maybe the PWM have to be smooth first...

    what happen if you place a big capacitor (470 & up) in parallel with the motors?
    Tried both high (1000uf) and low (100uf) - the loco won't move

    Quote Originally Posted by mister_e View Post
    What happen if you place a capacitor (few uF) on the mosfet gate pin? (transistor base)
    Tried, 1uf to 10uf. with a 1uf the growling was less noticable, but the slow speed control became less. Increasing this to 10uf and the loco had almost no ability to crawl.

    Quote Originally Posted by mister_e View Post
    What happen if you use a variable voltage regulator (or PSU)? instead of PWM?
    Don't know as I don't have a varible regulator to hand.. what would be the advantage of using one over using a pot accross the supply with the wiper connected to the base of the NPN tranny ?

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    what's your actual schematic?

    how much current your motor need?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Typically these loco's draw around 300mA - 600mA ( a quick test showed mine drawing 380mA with no coaches at full throttle )

    The schematic as it stands is attchaed
    Attached Images Attached Images  

  5. #5
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Saw the video.

    I've seen snails move faster than that, when it's raining.

    Cool.

    Hope someone can figure out the Growl.
    DT

  6. #6
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    Saw the video.

    I've seen snails move faster than that, when it's raining.

    Cool.

    Hope someone can figure out the Growl.
    LOL - thanks !

    I'm not too bothered about the noise the PWM makes, but as this will be used on a club lauout, other members might complain...

  7. #7
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink Simplify, simplify !!!

    Quote Originally Posted by malc-c View Post
    Typically these loco's draw around 300mA - 600mA ( a quick test showed mine drawing 380mA with no coaches at full throttle )

    The schematic as it stands is attchaed
    Hi, Malc,

    R3 is no use at all here ... short it !!!

    ... but a 1N 540x cathode at the + 12v, anode on the V+ output could be rather useful ...

    Alain

    PS ... for Growling, may be you could try to " unsharpen" the PWM to somewhat with increased rise and fall time ... by inserting a filtering coil in series in the output line ( a LITTLE smoothing capacitor too ??? )
    Last edited by Acetronics2; - 16th February 2007 at 09:56.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  8. #8
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Don't have that Diode suggested, have plenty of 1N4148's or 1N4001 to hand, would they do ?

  9. #9
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink

    The 4001 will be a bit too weak ... for serious use.

    try to find a 3A rated model ... or use a PNP Darlington with diode Built in !!! like BD678/680

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by malc-c View Post
    Tried both high (1000uf) and low (100uf) - the loco won't move
    Tried, 1uf to 10uf. with a 1uf the growling was less noticable, but the slow speed control became less. Increasing this to 10uf and the loco had almost no ability to crawl.
    4 - 8 kc whine? have you tried going even smaller? say .1 or .01 uf ? There is an outside chance you are not hearing the direct frequency in those motor coils but rather a beat frequency from the difference between 2 frequencies in which case you may be looking at bypassing RF.<br> I would bypass the motor from each power lead to the case too.
    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.

  11. #11
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Thanks for the suggestion, a tad over my head, but I think I follow your drift.

    Darrel / Steve,
    I've noticed that if I advance the pot fully (thus taking the A/D input pin to supply) and then turn it back down the loco stays at full speed, and the only way to correct this is to disconecct and reconnect the supply. - any suggestions (could this be down to the wrong setting for ANSEL)

Similar Threads

  1. Microstepper controller
    By aratti in forum Schematics
    Replies: 14
    Last Post: - 3rd January 2015, 16:52
  2. problem with the GSM controller
    By Dariolo in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th May 2009, 20:33
  3. Replies: 2
    Last Post: - 14th July 2008, 22:11
  4. Model Train controller - revisited
    By malc-c in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 8th May 2007, 09:40
  5. Dedicated LCD Controller question
    By chuckles in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 27th February 2006, 14:44

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