Font Size: a A A

Software Design On On-line Measuring System For Circular Grinding Machine

Posted on:2006-11-18Degree:MasterType:Thesis
Country:ChinaCandidate:Q PuFull Text:PDF
GTID:2121360155965428Subject:Mechanical design and theory
Abstract/Summary:PDF Full Text Request
At present, plain grinding machines are used in many enterprises. There are no high precision on-line measuring equipments on the plain grinding machines so that the workpieces should be off-line detected, reduplicately machined and repetitiously clamped, which decreases productivity, enlarges error, increases defective index and raises cost. In order to change the present condition, grinding machines should be reformed with electronic, photoelectric, computer technologies. One reform method has been put forward in this dissertation that is fitting grating digital readout system on the grinding machines to dynamically detect the external diameters of workpieces. Ya'an Jiang Nan Automobile Factory offers this task. Taking example for plain circular grinding machines, a set of grating digital readout system has been developed to on-line measuring the external diameters of shaft parts in order to guide accurate grinding.On-line measuring system for circular grinding machines is an electromechanical system developed with MCS-51 Single Chip Microcomputer. A grating sensor gathers the change of external diameter. 8253 Timer/Counter counts the pulses of the sensor. AT89C52, CPU of microcomputer system, deals with the output of the counter. Then 8279 keyboard/display shows the results and responses the input of keyboard. The hardware of the measuring system is very concision, thecircuit is very clear and the PCB is small. The display of this system is distinct and the stability is very high.The software is developed with C and assembly language. The software system is modularized and each functional module is a subprogram. The function of the system is implemented while the main program calls the subprograms. For the superiority of C, the configuration and modularization, the program is easy to understand and maintain and it could be well transplanted. The algorithm is clear and the program is compact. Meanwhile, some of the modules are developed with assembly language for the sake of complementarities of the two languages.In the process of software design, the stability and reliability must be considered adequately. Hardware-software anti-interference technology is used in this system, in which "Watchdog" and power-fail recovery chip is appended and software redundancy and trap setting are adopted. For getting over the problem of flashing when displays because refresh frequency of LED is too high, time delay software is added to. In the instance of not reducing the data gather frequency, the display frequency is slowed properly to output clear results.The modules are debugged and simulated by uVision2, Keil C51 IDE. Advanced Generic Simulator Interface (AGSI for short) is used to develop the simulation system with VC++6.0. DLL files generated by VC++6.0 are called in Keil so that some hardware could be simulated by software. It is a new thought to debug the program for the humanization reason and there are friendly interfaces.The main work of this dissertation is designing the on-line measuring system for circular grinding machine. The innovation is implementing software simulation for hardware. The plain circular grinding machine is reformed with digital, high precision on-line measuring technology, which is very important in practical manufacture and worthy of popularization.
Keywords/Search Tags:Circular grinding machine, On-line measuring, Grating digital readout, Single Chip Microcomputer, Emulator
PDF Full Text Request
Related items