A position sensor system (100; 150; 200; 250; 1200; 1250; 1800; 1850; 2100; 2400) for determining a position (X, α) of a sensor device (102; 152; 202; 252; 1202; 1252; 1802; 1852; 2102; 2402) relative to a magnetic structure (101; 201; 1201; 1801; 1851; 2101; 2401), the system comprising: - said magnetic structure comprising a plurality of poles; - said sensor device comprising at least two sensor elements located at a first sensor location (X1, U1); - the magnetic structure being movable (X, α) relative to the sensor device in a movement direction or along a movement trajectory, or vice versa; characterised in that - a distance (Xpp, αpp) between centres of adjacent poles of the magnetic structure varies along the movement direction or along the movement trajectory; - the sensor device is adapted: a) for measuring (1401; 1501; 1601; 1701) at said first sensor location (X1, U1) a first magnetic field component (Bxl; Bu1) oriented in a first direction (X; U) substantially parallel to said movement direction or tangential to said movement trajectory, and a second magnetic field component (Bzl; Bv1) oriented in a second direction (Z; V) substantially perpendicular to the first direction (X; U); b) for determining (1402; 1502; 1602; 1704) a fine signal (Sf) based on a ratio of said first and said second magnetic field component (Bxl, Bz1); c) for calculating (1403; 1505; 1605; 1703) a coarse signal (Sc) based on said first and second magnetic field component (Bxl, Bz1); and d) for determining (1404; 1506; 1606; 1705) said position (X, α) based on both the coarse signal (Sc) and the fine signal (Sf). - said magnetic structure comprising a plurality of poles; - said sensor device comprising at least two sensor elements located at a first sensor location (X1, U1); - the magnetic structure being movable (X, α) relative to the sensor device in a movement direction or along a movement trajectory, or vice versa; characterised in that - a distance (Xpp, αpp) between centres of adjacent poles of the magnetic structure varies along the movement direction or along the movement trajectory; - the sensor device is adapted: a) for measuring (1401; 1501; 1601; 1701) at said first sensor location (X1, U1) a first magnetic field component (Bxl; Bu1) oriented in a first direction (X; U) substantially parallel to said movement direction or tangential to said movement trajectory, and a second magnetic field component (Bzl; Bv1) oriented in a second direction (Z; V) substantially perpendicular to the first direction (X; U); b) for determining (1402; 1502; 1602; 1704) a fine signal (Sf) based on a ratio of said first and said second magnetic field component (Bxl, Bz1); c) for calculating (1403; 1505; 1605; 1703) a coarse signal (Sc) based on said first and second magnetic field component (Bxl, Bz1); and d) for determining (1404; 1506; 1606; 1705) said position (X, α) based on both the coarse signal (Sc) and the fine signal (Sf). a) for measuring (1401; 1501; 1601; 1701) at said first sensor location (X1, U1) a first magnetic field component (Bxl; Bu1) oriented in a first direction (X; U) substantially parallel to said movement direction or tangential to said movement trajectory, and a second magnetic field component (Bzl; Bv1) oriented in a second direction (Z; V) substantially perpendicular to the first direction (X; U); b) for determining (1402; 1502; 1602; 1704) a fine signal (Sf) based on a ratio of said first and said second magnetic field component (Bxl, Bz1); c) for calculating (1403; 1505; 1605; 1703) a coarse signal (Sc) based on said first and second magnetic field component (Bxl, Bz1); and d) for determining (1404; 1506; 1606; 1705) said position (X, α) based on both the coarse signal (Sc) and the fine signal (Sf).