Back
[00:43:45] <skunkworks> logger_dev: bookmark
[00:43:45] <skunkworks> Just this once .. here's the log:
http://www.linuxcnc.org/irc/irc.freenode.net:6667/emcdevel/2009-07-27.txt
[01:40:53] <jepler> skunkworks: how's the garage?
[01:43:18] <skunkworks> slow going
[01:43:29] <skunkworks> almost to the point of siding the last 3 sides
[01:43:38] <jepler> any progress is good
[01:43:46] <jepler> I'm finally going to have a half hour or so to play with zenbot
[01:44:23] <jepler> X and Z seem to do OK with the same tuning parameters, at least they don't ferror with the wide FERROR = .050 MIN_FERROR = .010 ..
[01:44:37] <jepler> Y, the axis I'd tuned before, I have on FERROR = .005 MIN_FERROR = .001
[01:44:57] <jepler> Z had faulted before with these settings, but seems to have stopped now that I moved the current jumper from the 1A position to the 3A position
[01:46:21] <jepler> another thing I need to test: does the position feedback stay good when running the spindle
[01:59:52] <jepler> I dunno the right way to test, but I did two short tests with the spindle running: first, with servo amps off, I looked for 1-count position changes. I didn't see any.
[01:59:56] <LawrenceG> jepler, what are you using for the servo drives?
[02:00:14] <jepler> second, with servo amps on I did a series of moves and checked whether it returned to the mark where it started. That went OK too, but the test was only dozens, not hundreds, of inches
[02:00:37] <jepler> LawrenceG: 7i30 (quad "100W" brush servo amplifier), they're small motors
[02:01:22] <LawrenceG> cool.. if you see any more of those motors come available, please let me know!
[02:02:52] <LawrenceG> jepler, there are slim pickin's at electronic goldmine, all electronics. All does have some nice bigger dc motors but adding encoder is non trivial
[02:06:59] <jepler> LawrenceG: unfortunately, I think skunkworks got the last of 'em
[02:07:35] <jepler> http://skycraftsurplus.com/index.asp?PageAction=VIEWPROD&ProdID=1877
[02:08:44] <LawrenceG> jepler,
http://imagebin.ca/view/tfhDvq1.html is a nice servo diagram I found on the net that supports multiple servo modes
[02:09:50] <LawrenceG> nice price... cheap encoder even if one doesnt use the motor
[02:11:40] <jepler> What's "E sub G" compensation gain?
[02:12:08] <jepler> (that's a hard term to google, all the hits are (e.g., compensation))
[02:12:19] <jepler> is it related to back emf?
[02:14:52] <LawrenceG> like emc ff1 I think
[02:17:49] <jepler> emc uses positions as the pid inputs, while this uses velocities .. otherwise, it looks substantially similar to emc's PID
[02:17:58] <jepler> (you achieve the switches by changing hal connections or using muxes..)
[02:18:53] <jepler> emc's ff1 is a constant times commanded velocity .. at face value, this diagram shows a constant times feedback velocity
[02:19:00] <jepler> the latter is more clearly related to back emf
[02:20:06] <LawrenceG> yes... all pid's are pretty close to the same... the interesting option is that Mode 0 alls one to directly command the power stage to different levels... this is very handy for testing hardware without pid tuning being an influence
[02:20:28] <LawrenceG> s/alls/allows
[02:24:04] <LawrenceG> commanded vs actual velocity.... not sure which one gives better control... if everything was perfect, they would be the same
[02:24:57] <pcw_home> Nice PID chart
[02:25:26] <SWPadnos> hi pcw_home
[02:25:34] <pcw_home> Hi all
[02:25:45] <SWPadnos> got a question about the size of the 5i23
[02:25:51] <LawrenceG> from a servo site, Elm servo I think... Hi Peter
[02:25:53] <SWPadnos> (it's nice and small :) )
[02:25:59] <SWPadnos> Elmo?
[02:26:20] <pcw_home> Hi Lawrence
[02:26:52] <SWPadnos> pcw_home, I'm going to have to design a bracket to hold the 5i23 in a riser card. making my own PC enclosure, for the most part
[02:27:19] <SWPadnos> I have measured the hole spacing, but wouldn't mind checking it with the source :)
[02:27:25] <pcw_home> Looks like actual BEMF would giver truer torque mode
[02:27:37] <pcw_home> (not that thats a good thing)
[02:27:57] <LawrenceG> http://elm-chan.org/works/smc/report_e.html
[02:28:05] <pcw_home> Hole spacing should match PCI specs
[02:28:17] <pcw_home> I can send a drawing Monday
[02:28:21] <SWPadnos> is there a spec for the holes for the bracket?
[02:28:30] <pcw_home> Yes
[02:28:33] <SWPadnos> huh
[02:28:56] <pcw_home> Not that anyone follows it
[02:29:02] <SWPadnos> ok, no wonder :)
[02:29:19] <SWPadnos> I think I've even seen cards that had the bracket attached solely with the connector screws
[02:29:41] <pcw_home> Sure, thats common with wide connectors
[02:30:59] <jepler> here's what my dual loop looks like:
http://emergent.unpy.net/index.cgi-files/sandbox/emc-dual-loop.png
[02:31:08] <jepler> the hal's written, but neither loop is tuned
[02:31:16] <jepler> (my earlier report that all 3 axes were working are with single loop)
[02:33:27] <jepler> it's easy enough to hook up another signal at vel-cmd. I don't have home switches, so I plan to set something up where I can home in emc, then have fake limit switches based off joint-pos-fb (emc subtracts the joint offset off the motor position) so I estop if the motor is going where I don't want it
[02:33:37] <jepler> er, I don't have *limit* switches
[02:34:26] <SWPadnos> does that make sense?
[02:34:47] <SWPadnos> hmm. maybe it does
[02:35:05] <SWPadnos> since RT/HAL can be fully functional with userspace out to lunch
[02:35:56] <jepler> it should be plenty good enough for my needs -- by no means is it a real safety measure that anyone should use in his own system..
[02:36:00] <SWPadnos> pcw_home, ok - I see that I measured well - I got 3.36 between holes (I may have assumed it was a round number)
[02:36:07] <SWPadnos> I see that the actual number is 3.362
[02:37:39] <SWPadnos> I'll send you the the design if you like. it's suitable for use with any mini-ITX board, assuming you use a standoff of the appropriate length for your riser card.
[02:39:37] <pcw_home> SWPadnos: Sure that would be nice. There was a typo in one of the PCI specs drawings that
[02:39:39] <pcw_home> had 3.632 instead of 3.362, naturally thats the one I used on our first cards...
[02:39:40] <pcw_home> It would be good to modify the normal PID loop so it would take HostMots2s velocity estimate
[02:39:42] <pcw_home> instead of DV/DT, though i would expect the velocity estimate to need some debugging...
[02:40:03] <jepler> pcw_home: yeah, jmkasunich and I have talked about that too
[02:40:16] <SWPadnos> jepler's dual-loop setup uses the encoder velocity, since it's using a separate velocity loop
[02:40:17] <jepler> two fests ago, I think
[02:40:26] <jepler> SWPadnos: yes, that's true as well
[02:40:41] <SWPadnos> in Wichita last year, I think - over Thai or Indian food
[02:41:33] <pcw_home> A good thing to try is setting up a PID loop with only KD, and a small motor
[02:41:35] <pcw_home> and feeling for software bugs through reversals...
[02:42:59] <pcw_home> (by moving the shaft by hand)
[02:48:57] <jepler> 'night
[02:49:57] <pcw_home> Still sunny here...
[02:52:36] <jepler> "An integrated, patent pending 32-level first in, first out (FIFO) buffer can be used to store data to minimize host processor intervention"
[02:52:49] <jepler> boy, it's 2009 and you can still patent the FIFO?
[02:55:15] <SWPadnos> you can apply at least
[02:55:17] <SWPadnos> apparently
[02:57:39] <pcw_home> I was a little worried about the counts/time velocity estimator and sure enough there are patents
[02:57:40] <pcw_home> in the 200x range for such estimators, but theres really good prior art in a (expired) 1987 patent
[02:58:30] <SWPadnos> it really bugs me that we have to spend the time to look for that kind of thing
[02:59:23] <pcw_home> Its really silly especially for those things that _are_ obvious if you look at the problem for 5 minutes
[03:08:38] <SWPadnos> yes
[03:09:22] <SWPadnos> I had no idea I was infringing NCR's patent when I wrote some code - in my spare time in high school - to XOR data on/off the screen
[03:09:44] <SWPadnos> actually, my drawing program might have been prior art. I don't remember when they got their patent
[03:10:57] <pcw_home> I think we got an infringement notice on that, I think they eye-grepped all the trade journals for VGA
[03:10:59] <SWPadnos> oops. I'm confusing GIF and XOR - it wasn't NCR
[03:21:10] <pcw_home> Looking up the XOR patent, someone claims it killed Amiga...
[03:21:12] <SWPadnos> heh. I just read that :)
[03:24:13] <pcw_home> We just circular filed the notice...
[03:25:28] <SWPadnos> according to an email post I just read, a lot of people did that, and more or less weren't bothered afterwards
[03:26:29] <pcw_home> Nope, never heard from them again.
[03:31:30] <pcw_home> Reminds me of one of my first computer related jobs
[03:31:32] <pcw_home> I suggested using XOR for checking for I/O port changes.
[03:31:34] <pcw_home> My boss got all excited and said we should patent the method
[03:31:35] <pcw_home> (this was an CPD1802 sometime in the 70's)
[03:31:43] <SWPadnos> heh
[03:42:23] <pcw_home> good night all
[03:42:45] <SWPadnos> see you
[10:03:43] <alex_joni> jepler: I'd have to ask for a 2.3.4 :/
[10:20:40] <micges> alex_joni: hello
[10:20:45] <micges> got few minutes?
[10:26:13] <christel> [Global Notice] Hi all, we appear to be having some routing issues causing the network which services reside on to be unreachable, we're looking into it now -- please be aware that services (chanserv, nickserv etc) are unresponsive currently. Please set yourself +w for further information as we look into this. Thank you for using freenode.
[10:26:18] <micges> I'm a bit confused: canon code uses X..W, motion is based on joints 0..n but TP is using also X..W so some info must be stored on motion about axes besides joints info
[10:27:40] <micges> or maybe TP only use one info about each axes max vel/acc and thats all it's need?
[10:30:01] <micges> sorry I'm baffling (coffee..)
[11:45:47] <jepler> alex_joni: already? I just did 2.3.3 yesterday!
[11:46:29] <jepler> micges: everything is in terms of axes until after the trajectory planner. the trajectory planner plans axes, otherwise a G1 move wouldn't be a straight line in space..
[11:48:04] <alex_joni> jepler: I know :/
[11:48:09] <alex_joni> I borked the cooltool configs
[11:48:26] <alex_joni> I removed references for emc.nml from them (like I did on master)..
[12:01:50] <BigJohnT> is there a limit to the size of a g code file or the number of lines?
[12:02:38] <BigJohnT> or is the size limited by the amount of memory on a computer?
[12:17:59] <alex_joni> theoretically memory
[12:18:13] <BigJohnT> alex_joni: thanks
[12:21:41] <CIA-2> EMC: 03jepler 07v2_3_branch * r6f82811c3070 10/debian/changelog: add way to get path to Makefile.modinc
[12:21:42] <CIA-2> EMC: 03jepler 07v2_3_branch * r81dda51b46f6 10/src/emc/usr_intf/stepconf/ (stepconf.glade stepconf.py): Make stepconf usable with 800x600 display
[12:21:44] <CIA-2> EMC: 03jepler 07v2_3_branch * r8c140a44ad0c 10/src/emc/usr_intf/stepconf/stepconf.py: change stepconf to close expander widget
[12:21:45] <CIA-2> EMC: 03jepler 07v2_3_branch * r5209bdc1df3f 10/src/emc/usr_intf/stepconf/stepconf.py: get rid of image, it forces window to be too big
[12:21:46] <CIA-2> EMC: 03jepler 07v2_3_branch * r1c23496e1736 10/debian/changelog: note bugfix
[12:22:34] <jepler> alex_joni: aha, and ugh
[12:23:00] <alex_joni> ugh indeed
[12:23:27] <jepler> alex_joni: feel free to push your fix for that one onto v2_3_branch, since I have no way of evaluating it anyway
[12:23:34] <jepler> it was broken in 2.3.2 too, I guess
[12:23:38] <alex_joni> right
[12:25:54] <jepler> BigJohnT: the interpreter and task are carefully written so that the only limit on part program size is disk capacity. tkemc and axis both load the program text to display it to the user, though, so RAM becomes a limiting factor. In AXIS, because the preview plot is drawn by default, the redraw time also becomes a practical limit on program size.
[12:28:25] <micges> BigJohnT: practically it is about 500k lines on P4 2.8Ghz, 1GB ram, geforce 2
[12:29:01] <micges> but it may vary on different pc's
[12:49:19] <BigJohnT> thanks guys
[12:53:08] <BigJohnT> Hi Ho Hi Ho it's off to work I go bbl
[13:12:05] <skunkworks_> logger_dev: bookmark
[13:12:05] <skunkworks_> Just this once .. here's the log:
http://www.linuxcnc.org/irc/irc.freenode.net:6667/emcdevel/2009-07-27.txt
[16:00:37] <Lerman_______> Lerman_______ is now known as Lerman
[16:47:35] <CIA-2> EMC: 03alex_joni 07v2_3_branch * r6f4d1165b3ba 10/configs/ (8 files in 3 dirs): add missing emc.nml reference to the inis
[16:47:36] <CIA-2> EMC: 03alex_joni 07v2_3_branch * rc34d6370a9f5 10/debian/changelog: note cooltool config fix
[16:48:01] <alex_joni> * alex_joni wonders why 3 dirs..
[16:49:10] <jepler> git says you changed some files in plasma-thc and plasma-thc-sim
[16:49:22] <jepler> or maybe you just removed them?
[16:49:40] <jepler> configs/plasma-thc-sim/emc.nml | 47 -------------------------------------
[16:49:44] <jepler> configs/plasma-thc/emc.nml | 47 -------------------------------------
[16:50:29] <jepler> UGGGUGGHGHGH
[16:50:32] <alex_joni> well.. I saw in the commit log that I removed them
[16:50:34] <jepler> and the change you introduced has dos-style line endings
[16:50:36] <alex_joni> but I have no idea why
[16:50:46] <alex_joni> jepler: all the files have dos-style line endings
[16:50:49] <alex_joni> :(
[16:50:58] <jepler> *bam* *bam* *bam*
[16:51:06] <alex_joni> leave that wall alone
[16:51:10] <jepler> it's a good thing these IBM clicky keyboards are so well built
[16:51:54] <alex_joni> I see this:
[16:52:01] <alex_joni> $ git checkout v2_3_branch
[16:52:13] <alex_joni> Previous HEAD position was ce45e1... release 2.3.3
[16:52:23] <alex_joni> D configs/plasma-thc-sim/emc.nml
[16:52:31] <alex_joni> D configs/plasma-thc/emc.nml
[16:52:41] <alex_joni> Switched to branch "v2_3_branch"
[16:53:27] <jepler> I bet at some point you did a "make clean"
[16:53:57] <alex_joni> I see the emc.nml is wrongly part of 2.3.1..2.3.3
[16:54:10] <alex_joni> in the plasma-thc and plasma-thc-sim folders
[16:54:39] <alex_joni> and those dirs are part of COPY_CONFIGS in src/Makefile
[16:55:06] <jepler> yeah -- so they were added by mistake, removed by you when you did a 'make clean', and the the change commited when you did 'git commit -a'
[16:55:17] <alex_joni> ok, so no harm done
[16:55:23] <alex_joni> (except the wrong commit message)
[16:56:29] <CIA-2> EMC: 03jepler 07v2_3_branch * r342b1385352d 10/configs/cooltool/ (9 files): convert from DOS to UNIX
[19:56:57] <alex_joni> whee.. pictures of cradek's "junior" :)
[19:59:10] <tomaw> [Global Notice] Hi all, one of our sponsors is having connectivity problems resulting in a loss of services (ChanServ, NickServ etc). Please keep with us while we investigate. Thanks.
[20:31:44] <skunkworks_> where?
[20:37:20] <skunkworks_> * skunkworks_ looked in all the usual places..
[20:39:23] <cradek> http://geektrap.com/bill/01248711886
[20:39:58] <skunkworks_> well - I didn't think to look there... duh
[20:41:53] <skunkworks_> that is one sweet looking machine
[20:42:03] <skunkworks_> how high are your garage doors?
[20:42:18] <SWPadnos> 1/4" too high, from the description ;)
[20:42:21] <cradek> just 7'
[20:42:24] <skunkworks_> ah
[20:42:27] <skunkworks_> ;)
[20:42:42] <cradek> with the head all the way down, it's 6'10 tall
[20:43:06] <cradek> so on 2x4s, it still fits
[20:43:12] <skunkworks_> I am happy I went with 10ft ceilings and 8ft doors. Although I am finding out I cannot buy the cheaper garage door openers because they only work with 7ft doors
[20:43:58] <cradek> yep that sounds nice...
[20:44:02] <SWPadnos> crap. do I need anything else from McMaster?
[20:44:17] <SWPadnos> this is the question that has plagued me every day for the last week
[20:44:20] <cradek> I may need to raise the ceiling (in one spot over the head) an inch or two - not sure yet
[20:44:28] <SWPadnos> (as I was about to submit my daily order)
[20:44:32] <skunkworks_> lower the floor? ;)
[20:44:35] <cradek> SWPadnos: so now you know the answers were all yes?
[20:44:40] <SWPadnos> hmmm
[20:44:44] <SWPadnos> I should rephrase the question
[20:44:51] <SWPadnos> what else do I need from McMaster?
[20:45:23] <skunkworks_> was that from stuart?
[20:46:13] <cradek> he has one just like it still running, so he got the control parts he needed off this one
[20:46:17] <SWPadnos> hmmm. hand tap or spiral point?
[20:46:30] <cradek> blind hole?
[20:46:38] <SWPadnos> through hole, in aluminum
[20:46:46] <cradek> spiral point, no contest
[20:46:46] <SWPadnos> either by hand or in a tapmatic (4-40 thread)
[20:46:49] <SWPadnos> ok
[20:46:52] <SWPadnos> thanks :)
[20:47:00] <cradek> or form tap if using the tapmatic
[20:48:13] <SWPadnos> hmmm. I'll try a form tap too - might as well
[20:48:17] <cradek> spiral point is more flexible - you can use it for hand stuff too
[20:48:53] <SWPadnos> oh well. I know I'll need more stuff to hold the hard drive, but I don't know what yet
[20:50:26] <skunkworks_> cradek: second from the bottom picture - analog meter?
[20:50:51] <cradek> ?
[20:51:08] <skunkworks_> volt meter
[20:51:09] <cradek> oh
[20:51:12] <cradek> cold dead hands, etc
[20:52:13] <cradek> that's the last and greatest of the fet-voms that radio shack sold long ago
[20:52:31] <cradek> it has a nice continuity test buzzer that responds instantly
[20:52:37] <skunkworks_> nice
[20:52:46] <cradek> you can just brush the lead down a row of pins and instantly pick out the right one
[20:53:11] <cradek> I've used digitals that have the buzzer but take .5 - 1 second to respond (really!)
[20:53:22] <cradek> total crap
[20:53:28] <skunkworks_> I was never allowed to use dads analog meter. He was too afraid I was going to screw up the meters needle :)
[20:53:57] <skunkworks_> (Measuring 110v on the 10v setting)
[20:54:00] <skunkworks_> or the like
[20:54:38] <cradek> I've blown a few fuses in meters...
[20:55:48] <jepler> cradek: so bill doesn't like the colro?
[20:56:06] <cradek> guess not - we want it bright purple instead
[20:56:20] <jepler> at least that way you won't trip over it the night
[20:56:21] <cradek> I think it's more about the paint being nasty and peeling off
[20:56:45] <cradek> you should have seen the table - wow
[20:57:10] <cradek> the T slots were fully impacted
[20:57:22] <cradek> not sure what you'd call the material that came out
[20:57:38] <SWPadnos> amorphouse metal-bearing goo?
[20:57:41] <SWPadnos> -e
[20:57:46] <skunkworks_> shavings turned to rust?
[20:59:15] <cradek> there's probably a yiddish term with a z in it, like "shmultz" or something similar
[21:01:04] <skunkworks_> shavitz?
[21:01:09] <skunkworks_> ;)
[21:02:52] <skunkworks_> will the drives run on single phase?
[21:03:43] <cradek> maybe...
[21:03:54] <cradek> but the coolant and lube pumps won't (easily)
[21:04:04] <cradek> so I might give up and keep using my convertor (which is extremely reliable)
[21:04:33] <jepler> cradek: Ingrid votes for purple as well
[21:04:57] <cradek> I think he might do blue and white
[21:05:04] <cradek> I voted for "whatever color the primer is"
[21:06:48] <cradek> tonight I will see if my lube pump repair works
[21:08:44] <skunkworks_> repair?
[21:09:06] <SWPadnos> cradek, color A400FF
[21:09:36] <cradek> skunkworks_: the plunger cylinder mounted with three tabs, all broken off
[21:09:54] <cradek> I made a funky sleeve thing to repair it
[21:10:11] <cradek> but first, I melted one broken-off tab with the propane torch on the off chance that it would solder :-)
[21:10:20] <cradek> I think it's just zinc
[21:12:02] <skunkworks_> :)
[21:12:04] <cradek> bbl
[21:13:24] <SWPadnos> I wonder how we'd get SPI to work reasonably easily with hostmot2
[21:15:48] <skunkworks_> smop? ;)
[21:17:10] <jepler> smod
[21:17:13] <jepler> d = design
[21:24:07] <SWPadnos> yeah
[21:24:13] <SWPadnos> sticky matter of design
[21:25:04] <SWPadnos> maybe having a "load_settings" pin would make sense
[21:25:32] <SWPadnos> you set all the parameters (CPOL, CPHA, clock rate, number of bits), then hit the load bit
[21:26:23] <SWPadnos> and the input/output are 32-bit values, which have to be externally processed to be useful
[21:26:35] <SWPadnos> plus read and write strobes