It is well known that patients undergoing bronchoscopy could be less suffering and the procedures could be carried on more smoothly if the patients have adequate sedation and analgesia. The preferred sedative and analgesic drugs are Midazolam and opioid, like Alfentanil or Morphine, which were titrated according to physicians' judgment on patients' clinical responsiveness. However, due to the pharmacokinetic characteristic of midazolam while used in intravenous injection (onset time 4-6 minutes, effective time 2-4 hours), the effective onset time may be too slow for repeated injection while patients already suffered from the bronchoscopic procedure. It is also noted that when over-sedation occurred the side effects like apnea/hypopnea, hypoxemia, and hypotension could last from dozen minutes to few hours. Although events mentioned above could be handled properly under experienced medical staff, it is still very difficult to predict the oncoming events as the pharmacokinetic effect is variant individually. Ideally, it will be more safe and efficient, during invasive procedure like bronchoscope, if the sedative drug could be onset or vanish fast and the drug effect could be titrated with an objective device directly monitoring the depth of sedation or anesthesia.