Voice Coil Rail
Moderators: rjlittlefield, ChrisR, Chris S., Pau
-
- Posts: 3413
- Joined: Sat Nov 20, 2010 10:40 am
- Location: Santa Clara, CA, USA
- Contact:
Nice Peter!! Linearity does look pretty good at this level. Maybe a stack session is a good way to get better resolution on the stage movement. Then a simple error correction table should make very linear.mjkzz wrote:Finally ran a test of my circuit (see previous image)
This one is done without a weight on the speaker, total current change is roughly 230ma (always has problem at the end, maybe I should not have set the end point to 4095). The objective is an Olympus 10x clone and tube lens is Zhongyi 135, so actual magnification on sensor is 7.5x. From the image, we can see total travel distance is 1532 pixel, the vertical size of the sensor is 14.8mm with total of 3456 pixels. So total physical travel is (1532/3456*14./7.5 = 0.8747mm!!!
Result
Optical setup
Stacking parameters
Best,
Mike
Thanks Mike.
Yes, a lookup table can translate current to actual positioning. My design allows setting of maximum current with full 12 bits resolution. In the tests, I set max current to be 256 ma (well a bit less), so with full 12 bits, minimum step is 256/4096 = 1/16 ma or 0.0625 ma. With this, I think the lookup table can be very accurate, if necessary at all
Yes, a lookup table can translate current to actual positioning. My design allows setting of maximum current with full 12 bits resolution. In the tests, I set max current to be 256 ma (well a bit less), so with full 12 bits, minimum step is 256/4096 = 1/16 ma or 0.0625 ma. With this, I think the lookup table can be very accurate, if necessary at all
- rjlittlefield
- Site Admin
- Posts: 23561
- Joined: Tue Aug 01, 2006 8:34 am
- Location: Richland, Washington State, USA
- Contact:
Let me offer a bit of counterpoint.
I am actually very surprised at how non-linear is the movement shown at http://www.photomacrography.net/forum/v ... 745#211745 . Stepping from the bottom up, I see step sizes (measured in Photoshop from the posted image) of 33 pixels, 32 pixels, 38 pixels, 29 pixels, then 31, 34, 37, and 49. The smooth progression of the upper part from 29 up to 49 is pretty much what I expected, but the overall pattern of medium/big/small/medium/big/bigger just cries out for explanation.
Is there any possibility that the fourth-from-bottom position was specified incorrectly and is too high as a result? Having that one position be too high would go a long way to restoring smoothness.
--Rik
I am actually very surprised at how non-linear is the movement shown at http://www.photomacrography.net/forum/v ... 745#211745 . Stepping from the bottom up, I see step sizes (measured in Photoshop from the posted image) of 33 pixels, 32 pixels, 38 pixels, 29 pixels, then 31, 34, 37, and 49. The smooth progression of the upper part from 29 up to 49 is pretty much what I expected, but the overall pattern of medium/big/small/medium/big/bigger just cries out for explanation.
Is there any possibility that the fourth-from-bottom position was specified incorrectly and is too high as a result? Having that one position be too high would go a long way to restoring smoothness.
--Rik
-
- Posts: 3413
- Joined: Sat Nov 20, 2010 10:40 am
- Location: Santa Clara, CA, USA
- Contact:
-
- Posts: 3413
- Joined: Sat Nov 20, 2010 10:40 am
- Location: Santa Clara, CA, USA
- Contact:
It looks an exaggerated version of the 4" speaker I published, where there was an initial compression, then expansion, but we don't see the final severe compression. This speaker has a rubber surround, making me expect it is designed for very long throws compared with the speaker I tested, hence the lack of final compression. I'd expect if the current was increased to 400-500mA we'd see that final compression as it nears end of travel.rjlittlefield wrote:Let me offer a bit of counterpoint.
I am actually very surprised at how non-linear is the movement shown at http://www.photomacrography.net/forum/v ... 745#211745 . Stepping from the bottom up, I see step sizes (measured in Photoshop from the posted image) of 33 pixels, 32 pixels, 38 pixels, 29 pixels, then 31, 34, 37, and 49. The smooth progression of the upper part from 29 up to 49 is pretty much what I expected, but the overall pattern of medium/big/small/medium/big/bigger just cries out for explanation.
Is there any possibility that the fourth-from-bottom position was specified incorrectly and is too high as a result? Having that one position be too high would go a long way to restoring smoothness.
--Rik
Hi Rik, here is what I did: start with first image, add a layer, copy the second image into this layer, set blend mode to "additive", merge down layer, then do the same to 3rd, 4th, etc. There is no positioning.rjlittlefield wrote:Let me offer a bit of counterpoint.
I am actually very surprised at how non-linear is the movement shown at http://www.photomacrography.net/forum/v ... 745#211745 . Stepping from the bottom up, I see step sizes (measured in Photoshop from the posted image) of 33 pixels, 32 pixels, 38 pixels, 29 pixels, then 31, 34, 37, and 49. The smooth progression of the upper part from 29 up to 49 is pretty much what I expected, but the overall pattern of medium/big/small/medium/big/bigger just cries out for explanation.
Is there any possibility that the fourth-from-bottom position was specified incorrectly and is too high as a result? Having that one position be too high would go a long way to restoring smoothness.
--Rik
Here are all the files If you follow my steps, you will get exactly the same images.
- rjlittlefield
- Site Admin
- Posts: 23561
- Joined: Tue Aug 01, 2006 8:34 am
- Location: Richland, Washington State, USA
- Contact:
Yes, I assumed that the images were simply overlaid. When I spoke of the position being "specified", I was actually talking about the drive currents. I thought perhaps you were setting the 9 different drive currents with some manual process, and the wrong value got entered for that fourth-from-the-bottom position.mjkzz wrote:...add...merge down...do the same... There is no positioning.rjlittlefield wrote:Is there any possibility that the fourth-from-bottom position was specified incorrectly and is too high as a result? ...
Interesting. Clearly I have no good idea what your concerns and priorities are, and I guess there's really no reason I need to.ray_parkhurst wrote:I would see no reason to linearize this response.
But to make sure that I'm following the plot line of this somewhat convoluted movie...
Did you just transition from worrying about part-per-million nonlinearity around crossover, to not worrying about a 29:49 ratio of step sizes as shown in mjkzz's data?
--Rik
-
- Posts: 3413
- Joined: Sat Nov 20, 2010 10:40 am
- Location: Santa Clara, CA, USA
- Contact:
I of course expected that question. The issue with the speaker nonlinearity is calculated as the INL, Integrated Non Linearity, which basically tells you how straight the overall line is. This assumes there is no strangeness going on when the speaker is at equilibrium and is then pushed or pulled, but this sort of issue is guaranteed not a problem due to the design of the spider. Basically, the speaker has a slow and gently-changing slope to its displacement, and as I stated this has little effect on 3D rendering.rjlittlefield wrote:Interesting. Clearly I have no good idea what your concerns and priorities are, and I guess there's really no reason I need to.ray_parkhurst wrote:I would see no reason to linearize this response.
But to make sure that I'm following the plot line of this somewhat convoluted movie...
Did you just transition from worrying about part-per-million nonlinearity around crossover, to not worrying about a 29:49 ratio of step sizes as shown in mjkzz's data?
--Rik
The issue with the driving electronics that I was concerned about is calculated as the DNL, the Differential Non Linearity. This looks at each step vs the next step. If there is a localized discrepancy in step size, there can be a problem with rendering small displacements. My concern was that there would be a large step at an unpredictable place in the stack that would cause 3D rendering issues. I see this problem with my mechanical rail, and it causes some odd distortions in mildly-sloped surfaces. I saw none of these issues when I used the speaker as a rail using the uni-directional voltage source to drive it, and was loathe to introduce such a distortion with the bi-directional source current.
Oh, OK, everything is automatic, no manual intervention, hit the "Stack" button, it will just go from Start to End (0 to 4095 or 0 ma to 256ma) at even space.rjlittlefield wrote:Yes, I assumed that the images were simply overlaid. When I spoke of the position being "specified", I was actually talking about the drive currents. I thought perhaps you were setting the 9 different drive currents with some manual process, and the wrong value got entered for that fourth-from-the-bottom position.mjkzz wrote:...add...merge down...do the same... There is no positioning.rjlittlefield wrote:Is there any possibility that the fourth-from-bottom position was specified incorrectly and is too high as a result? ...
Interesting. Clearly I have no good idea what your concerns and priorities are, and I guess there's really no reason I need to.ray_parkhurst wrote:I would see no reason to linearize this response.
But to make sure that I'm following the plot line of this somewhat convoluted movie...
Did you just transition from worrying about part-per-million nonlinearity around crossover, to not worrying about a 29:49 ratio of step sizes as shown in mjkzz's data?
--Rik
Ray, yes, it is a long throw speaker. I will try 375ma when I get a chance, just to see how it performs.ray_parkhurst wrote:It looks an exaggerated version of the 4" speaker I published, where there was an initial compression, then expansion, but we don't see the final severe compression. This speaker has a rubber surround, making me expect it is designed for very long throws compared with the speaker I tested, hence the lack of final compression. I'd expect if the current was increased to 400-500mA we'd see that final compression as it nears end of travel.rjlittlefield wrote:Let me offer a bit of counterpoint.
I am actually very surprised at how non-linear is the movement shown at http://www.photomacrography.net/forum/v ... 745#211745 . Stepping from the bottom up, I see step sizes (measured in Photoshop from the posted image) of 33 pixels, 32 pixels, 38 pixels, 29 pixels, then 31, 34, 37, and 49. The smooth progression of the upper part from 29 up to 49 is pretty much what I expected, but the overall pattern of medium/big/small/medium/big/bigger just cries out for explanation.
Is there any possibility that the fourth-from-bottom position was specified incorrectly and is too high as a result? Having that one position be too high would go a long way to restoring smoothness.
--Rik
ray_parkhurst wrote:I of course expected that question. The issue with the speaker nonlinearity is calculated as the INL, Integrated Non Linearity, which basically tells you how straight the overall line is. This assumes there is no strangeness going on when the speaker is at equilibrium and is then pushed or pulled, but this sort of issue is guaranteed not a problem due to the design of the spider. Basically, the speaker has a slow and gently-changing slope to its displacement, and as I stated this has little effect on 3D rendering.rjlittlefield wrote:Interesting. Clearly I have no good idea what your concerns and priorities are, and I guess there's really no reason I need to.ray_parkhurst wrote:I would see no reason to linearize this response.
But to make sure that I'm following the plot line of this somewhat convoluted movie...
Did you just transition from worrying about part-per-million nonlinearity around crossover, to not worrying about a 29:49 ratio of step sizes as shown in mjkzz's data?
--Rik
The issue with the driving electronics that I was concerned about is calculated as the DNL, the Differential Non Linearity. This looks at each step vs the next step. If there is a localized discrepancy in step size, there can be a problem with rendering small displacements. My concern was that there would be a large step at an unpredictable place in the stack that would cause 3D rendering issues. I see this problem with my mechanical rail, and it causes some odd distortions in mildly-sloped surfaces. I saw none of these issues when I used the speaker as a rail using the uni-directional voltage source to drive it, and was loathe to introduce such a distortion with the bi-directional source current.
Ray,
I took a look at the PS pixel data Rik presented and looked at the Pixel Difference between steps.
+1, +6, -9, +2, +3, +4, +12.
The overall Integrated response looks OK to me but not the Diiferenal between steps.
Either should be correctable within reason with Peter's error correction table.
Best,
Mike