Hardware Overview¶
Architecture¶
The regulator is built around an ESP32-S3 microcontroller. Hardware was all selected for ultra-low power consumption, wide voltage ranges, and robust protection for harsh environments.
Some Hardware Specifications¶
| Parameter | Specification | Notes |
|---|---|---|
| Input Voltage | 4.2V - 65V | Via TPS48000-Q1 protection |
| Typical Operating Voltage | 12V/24V/48V | Marine/automotive systems |
| Operating Temperature | -40°C to +85°C | Industrial grade components |
| Field Current Control | Up to 15A | PWM controlled |
| Alternator Current Measurement | ±200A capability | Via external Hall-effect clamp-on meter |
Power System¶
Multi-Stage Power Architecture¶
Battery (4.2–65 V) ──► TPS48000-Q1 ──► VIN_2-60 ──► LMR36510 ──► 5V_LMR ──┐
(protection) (protected (buck, 1 A) │
rail to ├──► TPS2116 ──► 5 V system rail ──┐
field drive │ (power │ │
& buck) │ mux) │ │
│ │ ├──► TLV62569 ──► 3.3 V ──► ESP32-S3 + peripherals
USB-C (J19) 5 V ──► VBUS_USB_ISOLATED ──────────────────────────────────────┘ │ │ (buck, 2 A)
│ │
│ └──► MT3608 ──► 12 V boost ──► LM5109A ──► Q3 ──► alternator field
│ (5→12 V, only when field PWM enabled)
│
└──► LM2907, TPS2553 buzzer switch, SN74LVC1T45 5 V side
Key Features: - Primary Protection: TPS48000-Q1 high-side driver with overcurrent, overvoltage, and reverse polarity protection — see Input Protection. - Main Battery Buck (LMR36510): 4.2–65 V input → 5 V, 1 A. Sole step-down stage from battery; the 3.3 V rail is then derived from the 5 V system rail through a second cascaded buck (TLV62569DBV). See Switching Power Supply. - Power Mux (TPS2116DRL): Selects between battery-derived 5 V and USB-C-derived 5 V. Either source can power the 5 V system rail; never both at once (interlock managed by the jumpers documented in USB-C). - Field Driver Boost (MT3608): Only enabled while the alternator field is active. See Alternator Field Drive. - CAN Side Buck (MPM3610): Separate non-isolated buck on the boat-ground side of the NMEA2000 isolation barrier. See NMEA2K. - USB-C Alternative: Programming and development power via USB-C with jumper selection - Power Isolation: Complete battery disconnect via jumper control for USB operation
Processing Core¶
ESP32-S3 Controller¶
- Architecture: Dual-core Xtensa LX7 @ 240MHz
- Memory: 16MB Flash, 8MB PSRAM
- Connectivity: WiFi 802.11b/g/n, native USB OTG
- I/O Capabilities: Sufficient GPIO for all analog inputs, digital I/O, communications
- Programming: USB-C native programming (no USB-to-serial converter required)
Selection Rationale: - Native USB support eliminates external converters - Ample GPIO and processing power for real-time control - Integrated WiFi for remote monitoring and configuration - Low-power sleep modes for battery applications
Input/Output Systems¶
Analog Inputs (ADS1115 + TLV9154)¶
4-channel precision measurement system with op-amp buffering:
| Channel | Function | Range | Resolution | Power Consumption |
|---|---|---|---|---|
| 0 | Battery Voltage | 0.21V - 65.2V | 2.1mV | 22.5µA @ 12V input |
| 1 | Alternator Current | ±200A (via hall sensor) | 0.02A theoretical | 10.8µA |
| 2 | Engine RPM | 8Hz - 2640Hz | Variable by setup | 10.8µA |
| 3 | Temperature | 15°C - 125°C* | 0.8-5.8°C | 115µA @ 25°C |
*Limited by 5V supply configuration - see documentation for details
Design Features: - High-impedance voltage dividers minimize power consumption - Unity-gain op-amp buffers prevent loading errors - Single 3.3V supply with inherent overvoltage protection - 16-bit ADC resolution with 0.1mV LSB sensitivity
Digital Inputs¶
Two architectures for different applications:
Optocoupler Style (6 channels): - Activation input range: 5V - 54V - Power consumption: 0.16mA - 33.7mA @ 12V equivalent (when active) - Applications: Any on/off voltage signals
Ground Style (4 channels): - Activation: Short to ground - Continuous power: 0.09mA @ 12V equivalent - RC debounce filtering with ESD protection - Applications: Switch inputs, mode selections
Digital Outputs¶
Buzzer/Relay Control: - High-side P-channel MOSFET switching - 5V supply, up to 500mA recommended - Flyback protection for inductive loads - 0.35mA idle current @ 12V equivalent
Communication Interfaces¶
UART Isolation (2 channels): - HCPL2531 optocoupler isolation (2500V) - NMEA0183 and VE.Direct compatible - 1.86mA @ 12V equivalent power consumption - Up to 1MBaud data rates
NMEA2000 CAN: - Isolated CAN transceiver (ISO1050DUB) - 12V boat power to isolated 5V conversion - Selectable 120Ω termination - 20-25mA standby current from 12V boat supply
Pressure/Temperature Sensor: - BMP388 barometric p/t sensor - I2C interface, 3.3V supply
Field Control System¶
Alternator Field Driver¶
High-current PWM control system:
Architecture:
5V → MT3608 Boost (12V) → LM5109A Driver → MOSFET (~15A max)
Specifications: - Field current: Up to 15A continuous - PWM frequency: 100Hz - 20kHz+ - Flyback protection for inductive field loads - Bootstrap driver for high-side switching
Current Limitations: - Thermal management required at high duty cycles
Battery Monitoring¶
INA228 Current/Voltage Monitor¶
High-precision battery state monitoring:
Configuration: - Bus voltage: Direct battery measurement (up to 85V rating) - Current: Low-side shunt measurement (±163.84mV differential range) - Interface: I2C at address 0x40 - Resolution: 16-bit with programmable gain
Protection: - P6SMB68A TVS protection (58.1V standoff for 48V systems) - RC filtering on all inputs (1.59kHz cutoff) - ESD protection diodes on differential inputs
Power Consumption: - Normal operation: 3.63mW (1.1mA @ 3.3V) - Shutdown mode: 9.24µW (2.8µA)
Tachometer Output¶
Signal conditioning for dashboard tachometer:
- Input: ESP32 frequency signal (8Hz - 2.64kHz)
- Output: Battery voltage level square wave
- Drive capability: Standard automotive tachometers
- Power: 0.54mA - 13.6mA @ 12V (depending on supply voltage and duty cycle)
Protection Systems¶
Input Protection (TPS48000-Q1)¶
Comprehensive automotive-grade protection:
Protection Features: - Reverse polarity: -65V maximum - Overvoltage: 59.8V–65.3V shutdown threshold (62.6V typical) - Overcurrent: 15.1A trip threshold with 13.8ms fault timer - Undervoltage lockout: 4.72V–5.17V turn-on range (~4.94V typical) - Auto-retry: 22.7s interval after fault
Power Management: - ~93µA standby current at 13V (TPS48000-Q1 IQ plus protection dividers) - Complete power path isolation via jumper control - Hierarchical TVS protection for severe transients
ESD and Transient Protection¶
Multi-layer protection throughout system:
- TVS diodes on power inputs and high-voltage signals
- ESD protection on all exposed I/O
- RC filtering before sensitive analog inputs
- Bidirectional TVS arrays on communication lines
PCB Considerations¶
Design Requirements¶
- 4-layer PCB recommended for thermal management and noise reduction
- Wide traces for high-current paths (field driver, power supplies)
- Proper ground plane separation for isolated circuits
- Thermal vias for power-dissipating components
- Marine-grade conformal coating compatibility
Component Selection¶
- Industrial temperature range (-40°C to +85°C)
- High-reliability automotive-grade components where applicable
- Standard values (1% resistors, common capacitor values) for easy sourcing
- AEC-Q200 qualified components for critical protection circuits
Development and Programming¶
USB-C Interface¶
Native programming and debugging:
- ESP32-S3 native USB OTG (no USB-to-serial converter)
- Power delivery capability with jumper control
- ESD protection on data lines
- Manual boot control (GPIO0 + reset) for programming
Power Source Management¶
Jumper-controlled power source selection:
| Battery Jumper | USB Jumper | Result | Use Case |
|---|---|---|---|
| Installed | Removed | Battery only | Production operation |
| Removed | Installed | USB only | Development/programming |
| Removed | Removed | No power | Safe configuration |
System Integration¶
Typical Application Connections¶
- Battery positive/negative for monitoring and power
- External shunt resistor for current measurement (75-150µΩ, 500A rating)
- Alternator field winding connection
- Alternator current sensor (included hall effect clamp)
- Engine RPM signal (alternator stator or other frequency source)
- Temperature sensor (10kΩ NTC thermistor or Digital sensor (included))
- Digital inputs for engine/system status
- NMEA2000 connection for marine network integration
- VeDirect and/or NMEA0183 as needed
Performance Summary¶
- Ultra-low quiescent current suitable for continuous battery monitoring
- High-efficiency power conversion minimizes heat generation
- Robust protection systems handle marine electrical environment
- Comprehensive I/O capabilities for complete engine/charging system monitoring
This hardware platform provides a complete solution for intelligent alternator regulation and battery management in marine and automotive applications, with emphasis on reliability, efficiency, and comprehensive monitoring capabilities.