ããã«ã¡ã¯ãhabrozhiteliïŒ
ãã®ã·ãªãŒãºã®èšäºã§ã¯ãã¯ã¢ããã³ãã¿ãŒã®èãããªãã®è¶£å³ãå¿
èŠãšãããããå°ãã ãéãããã©ã€ãã³ã³ãããŒã©ãŒçšã®ç¬èªã®ããã°ã©ã ãäœæãæ§æãèµ·åããŸããããã¯éåžžã®Arduino Mega 2560ããŒãã§ãã
ç§ãã¡ã«ã¯å
ããããŸãïŒ
- åºæ¬çãªæŠå¿µïŒåå¿è
ããªã³ãã¿ãŒã¬ã€ãçšïŒã
- ä»®æ³ã¯ã¢ããã³ãã¿ãŒã§ã®äœæ¥ã®ã€ã³ã¿ã©ã¯ãã£ããªWebãã¢ã³ã¹ãã¬ãŒã·ã§ã³ãåããPIDã³ã³ãããŒã©ãŒã
- å®éã«ã¯ãArduinoã®ããã°ã©ã ãšQtã®ãã¥ãŒãã³ã°ããã°ã©ã ã§ãã
- ããŒãã§ã®å±éºãªã¯ã¢ããã³ãã¿ãŒãã¹ãã æåã®ãã©ã€ãã
- çŸå Žã§ã®ã¯ã©ãã·ã¥ãšæ倱ã QtãšOpenCVã䜿çšããèªåèªç©ºæ€çŽ¢ã
- æåŸã«æåãããã¹ãã ãŸãšããŸãã 次ã¯ã©ãïŒ
çŽ æã¯èšå€§ã§ããã2ã3件ã®èšäºã«åãŸãããã«ããŸãã
ä»æ¥ã¯ç§ãã¡ãåŸ
ã£ãŠããŸãïŒç§ãã¡ã®ã¯ã¢ããã³ãã¿ãŒãé£ãã æ¹æ³ã®ãããªã§ãã¿ãã¬ã åºæ¬çãªæŠå¿µ; PIDã¬ã®ã¥ã¬ãŒã¿ãŒãšãã®ä¿æ°ã®éžææ¹æ³ã ãªãã§ãããªããšïŒ
åŠè¡çãªé¢å¿ãããã¯ãå¶ç¶ã«ãç§ã ãã§ã¯ãããŸããïŒ
1ã2ã3 ïŒã ãŸãããã¡ãããéã®ããã«ã ä»äºäžã«ããããšãŠã楜ããã§ãããã°ã©ã ã§ãITããé£ãã ãšããèšèã§ã¯èšãè¡šããªãã»ã©ã®å¹žããæããŸãã:-)
誰ã®ããïŒ
ãã®è³æã¯ãé ãã«ãã人ãããã«ãããŒã¿ãŒã·ã¹ãã ã®äœæ¥ãå§ããããšããŠãã人ã«ãšã£ãŠèå³æ·±ããã®ã§ãã ããã§ã¯ãã¯ã¢ããã³ãã¿ãŒã®ã¡ã€ã³ããŒãã®æå®ãããããçžäºã«ã©ã®ããã«çžäºäœçšããããåºæ¬çãªæŠå¿µãããã³é£è¡ã®åçã«ã€ããŠè©±ããŸãããã ãã¡ãããç§ãã¡ãå¿
èŠãšãããã¹ãŠã®ç¥èã¯ãããäžã§èŠã€ããããšãã§ããŸãããåºå€§ãªã€ã³ã¿ãŒãããäžã§ãããæ¢ãããšã匷å¶ããããšã¯ã§ããŸããã
åºæ¬æŠå¿µã®ç解ãæãªãããšãªã
ã倪åã®æ¬¡ã®ãªãã¿ã®ãªãçšèªããŸãã¯ç解ã§ããªãå³ãŸã§ãç¥ã£ãŠããããšããã¹ãŠã¹ãããããŠãã ããã
ãããã1çªïŒ
ããªãå€ãã®æ¢è£œã®ãœãªã¥ãŒã·ã§ã³ïŒArdupilotãMegapirateNGãMiltiWiiãAeroQuadãªã©ïŒãè©ŠããŸã§ã¯ããã©ã€ãã³ã³ãããŒã©ãŒçšã®ç¬èªã®ããã°ã©ã ãäœæããªãã§ãã ããã ãŸããå±éºã§ãïŒ GPSãšæ°å§èšã䜿çšããã«ã¯ã¢ããã³ãã¿ãŒãå¶åŸ¡ããã«ã¯ãç·Žç¿ãå¿
èŠã§ããããã«ããã®ãŒã®å Žåãã²ã£ããè¿ããæ¬æ¥ããã¹ãå Žæã«é£è¡ã§ããŸãããããã¯ãæåã®ãã¹ãã§ã¯ã»ãšãã©åé¿ã§ããŸããã 第äºã«ãäœãããã°ã©ã ããå¿
èŠããããæçµçã«ã©ã®ããã«æ©èœããããç解ããããšã§ãããã°ã©ã ãäœåãç°¡åã«ãªããŸãã ä¿¡ããŠãã ããïŒ
é£è¡æ°åŠã¯ããã°ã©ã ã³ãŒãã®ã»ãã®äžéšã§ã ã
ããã2ïŒ
åŠè¡çãªèå³ãè¿œæ±ããŠãããããã¹ãŠãèªåã§æžããŠããéã«ãæ¢è£œã®ãœãªã¥ãŒã·ã§ã³ïŒãã©ã€ãåçãæ®ãããããªãæ®ãã課é¡ãé£ã¶ãªã©ïŒã ããå¿
èŠãªå Žåã¯ããã©ã€ãã³ã³ãããŒã©ãŒçšã®ç¬èªã®ããã°ã©ã ãäœæããªãã§ãã ãããããªããäžäººã§ã¯ãªãå Žåã§ããå€ãã®æéãçµéããŸãã
åºæ¬çãªæŠå¿µ
ã¯ã¢ããã³ãã¿ãŒã¯ç°ãªããŸããããããã¯ãã¹ãŠ4ã€ã®ããŒã¿ãŒã«ãã£ãŠçµåãããŠããŸãã
èŠããã®å¯Ÿç§°æ§ã«ããããããããã€ãããã¯ã¯ã¢ããã³ãã¿ãŒãæ£é¢ã«ããå Žæãåºå¥ããããšãéåžžã«éèŠã§ãïŒç¢å°ã§è¡šç€ºïŒã ããã§ã¯ãã©ãžã³ã³ã«ãŒã¢ãã«ãšåæ§ã«ããforwardãã³ãã³ãã䜿çšãããšãã¯ã¢ããã³ãã¿ãŒã¯ãã€ããããèŠãŠããå Žæã§ã¯ãªããã¯ã¢ããã³ãã¿ãŒã®ä»®æ³éŒ»ãåããŠããå Žæãé£è¡ããŸãã ããã«ã¯å±éºã䌎ããŸãïŒåå¿è
ã颚ã«å·»ã蟌ãŸããäœããã®æ¹æ³ã§æšªã«å±éãããããã€ã¹ãåãæ»ãã®ã¯é£ããå ŽåããããŸãïŒãã¡ãããäžäººç§°èŠç¹ã§ã«ã¡ã©ãé£è¡ããããšããã³ã³ãã¹ãšGPSã䜿çšãããã¹ããŒãããã©ã€ãã¢ãŒãã«ã€ããŠã¯è©±ããŠããŸããïŒãåé¢ã®ããžãŸãã¯ç°ãªãè²ã®å
ç·ãåé¢ã®ããŒã«ãŸãã¯ãã«ãã«ã©ãŒLEDããã®åé¡ãéšåçã«è§£æ±ºããŸãã ããããããã©ãããæ¥éã«å°å¹³ç·äžã®ãã€ã³ãã«å€ãã£ãŠãããšããããã¯ãã¹ãŠåœ¹ã«ç«ããªãã
ç§ã¯ãXããšãã圢ã®ã¯ã¢ããã³ãã¿ãŒã®ãã¬ãŒã ã§é£è¡ããŸããç§ã¯ãããããå€éšçã«å¥œãã ããã§ãã åèšèšã«ã¯ãç¬èªã®å©ç¹ãšç®çããããŸãã ã¯ã¢ããã³ãã¿ãŒã«å ããŠãä»ã®ãã«ãã³ãã¿ãŒããããŸãã ããªãããšããŸããã¯ãªãªãã·ã§ã³ãæ°ããªããŠãããããã®ã¿ã€ãã¯ãã¹ãŠåãã§ã-ããããïŒ
ã¯ã¢ããã³ãã¿ãŒãå
éšã«ã©ã®ããã«é
眮ãããŠããããããã°ã©ã ããäºå®ã®ãã©ã€ãã³ã³ãããŒã©ãŒã§äœããã¹ãããææ¡ããŸãã
ããããããŒã«ãããã³ãšãŒè§
ïŒããããããŒã«ããšãŒïŒã¯ã空éå
ã®ã¯ã¢ããã³ãã¿ãŒã®æ¹åã決å®ããã³èšå®ããã®ã«æ
£ç¿çãªè§åºŠã§ãã
æã
ããè§åºŠããšããèšèãçç¥ããã圌ãã¯åã«ããããããŒã«ããšãŒãèšããŸãã ãããã
ãŠã£ãããã£ã¢ã«ãããš
ãããã¯å®å
šã«æ£ç¢ºã§ã¯ãããŸããã ããã3ã€ã®è§åºŠãå€æŽããããšã§ãå¿
èŠãªæ¹åã®ã¯ã¢ããã³ãã¿ãŒé£è¡ãå®çŸããŸãã ããšãã°ãåæ¹ã«é£è¡ããã«ã¯ãåŸæ¹ã®ã¢ãŒã¿ãŒãåæ¹ã®ã¢ãŒã¿ãŒããããããã«åŒ·ãå転ãããããã¯ã¢ããã³ãã¿ãŒã¯æ²ããå¿
èŠããããŸãã
ã¯ã¢ããã³ãã¿ãŒã¬ã¹ã¯ããã¹ãŠã®ã¢ãŒã¿ãŒã®å転é床éã®ç®è¡å¹³åã§ãã ã¬ã¹ãå€ãã»ã©ãã¢ãŒã¿ãŒã®ç·æšåã倧ãããªããã¯ã¢ããã³ãã¿ãŒã匷ããã©ãã°ããŸãïŒåæ¹ãžç§»å
ããªãã§ãã ãã!!!ããã§ã®ãåºãžã®æ»ãæ¢ããã¯ãæãéãäžæãæå³ããŸãïŒã éåžžãããŒã»ã³ããŒãžãšããŠæž¬å®ãããŸãïŒ0ïŒ
-ã¢ãŒã¿ãŒãåæ¢ãã100ïŒ
-æ倧é床ã§å転ããŸãã
空äžã¬ã¹ã¯ãã¯ã¢ããã³ãã¿ãŒã®é«åºŠã倱ãããªãããã«ããããã«å¿
èŠãªæå°ã¬ã¹ã¬ãã«ã§ãã
ã¬ã¹ãããããããŒã«ããšãŒ-ããã4ã€ã®ãã©ã¡ãŒã¿ãŒãå¶åŸ¡ã§ããå Žåãã¯ã¢ããã³ãã¿ãŒãå¶åŸ¡ã§ããŸãã å¶åŸ¡ãã£ãã«ãšãåŒã°ããŸãã 2ãã£ã³ãã«ã®ãªã¢ã³ã³ã賌å
¥ããå Žåãquadrocopterã«å¯ŸåŠã§ããŸããã 3ãã£ã³ãã«ã¯å°åããªã³ãã¿ãŒã«é©ããŠããŸããããŒã«å¶åŸ¡ãªãã§é£è¡ã§ããŸãããã¯ã¢ããã³ãã¿ãŒã§ã¯äŸ¿å©ã§ã¯ãããŸããã é£è¡ã¢ãŒããå€æŽãããå Žåã¯ã5ãã£ã³ãã«ã®ãªã¢ãŒãã«åå²ããå¿
èŠããããŸãã è¹äžã§ã«ã¡ã©ã®åŸããšå転ãå¶åŸ¡ããã-å°é家ã¯ããã«å¥ã®ãªã¢ãŒãã³ã³ãããŒã«ã䜿çšããŸãããå¥ã®ãã©ã¹2ãã£ã³ãã«ã
å€ãã®é£è¡ã¢ãŒãããããŸãã GPSãæ°å§èšãè·é¢èšã䜿çšããŸãã ããããåºæ¬çãªãã®-å®å®åã¢ãŒãïŒ
ã¹ã¿ããã¹ã¿ãã©ã€ãº ããã¹ã¿ããã§é£ã¶ïŒãå®è£
ããŸããã¯ã¢ããã³ãã¿ãŒã¯ãå€éšèŠå ã«é¢ä¿ãªãããªã¢ãŒãã³ã³ãããŒã«ããèšå®ãããè§åºŠãä¿æããŸãã ãã®ã¢ãŒãã§ã¯ã颚ããªãå Žåãã¯ã¢ããã³ãã¿ãŒã¯ã»ãŒæå®ã®äœçœ®ã«ã¶ãäžããããšãã§ããŸãã 颚ã¯ãã€ããããè£åããå¿
èŠããããŸãã
ããžã®å転æ¹åã¯ã©ã³ãã ã«éžæãããŠããŸããã ãã¹ãŠã®ã¢ãŒã¿ãŒãäžæ¹åã«å転ããå Žåãäœæãããã¢ãŒã¡ã³ãã«ãããã¯ã¢ããã³ãã¿ãŒã¯å察æ¹åã«å転ããŸãã ãããã£ãŠã察åããã¢ãŒã¿ãŒã®1ã€ã®ãã¢ã¯åžžã«1ã€ã®æ¹åã«å転ãããã1ã€ã®ãã¢ã¯ãã1ã€ã®æ¹åã«å転ããŸãã å転ã¢ãŒã¡ã³ãã®å€èŠ³ã®å¹æã¯ããšãŒè§ãå€æŽããããã«äœ¿çšãããŸãïŒã¢ãŒã¿ãŒã®1ã€ã®ãã¢ã¯ãããäžæ¹ãããå°ãéãå転ãå§ããä»ã§ã¯ã¯ã¢ããã³ãã¿ãŒããã£ãããšåããå€ããŸãïŒãªããŠæãããïŒïŒ
- LFW-å·Šåæèšåãã®å転ïŒå·Šåæèšåãã®å転ïŒ
- RFC-å³åã®åæèšåãã®å転ïŒå³åã®åæèšåãã®å転ïŒ
- LBC-å·Šåãã®åæèšåãã®å転ïŒåæèšåãã®å転ïŒ
- RBW-å³åŸæ¹ãžã®æèšåãã®å転ïŒå³åŸæ¹ãžã®æèšåãã®å転ïŒ
ã¢ãŒã¿ãŒã®å転é床ã¯ã
ãã©ã€ãã³ã³ãããŒã©ãŒïŒã³ã³ãããŒã©ãŒãè³ïŒã«ãã£ãŠå¶åŸ¡ãããŸãã éåžžãããã¯å€ãã®å
¥åãšåºåãåããå°ããªããŒããŸãã¯ããã¯ã¹ã§ãã ç°ãªãæ©èœã»ãããç°ãªããã¡ãŒã ãŠã§ã¢ãç°ãªãã¿ã¹ã¯ãæã€èšå€§ãªæ°ã®ç°ãªãã³ã³ãããŒã©ãŒããããŸãã ã»ãã®äžéšã次ã«ç€ºããŸãã
ãã©ã€ãã³ã³ãããŒã©ãŒã®äžè¬åãããã¿ã¹ã¯ã¯ãã»ã³ãµãŒèªã¿åãå€ã®èªã¿åããå¶åŸ¡ãã£ãã«ã®èªã¿åããæ
å ±ã®åŠçãã¢ãŒã¿ãŒãžã®å¶åŸ¡ä¿¡å·ã®çºè¡ãå«ãå¶åŸ¡ãµã€ã¯ã«ãå®è¡ããããã®1ç§ãããæ°ååã§ãã ãããç§ãã¡ãããã°ã©ã ããããšããŠããããšã§ãã
䜿çšã§ããã»ã³ãµãŒã«ã¯ããŸããŸãªçš®é¡ããããŸãã ãã¹ãŠã®ã¯ã¢ããã³ãã¿ãŒã§ã»ãŒå¿
é ãšãªã£ãŠãã
3軞ãžã£ã€ãã¹ã³ãŒããš3軞å é床èšã䜿çšããŸãã å é床èšã¯å é床ã枬å®ãããžã£ã€ãã¹ã³ãŒãã¯è§é床ã枬å®ããŸãã ãããã®ãããã§ããã©ã€ãã³ã³ãããŒã©ãŒã¯çŸåšã®ããããããŒã«ããšãŒè§ãèªèããŸãã ãããã®ã»ã³ãµãŒã¯ãã©ã€ãã³ã³ãããŒã©ãŒã«çµã¿èŸŒãŸããŠããŸãããå€éšã«ãããŸãã ã»ã³ãµãŒã®èªã¿åãå€ãã3ã€ã®è§åºŠãèšç®ããããã»ã¹ã¯ãå¥ã®èšäºã®ãããã¯ã§ãã ãã ããããã§ãããç¥ãå¿
èŠã¯ãããŸãããMPU-6050ããã¹ãŠãè¡ããŸãã ããã¯ãå¿
èŠãªèšç®ãšãã£ã«ã¿ãªã³ã°ãå
éšã§å®è¡ããi2cãããã³ã«ã䜿çšããŠã»ãŒæºåå®äºã®è§åºŠãçºè¡ããå°ããªããŒãã§ãã ããããèªã¿åããæ®ãã®ããŒã¿ã§åŠçããã¢ãŒã¿ãŒã«å¶åŸ¡ä¿¡å·ãçºè¡ããã ãã§ãã
ãã«ãã³ãã¿ãŒã¢ãŒã¿ãŒã¯å€§é»æµãæ¶è²»ããããããã©ã€ãã³ã³ãããŒã©ãŒã¯çŽæ¥é»æµãå¶åŸ¡ããã®ã§ã¯ãªãã
é床ã³ã³ãããŒã©ãŒïŒ ESC ãcontrolãescïŒãšåŒã°ããç¹å¥ãªããŒããŠã§ã¢ãã©ã€ããŒãä»ããŠå¶åŸ¡ããŸãã ãããã®ã¬ã®ã¥ã¬ãŒã¿ãŒã¯ãã¡ã€ã³ã®ãªã³ããŒãããããªãŒããé»åãäŸçµŠãããã³ã³ãããŒã©ãŒããå¶åŸ¡ä¿¡å·ãåä¿¡ããåºåã«ã¯ã¢ãŒã¿ãŒã«çŽæ¥ã€ãªãã3æ¬ã®ã¯ã€ã€ãŒïŒAãBãCïŒããããŸãïŒåã¢ãŒã¿ãŒã«ã¯ç¬èªã®ã¬ã®ã¥ã¬ãŒã¿ãŒããããŸãïŒïŒ
ã¬ã®ã¥ã¬ãŒã¿ãŒãšã¢ãŒã¿ãŒéã®éä¿¡ã®ããããã³ã«ãã¯ããã©ã€ãã³ã³ãããŒã©ãŒãšã¬ã®ã¥ã¬ãŒã¿ãŒéã®éä¿¡ã®ããããã³ã«ãã»ã©éèŠã§ã¯ãããŸãããã³ã³ãããŒã©ãŒããã¬ã®ã¥ã¬ãŒã¿ãŒãããã°ã©ã ã§å¶åŸ¡ããå¿
èŠãããããã§ãã i2cã«ãã£ãŠå¶åŸ¡ãããã¬ã®ã¥ã¬ãŒã¿ãŒããããŸãããæãäžè¬çãªã¬ã®ã¥ã¬ãŒã¿ãŒã¯ãæå°0ãã«ããæ倧3-5ãã«ãã®é·æ¹åœ¢ä¿¡å·ã«ãã£ãŠå¶åŸ¡ãããŸãïŒ
PWMãŸãã¯
PWMãšåŒã°ããããæ£ç¢ºã§ãããšäž»åŒµãã人ãããŸãã詳现ã¯ãããšãã°ã
ãã¡ã ïŒã
ããããã³ã«ã-倧声ã§èšãããŸãïŒã¢ãŒã¿ãŒã«æ倧é床ã§å転ããããã«åœä»€ããããã«ãã³ã³ãããŒã©ãŒã¯10ããªç§ãã20ããªç§ã®è«çãŒããšäº€äºã«2ããªç§ã®ãã«ã¹ãéä¿¡ããå¿
èŠããããŸãã 1ããªç§ã®ãã«ã¹æç¶æéã¯ãã¢ãŒã¿ãŒåæ¢ã1ââ.1 ms-æ倧é床ã®10ïŒ
ã1.2 ms-20ïŒ
ãªã©ã«å¯Ÿå¿ããŸãã å®éã«ã¯ããŒãã®æéã¯äœã®åœ¹å²ãæãããããã«ã¹èªäœã®æéã®ã¿ãéèŠã§ãã
æãããªåçŽãã®ããã«ãããã«ã¯åŸ
ã¡äŒãããããŸãããã©ã€ãã³ã³ãããŒã©ãŒã¯ç°ãªãèšå®ã§ç°ãªããã¬ã®ã¥ã¬ãŒã¿ãŒã¯ç°ãªããæå°ïŒ1 msïŒãšæ倧ïŒ2 msïŒã¯æ®éçã§ã¯ãããŸããã å€ãã®èŠå ã«å¿ããŠã1ã2ããªç§ã®ç¯å²ã¯å®éã«ã¯1.1ã1.9ããªç§ã§ãã ã¬ã®ã¥ã¬ãŒã¿ãŒãšã³ã³ãããŒã©ãŒããŸã£ããåãèšèªã話ãããã«ãã¬ã®ã¥ã¬ãŒã¿ãŒã調æŽããæé ããããŸãã ãã®æé ã®éãã¬ã®ã¥ã¬ãŒã¿ãŒã®ç¯å²ã¯å€åããã³ã³ãããŒã©ãŒã®ç¯å²ãšçãããªããŸãã æé ã¯åã³ã³ãããŒã©ãŒã®ããã°ã©ã ã«çž«ãä»ããããŠãããããã€ãã®ç°¡åãªæé ãå«ãŸããŠããŸãïŒæé ã¯ã¡ãŒã«ãŒã«ãã£ãŠç°ãªãå ŽåããããŸã-説ææžããèªã¿ãã ããïŒïŒã
- ã¬ã®ã¥ã¬ãŒã¿ãŒã®é»æºãåããŸãã
- ã¢ãŒã¿ãŒãããããã©ãåãå€ããŸãã
- æ倧å転é床ã«å¯Ÿå¿ããä¿¡å·ãã³ã³ãããŒã©ãŒã®å
¥åã«é©çšããŸãã
- ã¬ã®ã¥ã¬ãŒã¿ãŒã«é»åãäŸçµŠããŸãã ãã®å Žåãã¢ãŒã¿ãŒã¯æ¯æŽãªãã§åããªããŸãŸã§ãªããã°ãªããŸããã
- 1ã2ç§éäžæåæ¢ããç¹åŸŽçãªããã¿é³ãåŸ
ã¡ãŸãã
- æäœå転é床ã«å¯Ÿå¿ããä¿¡å·ãã³ã³ãããŒã©ãŒã®å
¥åã«å ããŸãã
- 1ã2ç§éäžæåæ¢ããç¹åŸŽçãªããã¿é³ãåŸ
ã¡ãŸãã
- ã¬ã®ã¥ã¬ãŒã¿ãŒã®é»æºãåããŸãã
ãã®åŸã察å¿ããééã®å¢çãã³ã³ãããŒã©ãŒã«å
¥åãããŸãã ãã£ãªãã¬ãŒã·ã§ã³ãããŠããªãã³ã³ãããŒã©ãŒã§é¢éžããããšãããšãäºæããªãçµæã«ãªãããšããããŸããã¯ã¢ããã³ãã¿ãŒã®çªç¶ã®æ¥ãªåãããæãè¿ãããªãŒãžã®ç§»åãããããã¬ã¹å€ã§ã®ã¢ãŒã¿ãŒã®å®å
šãªäžåã
PWMã¯ããŸã£ããåãåç
ã§ãªã³ããŒãã¬ã·ãŒããŒã䜿çšããŸãã ããã¯ãå°äžããç¡ç·å¶åŸ¡ä¿¡å·ãåä¿¡ããŠââãã©ã€ãã³ã³ãããŒã©ãŒã«éä¿¡ããå°ããªããã€ã¹ã§ãã ã»ãšãã©ã®å Žåãåå¶åŸ¡ãã£ãã«ïŒã¬ã¹ãããããããŒã«ãªã©ïŒã®ãã©ã€ãã³ã³ãããŒã©ãŒã«ã¯ãPWMãå°çããç¬èªã®å
¥åããããŸãã çžäºäœçšããžãã¯ã¯åçŽã§ããããšãã°ãã70ïŒ
ã¬ã¹ããªã©ã®ã³ãã³ãã¯ãå°äžããåä¿¡æ©ã«é£ç¶çã«éãããããã§PWMã«å€æãããå¥ã®ã¯ã€ã€ãä»ããŠãã©ã€ãã³ã³ãããŒã©ãŒã«äŸçµŠãããŸãã ããããããŒã«ããšãŒã§ãåæ§ã§ãã
ã¬ã·ãŒããŒãšã³ã³ãããŒã©ãŒã®éã«ã¯å奜çãªPWMé¢ä¿ãããããããããããã£ãªãã¬ãŒã·ã§ã³ããå¿
èŠããããŸããã¬ã·ãŒããŒãåãããªã¢ã³ã³ã¯ãåäœç¯å²ã«ãã£ãŠç°ãªããŸãã ã³ã³ãããŒã©ãŒã¯é©å¿ã§ããå¿
èŠããããŸãã
ã©ãžãªã®ãã£ãªãã¬ãŒã·ã§ã³æé ã¯ãèŠå¶åœå±ã®ãã£ãªãã¬ãŒã·ã§ã³ãšã¯å¯Ÿç
§çã«ããã©ã€ãããã°ã©ã ã®äžéšãšããŠèªåã§äœæããå¿
èŠããããŸãã äžè¬çãªãã£ãªãã¬ãŒã·ã§ã³èšç»ã¯æ¬¡ã®ãšããã§ãã
- 念ã®ãããã¢ãŒã¿ãŒãããããã©ãåãå€ããŠãã ããã
- äœããã®æ¹æ³ã§ãã³ã³ãããŒã©ãŒãç¡ç·æ ¡æ£ã¢ãŒãã«ããŸãã
- ã³ã³ãããŒã©ã¯æ°åç§éç¡ç·ã®ãã£ãªãã¬ãŒã·ã§ã³ãéå§ããŸãã
- å²ãåœãŠãããæéãã³ã³ãœãŒã«ã®ãã¹ãŠã®ã¹ãã£ãã¯ãåæ¢ãããã¹ãŠã®æ¹åã«åãããŸãã
- ã³ã³ãããŒã©ã¯ãäœäžçŽã«ãããã£ãŠå
éšã¡ã¢ãªå
ã®ãã¹ãŠã®å¶åŸ¡ãã£ãã«ã®é«äœãèšæ¶ããŠããŸãã
ãã®ãããç¡ç·ã®ãã£ãªãã¬ãŒã·ã§ã³äžããã©ã€ãã³ã³ãããŒã©ãŒã¯ãã¹ãŠã®å¶åŸ¡ãã£ãã«ã®åä¿¡æ©ã®ç¯å²ãèšæ¶ããŸãã ã³ã³ãããŒã©ãŒã®ãã£ãªãã¬ãŒã·ã§ã³äžã«ããã©ã€ãã³ã³ãããŒã©ãŒã®ç¯å²ããã¹ãŠã®ã³ã³ãããŒã©ãŒã«å
¥åãããŸãã
ãã©ã€ãã³ã³ãããŒã©ãŒçšã®ããã°ã©ã ã«å ããŠãå¥ã®ããã°ã©ã ãå¿
èŠã§ãïŒ
ãã©ã€ãã³ã³ãããŒã©ãŒæ§æã€ã³ã¿ãŒãã§ã€ã¹ã§ãã ã»ãšãã©ã®å ŽåãUSBãä»ããŠãã©ã€ãã³ã³ãããŒã©ãŒã«æ¥ç¶ãããŠãŒã¶ãŒããã©ã€ãããã°ã©ã ãæ§æããã³ç¢ºèªã§ããããã«ããPCããã°ã©ã ã§ããããšãã°ãç¡ç·ã®ãã£ãªãã¬ãŒã·ã§ã³ãéå§ããå®å®åãã©ã¡ãŒã¿ãŒã調æŽããã»ã³ãµãŒã®åäœã確èªãããããäžã®ãã©ã€ãã«ãŒããèšå®ããä¿¡å·ã倱ããããšãã®ãã«ãã³ãã¿ãŒã®åäœã決å®ããŸããªã©ãªã©ã ã³ã³ãœãŒã«ãŠãŒãã£ãªãã£ãšããŠC ++ããã³Qtã§ã«ã¹ã¿ãã€ãºã€ã³ã¿ãŒãã§ã€ã¹ãèšè¿°ããŸãã æªæ¥ãèŠããšããã«ãããŸãïŒ
誰ãå¶ç¶ããå®å
šã§ã¯ãããŸããã å°åã¢ãŒã¿ãŒã®10ã€ã³ããã©ã¹ããã¯ããžã§ãããç®èã«è¡ã®ãããæ®ãå¯èœæ§ãããããããããã«1é±éå·ã€ãå¯èœæ§ããããŸãïŒå人çã«æ€èšŒæžã¿ïŒã ã¯ã¢ããã³ãã¿ãŒãæã¡éãã§ãããšãã«ãªã¢ã³ã³ã«ã¬ã¹ã¹ãã£ãã¯ãåŒã£æãããšãæ°ããã¡ã€ã¯ã¢ããããã¢ã¹ã¿ã€ã«ãäœãããšãåºæ¬ã«ãªããŸãã ãããã£ãŠããã©ã€ãã³ã³ãããŒã©ãŒã¯ãå°ãªããšãããçšåºŠã®ã»ãã¥ãªãã£ïŒ
æŠè£
/æŠè£
解é€ã¡ã«ããºã ïŒãæäŸããå¿
èŠããããŸãã ã¯ã¯ããã³ãã¿ãŒã®ãæŠè£
解é€ãç¶æ
ã¯ãã¢ãŒã¿ãŒããªãã«ãªãããªã¢ãŒãã³ã³ãããŒã«ããã®ãã«ã¹ãããã«ã³ãã³ãã§ããé»åã¯äŸçµŠãããŸããå¹æããªãããšãæå³ããŸãã ã¯ã¢ããã³ãã¿ãŒã®ãæŠè£
ãç¶æ
ã¯ããªã¢ãŒãã³ã³ãããŒã«ã³ãã³ãããã©ã€ãã³ã³ãããŒã©ãŒã«ãã£ãŠå®è¡ãããããšãæå³ããŸãã ãã®ç¶æ
ã§ã¯ãã¯ã¢ããã³ãã¿ãŒãé¢éžãé£è¡ãçéžããŸãã ã¯ã¢ããã³ãã¿ãŒããªã³ã«ãªãããªã¢ãŒãã³ã³ãããŒã«ã®ã¹ãããã«ã¹ãã£ãã¯ããŒãã«ãªã£ãŠããªããšãã«äžæ³šæãªãã€ãããããªã³ã«ããå ŽåãçŽã¡ã«æŠè£
解é€ç¶æ
ã«ãªããŸãã ããªã³ãã¿ãŒããæŠè£
ãç¶æ
ã«ããããã«ã¯ããã€ãããã¯ãªã¢ã³ã³ã®ã¹ãã£ãã¯ã䜿ã£ãŠäœããã®çš®é¡ã®æå®ã®ãžã§ã¹ãã£ãŒãè¡ãå¿
èŠããããŸãã å€ãã®å Žåããã®ãžã§ã¹ãã£ãŒã¯ãå³äžé
ã«å·Šã¹ãã£ãã¯ãä¿æããããšã§ãïŒã¬ã¹= 0ïŒ
ããšãŒ= 100ïŒ
ïŒã ãã®åŸããã©ã€ãã³ã³ãããŒã©ãŒã¯å°ãªããšãæå°éã®èªå·±
蚺æãè¡ããæ£åžžã«åæ Œããå Žåã¯ã
ã¢ãŒã ãïŒé£è¡æºåå®äºïŒïŒ
ãå¥ã®ãžã§ã¹ãã£ãŒïŒã¬ã¹= 0ïŒ
ããšãŒ= 0ïŒ
ïŒãã¯ã¢ããã³ãã¿ãŒãã
æŠè£
è§£é€ ãããŸãã ãã1ã€ã®åªããå®å
šå¯Ÿçã¯ãã¬ã¹ã2ã3ç§éãŒãã«ãªã£ãå Žåã®
èªåè»çž®ã§ãã
ã¢ãŒã¿ãŒãããããªãŒãã¬ã®ã¥ã¬ãŒã¿ãŒããããã©ã«ã€ããŠãã«ãã³ãã¿ãŒçšã®ã¢ã¯ã»ãµãªã®éžæã¯ãäžé£ã®èšäºå
šäœã®ãããã¯ã§ãã æåã®ã¯ã¢ããã³ãã¿ãŒãäœæããå Žå-å¿
èŠãªãã®ãå®åŒåããããã©ã³ã®ãã®ã®ãã³ãã䜿çšããããä»ã®èª°ããäœæããŠæ£åžžã«é£è¡ããã³ã³ããŒãã³ãã®ãªã¹ããååŸããŸãã
ããã§ããäžè¬çãªç解ã®ããã«ãäž»èŠãªãã€ã³ããç¥ãããšã¯æçšã§ãã
ããããªãŒ
ãã«ãããŒã¿ãŒã·ã¹ãã ã®ã¢ããã¥ã¢ããã³å°é家ã®éã§ã¯ããªã³ããŒããšã¬ã¯ãããã¯ã¹ããã³ã¢ãŒã¿ãŒã®äž»ãªé»æºãšããŠããªããŠã ããªããŒããããªãŒãæãäžè¬çã§ãã ãããã¯ãéé»å®¹éãé»å§ãæ倧é»æµåºåã«ãã£ãŠåºå¥ãããŸãã éåžžã容éã¯ã¢ã³ãã¢æãŸãã¯ããªã¢ã³ãã¢æã§æž¬å®ãããŸãã é»å§ã¯ãããããªãŒã®ã猶ãã®æ°ã§æž¬å®ãããŸãã 1ã€ã®ããã³ã¯ã-å¹³å3.7ãã«ãã å®å
šã«å
é»ãããã猶ãã¯4.2ãã«ãã§ãã 猶ã®æ°ã3ã6ã®æãäžè¬çãªããããªãŒã æ倧é»æµåºåã¯ã¢ã³ãã¢ã§æž¬å®ãããããšãã°æ¬¡ã®ããã«ããŒã¯ãããŸãïŒ25Cã C-ããããªãŒå®¹éã25-ä¹æ°ã 容éã5ã¢ã³ãã¢ã®å Žåããã®ãããªããããªãŒã¯25 * 5 = 125ã¢ã³ãã¢ã«ãªããŸãã ãã¡ãããçŸåšã®åºåãã©ã¡ãŒã¿ãŒã¯äœè£ãæã£ãŠååŸããæ¹ãè¯ãã§ãããåºæ¬çã«ã¯ãããã倧ããã»ã©ãããããªãŒã¯é«äŸ¡ã«ãªããŸãã ã©ãã«ã®äŸïŒ25C 3S 4500mahã
åãžã£ãŒã¯åå¥ã®ããããªãŒã§ãã ãããã¯ãã¹ãŠçŽåã«ã¯ãã ä»ããããŠããŸãã ãã¹ãŠã®ãã³ã¯ãåçã«å
é»ããããã«ãåãã³ã¯ã«ã¢ã¯ã»ã¹ã§ãããã©ã³ã¹ã³ãã¯ã¿ãåå¥ã«æäŸãããç¹å¥ãªå
é»åšã䜿çšãããŸãã
ã¢ãŒã¿ãŒããããã©ãã¬ã®ã¥ã¬ãŒã¿ãŒ
ãã©ã·ã¬ã¹ã¢ãŒã¿ãŒã®äž»ãªãã©ã¡ãŒã¿ãŒã¯kvã§ãã ããã¯ãäŸçµŠé»å§ã®åãã«ãã«å¯Ÿãã1åãããã®å転æ°ã§ãã 300ã1100ã®kvã®ã¢ãŒã¿ãŒãæãäžè¬çã§ããéåžžã1000ã«è¿ãKvã¯ãå°åã®ã¯ã¢ããã³ãã¿ãŒïŒ1ã2ããã°ã©ã +ãã€ããŒã500ã°ã©ã ïŒã«éžæãããçŽåŸ12ã€ã³ããŸã§ã®ãã©ã¹ããã¯ãããã©ã眮ãããŸãã 倧åãã«ãã³ãã¿ãŒïŒè¯å¥œã§ééã®ããåçãããªæ©åšãäžããããïŒãŸãã¯é·æé£è¡ïŒé£è¡æéã®èšé²ïŒã®å Žåãã¢ãŒã¿ãŒã¯éåžžãäœkvïŒ300-500ïŒãšå·šå€§ãªã«ãŒãã³ãããã©ïŒçŽåŸ15-20ã€ã³ãïŒãæã£ãŠããŸãã Kvã¯ã¢ãŒã¿ãŒã®å¯äžã®éèŠãªãã©ã¡ãŒã¿ãŒã§ã¯ãããŸãããå€ãã®å Žåãã¢ãŒã¿ãŒã®åºåãšé§ååãå°å é»å§ãšåãä»ããããŠãããããã©ã®ã¿ã€ãã«äŸåããããšã瀺ãè¡šå
šäœãèŠã€ããããšãã§ããŸãã ããã«ãåã¢ãŒã¿ãŒã¯ãç¬èªã®é»å§ç¯å²ïŒããããªãŒçŒ¶ã®æ°ïŒããã³ç¬èªã®æ倧é»æµçšã«èšèšãããŠããŸãã ã¡ãŒã«ãŒã3-4SãæžããŠããå Žåã5SããããªãŒãšäžç·ã«äœ¿çšããªãã§ãã ããã åãããšãèŠå¶åœå±ã«ãåœãŠã¯ãŸããŸãã
ã¢ãŒã¿ãŒãæ倧30Aã®é»æµçšã«èšèšãããŠããå Žåãéç±ãé²ãããã«ã¬ã®ã¥ã¬ãŒã¿ãŒã¯æ倧30 + 10Aã®é»æµãã«ãŠã³ãããå¿
èŠããããŸãã äžååãŸãã¯äžé©åãªèŠå¶åœå±ã¯ããããããã¿ã€ãã³ã°åæ¢ããšã¢ãŒã¿ãŒã®é£è¡ãåæ¢ãããå¯èœæ§ããããããªãã¯å¥ã®ãã«ãããŒã¿ãŒçšèªã ææãæãŸãã ããèªèããã§ãããã ãã1ã€ã®éèŠãªãã€ã³ãã¯ãã¯ã€ã€ã®å€ªããšå質ã§ãã ã¯ã€ã€ã®æé¢ç©ãæ£ããèšç®ãããŠããªãã£ãããã³ãã¯ã¿ã®å質ãæªããšã空äžã§ç«çœãçºçããããšããããŸãã
ã芧ã®ãšããã埮åŠãªéãããããããããŸãã ååããªã¹ãããŠããªãã£ãã®ã§ãæåã®ãã«ãã³ãã¿ãŒã®ã³ã³ããŒãã³ããèªåã§éžæããããšã¯éåžžã«å°é£ã§ãã æ°åŠå®å®åãPIDã³ã³ãããŒã©ãŒïŒPIDïŒ
ãã«ãã³ãã¿ãŒãæ±ãå Žåã¯ãé
ããæ©ãããPIDã³ã³ãããŒã©ãŒã®èª¿æŽã«å¯ŸåŠããå¿
èŠããããŸããããã¯ããã®æ°åŠçãªè£
眮ãã»ãŒãã¹ãŠã®å®å®åã¿ã¹ã¯ã§äœ¿çšãããããã§ãïŒç©ºäžã®ã¯ã¢ããã³ãã¿ãŒè§åºŠã®å®å®åãé£è¡ããã³GPSäœçœ®ä¿æãæ°å§èšé«åºŠä¿æããã©ã·ã¬ã¹æ©æ§é£è¡äžã®ãããªã«ã¡ã©ãå®å®ãããŸãïŒã«ã¡ã©ã®ãµã¹ãã³ã·ã§ã³ïŒã
ã«ã¡ã©ã®2軞ãžã³ãã«ãååŸããŸããããšãã°ãGoProãå
¥ããŠé»æºãå
¥ãããšãå®å®åã®ä»£ããã«çæ£ãæ¯åãçæ£ãçºçããŸããããã¹ãŠã®ã»ã³ãµãŒãèŒæ£ãããæ©æ¢°çãªåé¡ã¯è§£æ¶ãããŸãã ãã®çç±ã¯ãPIDã³ã³ãããŒã©ãŒã®ãã©ã¡ãŒã¿ãŒãæ£ãããªãããã§ãã
ããªãã¯ãã«ãã³ãã¿ãŒãéããã»ã³ãµãŒãã¬ã®ã¥ã¬ãŒã¿ãŒãã©ãžãªãèŒæ£ãããã¹ãŠããã§ãã¯ããé¢éžããããšããŸãã ãŸãã¯ãã®éïŒããã¯éåžžã«éå©ã§ãããããçªç¶èš±å¯ãããã«äžéã®å®è¿ããå£ããããããŸãã çç±ã¯åãã§ãïŒPIDã³ã³ãããŒã©ãŒã®ãã©ã¡ãŒã¿ãŒã
PIDã³ã³ãããŒã©ãŒã䜿çšããå€ãã®ããã€ã¹ã«ã¯ããŠãŒã¶ãŒèªèº«ããã®å€æ°ã®ãããªæ瀺ã«å ããŠãã»ããã¢ããã®æ瀺ããŸãã¯ããã€ãã®æ瀺ãããããŸãã ãããããã®å€æ§æ§ãç°¡åã«ããã²ãŒãããã«ã¯ããããã®ã¬ã®ã¥ã¬ãŒã¿ãŒãå
éšã«ã©ã®ããã«é
眮ãããŠããããç解ããããšã圹ç«ã¡ãŸãã ããã«ãç¬èªã®ã¯ã¢ããã³ãã¿ãŒå®å®åã·ã¹ãã ãäœæããŸãïŒ PIDã³ã³ãããŒã©ãŒã®å
Œ΋
ç解ãã
ããã«ãæ¹ããŠ
ãæã§ãåçºæããããšãææ¡ããŸãã ãã©ã€ãªæ°åŠèšèªããã£ãšå¥œããªäººã«ã¯ã
è±èªã®èšäº Wikipediaããå§ãããŸãã
ãã·ã¢èªã§ã¯ãè³æã¯ãŸã ããã»ã©è©³ãããããŸããã
Quadrocopterã2次å
空éã§æ€èšããŸãããã®å Žåã1ã€ã®è§åºŠïŒãããšã®è§åºŠïŒãš2ã€ã®ã¢ãŒã¿ãŒïŒå·Šå³ïŒãããããŸããã
ãã©ã€ãã³ã³ãããŒã©ãŒã¯ãå°äžããã³ãã³ããç¶ç¶çã«åä¿¡ããŸããã30床ã®ããŒã«ããã-10床ã®ããŒã«ããã0床ã®ããŒã«ïŒå°å¹³ç·ãç¶æïŒãã ãã®ã¿ã¹ã¯ã¯ã颚ãã¯ã¢ããã³ãã¿ãŒã®ééã®äžåäžãªååžãã¢ãŒã¿ãŒã®äžåäžãªæ©èãã¯ã¢ããã³ãã¿ãŒã®æ
£æ§ãªã©ãèæ
®ããŠãã¢ãŒã¿ãŒã®å©ããåããŠå¯èœãªéãè¿
éãã€æ£ç¢ºã«ããããå®è¡ããããšã§ã ãããã£ãŠããã©ã€ãã³ã³ãããŒã©ãŒã¯ãmotorè§ã®çŸåšã®å€ãšå¿
èŠãªå€ãèæ
®ããŠãåã¢ãŒã¿ãŒã«é©çšããå転é床ã®åé¡ãç¶ç¶çã«è§£æ±ºããå¿
èŠããããŸãã
ç¶ç¶çã«-ãã¡ãããããã¯å€§å£°ã§èšãããŸããããã¯ãã¹ãŠãç¹å®ã®ããŒããŠã§ã¢ã®ã³ã³ãã¥ãŒãã£ã³ã°æ©èœã«äŸåããŸããAdruinoã§ã¯ãåŠçããã³å¶åŸ¡ãµã€ã¯ã«ã®1ã€ã®å埩ã10ããªç§ã«åããããšãã§ããŸããã€ãŸãã10ããªç§ããšã«ãã¯ã¢ããã³ãã¿ãŒã®è§åºŠã®èªã¿åãå€ãèªã¿åãããããã«åºã¥ããŠå¶åŸ¡ä¿¡å·ãã¢ãŒã¿ãŒã«éä¿¡ãããŸãããã®10ããªç§ã¯èŠå¶æéãšåŒã°ããŸããå°ããã»ã©ãããé »ç¹ã«ãããæ£ç¢ºã«èŠå¶ãè¡ãããããšã¯æããã§ããã¬ã¹ã¬ãã«ã¯ãã¬ã·ãŒããŒããã³ã³ãããŒã©ãŒã«æµããŸããèãã㊠ã
ããã¯ããã¹ãŠã®ã¢ãŒã¿ãŒã®å転é床éã®ç®è¡å¹³åã§ãããæ倧å転é床ã®å²åãšããŠè¡šãããããšãæãåºãããŠãã ããã ãã
ãããŠ
-次ã«ãå·Šå³ã®ã¢ãŒã¿ãŒã®å転é床ïŒã©ãã§
-ã¯ã¢ããã³ãã¿ãŒã®åäœçšïŒåïŒãããã¯ãå·Šã®ã¢ãŒã¿ãŒãã¬ã¹ãããéãå転ããå³ã®ã¢ãŒã¿ãŒãåããããé
ããšããäºå®ã«ããå転ã®ç¬éãäœãåºããŸããè² ã®å€ãåãããšãã§ããé©åãªã¢ãŒã¿ãŒãããéãå転ããŸããåŠçãµã€ã¯ã«ã®åå埩ã§ãã®å€ãèšç®ããããšãåŠã¹ã°ãquadrocopterãå¶åŸ¡ã§ããŸããå°ãªããšããçŸåšã®ããŒã«ã®è§åºŠïŒïŒãšãã³ã³ãããŒã«ããã«ããã®åžæã®ããŒã«ã®è§åºŠïŒïŒã«äŸåããå¿
èŠãããããšã¯æããã§ããç¶æ³ãæ³åããŠãã ããïŒã³ãã³ããå°å¹³ç·ãä¿æãïŒ= 0ïŒãåä¿¡ãããã¯ã¢ããã³ãã¿ãŒã¯å·Šã«ããŒã«ããŸãïŒ-éã®å·®ïŒãšã©ãŒïŒ ãããŠ
ã³ã³ãããŒã©ãŒãæå°åããããšããŸããåžæããããŒã«è§ãšçŸåšã®ããŒã«è§ã®å·®ã倧ããã»ã©ãåå¿ã匷ããªããå·Šã®ã¢ãŒã¿ãŒãå³ã«æ¯ã¹ãŠéãå転ããŸãããããè¡šèšã䜿çšããŠèšè¿°ãããŠããå ŽåïŒããã§ãPã¯æ¯äŸä¿æ°ã§ããããã倧ããã»ã©ãåå¿ã匷ããªããã¯ã¢ããã³ãã¿ãŒã¯å¿
èŠãªããŒã«ã®è§åºŠããã®éžè±ã«éãåå¿ããŸãããã®çŽæçã§ã·ã³ãã«ãªåŒã¯ãæ¯äŸã³ã³ãããŒã©ã®æäœã説æããŠããŸããæ¬è³ªã¯åºæ¬çãªãã®ã§ããã¯ã¢ããã³ãã¿ãŒãæãŸããäœçœ®ãã倧ããå€ããŠããã»ã©ããããæ»ãããšããå¿
èŠã匷ããªããŸããæ®å¿µãªããããã®åŒã¯è€éã§ãªããã°ãªããŸãããäž»ãªçç±ã¯ãªãŒããŒã·ã¥ãŒãã§ããæ°åããªç§ïŒåŠçãµã€ã¯ã«ã®æ°åã®å埩ïŒä»¥å
ã«ãæ¯äŸã³ã³ãããŒã©ãŒã®åœ±é¿äžã§ãã¯ã¢ããã³ãã¿ãŒã¯å¿
èŠãªïŒãã®å Žåã¯æ°Žå¹³ïŒäœçœ®ã«æ»ããŸãããã®éãã£ãšããšã©ãŒãšåŽåã®ç¬Šå·ã¯åãã«ãªããŸããã絶察å€ã¯ãŸããŸãå°ãããªããŸããããçš®ã®å転é床ïŒè§é床ïŒãå
¥åãããšãã¯ã¢ããã³ãã¿ãŒã¯åçŽã«å察åŽã«èœã¡ãŸããããã¯èª°ãå¿
èŠãªäœçœ®ã§åæ¢ããªãããã§ããåžžã«æåã®äœçœ®ã«æ»ãããšãããããšåãã§ãããåŒãæ»ãããŠè§£æŸããããšãæ©æŠãåŒãç¶ããŸã§å€åããŸãããã¡ãããæ©æŠã¯ã¯ã¢ããã³ãã¿ãŒã«ãäœçšããŸãããå®éã«ã¯ååã§ã¯ãªãããšã瀺ãããŠããŸãããã®ãããæ¯äŸã¬ã®ã¥ã¬ãŒã¿ã«ãã1ã€ã®çšèªãè¿œå ããå¿
èŠããããŸããããã«ãããã¯ã¢ããã³ãã¿ãŒã®å転ãé
ããªãããªãŒããŒã·ã¥ãŒãïŒå察æ¹åãžã®è»¢åïŒãé²æ¢ãããŸããåççãªå¶éãå転é床ïŒãšã©ãŒã®å€åçïŒã¯ã§è¡šãããŸããããã§ãDã¯èª¿æŽå¯èœãªä¿æ°ã§ãã倧ãããªãã»ã©ãåæ¢åã匷ããªããŸããæŒ ç¶ãšããèšæ¶ã¯ãç©çåŠã®ææ¥ã§ãå€ã®å€åçã¯æéã«å¯Ÿãããã®å€ã®å°é¢æ°ã§ãããšããããšã瀺ããŠããŸãã ã
ãããŠãããã§æ¯äŸã¬ã®ã¥ã¬ãŒã¿ãŒã¯æ¯äŸåŸ®åïŒæ¯äŸé
ãšåŸ®åïŒã«å€ãããŸãã ã
ãšã©ãŒã¯èšç®ãç°¡åã§ãããªããªããåå埩ã§ããã£ãŠããããã§ãã ãããŠ
;
Pããã³Dã¯ãéå§åã®æ§æå¯èœãªãã©ã¡ãŒã¿ãŒã§ããå°é¢æ°ïŒå€åçïŒãèšç®ããã«ã¯ãåã®å€ãä¿åããçŸåšã®å€ãç¥ãã枬å®éã§çµéããæéïŒèŠå¶æéïŒãç¥ãå¿
èŠããããŸãããããŠã圌女ã¯ããã«ããŸã-åŠæ ¡ã®6幎çã®ç©çåŠïŒé床=è·é¢/æéïŒïŒ ã
-èŠå¶æé; -èŠå¶ãµã€ã¯ã«ã®ååã®å埩ããã®ãšã©ãŒå€ããšããã§ããã®åŒã¯æ°å€åŸ®åã®æãç°¡åãªæ¹æ³ã§ãããããã§ç§ãã¡ã«éåžžã«é©ããŠããŸãããã©ãããªããã€ã³ãã¿ãŒãã«æ¯äŸåŸ®åã³ã³ãããŒã©ãŒããããŸããããã1ã€ã®åé¡ãæ®ã£ãŠããŸãã巊端ã®ééãå³ç«¯ããããããã«å€§ããããããåãããšã§ãããå·Šã®ã¢ãŒã¿ãŒã®åäœã¯å³ããããããã«æªããªããŸããã¯ã¯ããã³ãã¿ãŒã¯å°ãå·Šã«åŸããŠãããå
ã«æ»ããŸããïŒåŸ®åé
ã¯ãŒãã«çãããæ¯äŸé
ã¯æ£ã®å€ãåããŸãããã¯ã¯ããã³ãã¿ãŒãæ°Žå¹³äœçœ®ã«æ»ãã ãã§ã¯ååã§ã¯ãããŸããããã®çµæãã¯ã¢ããã³ãã¿ãŒã¯åžžã«å·Šã«åŒã£åŒµããŸãããã®ãããªéžè±ã远跡ããŠä¿®æ£ããã«ã¯ãã¡ã«ããºã ãå¿
èŠã§ãããã®ãããªãšã©ãŒã®ç¹åŸŽã¯ãæéã®çµéãšãšãã«çŸããããšã§ããäžå¯æ¬ ãªçšèªãå©ãã«ãªããŸããåŠçãµã€ã¯ã«ã®ãã¹ãŠã®å埩ã®ãã¹ãŠã®ãšã©ãŒã®åèšãä¿åããŸããããã¯ã©ã®ããã«åœ¹ç«ã¡ãŸããïŒæ¯äŸé
ãå°ããªèª€å·®ãä¿®æ£ããã®ã«ååã§ã¯ãªããããŸã æ®ã£ãŠããå Žå-åŸã
ã«ãæéãšãšãã«ç©åé
ã匷床ãç²åŸããåå¿ãå¢å ããã¯ã¢ããã³ãã¿ãŒãå¿
èŠãªããŒã«è§ãåããŸãããã¥ã¢ã³ã¹ããããŸããä»®ã«1床ã調æŽãµã€ã¯ã«ã«çãã-0.1ç§ããã®åŸã1ç§ã§ããšã©ãŒã®åèšã¯10床ã®å€ã«ãªããŸããåŠçãµã€ã¯ã«ã0.01ç§ã®å Žåãéã¯100床ãå¢å ããŸãããã®ãããåãæéã«ç©åé
ãç°ãªãèŠå¶æéã§åãå€ãåŸããããçµæã®éã«èŠå¶æéèªäœãä¹ç®ãããŸããã©ã¡ãã®å Žåã§ããçµæã¯1床ã®éã§ãããšèšç®ããã®ã¯ç°¡åã§ããããã«ãããŸã-ç©åé
ïŒãããŸã§ã®ãšãããã«ã¹ã¿ã ä¿æ°ãªãïŒïŒ ã
ãã®åŒã¯ããŒãããçŸåšã®ç¬éãŸã§ã®åºéã®é¢æ°ã®æéç©åã«ãããŸããããããçšèªãç©åãšåŒã°ããçç±ã§ãïŒ ã
ããã§ãTã¯çŸåšã®æå»ã§ããæ¯äŸç©å埮åã³ã³ãããŒã©ã®æçµåŒãæžãæãæ¥ãŸããïŒ ã
ã©ãã§
-ã«ã¹ã¿ãã€ãºå¯èœãªãã©ã¡ãŒã¿ãŒã®1ã€ããã®ãã¡3ã€ããããŸãã ã
ãã®åŒã¯ããã°ã©ã ã³ãŒããã䜿çšãããšäŸ¿å©ã§ãããæç§æžã«èšèŒãããŠããåŒã¯æ¬¡ã®ãšããã§ãã ã
ããã«ã¯ããã€ãã®ããªãšãŒã·ã§ã³ããããŸããããšãã°ãç©åé
ã®ã¢ãžã¥ãŒã«ãå¶éããŠãç¹å®ã®èš±å®¹ãããå€ãè¶
ããªãããã«ããããšãã§ããŸãïŒãã®ããã«ããŸãïŒãç·Žç¿ãã
ããŠãä»ã¯ä¿æ°ãéžæããç·Žç¿ã®æéã§ããèªè
ã¯ãä»®æ³ã®quadrocopterã䜿çšããJavaScriptããŒãžã«æåŸ
ãããŠããŸããããã¯ããã§ã«åçã§èŠããšããã§ããquadrocopterã®PIDã³ã³ãããŒã©ãŒãã©ã¡ãŒã¿ãŒã®éžæïŒJSFiddleïŒæåã®éå§æã«ããªãŒããŒã·ã¥ãŒããããã«è¡šç€ºãããŸã-ç®çã®äœçœ®ã®åšãã®å€åãæ¯åãåæ¢ãããšããé察称ãã¯ã¢ããã³ãã¿ãŒïŒãé察称ãã®ç®çãã§èšå®ïŒã«ããæ¯äŸä¿æ°ããšã©ãŒã«å¯ŸåŠã§ããªããšããå¹æã芳å¯ã§ããŸãããã©ã¡ãŒã¿ãŒPãIãDããã¥ãŒãã³ã°ã«äœ¿çšã§ããŸããã¯ã¢ããã³ãã¿ãŒã®äžã®ãã¹ã¯ããŒã«ãã«ãããåžæã®ããŒã«å€ãå¶åŸ¡ã§ããŸãã ãééïŒmsïŒïŒã-èŠå¶ééãæžããããšã¯ãäžæ£è¡çºãã§ããããããå®å®åã®å質ã«ã©ã®ããã«åœ±é¿ãããã確èªããããšã¯éåžžã«äŸ¿å©ã§ãããçŽç²ãªãæ°åŠãæãã人ã®ããã«ãæœè±¡PIDã³ã³ãããŒã©ãŒã®æ§æãææ¡ã§ããŸããå
¥åãããã©ã¡ãŒã¿ãŒã¯èªåçã«é©çšãããŸããããé©çšããã¯ãªãã¯ããå¿
èŠããããŸããããã€ãã®å°ããªãã³ãïŒã¯ã¢ããã³ãã¿ãŒãå¶åŸ¡ããã«ã¯åå¿ãé
ããããšæãå Žå-Pãå¢ããããšãã§ããŸãããPã倧ãããããšãªãŒããŒã·ã¥ãŒãã«ã€ãªããå¯èœæ§ããããŸãããã©ã¡ãŒã¿Dã¯ãªãŒããŒã·ã¥ãŒãã«åœ¹ç«ã¡ãŸãããå€ã倧ãããããšé »ç¹ã«å€åããããå床ãªãŒããŒã·ã¥ãŒãããŸãããã©ã¡ãŒã¿Iã¯éåžžããã©ã¡ãŒã¿Pã®10ã100åå°ããããã圌ã®åŒ·ã¿ã¯æéã®çµéã«äŒŽãèç©ã«ãããè¿
éãªå¯Ÿå¿ã«ã¯ãããŸãããPIDãã©ã¡ãŒã¿ãŒã®æå調æŽã«ã¯ç·Žç¿ãå¿
èŠã§ããããããèšç®ããããã®åææ¹æ³ããããŸããããããã¯ç¹å®ã®ã«ã¹ã¿ã ã·ã¹ãã ã®å€ãã®ãã©ã¡ãŒã¿ãŒã®é©åãªæºåãšæ£ç¢ºãªç¥èãå¿
èŠãšããŸããæåéžæãšåæèšç®ã®äžéç¹ãšããŠãããŸããŸãªç 究è
ã«ãã£ãŠææ¡ãããå¹
åºãçµéšçæ¹æ³ããããŸãã2Dã¯ã¢ããã³ãã¿ãŒã§ã¯ã1ã€ã®è§åºŠããå€åããŸãã-ãããšã®è§åºŠã§ãããã¥ãŒãã³ã°3Dã¯ã¢ããã³ãã¿ãŒã§ã¯ãè§åºŠããšã«3ã€ã®ç¬ç«ããPIDã³ã³ãããŒã©ãŒãå¿
èŠã§ãããç¹å®ã®ã¢ãŒã¿ãŒãå¶åŸ¡ããããšã¯ããã¹ãŠã®ã³ã³ãããŒã©ãŒã®åªåã®åèšãè¡šããŸããååã®ãŸãšã
ãã®èšäºã§ã¯ãã¯ã¢ããã³ãã¿ãŒãšãã©ã€ãã®åçãããããããŒã«ããšãŒãã¬ã¹ããããªã³ã°ã¬ã¹ããã©ã€ãã¢ãŒãã®å®å®åããã©ã€ãã³ã³ãããŒã©ãŒããžã£ã€ãã¹ã³ãŒããå é床èšãé床ã³ã³ãããŒã©ãŒãPWMãã³ã³ãããŒã©ãŒãã£ãªãã¬ãŒã·ã§ã³ãç¡ç·ãã£ãªãã¬ãŒã·ã§ã³ããªã³ããŒãã¬ã·ãŒããŒããã©ã€ãã³ã³ãããŒã©ãŒã®èšå®ã€ã³ã¿ãŒãã§ã€ã¹ãæŠè£
/æŠè£
解é€ç¶æ
ãèªåæŠè£
解é€ããã®åŸãæ°å€ã®åŸ®åãšçµ±åã«å°ã觊ããŠPIDã³ã³ãããŒã©ãŒã®å
¬åŒãåçºæããä»®æ³quadrocopterã§ãã©ã¡ãŒã¿ãŒPãIãDãæ§æããæ¹æ³ãç¬èªã®ã¹ãã³ã§çµéšããŸãããããŠãã©ã€ãã»ãŒããŒããã°ã©ãã³ã°ãææããŠããå Žåã¯ãquadrocopterå®å®åããã°ã©ã ã«çæã§ããŸãããŸãã¯ãããã«è¯ãããšã«ãæ°é®®ãªã¢ã€ãã¢ã§æ°é®®ãªãªãŒãã³ãœãŒã¹ãããžã§ã¯ãã«åå ã§ããŸãããŸãã1ã2é±éã§ãå質ã«å¹æµããåãšæéããããšããããã°ã©ãã³ã°ããã¹ããèœäžãæãåã£ãŠæªç¥ã®æ¹åã«å®å
šã«é£ã³å»ã£ãæ¹æ³ã®è©±ãç¶ããŸããæ¬åœã«ç¶ç¶ãããå Žåã¯ãããã§ç§ã蹎ãããšãã§ããŸããããšãã°ãVkontakteïŒããã¯å°ãã€ã³ã»ã³ãã£ããäžããŸããïŒïŒæåïŒïŒãã®éšåã®çµè«ãšããŠãç§ã¯ã¡ããã©ãã¡ãŒã ãŠã§ã¢MegapirateNGã«è€éãªQuadrocopterã®ã³ã³ããŒãã³ããšæ§æãéžã¶éã«ç§ãå©ããããèŸæ±åŒ·ããããã®æãåºæ¬çãªæŠå¿µã«çåã®æ°çŸã«çãã人èšåããå¿
èŠãããSovGVDãããªãã«æè¬ãïŒ :-)
ãã®ã·ãŒãå
šäœã浪費ããããšãã§ãã人ã
ãžã®å ±é
¬ãšããŠãç§ãã¡ã®ãçºæããããPIDã³ã³ãããŒã©ãŒãåããã¯ã¢ããã³ãã¿ãŒã®ãããªçŽæãããå°ããªãããªãæçš¿ããArduino Mega 2560ã®ããã°ã©ã ãé£ã°ããŸãïŒãã¡ããã圌ã¯GPSãæ¬ ããŠãããåæ¥è£œåãéç£åãšåæ§ã«ã圌ã¯å®å®æ§ãå°ãæ¬ ããŠããŸãããäžæ¹ã§ç§ãã¡ã¯ãç©åä¿æ°ãæã€æåŸã®å åãŸã§ãããç¥ã£ãŠããŸãïŒãããŠããã®ãããªæè¡ãä»æ¥ç§ãã¡ã«å©çšå¯èœã§ããããšã¯æ¬åœã«ã¯ãŒã«ã§ãã楜ããæéãéãããŠããŸãããïŒïŒ