¹þ¶û±õÀí¹¤´óѧѧʿѧλÂÛÎÄ »ùÓÚPLC²½½øµç»ú¿ØÖÆÏµÍ³
ÕªÒª
Ëæ×Å΢µç×ӺͼÆËã»ú¼¼ÊõµÄ·¢Õ¹£¬²½½øµç»úµÄÐèÇóÁ¿ÓëÈÕ¾ãÔö£¬Ëü¹ã·ºÓÃÓÚ´òÓ¡»ú¡¢µç¶¯Íæ¾ßµÈÏû·ÑÀà²úÆ·ÒÔ¼°Êý¿Ø»ú´²¡¢¹¤Òµ»úÆ÷ÈË¡¢Ò½ÁÆÆ÷еµÈ»úµç²úÆ·ÖУ¬ÆäÔÚ¸÷¸ö¹úÃñ¾¼ÃÁìÓò¶¼ÓÐÓ¦Óá£Ñо¿²½½øµç»úµÄ¿ØÖÆÏµÍ³£¬¶ÔÌá¸ß¿ØÖƾ«¶ÈºÍÏìÓ¦ËÙ¶È¡¢½ÚÔ¼ÄÜÔ´µÈ¶¼¾ßÓÐÖØÒªÒâÒå¡£
²½½øµç»úÊǽ«µçÂö³åÐźű任³É»úе½ÇÎ»ÒÆµÄÒ»ÖÖ×°Öã¬Ã¿¸öÂö³åʹתÖá²½½øÒ»¸ö²½¾à½ÇÔöÁ¿£¬Êä³ö½ÇÎ»ÒÆÓëÊäÈëÂö³åÊý³ÉÕý±È£¬×ªËÙÓëÊäÈëÂö³å³ÉÕý±È£¬×ªËÙÓëÊäÈëÂö³åƵÂʳÉÕý±È¡£²½½øµç»úµÄ¿ØÖÆ·½Ê½¼òµ¥£¬ÊôÓÚ¿ª»·¿ØÖÆ£¬ÇÒÎÞÀÛ»ý¶¨Î»Îó²î£¬ÓнϸߵĶ¨Î»¾«¶È£¬¶øPLC×÷ΪһÖÖ¹¤Òµ¿ØÖÆÎ¢»ú£¬ÊÇʵÏÖµç»úÒ»Ì廯µÄÓÐÁ¦¹¤¾ß£¬Òò´Ë»ùÓÚPLCµÄ²½½øµç»ú¿ØÖƼ¼ÊõÒѹ㷺ÓÃÓÚÊý×Ö¶¨Î»¿ØÖÆÖС£
±¾¿ØÖÆÏµÍ³µÄÉè¼Æ£¬ÓÉÓ²¼þÉè¼ÆºÍÈí¼þÉè¼ÆÁ½²¿·Ö×é³É¡£ÆäÖУ¬Ó²¼þÉè¼ÆÖ÷Òª°üÀ¨²½½øµç»úµÄ¹¤×÷ÔÀí¡¢²½½øµç»úµÄÇý¶¯µç·Éè¼Æ¡¢PLCµÄÊäÈëÊä³öÌØÐÔ¡¢PLCµÄÍâΧµç·Éè¼ÆÒÔ¼°PLCÓë²½½øµç»úµÄÁ¬½ÓÓëÆ¥ÅäµÈÎÊÌâµÄʵÏÖ¡£Èí¼þÉè¼Æ°üÀ¨Ö÷³ÌÐòÒÔ¼°¸÷¸öÄ£¿éµÄ¿ØÖƳÌÐò£¬×îÖÕʵÏÖ¶Ô²½½øµç»úת¶¯·½Ïò¼°×ª¶¯ËٶȵĿØÖÆ¡£±¾ÏµÍ³¾ßÓÐÖÇÄÜÐÔ¡¢ÊµÓÃÐÔ¼°¿É¿¿ÐÔµÄÌØµã¡£
¹Ø¼ü´Ê £º²½½øµç»ú¡¢PLC¡¢×ªËÙ¿ØÖÆ¡¢·½Ïò¿ØÖÆ
- I -
¹þ¶û±õÀí¹¤´óѧѧʿѧλÂÛÎÄ Stepping motor control system based on PLC
Abstract
With the development of microelectronics and computer technology, the stepper motor is increasing demanded, which is widely used in printers, electric toys and other consumer products, and CNC machine tools, industrial robots, medical equipment and other electrical machinery products, and is applied in the national economy in various fields. Researching of stepper motor control system to improve the control accuracy and response speed, energy conservation is so important.
Stepper motor is a device which will transform electrical pulses into mechanical angular displacement so that Shaft of each pulse to a step angle stepping increment, SO output angular displacement is proportional to the input pulses, speed is proportional to the input pulse speed and speed is proportional to input pulse frequency. Stepper motor control is simple, is open-loop control, and no accumulation of positioning error, a high positioning accuracy,and the PLC as an industrial control computer, is a powerful tool for the integration of the motor, Therefore, the stepper motor control based on PLC technology has been widely used for digital positioning control.
The control system consists of hardware and software design of two parts. Among them, the hardware design includes the working principle of stepper motor, stepper motor drive circuit design, PLC input and output characteristics, PLC and PLC external circuit connection with the stepper motor and matching Problem. Software design, including the main program and each module of the control program, ultimately realizes on the stepper motor rotation direction and rotation speed control This system has the intelligence, practicality and reliability features.
Keywords £º Stepper motor, PLC, speed control, direction control
- II -
¹þ¶û±õÀí¹¤´óѧѧʿѧλÂÛÎÄ
Ŀ¼
ÕªÒª ...................................................................................................................... I Abstract ............................................................................................................... II
»ùÓÚPLC²½½øµç»ú¿ØÖÆÏµÍ³ .............................................................................. I µÚ1Õ Ð÷ÂÛ ........................................................................................................ 1 1.1 ¿ÎÌâ±³¾° .................................................................................................. 1 1.2 ÎÊÌâµÄÌá³ö .............................................................................................. 2 1.3 Éè¼ÆÄ¿µÄ¼°ÏµÍ³¹¦ÄÜ .............................................................................. 2 µÚ2Õ PLC¼°²½½øµç»úµÄ¸ÅÊö ........................................................................ 4 2.1 PLCµÄ»ù±¾¸ÅÄî ..................................................................................... 4 2.2 PLCµÄ»ù±¾½á¹¹ ....................................................................................... 4 2.3 PLCµÄÌØµã ............................................................................................... 5 2.4 ²½½øµç»úµÄÌØÐÔ ...................................................................................... 7 2.5 ²½½øµç»úµÄÖÖÀà ...................................................................................... 7 2.6 ·´Ó¦Ê½²½½øµç»úµÄ¿ØÖÆ .......................................................................... 8 2.7 ±¾Éè¼ÆËùÓò½½øµç»ú ............................................................................ 12 µÚ3Õ Ӳ¼þµç·Éè¼Æ ...................................................................................... 14 3.1 Ó²¼þÉè¼ÆË¼Â· ........................................................................................ 14 3.2 ×ÜÉè¼ÆÍ¼¿ò ............................................................................................ 14 3.3 ÍâΧµç·Éè¼Æ¼°·ÖÎö ............................................................................ 15 3.4 LEDÊýÂëÏÔʾÆ÷µç· ............................................................................. 23 3.5 ²½½øµç»ú¿ØÖÆÏµÍ³µç·ͼ .................................................................... 25 µÚ4Õ Èí¼þµÄÉè¼Æ .......................................................................................... 27 4.1 ¿É±à³ÌÐò¿ØÖÆÆ÷µÄ¹¤×÷ÔÀí ................................................................ 27 4.2 ´æ´¢¿Õ¼äµÄ¼ÆËã .................................................................................... 28 µÚ5Õ PLC¿ØÖƳÌÐòÉè¼Æ ......................................................................... 29 5.1 PLCÌṩµÄ±à³ÌÓïÑÔ ............................................................................. 29 5.2 PLCʵÓÃÇý¶¯µçÔ´¿ØÖÆ»·½Ú ................................................................. 31 ½áÂÛ .................................................................................................................... 35 ÖÂл .................................................................................................................... 37 ²Î¿¼ÎÄÏ× ............................................................................................................ 38 ¸½Â¼ .................................................................................................................... 39
- III -
¹þ¶û±õÀí¹¤´óѧѧʿѧλÂÛÎÄ
µÚ1Õ Ð÷ÂÛ
1.1 ¿ÎÌâ±³¾°
ÔÚµçÆøÊ±´úµÄ½ñÌ죬µç¶¯»úÒ»Ö±ÔÚÏÖ´ú»¯µÄÉú²úºÍÉú»îÖÐÆð×ÅÊ®·ÖÖØÒªµÄ×÷Óá£ÎÞÂÛÊÇÔÚ¹¤Å©ÒµÉú²ú»¹ÊÇÔÚÈÕ³£Éú»îÖеļÒÓõçÆ÷£¬¶¼´óÁ¿µØÊ¹ÓÃן÷ÖÖ¸÷ÑùµÄµç¶¯»ú¡£Òò´Ë¶Ôµç¶¯»úµÄ¿ØÖƱäµÃÔ½À´Ô½ÖØÒªÁË¡£µç¶¯»úµÄ¿ØÖƼ¼ÊõµÄ·¢Õ¹µÃÁ¦ÓÚ΢µç×Ó¼¼Êõ¡¢µçÁ¦µç×Ó¼¼Êõ¡¢´«¸ÐÆ÷¼¼Êõ¡¢ÓÀ´Å²ÄÁϼ¼Êõ¡¢×Ô¶¯¿ØÖƼ¼Êõ¡¢Î¢»úÓ¦Óü¼ÊõµÄ×îз¢Õ¹³É¾Í¡£ÕýÊÇÕâЩ¼¼ÊõµÄ½ø²½Ê¹µç¶¯»ú¿ØÖƼ¼Êõ»¯¡£
²½½øµç»úÊÇ»úµç¿ØÖÆÖÐÒ»ÖÖ³£ÓõÄÖ´Ðлú¹¹£¬ÆäÔÀíÊÇͨ¹ý¶ÔËüÿÏàÏßȦÖеĵçÁ÷ºÍ˳ÐòÇл»À´Ê¹µç»ú×÷²½½øÊ½Ðýת¡£Çý¶¯µç·ÓÉÂö³åÐźÅÀ´¿ØÖÆ£¬ËùÒÔµ÷½ÚÂö³åÐÅºÅµÄÆµÂʱã¿É¸Ä±ä²½½øµç»úµÄתËÙ¡£Í¨Ë×µØËµ:µ±²½½øÇý¶¯Æ÷½ÓÊÕµ½Ò»¸öÂö³åÐźţ¬Ëü¾ÍÇý¶¯²½½øµç»ú°´É趨µÄ·½Ïòת¶¯Ò»¸ö¹Ì¶¨µÄ½Ç¶È(¼°²½½ø½Ç)¡£Í¨¹ý¿ØÖÆÂö³å¸öÊý¼´¿ÉÒÔ¿ØÖƽÇÎ»ÒÆÁ¿£¬´Ó¶ø´ïµ½×¼È·¶¨Î»µÄÄ¿µÄ¡£Í¬Ê±Í¨¹ý¿ØÖÆÂö³åƵÂÊÀ´¿ØÖƵç»úת¶¯µÄËٶȺͼÓËÙ¶È£¬´Ó¶ø´ïµ½µ÷ËÙµÄÄ¿µÄ£¬ÏÖÔڱȽϳ£ÓõIJ½½øµç»ú°üÀ¨·´Ó¦Ê½²½½øµç»ú£¨VR)¡¢ÓÀ´Åʽ²½½øµç»ú(PM),»ìºÏʽ²½½øµç»ú(HB)ºÍµ¥Ïàʽ²½½øµç»úµÈ¡£ÓÀ´Åʽ²½½øµç»úÒ»°ãΪÁ½Ï࣬ת¾ØºÍÌå»ý½ÏС£¬²½½ø½ÇÒ»°ãΪ7.50;·´Ó¦Ê½²½½øµç»úÒ»°ãΪÈýÏ࣬¿ÉʵÏÖ´óת¾ØÊä³ö£¬²½½ø½ÇÒ»°ãΪ1.50£¬µ«ÔëÉùºÍÕñ¶¯¶¼ºÜ´ó¡£·´Ó¦Ê½²½½øµç»úµÄת×Ó´Å·ÓÉÈí´Å²ÄÁÏÖÆ³É£¬¶¨×ÓÉÏÓжàÏàÀø´ÅÈÆ×飬ÀûÓôŵ¼µÄ±ä»¯²úÉúת¾Ø¡£»ìºÏʽ²½½øµç»úÊÇÖ¸»ìºÏÁËÓÀ´ÅʽºÍ·´Ó¦Ê½µÄÓŵ㡣ËüÓÖ·ÖΪÁ½ÏàºÍÎåÏà:Á½Ïಽ½ø½ÇÒ»°ãΪ1.8¡°¶øÎåÏಽ½ø½ÇÒ»°ãΪ0.720¡£ÕâÖÖ²½½øµç»úµÄÓ¦ÓÃ×îΪ¹ã·º¡£
- 1 -