The invention discloses an application of a photoelectric
detector in a logic circuit, the photoelectric
detector adopts an interlayer structure formed by an upper
electrode layer, a lower
electrode layer and a
semiconductor layer, the upper
electrode layer and the lower electrode layer respectively form Schottky contact or
ohmic contact with the
semiconductor layer, and the
ohmic contact is not formed at the same time. Reversible conversion of
photocurrent from
thermal electron dominated
positive response to thermal hole dominated
negative response can be realized by regulating and controlling
external bias voltage and incident light
wavelength and power, the tunable bipolar photoresponse characteristic is obtained, six basic logic functions of ''OR'', ''XOR'', ''AND'', ''NAND'', ''NOR'' and ''NOT'' are realized based on the mechanism, and an integrated photoelectric
logic gate circuit is constructed. Compared with a traditional electronic
transistor logic circuit, the electronic
transistor logic circuit has the advantages of being simple in structure, low in
power consumption, high in integration level and good in process compatibility, and a new implementation way is provided for development of low-cost
semiconductor photoelectric logic chips and on-
chip optical calculation.