A position sensor for the spatially resolved detection of objects (14, 14.1, 14.2) in a monitored zone, said position sensor comprising a measurement device for determining respective position signals for detected objects (14, 14.1, 14.2) which are located in the monitored zone, an RFID reading device which is arranged adjacent to the measurement device and which is configured to transmit RFID control commands into the monitored zone by generating modulated RFID transmission signals and to receive RFID response signals, which are generated by an RFID transponder (24, 24.1, 24.2) arranged at an object (14, 14.1, 14.2) in response to received RFID control commands, and to determine a phase shift between the RFID transmission signals and the RFID response signals, and an evaluation unit which is connected to the measurement device and the RFID reading device and which is configured to assign at least one respective, temporally corresponding RFID response signal to a respective position signal determined by the measurement device, considering the determined phase shift of this RFID response signal, characterized in that the evaluation unit is configured to determine, by means of an optimization method, starting from a distance value which corresponds to a distance component of the position signal determined by the measurement device, considering the wavelength and the respective phase shift of one or more RFID response signals, an associated division remainder for respective divisions of the distance value by different integer multiples of the wavelength and to assign a respective RFID response signal to this position signal if the difference amount between the phase shift of this RFID response signal and the division remainder of this division is minimal for one of the respective divisions. said position sensor comprising a measurement device for determining respective position signals for detected objects (14, 14.1, 14.2) which are located in the monitored zone, an RFID reading device which is arranged adjacent to the measurement device and which is configured to transmit RFID control commands into the monitored zone by generating modulated RFID transmission signals and to receive RFID response signals, which are generated by an RFID transponder (24, 24.1, 24.2) arranged at an object (14, 14.1, 14.2) in response to received RFID control commands, and to determine a phase shift between the RFID transmission signals and the RFID response signals, and an evaluation unit which is connected to the measurement device and the RFID reading device and which is configured to assign at least one respective, temporally corresponding RFID response signal to a respective position signal determined by the measurement device, considering the determined phase shift of this RFID response signal, characterized in that the evaluation unit is configured to determine, by means of an optimization method, starting from a distance value which corresponds to a distance component of the position signal determined by the measurement device, considering the wavelength and the respective phase shift of one or more RFID response signals, an associated division remainder for respective divisions of the distance value by different integer multiples of the wavelength and to assign a respective RFID response signal to this position signal if the difference amount between the phase shift of this RFID response signal and the division remainder of this division is minimal for one of the respective divisions.