Tried with better equipement
This commit is contained in:
68
TP1.md
68
TP1.md
@@ -332,16 +332,20 @@ Input;Load;Output
|
|||||||
|
|
||||||
3.0
|
3.0
|
||||||
|
|
||||||
InputV;InputLoad;OutputV;OutputLoad;Noise
|
InputV;InputLoad;OutputV;OutputLoad;Noise;Efficience
|
||||||
3;105;4.93;47;700
|
|
||||||
3;150;4.92;73;700
|
3;105;4.93;47;700;73.55
|
||||||
3;203;4.922;103;750
|
3;150;4.92;73;700;79.81
|
||||||
3;250;4.92;130;800
|
3;203;4.922;103;83.24
|
||||||
3;300;4.913;157;900
|
3;250;4.92;130;800;85.28
|
||||||
3;350;4.9;184;950
|
3;300;4.913;157;900;85.7
|
||||||
3;403;4.888;211;1000
|
3;350;4.9;184;950;85.86
|
||||||
3;450;4.870;236;1030
|
3;403;4.888;211;1000;85.94
|
||||||
3;504;4.850;262;1200
|
3;450;4.870;236;1030;85.13
|
||||||
|
3;504;4.850;262;1200;84.04
|
||||||
|
|
||||||
|
Efficience :
|
||||||
|
4.93*0.047/((3*0.105)/100) = 73.55%
|
||||||
|
|
||||||
3.7 Batterie nominale
|
3.7 Batterie nominale
|
||||||
|
|
||||||
@@ -368,6 +372,26 @@ InputV;InputLoad;OutputV;OutputLoad;Noise
|
|||||||
4.2;455;4.860;356;1100
|
4.2;455;4.860;356;1100
|
||||||
4.2;501;4.844;391;1200
|
4.2;501;4.844;391;1200
|
||||||
|
|
||||||
|
MESURES SUR AVEC MEILLEUR EQUIPEMENT
|
||||||
|
|
||||||
|
5V
|
||||||
|
|
||||||
|
4.2;130;4.933;100
|
||||||
|
4.2;253;4.918;200
|
||||||
|
4.2;382;4.896;300
|
||||||
|
4.2;513;4.855;400
|
||||||
|
4.2;647;4.806;500
|
||||||
|
4.2;791;4.772;600
|
||||||
|
3.7;174;4.933;100
|
||||||
|
3.7;317;4.916;200
|
||||||
|
3.7;440;4.880;300
|
||||||
|
3.7;594;4.823;400
|
||||||
|
3.7;758;4.775;500
|
||||||
|
3.0;200;4.936;100
|
||||||
|
3.0;383;4.903;200
|
||||||
|
3.0;579;4.843;300
|
||||||
|
3.0;795;4.780;400
|
||||||
|
|
||||||
#### 3.3V output
|
#### 3.3V output
|
||||||
|
|
||||||
3.0
|
3.0
|
||||||
@@ -409,6 +433,30 @@ InputV;InputLoad;OutputV;OutputLoad;Noise
|
|||||||
4.2;450;3.296;493;330
|
4.2;450;3.296;493;330
|
||||||
4.2;502;3.296;545;300
|
4.2;502;3.296;545;300
|
||||||
|
|
||||||
|
Mesures avec meilleur equipement
|
||||||
|
|
||||||
|
3.0;126;2.927;100
|
||||||
|
3.0;226;2.845;200
|
||||||
|
3.0;326;2.759;300
|
||||||
|
3.0;425;2.675;400
|
||||||
|
3.0;525;2.585;500
|
||||||
|
3.0;625;2.473;600
|
||||||
|
3.0;726;2.329;700
|
||||||
|
3.7;129;3.335;100
|
||||||
|
3.7;226;3.335;200
|
||||||
|
3.7;329;3.335;300
|
||||||
|
3.7;434;3.333;400
|
||||||
|
3.7;533;3.328;500
|
||||||
|
3.7;633;3.323;600
|
||||||
|
3.7;737;3.126;700
|
||||||
|
4.2;90;3.333;100
|
||||||
|
4.2;176;3.333;200
|
||||||
|
4.2;265;3.333;300
|
||||||
|
4.2;359;3.331;400
|
||||||
|
4.2;456;3.330;500
|
||||||
|
4.2;560;3.333;600
|
||||||
|
4.2;670;3.329;700
|
||||||
|
|
||||||
#### Test 3: Batterie
|
#### Test 3: Batterie
|
||||||
|
|
||||||
#### Test de charge
|
#### Test de charge
|
||||||
|
|||||||
418
test.html
Normal file
418
test.html
Normal file
@@ -0,0 +1,418 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>5V Boost Converter Analysis</title>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.9.1/chart.min.js"></script>
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
||||||
|
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
|
||||||
|
padding: 2rem;
|
||||||
|
min-height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
max-width: 1400px;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 2rem;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #1e293b;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitle {
|
||||||
|
color: #64748b;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
|
||||||
|
gap: 1.5rem;
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card {
|
||||||
|
background: white;
|
||||||
|
border-radius: 0.75rem;
|
||||||
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||||
|
padding: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card h2 {
|
||||||
|
font-size: 1.25rem;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #334155;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chart-container {
|
||||||
|
position: relative;
|
||||||
|
height: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.summary-stats {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-box {
|
||||||
|
border-left: 4px solid;
|
||||||
|
padding-left: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-box.blue {
|
||||||
|
border-color: #3b82f6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-box.green {
|
||||||
|
border-color: #10b981;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-box.red {
|
||||||
|
border-color: #ef4444;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-label {
|
||||||
|
font-size: 0.875rem;
|
||||||
|
color: #64748b;
|
||||||
|
margin-bottom: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-value {
|
||||||
|
font-size: 1.875rem;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #1e293b;
|
||||||
|
margin-bottom: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-description {
|
||||||
|
font-size: 0.75rem;
|
||||||
|
color: #94a3b8;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1100px) {
|
||||||
|
.grid {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="container">
|
||||||
|
<h1>5V Boost Converter Performance Analysis</h1>
|
||||||
|
<p class="subtitle">Battery Input Voltage Comparison: 3.0V, 3.7V, 4.2V</p>
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
|
<!-- Output Voltage Chart -->
|
||||||
|
<div class="card">
|
||||||
|
<h2>Output Voltage vs Input Load</h2>
|
||||||
|
<div class="chart-container">
|
||||||
|
<canvas id="voltageChart"></canvas>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Efficiency Chart -->
|
||||||
|
<div class="card">
|
||||||
|
<h2>Efficiency vs Output Load</h2>
|
||||||
|
<div class="chart-container">
|
||||||
|
<canvas id="efficiencyChart"></canvas>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid">
|
||||||
|
<!-- Noise Chart -->
|
||||||
|
<div class="card">
|
||||||
|
<h2>Noise vs Input Load</h2>
|
||||||
|
<div class="chart-container">
|
||||||
|
<canvas id="noiseChart"></canvas>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Summary Stats -->
|
||||||
|
<div class="card">
|
||||||
|
<h2>Performance Summary</h2>
|
||||||
|
<div class="summary-stats">
|
||||||
|
<div class="stat-box blue">
|
||||||
|
<p class="stat-label">Best Voltage Regulation</p>
|
||||||
|
<p class="stat-value">4.2V Input</p>
|
||||||
|
<p class="stat-description">Most stable output across load range</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="stat-box green">
|
||||||
|
<p class="stat-label">Highest Efficiency Range</p>
|
||||||
|
<p class="stat-value">3.7V - 4.2V Input</p>
|
||||||
|
<p class="stat-description">Peak efficiency 78-83%</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="stat-box red">
|
||||||
|
<p class="stat-label">Noise Characteristics</p>
|
||||||
|
<p class="stat-value">700 - 1200 mV</p>
|
||||||
|
<p class="stat-description">Similar across all input voltages</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Dataset 1: 3.0V input
|
||||||
|
const dataset1 = {
|
||||||
|
inputV: 3.0,
|
||||||
|
inputLoad: [105, 150, 203, 250, 300, 350, 403, 450, 504],
|
||||||
|
outputV: [4.93, 4.92, 4.922, 4.92, 4.913, 4.9, 4.888, 4.870, 4.850],
|
||||||
|
outputLoad: [47, 73, 103, 130, 157, 184, 211, 236, 262],
|
||||||
|
noise: [700, 700, 750, 800, 900, 950, 1000, 1030, 1200]
|
||||||
|
};
|
||||||
|
|
||||||
|
// Dataset 2: 3.7V input
|
||||||
|
const dataset2 = {
|
||||||
|
inputV: 3.7,
|
||||||
|
inputLoad: [100, 150, 200, 251, 306, 352, 401, 455, 509],
|
||||||
|
outputV: [4.930, 4.926, 4.922, 4.917, 4.91, 4.9, 4.888, 4.869, 4.850],
|
||||||
|
outputLoad: [47, 84, 121, 156, 194, 225, 257, 293, 328],
|
||||||
|
noise: [700, 700, 750, 850, 880, 917, 1000, 1100, 1200]
|
||||||
|
};
|
||||||
|
|
||||||
|
// Dataset 3: 4.2V input
|
||||||
|
const dataset3 = {
|
||||||
|
inputV: 4.2,
|
||||||
|
inputLoad: [100, 150, 202, 250, 300, 355, 405, 455, 501],
|
||||||
|
outputV: [4.929, 4.922, 4.918, 4.913, 4.906, 4.890, 4.879, 4.860, 4.844],
|
||||||
|
outputLoad: [78, 118, 161, 200, 237, 280, 319, 356, 391],
|
||||||
|
noise: [700, 767, 800, 850, 850, 950, 1000, 1100, 1200]
|
||||||
|
};
|
||||||
|
|
||||||
|
// Calculate efficiency for each dataset
|
||||||
|
const calcEfficiency = (dataset) => {
|
||||||
|
return dataset.inputLoad.map((input, i) =>
|
||||||
|
(dataset.outputLoad[i] * dataset.outputV[i]) / (input * dataset.inputV) * 100
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
const efficiency1 = calcEfficiency(dataset1);
|
||||||
|
const efficiency2 = calcEfficiency(dataset2);
|
||||||
|
const efficiency3 = calcEfficiency(dataset3);
|
||||||
|
|
||||||
|
const commonOptions = {
|
||||||
|
responsive: true,
|
||||||
|
maintainAspectRatio: false,
|
||||||
|
plugins: {
|
||||||
|
legend: {
|
||||||
|
display: true,
|
||||||
|
position: 'top'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
scales: {
|
||||||
|
x: {
|
||||||
|
grid: {
|
||||||
|
color: 'rgba(0, 0, 0, 0.05)'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
y: {
|
||||||
|
grid: {
|
||||||
|
color: 'rgba(0, 0, 0, 0.05)'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// Voltage Chart
|
||||||
|
new Chart(document.getElementById('voltageChart'), {
|
||||||
|
type: 'line',
|
||||||
|
data: {
|
||||||
|
labels: dataset1.inputLoad,
|
||||||
|
datasets: [
|
||||||
|
{
|
||||||
|
label: '3.0V Input',
|
||||||
|
data: dataset1.outputV,
|
||||||
|
borderColor: '#3b82f6',
|
||||||
|
backgroundColor: 'rgba(59, 130, 246, 0.1)',
|
||||||
|
borderWidth: 2,
|
||||||
|
tension: 0.1,
|
||||||
|
pointRadius: 4,
|
||||||
|
pointBackgroundColor: '#3b82f6'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '3.7V Input',
|
||||||
|
data: dataset2.outputV,
|
||||||
|
borderColor: '#10b981',
|
||||||
|
backgroundColor: 'rgba(16, 185, 129, 0.1)',
|
||||||
|
borderWidth: 2,
|
||||||
|
tension: 0.1,
|
||||||
|
pointRadius: 4,
|
||||||
|
pointBackgroundColor: '#10b981'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '4.2V Input',
|
||||||
|
data: dataset3.outputV,
|
||||||
|
borderColor: '#f59e0b',
|
||||||
|
backgroundColor: 'rgba(245, 158, 11, 0.1)',
|
||||||
|
borderWidth: 2,
|
||||||
|
tension: 0.1,
|
||||||
|
pointRadius: 4,
|
||||||
|
pointBackgroundColor: '#f59e0b'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
options: {
|
||||||
|
...commonOptions,
|
||||||
|
scales: {
|
||||||
|
...commonOptions.scales,
|
||||||
|
x: {
|
||||||
|
...commonOptions.scales.x,
|
||||||
|
title: {
|
||||||
|
display: true,
|
||||||
|
text: 'Input Load (mA)'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
y: {
|
||||||
|
...commonOptions.scales.y,
|
||||||
|
title: {
|
||||||
|
display: true,
|
||||||
|
text: 'Output Voltage (V)'
|
||||||
|
},
|
||||||
|
min: 4.8,
|
||||||
|
max: 4.95
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Efficiency Chart
|
||||||
|
new Chart(document.getElementById('efficiencyChart'), {
|
||||||
|
type: 'line',
|
||||||
|
data: {
|
||||||
|
labels: dataset1.outputLoad,
|
||||||
|
datasets: [
|
||||||
|
{
|
||||||
|
label: '3.0V Input',
|
||||||
|
data: efficiency1,
|
||||||
|
borderColor: '#3b82f6',
|
||||||
|
backgroundColor: 'rgba(59, 130, 246, 0.1)',
|
||||||
|
borderWidth: 2,
|
||||||
|
tension: 0.1,
|
||||||
|
pointRadius: 4,
|
||||||
|
pointBackgroundColor: '#3b82f6'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '3.7V Input',
|
||||||
|
data: efficiency2,
|
||||||
|
borderColor: '#10b981',
|
||||||
|
backgroundColor: 'rgba(16, 185, 129, 0.1)',
|
||||||
|
borderWidth: 2,
|
||||||
|
tension: 0.1,
|
||||||
|
pointRadius: 4,
|
||||||
|
pointBackgroundColor: '#10b981'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '4.2V Input',
|
||||||
|
data: efficiency3,
|
||||||
|
borderColor: '#f59e0b',
|
||||||
|
backgroundColor: 'rgba(245, 158, 11, 0.1)',
|
||||||
|
borderWidth: 2,
|
||||||
|
tension: 0.1,
|
||||||
|
pointRadius: 4,
|
||||||
|
pointBackgroundColor: '#f59e0b'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
options: {
|
||||||
|
...commonOptions,
|
||||||
|
scales: {
|
||||||
|
...commonOptions.scales,
|
||||||
|
x: {
|
||||||
|
...commonOptions.scales.x,
|
||||||
|
title: {
|
||||||
|
display: true,
|
||||||
|
text: 'Output Load (mA)'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
y: {
|
||||||
|
...commonOptions.scales.y,
|
||||||
|
title: {
|
||||||
|
display: true,
|
||||||
|
text: 'Efficiency (%)'
|
||||||
|
},
|
||||||
|
min: 40,
|
||||||
|
max: 100
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Noise Chart
|
||||||
|
new Chart(document.getElementById('noiseChart'), {
|
||||||
|
type: 'line',
|
||||||
|
data: {
|
||||||
|
labels: dataset1.inputLoad,
|
||||||
|
datasets: [
|
||||||
|
{
|
||||||
|
label: '3.0V Input',
|
||||||
|
data: dataset1.noise,
|
||||||
|
borderColor: '#3b82f6',
|
||||||
|
backgroundColor: 'rgba(59, 130, 246, 0.1)',
|
||||||
|
borderWidth: 2,
|
||||||
|
tension: 0.1,
|
||||||
|
pointRadius: 4,
|
||||||
|
pointBackgroundColor: '#3b82f6'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '3.7V Input',
|
||||||
|
data: dataset2.noise,
|
||||||
|
borderColor: '#10b981',
|
||||||
|
backgroundColor: 'rgba(16, 185, 129, 0.1)',
|
||||||
|
borderWidth: 2,
|
||||||
|
tension: 0.1,
|
||||||
|
pointRadius: 4,
|
||||||
|
pointBackgroundColor: '#10b981'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '4.2V Input',
|
||||||
|
data: dataset3.noise,
|
||||||
|
borderColor: '#f59e0b',
|
||||||
|
backgroundColor: 'rgba(245, 158, 11, 0.1)',
|
||||||
|
borderWidth: 2,
|
||||||
|
tension: 0.1,
|
||||||
|
pointRadius: 4,
|
||||||
|
pointBackgroundColor: '#f59e0b'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
options: {
|
||||||
|
...commonOptions,
|
||||||
|
scales: {
|
||||||
|
...commonOptions.scales,
|
||||||
|
x: {
|
||||||
|
...commonOptions.scales.x,
|
||||||
|
title: {
|
||||||
|
display: true,
|
||||||
|
text: 'Input Load (mA)'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
y: {
|
||||||
|
...commonOptions.scales.y,
|
||||||
|
title: {
|
||||||
|
display: true,
|
||||||
|
text: 'Noise (mV)'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user