collapse

Author Topic: MB Faceting Machine Build  (Read 11464 times)

MakkyBrown

  • Administrator
  • ALF'er VIP
  • *****
  • Posts: 1743
    • Andrew Brown Faceting Designs
Re: MB Faceting Machine Build
« Reply #15 on: July 06, 2021, 02:06:20 PM »
I'm going to be the guinea pig so to speak  ;D .  New encoder has arrived, will be awhile till I fit this as the machine build is on hold till I finish other bits and pieces.The big question will it be too accurate and will step change flick still be usable as a stop. This was a bit expensive and twice the resolution of my current encoder. Has 0.009 degree steps, really hope it works and larger size doesn't cause issues.

« Last Edit: July 06, 2021, 02:08:38 PM by MakkyBrown »

RoughCreations

  • Administrator
  • ALF'er Platinum
  • *****
  • Posts: 322
    • Rough Creations homepage
Re: MB Faceting Machine Build
« Reply #16 on: July 06, 2021, 09:29:30 PM »
The big question will it be too accurate and will step change flick still be usable as a stop. This was a bit expensive and twice the resolution of my current encoder. Has 0.009 degree steps, really hope it works and larger size doesn't cause issues.
I have been looking at the Arduino encoder  programming code from Tom Herbst's book. You should be able to store the calculated angle in the first position of an array during each loop, moving the value from the previous loop into the next available array position and so on and then calculate the 3, 5, 7 (or more) moving average for each loop. For example if you found a 7 loop moving average was the most suitable, you would declare a float array in your code with 7 elements, and use that. The moving average value could then be used as a smoothed display value, or be used to display a moving bar. I reckon you will have lots of flexibility, and even be able to interpolate artificial angle values between steps using a bit of logic.
Hope that makes sense,
RC
Rough Creations - Beauty from rough beginnings

MakkyBrown

  • Administrator
  • ALF'er VIP
  • *****
  • Posts: 1743
    • Andrew Brown Faceting Designs
Re: MB Faceting Machine Build
« Reply #17 on: July 06, 2021, 10:34:24 PM »
Perhaps I could have an adjustable smoothing amount for when laps are very uneven. Preference being no smoothing :) Lots of possibilities.

MB

RoughCreations

  • Administrator
  • ALF'er Platinum
  • *****
  • Posts: 322
    • Rough Creations homepage
Re: MB Faceting Machine Build
« Reply #18 on: July 07, 2021, 11:10:37 AM »
This was a bit expensive and twice the resolution of my current encoder. Has 0.009 degree steps, really hope it works and larger size doesn't cause issues.
What's the diameter of the new encoder?
Rough Creations - Beauty from rough beginnings

MakkyBrown

  • Administrator
  • ALF'er VIP
  • *****
  • Posts: 1743
    • Andrew Brown Faceting Designs
Re: MB Faceting Machine Build
« Reply #19 on: July 07, 2021, 11:50:05 AM »
Case is 55mm OD plus a bit extra for the reader/plug part.
EDIT: Just thinking if there is clearance it might screw straight onto the mount I made for your facetron.
« Last Edit: July 07, 2021, 11:59:43 AM by MakkyBrown »

FlashGP

  • Global Moderator
  • ALF'er VIP
  • *****
  • Posts: 680
Re: MB Faceting Machine Build
« Reply #20 on: July 12, 2021, 02:22:41 PM »
RC,

I think you would also need to check the sample rate, and keep it at a reasonable number, say 14 per second for a 7 step smoothing, a high sample rate would still cause a smoothed sample to jump around.

I recon 2 sets of samples per second would see the numbers move fast enough.  Perhaps 1 set per second would be enough.
Yours Sincerely
Flash (Gordon)

RoughCreations

  • Administrator
  • ALF'er Platinum
  • *****
  • Posts: 322
    • Rough Creations homepage
Re: MB Faceting Machine Build
« Reply #21 on: July 12, 2021, 03:01:51 PM »
RC,

I think you would also need to check the sample rate, and keep it at a reasonable number, say 14 per second for a 7 step smoothing, a high sample rate would still cause a smoothed sample to jump around.

I recon 2 sets of samples per second would see the numbers move fast enough.  Perhaps 1 set per second would be enough.

Yes, that makes sense. The sample rate could even work on its own for smoothing, depending on the lap.
Rough Creations - Beauty from rough beginnings

FlashGP

  • Global Moderator
  • ALF'er VIP
  • *****
  • Posts: 680
Re: MB Faceting Machine Build
« Reply #22 on: July 12, 2021, 08:34:07 PM »
Hi RC, sort of, but a rolling average of a series of sample rated would take some or a lot of the lap jitter out.  At sub hundredth of a degree accuracy, even the flattest lap will induce jitter. 

It may be better to use the extra resolution to give a more accurate 1/100th of a degree than try to have 3 decimal places
Yours Sincerely
Flash (Gordon)

