| Vast ocean is the cradle of life, and the premise of ocean development and utilization is better ocean environment observation and understanding. Ocean environmental monitoring, including ocean hydro-meteorological observations, marine environmental protection monitoring and marine environment forecasting, is the basis of ocean study, ocean development and ocean utilization. With the rapid development of modern information technology, electronic technology, computer control technology, marine environmental monitoring equipment has also got considerable progress. Ship meteorological instrument is one kind of important marine environmental monitoring equipments, using kinds of sensors of its own, it can get real-time, continuous measurements of meteorological parameters of various types in the waters that vessels pass through, and provides security for ship sailing and anchoring. Because of the importance of ship meteorological instruments, it needs a test system to complete the periodic testing for ship meteorological instrument, which makes the ship meteorological instrument in good working condition for long-term.This topic is committed to the development of a modular, high operable and high portable ship meteorological instrument test system that is capable of continuous and stable working. Currently, the testing methods for the ship meteorological instrument rely on artificial investigation. This thesis applies advanced microcontroller technology and sophisticated CAN bus technology, and proposes a ship meteorological instrument test system based on AVR microcontroller.This thesis presents an overall design scheme of ship meteorological instrument test system according to its design principles and requirements, and ultimately determines to use the AT90CAN128 chip produced by ATMEL company as the processor chip of the system. The main content of this thesis is to give a comprehensive exposition of the developing process of the system. Firstly, it gives out the circuit design of the main functional modules, including interface circuit design of MCU and CAN bus, interface circuit design of MCU and human-computer interaction unit, circuit design of the power module, circuit design of meteorological instrument testing module and circuit design of sensor testing module; Secondly, according to the CAN 2.0 specification and the CAN 2.0 B standard protocol extensions, it develops a specific definition of CAN communication packets between system functional modules; Third, relying on WinAVR and AVR Studio software development platform, it completes all of the source code design of the system and carries out software downloads, hardware online simulation and debugging; Fourth, according to the functional requirements of the design, debugging and validation work are done on the ship meteorological instrument test system, which has good results and achieves the desired design objectivesFinally,according to the actual research results of the design.characteristics of ship meteorological instrument test system are analyzed and summarized.and further research work is prospeeted. |