Joseph Needham speculated that the introduction of the outflow clepsydra to China, perhaps from Mesopotamia, occurred as far back as the 2nd millennium BC, during the Shang Dynasty, and at the latest by the 1st millennium BC. By the beginning of the Han Dynasty, in 202 BC, the outflow clepsydra was gradually replaced by the inflow clepsydra, which featured an indicator rod on a float. To compensate for the falling pressure head in the reservoir, which slowed timekeeping as the vessel filled, Zhang Heng added an extra tank between the reservoir and the inflow vessel. Around 550 AD, Yin Gui was the first in China to write of the overflow or constant-level tank added to the series, which was later described in detail by the inventor Shen Kuo. Around 610, this design was trumped by two Sui Dynasty inventors, Geng Xun and Yuwen Kai, who were the first to create the balance clepsydra, with standard positions for the steelyard balance. Joseph Needham states that:
AD 1 – AD 1500
Water Clocks
The water-powered elephant clock by Al-Jazari, 1206.
"
"
... [the balance clepsydra] permitted the seasonal adjustment of the pressure head in the compensating tank by having standard positions for the counterweight graduated on the beam, and hence it could control the rate of flow for different lengths of day and night. With this arrangement no overflow tank was required, and the two attendants were warned when the clepsydra needed refilling.
Between 270 BC and 500 AD, Hellenistic (Ctesibius, Hero of Alexandria, Archimedes) and Roman horologists and astronomers were developing more elaborate mechanized water clocks. The added complexity was aimed at regulating the flow and at providing fancier displays of the passage of time. For example, some water clocks rang bells and gongs, while others opened doors and windows to show figurines of people, or moved pointers, and dials. Some even displayed astrological models of the universe. Some of the most elaborate water clocks were designed by Muslim engineers. In particular, the water clocks by Al-Jazari in 1206 are credited for going "well beyond anything" that had preceded them. In his treatise, he describes one of his water clocks, the elephant clock. The clock recorded the passage of temporal hours, which meant that the rate of flow had to be changed daily to match the