Subject matter disclosed herein relates to a semi-closed loop drug delivery system. The reset correction unit may determine that an error occurs in the system clock if a discharging voltage of at least one charging circuit, which performs a charging operation using the system clock, is decreased to a reference voltage. The printed circuit board supplies an electrical signal for driving the light sources to the light sources.