Laser marking is a kind of technique of making permanent mark on the surface of objects by using laser beam with high density. Laser Marking has achieved an increasingly wide applications for its advantages including high speed, high quality, good stability and so on. Traditional laser marking systems are generally based on ISA bus or PCI bus, and the motion control card has to be plugged into the PCI slot inside the computer, also it does not support hot-swappable. All of these affectes the stability of the control card; Another laser marking controller based on the single chip controller is low cost and can run steadily, but the limited storage and the low running speed restrict its application.Motion control card is the kernel part of a laser marking system. In this paper, we design a new type of optical scanning laser marking control card based on USB bus and using FPGA as its main control unit. It uses the USB bus's advantages such as high-speed, stable, ease of use and FPGA's rich resources, strong ability of processing, easy expansion, etc. With the information processing abilities of PC and the control abilities of motion control card, the motion control card has the Features of powerful information processing ability, good openness and Easy to use.At first, we introduce the principle of laser marking, the development actualities of laser marking technology, and the constitution of laser marking system. Then the USB technology is introduced briefly, and the hardware circuit design of motion control card is discussed in detail, including USB interface, FPGA control unit, D/A module, memories, I/O interface, and so on. The next, the software design of USB firmware and FPGA function modules are designed in detail, including USB communication, D/A write control, SRAM W/R control. Finally, Through the debugging and measurement, the designed card implements the functions such as USB communications, the two-channel analog output, SRAM read and write data and digital input/output. |