page_title: Ming dynasty
section_title: Science and technology
hierarchical_section_title: Ming dynasty / Science and technology
context_page_description: The Ming dynasty, officially the Great Ming, was the ruling dynasty of China from 1368 to 1644 following the collapse of the Mongol-led Yuan dynasty. The Ming dynasty was the last imperial dynasty of China ruled by Han Chinese. Although the primary capital of Beijing fell in 1644 to a rebellion led by Li Zicheng, numerous rump regimes ruled by remnants of the Ming imperial family—collectively called the Southern Ming—survived until 1662.
  The Hongwu Emperor attempted to create a society of self-sufficient rural communities ordered in a rigid, immobile system that would guarantee and support a permanent class of soldiers for his dynasty: the empire's standing army exceeded one million troops and the navy's dockyards in Nanjing were the largest in the world. He also took great care breaking the power of the court eunuchs and unrelated magnates, enfeoffing his many sons throughout China and attempting to guide these princes through the Huang-Ming Zuxun, a set of published dynastic instructions.
context_section_description: Compared to the flourishing of science and technology in the Song dynasty, the Ming dynasty perhaps saw fewer advancements in science and technology compared to the pace of discovery in the Western world. In fact, key advances in Chinese science in the late Ming were spurred by contact with Europe. In 1626 Johann Adam Schall von Bell wrote the first Chinese treatise on the telescope, the Yuanjingshuo (Far Seeing Optic Glass); in 1634 the Chongzhen Emperor acquired the telescope of the late Johann Schreck (1576–1630). The heliocentric model of the solar system was rejected by the Catholic missionaries in China, but Johannes Kepler and Galileo Galilei's ideas slowly trickled into China starting with the Polish Jesuit Michael Boym (1612–1659) in 1627, Adam Schall von Bell's treatise in 1640, and finally Joseph Edkins, Alex Wylie, and John Fryer in the 19th century. Catholic Jesuits in China would promote Copernican theory at court, yet at the same time embrace the Ptolemaic system in their writing; it was not until 1865 that Catholic missionaries in China sponsored the heliocentric model as their Protestant peers did. Although Shen Kuo (1031–1095) and Guo Shoujing (1231–1316) had laid the basis for trigonometry in China, another important work in Chinese trigonometry would not be published again until 1607 with the efforts of Xu Guangqi and Matteo Ricci. Ironically, some inventions which had their origins in ancient China were reintroduced to China from Europe during the late Ming; for example, the field mill.
  The Chinese calendar was in need of reform since it inadequately measured the solar year at 365 ¼ days, giving an error of 10 min and 14 sec a year or roughly a full day every 128 years. Although the Ming had adopted Guo Shoujing's Shoushi calendar of 1281, which was just as accurate as the Gregorian Calendar, the Ming Directorate of Astronomy failed to periodically readjust it; this was perhaps due to their lack of expertise since their offices had become hereditary in the Ming and the Statutes of the Ming prohibited private involvement in astronomy. A sixth-generation descendant of the Hongxi Emperor, the "Prince" Zhu Zaiyu (1536–1611), submitted a proposal to fix the calendar in 1595, but the ultra-conservative astronomical commission rejected it. This was the same Zhu Zaiyu who discovered the system of tuning known as equal temperament, a discovery made simultaneously by Simon Stevin (1548–1620) in Europe. In addition to publishing his works on music, he was able to publish his findings on the calendar in 1597. A year earlier, the memorial of Xing Yunlu suggesting a calendar improvement was rejected by the Supervisor of the Astronomical Bureau due to the law banning private practice of astronomy; Xing would later serve with Xu Guangqi in reforming the calendar (Chinese: 崇禎暦書) in 1629 according to Western standards.
  When the Ming founder Hongwu came upon the mechanical devices housed in the Yuan dynasty's palace at Khanbaliq – such as fountains with balls dancing on their jets, self-operating tiger automata, dragon-headed devices that spouted mists of perfume, and mechanical clocks in the tradition of Yi Xing (683–727) and Su Song (1020–1101) – he associated all of them with the decadence of Mongol rule and had them destroyed. This was described in full length by the Divisional Director of the Ministry of Works, Xiao Xun, who also carefully preserved details on the architecture and layout of the Yuan dynasty palace. Later, European Jesuits such as Matteo Ricci and Nicolas Trigault would briefly mention indigenous Chinese clockworks that featured drive wheels. However, both Ricci and Trigault were quick to point out that 16th-century European clockworks were far more advanced than the common time keeping devices in China, which they listed as water clocks, incense clocks, and "other instruments ... with wheels rotated by sand as if by water" (Chinese: 沙漏). Chinese records – namely the Yuan Shi – describe the 'five-wheeled sand clock', a mechanism pioneered by Zhan Xiyuan (fl. 1360–80) which featured the scoop wheel 
caption: Portrait of Matteo Ricci by Yu Wenhui, Latinized as Emmanuel Pereira, dated the year of Ricci's death, 1610
exif: {}