{"id":2013,"date":"2019-01-03T01:22:18","date_gmt":"2019-01-03T01:22:18","guid":{"rendered":""},"modified":"2019-01-03T09:22:40","modified_gmt":"2019-01-03T01:22:40","slug":"%e8%88%b5%e6%9c%ba%e5%8e%9f%e7%90%86%e7%ae%80%e8%bf%b0%21%e8%88%b5%e6%9c%bapwm%e4%bf%a1%e5%8f%b7%e4%bb%8b%e7%bb%8d","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=2013","title":{"rendered":"\u8235\u673a\u539f\u7406\u7b80\u8ff0!\u8235\u673aPWM\u4fe1\u53f7\u4ecb\u7ecd"},"content":{"rendered":"

\n\t\u4e00\u3001\u8235\u673a\u539f\u7406\u7b80\u8ff0<\/p>\n

\n\t\u63a7\u5236\u4fe1\u53f7\u7531\u63a5\u6536\u673a\u7684\u901a\u9053\u8fdb\u5165\u4fe1\u53f7\u8c03\u5236\u82af\u7247\uff0c\u83b7\u5f97\u76f4\u6d41\u504f\u7f6e\u7535\u538b\u3002\u5b83\u5185\u90e8\u6709\u4e00\u4e2a\u57fa\u51c6\u7535\u8def\uff0c\u4ea7\u751f\u5468\u671f\u4e3a20ms\uff0c\u5bbd\u5ea6\u4e3a1.5ms\u7684\u57fa\u51c6\u4fe1\u53f7\uff0c\u5c06\u83b7\u5f97\u7684\u76f4\u6d41\u504f\u7f6e\u7535\u538b\u4e0e\u7535\u4f4d\u5668\u7684\u7535\u538b\u6bd4\u8f83\uff0c\u83b7\u5f97\u7535\u538b\u5dee\u8f93\u51fa\u3002\u6700\u540e\uff0c\u7535\u538b\u5dee\u7684\u6b63\u8d1f\u8f93\u51fa\u5230\u7535\u673a\u9a71\u52a8\u82af\u7247\u51b3\u5b9a\u7535\u673a\u7684\u6b63\u53cd\u8f6c\u3002\u5f53\u7535\u673a\u8f6c\u901f\u4e00\u5b9a\u65f6\uff0c\u901a\u8fc7\u7ea7\u8054\u51cf\u901f\u9f7f\u8f6e\u5e26\u52a8\u7535\u4f4d\u5668\u65cb\u8f6c\uff0c\u4f7f\u5f97\u7535\u538b\u5dee\u4e3a0\uff0c\u7535\u673a\u505c\u6b62\u8f6c\u52a8\u3002<\/p>\n

\n\t <\/div>\n

\n\t\u8235\u673a\u7684\u63a7\u5236\u4e00\u822c\u9700\u8981\u4e00\u4e2a20ms\u5de6\u53f3\u7684\u65f6\u57fa\u8109\u51b2\uff0c\u8be5\u8109\u51b2\u7684\u9ad8\u7535\u5e73\u90e8\u5206\u4e00\u822c\u4e3a0.5ms-2.5ms\u8303\u56f4\u5185\u7684\u89d2\u5ea6\u63a7\u5236\u8109\u51b2\u90e8\u5206\uff0c\u603b\u95f4\u9694\u4e3a2ms\u3002\u4ee5180\u5ea6\u89d2\u5ea6\u4f3a\u670d\u4e3a\u4f8b\uff0c\u90a3\u4e48\u5bf9\u5e94\u7684\u63a7\u5236\u5173\u7cfb\u662f\u8fd9\u6837\u7684\uff1a<\/p>\n

\n\t0.5ms--------------0\u5ea6\uff1b<\/p>\n

\n\t1.0ms------------45\u5ea6\uff1b<\/p>\n

\n\t1.5ms------------90\u5ea6\uff1b<\/p>\n

\n\t2.0ms-----------135\u5ea6\uff1b<\/p>\n

\n\t2.5ms-----------180\u5ea6\uff1b<\/p>\n

\n\t\uff081\uff09\u8235\u673a\u7684\u8ffd\u968f\u7279\u6027<\/p>\n

\n\t\u5047\u8bbe\u73b0\u5728\u8235\u673a\u7a33\u5b9a\u5728A\u70b9\uff0c\u8fd9\u65f6\u5019CPU<\/u>\u53d1\u51fa\u4e00\u4e2aPWM\u4fe1\u53f7\uff0c\u8235\u673a\u5168\u901f\u7531A\u70b9\u8f6c\u5411B\u70b9\uff0c\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\u9700\u8981\u4e00\u6bb5\u65f6\u95f4\uff0c\u8235\u673a\u624d\u80fd\u8fd0\u52a8\u5230B\u70b9\u3002<\/p>\n

\n\t\u4fdd\u6301\u65f6\u95f4\u4e3aT\uff57<\/p>\n

\n\t\u5f53T\uff57≥\u25b3T\u65f6\uff0c\u8235\u673a\u80fd\u591f\u5230\u8fbe\u76ee\u6807\uff0c\u5e76\u6709\u5269\u4f59\u65f6\u95f4\uff1b<\/p>\n

\n\t\u5f53T\uff57≤\u25b3T\u65f6\uff0c\u8235\u673a\u4e0d\u80fd\u5230\u8fbe\u76ee\u6807\uff1b<\/p>\n

\n\t\u7406\u8bba\u4e0a\uff1a\u5f53T\uff57=\u25b3T\u65f6\uff0c\u7cfb\u7edf\u6700\u8fde\u8d2f\uff0c\u800c\u4e14\u8235\u673a\u8fd0\u52a8\u7684\u6700\u5feb\u3002<\/p>\n

\n\t\u5b9e\u9645\u8fc7\u7a0b\u4e2d\uff57\u4e0d\u5c3d\u76f8\u540c\uff0c\u8fde\u8d2f\u8fd0\u52a8\u65f6\u7684\u6781\u9650\u25b3T\u6bd4\u8f83\u96be\u4ee5\u8ba1\u7b97\u51fa\u6765\u3002<\/p>\n

\n\t\u5f53PWM\u4fe1\u53f7\u4ee5\u6700\u5c0f\u53d8\u5316\u91cf\u5373\uff081DIV=8us\uff09\u4f9d\u6b21\u53d8\u5316\u65f6\uff0c\u8235\u673a\u7684\u5206\u8fa8\u7387\u6700\u9ad8\uff0c\u4f46\u662f\u901f\u5ea6\u4f1a\u51cf\u6162\u3002<\/p>\n

\n\t<\/p>\n

\n\t\u4e8c\u3001\u8235\u673aPWM\u4fe1\u53f7\u4ecb\u7ecd<\/p>\n

\n\t1\uff0ePWM\u4fe1\u53f7\u7684\u5b9a\u4e49 PWM \u4fe1\u53f7\u4e3a\u8109\u5bbd\u8c03\u5236\u4fe1\u53f7\uff0c\u5176\u7279\u70b9\u5728\u4e8e\u4ed6\u7684\u4e0a\u5347\u6cbf\u4e0e\u4e0b\u964d\u6cbf\u4e4b\u95f4\u7684\u65f6\u95f4\u5bbd\u5ea6\u3002\u5177\u4f53\u7684\u65f6\u95f4\u5bbd\u7a84\u534f\u8bae\u53c2\u8003\u4e0b\u5217\u8bb2\u8ff0\u3002\u6211\u4eec\u76ee\u524d\u4f7f\u7528\u7684\u8235\u673a\u4e3b\u8981\u4f9d\u8d56\u4e8e\u6a21\u578b\u884c\u4e1a\u7684\u6807\u51c6\u534f\u8bae\uff0c\u968f\u7740\u673a\u5668\u4eba\u884c\u4e1a\u7684\u6e10\u6e10\u72ec\u7acb\uff0c\u6709\u4e9b\u5382\u5546\u5df2\u7ecf\u63a8\u51fa\u5168\u65b0\u7684\u8235\u673a\u534f\u8bae\uff0c\u8fd9\u4e9b\u8235\u673a\u53ea\u80fd\u5e94\u7528\u4e8e\u673a\u5668\u4eba\u884c\u4e1a\uff0c\u5df2\u7ecf\u4e0d\u80fd\u591f\u5e94\u7528\u4e8e\u4f20\u7edf\u7684\u6a21\u578b\u4e0a\u9762\u4e86\u3002 \u76ee\u524d \u8235\u673a\u53ef\u80fd\u662f\u8fd9\u4e2a\u8fc7\u6e21\u65f6\u671f\u7684\u4ea7\u7269\uff0c\u5b83\u91c7\u7528\u4f20\u7edf\u7684 PWM \u534f\u8bae\uff0c\u4f18\u7f3a\u70b9\u4e00\u76ee\u4e86\u7136\u3002\u4f18\u70b9\u662f\u5df2\u7ecf\u4ea7\u4e1a\u5316\uff0c\u6210\u672c\u4f4e\uff0c\u65cb\u8f6c\u89d2\u5ea6\u5927\uff08\u76ee\u524d\u6240\u751f\u4ea7\u7684\u90fd\u53ef\u8fbe\u5230 185 \u5ea6\uff09\uff1b \u7f3a\u70b9\u662f\u63a7\u5236\u6bd4\u8f83\u590d\u6742\uff0c\u6bd5\u7adf\u91c7\u7528 PWM \u683c\u5f0f\u3002 \u4f46\u662f\u5b83\u662f\u4e00\u6b3e\u6570\u5b57\u578b\u7684\u8235\u673a\uff0c\u5176\u5bf9 PWM \u4fe1\u53f7\u7684\u8981\u6c42\u8f83\u4f4e\uff1a \uff081\uff09 \u4e0d\u7528\u968f\u65f6\u63a5\u6536\u6307\u4ee4\uff0c\u51cf\u5c11 CPU \u7684\u75b2\u52b3\u7a0b\u5ea6\uff1b \uff082\uff09 \u53ef\u4ee5\u4f4d\u7f6e\u81ea\u9501\u3001\u4f4d\u7f6e\u8ddf\u8e2a\uff0c\u8fd9\u65b9\u9762\u8d85\u8d8a\u4e86\u666e\u901a\u7684\u6b65\u8fdb\u7535\u673a<\/u>\uff1b<\/p>\n

\n\t<\/p>\n

\n\t\u5176 PWM \u683c\u5f0f\u6ce8\u610f\u7684\u51e0\u4e2a\u8981\u70b9\uff1a \uff081\uff09 \u4e0a\u5347\u6cbf\u6700\u5c11\u4e3a 0.5mS\uff0c\u4e3a 0.5mS---2.5mS \u4e4b\u95f4\uff1b \uff082\uff09 HG14-M \u6570\u5b57\u8235\u673a\u4e0b\u964d\u6cbf\u65f6\u95f4\u6ca1\u8981\u6c42\uff0c\u76ee\u524d\u91c7\u7528 0.5Ms \u5c31\u884c\uff1b\u4e5f\u5c31\u662f\u8bf4 PWM \u6ce2\u5f62\u53ef\u4ee5\u662f\u4e00\u4e2a\u5468\u671f 1mS \u7684\u6807\u51c6\u65b9\u6ce2\uff1b \uff083\uff09 HG0680 \u4e3a\u5851\u6599\u9f7f\u8f6e\u6a21\u62df\u8235\u673a\uff0c\u5176\u8981\u6c42\u8fde\u7eed\u4f9b\u7ed9 PWM \u4fe1\u53f7\uff1b\u5b83\u4e5f\u53ef\u4ee5\u8f93\u5165\u4e00\u4e2a\u5468\u671f\u4e3a 1mS \u7684\u6807\u51c6\u65b9\u6ce2\uff0c\u8fd9\u65f6\u8868\u73b0\u51fa\u6765\u7684\u8ddf\u968f\u6027\u80fd\u5f88\u597d\u3001\u5f88\u7d27\u5bc6\u3002<\/p>\n

\n\t2\uff0ePWM\u4fe1\u53f7\u63a7\u5236\u7cbe\u5ea6\u5236\u5b9a<\/p>\n

\n\t\u5982\u679c\u91c7\u7528\u7684\u662f 8 \u4f4d\u5355\u7247\u673a<\/u>AT89C52CPU\uff0c\u5176\u6570\u636e\u5206\u8fa8\u7387\u4e3a256\uff0c\u90a3\u4e48\u7ecf\u8fc7\u8235\u673a\u6781\u9650\u53c2\u6570\u5b9e\u9a8c\uff0c\u5f97\u5230\u5e94\u8be5\u5c06\u5176\u5212\u5206\u4e3a 250 \u4efd\u3002 \u90a3\u4e48 0.5mS---2.5Ms \u7684\u5bbd\u5ea6\u4e3a 2mS = 2000uS\u30022000uS÷250=8uS\uff0c\u5219\uff1aPWM \u7684\u63a7\u5236\u7cbe\u5ea6\u4e3a 8us\u3002\u6211\u4eec\u53ef\u4ee5\u4ee5 8uS \u4e3a\u5355\u4f4d\u9012\u589e\u63a7\u5236\u8235\u673a\u8f6c\u52a8\u4e0e\u5b9a\u4f4d\u3002 \u8235\u673a\u53ef\u4ee5\u8f6c\u52a8 185 \u5ea6\uff0c\u90a3\u4e48185 \u5ea6÷250=0.74 \u5ea6\uff0c\u5219\uff1a\u8235\u673a\u7684\u63a7\u5236\u7cbe\u5ea6\u4e3a 0.74 \u5ea6\u3002<\/p>\n

\n\t<\/p>\n

\n\t1 DIV = 8us ; 250DIV=2ms\u65f6\u57fa\u5bc4\u5b58\u5668<\/u>\u5185\u7684\u6570\u503c\u4e3a\uff1a\uff08#01H\uff0901 ----\uff08#0FAH\uff09250\u3002 \u5171 185 \u5ea6\uff0c\u5206\u4e3a 250 \u4e2a\u4f4d\u7f6e\uff0c\u6bcf\u4e2a\u4f4d\u7f6e\u53eb 1DIV\u3002\u5219\uff1a185÷250 = 0.74 \u5ea6 \/ DIV PWM \u4e0a\u5347\u6cbf\u51fd\u6570\uff1a 0.5ms + N×DIV 0us ≤ N×DIV ≤ 2ms 0.5ms ≤ 0.5ms+N×DIV ≤ 2.5ms<\/p>\n

\n\t\u4e8c\uff0e\u5355\u8235\u673a\u62d6\u52a8\u53ca\u8c03\u901f\u7b97\u6cd5<\/p>\n

\n\t1\uff0e\u8235\u673a\u4e3a\u968f\u52a8\u673a\u6784\uff081\uff09\u5f53\u5176\u672a\u8f6c\u5230\u76ee\u6807\u4f4d\u7f6e\u65f6\uff0c\u5c06\u5168\u901f\u5411\u76ee\u6807\u4f4d\u7f6e\u8f6c\u52a8\u3002 \uff082\uff09\u5f53\u5176\u5230\u8fbe\u76ee\u6807\u4f4d\u7f6e\u65f6\uff0c\u5c06\u81ea\u52a8\u4fdd\u6301\u8be5\u4f4d\u7f6e\u3002\u6240\u4ee5\u5bf9\u4e8e\u6570\u5b57\u8235\u673a\u800c\u8a00\uff0cPWM \u4fe1\u53f7\u63d0\u4f9b\u7684\u662f\u76ee\u6807\u4f4d\u7f6e\uff0c\u8ddf\u8e2a\u8fd0\u52a8\u8981\u9760\u8235\u673a\u672c\u8eab\u3002 \uff083\uff09\u50cf HG0680 \u8fd9\u6837\u7684\u6a21\u62df\u8235\u673a\u9700\u8981\u65f6\u523b\u4f9b\u7ed9 PWM \u4fe1\u53f7\uff0c\u8235\u673a\u81ea\u5df1\u4e0d\u80fd\u9501\u5b9a\u76ee\u6807\u4f4d\u7f6e\u3002\u6240\u4ee5\u6211\u4eec\u7684\u63a7\u5236\u7cfb\u7edf\u662f\u4e00\u4e2a\u76ee\u6807\u89c4\u5212\u7cfb\u7edf\u3002 \uff081\uff09HG14-M\u8235\u673a\u7684\u4f4d\u7f6e\u63a7\u5236\u65b9\u6cd5 \u8235\u673a\u7684\u8f6c\u89d2\u8fbe\u5230 185 \u5ea6\uff0c\u7531\u4e8e\u91c7\u7528 8 \u4e3a CPU \u63a7\u5236\uff0c\u6240\u4ee5\u63a7\u5236\u7cbe\u5ea6\u6700\u5927\u4e3a 256 \u4efd\u3002\u76ee\u524d\u7ecf\u8fc7\u5b9e\u9645\u6d4b\u8bd5\u548c\u89c4\u5212\uff0c\u5206\u4e86 250 \u4efd\u3002\u5c06 0—185°   \u5206\u4e3a 250 \u4efd\uff0c\u6bcf\u4efd 0.74 \u5ea6\u3002\u63a7\u5236\u6240\u9700\u7684 PWM \u5bbd\u5ea6\u4e3a 0.5ms—2.5ms\uff0c\u5bbd\u5ea6 2ms\u3002 2ms÷250=8us\uff1b\u6240\u4ee5\u5f97\u51fa\uff1aPWM \u4fe1\u53f7 = 1 \u5ea6\/8us\uff1b<\/p>\n

\n\t<\/p>\n

\n\t\uff082\uff09\u8235\u673a\u7684\u8fd0\u52a8\u534f\u8bae<\/p>\n

\n\t<\/p>\n

\n\t\u8fd0\u52a8\u65f6\u53ef\u4ee5\u5916\u63a5\u8f83\u5927\u7684\u8f6c\u52a8\u8d1f\u8f7d\uff0c\u8235\u673a\u8f93\u51fa\u626d\u77e9\u8f83\u5927\uff0c\u800c\u4e14\u6297\u6296\u52a8\u6027\u5f88\u597d\uff0c\u7535\u4f4d\u5668\u7684\u7ebf\u6027\u5ea6\u8f83\u9ad8\uff0c\u8fbe\u5230\u6781\u9650\u4f4d\u7f6e\u65f6\u4e5f\u4e0d\u4f1a\u504f\u79bb\u76ee\u6807\u3002<\/p>\n

\n\t2\u3001\u76ee\u6807\u89c4\u5212\u7cfb\u7edf\u7684\u7279\u5f81<\/p>\n

\n\t\uff081\uff09\u8235\u673a\u7684\u8ffd\u968f\u7279\u6027<\/p>\n

\n\t<\/p>\n

\n\t\u2460 \u8235\u673a\u7a33\u5b9a\u5728 A \u70b9\u4e0d\u52a8\uff1b \u2461 CPU \u53d1\u51fa B \u70b9\u4f4d\u7f6e\u5750\u6807\u7684 PWM \u4fe1\u53f7\uff1b \u2462 \u8235\u673a\u5168\u901f\u7531 A \u70b9\u8f6c\u5411 B \u70b9\uff1b \u25b3\u0444 = \u0444B - \u0444A        \u25b3T = \u25b3\u0444÷ω \u2463 CPU \u53d1\u51fa B \u70b9 PWM \u4fe1\u53f7\u540e\uff0c\u5e94\u8be5\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\uff0c\u5229\u7528\u6b64\u65f6\u95f4\u8235\u673a\u624d\u80fd\u8f6c\u52a8\u81f3 B \u70b9\u3002\u90a3\u4e48\uff0c\u5177\u4f53\u7684\u4fdd\u6301\uff08\u7b49\u5f85\uff09\u65f6\u95f4\u5982\u4f55\u6765\u8ba1\u7b97\uff0c\u5982\u4e0b\u8bb2\u89e3\uff1a \u4ee4\uff1a\u4fdd\u6301\u65f6\u95f4\u4e3a T\uff57 \u5f53 T\uff57≥\u25b3T \u65f6\uff0c\u8235\u673a\u80fd\u591f\u5230\u8fbe\u76ee\u6807\uff0c\u5e76\u6709\u5269\u4f59\u65f6\u95f4\uff1b \u5f53 T\uff57≤\u25b3T \u65f6\uff0c\u8235\u673a\u4e0d\u80fd\u5230\u8fbe\u76ee\u6807\uff1b \u7406\u8bba\u4e0a\uff1a\u5f53 T\uff57=\u25b3T \u65f6\uff0c\u7cfb\u7edf\u6700\u8fde\u8d2f\uff0c\u800c\u4e14\u8235\u673a\u8fd0\u52a8\u7684\u6700\u5feb\u3002 \u5b9e\u9645\u8fc7\u7a0b\u4e2d\u7531\u4e8e 2 \u4e2a\u56e0\u7d20\uff1a \u2460 1 \u4e2a\u673a\u5668\u4eba\u8eab\u4e0a\u6709\u591a\u4e2a\u8235\u673a\uff0c\u8d1f\u8f7d\u4e2a\u4e0d\u76f8\u540c\uff0c\u6240\u4ee5ω\u4e0d\u540c\uff1b \u2461 \u67d0\u4e2a\u8235\u673a\u5728\u4e0d\u540c\u65f6\u523b\u7684\u5916\u754c\u73af\u5883\u8d1f\u8f7d\u4e5f\u4e0d\u540c\uff0c\u6240\u4ee5ω\u4e0d\u540c\uff1b \u5219\u8fde\u8d2f\u8fd0\u52a8\u65f6\u7684\u6781\u9650\u25b3T \u96be\u4ee5\u8ba1\u7b97\u51fa\u6765\u3002 \u76ee\u524d\u91c7\u53d6\u7684\u65b9\u6cd5\u662f\u7ecf\u9a8c\u9009\u53d6ω\u503c\u3002<\/p>\n

\n\t\uff082\uff09\u8235\u673aω\u503c\u6d4b\u5b9a \u8235\u673a\u7684ω\u503c\u968f\u65f6\u53d8\u5316\uff0c\u6240\u4ee5\u53ea\u80fd\u6d4b\u5b9a\u4e00\u4e2a\u5e73\u5747\u503c\uff0c\u6216\u79f0\u51fa\u73b0\u6982\u7387\u6700\u9ad8\u7684\u70b9\u3002 \u4f9d\u636e<\/p>\n

\n\t\u2460 \u5382\u5546\u7684\u7ecf\u9a8c\u503c\uff1b \u2461 \u91c7\u7528 HG14-M \u5177\u4f53\u8fdb\u884c\u6d4b\u8bd5\uff1b \u6d4b\u8bd5\u5b9e\u9a8c\uff1a<\/p>\n

\n\t\u2460 \u5c06 CPU \u5f00\u901a\uff0c\u5e76\u5f00\u59cb\u5ef6\u65f6 T\uff57\uff1b \u2461 \u5f53\u5ef6\u65f6 T\uff57\u5230\u8fbe\u540e\uff0c\u89c2\u5bdf\u8235\u673a\u662f\u5426\u5230\u8fbe\u76ee\u6807\uff1b \u6d4b\u5b9a\u65f6\u91c7\u7528\u4e00\u6bb5\u53cc\u6446\u7a0b\u5e8f\uff0c\u4f34\u968f\u793a\u6ce2\u5668<\/u>\u7528\u8089\u773c\u89c2\u5bdf T\uff57\u4e0e\u25b3T \u7684\u5173\u7cfb\u3002 \uff083\uff09\u8235\u673aω\u503c\u8ba1\u7b97 \u4e00\u822c\u8235\u673a\u5b9a\u4e3a 0.16--0.22 \u79d2\/60 \u5ea6\uff1b \u53d6 0.2 \u79d2\/60 \u5ea6 \uff1e\uff1e 1.2 \u79d2\/360 \u5ea6 \uff1e\uff1e 0.617 \u79d2\/185 \u5ea6 \u5219ω\u4e3a 360 \u5ea6\/1.2 \u79d2\uff0c2Π\/1.2 \u79d2 ω=300 \u5ea6\/\u79d2 \u90a3\u4e48 185 \u5ea6\u8f6c\u52a8\u7684\u65f6\u95f4\u4e3a 185 \u5ea6÷360 \u5ea6\/1.2 \u79d2 = 0.6167 \u79d2\u3002 \uff084\uff09\u91c7\u7528\u53cc\u6446\u8bd5\u9a8c\u9a8c\u8bc1<\/p>\n

\n\t<\/p>\n

\n\t3\uff0eDAV\u7684\u5b9a\u4e49\u5c06 185 \u5ea6\u7684\u8f6c\u89d2\u5206\u4e3a 250 \u4e2a\u5e73\u5747\u5c0f\u4efd\u3002 \u5219\uff1a\u6bcf\u5c0f\u4efd\u4e3a 0.74 \u5ea6\u3002 \u5b9a\u4e49\u5982\u4e0b\uff1aDAV = 0.74 \u5ea6 \u7531\u4e8e\uff1aω = 0.2 \u79d2\/60 \u5ea6 \u5219\uff1a\u8fd0\u884c 1 DAV \u6240\u9700\u65f6\u95f4\u4e3a\uff1a0.72 \u5ea6*0.2 \u79d2\/60 \u5ea6 = 2.4 ms\uff1b<\/p>\n

\n\t4\uff0eDIV\u7684\u5b9a\u4e49\u8235\u673a\u7535\u8def\u652f\u6301\u7684 PWM \u4fe1\u53f7\u4e3a 0.5ms—2.5ms\uff0c\u603b\u95f4\u9694\u4e3a 2ms\u3002 \u82e5\u5206\u4e3a 250 \u5c0f\u4efd\uff0c\u5219 2ms÷250 = 0.008 ms = 8us\u3002 \u5b9a\u4e49\u5982\u4e0b\uff1aDIV = 8us\u3002<\/p>\n

\n\t<\/p>\n

\n\t5\uff0e\u5355\u8235\u673a\u8c03\u901f\u7b97\u6cd5<\/p>\n

\n\t<\/p>\n

\n\t\u6d4b\u8bd5\u5185\u5bb9\uff1a\u5c06\u540e\u90e8\u4e0b\u964d\u6cbf\u7684\u65f6\u95f4\u62c9\u81f3 30ms \u6ca1\u6709\u95ee\u9898\uff0c\u8235\u673a\u7167\u6837\u5de5\u4f5c\u3002<\/p>\n

\n\t\u5c06\u540e\u90e8\u4e0b\u964d\u6cbf\u7684\u65f6\u95f4\u62c9\u81f3 10ms \u6ca1\u6709\u95ee\u9898\uff0c\u8235\u673a\u7167\u6837\u5de5\u4f5c\u3002 \u5c06\u540e\u90e8\u4e0b\u964d\u6cbf\u7684\u65f6\u95f4\u62c9\u81f3 2.6ms \u6ca1\u6709\u95ee\u9898\uff0c\u8235\u673a\u7167\u6837\u5de5\u4f5c\u3002 \u5c06\u540e\u90e8\u4e0b\u964d\u6cbf\u7684\u65f6\u95f4\u62c9\u81f3 500us \u6ca1\u6709\u95ee\u9898\uff0c\u8235\u673a\u7167\u6837\u5de5\u4f5c\u3002 \u5b9e\u8df5\u68c0\u9a8c\u51fa\uff1a\u4e0b\u964d\u6cbf\u65f6\u95f4\u53c2\u6570\u53ef\u4ee5\u505a\u7684\u5f88\u5c0f\u3002\u76ee\u524d\u5b9e\u9a8c\u964d\u81f3 500uS\uff0c\u4f9d\u7136\u5de5\u4f5c\u6b63\u5e38\u3002 \u539f\u56e0\u662f\uff1a<\/p>\n

\n\t\uff081\uff09\u8235\u673a\u7535\u8def\u81ea\u52a8\u68c0\u6d4b\u4e0a\u5347\u6cbf\uff0c\u9047\u4e0a\u5347\u6cbf\u5c31\u89e6\u53d1\uff0c\u4ee5\u6b64\u76d1\u6d4b PWM \u8109\u5bbd“\u5934”\u3002 \uff082\uff09\u8235\u673a\u7535\u8def\u81ea\u52a8\u68c0\u6d4b\u4e0b\u964d\u6cbf\uff0c\u9047\u4e0b\u964d\u6cbf\u5c31\u89e6\u53d1\uff0c\u4ee5\u6b64\u76d1\u6d4b PWM \u8109\u5bbd“\u5c3e”\u3002<\/p>\n

\n\t\uff081\uff09\u8235\u673a\u8f6c\u52a8\u65f6\u7684\u6781\u9650\u4e0b\u964d\u6cbfPWM\u8109\u5bbd<\/p>\n

\n\t<\/p>\n

\n\t<\/p>\n

\n\t\u4ee4\u4eba\u8d28\u7591\u7684\u5730\u65b9\u4e3a 1.1ms \u65f6\u7684\u8868\u73b0\uff0c\u5f97\u51fa\u7684 T\uff57≈ \u25b3T\uff1b \u4e5f\u5c31\u662f\u8bf4 1.1ms = 2.467ms\uff0c\u663e\u7136\u5b58\u5728\u95ee\u9898\u3002 \u7ecf\u8fc7\u8003\u8651\u91cd\u65b0\u89c2\u5bdf PWM \u6ce2\u5f62\u56fe\u53d1\u73b0\uff0c\u7535\u673a\u771f\u6b63\u7684\u542f\u52a8\u70b9\u5982\u4e0b\u56fe\uff1a<\/p>\n

\n\t<\/p>\n

\n\t\u5b9e\u9645\u4e0a\u7531 A \u5230 B \u7684\u8fd0\u52a8\u65f6\u95f4\u4e3a\uff1a\u25b3T = T\uff57 +\uff08B \u70b9\u7684\uff09PWM<\/p>\n","protected":false},"excerpt":{"rendered":"

\u4e00\u3001\u8235\u673a\u539f\u7406\u7b80\u8ff0 \u63a7\u5236\u4fe1\u53f7\u7531\u63a5\u6536\u673a\u7684\u901a\u9053\u8fdb\u5165\u4fe1\u53f7\u8c03\u5236\u82af\u7247\uff0c\u83b7\u5f97\u76f4\u6d41\u504f\u7f6e\u7535\u538b\u3002\u5b83\u5185\u90e8\u6709\u4e00\u4e2a\u57fa\u51c6\u7535\u8def\uff0c\u4ea7\u751f\u5468\u671f\u4e3a20ms\uff0c\u5bbd\u5ea6\u4e3a1.5ms\u7684\u57fa\u51c6\u4fe1\u53f7\uff0c\u5c06\u83b7\u5f97\u7684\u76f4\u6d41\u504f\u7f6e\u7535\u538b\u4e0e\u7535\u4f4d\u5668\u7684<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"_links":{"self":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2013"}],"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=2013"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2013\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2013"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2013"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}