版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
1、<p><b> 外文原文</b></p><p> Design of PWM Controller in a MCS-51 Compatible MCU</p><p> Introduction</p><p> PWM technology is a kind of voltage regulation method
2、by controlling the switch frequency of DC power with fixed voltage to modify the two-end voltage of load.This technology can be used for a variety of applications including motor control, temperature control and pressure
3、 control and so on. In the motor control system shown as Fig. 1, through adjusting the duty cycle of power switch, the speed of motor can be controlled. As shown in Fig. 2, under the control of PWM signal, the average of
4、 volta</p><p> Fig.1: The Relationship Fig.2 Architecture of</p><p> between Voltage of Armature PWM Module</p><p> Therefore, the
5、 motor speed can be controlled with regularly adjusting the time of turn-on and turn-off. There are three methods could achieve the adjustment of duty cycle: (1) Adjust frequency with fixed pulse-width. (2) Adjust both f
6、requency and pulse-width. (3) Adjust pulse-width with fixed frequency. </p><p> Active steering control in the form of secondary yaw control (SYC) and actuated wheelset yaw (AWY)have been in prototype devel
7、opment. This paper presents a new active steering bogie design, actuated yaw force steering (AY-FS), that is able to steer under high traction loads in tight curves. The AY-FS bogie design is compared with the AWY design
8、. The steering performance AWY under high traction loads has not been previously reported. This paper examines five control methods, three for AWY and two</p><p> Active suspensions and more recently active
9、 steering has received increasing interest for high-speed train sets [1,2]. Active steering control in the form secondary yaw control (SYC) [3] and actuated wheelset yaw (AWY) [4] exist in developments up to prototype st
10、age. SYC bogies control the bogie yaw angle Figure 1 and can improve the wear or creep force saturation at the wheel–rail contact which is the concern for hauling locomotives. However, improvement is limited to the even
11、distribution of w</p><p> Generally, there are four methods to generate the PWM signals as the following: (1) Generated by the device composed of separate logic components. This method is the original metho
12、d which now has been discarded. (2) Generated by software. This method need CPU to continuously operate instructions to control I/O pins for generating PWM output signals, so that CPU can not do anything other. Therefore
13、, the method also has been discarded gradually. (3) Generated by ASIC. The ASIC makes a decrease of </p><p> In this paper, we propose a PWM module embedded in a 8051 microcontroller. The PWM module can sup
14、port PWM pulse signals by initializing the control register and duty-cycle register with three methods just mentioned above to adjust the duty cycle and several operation modes to add flexibility for user. </p>&l
15、t;p> The following section explains the architecture of the PWM module and the architectures of basic functional blocks. Section3 describes two operation modes. Experimental and simulation results verifying proper sy
16、stem operation are also shown in that section. Depending on mode of operation, the PWM module creates one or more pulse-width modulated signals, whose duty ratios can be independently adjusted.</p><p> Impl
17、ementation of PWM module in MCU</p><p> Overview of the PWM module</p><p> A block diagram of PWM module is shown in Fig.3. It is clearly from the diagram that the whole module is composed of
18、two sections: PWM signal generator and dead-time generator with channel select logic. The PWM function can be started by the user through implementing some instructions for initializing the PWM module. In particular, the
19、 following power and motion control applications are supported:</p><p> ? DC Motor</p><p> ? Uninterruptablel Power Supply (UPS)</p><p> ·The PWM module also has the followi
20、ng features:</p><p> ? Two PWM signal outputs with complementary or independent operation</p><p> ? Hardware dead-time generators for complementary mode</p><p> ? Duty cycle upda
21、tes are configurable to be immediated or synchronized to the PWM</p><p> Fig.3 Architecture of PWM Module</p><p> Details of the architecture</p><p> PMW generator</p>&
22、lt;p> The architecture of the 2-output PWM generator shown in Fig.4 is based on a 16-bit resolution counter which creates a pulse-width modulated signal. The system is synthesized by a system clock signal whose frequ
23、ency can be divided by 4 times or 12 times through setting the value of T3M for PWM0 or T4M for PWM1 in the special register PWMCON as shown in Fig.4. To PWM0 generator, the clock to 16-bit counter will be pre-divided by
24、 4 times by default when T3M is set to zero. And the clock will be div</p><p> Fig .4 Bit Mapping of PWMCON</p><p> Table 1: The Bit Definition in PWMCON</p><p> Channel-select
25、logic</p><p> The follow Fig. 5 shows the channel-select logic which is useful in Complementary Mode. From this diagram, it is clear to know that signal CP and CPWM control the source of PWMH and PWML. And
26、the details about the two control signals will be discussed in the section 3, and the architecture of dead-time generator will also be discussed in section 5 for the continuity of Complementary Mode.</p><p>
27、 Fig. 5 Diagram of Channel-select Logic</p><p> Operation Mode and Simulation Results</p><p> The design has two operation modes: Independent Mode and Complimentary Mode. By setting the cor
28、responding bit CPWM in register PWMCON shown in Fig.6 user can select one of the two operation modes. When CPWM is set to zero, PWM module will work in Independent Mode, whereas, PWM module will work in Complimentary Mod
29、e. In the following of this section, the two operation mode will be explained respectively in detail and the simulation results of the PWM module from the Synoposys VCS EDA platform whi</p><p> Independent
30、PWM Output Mode</p><p> An Independent PWM Output mode is useful for driving loads such as the one shown in Figure 6. A particular PWM output is in the Independent Output mode when the corresponding CP bit
31、in the PWMCON register is set to zero.In this case, two-channel PWM outputs are independent of each other. The signal on pin PWM0/PWMH is from PWM0 generator, and the signal on pin PWM1/PWML is from PWM0 generator. The s
32、eparate case is achieved by the channel-select logic shown in Fig. 6. The PWM I/O pins are set to </p><p> Fig6 the Waveform of PWM Outputs in Independent Mode</p><p> Complementary PWM Outpu
33、t Mode</p><p> The Complementary Output mode is used to drive inverter loads similar to the one shown in Figure 7. This inverter topology is typical for DC applications. In Complementary Output Mode, the pa
34、ir of PWM outputs cannot be active simultaneously. The PWM channel and output pin pair are internally configured through channel-select logic as shown in Figure7. A dead-time may be optionally inserted during device swit
35、ching where both outputs are inactive for a short period.</p><p> Fig 7 : Typical Load for Complementary PWM Outputs</p><p> The Complementary mode is selected for PWM I/O pin pair by setting
36、the appropriate CPWM bit in PWMCON. In this case, PSEL is in effect. PWMH and PWML will come from PWM0 generator when PSEL is set to zero, when the signals from PWM1 generator is useless, whereas PWMH and PWML will come
37、from PWM1 generator when PSEL is set to 1, when the signals from PWM0 generator is useless. In the process of producing the PWM outputs in Complementary Mode, the dead-time will be inserted to be discussed in the </p&
38、gt;<p> Dead-time Control </p><p> Dead-time generation is automatically enabled when PWM I/O pin pair is operating in the Complementary Output mode. Because the power output devices cannot switch i
39、nstantaneously, some amount of time must be provided between the turn-off event of one PWM output in a complementary pair and the turn-on event of the other transistor. The 2-output PWM module has one programmable dead-t
40、ime with 8-bit register.The complementary output pair for the PWM module has an 8-bit down counter that is used to pr</p><p> Fig 8a Dead-time Unit Block Diagram</p><p> Fig. 8b the Waveform
41、s of PWM Outputs in Complementary Mode</p><p> Conclusions</p><p> In this paper, we have designed PWM module based on an 8-bit MCU compatible with 8051 family. The design can generate 2-chann
42、el programmable periodic PWM signals with two operation mode, Independent Mode and Complementary Mode in which dead-time will be inserted. The simulation results on the EDA platform have proven its correctness and useful
43、ness.</p><p><b> 中文翻譯</b></p><p> 基于C51兼容微處理器單片機的PWM控制器設(shè)計</p><p><b> 導(dǎo) 言</b></p><p> PWM技術(shù),是一種電壓調(diào)節(jié)方法,通過控制具有固定電壓的直流電源的開關(guān)頻率來調(diào)整兩端負(fù)荷電壓。這種技術(shù)能用于各
44、種應(yīng)用包括電機、溫度、和壓力的控制,等等。在電機系統(tǒng)中的應(yīng)用,如圖1所示,通過調(diào)整電源開關(guān)的占空比,來控制電機的速度,如圖2所示,平均電壓通過改變占空比來控制電機的速度(在圖中D=t1/T),這樣當(dāng)電機的電源打開時,它的速度加快,相反,當(dāng)電源關(guān)閉時,速度下降。</p><p> 圖1 PWM控制框圖 圖2 電壓的電樞和占空比之間的關(guān)系</p><p>
45、; 所以,通過定期地調(diào)整時間的開通和關(guān)斷來控制電機的轉(zhuǎn)速:這兒有三種方法可以完成占空比的調(diào)整(1)通過脈寬來調(diào)整頻率;(2)通過同時調(diào)整頻率和脈寬;(3)通過頻率來調(diào)整脈寬。</p><p> 在二次偏航控制和驅(qū)動車輪偏航的形式下的主動轉(zhuǎn)向控制已經(jīng)處在樣板階段。本文提出一種新的主動轉(zhuǎn)向轉(zhuǎn)向架設(shè)計、啟動的偏航力量轉(zhuǎn)向(AY-FS),能夠避免在高牽引負(fù)荷在緊張的曲線。AY-FS的轉(zhuǎn)向架的設(shè)計是和AWY的設(shè)計配套的
46、。在高牽引負(fù)載的情況下的轉(zhuǎn)向性能還沒有明顯的報道。本文介紹了五個控制方法,三個是給AWY,兩個是給AY-FS。五個方法是為了評估在可選擇可控制的情況下牽引彎曲的控制性能和穩(wěn)定性。與被動轉(zhuǎn)向架的設(shè)計有什么區(qū)別。結(jié)果表明,AY-FS轉(zhuǎn)向架比AWY的彎曲性能好的多。其控制必須使用兩偏航角和方向盤的角度轉(zhuǎn)向架才打到的最佳牽引性能,而AWY是不可能達到的。在新的轉(zhuǎn)向架設(shè)計下,AY_FS的牽引彎曲和穩(wěn)定性比AWY好。</p><
47、p> 主動懸架和最近的主動轉(zhuǎn)向系統(tǒng)在高速列車方面得到了越來越多的好處。主動轉(zhuǎn)向控制是二偏航控制形式和驅(qū)動輪對偏航存在發(fā)展起來的原型階段。圖1為SYC的轉(zhuǎn)向架的控制和轉(zhuǎn)向架擺角??梢蕴岣吣p和滑動力,這樣可以在車輪之間加強飽和。從而關(guān)注牽引機車的軌接觸。然而,在改進均勻的輪對攻角和接觸力是有限的。SYC轉(zhuǎn)向架更成功的提高穩(wěn)定性,相比蠕變能量更能減少轉(zhuǎn)移軌道。軌道移動的力量成為限制只有高速傾斜列車。最近的專利是AWY的三軸轉(zhuǎn)向架包括
48、控制懸架變形和陀螺輸入。</p><p> 一般情況下,有四中方法可以產(chǎn)生PWM信號,正如以下:(1)由獨立邏輯元件組成的裝置產(chǎn)生,這種是原始的方法,現(xiàn)在已被淘汰;(2)通過軟件產(chǎn)生,這種方法需要CPU持續(xù)操作代碼來控制I/O口,以致于CPU不能做其他任何事。所以,這種方法也漸漸被淘汰;(3)通過ASIC產(chǎn)生,ASIC減少了CPU的負(fù)擔(dān),并獲得了穩(wěn)定的工作,一般有幾個功能,如電流保護、死區(qū)時間調(diào)整等等;然而這種
49、方法現(xiàn)在已被廣泛用于許多場合;(4)通過單片機的PWM功能模塊產(chǎn)生,只有當(dāng)需要改變占空比的時候CPU失控,這樣就不能產(chǎn)生PWM信號,否則通過在單片機里嵌入PWM功能模塊,并使這功能初始化,單片機的PWM口也能自動產(chǎn)生PWM信號。這種方法將在文章中講述。</p><p> 在本文中,我們建議在8051單片機里嵌入一個PWM模塊。該PWM模塊,通過初始化控制寄存器和寄存器的占空比,可以支持PWM脈沖信號,用剛才提到
50、的上述三種方法調(diào)整占空比和幾個操作模式,以增加用戶彈性。</p><p> 以下這部分解釋PWM模塊和基本功能模塊的結(jié)構(gòu)。第三部分描述兩種操作模式。這部分還講述了實驗和仿真的結(jié)果驗證了合適的系統(tǒng)操作。通過操作模式,PWM模塊產(chǎn)生一個或更多的脈寬模塊信號,它們的比率可以自主調(diào)整。</p><p> 在單片機上執(zhí)行PWM模塊</p><p><b> P
51、WM模塊的概述</b></p><p> PWM模塊如圖3所示,從圖中,可以很清楚得看到整個模塊有兩部分組成:PWM信號產(chǎn)生器和帶有頻道選擇邏輯的死區(qū)時間產(chǎn)生器。用戶可以通過執(zhí)行一些代碼使PWM模塊初始化,從而啟動其功能。在特殊情況下,支持以下電源和運動控制應(yīng)用:</p><p><b> 1.直流電機</b></p><p>
52、<b> 2.持續(xù)電源供應(yīng)</b></p><p> PWM模塊也有以下特征:</p><p> 1.兩個PWM輸出信號以互補或獨立的方式運行</p><p> 2.帶有互補模式的硬件死區(qū)電動機</p><p> 3.占空比更新設(shè)置應(yīng)立刻或與PWM同步</p><p> 圖3 P
53、WM模塊的結(jié)構(gòu)</p><p><b> 結(jié)構(gòu)的詳細組成</b></p><p><b> PWM電動機</b></p><p> 二輸出PWM電動機的結(jié)構(gòu)如圖2.1所示,該結(jié)構(gòu)是基于能產(chǎn)生脈寬調(diào)制信號上的16位計數(shù)器。該系統(tǒng)由四分頻或十二分頻的系統(tǒng)時鐘信號合成,時鐘信號的頻率可通過對在特殊寄存器PWMCON中的PW
54、M0電機的T3M或PWM1電機的T4M的值進行設(shè)置而調(diào)整,如圖4所示:對于PWM0電機,當(dāng)T3M設(shè)置為零時,16位計數(shù)器時鐘將被默認(rèn)預(yù)分為四分頻,當(dāng)T3M設(shè)置為1時,始終將被十二分頻;PWM同樣有這種功能。在PWMCON中的其它位的定義,詳見表1</p><p> 圖4 PWMCON的位的位置</p><p> 表1 PWMCON的位的定義</p><p
55、><b> 通道選擇邏輯 </b></p><p> 通道選擇邏輯在互補模式中很有用,如圖5所示。從表中可以清楚得看出,信號的CP和CPWM控制PWM1和PWML的來源,這兩個控制信號的詳細情況將在第三部分講述,死區(qū)時間電機的結(jié)構(gòu)也將在一下部分的連續(xù)性互補模式中講述。</p><p> 圖5 通道選擇邏輯表</p><p>&
56、lt;b> 運行模式和仿真結(jié)果</b></p><p> 這種設(shè)計有兩種運行模式:獨立模式和互補模式。通過在PWMCON寄存器中設(shè)置相應(yīng)的位CPWM,如圖四所示,用戶可以選擇其中一個運行模式。當(dāng)CPWM設(shè)置為0時,PWM模式將工作在獨立模式,COWM設(shè)置為1時,將工作在互補模式。在這部分兩種模式將分別被詳細講述,從VCS EDA平臺的PWM模塊的仿真結(jié)果證明這種設(shè)計。</p>
57、<p><b> 獨立PWM輸出模塊</b></p><p> 獨立PWM輸出模塊對于驅(qū)動負(fù)荷很有用,如圖6所示。當(dāng)在PWMCON寄存器中相應(yīng)的CP位設(shè)置為0,特殊的PWM輸出模塊是在獨立的輸出模式里。在這種情況下,PWM的兩種通道輸出是相互獨立的。在PWM0/PWML口的信號是從PWM0電機產(chǎn)生的。通道選擇邏輯完成單獨情況,如圖6所示。PWM I/O口通過默認(rèn)意見復(fù)位設(shè)置為獨
58、立模式,但死區(qū)時間電機不能在獨立模式下工作。仿真結(jié)果如圖6所示。Tr4和Tr3分別與PWM0和PWM1相連,實際上,從圖看,單片機的P1[5]/P[4]口被用做PWMH/PWML或是一般的I/O口。</p><p> 圖6 獨立模式下的PWM波形</p><p><b> 互補PWM輸出模式</b></p><p> 互補輸出模式可
59、以用于驅(qū)動逆變器負(fù)載,如圖7所示。這種逆變器拓?fù)鋵W(xué)是典型的直流裝置。在互補輸出模式,PWM的兩個輸出不能同時用。PWM通道和輸出口都是通過通道選擇邏輯內(nèi)部配置的,如圖7所示。死區(qū)時間是在兩端輸出的開關(guān)裝置沒有工作的短時期時可以選擇插入的。</p><p> 圖7 PWM互補輸出的典型電路</p><p> PWM I/O口通過在PWMCON中設(shè)置適當(dāng)?shù)腃PWM位選擇互補模式,在這
60、種情況下,PSWL是有效果的。當(dāng)PSEL設(shè)置為0時,PWMH和PWML將來自PWM0電機,這時來自PWM1電機的信號是沒用的,而當(dāng)PSEL設(shè)置為1時,PWMH和PWML將來自PWM1電機,這時來自PWM0電機的信號是沒用的。在互補模式時產(chǎn)生PWM輸出信號的過程中,死區(qū)時間將被插入在以下這部分講述。</p><p><b> 死區(qū)時間控制</b></p><p>
61、當(dāng)PWM I/O口在互補輸出模式運行時,死區(qū)時間是自動啟用生成的,因為電源輸出裝置不能瞬間開關(guān),在互補對模式下,一個PWM輸出的關(guān)閉與其它晶體管打開之間要一定的時間,2輸出的PWM模塊有一個帶有8位寄存器的可編程死區(qū)時間。 </p><p> PWM模塊的互補輸出對已有一個用于產(chǎn)生死區(qū)時間插入的8位計數(shù)器。死區(qū)時間單元有一個上升沿和下降沿探測器,而這個探測器與PWM電機產(chǎn)生的PWM信號連接。當(dāng)?shù)竭_PWM邊沿時
62、,死區(qū)時間被載入計時器,根據(jù)是否是上升沿或下降沿,在互補輸出端口上的其中一個過度被延遲,直到計數(shù)器降為0。PWM輸出對的死區(qū)時間表,如圖8a所示:</p><p> 圖8a 死區(qū)時間單元模塊圖</p><p> 圖8b 互補模式的PWM輸出波形</p><p><b> 總 結(jié):</b></p><p&g
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 眾賞文庫僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 外文資料翻譯--基于c51兼容微處理器單片機的pwm控制器設(shè)計
- 畢業(yè)設(shè)計外文翻譯--基于c51兼容微處理器單片機的pwm控制器設(shè)計
- 畢業(yè)設(shè)計外文翻譯--基于c51兼容微處理器單片機的pwm控制器設(shè)計
- 畢業(yè)設(shè)計外文翻譯--基于c51兼容微處理器單片機的pwm控制器設(shè)計
- 畢業(yè)設(shè)計外文翻譯--基于C51兼容微處理器單片機的PWM控制器設(shè)計.doc
- 畢業(yè)設(shè)計外文翻譯--基于c51兼容微處理器單片機的pwm控制器設(shè)計(英文)
- 畢業(yè)設(shè)計外文翻譯--基于C51兼容微處理器單片機的PWM控制器設(shè)計.doc
- 設(shè)計通過mcs-51單片機兼容的pwm控制器【外文翻譯】
- 外文翻譯---at89c51—高性能8位微處理器(俗稱單片機)
- 基于c51單片機的簡易計算器設(shè)計
- 基于at89c51單片機的電梯控制器設(shè)計
- 基于單片機的光控制器【外文翻譯】
- 基于單片機的光控制器【外文翻譯】
- 基于c51單片機簡易計算器的課程設(shè)計
- 單片機課程設(shè)計基于c51簡易計算器
- 基于51單片機的水溫控制器設(shè)計
- 外文翻譯--基于單片機控制的電梯控制器
- 外文翻譯--微處理器
- 微處理器外文翻譯
- 基于at-89c51單片機課程設(shè)計彩燈控制器
評論
0/150
提交評論