| 英文摘要 |
An embedded system based on a digital signal processor(DSP)microcontroller was developed for the touch-panel-based human–machine interface of a racket stringing machine. The DSP microcontroller was the dsPIC33EP512MU814 from Microchip. This system has a fully digital software and hardware architecture and comprises a thin-film transistor(TFT)liquid crystal display(LCD)touch panel, a string-pulling motor, a tension sensor, and EEPROM external memory. The goal was to provide precise tension control for the racket stringing machine in a user-friendly manner. The human–machine interface screens for the TFT LCD panel were first designed considering the functional requirements of the racket stringing machine. Each screen includes a background, icons, and buttons. Images were cropped using Adobe Illustrator and converted into binary files that were subsequently burned into the touch panel's memory. Embedded programs for the DSP are written using the MPLAB development environment with the C30 compiler. Various operation codes were designed to communicate with the TFT LCD touch panel over the universal asynchronous receiver-transmitter protocol. The system parameters were read from and stored in EEPROM memory over the I2C protocol. To capture analog signals from the tension sensor, the built-in analog-to-digital and pulse-width modulation functional modules of the DSP were enabled through software. A tension control algorithm was developed to control the string-pulling motor to achieve the desired string tension. The touch-based human–machine interface of the DSP embedded system is not only intuitive and user-friendly but also simpler than other systems due to the use of the DSP's built-in functional modules. These modules replace peripheral hardware circuits, thus reducing the required number of electronic components and allowing for a fully digital design. The developed system was applied to an actual stringing machine and its effectiveness was experimentally validated. |