Open WienerSchnitzel123 opened 3 years ago
Hi
I think I see at least one of the problems, so your force field looks like to me as if its just one line along x. This won't work, the cantilever will oscillate in the z direction so your forcefield needs to have some samples in that direction.
I suspect the sharp discontinuity caused by the line of points is causing the PLL to have a hard time locking.
Hi thank you so much for the quick response :) I'm gonna try using a 2D Force field by adding data for the z-axis. This should be sufficient when only scanning one line along the x-Axis right?
Hmm now that I've added z=0 and z=2 data to the force field (just copy&paste so it is constant in z direction at the moment) it seems to struggle with interpololating the force field. I get the error "WARNING! i3Dlin 00B!" this is the settings for the interpolation part: inter = machine.AddCircuit(type='i3Dlin',name='inter', components=3, pushed=True) inter.Configure(steps=[0.0001,0.1,1], npoints=[40,1,3]) inter.Configure(pbc=[False,True,False]) inter.Configure(ForceMultiplier=1e10) inter.ReadData('Forces_calcxy3.dat')
this is the Force field used:
Forces_calcxy3.txt
It seems its only periodic in the y direction so that might be the issue.
Thanks, that actually was the issue. When I plot the 1D result still looks like noise though. Especially compared to a plot of the force field. Do you have any idea what could be the reason for that?
The first step is to ensure your cantilever is stable far from the surface (ie when the force is essentially 0) then to slowly bring it closer to the surface.
Be careful of the ForceMultiplier=1e10 this will depend on the units used in the forcefield so yours might not be 1e10.
Hi,
as John mentioned already, the cantilever oscillates (usually) in the vertical direction. The frequency shift is dependent on the shape of the force curve that the tip feels during the oscillation. If your force field has the same values at z=0 and z=2, there will be no gradient in forces, so the frequency shift is expected to be zero. As the scanner moves along x, even if the values of force change, they remain constant along z, so perhaps any signal you see might just be amplified noise (hard to tell without seeing the full input and output).
I checked the txt file you attached and I am not sure the file is correct. It has been a while but I remember that the first three numbers in the force file should be indexes (i,j,k) of the grid point, and the rest are force components. Your file has negative indexes, and the j is always 1 (zero is missing?). Anyway, the main issue is the lack of a realistic z-dependence in the force field.
Hi, for my bachelorthesis I am currently working on simulating the interaction between the magnetic field of striplines and the cantilever. Therefore I want to simulate the phase shift of the cantilever. I only have a 1 dimensional forcefield in x- direction and would like to simulate the cantilever moving in x direction over the striplines. I used your NaCl file as template and adjusted the forcefield interpollation and scan area accordingly. But something is not working out. Could you help me find the issue? For pll.df I only get a result looking like an oscillation, which changes with the resolution of the "image". If I use your NaClforces.dat pll.df looks good. I'm currently using this forcefield: Forces_calc3xy1.txt
and this is the code I'm using: