摘要:在研制机载(飞机装载)用电设备中需要对其电源耐压指标进行测试,其耐压指标要求满足GJB181-86,即产生80V/8V/50ms/5次脉冲电压;或满足GJB181A-2003,即产生50V/18V/50ms/5次脉冲电压。根据按键信号给到8051f330来控制两路AC/DC输出端继电器的闭合与断开来产生所需浪涌电压,8051f330同时根据采样到浪涌发生器的输入输出端口电压来判断浪涌发生器工作状态并以指示灯显示,若浪涌发生器工作异常,浪涌发生器自动识别并关闭输入输出,保护浪涌发生器和测试的机载用电设备。本文还通过proteus仿真软件对浪涌发生器的电路和控制程序进行了仿真,最后对浪涌发生器样机进行供电和调试,并由示波器抓拍的输出电压波形图也验证了方案可行行,而且也验证了产生的浪涌电压能够同时满足GJB181-86和GJB181A-2003标准。