A position sensor system (100; 200; 300; 400; 500; 600; 700; 800; 900; 1000; 1100; 1400; 1500; 1600), comprising: a magnetic field source (102; 202; 302; 402; 502; 602; 702; 802; 902; 1002; 1102; 1402; 1502; 1602) for generating a magnetic field; a position sensor device (101; 201; 301; 401; 501; 601; 701; 801; 901; 1001; 1101; 1401; 1501; 1601) movable relative to the magnetic field source or vice versa, the position sensor device comprising: - at least three magnetic sensitive elements (1311; 1312; 1313) for measuring at least three magnetic field values of said magnetic field; and - a processing circuit configured for obtaining said at least three magnetic field values, and for determining at least two magnetic field gradients or at least two magnetic field differences based on said at least three magnetic field values, and for deriving from said at least two magnetic field gradients or from said at least two magnetic field differences a first signal (POS) indicative of a position of the magnetic source relative to the position sensor device; characterised in that - the processing circuit is further configured for providing a second signal (signal2; signal2'; INT) indicative of a fault or an integrity of the position sensor system; - the second signal is derived from said at least two magnetic field gradients or from said at least two magnetic field differences; - the position sensor device is further configured for outputting this second signal (signal2; signal2'; INT). a magnetic field source (102; 202; 302; 402; 502; 602; 702; 802; 902; 1002; 1102; 1402; 1502; 1602) for generating a magnetic field; a position sensor device (101; 201; 301; 401; 501; 601; 701; 801; 901; 1001; 1101; 1401; 1501; 1601) movable relative to the magnetic field source or vice versa, the position sensor device comprising: - at least three magnetic sensitive elements (1311; 1312; 1313) for measuring at least three magnetic field values of said magnetic field; and - a processing circuit configured for obtaining said at least three magnetic field values, and for determining at least two magnetic field gradients or at least two magnetic field differences based on said at least three magnetic field values, and for deriving from said at least two magnetic field gradients or from said at least two magnetic field differences a first signal (POS) indicative of a position of the magnetic source relative to the position sensor device; - at least three magnetic sensitive elements (1311; 1312; 1313) for measuring at least three magnetic field values of said magnetic field; and - a processing circuit configured for obtaining said at least three magnetic field values, and for determining at least two magnetic field gradients or at least two magnetic field differences based on said at least three magnetic field values, and for deriving from said at least two magnetic field gradients or from said at least two magnetic field differences a first signal (POS) indicative of a position of the magnetic source relative to the position sensor device; - the processing circuit is further configured for providing a second signal (signal2; signal2'; INT) indicative of a fault or an integrity of the position sensor system; - the second signal is derived from said at least two magnetic field gradients or from said at least two magnetic field differences; - the position sensor device is further configured for outputting this second signal (signal2; signal2'; INT). <EOS>