结合激光速率方程理论和光纤激光器中信号光与泵浦光的传播方程,提出了适用于线型腔、环形腔光纤激光器的通用的行波理论模型,可以模拟连续波(COnTInuOuS WAVE,CW)、主动/被动调Q脉冲输出。本模型考虑到了传统的点模型(POInTMOdEl)无法计算的因素,主要包括泵浦光和信号光在腔内分布不均匀的特性,以及传输、连接等不同损耗和非掺杂光纤对激光的影响,因此具有较高的理论精度。通过有限差分方法(fInITE dIffErEnCE METHOd,fdM)推导出了求解光纤激光器行波模型的数值算法,并采用VC6.0以及C/C++与MIdEVA混合编程技术实现了该算法,最终获得了具有较高运行效率、灵活度、可以模拟到大量动态激光器运行信息的光纤激光器数值仿真分析软件。Combining with equation theories of laser rate and propagating equations of pump and signal light in fiber lasers,a general traveling-wave theory model which is suitable to fiber lasers with line-shaped and ring-shaped cavity is proposed.And continuous wave(CW),active and passive Q-switched output can be simulated.Comparing with traditional point models,the model has higher accuracy in theory for considering more elements such as non-uniform distribution characteristic of pump and signal light in cavities as well as the influence on laser from different losses such as transmission and connection and non-doped fiber.According to finite difference method(FDM),the numerical algorithm of traveling-wave model is educed.And the algorithm is implemented by VC 6.0 and hybrid programming technology of C/C++ and mideva.Numerical simulation analysis software with high operation efficiency and flexibility for fiber lasers is obtained finally.And plenty of dynamic operation information of lasers is simulated by the software