ÈÈËÑÒªº¦´Ê£º µçÉÌÒ»¼þ´ú·¢ ÀäÁ´ÅäËÍ ÉçÇøÍŹº²ÖÅä ʳƷ²Ö´¢´ú·¢»õ ÔöֵЧÀÍ
²Ö´¢ÏµÍ³ÔÚµç×ÓÉÌÎñ¸ßËÙÉú³¤µÄ½ñÌìÃæÁÙמ޴óÌôÕ½£¬ÒýÈë»úеÈ˼¯ÈºÈ¡´ú¹Å°åÈ˹¤µÄÖÇÄÜ»¯²Ö´¢ÏµÍ³³ÉΪÏÖ´úÎïÁ÷Éú³¤µÄÒ»¶¨Ç÷ÊÆ¡£ÑÇÂíÑ·
ÖÇÄִܲ¢ÏµÍ³ÖеÄÄþ¾²Òþ»¼ºÍÔËÐÐÕÏ°£¬Ö÷ÒªÀ´×ÔÓÚ²Ö´¢ÎïÁ÷»úеÈ˼¯ÈºÖ®¼äµÄÅöײºÍËÀËøÎÊÌ⣬ÓÅÐãµÄ±ÜÕÏÒªÁì¿ÉÒÔ¼«´óµØÌáÉýϵͳµÄ¿É¿¿ÐÔºÍÔËÐÐЧÂÊ¡£±¾ÎÄÀûÓøïÐÂQ-LearningËã·¨½øÐз¾¶¼Æ»®£¬½«½»Í¨¹æÔòºÍ·¾¶Ô¤Ô¼±íÏà½áºÏ°ü¹Ü»úеÈËÖ®¼äÎÞÅöײÔËÐУ¬ÔÚ·¾¶¼Æ»®ÖмÓÈëÐͬ»úÖÆ£¬Ç¿»¯¸÷»úеÈËÖ®¼äµÄÁªÏµ£¬´Ó¶øÔÚ°ü¹ÜÄþ¾²ÔËÐеĻù´¡ÉϹ¹½¨Ò»¸öÔ½·¢Áé»î¡¢¸ßЧµÄÖÇÄִܲ¢ÏµÍ³¡£
ÖÇÄִܲ¢ÏµÍ³ÓÉ»õ¼Ü¡¢»úеÈ˺ÍÊÂÇę́Èý²¿·Ö×é³É£¬±¾ÎÄÀûÓÃÎÄÏ×
Fig.1 Grid model of intelligent warehousing system
ÔÚÖÇÄִܲ¢ÏµÍ³ÕâÑù¿ìËٱ任µÄ¶¯Ì¬Çé¿öÖУ¬ÓÉÓÚÓжà¸ö»úеÈ˺ͻõ¼ÜµÄ±£´æ£¬»úеÈËriÔÚ½øÐÐÎïÁ÷ÈÎÎñʱËù¼Æ»®µÄ·¾¶Pi£¬»á±¬·¢Á½ÀàÅöײ£¬Ò»ÀàÊÇÓë»õ¼ÜµÈ¾²Ì¬ÕÏ°ÎïµÄÅöײ£¬ÁíÒ»ÀàÊÇÓëϵͳÖÐÔËÐеÄÆäËû»úеÈ˵ÄÅöײ¡£ÎÄÖУ¬Ö±½Ó½«»õ¼ÜËù´¦µÄÕ¤¸ñλ×ÓÔÚ»úеÈË·¾¶¼Æ»®Ê±ÉèΪ²»¿É´ï£¬ÒÔ´ËÏû³ý»úеÈËÓë»õ¼ÜµÄÅöײ¡£»úеÈËÖ®¼äµÄÅöײÔòÅÓ´óµÃ¶à£¬»á±¬·¢Á½»úÅöײ¡¢Èý»úÅöײ¡¢ËÄ»úÅöײµÈ¶àÖÖÇé¿ö£¬¶ÔϵͳµÄÄþ¾²Ôì³ÉÑÏÖصÄÍþв¡£ÎªÖÆÖ¹»úеÈËÖ®¼äµÄÅöײÉõÖÁËÀËøµÄÎÊÌ⣬±¾ÎÄÔÚÖÇÄִܲ¢ÏµÍ³ÖмÓÈ뽻ͨ¹æÔò£¬»®¶¨Ã¿ÌõÃÅ·¶¼Êǵ¥ÐеÀ£¬²¢ÇÒÃÅ·µÄÆ«Ïò»®¶¨ÎªÎ§ÈÆ»õ¼ÜµÄÄæʱÕëÆ«Ïò£¬Èçͼ2Ëùʾ£¬¼ýÍ·ËùָƫÏò¼´»úеÈËÔÚ¸ÃÃÅ·ʱÔËÐеÄÆ«Ïò¡£»úеÈËƾ¾Ý½»Í¨¹æÔò£¬Ã¿Ò»²½Ñ¡ÔñÉÏ¡¢Ï¡¢×ó¡¢ÓÒ»òÕßÔµØÆÚ´ýÕâÎå¸öÐж¯ÖеÄÒ»¸ö£¬Ö±ÖÁµÖ´ïÈÎÎñÄ¿±êµã¡£
ͼ2 ÖÇÄִܲ¢ÏµÍ³½»Í¨¹æÔòÉ趨
Fig.2 Setting of traffic regulation forintelligent storage system
½»Í¨¹æÔòµÄÉ趨£¬ÓÐЧµØÏÞÖÆÁË»úеÈËÖ®¼äÅöײÉõÖÁËÀËøµÄ±¬·¢£¬½«ÅöײÀàÐÍÏÞ¶¨ÔÚÊ®×Ö·¿ÚÅöײºÍ׷βÅöײ֮ÖУ¬Èçͼ3Ëùʾ¡£±¾ÎĽÓÄÉÔ¤Ô¼±íµÄ²½·¥À´½â¾öÕâÁ½ÖÖÅöײ£¬Ô¤Ô¼±íµÄÉè¼Æ½«ÔÚÏÂÎÄÌá³ö¡£
ͼ3 ½»Í¨¹æÔòϵÄÁ½ÖÖÅöײÀàÐÍ
Fig.3 Two types of collisions under traffic regulations
ƾ¾Ý±¾ÎÄÐèÇó£¬Ï£Íûm¸ö»úеÈËÔÚÎÞÅöײÍê³ÉËùÓÐÈÎÎñµÄÇé¿öÏÂËù×ßµÄ×Ü·³Ì×î¶ÌÒÔ¼°ÏµÍ³ÔËÐеÄ×Üʱ¼ä£¨ÏµÍ³ÖÐ×îºóÒ»¸öÍê³ÉÈÎÎñµÄ»úеÈËÔËÐеIJ½Êý£©×î¶Ì¡£Òò´Ë£¬¿É½«²Ö´¢ÎïÁ÷»úеÈ˼¯ÈºÐͬ·¾¶¼Æ»®ÌåÏÖΪһ¸öµä·¶Ô¼ÊøÌõ¼þϵÄÓÅ»¯ÎÊÌ⣬ÆäÊýѧģÐÍÈçÏ£º
C1(Pi)={01,,other¦Ìri(x,ywis)e=¦Ìlj(x,y)(4)
ʽÖЦÌri(x,y)ºÍ¦Ìlj(x,y)»®·ÖΪ»úеÈ˺ͻõ¼ÜËùÔÚÕ¤¸ñµÄ×ø±ê£¨ÒÔÕ¤¸ñÓÒϽǵÄ×ø±êΪĿ½ñÕ¤¸ñ×ø±ê£©¡£
ʽÖУ¬Pi?Pj¡Ù?ÌåÏÖ»úеÈËriºÍrj¼Æ»®µÄ·¾¶ÔÚʱ¼äºÍ¿Õ¼äÉÏÓн»¼¯¡£
²Ö´¢ÎïÁ÷»úеÈ˼¯ÈºÔÚÖÇÄִܲ¢ÏµÍ³ÖеÄÎïÁ÷ÈÎÎñÆÊÎöÈçÏ£ºÔÚÖÇÄִܲ¢ÏµÍ³ÖÐÓÐn¸öδÍê³ÉµÄ¶©µ¥ÈÎÎñT={t1,t2,¡,tn}£¬Ã¿Ò»¸öÈÎÎñ¶ÔÓ¦»õ¼ÜL={l1,l2,¡,le}£¨eΪ»õ¼Ü¸öÊý£©ÖеÄÒ»¸ö£¬½«ÕâЩ¶©µ¥ÈÎÎñ·ÖΪm×éK=(K1,K2,¡,Km)¡£ÎÄÏ×
Õë¶Ôͼ3ËùʾµÄÁ½ÀàÅöײÎÊÌ⣬ϵͳͨ¹ý²éÔÄÔ¤Ô¼±íµÄÏà¹ØÐÅÏ¢£¬¶Ô½«»á±¬·¢ÅöײµÄ»úеÈËÄ¿½ñ״̬½øÐÐÅж¨£¬ÔÙƾ¾Ý±ÜÈùæÔò°²ÅÅÏà¹Ø»úеÈ˽øÐбÜÈá£Ê®×Ö·¿ÚÐÍÅöײ£¬½ÓÄÉ·ÖȨÖصķ½·¨½øÐбÜÈã¬È¨ÖØÓÉ·¾¶¼Æ»®Ëã·¨ÐγɵĻúеÈËÍê³ÉËùÓÐÈÎÎñµÄ·¾¶³¤¶È£¨¼´»úеÈËÔËÐÐ×ܲ½Êý£©¾ö¶¨£¬Â·¾¶³¤¶ÈÔ½³¤ÔòȨÖØÔ½´ó£¬ÔÚÊ®×Ö·¿Ú´¦¾ÍÏíÓÐÓÅÏÈͨ¹ýȨ£¬Èç¹ûȨÖØÏàͬÔòËæ»úÑ¡Ôñͨ¹ý¡£×·Î²ÐÍÅöײÔò½ÓÄÉÏÈÀ´ºóµ½µÄÔÔò½øÐбÜÈ㬺óÕ¼ÓÃÕ¤¸ñµÄ»úеÈ˱ØÐëµÈÏÈÕ¼ÓøÃÕ¤¸ñµÄ»úеÈËÀ뿪ºó²Å»ªÕ¼ÓøÃÕ¤¸ñ¡£Ô¤Ô¼±íͨ¹ý·¾¶¼Æ»®Ëã·¨Ðγɣ¬¼Í¼»úеÈ˼¯ÈºÖÐÿ¸ö»úеÈ˵¥¶ÀÔËÐÐʱµÄÍêÕû·¾¶ÒÔ¼°Ã¿Ò»²½Õ¼ÓÃÕ¤¸ñµÄÇé¿ö£¬°üÀ¨ÁËËùÓлúеÈËÍê³ÉËùÓÐÈÎÎñµÄλÖá¢Ê±¼äÐÅÏ¢¡£»úеÈË¿ÉÒÔͨ¹ýÅÌÎÊÔ¤Ô¼±íÀ´»ñÈ¡Ä¿½ñÕ¤¸ñµÄÕ¼ÓÃÇé¿öÒÔ¼°»úеÈËȨÖصľÞϸ£¬´Ó¶ø¾ö¶¨»úеÈËÏÂÒ»²½Ðж¯µÄÑ¡Ôñ¡£Ô¤Ô¼±íÊÇÒ»¸öÒÔ»úеÈËÊýÁ¿ÎªÐÐÊý£¬ÒÔϵͳÖÐËùÓлúеÈËÖÐÔËÐз¾¶×µÄ»úеÈËÔËÐеÄ×ܲ½ÊýΪÁÐÊýµÄ¾ØÕó£¬Õë¶ÔÔ¤Ô¼±íÖÐÿ¸ö»úеÈ˼ƻ®µÄ·¾¶³¤¶È²î±ðµÄÇé¿ö£¬Ôòͳһ½ÓÄÉ¡°0¡±²¹Æ룬Èçͼ4Ëùʾ¡£
Fig.4 Design of reservation table
Ä¿Ç°Á÷ÐеĻúеÈË·¾¶¼Æ»®Ëã·¨Ö÷ÒªÓÐA*Ëã·¨
Fig.5 Algorithm structure
ÔÚQ-LearningÖУ¬½±³Íº¯ÊýÊÇÅжÏÖÇÄÜ»úеÈËÔËÐÐÓÅÁÓµÄÖØÒªÖ¸±ê£¬Ò»°ãµÄ½±Àøº¯ÊýÖ»ÊÇÔÚ»úеÈ˵ִïÄ¿±êʱ¸øÓèÏàӦ˲ʱ½±ÀøR1£¬±¾ÎÄÔÚ´Ë»ù´¡ÉÏÔöÉèÏòÄ¿±êµã¿¿½üÐж¯µÄ½±ÀøR2£¬ÆäÅÌË㹫ʽΪ£º
ʽÖУ¬¦¤dΪ»úеÈËÄ¿½ñ״̬դ¸ñS1£¨×ø±êΪ(xs1,ys1)£©ºÍǰһ״̬դ¸ñS0£¨×ø±êΪ(xs0,ys0)£©ÓëÖÕµãÕ¤¸ñS£¨×ø±êΪ(xs,ys)£©µÄÖ±Ïß¾àÀëµÄ²î£¬Æ乫ʽΪ£º
ΪÁËÈûúеÈ˾¡¿ì×ßÏòÖյ㣬»úеÈËÿ×ßÒ»²½¶¼½«»ñµÃ-1µÄ½±ÀøÖµ¡£×ÛÉÏ£¬±¾ÎĵĽ±³Íº¯ÊýÅÌË㹫ʽÈçÏ£º
ΪÁ˱ÜÃâËã·¨ÏÝÈë¾Ö²¿×îÓÅ£¬Ôö¼ÓÈ«¾ÖÑ°ÓŵÄÄÜÁ¦£¬±¾ÎÄÔÚÐж¯Ñ¡ÔñÕ½ÂÔÉÏÔöÉèÌ°À·¶È²ÎÊý¦Å£¬ºÃ±È¦Å=0.9ʱ£¬¾Í˵Ã÷ÓÐ90%µÄÇé¿öÖÇÄÜ»úеÈË»áƾ¾Ý±íµÄ×î´óֵѡÔñÐÐΪ£¬10%µÄÇé¿öʹÓÃËæ»úÑ¡ÐÐΪ£¬¸ÃÕ½ÂÔÔÚʵ¼Ê·ÂÕæÖÐÓÐЧÌá¸ßÁËË㷨ѰÓŵÄ×îÓÅÐÔ¡£
±¾ÎÄÐͬ»úÖÆÉ趨Ϊ£¬Æ¾¾ÝÄ¿½ñÔ¤Ô¼±íµÄÇé¿ö£¬½«Ä¿½ñÔ¤Ô¼±íÖмƻ®Â·¾¶×ºÍ×î¶ÌµÄ»úеÈËri,rj½øÐÐÅä¶Ô£¬Æ¾¾ÝÅÌÎÊÔ¤Ô¼±íÐÅÏ¢»ñÈ¡rjÍê³ÉËùÓÐÎïÁ÷ÈÎÎñʱriÕýÔÚÖ´ÐеÄÎïÁ÷ÈÎÎñ£¬½«riµÄºóÒ»¸öÎïÁ÷ÈÎÎñ½»¸ørjÈ¥Ö´ÐУ¬Æ¾¾Ý·¾¶¼Æ»®Ëã¹æÔò»®ÈÎÎñÖØзÖÅɺóµÄÁ½¸ö»úеÈ˵Äеķ¾¶£¬²¢¸üÐÂÔ¤Ô¼±í¡£ÒÔ´ËÒªÁì½øÐÐÑ»·£¬ÈÃÄ¿½ñÔ¤Ô¼±íÖз¾¶×î¶ÌµÄ»úеÈËȥȡ´ú·¾¶×µÄ»úеÈËÍê³ÉËüµÄÏÂÒ»¸öÈÎÎñ£¬´Ó¶øÃÖ²¹ÁËÈÎÎñ·ÖÅɵIJ»ÍêÉÆ£¬¼õÉÙ»úеÈËÎÞÈÎÎñ´ý»ú״̬£¬ÌáÉýÐͬ¶È£¬×îÖÕµÖ´ïËõ¶ÌϵͳÔËÐÐ×Üʱ¼äµÄÄ¿µÄ¡£
ΪÑéÖ¤Ëã·¨ÓÐЧÐÔ£¬½«±¾ÎÄÉè¼ÆµÄÐͬ·¾¶¼Æ»®Ëã·¨£¨¼ò³ÆËã·¨1£©ºÍÆÕͨµÄ»ùÓÚ½»Í¨¹æÔòºÍÔ¤Ô¼±íµÄQ-LearningËã·¨£¨¼ò³ÆËã·¨2£©ÔÚͼ1Ìá³öµÄÖÇÄִܲ¢ÏµÍ³ÖнøÐбȽϡ£Í¨¹ýÓ²¼þÅäÖÃΪInter?CoreTMi7-2600µçÄÔÉϵÄMatlab 2017a¶ÔÆä½øÐзÂÕæʵÑé¡£·ÂÕæʵÑé·ÖΪÁ½²¿·Ö£º
1£©±ÈÕÕÏàͬÊýÁ¿»úеÈËÖ´Ðвî±ðÈÎÎñÊýÁ¿µÄÇé¿ö£¬»úеÈËÊýÁ¿Îª12£¬ÈÎÎñÊýÁ¿ÒÀ´ÎΪ50,100,150,200,250;
2£©±È½ÏÏàͬÈÎÎñÊýÁ¿Óɲî±ðÊýÁ¿»úеÈËÖ´ÐÐÇé¿ö£¬ÈÎÎñÊýÁ¿É趨Ϊ250£¬»úеÈËÊýÁ¿»®·ÖÉ趨Ϊ6,12,24¡£
ͼ6Ϊ²î±ð·¾¢¼Æ»®Ëã·¨¶Ô12¸ö»úеÈËÍê³É²î±ðÊýÁ¿ÈÎÎñËù»¨·ÑµÄϵͳ×Üʱ¼ä¡£ÓÉͼ6¿ÉÖª£¬ÔÚ»úеÈËÊýÁ¿Ò»×¼Ê±£¬Ëæ×ÅÈÎÎñÊýÁ¿µÄ²»¾øÌá¸ß£¬ÏµÍ³ÔËÐеÄ×Üʱ¼äÒ²²»¾øÌá¸ß¡£Ïà½ÏÓÚËã·¨2£¬Ëã·¨1ÄÜÓÐЧ¼õÉÙϵͳÔËÐеÄ×Üʱ¼ä£¬ÕâÊÇÒòΪËã·¨1µÄÐͬ»úÖÆÃÖ²¹ÁËÔÏÈÈÎÎñ·ÖÅÉʱµÄȱ·¦£¬¼õÉÙÁË»úеÈËÍê³ÉÈÎÎñºóµÄ¿ÕÏÐ״̬£¬ÖÆÖ¹×ÊÔ´µÄÀË·Ñ£¬Èø÷»úеÈËÖ®¼äµÄÊÂÇéÁ¿Ô½·¢Æ½ºâ£¬Ëæ×ÅÈÎÎñÊýÁ¿µÄÔö¼Ó£¬Ðͬ»úÖƵÄЧ¹ûÒ²¾ÍÔ½Ã÷ÏÔ¡£
ͼ6 »úеÈËÖ´Ðвî±ðÈÎÎñÊýÁ¿µÄϵͳʱ¼ä
Fig.6 System time of different tasks performed by robot
ͼ7Ϊ²î±ð·¾¶¼Æ»®Ëã·¨¶Ô²î±ð»úеÈËÍê³É250¸öÈÎÎñËù»¨·ÑµÄϵͳ×Üʱ¼ä¡£ÓÉͼ¿ÉÖª£¬ÔÚÈÎÎñÊýÁ¿Ò»¶¨µÄÇé¿öÏ£¬»úеÈ˵ÄÊýÁ¿Ô½¶à£¬ÏµÍ³ÔËÐеÄ×Üʱ¼äÔ½ÉÙ¡£Ïà½ÏÓÚËã·¨2£¬Ëã·¨1ÈÔÈ»ÓÐЧµØ¼õÉÙÁËϵͳ×ܵÄÔËÐÐʱ¼ä¡£Ëæ×Å»úеÈ˵ÄÊýÁ¿Ôö¶à£¬ÏµÍ³ÔËÐÐʱ¼äϽµµÄÇ÷ÊÆÖ𽥱仺£¬ÕâÊÇÓÉÓÚ»úеÈËÔ½¶à£¬Ã¿¸ö»úеÈË·Öµ½µÄÈÎÎñ¾ÍÔ½ÉÙ¡£´Óºê¹ÛÉÏ¿´£¬¸÷»úеÈËÖ®¼äÍê³ÉËù·ÖÅÉÈÎÎñµÄ×ÜÊÂÇéÁ¿²î±ð¾ÍÖð½¥ËõС£¬¼´»úеÈËÖ®¼äµÄÊÂÇéÁ¿Ô½Æ½ºâ£¬Ðͬ»úÖƱ¬·¢µÄЧ¹ûÒ²¾ÍÖð½¥±äС¡£
ͼ7 ²î±ðÊýÁ¿»úеÈËÖ´ÐÐÈÎÎñµÄϵͳʱ¼ä
Fig.7 System time for exceuting tasks of different number of robots
´Óͼ6¡¢Í¼7ÖпÉÒÔ¿´³ö£¬Ëã·¨1Ëù»¨·ÑµÄϵͳÔËÐÐʱ¼ä¶¼³ÊÏßÐÔ£¬ÏÔʾÁËËã·¨Á¼ºÃµÄÐÔÄÜ¡£
±¾ÎÄÁ¢ÒìµØÌá³öÒ»ÖÖ²Ö´¢ÎïÁ÷»úеÈ˼¯Èº±ÜÕϼ°Ðͬ·¾¶¼Æ»®ÒªÁ죬Íê³ÉÁËÈçÏÂÊÂÇ飺ÔÚÖÇÄִܲ¢ÏµÍ³ÖÐÖ¸¶¨½»Í¨¹æÔò²¢Éè¼ÆÏàӦ·¾¶Ô¤Ô¼±í£¬±ÜÃâ»úеÈËÖ®¼äµÄÅöײ¼°ÏµÍ³ËÀËø£»¸ïÐÂQ-LearningËã·¨µÄ½±³Íº¯Êý£¬ÔöÉèÇ÷½üÄ¿±êµãµÄ½±Àø£¬¼ÓËÙËã·¨µÄÊÕÁ²£»ÔÚ·¾¶¼Æ»®ÖÐÉè¼ÆÁËÏàÓ¦µÄÐͬ»úÖÆ£¬Ôö¼Ó¸÷»úеÈËÖ®¼äµÄÁªÏµ£¬¼õÉÙ»úеÈËÎÞÈÎÎñ¿É×öµÄ¿ÕÏÐ״̬£¬´Ó¶øÓÐЧ½µµÍÁËϵͳÔËÐеÄ×Üʱ¼ä¡£
¡¾±¾ÎıêÇ©¡¿
¡¾ÔðÈα༡¿yd2333Ôƶ¥µç×ÓÓÎÏ·ÔƲÖ