As an important instrument of data recording, which can be used to indicate and record a lot of parameters such as temperature, pressure, flow, the recorder has been widely used in various industrial field. Now, the paperless recorders have a lot of advantages, such as the input signal is generally universal, user configurable, high precision, diversified display scheme and built-in memory. With the rapid development of microelectronics, computer technology, network communication technology, the paperless recorder is moving intelligence, virtualization, networked.Based on S3C2410 microprocessor and embedded linux OS, the human-machine interactive system of paperless recorder has diversified display scheme, large-capacity data storage, the function of user configurable, and support the ModBus protocol and TCP / IP protocol suite.The whole of paperless recorder is divided into data acquisition boards and human-machine interactive system, and the two parts are connected by ModBus protocol. According to practical requirement, the implementation scheme was discussed from three respects: hardware platform, operating systems and interactive interface development platform, and the development process of system are given. The work of building the development platform in host machine, porting the kernel of Linux and making of the root file system is completed.There is a unified device model in the Linux kernel. In this paper, the file system of sysfs's structure and functions are briefly introduced, and the data structures which are kobject, kset, bus_type, device, device_driver are analysed in detail on four aspects: contents, functions, reciprocity among them and the registration processes. Combined with the LCD driver, the platform device's registration process and the organizational relationship are presented. Finally developments on the touchscreen driver which is based on input subsystem and network device CS8900 driver which is based on the platform device are carried on successfully.Human–Machine Interface is developed on the base of Qt/Embedded. The procedure of setting up Qt development environment and the process of transplant QT to the target board are introduced in detail. The programming method of modular and object-oriented is adopted, and the structures of the program of human-machine interactive system are determined, then the design and function of various human–machine interfaces are elaborated. The implementation of the modules, which includs serial port communications, the data processing and the curve display, is descripted in detail.Finally, the test of the whole of paperless recorder and human-machine interactive system which includes driver and interface is done. The result showed that in the human-machine interactive system, the drivers working properly, the interface is simple and intuitive, and the system easy to operate and runs stable. Also, the results indicate that the paperless recorder has high measuring accuracy, reliable communication, and good system scalability and meet the design requirements. |