abstract |
According to various embodiments of the present disclosure, in an electronic device, an optical sensor module configured to include a housing, a light emitting unit including at least one light emitting element and a light receiving unit including at least one light receiving element, and disposed within the housing, A light source driving unit disposed in the housing and configured to control power supply of the light emitting unit; and at least one processor disposed in the housing and operatively connected to the light sensor module and the light source driving unit, and the at least one processor When the optical sensor module is driven, the light source of the light-emitting element and the turn-on/off timing of the light-emitting element are checked according to a sensor measurement mode or a measurement function, and the light source is in response to the confirmed turn-on/off timing of the light-emitting element. A control signal of the driving unit is set, and based on the control signal, an output voltage of the light source driving unit is applied as power of the light emitting device in the turn-on period of the light-emitting device, and the turn-off period of the light-emitting device It may be set to cut off power to the light emitting element by limiting the output of the light source driver. |