This commit is contained in:
@@ -93,6 +93,6 @@ public class CalibrationCoefficients
|
|||||||
public ushort ResistanceCoefficient { get; set; }
|
public ushort ResistanceCoefficient { get; set; }
|
||||||
|
|
||||||
//public double ThermalConductivityCorrection { get; set; } = 69;//乙二醇
|
//public double ThermalConductivityCorrection { get; set; } = 69;//乙二醇
|
||||||
public double ThermalConductivityCorrection { get; set; } = 100;//乙二醇
|
public double ThermalConductivityCorrection { get; set; } = 28;//乙二醇
|
||||||
public double ThermalDiffusivityCorrection { get; set; } = 19.9;
|
public double ThermalDiffusivityCorrection { get; set; } = 0.59;
|
||||||
}
|
}
|
||||||
@@ -94,7 +94,7 @@ namespace ASTM_D7896_Tester.Services
|
|||||||
await SendCommandAsync($"VOLT:DC:RANG {DefaultVoltageRange}");
|
await SendCommandAsync($"VOLT:DC:RANG {DefaultVoltageRange}");
|
||||||
|
|
||||||
// 3. 设置积分时间 0.02PLC(最快速度)
|
// 3. 设置积分时间 0.02PLC(最快速度)
|
||||||
await SendCommandAsync("VOLT:DC:NPLC 0.02");
|
await SendCommandAsync("VOLT:DC:NPLC 0.1");
|
||||||
|
|
||||||
// 4. 关闭自动归零(提高速度)
|
// 4. 关闭自动归零(提高速度)
|
||||||
await SendCommandAsync("VOLT:DC:ZERO:AUTO OFF");
|
await SendCommandAsync("VOLT:DC:ZERO:AUTO OFF");
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ public partial class D7896ViewModel : ObservableObject
|
|||||||
private const double EulerGamma = 0.5772156649; // 欧拉常数
|
private const double EulerGamma = 0.5772156649; // 欧拉常数
|
||||||
//private const double WireRadius = 0.00003; // 铂丝半径 (0.03 mm)
|
//private const double WireRadius = 0.00003; // 铂丝半径 (0.03 mm)
|
||||||
[ObservableProperty] private double _sampleDensity = 1000.0; // 新增,密度默认值1000 kg/m³(水)
|
[ObservableProperty] private double _sampleDensity = 1000.0; // 新增,密度默认值1000 kg/m³(水)
|
||||||
int samples = 1000; // 1秒 * 1000点/秒
|
int samples = 400; // 1秒 * 1000点/秒
|
||||||
double heatingDuration = 1; // 加热时间 0.8 秒(需与您的加热脉冲宽度一致)
|
double heatingDuration = 1; // 加热时间 0.8 秒(需与您的加热脉冲宽度一致)
|
||||||
double totalDuration = 2; // 总采样时间(加热 + 冷却)
|
double totalDuration = 2; // 总采样时间(加热 + 冷却)
|
||||||
public D7896ViewModel()
|
public D7896ViewModel()
|
||||||
@@ -579,6 +579,7 @@ public partial class D7896ViewModel : ObservableObject
|
|||||||
lambda = _config.TestParameters.FixedLambda;
|
lambda = _config.TestParameters.FixedLambda;
|
||||||
Logger.Log($"使用固定 lambda={lambda:F6} W/(m·K)");
|
Logger.Log($"使用固定 lambda={lambda:F6} W/(m·K)");
|
||||||
}
|
}
|
||||||
|
lambda *= _config.TestParameters.CalibrationCoefficients.ThermalDiffusivityCorrection;
|
||||||
Logger.Log($"constantCurrent(avg)={avgCurrent:E6} A, avgResistance={avgResistance:F6} Ω, powerPerLength={powerPerLength:E6} W/m, 斜率 B = {slope:F5}");
|
Logger.Log($"constantCurrent(avg)={avgCurrent:E6} A, avgResistance={avgResistance:F6} Ω, powerPerLength={powerPerLength:E6} W/m, 斜率 B = {slope:F5}");
|
||||||
|
|
||||||
// 计算热扩散率
|
// 计算热扩散率
|
||||||
|
|||||||
Reference in New Issue
Block a user