123 lines
4.9 KiB
HTML
123 lines
4.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Hybrid Diagnostic Tool</title>
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:title" content="Hybrid Diagnostic Tool">
|
|
<meta property="og:description" content="Verify power, verify ground, then trace signal path. Same logic scales from ignition systems to inverter-driven motors.">
|
|
<meta property="og:url" content="https://adam-pollard.4ort.net/hybrid-diagnostic-tool.html">
|
|
<meta name="twitter:card" content="summary">
|
|
<meta name="description" content="Verify power, verify ground, then trace signal path. Same logic scales from ignition systems to inverter-driven motors.">
|
|
<style>
|
|
body {
|
|
font-family: 'Courier New', monospace;
|
|
background-color: #f5f5f5;
|
|
margin: 0;
|
|
padding: 20px;
|
|
color: #333;
|
|
}
|
|
h1 {
|
|
color: #0066cc;
|
|
}
|
|
.container {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
background-color: #fff;
|
|
padding: 20px;
|
|
border-radius: 5px;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.diagnostic-workflow {
|
|
margin-bottom: 20px;
|
|
}
|
|
.calculator {
|
|
margin-top: 20px;
|
|
}
|
|
.calculator input, .calculator button {
|
|
padding: 10px;
|
|
margin: 5px 0;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
}
|
|
.calculator button {
|
|
background-color: #0066cc;
|
|
color: white;
|
|
cursor: pointer;
|
|
}
|
|
.calculator button:hover {
|
|
background-color: #0055aa;
|
|
}
|
|
.result {
|
|
margin-top: 20px;
|
|
padding: 10px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
background-color: #f9f9f9;
|
|
}
|
|
</style>
|
|
<script defer src="https://analytics.4ort.xyz/script.js" data-website-id="d3ed927c-888a-4a6c-ae5f-0b1c613ddf5b"></script>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>Hybrid Diagnostic Tool</h1>
|
|
<div class="diagnostic-workflow">
|
|
<h2>Diagnostic Workflow Principle</h2>
|
|
<p>Verify power, verify ground, then trace signal path. Same logic scales from ignition systems to inverter-driven motors.</p>
|
|
</div>
|
|
<div class="calculator">
|
|
<h2>Hybrid Vehicle Diagnostic Calculator</h2>
|
|
<form id="diagnosticForm">
|
|
<label for="batteryVoltage">Battery Voltage (V):</label>
|
|
<input type="number" id="batteryVoltage" name="batteryVoltage" step="0.01" required>
|
|
|
|
<label for="motorCurrent">Motor Current (A):</label>
|
|
<input type="number" id="motorCurrent" name="motorCurrent" step="0.01" required>
|
|
|
|
<label for="inverterTemperature">Inverter Temperature (°C):</label>
|
|
<input type="number" id="inverterTemperature" name="inverterTemperature" step="0.01" required>
|
|
|
|
<button type="button" onclick="calculateDiagnostic()">Calculate</button>
|
|
</form>
|
|
<div class="result" id="result">
|
|
<h3>Diagnostic Result</h3>
|
|
<p id="resultText">Enter the values and click Calculate to see the diagnostic result.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
function calculateDiagnostic() {
|
|
const batteryVoltage = parseFloat(document.getElementById('batteryVoltage').value);
|
|
const motorCurrent = parseFloat(document.getElementById('motorCurrent').value);
|
|
const inverterTemperature = parseFloat(document.getElementById('inverterTemperature').value);
|
|
|
|
let resultText = "";
|
|
|
|
if (batteryVoltage < 12.0) {
|
|
resultText += "Low battery voltage. Check the battery connections and charging system.\n";
|
|
} else if (batteryVoltage > 14.8) {
|
|
resultText += "High battery voltage. Check for overcharging or alternator issues.\n";
|
|
} else {
|
|
resultText += "Battery voltage is within normal range.\n";
|
|
}
|
|
|
|
if (motorCurrent < 5.0) {
|
|
resultText += "Low motor current. Check the motor connections and inverter.\n";
|
|
} else if (motorCurrent > 20.0) {
|
|
resultText += "High motor current. Check for short circuits or motor issues.\n";
|
|
} else {
|
|
resultText += "Motor current is within normal range.\n";
|
|
}
|
|
|
|
if (inverterTemperature > 80.0) {
|
|
resultText += "High inverter temperature. Check the inverter cooling system.\n";
|
|
} else {
|
|
resultText += "Inverter temperature is within normal range.\n";
|
|
}
|
|
|
|
document.getElementById('resultText').innerText = resultText;
|
|
}
|
|
</script>
|
|
</body>
|
|
</html> |