{"id":1645,"date":"2018-12-05T11:00:07","date_gmt":"2018-12-05T11:00:07","guid":{"rendered":""},"modified":"2018-12-05T19:00:25","modified_gmt":"2018-12-05T11:00:25","slug":"%e5%bd%b1%e5%93%8d%e7%94%b5%e6%b5%81%e9%87%87%e6%a0%b7%e7%9a%84%e4%b8%80%e4%b8%aa%e5%9b%a0%e7%b4%a0%e2%80%94%e2%80%94%e5%bb%b6%e8%bf%9f%e6%ba%90%ef%bc%81","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=1645","title":{"rendered":"\u5f71\u54cd\u7535\u6d41\u91c7\u6837\u7684\u4e00\u4e2a\u56e0\u7d20\u2014\u2014\u5ef6\u8fdf\u6e90\uff01"},"content":{"rendered":"

\n\t\u5728\u7535\u673a\u9a71\u52a8\u7684FOC\u63a7\u5236\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u60a8\u662f\u5426\u9047\u5230\u8fc7\u7535\u673a\u566a\u58f0\u8fc7\u5927\u3001\u6548\u7387\u504f\u4f4e\u751a\u81f3\u65e0\u6cd5\u8fd0\u8f6c\u7684\u60c5\u51b5\uff1f\u8fd9\u4e00\u5207\u6709\u53ef\u80fd\u6e90\u4e8e\u76f8\u7535\u6d41<\/u>\u7684\u91c7\u6837\u5f02\u5e38\uff0c\u4ece\u800c\u5bfc\u81f4FOC\u7b97\u6cd5\u4e2d\u65e0\u6cd5\u91cd\u5efa\u6b63\u786e\u7684\u4e09\u76f8\u7535\u6d41\uff01\u5c0f\u7f16\u8fd9\u91cc\u7ed9\u5927\u5bb6\u5206\u6790\u5f71\u54cd\u7535\u6d41\u91c7\u6837\u7684\u4e00\u4e2a\u56e0\u7d20——\u5ef6\u8fdf\u6e90\uff011<\/p>\n

\n\t\u5f15\u8a00<\/p>\n

\n\t <\/div>\n

\n\t\u5728\u53cc\u7535\u963b\u91c7\u6837\u7684\u7535\u673a\u9a71\u52a8FOC\u63a7\u5236\u4e2d\uff0c\u91c7\u6837\u70b9\u8bbe\u7f6e\u4e3a\u9a71\u52a8\u6865\u4e0b\u7ba1\u6253\u5f00\u7684\u4e2d\u95f4\u65f6\u523b\u3002\u6ce8\u610f\uff0c\u8fd9\u91cc\u662f\u9a71\u52a8\u6865\u4e0b\u7ba1\u6253\u5f00\u7684\u4e2d\u95f4\u65f6\u523b\uff0c\u800c\u4e0d\u662fMCU<\/u>\u8f93\u51fa\u7684PWM\u5468\u671f\u4e2d\u95f4\u65f6\u523b\u3002\u56e0\u4e3a\u4eceMCU\u8ba1\u7b97\u751f\u6210PWM\u5230\u7535\u6d41\u4fe1\u53f7\u9001\u5165MCU\u7684ADC<\/u>\u6a21\u5757\uff0c\u8fd9\u4e2a\u5178\u578b\u7684\u9a71\u52a8\u62d3\u6251\u4e2d\uff0c\u5b58\u5728\u591a\u8fbe\u4e03\u4e2a\u5ef6\u8fdf\u6e90\uff01<\/p>\n

\n\t<\/p>\n

\n\t2<\/p>\n

\n\t\u5ef6\u8fdf\u7c7b\u578b\u53ca\u5178\u578b\u65f6\u95f4<\/p>\n

\n\t\u4e0b\u9762\u8868\u683c\u8be6\u7ec6\u6307\u660e\u4e86\u7535\u673a\u9a71\u52a8\u7cfb\u7edf\u62d3\u6251\u4e2d\u5b58\u5728\u7684\u4e03\u4e2a\u5ef6\u8fdf\u6e90\u53ca\u5176\u5178\u578b\u7684\u65f6\u95f4\u3002\u8fd9\u4e9b\u5ef6\u8fdf\u5c06\u53e0\u52a0\u5728\u4e00\u8d77\uff0c\u4ea7\u751f\u7684\u5f71\u54cd\u662f\uff1a\u5b9e\u9645\u8f93\u51faPWM\u6ce2\u5f62\u6ede\u540e\u4e8eMCU\u8ba1\u7b97\u9884\u671f\u8f93\u51fa\u7684PWM\u6ce2\u5f62\uff0c\u6309\u7167\u8fd9\u4e2a\u8ba1\u7b97\uff0c\u76f8\u7535\u6d41\u91c7\u6837\u70b9\u9700\u8981\u6ede\u540e\u4e8eMCU\u8ba1\u7b97\u9884\u671f\u8f93\u51fa\u7684PWM\u6ce2\u5f62\u7684\u4e2d\u95f4\u65f6\u523b\u3002<\/p>\n

\n\t<\/p>\n

\n\t3<\/p>\n

\n\t\u5ef6\u8fdf\u6e90\u8be6\u7ec6\u5206\u6790<\/p>\n

\n\t3.1PWM\u6b7b\u533a\u65f6\u95f4\u63d2\u5165<\/p>\n

\n\t\u5728\u4e09\u76f8\u65e0\u5237\u7535\u673a\u9a71\u52a8\u7cfb\u7edf\u4e2d\uff0c\u9700\u8981\u4e09\u4e2a\u6865\u81c2\u6765\u63a7\u5236\u76f8\u7ebf\u7535\u6d41\u6d41\u5411\uff0c\u5728\u6bcf\u4e2a\u6865\u81c2\u4e0a\u6709\u4e24\u4e2a\u529f\u7387\u5668\u4ef6\uff0c\u5982MOSFET<\/u>\u3001IGBT<\/u>\u3002\u8fd9\u4e00\u5bf9\u529f\u7387\u5668\u4ef6\u4e0d\u80fd\u540c\u65f6\u5bfc\u901a\uff0c\u5426\u5219\u5c31\u4f1a\u51fa\u73b0\u77ed\u8def\u7684\u60c5\u51b5\u3002\u8fd9\u91cc\u4ee5MOSFET\u4f5c\u4e3a\u529f\u7387\u5668\u4ef6\u6765\u8bf4\u660e\u3002\u5728\u63a7\u5236\u4e2d\uff0c\u5fc5\u987b\u63d2\u5165\u6b7b\u533a\u65f6\u95f4\u4ee5\u786e\u4fdd\u4e0a\u90e8\u548c\u4e0b\u90e8MOSFET\u4e0d\u4f1a\u540c\u65f6\u5904\u4e8e\u6253\u5f00\u72b6\u6001\u3002\u6b7b\u533a\u65f6\u95f4\u7684\u5178\u578b\u503c\u53ef\u80fd\u5728100ns\u52302μs\u4e4b\u95f4\uff0c\u5177\u4f53\u53d6\u51b3\u4e8e\u7cfb\u7edf\u4e2d\u7684\u5404\u79cd\u56e0\u7d20\uff0c\u5982MOSFET\u9a71\u52a8\u7535\u538b\u3001MOSFET\u578b\u53f7\u3002<\/p>\n

\n\t\u5728\u6240\u9700\u7684PWM\u6ce2\u5f62\u63d2\u5165\u6b7b\u533a\u65f6\u95f4\u4e4b\u540e\uff0c\u6211\u4eec\u5f97\u5230\u7684\u662fPWM\u4e2d\u70b9\u548c\u4e0a\u5347\u6cbf\u90fd\u5411\u53f3\u79fb\u52a8\u3002\u56e0\u6b64\uff0c\u5728FOC\u63a7\u5236\u7b97\u6cd5\u8ba1\u7b97\u51fa\u9002\u5f53\u7684PWM\u4e4b\u540e\uff0c\u6211\u4eec\u7acb\u5373\u5f00\u59cb\u770b\u5230\u7b2c\u4e00\u4e2a\u5ef6\u8fdf\uff0c\u5373\u6b7b\u533a\u65f6\u95f4\u3002<\/p>\n

\n\t<\/p>\n

\n\t3.2\u5149\u8026<\/u>\u5ef6\u8fdf\u548c\u9884\u9a71\u52a8\u5668\u5ef6\u8fdf<\/p>\n

\n\t\u5728MCU\u63a7\u5236FTM\u6a21\u5757\u8f93\u51faPWM\u6ce2\u5f62\u5230MOSFET\u6805\u6781\u53d7\u63a7\u5236\u7684\u90a3\u4e00\u523b\u4e4b\u95f4\uff0c\u5404\u79cd\u5149\u7535\u8026\u5408\u5668<\/u>\u548c\u9884\u9a71\u52a8\u5668\u7684\u4fe1\u53f7\u54cd\u5e94\u5bfc\u81f4\u4e86\u989d\u5916\u7684\u5ef6\u8fdf\u3002<\/p>\n

\n\t\u4e0eMCU\u5f15\u811a\u8f93\u51fa\u7684\u6ce2\u5f62\u76f8\u6bd4\uff0c\u9884\u9a71\u52a8\u5668\u7684\u8f93\u51fa\u5ef6\u8fdf\u4e86\u4e00\u6bb5\u65f6\u95f4\uff08Delay1\uff09\u3002<\/p>\n

\n\t<\/p>\n

\n\t3.3\u6676\u4f53\u7ba1<\/u>\u5f00\u5173\u5ef6\u8fdf<\/p>\n

\n\t\u7ecf\u8fc7\u9884\u9a71\u52a8\u5668\u540e\uff0cPWM\u6ce2\u5f62\u5230\u8fbeMOSFET\u6676\u4f53\u7ba1\uff0c\u4f46\u7531\u4e8e\u5176\u56fa\u6709\u7279\u6027\uff0c\u6240\u6709\u6676\u4f53\u7ba1\u90fd\u9700\u8981\u4e00\u5b9a\u7684\u65f6\u95f4\u5bfc\u901a\u548c\u622a\u6b62\u3002\u6839\u636e\u6676\u4f53\u7ba1\u7c7b\u522b\u53ca\u5bfc\u901a\/\u622a\u6b62\u4e4b\u95f4\u5207\u6362\u6240\u9700\u8981\u7684\u7535\u538b\u7535\u5e73\uff0c\u6b64\u5ef6\u8fdf\u65f6\u95f4\u6709\u6240\u4e0d\u540c\u3002<\/p>\n

\n\tDelay2\u4e3a\u76f8\u7ebf\u7535\u538b\u7406\u8bba\u5207\u6362\u70b9\uff08CMP2\uff09\u4e0e\u5b9e\u9645\u5207\u6362\u70b9\u7684\u65f6\u523b\u4e4b\u95f4\u7684\u6574\u4e2a\u5ef6\u8fdf\u3002<\/p>\n

\n\t<\/p>\n

\n\t\u6700\u540e\uff0c\u6805\u6781\u7535\u538b\u5230\u8fbe\u4e86\u80fd\u4ee4\u6676\u4f53\u7ba1\u5bfc\u901a\u7684\u7a0b\u5ea6\uff0c\u7535\u6d41\u901a\u8fc7\u76f8\u7ebf\u548c\u91c7\u6837\u7535\u963b\uff0c\u5728\u91c7\u6837\u7535\u963b\u4e24\u7aef\u4ea7\u751f\u7535\u538b\u5dee\uff0c\u7ea2\u8272\u6ce2\u5f62\u4e3a\u7406\u60f3\u72b6\u6001\u4e0b\u7684\u76f8\u7535\u6d41\u6ce2\u5f62\u3002\u6b64\u65f6\u4e0eMCU\u8ba1\u7b97\u751f\u6210\u7684PWM\u5468\u671f\u4e2d\u70b9\u5b58\u5728\u5ef6\u8fdf\u603b\u65f6\u95f4\u5982\u56fe\u4e2d“\u76f8\u7535\u6d41\u4e2d\u70b9\u79fb\u4f4d”\u3002<\/p>\n

\n\t<\/p>\n

\n\t3.4\u5176\u4ed6\u5ef6\u8fdf<\/p>\n

\n\t\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u5f71\u54cd\u7535\u6d41\u91c7\u6837\u7684\u6700\u540e\u5ef6\u8fdf\u94fe\u662f\u7531\u653e\u5927\u5668<\/u>\u8f6c\u6362\u901f\u7387\u3001MCU\u5f15\u811a\u4e0a\u7684\u4f4e\u901a\u6ee4\u6ce2\u5668<\/u>\u548cADC\u8f6c\u6362\u901f\u7387\u6784\u6210\u7684\u3002\u56fe\u4e2d\u7528\u7ea2\u8272\u5706\u5708\u6807\u8bb0\u7684\u65f6\u523b\u4e3a\u6b63\u786e\u7684\u7535\u6d41\u91c7\u6837\u65f6\u523b\uff0c\u53ef\u4ee5\u770b\u51fa\uff0c\u4e0eFTM\u8f93\u51fa\u7684PWM\u4e2d\u70b9\u76f8\u6bd4\uff0c\u76f8\u7535\u6d41\u91c7\u6837\u70b9\u5927\u5927\u5ef6\u8fdf\u3002<\/p>\n

\n\t<\/p>\n

\n\t4<\/p>\n

\n\t\u7ed3\u8bed<\/p>\n

\n\t\u6240\u6709\u7684\u7535\u5b50\u7535\u8def\u4e2d\uff0c\u90fd\u4f1a\u5b58\u5728\u4fe1\u53f7\u7684\u5ef6\u8fdf\u95ee\u9898\u3002\u4fe1\u53f7\u5ef6\u8fdf\u4e0d\u53ef\u80fd\u88ab\u5b8c\u5168\u6d88\u9664\uff0c\u4f46\u53ef\u901a\u8fc7\u9009\u7528\u4f4e\u5ef6\u8fdf\u7684\u5668\u4ef6\u4ee5\u51cf\u5c0f\u5f71\u54cd\u3002<\/p>\n

\n\t\u5728\u7535\u673a\u9a71\u52a8\u4e2d\uff0c\u9664\u4e86\u9009\u7528\u5408\u9002\u7684\u5668\u4ef6\u5916\uff0c\u8fd8\u9700\u8981\u5bf9\u4fe1\u53f7\u5ef6\u8fdf\u8fdb\u884c\u8f6f\u4ef6\u8865\u507f\u3002\u6587\u4e2d\u63d0\u53ca\u7684\u8fd9\u4e9b\u5ef6\u8fdf\u6e90\u7684\u7cbe\u786e\u5ef6\u8fdf\u65f6\u95f4\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u793a\u6ce2\u5668<\/u>\u548c\u8ba1\u7b97\u5f97\u51fa\uff0c\u5728\u8f6f\u4ef6\u4e0a\u8865\u507f\u8fd9\u4e9b\u5ef6\u8fdf\uff0c\u624d\u53ef\u5f97\u51fa\u6b63\u786e\u7684\u7535\u6d41\u91c7\u6837\u65f6\u523b\u3002\u8fd9\u6837\u5728\u6b63\u786e\u7684\u65f6\u523b\u91c7\u96c6\u5230\u7684\u6570\u636e\u624d\u80fd\u4f5c\u4e3aFOC\u63a7\u5236\u4e2d\u91cd\u5efa\u7535\u673a\u4e09\u76f8\u7535\u6d41\u7684\u6570\u636e\u6765\u6e90\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728\u7535\u673a\u9a71\u52a8\u7684FOC\u63a7\u5236\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u60a8\u662f\u5426\u9047\u5230\u8fc7\u7535\u673a\u566a\u58f0\u8fc7\u5927\u3001\u6548\u7387\u504f\u4f4e\u751a\u81f3\u65e0\u6cd5\u8fd0\u8f6c\u7684\u60c5\u51b5\uff1f\u8fd9\u4e00\u5207\u6709\u53ef\u80fd\u6e90\u4e8e\u76f8 \u7535\u6d41 \u7684\u91c7\u6837\u5f02\u5e38\uff0c\u4ece\u800c\u5bfc\u81f4FOC\u7b97\u6cd5\u4e2d\u65e0\u6cd5\u91cd\u5efa\u6b63\u786e\u7684\u4e09\u76f8\u7535\u6d41\uff01\u5c0f<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"_links":{"self":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/1645"}],"collection":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1645"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/1645\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1645"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}