The invention discloses a port excitation conversion method from a time domain current source to a time domain voltage source, including: Fourier transform to the waveform of the current source, obtaining the spectrum of the current source, the highest frequency, and determining the sampling frequency Fs; determine the sample total according to the ratio of the duration of the current source waveform and the ratio of the sampling period. A number of N; the current source waveform is sampled to obtain the current sequence according to the sampling period; the voltage excitation and the simulation frequency are set up, the simulation model is treated with the electromagnetic simulation to obtain the corresponding input impedance sequence; the input impedance sequence is extended from the N/2 point to the N point extended hindrance sequence Z (f), and the discrete Fourier inverse of the N point is carried out. Z (T) is obtained by transformation. According to Ohm's law, N point cyclic convolution of impedance sequence and current sequence is used to get voltage source sequence and voltage waveform in time domain. The invention can realize the electromagnetic simulation using the time domain current source as the port excitation input condition and obtain the electromagnetic field distribution at the specified location.
【技术实现步骤摘要】
一种从时域电流源到时域电压源的端口激励转换方法
本专利技术涉及电源转换领域,特别是涉及一种从时域电流源到时域电压源的端口激励转换方法。
技术介绍
在电磁仿真计算中,一般要在金属结构间设置端口,在端口上设置激励,激励的形式一般为电压源或功率源,然后通过仿真计算获得规定位置的电磁场分布。时域算法的软件,激励可以设置为任意电压波形,仿真可直接得到规定位置的电(磁)场波形。频域算法的软件,激励设置为电压幅度,仿真得到一系列频点上的电磁场幅度和相位,在软件后处理功能中,设置电压激励波形,通过数据处理得到规定位置的电(磁)场波形。无论频域算法还是时域算法,软件给出的仿真结果都是系统对于电压激励条件下的响应。而实际应用中如果电磁仿真的端口激励输入条件为时域电流波形,则软件功能受到限制,导致电磁仿真无法进行。因此,需要提供一种能够有效将时域电流源的端口激励转换为时域电压源的端口激励的转换方法。
技术实现思路
本专利技术的目的在于提供一种从时域电流源到时域电压源的端口激励转换方法,能够有效解决端口激励输入条件为电流波形而电磁仿真无法进行的问题。为达到上述目的,本专利技术采用下述技术方案:提供一种从时域电流源到时域电压源的端口激励转换方法,包括:S101:对电流源的波形进行傅里叶变换,获得该电流源的频谱图、推算该电流源的最高频率,并选择采样频率Fs;S103:根据所述电流源波形的持续时间和采样周期的比值确定样本总数N,所述样本总数N大于该比值;S105:对电流源的波形按照采样周期进行采样,采样时间范围为N/Fs,并获得电流序列;S107:设置电压激励和仿真频率,对待仿真模型进行电 ...
【技术保护点】
一种从时域电流源到时域电压源的端口激励转换方法,其特征在于,包括:S101:对电流源的波形进行傅里叶变换,获得该电流源的频谱图、推算该电流源的最高频率,并选择采样频率Fs;S103:根据所述电流源波形的持续时间和采样周期的比值确定样本总数N,所述样本总数N大于该比值;S105:对电流源的波形按照采样周期进行采样,采样时间范围为N/Fs,并获得电流序列;S107:设置电压激励和仿真频率,对待仿真模型进行电磁仿真,获得对应的输入阻抗序列;;S109:将所述输入阻抗序列从N/2个点扩展为N点的扩展阻抗序列Z(f),对其进行N点离散傅里叶反变换得到Z(t);S111:根据欧姆定律对所述阻抗序列和电流序列进行N点循环卷积,得到时域电压源序列和电压波形;其中N为偶数。
【技术特征摘要】
1.一种从时域电流源到时域电压源的端口激励转换方法,其特征在于,包括:S101:对电流源的波形进行傅里叶变换,获得该电流源的频谱图、推算该电流源的最高频率,并选择采样频率Fs;S103:根据所述电流源波形的持续时间和采样周期的比值确定样本总数N,所述样本总数N大于该比值;S105:对电流源的波形按照采样周期进行采样,采样时间范围为N/Fs,并获得电流序列;S107:设置电压激励和仿真频率,对待仿真模型进行电磁仿真,获得对应的输入阻抗序列;;S109:将所述输入阻抗序列从N/2个点扩展为N点的扩展阻抗序列Z(f),对其进行N点离散傅里叶反变换得到Z(t);S111:根据欧姆定律对所述阻抗序列和电流...
【专利技术属性】
技术研发人员:刘柯,赵培裕,王雅薇,黄陶,白文静,牛军谦,
申请(专利权)人:北京电子工程总体研究所,
类型:发明
国别省市:北京,11
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。