Design Specification Development

3:23

Considering document updates.

I updated the living spec to a v2 in Design Specification.
What changed:
  • Locked in USB-C, 500 mA USB budget, 1S 4400 mAh LiPo, and onboard battery protection
  • Recorded that external power should run the system first, with charging as secondary when source power is limited
  • Locked in USB priority over solar, with solar allowed to stay attached but not contribute when USB is present
  • Locked in always-on 3.3 V
  • Locked in mutually exclusive 5 V / 12 V, with manual switch preferred over jumper
  • Added clearer sections for power path, charging behavior, power budget, constraints, risks, and a decisions log
  • Narrowed the remaining uncertainties to a short list so we can finish requirements before schematic work
The remaining questions I still need from you are:
  1. USB-C behavior
    • Do you want:
      • simple USB-C sink-only behavior,
      • BC1.2-style charger detection, or
      • fuller USB-C current negotiation / PD-style behavior?
    • Since your source budget is still 500 mA, my default recommendation would be USB-C sink-only unless you explicitly want more advanced negotiation.
  2. Solar threshold
    • What should count as “usable solar” before the board tries to charge or power from it?
    • If you want, I can choose a conservative threshold rule and document it.
  3. Live switching between 5 V and 12 V
    • During switching while powered, is a brief interruption acceptable?
    • Or must the downstream load see little to no interruption?
  4. Rail quality / sequencing
    • Any hard constraints on:
      • ripple,
      • startup time,
      • brownout tolerance,
      • rail sequencing?
    • If not, I can define conservative defaults in the spec.
  5. Battery connector
    • Should I lock this now to a common JST family, or leave it as an implementation choice until part selection?
If you want, reply in a compact format like:
  • USB-C:
  • Solar threshold:
  • 5 V / 12 V switching:
  • Rail quality / sequencing:
  • Battery connector:
Choose defaults now
Use sink-only USB-C
Lock JST connector
Define rail limits
3h

Ready.


Refine this doc
Ask about this doc
Design Specification
1. Document Purpose
This document is the living design specification for the power management board in this project. It captures requirements, architectural decisions, assumptions, open questions, constraints, and risks. It should be updated as requirements evolve and as implementation decisions are made.
2. Project Goal
Design a power management board for a low-power embedded system that can:
  • Accept power from a solar panel, a 1S LiPo battery, and USB input
  • Charge the battery when an external source is available
  • Power the system from the battery when no external source is present
  • Generate regulated output rails of 12 V, 5 V, and 3.3 V
  • Prioritize USB input over solar input when both are connected
3. System Overview
The system is a multi-input, battery-backed power management board for a low-power embedded platform.
At a high level, the board must:
  • Accept energy from a 6 W solar panel
  • Accept power from a USB-C receptacle
  • Interface with a 1S LiPo battery
  • Manage battery charging from available external sources
  • Provide regulated output rails for downstream electronics
  • Enforce source prioritization so USB overrides solar when both are present
  • Keep the 3.3 V rail available whenever any valid source exists
  • Provide either 5 V or 12 V from a selectable boosted rail, one at a time
4. Requirements Snapshot

4.1 Inputs


Input SourceRequirementNotes
Solar panel6 W, Voc = 6 VExact operating point unknown; source is variable and must be qualified with a usable threshold
Battery1S LiPo, nominal ~3.7 V, max 4.2 V, 4400 mAhBoard shall provide battery protection
USB inputUSB-C receptacleUSB 2.0 input, worst-case source budget 500 mA, current negotiation capability desired

4.2 Outputs


RailRequirementNotes
12 V100 mA continuousSelectable boosted rail
5 V500 mA continuousSelectable boosted rail
3.3 V500 mA continuousAlways-on rail when any valid source exists
4.3 Power Behavior
  • Battery shall charge when solar or USB is connected and sufficient source power is available.
  • Battery shall power the system when no external source is available.
  • When external power is present, external power should run the system and recharge the battery.
  • If external power is insufficient for both load and charging, maintaining system operation takes priority and charging current shall be reduced or deprioritized.
  • If both USB and solar are connected, USB shall be the active source and solar shall be prevented from supplying power.

