Narrative:

Aircraft X was upwind from runway 21R in the pattern doing short approaches. Aircraft X reported turning crosswind at the campus. Aircraft Y was following aircraft X in the pattern. Aircraft Y was having problems with his transmissions being cut out during his entire pattern work and I did advise him of this problem. Aircraft Y was told to follow aircraft X abeam the campus on right crosswind. Aircraft Y replied with a broken transmission. I advised aircraft Y of this issue. About 30 seconds later I told aircraft Y the aircraft he was following was ahead to his right turning downwind. He reported the traffic in sight. There was another aircraft passing aircraft Y directly behind him on the downwind. I returned to the runway and final and cleared another aircraft. Right after that aircraft X declared a near midair collision.

Google
 

Original NASA ASRS Text

Title: Tower Controller; flight instructor and student pilot reported a miscommunication and misidentification that led to near-mid-air-collision.

Narrative: Aircraft X was upwind from Runway 21R in the pattern doing short approaches. Aircraft X reported turning crosswind at the campus. Aircraft Y was following Aircraft X in the pattern. Aircraft Y was having problems with his transmissions being cut out during his entire pattern work and I did advise him of this problem. Aircraft Y was told to follow Aircraft X abeam the campus on right crosswind. Aircraft Y replied with a broken transmission. I advised Aircraft Y of this issue. About 30 seconds later I told Aircraft Y the aircraft he was following was ahead to his right turning downwind. He reported the traffic in sight. There was another aircraft passing Aircraft Y directly behind him on the downwind. I returned to the runway and final and cleared another aircraft. Right after that Aircraft X declared a NMAC.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.