The device which is perceived with in vivo or in vitro is disclosed the density of analysis ones and the density of especially glucose. To be desirable the optical pipe which is the optical fiber has optical system in the place of the proximal edge. The perception element comes in contact by the distal (2036) edge of the optical pipe, in order at least to connect to target analysis ones of 1 kinds, includes the connection protein of 1 where it conforms kinds at least. This perception element furthermore with change of density of analysis ones includes the repota basis of 1 where radiation changes kinds at least. With option, the perception element includes the standard basis which possesses the luminous quality which does not change substantially with the change of density of analysis ones.分析物の濃度、特にグルコースの濃度を生体内または生体外で感知する装置が開示される。好ましくは光ファイバである光導管は、その近位端のところに光学系を有する。感知要素は、光導管の遠位端に付着され、少なくとも1種の標的分析物に結合するように適合された少なくとも1種の結合タンパク質を含む。この感知要素はさらに、分析物の濃度の変化とともに発光が変化する少なくとも1種のレポータ基を含む。任意選択で、感知要素は、分析物の濃度の変化によって実質的に変化しない発光特性を有する基準基を含む。