4.4 Target Components


FunctionPreferred ComponentNotes
Battery chargingCN3063Preferred starting point, subject to architecture validation
3.3 V rail generationRT8059Preferred starting point, subject to source/load validation
Selectable boosted railMT3608LPreferred starting point for either 12 V or 5 V, one at a time
5. Power Architecture
5.1 Block Diagram Description
Planned high-level architecture:
  1. External power sources: solar input and USB-C input
  2. Source qualification and prioritization stage
  3. Battery charging stage for the 1S LiPo battery
  4. System power-path / load-sharing stage
  5. 3.3 V rail generation stage
  6. Selectable boosted output stage producing either 5 V or 12 V
  7. Output distribution stage for downstream loads

5.2 Proposed Functional Partitioning


BlockFunctionCurrent Direction
Solar input front endAccept solar input, protect and qualify sourceMust include threshold behavior for usable charging/power contribution
USB input front endAccept USB-C input, protect source, define USB current behaviorUSB priority source
Source priority stageEnsure USB has priority over solarSolar may remain attached but must not contribute when USB is present
Battery chargerCharge 1S LiPo from external sourcePrefer CN3063 if architecture fit is confirmed
Power path / load sharingRun system from external source when available, fall back to battery otherwiseRequired behavior
3.3 V regulatorGenerate 3.3 V railPrefer RT8059 if validated
Boost stageGenerate either 5 V or 12 VPrefer MT3608L if validated
Output selection stageSelect one boosted output target at a timeManual switch preferred over jumper
6. Input Source Prioritization Strategy
The board must support automatic source prioritization with USB as the preferred source.

6.1 Intended Behavior


ConditionDesired Behavior
USB only presentUSB powers system and charges battery, subject to input budget
Solar only presentSolar powers system and charges battery when above threshold
USB and solar both presentUSB powers system; solar remains attached but is prevented from contributing power
No external source presentBattery powers system
External source insufficient for load + chargingLoad remains powered; charging current reduces or stops
6.2 Candidate Implementation Direction
A source-selection stage is required ahead of the charger and/or system power path.
Potential implementation directions to evaluate later:
  • Ideal-diode OR-ing with explicit priority control
  • PFET-based power-path selection
  • Load-switch or power-mux style selection
6.3 Requirements Locked So Far
  • USB has priority over solar.
  • Solar does not need to be physically disconnected.
  • Solar must simply be prevented from contributing power while USB is present.
  • External power should operate the system directly when available.
7. Battery Charging Strategy
The system shall charge a 1S LiPo battery whenever a valid external source is available and there is sufficient source margin beyond system load.
7.1 Intended Charging Sources
  • Solar input
  • USB-C input
7.2 Preliminary Strategy
  • Use CN3063 as the initial preferred LiPo charging controller.
  • Favor safe, conservative charging behavior rather than aggressive fast charging.
  • Respect the USB input current budget.
  • Allow solar charging whenever the solar source is available and above a defined usable threshold.
  • Ensure charging current can be reduced or suspended when external power is insufficient for both charging and load operation.

7.3 Charging Design Considerations


ItemDirection
Battery capacity target4400 mAh
Battery protectionOnboard
Battery connectorCommon JST battery connector, exact family TBD
Charge aggressivenessConservative; fast charging is not a priority
Input qualificationRequired, especially for solar
Reverse current blockingRequired
Thermal managementMust be considered in charger and power-path design
8. Output Rail Generation Strategy
8.1 3.3 V Rail
Planned approach:
  • Generate the 3.3 V rail using RT8059 as the preferred starting point.
  • Support 500 mA continuous load, with some additional peak margin.
  • Keep 3.3 V available whenever any valid source exists.
