Scientists develop three-in-one diode PN junction diodes are the underpinning of modern optoelectronic systems. But, typically, they perform only a single task. To process complex visual signals, optical imaging systems often rely on the introduction of a third electrode or integrating diodes with external logic circuits. But these architectures increase hardware complexity and bring von Neumann issues — the physical separation of sensing, memory, and computing—leading to larger areas and increased power consumption. There is a lack of a compact, single-device solution. Now, in a study titled 'A single diode with integrated photosensing, memory and processing for neuromorphic image sensors' published in Nature Electronics, a research team led by SUN Haiding from the University of Science and Technology of China of the Chinese Academy of Sciences, along with the collaborators from domestic and foreign universities, have developed a multifunctional photodiode architecture. They appraoch, they say, provides a hardware solution for low-power neuromorphic visual cameras with integrated sensing, memory, and computing, breaking through the traditional semiconductor physical limit of unidirectional conductivity. The new PN junction design is based on energy band engineering. The team constructed high-crystal-quality vertical GaN-based PN junction diode arrays on conductive silicon substrates. By inserting a wide-bandgap n-AlGaN layer into the GaN-based PN junction, they formed a localised 'charge storage layer' internally via energy band bending. This embedded structure endowed the device with unique charge trapping and releasing capabilities, enabling arbitrarily mode switch through simple external bias voltages without altering the device structure. The team demonstrated that a single device could exhibit three independent and freely switchable working modes: photosensing, photosynapse, and photomemory. Under zero bias, the device exhibited stable self-driven photosensing characteristics for real-time image sensing. Under a constant bias, it demonstrated photosynaptic behaviour modulated by pulse frequencies. Under pulsed bias operation, it achieved multi-state optical memory