ĐỒ ÁN TỐT NGHIỆP
Hệ số E Cấp bảo vệ lựa chọn Dòng xung đỉnh
( KA)
Khoảng cách tiên đạo
( m )
E > 0,98 Cấp 1 + biện pháp bảo
vệ bổ sung
- -
0,95 [ E
≤
0,98 Cấp 1 2,8 20
0,8 [ E < 0,95 Cấp 2 9,5 45
0 < E < 0,8 Cấp 3 14,7 60
Khi một hệ thống chống sét có hệ số E
’
nhỏ hơn hệ số tính toán E thì phải sử
dụng một số biện pháp bổ sung để tăng cường hiệu quả của các hệ thống, các biện
pháp tiêu biểu là :
♦ Giảm điện áp bước và điện áp tiếp xúc.
♦ Giảm ảnh hưởng quá điện áp xung lên các thiết bò điện tử.
4. Lưu đồ:
S
Đ
S
Đ S
Đ
Đ S
TRANG 53
Bắt đầu
Nhập các thông số L, W, H, C1,
C2, C3, C4, C5, Ngm
Nc:=5.5/C2*C3*C4*C5
Ac:=L*W+6*H*(L+W)+9*π*H²
Nd:=Ac*C1*Ngm*10-²
Nd>
Nc
0.95≤E
≤0.98
0.8≤E<0.95
E>0.
98
E:=1-Nc/Nd
Không cần
bảo vệ
Cấp 1 + bổ sung
Cấp 1
E:=1-Nc/Nd E:=1-Nc/Nd
Cấp 2
Cấp 3
ĐỒ ÁN TỐT NGHIỆP
5. Hướng dẫn sử dụng:
♦ Khởi động MATLAB 5.3.
♦ Chuyển thư mục hiện hành sang ổ đóa A bằng cách đánh
c:\>cd A:\ ↵
♦ Sau đó gọi file spkt bằng cách ngập lệnh spkt tại dấu nhắc của
chương trình :
A:\>spkt↵
♦ Giao diện của chương trình xuất hiện như hình ve.õ
♦ Nhập mật khẩu " anh " vào ô mật khẩu và nhấn phím Enter (↵)
TRANG 54
Kết thúc
ĐỒ ÁN TỐT NGHIỆP
♦ Cửa sổ làm việc của chương trình xuất hiện như hình vẽ :
♦ Nhập các thông số cần thiết vào: chiều dài L, chiều rộng W,
chiều cao H, mật độ phóng điện sét trong một năm trên một km Ngm,
các hệ số của công trình: C1, C2, C3, C4, C5.
♦ Đưa con trỏ tới mục tính toán, ấn phím Enter (↵ ).
♦ Chương trình tự động tính toán và đưa ra kết quả.
6. Các kết quả:
Nhập vào các thông số: dài L=68m, rộng W=40m, cao H=11m, C1=1, C2=2,
C3=3, C4=3, C5=10. Kết quả tính toán được hiển thò như sau:
TRANG 55
ĐỒ ÁN TỐT NGHIỆP
Thay đổi các thông số cần tính toán, dài L=44m, rộng W=25m, cao H=11m,
c1=1, c2=2, C3=3, C4=3, C5=10 ta được kết quả như sau :
7. Mã nguồn:
a) Demo
function demo()
t=(1:2:15)'*pi/8;
x=sin(t);
TRANG 56
ĐỒ ÁN TỐT NGHIỆP
y=cos(t);
fill(x,y,'r');
axis equal;
text(0,0,'CHỐNG SÉT','color',[1 1 1],
'fontname','Vni-times','fontsize',40,
'HorizontalAlignment','center');
b) Giao diện:
*Tao cac giao dien
pw=get(h1_Epw,'string');
if strcmp(pw,'anh')
set(h1_Title1,'visible','off');
set(h1_CT,'visible','off');
set(h1_HCG,'visible','off');
set(h1_TPW,'visible','off');
set(h1_Epw,'visible','off');
set(h1_THE,'visible','on');
set(h1_Frame1,'visible','on');
set(h1_Frame2,'visible','on');
set(h1_Frame3,'visible','on');
set(h1_Frame4,'visible','on');
set(h1_Tlwh,'visible','on');
set(h1_TL,'visible','on');
set(h1_TW,'visible','on');
set(h1_TH,'visible','on');
set(h1_Ngmax,'visible','on');
set(h1_EL,'visible','on');
set(h1_EW,'visible','on');
set(h1_EH,'visible','on');
set(h1_ENgmax,'visible','on');
set(h1_TC,'visible','on');
set(h1_TC1,'visible','on');
set(h1_TC2,'visible','on');
set(h1_TC3,'visible','on');
set(h1_TC4,'visible','on');
TRANG 57
ĐỒ ÁN TỐT NGHIỆP
set(h1_TC5,'visible','on');
set(h1_PC1,'visible','on');
set(h1_PC2,'visible','on');
set(h1_PC3,'visible','on');
set(h1_PC4,'visible','on');
set(h1_PC5,'visible','on');
set(h1_TKQ,'visible','on');
set(h1_TNd,'visible','on');
set(h1_TNc,'visible','on');
set(h1_TE,'visible','on');
set(h1_ENd,'visible','on');
set(h1_ENc,'visible','on');
set(h1_EE,'visible','on');
set(h1_BAction,'visible','on');
demo;
end
c) spkt
load SPKT
h0 = figure('Units','points',
'Color',[0 0 0],
'Colormap',mat0,
'FileName','SPKT',
'MenuBar','none',
'Name','HE CHUYEN GIA CHONG SET',
'NumberTitle','off',
'PaperPosition',[18 180 576 432],
'PaperUnits','points',
'Position',[0 21 480 324.75],
'Tag','Fig1',
'ToolBar','none',
'DefaultaxesColor','none',
'DefaultaxesXColor',[1 0 1],
'DefaultaxesYColor',[1 0 1],
TRANG 58
ĐỒ ÁN TỐT NGHIỆP
'DefaultaxesZColor',[1 0 1]);
h1_axes = axes('Parent',h0,
'Units','pixels',
'CameraUpVector',[0 1 0],
'Color',[0 0 0],
'ColorOrder',mat1,
'Position',[232 45 386 314],
'Tag','Axes1',
'visible','off',
'XColor',[1 0 1],
'YColor',[1 0 1],
'ZColor',[1 0 1]);
h1_Title1 = uicontrol('Parent',h0,
'Units','points',
'BackgroundColor',[0 0 0],
'FontName','Vni-times',
'FontSize',20,
'ForegroundColor',[1 0 0],
'ListboxTop',0,
'Position',[37.5 242.25 405.75 59.25],
'String','TRƯỜNG ĐẠI HỌC SƯ PHẠM KỸ THUẬT
KHOA ĐIỆN ĐIỆN TỬ',
'Style','text',
'Tag','StaticText1');
h1_CT = uicontrol('Parent',h0,
'Units','points',
'BackgroundColor',[0 0 0],
'FontName','Vni-times',
'FontSize',15,
'ForegroundColor',[0 1 0],
'ListboxTop',0,
'Position',[43.5 198 96.75 19.5],
'String','Chương trình',
'Style','text',
TRANG 59
ĐỒ ÁN TỐT NGHIỆP
'Tag','StaticText2');
h1_HCG = uicontrol('Parent',h0,
'Units','points',
'BackgroundColor',[0 0 0],
'FontName','Vni-times',
'FontSize',30,
'ForegroundColor',[0 0 1],
'ListboxTop',0,
'Position',[57.75 129 395.25 37.5],
'String','XÁC ĐỊNH MỨC BẢO VỆ CHỐNG SÉT',
'Style','text',
'Tag','StaticText3');
h1_TPW = uicontrol('Parent',h0,
'Units','points',
'BackgroundColor',[0 0 0],
'FontName','Vni-times',
'FontSize',15,
'ForegroundColor',[0 1 0],
'ListboxTop',0,
'Position',[124.5 54.75 102 21.75],
'String','Nhập mật khẩu',
'Style','text',
'Tag','StaticText4');
h1_Epw = uicontrol('Parent',h0,
'Units','points',
'BackgroundColor',[1 1 1],
'ListboxTop',0,
'Position',[233.25 56.25 84.75 18],
'Style','edit',
'callback','giaodien',
'Tag','EditText1');
h1_THE = uicontrol('Parent',h0,
'Units','points',
TRANG 60
ĐỒ ÁN TỐT NGHIỆP
'BackgroundColor',[0 1 0],
'FontName','Vni-times',
'FontSize',18,
'ForegroundColor',[0.501960784313725 0
0.501960784313725],
'ListboxTop',0,
'Position',[162.75 287.25 306.75 25.5],
'String','XÁC ĐỊNH MỨC BẢO VỆ',
'visible','off',
'Style','text',
'Tag','StaticText5');
h1_Frame1 = uicontrol('Parent',h0,
'Units','points',
'BackgroundColor',[0.501960784313725
0.501960784313725 0.501960784313725],
'ListboxTop',0,
'Position',[3 7.5 150 315.75],
'Style','frame',
'visible','off',
'Tag','Frame1');
h1_Frame2 = uicontrol('Parent',h0,
'Units','points',
'BackgroundColor',[0.501960784313725
0.501960784313725 0.250980392156863],
'ListboxTop',0,
'Position',[9 222.75 138.75 79.5],
'Style','frame',
'visible','off',
'Tag','Frame2');
h1_Tlwh = uicontrol('Parent',h0,
'Units','points',
'BackgroundColor',[0.501960784313725
0.501960784313725 0.501960784313725],
'FontName','Vni-times',
'FontSize',11,
TRANG 61
ĐỒ ÁN TỐT NGHIỆP
'ForegroundColor',[0 1 0.250980392156863],
'ListboxTop',0,
'Position',[12.75 304.5 129 16.5],
'String','Nhập các thông số',
'Style','text',
'visible','off',
'Tag','StaticText6');
h1_TL = uicontrol('Parent',h0,
'Units','points',
'BackgroundColor',[0.501960784313725
0.501960784313725 0.250980392156863],
'FontName','Vni-times',
'FontSize',10,
'ForegroundColor',[1 0 0],
'ListboxTop',0,
'Position',[10.5 288 64.5 12],
'String','Thông số L',
'Style','text',
'visible','off',
'Tag','StaticText7');
h1_TW = uicontrol('Parent',h0,
'Units','points',
'BackgroundColor',[0.501960784313725
0.501960784313725 0.250980392156863],
'FontName','Vni-times',
'FontSize',10,
'ForegroundColor',[1 0 0],
'ListboxTop',0,
'Position',[10.5 269.25 64.5 12],
'String','Thông số W',
'Style','text',
'visible','off',
'Tag','StaticText7');
h1_TH = uicontrol('Parent',h0,
'Units','points',
TRANG 62
Không có nhận xét nào:
Đăng nhận xét