Open validation items:
  • Confirm suitability over the full system input range.
  • Confirm expected efficiency across the battery voltage range.
  • Confirm ripple, transient, and thermal behavior against downstream needs.
8.2 5 V / 12 V Rail Generation
Planned approach:
  • Use MT3608L as the preferred starting point.
  • Generate either 5 V or 12 V, selected manually, one at a time.
  • Prefer a manual switch rather than a jumper.
  • Ideally support output selection while the board is powered.
Open validation items:
  • Final selection topology
  • Whether live switching requires output blanking, discharge, soft-transition, or interlock behavior
  • Whether MT3608L is still the best fit after architecture review
8.3 Simultaneity Constraint
This requirement is now locked:
  • 5 V and 12 V are not required simultaneously.
  • 3.3 V should remain available regardless of whether 5 V or 12 V is selected.
9. Power Budget and Efficiency Considerations

9.1 Output Power Targets


RailVoltageCurrentOutput Power
12 V12 V100 mA1.2 W
5 V5 V500 mA2.5 W
3.3 V3.3 V500 mA1.65 W
9.2 Immediate Observations
  • The listed outputs should be treated as continuous worst-case loads.
  • Additional margin should be allowed for peak current events.
  • The 5 V and 12 V rails are selectable, one at a time, which reduces the worst-case boosted-load burden versus a simultaneous-output design.
  • USB input budget of 500 mA is likely to be a major system constraint during charge-plus-load operation.
  • Solar performance cannot be budgeted accurately from Voc alone.
  • Converter efficiency will strongly affect battery runtime and thermal performance.
9.3 Budget Items To Quantify Later
  • Worst-case battery input current in each operating mode
  • Worst-case USB current draw during load plus charging
  • Realistic solar contribution under non-ideal conditions
  • Conversion losses for the 3.3 V and boosted rail
  • Runtime with 4400 mAh battery for representative load cases
  • Thermal dissipation in charger, boost, buck, and priority path elements

10. Key Components and Rationale


ComponentIntended RoleCurrent RationaleStatus
CN30631S LiPo chargerPreferred by user; candidate for conservative charging implementationNeeds validation in full architecture
RT80593.3 V converterPreferred by user for always-on 3.3 V railNeeds validation against actual power-path conditions
MT3608LBoost converterPreferred by user for selectable 5 V / 12 V railNeeds validation for both outputs, live switching behavior, and continuous-load targets
11. Assumptions
  • The LiPo battery is a single-cell chemistry with nominal voltage near 3.7 V and full-charge voltage of 4.2 V.
  • The board is intended for indoor use.
  • USB is the highest-priority external source whenever connected.
  • 5 V and 12 V are mutually exclusive outputs.
  • 3.3 V must remain available whenever any valid source exists.
  • The project is currently in architecture/specification phase only; no schematic decisions are yet locked.

12. Open Questions


TopicQuestionPriority
USB-C behaviorWhat exact USB-C feature level is required: simple sink-only CC configuration, BC1.2-style charging detection, or fuller USB-C current negotiation handling?High
Solar inputWhat usable solar threshold should qualify the source for charging/system contribution?High
Solar inputWhat is the panel operating voltage/current at maximum power, not just Voc?High
Selectable output behaviorDuring live switching between 5 V and 12 V, what interruption or transient is acceptable to the downstream load?High
Downstream requirementsAre there explicit ripple, startup-time, sequencing, or brownout constraints for the loads on 3.3 V, 5 V, or 12 V?Medium
Battery connectorShould the exact JST family be specified now, or left as an implementation choice for later?Low
13. Constraints
  • Solar input is variable and environment-dependent.
  • USB input budget is limited to 500 mA.
  • Battery voltage varies across charge and discharge states.
  • One boosted rail must serve two output-voltage targets, implying mode selection and non-simultaneous operation.
  • The design should remain appropriate for a low-power indoor embedded application.

