A photoluminescence sensor device for detecting a security feature of an object moving relative to the sensor device in a measuring range of the sensor device, wherein the sensor device comprises: - a radiation-generating device, which is configured to generate electromagnetic radiation, wherein the electromagnetic radiation is suitable for exciting an emission of luminescent radiation by a photoluminescent substance of the security feature, - a receiving device, which is configured to receive electromagnetic radiation that originates from the object moving relative to the sensor device over a detection period and to generate a corresponding time-dependent receiving signal, wherein the electromagnetic radiation emitted by the object - depending on the relative position of the object and the receiving device and depending on the electromagnetic radiation generated by the radiation generating device and incident on the object - comprises the luminescent radiation emitted by the photoluminescent substance and/or electromagnetic radiation reflected by the object which has been generated by the radiation generating device, - an evaluation device, which is configured to evaluate the time-dependent receiving signal, wherein the evaluation device is configured to determine whether luminescent radiation emitted by the photoluminescent substance has contributed to the time-dependent receiving signal, wherein the sensor device comprises a control device which is configured to control the radiation generating device such that the electromagnetic radiation generated by the radiation generating device in the detection period comprises a time sequence of the radiation flux density which is not constant in the detection period, and wherein the evaluation device is additionally configured, by evaluating the receiving signal with respect to a time sequence of the level of radiation intensity of the electromagnetic radiation detected by the receiving device to determine a time point (UE1, UE2, UEM) or a time interval in which at least a part of an edge of the object is located in a corresponding location in the measuring range. - a radiation-generating device, which is configured to generate electromagnetic radiation, wherein the electromagnetic radiation is suitable for exciting an emission of luminescent radiation by a photoluminescent substance of the security feature, - a receiving device, which is configured to receive electromagnetic radiation that originates from the object moving relative to the sensor device over a detection period and to generate a corresponding time-dependent receiving signal, wherein the electromagnetic radiation emitted by the object - depending on the relative position of the object and the receiving device and depending on the electromagnetic radiation generated by the radiation generating device and incident on the object - comprises the luminescent radiation emitted by the photoluminescent substance and/or electromagnetic radiation reflected by the object which has been generated by the radiation generating device, - an evaluation device, which is configured to evaluate the time-dependent receiving signal, wherein the evaluation device is configured to determine whether luminescent radiation emitted by the photoluminescent substance has contributed to the time-dependent receiving signal, wherein the sensor device comprises a control device which is configured to control the radiation generating device such that the electromagnetic radiation generated by the radiation generating device in the detection period comprises a time sequence of the radiation flux density which is not constant in the detection period, and wherein the evaluation device is additionally configured, by evaluating the receiving signal with respect to a time sequence of the level of radiation intensity of the electromagnetic radiation detected by the receiving device to determine a time point (UE1, UE2, UEM) or a time interval in which at least a part of an edge of the object is located in a corresponding location in the measuring range.