Man-machine interface equipment--Switch parts simulation realization
Abstract
The thesis introduced basic theories, current situation and development prospect of simulation briefly first,then explained research purpose and meaning of this graduation project. Switch emulation is to carry on scientific experiment with simulating the real environment by computer software, at the virtual interface experiment platform. In the thesis, the main research topic is mechanical switch, including SPST (Single Pole Single Throw), SPDT (Single Pole Double Throw) and keyboard switch. It analyzed the mechanical physical characteristics of the switches, especially the transient state in the course of holding, shutting of the switch. Exploiting the developing tools for high degree visualized application provided by MFC and Visual C, it simulated the design of switch. At first, it has to design the basic device class by virtual experiment platform, and derive the relative switch device class. With deriving some virtual functions of basic class, the relative function characteristics of switch can be simulated, including the response of input and output signal, mouse response to emulate different switch activities which produce different switch status, and change the pin information simultaneously. Second, the device class is packed into DLL module for using the functions of the device by particular interface in experiments. According to the type of switch, each switch can be packed as an independent DLL module. For SPST and SPDT switches, through testing, they reach the design object basically. But for the keyboard switch, because of the deficiency on some technology and on knowledge, it has not succeeded in designing corresponding DLL module in this thesis, which needs improving in the future.
Finally, the thesis summarized the research work, pointed out the study deficiency and the improving direction, and explained the harvest in the design.
Key words: Switch type; Switch characteristics; Time responds; Emulation realization