14. Risks


RiskDescriptionImpact
Source-power insufficiencyAvailable input power may be insufficient for worst-case load plus chargingHigh
USB current limit conflictUSB source budget may conflict with charge-plus-load demandHigh
Solar variabilityReal solar power may be far below nominal depending on conditionsHigh
Architecture mismatchPreferred ICs may not cleanly satisfy all required operating modes togetherHigh
Rail selection transientSwitching between 5 V and 12 V may disturb powered loadsMedium
Thermal stressCharger or converters may dissipate significant heat under worst-case conditionsMedium
USB-C implementation scopeDesired current negotiation capability may require more than a minimal power-only USB-C input stageMedium

15. Decisions Log


DateDecisionStatusNotes
2026-04-15Create living design specification in Files tab before schematic workDecidedInitial architecture capture
2026-04-15Treat this document as the source-of-truth living spec for ongoing updatesDecidedUpdate in place as requirements evolve
2026-04-15Use CN3063, RT8059, and MT3608L as preferred starting componentsInitial directionSubject to validation during architecture review
2026-04-15Use USB-C receptacle for wired external power inputDecidedUSB current negotiation capability desired
2026-04-15Assume USB source budget of 500 mA worst caseDecidedLoad support takes priority over charging
2026-04-15Use 1S LiPo 4400 mAh battery target with onboard protectionDecidedCommon JST battery connector to be chosen
2026-04-15Keep 3.3 V available whenever any valid source existsDecided500 mA continuous target with some peak margin
2026-04-15Make 5 V and 12 V mutually exclusive outputsDecidedManual selection preferred
2026-04-15Prefer live switching of 5 V / 12 V while powered if feasibleGoalFinal transient behavior still needs definition
2026-04-15External power should run the system and charge the battery when possibleDecidedCharging is secondary to sustaining the load
16. Next Update Targets
The next revision of this document should ideally resolve or refine:
  • Exact USB-C implementation scope
  • Solar qualification threshold and real operating point assumptions
  • Acceptable transient behavior during live 5 V / 12 V switching
  • Downstream rail quality and startup expectations
  • Preliminary operating-mode power budget

    1. Document Purpose

    2. Project Goal

    3. System Overview

    4. Requirements Snapshot

    4.1 Inputs

    4.2 Outputs

    4.3 Power Behavior

    4.4 Target Components

    5. Power Architecture

    5.1 Block Diagram Description

    5.2 Proposed Functional Partitioning

    6. Input Source Prioritization Strategy

    6.1 Intended Behavior

    6.2 Candidate Implementation Direction

    6.3 Requirements Locked So Far

    7. Battery Charging Strategy

    7.1 Intended Charging Sources

    7.2 Preliminary Strategy

    7.3 Charging Design Considerations

    8. Output Rail Generation Strategy

    8.1 3.3 V Rail

    8.2 5 V / 12 V Rail Generation

    8.3 Simultaneity Constraint

    9. Power Budget and Efficiency Considerations

    9.1 Output Power Targets

    9.2 Immediate Observations

    9.3 Budget Items To Quantify Later

    10. Key Components and Rationale

    11. Assumptions

    12. Open Questions

    13. Constraints

    14. Risks

    15. Decisions Log

    16. Next Update Targets

Documents

    design-specification

Assets

No assets added.

Low-Power Embedded Power Management Board e5ec

Low-Power Embedded Power Management Board e5ec thumbnail
Power management board for a low-power embedded system with solar panel, 1S LiPo battery, and USB 2.0 inputs; charges the battery from available external power, powers the system from battery when external sources are absent, prioritizes USB over solar, and generates selectable boosted 12V or 5V output plus a regulated 3.3V rail.

Properties

Properties describe core aspects of the project.

Pricing & Availability

See prices from popular manufacturers for your project.

Controls