程序所在目錄:ex_PWM
打開,進行如下操作:
1. Project->Open ,打開該目錄中的工程文件。
2. Project->Rebuild ALL,編譯鏈接
3. File->Load Program
4. Debug->Run
可以看到電機開始轉動。本例程中PWM的頻率是1KHZ ,輸出的是兩路帶死去的PWM波形對。用戶只需更改參數(shù)XPWM即可改變電機的轉速和方向。該參數(shù)設置如下:
XPWM=2400 最大值2500
When xpwm=0-900, 逆時針方向旋轉,值越小,轉速越快
When xpwm=1600-2500, 順時針方向旋轉,值越大,轉速越快
When xpwm=900-1600,電機兩端電壓太低,基本上不足以起轉。
標簽:
Project
ex_PWM
Open
gt
上傳時間:
2017-04-26
上傳用戶:jkhjkh1982
隨著光伏發(fā)電系統(tǒng)快速發(fā)展,以及電動汽車充電樁的普及,傳統(tǒng)的剩余電流保護器無法滿足實際需求。介紹了一款B型剩余電流保護器,采用磁調制剩余電流互感器和零序電流互感器采集剩余電流。根據(jù)GB/T 22794—2017標準要求,可識別1 kHz及以下的正弦交流、帶和不帶直流分量的脈動直流、平滑直流等剩余電流信號。經(jīng)信號調理電路將電壓信號送到單片機進行采集和判斷。通過試驗測試,該樣機在測試精度和速度上均符合國家標準的相關要求。The rapid development of photovoltaic power generation systems and the popularity of electric vehicle charging piles make the traditional residual current protective devices unable to meet the actual demand.This paper proposed a type B residual current protective device,which uses the magnetically modulated residual current transformer and the zero sequence current transformer to acquire the residual current.According to the requirements of GB/T 22794—2017,the type B residual current protective device can detect sinusoidal AC residual current of 1KHZ and below 1KHZ,pulsating DC residual current with and without DC component,smooth DC residual current and so on.The signal processing circuit sends the voltage signal to the MCU for acquisition and judgment.Through experimental tests,the device meets the relevant requirements of national standards in terms of test accuracy and speed.
標簽:
電流保護器
上傳時間:
2022-03-27
上傳用戶: