Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 11:20:04 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  AXIS FORMULA Question
Pages: 1   Go Down
Print
Author Topic: AXIS FORMULA Question  (Read 346 times)
0 Members and 1 Guest are viewing this topic.
BR549
Active Member

Offline Offline

Posts: 2,557


View Profile
« on: June 15, 2011, 02:53:58 PM »

Isthere anyone here fluent with Axis Formulas Huh

I need help trying something here is the math involved. Any idea how to write that in Axis formulas.


Z= Sqrt(X^2 +Y^2)
A= Atan2 (X,Y)

Yea I know I am a math dummy, (;-)TP
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,619



View Profile WWW
« Reply #1 on: June 15, 2011, 03:30:02 PM »

Z= Sqrt(X^2 +Y^2) works for me.

Not sure what you want for the A??
Logged

BR549
Active Member

Offline Offline

Posts: 2,557


View Profile
« Reply #2 on: June 15, 2011, 04:58:23 PM »

A would be to convert the xy to polar in degs

I am testing something that involves converting the XY axis to A/Z on the fly.

JUST as a side note tothe Cam grinder project is coming along great. Just a couple more areas to tidy up. AND some odd configurations to test. We can do most of the things the big boys can do and some they can't.

Working on the rocker box grinder design function. it has a kinematic joint to consider for the profile duplication. hope to do it on the fly.

(;-) TP
« Last Edit: June 15, 2011, 05:06:17 PM by BR549 » Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,619



View Profile WWW
« Reply #3 on: June 15, 2011, 05:18:58 PM »

how about

A = arctan(y/x)*180/pi
Logged

BR549
Active Member

Offline Offline

Posts: 2,557


View Profile
« Reply #4 on: June 15, 2011, 05:50:23 PM »

OK that works in quad1  to get a full 360 deg would I need to move the profile into the Pos quad. Right now 0,0 is in the center of the profile so it would have to do all 4 quads.

(;-) TP
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,619



View Profile WWW
« Reply #5 on: June 15, 2011, 06:12:54 PM »

Don't know how to pull this off. See "Converting between polar and Cartesian coordinates" here to see the 6 different formulas required, depending on the X and Y values.
http://en.wikipedia.org/wiki/Polar_coordinate_system
Logged

BR549
Active Member

Offline Offline

Posts: 2,557


View Profile
« Reply #6 on: June 15, 2011, 06:16:47 PM »

Yep that has been the problem (;-) I only have one line of formula to work with in axis formulas and it takes 4 equations to do all four quads.

I think this ideas is a bust(;-),Would not be the first one to go up in flames (;-) TP
Logged
jonny quest
Active Member

Offline Offline

Posts: 101


View Profile
« Reply #7 on: June 19, 2011, 12:51:14 AM »

Why have a rocker design? Just straight in and out?

There was a pretty cool edu paper on cam grinder design that had a bunch of the kinematic formulas. I'll try and find it and post the link.
Logged
jonny quest
Active Member

Offline Offline

Posts: 101


View Profile
« Reply #8 on: June 19, 2011, 12:58:31 AM »

http://www.google.com/m/url?ei=m4_9TejTOoznlgfi4OG4AQ&q=http://repository.lib.ncsu.edu/ir/bitstream/1840.16/5784/6/chapter2.pdf&ved=0CBMQFjAA&usg=AFQjCNECBx5fawXCIb8Bcu2JIA6IZuZ4Lw
Logged
BR549
Active Member

Offline Offline

Posts: 2,557


View Profile
« Reply #9 on: June 19, 2011, 04:39:11 PM »

We are working on the solution for several different grinder comfigurations that area already developed such as converting a MasterPlate grinder. They use the rocker box method to follow the profile. SO to use Mach it has to have a kinametric formula to compensate for the rocker joint.

The conversion in the formulas is to try ON THE FLY conversion of a cam shaft from a cam profile. Not an easy taskso far. I don't think MACH has enough HorsePower to handle the task(;-)

(;-) TP
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!