584,837 active members*
5,437 visitors online*
Register for free
Login
IndustryArena Forum > OpenSource CNC Design Center > Open Source Controller Boards > open source Atmel/arduino PID motor control
Page 7 of 13 56789
Results 121 to 140 of 250
  1. #121
    Join Date
    Aug 2006
    Posts
    157
    http://cdn.familab.org/blog/wp-conte...84_v0_4170.jpg

    im not great with circuits but a quick question i have after lookinga t this one is why would it be illegal in some countries?

  2. #122
    Join Date
    Dec 2003
    Posts
    24216
    I received one in I think in under 10 days, which is no different from shipments I get from the US, actually the Hong Kong ones are among the fastest!!
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  3. #123
    Join Date
    Dec 2003
    Posts
    24216
    Quote Originally Posted by timmyb199 View Post
    http://cdn.familab.org/blog/wp-conte...84_v0_4170.jpg

    im not great with circuits but a quick question i have after lookinga t this one is why would it be illegal in some countries?
    Most likely because it mentions EMI requirements and supposedly appropriate testing was not done to confirm if it conforms?
    I am not sure the opto is a zero crossing switching type, which if not, may help matters to includes one?
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  4. #124
    Join Date
    Dec 2003
    Posts
    24216
    Quote Originally Posted by Al_The_Man View Post
    I am not sure the opto is a zero crossing switching type, which if not, may help matters to includes one?
    Al.
    I see now there is a zero crossing circuit added as an input to the PicMicro.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  5. #125
    Join Date
    Aug 2006
    Posts
    157
    Quote Originally Posted by Al_The_Man View Post
    I see now there is a zero crossing circuit added as an input to the PicMicro.
    Al.
    which circuit you looking at AL. thanks for all the input on the thread, Im hoping to cut some pcb's early next week. im bummed my bits did not show up today

  6. #126
    Join Date
    Apr 2006
    Posts
    3498
    Don't worry and dont afraid guys ..we are not doing bad to SuperPID ..It will always sell because of lot of good options and many lazy people will not build our PID spindle control...

    If i set on this project i shall build it less than 03 days with a working prototype... Our PID will not be so much graphical but using 20x4 display we can put a lot on it..including temperature/RPM , humidity or whatever you like...Atleast our PID shall cover external drive PWM acceptance for controlling the PID through MACH3 or EMC etc..

    Now we have to keep the name of our PID spindle control driver...
    http://free3dscans.blogspot.com/ http://my-woodcarving.blogspot.com/
    http://my-diysolarwind.blogspot.com/

  7. #127
    Join Date
    Dec 2003
    Posts
    24216
    Quote Originally Posted by timmyb199 View Post
    which circuit you looking at AL. thanks for all the input on the thread,
    The one you posted in #121.
    http://cdn.familab.org/blog/wp-conte...84_v0_4170.jpg
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  8. #128
    Join Date
    Aug 2006
    Posts
    157
    i vote for

    O-P-I-D

    or pronounced

    O-PID

    open source pid

    :banana::banana:

  9. #129
    Join Date
    Dec 2003
    Posts
    24216
    Quote Originally Posted by timmyb199 View Post
    which circuit you looking at AL. thanks for all the input on the thread, Im hoping to cut some pcb's early next week. im bummed my bits did not show up today
    I found the code listing for that Pic 16C84 design and it does not have zero cross over switching.
    Just a choice of either IGBT or Triac switching.
    I thought by the print it may have had burst switching to avoid EMI?
    Either way it uses phase angle control.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  10. #130
    Join Date
    Mar 2009
    Posts
    533
    Just discovered this thread. I've read most of it.

    Electronic designs have such a wide range of doing similar things that there is no "best" circuit. Each design has good qualities and some not so good. Often a DIYer picks parts from their junk box and experiments away.

    Regarding the zero crossing circuit, I have a preference for an H11AA1, which has two photo diodes inside, and add two 15K resistors to sample the AC line. This circuit would not require a transformer. However, it should be done by peiople who understand the danger of working with 120VAC (or 220VAC in some other countries). An experimenter may still need to add some additional componets for the zero crossing if AC noise is a problem.

    Triac selection is somewhat power dependent. I'm thinking of a 16amp unit for my 120VAC source. I may experiment with some ST T1625T-8I that I got from Mouser. I tend to prefer the higher gate current types since I understand that the gate will be less sensative to noise. Again design choices with no "best" one. One may also choose a triac that has the package insulated from the AC line in case a heatsink is needed without getting shocks if you touched the heat sink while operating. Another design choice.

    There are numerous manufacturers of triacs that provide design ideas, or application notes, to control motors, light, heaters, etc that you may get additional ideas of what to add. Since a motor will produce voltage spikes, some designers add a MOV (varistor) to clamp these spikes. The selection is AC line voltage dependent.

  11. #131
    Join Date
    Dec 2003
    Posts
    24216
    The thing with zero crossing turn on, is that you have to use the burst type of control for SCR/Triac, as any thing else is phase angle control, i.e.turn on sometime in the conduction cycle, the only thing there is you can guarantee is zero turn off only.
    But unfortunately burst control mode, although most EMI free, is not that suitable for decent sized motors.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  12. #132
    Join Date
    Mar 2009
    Posts
    533
    Yes, I agree with you, Al.

    I also wanted to address the discussion regarding the question if the transformer could be eliminated for the zero crossing detect circuit - and it can. What the Arduino will do with this dectection input is up to the designer. However, I do suspect that this project will gravitate towards a phase angle controller, rather than a burst mode. But it may still be fun to try a burst mode controller.

    Sometime ago I had thought of experimenting with a motor controller for my MasterCraft 2.5HP router and have it "crawl" real slow, yeah..., like a stepper motor. Then see what problems I run into, like overheating, or excessive current, poor torque, etc. Then to create a possible solution for each problem. Just to experiment even if I had no useful project for it. It was to be mainly an educational excercise. I still haven't done it yet, but this thread made me revisit the idea now that I bought some triacs for a light dimming project.

  13. #133
    Join Date
    Dec 2003
    Posts
    24216
    Quote Originally Posted by KOC62 View Post
    . However, I do suspect that this project will gravitate towards a phase angle controller, rather than a burst mode.
    I understood the aim was for a PWM, originally?
    I just mentioned the Triac because of the questions on the posted schematic.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  14. #134
    Join Date
    Mar 2009
    Posts
    533
    OK. I may not be up to speed yet. I didn't catch that.
    I must re-read some of the posts again.... lol.

  15. #135
    Join Date
    Jun 2011
    Posts
    0
    Might be an idea to stick with the original design at the start of the thread and advance from that, Since that is known to work well.

    OSPID would be a good name

    Its so easy to go off on a tangent with a million ideas and have the original goal stalemate.(group)

    Cheers

    Rupert

  16. #136
    Join Date
    Aug 2006
    Posts
    157
    Agreed I am sticking towards original till working model. Waiting on bits


    Go go OPID

  17. #137
    Join Date
    Mar 2009
    Posts
    533
    1) For my clarification, the schematic we are currently using is by straga from post #5?

    2) The schematic from post #1 has an additional circuit consisting of a resistor network along with switches labelled START, SET, UP, DOWN, ESC that are not found in the post #5 schematic. Not used now?

    3) What does the resistor - switch SW1 do in schematic from straga, post #5? The firmware suggests POWER ON. Is that for the 5V supply power? Or for the 120VAC/220VAC power? Not clear to me.

    Thanks.

  18. #138
    Join Date
    Jun 2011
    Posts
    0
    Quote Originally Posted by KOC62 View Post
    1) For my clarification, the schematic we are currently using is by straga from post #5?

    2) The schematic from post #1 has an additional circuit consisting of a resistor network along with switches labelled START, SET, UP, DOWN, ESC that are not found in the post #5 schematic. Not used now?

    3) What does the resistor - switch SW1 do in schematic from straga, post #5? The firmware suggests POWER ON. Is that for the 5V supply power? Or for the 120VAC/220VAC power? Not clear to me.

    Thanks.
    Yes i think most of use are working from Straga's Schematic/code.

    The Schematic supplied by mrendu43 shows START, SET, UP, DOWN, ESC probably reserved for an LCD menu system

    Switch 1 (SW1) (powerOn) seems to point to manually turning the motor power on, i have not bread boarded to the circuit yet .
    And powerOn2 seems to point to an automated start from the CNC controller.

    Maybe someone else could confirm this ?

    Cheers

    Rupert

  19. #139
    Join Date
    Mar 2009
    Posts
    533
    koogar,

    Where did you get the vspindel_v3.pde version? I can only find vspindel-v2.pde by straga.
    Thanks.

  20. #140
    Join Date
    Jun 2011
    Posts
    0
    Quote Originally Posted by KOC62 View Post
    koogar,

    Where did you get the vspindel_v3.pde version? I can only find vspindel-v2.pde by straga.
    Thanks.
    Its attached to post number 12, KOC62

    http://www.cnczone.com/forums/attach...spindel_v3.rar

Page 7 of 13 56789

Similar Threads

  1. CNC Controller with Arduino - open source
    By Christian Knüll in forum Open Source Controller Boards
    Replies: 16
    Last Post: 12-22-2012, 10:46 AM
  2. Arduino PID Motor speed control for router
    By EL34 in forum CNC Machine Related Electronics
    Replies: 16
    Last Post: 12-02-2012, 11:34 PM
  3. Open Source Spindle Control
    By rcpilot82 in forum Open Source Controller Boards
    Replies: 7
    Last Post: 05-27-2011, 10:25 PM
  4. EMC2 (Open Source) Plasma Control w. THC
    By rugludallur in forum Waterjet General Topics
    Replies: 0
    Last Post: 07-19-2006, 09:25 PM
  5. Any open source or cheap driver for bipolar motor 6 Amp, 2.7V??
    By berryCR in forum Stepper Motors / Drives
    Replies: 1
    Last Post: 06-10-2006, 05:43 AM

Tags for this Thread

Posting Permissions

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