Example #1
0
        /// <summary>
        /// 初始化
        /// </summary>
        /// <param name="converter">所属变换器</param>
        public ThreeLevelBoost(DCDCConverter converter)
        {
            //获取设计规格
            this.converter = converter;
            math_Pfull     = converter.Math_Psys / converter.Number;
            math_fs        = converter.Math_fs;
            math_Vin_min   = converter.Math_Vin_min;
            math_Vin_max   = converter.Math_Vin_max;
            math_Vo        = converter.Math_Vo;

            //初始化元器件
            dualModule = new DualModule(2, false)
            {
                Name      = "开关器件",
                Name_Up   = "二极管",
                Name_Down = "开关管"
            };
            inductor = new DCInductor(1)
            {
                Name = "滤波电感"
            };
            capacitor = new FilteringCapacitor(2)
            {
                Name = "滤波电容"
            };
            components         = new Component[] { dualModule, inductor, capacitor };
            componentGroups    = new Component[1][];
            componentGroups[0] = new Component[] { dualModule, inductor, capacitor };
        }
Example #2
0
        /// <summary>
        /// 初始化
        /// </summary>
        /// <param name="converter">所属变换器</param>
        public LLC(IsolatedDCDCConverter converter)
        {
            //获取设计规格
            this.converter = converter;
            math_Pfull     = converter.Math_Psys / converter.PhaseNum / converter.Number;
            math_Vin       = converter.Math_Vin;
            math_Vo        = converter.Math_Vo;
            math_No        = converter.Math_No;
            math_fs        = converter.Math_fs;
            math_Q         = converter.Math_Q;
            math_k         = converter.Math_k;
            math_Tdead     = math_fs < Configuration.SIC_SELECTION_FREQUENCY ? Configuration.IGBT_DEAD_TIME : Configuration.MOSFET_DEAD_TIME;

            //初始化元器件
            primaryDualModule = new DualModule(2)
            {
                Name            = "原边开关管",
                VoltageVariable = false
            };
            secondaryDualDiodeModule = new DualDiodeModule(2 * math_No)
            {
                Name            = "副边二极管",
                VoltageVariable = false
            };
            resonantInductor = new ACInductor(1)
            {
                Name            = "谐振电感",
                VoltageVariable = false
            };
            transformer = new Transformer(1)
            {
                Name            = "变压器",
                VoltageVariable = false
            };
            resonantCapacitor = new ResonantCapacitor(1)
            {
                Name            = "谐振电容",
                VoltageVariable = false,
            };
            filteringCapacitor = new FilteringCapacitor(math_No)
            {
                Name            = "滤波电容",
                VoltageVariable = false,
            };

            componentGroups = new Component[1][];
            if (Configuration.IS_RESONANT_INDUCTOR_INTEGRATED)
            {
                components         = new Component[] { primaryDualModule, secondaryDualDiodeModule, transformer, resonantCapacitor, filteringCapacitor };
                componentGroups[0] = new Component[] { primaryDualModule, secondaryDualDiodeModule, transformer, resonantCapacitor, filteringCapacitor };
            }
            else
            {
                components         = new Component[] { primaryDualModule, secondaryDualDiodeModule, resonantInductor, transformer, resonantCapacitor, filteringCapacitor };
                componentGroups[0] = new Component[] { primaryDualModule, secondaryDualDiodeModule, resonantInductor, transformer, resonantCapacitor, filteringCapacitor };
            }
        }