| LAMOST is a meridian reflecting Schmidt telescope.Using active optics technique to control its reflecting corrector makes it a unique astronomical instrument in combining large aperture with wide field of view.The available large focal plane may accommodate up to thousands of fibers,by which the collected light of distant and faint celestial objects down to 20.5 magnitude is fed into the spectrographs,promising a very high spectrum acquiring rate of ten-thousands of spectra per night.It will bring Chinese astronomy into the 21century with a leading role in wide field spectroscopy and in the fields of large scale and large sample astronomy and astrophysics.At present LAMOST has all the hardware fixeded success.And is trying to achieve the automated software management,which is achieved by its software control system.The Observatory Control System(OCS)is the core of the control system,whose main purpose is to manage,coordinate and control the subsystems of LAMOST and make the whole telescope work in an orderly manner.According to the plan,astronomical observation will be carried on step by step.It is a concentrated and scattered observatory control system upon all software and hardware modules with interfaces in multi-level.As the control software of the world's leading large telescope,OCS is also a complex software system with few precedents. Research on LAMOST observatory control involves software development,physical course of observation process,data exchange with subsystems,system testing work,etc.The analysis of these issues and solutions not only helps make progress with the LAMOST Project but also bring valuable experience and documents to later work..After several years of efforts,OCS already has a prototype.On which this paper attempts to further systematize the various functions and framework of OCS,set up a hardware control observation system,provide advice and technical reserves for OCS.OCS's development is a continuous process of testing and revising.This paper gives suitable testing methods and testing process based on object-oriented for OCS,and gives a variety of test cases.With the progress of LAMOST Project,the comprehensive hardware and software debugging is forthcoming.As some project reasons,gathering all the subsystems at the same time have some difficulties.So,this paper used simulated subsystem to test observation process.To make debugging smooth,this article also take a number of typical small process from the actual process,which associates only with one or two subsystems and bring sconvenience to actual testment.The dissertation is composed of nine chapters. Chapterâ… introduced the great significance of LAMOST in astronomy,presented LAMOST's latest developments,noting that the software control system is very important to LAMOST,and described the observation Control System's central position in the software control system.Chapterâ…¡carried out the overall design for OCS.It established a needs analysis of OCS and based on which it also given a functional design and architecture design of OCS.At the same time we also gave the design of communications mechanism in OCS.Chapterâ…¢to Chapterâ…¥gave the realization of OCS's important module.Chapterâ…¢introduced the Command Management Module.It manages all of OCS's commands and states and observing process.Chapterâ…£introduced the Observation Control Module,which is the most importent module in OCS.Chapterâ…¤introduced the user control interface of OCS.Chapterâ…¥introduced the other support modules of OCS.Chapterâ…¦recorded some typical problems and their solutions encountered in design.Chapterâ…§described the testing process of OCS,in which we not only gives the tests process closely linked to the development,also designed tests for the incoming hardware and software debugging.Chapterâ…¨is a summary and prospect of this dissertation.It reviewed work of this dissertation and brought forward proposal for continued research and development of OCS.The appendix is base command of OCS.The last part is reference and the articles published during student course. |