MakkyBrown

  • Administrator
  • ALF'er VIP
  • *****
  • Posts: 1743
    • Andrew Brown Faceting Designs
Re: MB Faceting Machine Build
« Reply #23 on: July 13, 2021, 08:33:43 AM »
You need the jitter flash, but you also need to be able to read the display. The stop is when the display changes to the target number with no jitter. The issue is going to occur when lap runout is greater than a single step on the encoder. Smoothing would most likely only be needed over the time period of 1 rpm.

MB

FlashGP

  • Global Moderator
  • ALF'er VIP
  • *****
  • Posts: 680
Re: MB Faceting Machine Build
« Reply #24 on: July 15, 2021, 07:23:11 AM »
I was thinking of smoothing over 1 or 4Hz (0.25 to 1 second) at most to take out lap and vibration jitter. 
Yours Sincerely
Flash (Gordon)

MakkyBrown

  • Administrator
  • ALF'er VIP
  • *****
  • Posts: 1743
    • Andrew Brown Faceting Designs
Re: MB Faceting Machine Build
« Reply #25 on: July 15, 2021, 09:26:08 AM »
I wouldn't smooth with a 5000cpr encoder Flash, cut to the point the flicker stops.
If I need to smooth the 10000cpr encoder I'll smooth each rpm. I have a 500cpr encoder on my drive motor I may try and split the signal on to get an accurate rpm measurement.

MB

Faceting Frank

  • Global Moderator
  • ALF'er Platinum
  • *****
  • Posts: 476
Re: MB Faceting Machine Build
« Reply #26 on: July 17, 2021, 08:01:39 PM »
I take it your using encoders for both indexing and angle settings? Bit over my head, everything I have operates with a screwdriver or spanner.

MakkyBrown

  • Administrator
  • ALF'er VIP
  • *****
  • Posts: 1743
    • Andrew Brown Faceting Designs
Re: MB Faceting Machine Build
« Reply #27 on: July 18, 2021, 10:52:11 AM »
That is the plan Frank. Jury is still out on how well the index stepper/encoder will work. Height measurement will just be steps like on a cnc machine and calibrated by homing.
MB

Faceting Frank

  • Global Moderator
  • ALF'er Platinum
  • *****
  • Posts: 476
Re: MB Faceting Machine Build
« Reply #28 on: July 24, 2021, 09:10:26 PM »
Just did a bit of maths on my cheater, which operates on a 5mm spring loaded thread, the thread pitch is 0.8mm. My index wheel is 157mm circumference x 96 index = 1.63mm per index. That means one full turn of the cheater = 0.5 of an index. I made the part of the turning screw that the scale is on 25mm circumference with 1mm markings. So, the scale on the cheater divides one index by 50. I keep a record of any cheater settings on facets if needed. On wide facets, say 8mm plus, the 1mm increment on the cheater scale makes a big difference on meet points. So 96x50=4800 increments I need for wide facets.
Hope that makes sense.

MakkyBrown

  • Administrator
  • ALF'er VIP
  • *****
  • Posts: 1743
    • Andrew Brown Faceting Designs
Re: MB Faceting Machine Build
« Reply #29 on: July 26, 2021, 02:32:16 PM »
Thanks Frank for your feedback, atm I'm planning 3200 steps/increments, 6400steps maybe possible but both will require testing. So I am sort of in the ballpark I think going on your 4800.

MB

 

Recent Activities

Victorian Sapphires by Alaskan
[Today at 09:14:05 PM]


The Next Big Trip by Jimnyjerry
[Today at 06:56:45 PM]


Flinders Island 2024 by Jimnyjerry
[Today at 06:53:36 PM]


Tomahawk creek by MakkyBrown
[Today at 11:11:53 AM]


Fitting a facet design to a piece of rough by Alaskan
[Today at 11:10:32 AM]


Green tourmaline set in a cast 10Kt yellow gold ring by RoughCreations
[May 16, 2024, 01:27:37 PM]


How to figure platform height for the handpiece, while reading diagrams by Faceting Frank
[May 16, 2024, 10:41:17 AM]


Vale Woofa by MrSydney
[May 07, 2024, 10:12:47 AM]


Resin-bonded scissor-grinding lap by RoughCreations
[May 05, 2024, 04:52:12 PM]


Nundle - Fossicking Access to the Peel River by Clarky
[May 04, 2024, 10:19:48 PM]


New mast and quill assembly by Faceting Frank
[May 02, 2024, 03:20:57 PM]


Hi from Toongabbie, Sydney Australia by Jimnyjerry
[May 01, 2024, 10:30:40 PM]


Planning a trip to NT by tinker
[May 01, 2024, 04:44:04 PM]


Garnet by pc bowe
[April 20, 2024, 01:56:47 AM]


Save the Gemfields. by pc bowe
[April 20, 2024, 01:46:57 AM]

SimplePortal 2.3.7 © 2008-2024, SimplePortal