Zhang Heng (Chinese: Zhang Heng ; AD 78-139), formerly romanized as Chang Heng, was a Han Chinese polymath from Nanyang who lived during the Han dynasty. Educated in the capital cities of Luoyang and Chang'an, he achieved success as an astronomer, mathematician, scientist, engineer, inventor, geographer, cartographer, artist, poet, statesman, and literary scholar. Zhang Heng began his career as a minor civil servant in Nanyang. Eventually, he became Chief Astronomer, Prefect of the Majors for Official Carriages, and then Palace Attendant at the imperial court.

Zhang Heng's mechanical inventions influenced later Chinese inventors such as Yi Xing, Zhang Sixun, Su Song, and Guo Shoujing. Su Song directly named Zhang's water-powered armillary sphere as the inspiration for his 11th-century clock tower. The cosmic model of nine points of Heaven corresponding with nine regions of earth conceived in the work of the scholar-official Chen Hongmou (1696-1771) followed in the tradition of Zhang's book Spiritual Constitution of the Universe. The seismologist John Milne, who created the modern seismograph in 1876 alongside Thomas Gray and James A. Ewing at the Imperial College of Engineering in Tokyo, commented in 1886 on Zhang Heng's contributions to seismology. The historian Joseph Needham emphasized his contributions to pre-modern Chinese technology, stating that Zhang was noted even in his day for being able to "make three wheels rotate as if they were one." More than one scholar has described Zhang as a polymath. However, some scholars also point out that Zhang's writing lacks concrete scientific theories. Comparing Zhang with his contemporary, Ptolemy (83-161) of Roman Egypt, Jin Guantao, Fan Hongye, and Liu Qingfeng state:  Based on the theories of his predecessors, Zhang Heng systematically developed the celestial sphere theory. An armillary constructed on the basis of his hypotheses bears a remarkable similarity to Ptolemy's earth-centered theory. However, Zhang Heng did not definitely propose a theoretical model like Ptolemy's earth-centered one. It is astonishing that the celestial model Zhang Heng constructed was almost a physical model of Ptolemy's earth-centered theory. Only a single step separates the celestial globe from the earth-centered theory, but Chinese astronomers never took that step.  Here we can see how important the exemplary function of the primitive scientific structure is. In order to use the Euclidean system of geometry as a model for the development of astronomical theory, Ptolemy first had to select hypotheses which could serve as axioms. He naturally regarded circular motion as fundamental and then used the circular motion of deferents and epicycles in his earth-centered theory. Although Zhang Heng understood that the sun, moon and planets move in circles, he lacked a model for a logically structured theory and so could not establish a corresponding astronomical theory. Chinese astronomy was most interested in extracting the algebraic features of planetary motion (that is, the length of the cyclic periods) to establish astronomical theories. Thus astronomy was reduced to arithmetic operations, extracting common multiples and divisors from the observed cyclic motions of the heavenly bodies.

what was his biggest accomplishment?
Based on the theories of his predecessors, Zhang Heng systematically developed the celestial sphere theory.