1. Trang chủ
  2. » Thể loại khác

Tự động hóa ngày nay

4 2 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 4
Dung lượng 212,47 KB

Nội dung

mm mmmKf- \ ^ • A> Dieu khien tdc dong c6 Icliong dong bo theo nguyen tac v/F si> dung vi cJieu khien PSOC CYSC294B6 DAO HIEU Dai hoc Mo - Dia chat Ha Noi I Dat van de Trong bai bao trUde [1], tac gia da trinh bay cd sd ly thuyet de xay dUng mdt bd dieu khien cho nghich lUu ngudn ap Tren eP sd cac ket qua ve mat md phdng da dat dupe, bai bao tiep tuc gidi thieu giai phap ifng dung vl dieu khien dieu khien nghich lUu ngudn ap Td dd xay dUng bd dieu khien tdc dp ddng cd khdng 52| TUOpNG HOA NGAY NAY • (So 10/2009) ddng bd theo nguyen tac V/f sd dung vl dieu khien PSoC CY8C29466 Phan cdn lai cua bai bao dUde bd cue nhU sau: Muc I I : Nguyen ly dieu khien V/f - Muc I I I : Hp vl dieu khien PSoC va each sd dung vl dieu khien PSoC CY8C29466 de thi/e hien thuat toan phat xung dieu khien [1] - Muc IV: SP dd nguyen ly cua mach dieu khien phat xung, IQu dd thuat toan cua chUPng trinh dieu khien va ket qua chay thd nghiem - Muc V: Ket luan I I Dieu khien V/f: Tdc dp cua ddng ed khdng ddng bp (OCKOB) phu thupc tri/c tiep tan sd cua ngudn ciip va so ddi ei/c cua ddng cd theo cdng thifc CO = a)„.s = M vdi COo = -" ^ p va s la he so trLfdt cua ddng cd.Oo dd mdt nhu'ng giai phap phd bien hien de thay ddi tdc dp cua ddng HQC &LAM Breakdown TorqiM • A ! TorqiM and Volteo* iBMeSoeMi Ne - SHp Ns Speed b) Hinh Quan he momen-tde dp ddng cd khdng ddng bd a) Khi ciip ngudn trUc tiep b) Khi dieu khien v/f cd khdng dong bd la thay ddi tan sd f cua ngudn cifp vao ddng eP Mdmen xoan tren trpe OCKOB phu thupc trUe tiep vao ti sd gltfa dien ap va tan sd cua ngudn cap Viec di'eu khien thay doi dien ap va tan sd cua ngudn cap ma dam bao cho ti sd tren la khdng ddi dUde gpi la dieu khien V/f ma ta dang mong mudn thUc hien Quan sat cae mdi quan he ddng dien tdc dp; mdmen - tdc dp tren hinh la va cac mdi quan he dien ap - tdc dp; mdmentdc dp tren hinh l b ed the thiiy rang ddng ed dUpe dieu khien v/f cd mdt sd Uu diem: - Oien ap khdi ddng thap lam cho ddng khdi ddng thiip - Mien on dinh cua mdmen Idn dan bden mien lam viec on dinh ciia ddng cP Idn - Cd the dUa du'dc tdc dp ddng ed len tren tdc dp dinh mife gidi ban ma nha san xuiit cho phep Tuy nhien dd dien ap khdng dUPe tang ma chi cd the tang tan sd Viec tang hay giam tdc dp cho ddng cP dUde thi/c hien qua viec thay ddi tan sd cua ngudn dat vao ddng cP I I I Ho vi dieu khien PSoC va each sir dung vi dieu khien PSoC CY8C29466 de thUc hien thuat toan phat xung dieu khien * Hp vi dieu khien PSoC: PsoC la mot tif viet tat cua cum t d tieng anh Programmable System on Chip, nghTa la he thdng kha trinh tren mdt chip Cac chip che tao theo cdng nghe PsoC cho phep thay dd'i dUde cau hinh de dang bang each gan chQc nang cho cac khdi tai nguyen ed san tren chip Hdn nCfa, nd cdn ed the ket ndi tUdng ddi mem deo eac khdi chifc nang vdi hoac giu'a cac khdi chifc nang vdi cac cdng vao Chinh vi vay ma PSoC ed the thay the cho riit nhieu chifc nang nen cua mot sd he thdng cP ban chi bang mdt ddn chip Phan mem lap trinh cho cac chip PSoC cua Cypress cd ten gpi la PSoC Designer Phan mem lap trinh dUpc xay dUng tren ed sd hUdng ddi tUPng va cau true module hda Mdi khdi chifc nang la mot module mem Viec lap cau hinh cho chip nhU the nao la thupc vao ngUdi lap trinh thdng qua mdt sd thU vien chuiin [2] NgUdi lap trinh thiet lap eau hinh tren chip chi ddn gian bang each mudn chip cd chifc nang gi thi keo chifc nang dd tha vao khdi tai nguyen sd hoac tUdng tU, hoac ea hai theo td'ng chQc nang Viec thiet lap ngat tren chan nao, loai ngat la gi, eac chan vao boat ddng d che dp nhU the nao deu thupc vao viec thiet lap cua ngUdi lap trinh thiet ke va lap trinh cho PSoC Chip PSoC cung cap: - Bd vi xQ ly vdi ciiu true Harvard ( ciiu true ma bus du' lieu, bus dia chi va tin hieu dieu khien cua bd nhd chUdng trinh va bd nhd dQ lieu doe lap vdi nhau) [2] - Cac khdi ngoai vi sd va tUdng tU cd the dupe sd dung ddc lap hoac ket hdp cho cac nhiem vu khac [2] - Bd nhd linh boat tren chip [2] - Xung nhip cd kha nang lap trinh dUde [2]- Cac ngoai vi du'dc thiet lap san nhU bd dinh thdi, cae module truyen thdng, [2] * Giai phap su'dung vi dieu khien PSoC de phat xung dieu khien: Tren eP sd ly thuyet da dUde trinh bay d bai bao trUde [1], glal phap dUde dUa de thUe hien phat cae chudi xung dieu khien nhUsau: VI dieu khien ho PSoC d^idc li/a chpn la loai CY8C29466, lUa chpn sd khoang chia cua mdt nQa chu ky hinh sin la n = 12, dd mdi khoang chia la gdc p tUPng dng vdi mdt khoang thdi gian gpi la T, dd gdc lech giifa hai pha la "" se ifng vdi khoang thdi gian la 4T, [1] Sif dung mdt bd Timer 16 bit de tinh khoang thdi gian T Mdi bd Timer xay ngat thi cd nghTa la da du khoang thdi gian T va bd Timer se dUpe nap lai TI 2n : : : : VM Vb: Vw Vw Vb5 ^^ \ Vb6 Hinh Nguyen tac phat xung dieu khien SQ dung sau bd PWM bit de phat xung dieu khien cho sau van ban dan theo nguyen tac nhU hinh Theo dd cac chuol xung dieu khien cd chu ky 2it va lech pha mdt gdc la ni7> Qng vdi khoang thdi gian la 2T SQ dung bdn bd dem Counter bit cho nut dieu khien Cac bd dem cd gia trj dat bang Khi mdt nut dUpc an, se xay ngat cua bd dem tUdng ifng, chUdng trinh ngat xac dinh nut da dupe an Giai phap giup lam giam hien tUdng nhieu Op rdng cua cac chudi xung di'eu khien dupe nap lai : - Xay ngat cua Timer - Xay ngat cua cac nut dieu khien SQ dung IC dieu khien md cho IGBT (IGBT driver) loai IR2103 de dieu khien ddng md cho IGBT nham dam bao cac ed che boat ddng cho IGBT va bao ve cac van (S6 10/2009) •* TU BONG HOA NGAY NAY '53 HOC C8 P07 P05 P03 P01 P27 P25 P23 P17 P15 '^"lo" 11 12 13 14 PS-I 28 27 26 25 24 23 ? ? 21 ^ 9_ P-13 PH datSV 20 19 18 17 IS 15 5V P06 PM P02 POO P2e P24 P22 P26 datSV _Lo II J« STOP Pie P14 P12 P10 RH < sat J7 UP R1S 33K -ESS- o2- C4 J9 RESET •Jo •^S/S,^ S C3 XRES _dsgv_ 5V ol C2 CY8C29446 R16 R17 33K J5 START R2a XRES o2- 2.7K DOWN "•gy 33K -ESL HI- Hinh : Mach dieu khien Khoi tao cac bo PWTvl va Timer Khoi dong LCD ADC va cac Counter Hien thj trang thai cha tren LCD - ^ - t ^ T s t o p = TRUE^ Dat thong so he thong Khcri dong cac bo PWM Timer : ^ S t o p = TRUt~ Dijng cac bo PWM Timer ban dan Chu'dng trinh dieu khien sd dung eac ngat de kiem tra trang thai va cap nhat gia tri mdi Cac chUdng trinh ngat se thi/e hien cac nhiem vu nhUsau: * Ngat thdi gian cua Timer : - Kiem tra thdi diem de thUe hien viec dieu khien phat xung ddng md cac IGBT - Nap lai gia tri cho Timer va cac bd PWM * Ngat cua nut an START/OK : - Xac nhan cac thdng sd li/a chpn va chuyen sang dat thdng sd khac thiet bi d trang thai dat thdng sd - Oieu khien khdi ddng he thdng de dUa thiet bi vao lam viec * Ngat cua nut an STOP/MENU : - Vao che dp dat thdng sd neu he thdng chUa d trang thai lam viec - Oieu khien he thdng ddng lam viec neu he thdng dang d trang thai lam viec - Thoat khdi che dp dat thdng sd * Ngat cua nut UP va DOWN : - Thi/c hien viec tang giam eac thdng sd dat neu thiet bi d che dp dat thdng sd - ThUc hien viec tang giam tan sd ddng cd dang lam viec neu ban dau li/a chpn viec dieu khien bang nut an IV Sd nguyen ly cua mach dieu khien phat xung va \\i\x thuat toan cua chuong trinh dieu khien * Sd dd mach dieu khien : * LUu dd thuat toan chUdng trinh dieu khien: * Ket qua chay thif nghiem : CONG TY TNHH KHOA HOC KY THUAT APOLLO APOLLO • ADD: Phong 1606, Tang 16, Nha C3, Khu Do Thj My Binh I TCr Liem, Ha Noi • Tel: 04 62872425 - 0976202000 • Fax: 04 62872422 • Email: jiang©craneparts.com.tw "Web: http://www.apollotech.com.vn HQC & LAM m HIN 3< U21A TLP621-2 GND12V COM VB VCC diodschotky ; C13 c LO HO V Ket luan 012 4,rui Ket qua chay thif nghiem cho thay rang dieu khien dong cd khong dong bp chay dUdi toe dp dinh mife bang phUPng phap thay doi tan so thi ngoai viec dieu chinh de dang, trdn tru, phUdng phap giiip tiet kiem rat nhieu nang lUpng ma dong cP tieu thu viec ca dong va ap tren phan ifng ciia dong cd deu giam Ket qua thif nghiem se la tien de cho viec thiet ke nhu'ng bp dieu khien toe dp dong ed ddn gian, gia thap cho nhieu nhifng ifng dung tiet kiem nang lupng khac GND12V 3< U21B TLP621-2 GND12V 34 RIO U2ZA TLP621-2 GND12V UfT LO HIN HO COM VB VCC diode chotky cis; C14 3< U22B TLP621-2 GND12V 5V R13 ^ PI r >• K - ^ k J U23A TLP621-2 GND12V PI 12V S \ 5V R15 ^XS/^ S k.1 12V diode chotky 1K P13 PWM J PWM W^r - •< k J ^ R14 10K C16 C C17^ 4,7uF CIH" HIN LO HO COM VB VCC VS R2103/SO GND12V ] U23B TLP621-2 GND12V Hinh : Mach phat xung dieu khien cac van ban dan IGBT Mach du'dc chay thir nghiem dieu l

Ngày đăng: 08/12/2022, 21:20

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w