Skip to content
Snippets Groups Projects
Commit 0b94847c authored by Rob Hart's avatar Rob Hart
Browse files

update

parent f2787634
No related branches found
No related tags found
No related merge requests found
......@@ -9,3 +9,7 @@ Below is a short z-axis integrated into the xy machine. The z axis has about 50
String up and measure z-axis alone. First horizontal, with fishing line as belt. Necessary to adjust bearing position to ease friction on z-travel. Once that feels good, the plot below is obtained, moving in increments of 32*(1/32) steps eight times forward, then reversing. Each full step is calculated, using the radius of the capstan, to be 0.31 mm. Hysteresis is about 0.05 mm.
<img src=./img/z_mar08.svg width=75%><br>
Now do the same with axis held vertically. Result below. Looks like hysteresis is now about 0.13 mm.
<img src=./img/z_mar11.svg width=75%><br
This diff is collapsed.
%% Cell type:code id:34236bd4 tags:
``` python
import matplotlib.pyplot as plt
import numpy as np
steps=np.array([0,1,2,3,4,5,6,7,8])
pos=np.array([.2032,.1921,.1782,.1668,.1537,.1419,.1285,.1170,.1038])
pos_mm = 1000*pos/25.4
steps_dec=np.array([8,7,6,5,4,3,2,1,0])
pos_dec=np.array([.1038,.1150,.1266,.1396,.1512,.1642,.1759,.1892,.2009])
pos_dec_mm = 1000*pos_dec/25.4
plt.title('position vs steps (1/32)')
plt.xlabel('steps')
plt.ylabel('position (mm)')
plt.plot(steps,pos_mm,'or')
plt.plot(steps_dec,pos_dec_mm,'ob')
plt.savefig('z_mar08.svg')
```
%% Output
%% Cell type:code id:a85d3e67 tags:
``` python
```
%% Cell type:code id:34236bd4 tags:
``` python
import matplotlib.pyplot as plt
import numpy as np
steps=np.array([0,1,2,3,4,5,6,7,8])
pos=np.array([.4636,.4510,.4391,.4261,.4152,.4026,.3910,.3779,.3669])
pos_mm = 1000*pos/25.4
steps_dec=np.array([8,7,6,5,4,3,2,1,0])
pos_dec=np.array([.3669,.3731,.3855,.3972,.4097,.4209,.4335,.4457,.4586])
pos_dec_mm = 1000*pos_dec/25.4
plt.title('position vs steps (1/32)')
plt.xlabel('steps')
plt.ylabel('position (mm)')
plt.plot(steps,pos_mm,'or')
plt.plot(steps_dec,pos_dec_mm,'ob')
plt.savefig('z_mar11.svg')
```
%% Output
%% Cell type:code id:a85d3e67 tags:
``` python
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment