【正文】
基于 DSP 的電機(jī)控制系統(tǒng)具有傳統(tǒng)的單片機(jī)電機(jī)控制系統(tǒng)和專(zhuān)用芯片電機(jī)控制系統(tǒng)的優(yōu)勢(shì),即專(zhuān)用的電機(jī)控制機(jī)制、用戶可編程、擴(kuò)展能力強(qiáng)、功能強(qiáng)大等;同時(shí)又克服了它們各自的缺點(diǎn),如外設(shè)和 存儲(chǔ)器集成在芯片內(nèi),可減少電路板面積、減少系統(tǒng)中元器件個(gè)數(shù)、提高 CPU 處理能力、提高系統(tǒng)的可靠性等。 電流 PI調(diào)節(jié)器目的是實(shí)現(xiàn)電流快速、準(zhǔn)確地跟蹤給定值,故選用增量式 PI調(diào)節(jié)器;速度 PI調(diào)節(jié)器關(guān)系到系統(tǒng)的動(dòng)、靜態(tài)性能,故采用積分分離 PI調(diào)節(jié)器。 在驅(qū)動(dòng)電機(jī)運(yùn)行的過(guò)程中,系統(tǒng)還會(huì)對(duì)電機(jī)進(jìn)行“速度 — 電流”相關(guān)控制,控制器判斷電機(jī)電流與電動(dòng)車(chē)車(chē)速是否在相關(guān)范圍內(nèi),如果在相關(guān)范圍內(nèi),控制器以不超過(guò)限流設(shè)定值為依據(jù)控制電動(dòng)車(chē)車(chē)速 。 四 、 結(jié)論 無(wú)刷直流電機(jī)配以高性能高速實(shí)時(shí)數(shù)字控制系統(tǒng)器構(gòu)成的調(diào)速控制裝置,硬件軟件化,整個(gè)系統(tǒng)控制相對(duì)簡(jiǎn)單、成本低、轉(zhuǎn)速平穩(wěn)、噪音低。軟件流程如圖 2所示。 過(guò)流保護(hù)電路可以對(duì) MOSFET 進(jìn)行保護(hù),將最大電流控制在設(shè)定范圍內(nèi),當(dāng)達(dá)到闡值時(shí)關(guān)閉電機(jī),避免了 MOSFET 上通過(guò)大電流燒毀的危險(xiǎn)。 2.功率電路 驅(qū)動(dòng)電路由二極管整流橋、濾波電容以及 IGBT 逆變器構(gòu)成;驅(qū)動(dòng)電路采用IR公司的 I82130 專(zhuān)用的 MOs 功率器件專(zhuān)用門(mén)極驅(qū)動(dòng)芯片,該芯片不僅可以實(shí)現(xiàn)對(duì) IGBT 的最優(yōu)驅(qū)動(dòng),且具有完 善的保護(hù)功能,可顯著提高系統(tǒng)的集成度和可靠性;隔離部分采用高速光耦 HCPL4504,起電位隔離作用。 If there is no relevance, Further reduce the power flow controller. A negative correlation for each controller to determine the electrical current to reduce by half until (B) software strategy The system software by the main program and interrupt service routine pose. Main program to initialize the main plete system, including the register, variable initialization and the initialization of the external devices, as well as detection of I / O port status. Interrupt service routine are mainly synchronous PWM interrupt service routine, each current sampling A / D conversion after the end of interruption. Software processes as shown in Figure 2. Optimization of the selection coefficient for further experiments and research. Fourth, the conclusions Highperformance brushless DC motor with highspeed realtime digital control system for speed control devices consisting of devices, hardware and software, and control the whole system is relatively simple, low cost, speed of a smooth, low noise. Experiments show that the control system has good