• Terminal
    Terminal
    An electrical connector acting as reusable interface to a conductor and creating a point where external circuits can be connected.
  • Ground
    A common return path for electric current. Commonly known as ground.
  • Net Portal
    A net identifier used to create connectivity to other Net Portal with the same designator. #portal
  • Power Net Portal
    Power net portal is a special schematic object used to define a power or ground net. Power ports allow you to conveniently indicate a power net at any location in the design. Power nets of the same designator automatically connect throughout your design #portal #power
  • Generic Resistor
    A generic fixed resistor for rapid developing circuit topology. Save precious design time by seamlessly add more information to this part (value, footprint, etc.) as it becomes available. Standard resistor values: 1.0Ω 10Ω 100Ω 1.0kΩ 10kΩ 100kΩ 1.0MΩ 1.1Ω 11Ω 110Ω 1.1kΩ 11kΩ 110kΩ 1.1MΩ 1.2Ω 12Ω 120Ω 1.2kΩ 12kΩ 120kΩ 1.2MΩ 1.3Ω 13Ω 130Ω 1.3kΩ 13kΩ 130kΩ 1.3MΩ 1.5Ω 15Ω 150Ω 1.5kΩ 15kΩ 150kΩ 1.5MΩ 1.6Ω 16Ω 160Ω 1.6kΩ 16kΩ 160kΩ 1.6MΩ 1.8Ω 18Ω 180Ω 1.8KΩ 18kΩ 180kΩ 1.8MΩ 2.0Ω 20Ω 200Ω 2.0kΩ 20kΩ 200kΩ 2.0MΩ 2.2Ω 22Ω 220Ω 2.2kΩ 22kΩ 220kΩ 2.2MΩ 2.4Ω 24Ω 240Ω 2.4kΩ 24kΩ 240kΩ 2.4MΩ 2.7Ω 27Ω 270Ω 2.7kΩ 27kΩ 270kΩ 2.7MΩ 3.0Ω 30Ω 300Ω 3.0KΩ 30KΩ 300KΩ 3.0MΩ 3.3Ω 33Ω 330Ω 3.3kΩ 33kΩ 330kΩ 3.3MΩ 3.6Ω 36Ω 360Ω 3.6kΩ 36kΩ 360kΩ 3.6MΩ 3.9Ω 39Ω 390Ω 3.9kΩ 39kΩ 390kΩ 3.9MΩ 4.3Ω 43Ω 430Ω 4.3kΩ 43KΩ 430KΩ 4.3MΩ 4.7Ω 47Ω 470Ω 4.7kΩ 47kΩ 470kΩ 4.7MΩ 5.1Ω 51Ω 510Ω 5.1kΩ 51kΩ 510kΩ 5.1MΩ 5.6Ω 56Ω 560Ω 5.6kΩ 56kΩ 560kΩ 5.6MΩ 6.2Ω 62Ω 620Ω 6.2kΩ 62KΩ 620KΩ 6.2MΩ 6.8Ω 68Ω 680Ω 6.8kΩ 68kΩ 680kΩ 6.8MΩ 7.5Ω 75Ω 750Ω 7.5kΩ 75kΩ 750kΩ 7.5MΩ 8.2Ω 82Ω 820Ω 8.2kΩ 82kΩ 820kΩ 8.2MΩ 9.1Ω 91Ω 910Ω 9.1kΩ 91kΩ 910kΩ 9.1MΩ #generics #CommonPartsLibrary
  • Generic Capacitor
    A generic fixed capacitor for rapid developing circuit topology. Save precious design time by seamlessly add more information to this part (value, footprint, etc.) as it becomes available. Standard capacitor values: 1.0pF 10pF 100pF 1000pF 0.01uF 0.1uF 1.0uF 10uF 100uF 1000uF 10,000uF 1.1pF 11pF 110pF 1100pF 1.2pF 12pF 120pF 1200pF 1.3pF 13pF 130pF 1300pF 1.5pF 15pF 150pF 1500pF 0.015uF 0.15uF 1.5uF 15uF 150uF 1500uF 1.6pF 16pF 160pF 1600pF 1.8pF 18pF 180pF 1800pF 2.0pF 20pF 200pF 2000pF 2.2pF 22pF 20pF 2200pF 0.022uF 0.22uF 2.2uF 22uF 220uF 2200uF 2.4pF 24pF 240pF 2400pF 2.7pF 27pF 270pF 2700pF 3.0pF 30pF 300pF 3000pF 3.3pF 33pF 330pF 3300pF 0.033uF 0.33uF 3.3uF 33uF 330uF 3300uF 3.6pF 36pF 360pF 3600pF 3.9pF 39pF 390pF 3900pF 4.3pF 43pF 430pF 4300pF 4.7pF 47pF 470pF 4700pF 0.047uF 0.47uF 4.7uF 47uF 470uF 4700uF 5.1pF 51pF 510pF 5100pF 5.6pF 56pF 560pF 5600pF 6.2pF 62pF 620pF 6200pF 6.8pF 68pF 680pF 6800pF 0.068uF 0.68uF 6.8uF 68uF 680uF 6800uF 7.5pF 75pF 750pF 7500pF 8.2pF 82pF 820pF 8200pF 9.1pF 91pF 910pF 9100pF #generics #CommonPartsLibrary
  • Generic Inductor
    A generic fixed inductor for rapid developing circuit topology. *You can now change the footprint and 3D model at the top level anytime you want. This is the power of #generics
  • 875105359001
    10uF Capacitor Aluminum Polymer 20% 16V SMD 5x5.3mm #forLedBlink #commonpartslibrary #capacitor #aluminumpolymer #radialcan
  • CTL1206FYW1T
    Yellow 595nm LED Indication - Discrete 1.7V 1206 (3216 Metric) #forLedBlink
  • 1070TR
    Battery Holder (Open) Coin, 20.0mm 1 Cell SMD (SMT) Tab bate or batt #forLedBlink
MOSFET Driver

MOSFET Driver
3y
Someone is typing...
Battery to 5V (SMPS)

Battery to 5V (SMPS)
3y
Someone is typing...
8
LOAD OUTPUT

High-side switch necessary, otherwise e.g. in case of a laptop powered by 12V and connected to USP port GND current would continue through USB wire.
3y
LOAD OUTPUT
3y
Someone is typing...
5
DC/DC Power Stage

DC/DC Power Stage
3y
Someone is typing...
1
Solar Voltage

PMOS for protection of MCU pins if PV panel is connected before battery
3y
Solar Voltage
3y
Someone is typing...
2
Current Sense Amplifier

Diff. amp. reference defined by DAC pin instead of GND: variable zero current set point
3y
Current Sense Amplifier
3y
Someone is typing...
6
Solar Panel

Voltage: 16-55V
3y
Solar Panel
3y
Someone is typing...
3
Battery Voltage

Same voltage divider for V_SOLAR and V_BAT to use COMP1 for MCU wake-up when Vsolar > Vbat
3y
Battery Voltage
3y
Someone is typing...
7
D7
R33
Resistance
2.2k Ω
R43
Resistance
100 Ω
SPI1_SCK
USART1_RX
R11
Resistance
470 Ω
USART1_RX
V_SOLAR_EN
R12
Resistance
100k Ω
C13
Capacitance
1n F
C41
Capacitance
2.2u F
5V_PG
PWR_FLAG11
USB_PWR_EN
C24
Capacitance
100n F
USART1_TX
R22
Resistance
100k Ω
I_LOAD
SWCLK
RESET
T_BAT
SPI1_MISO
C44
Capacitance
10n F
C36
Capacitance
100n F
USART1_TX
C38
Capacitance
100n F
BUTTON
R18
Resistance
470 Ω
TEMP_INT_PD
SWDIO
LOAD_S
USB_DM
T_BAT
I_DCDC
USART2_RX
V_SOLAR
PWM_HS
+3.3V
C9
Capacitance
100n F
USB_DP
I2C1_SCL
USB_DM
C49
Capacitance
10n F
+3.3V
SPI1_MISO
C43
Capacitance
100n F
+3.3V
5V_PG
BUTTON
TEMP_INT_PD
R23
Resistance
100k Ω
V_BAT
BOOT0
I_LOAD
R21
Resistance
470 Ω
R20
Resistance
470 Ω
USART2_TX
SWDIO
SPI1_MOSI
I2C1_SCL
SPI1_SCK
PWM_LS
+3.3V
SSEL
C11
Capacitance
1n F
USART2_TX
R7
Resistance
2.2k Ω
TEMP_EXT
+3.3V
DAC
R34
Resistance
2.2k Ω
+3V3
C23
Capacitance
2.2u F
LED_B
I2C1_SDA
LOAD_EN
DCDC_OUT
LED_A
+3.3V
R35
Resistance
100k Ω
R19
Resistance
10k Ω
DCDC_OUT
SWCLK
C39
Capacitance
100n F
R29
Resistance
24.9k Ω
LED_C
C58
Capacitance
100p F
USB_DP
U5
+12V
+12V
+5V
+5V
VDDA
LED2
F2
J8
J7
U6
Manufacturer Part Number
INA2181A3QDGSRQ1
U4
Q6
Q5
LED3
LED5
RT1 - 10k NTC
IC6
J5
U3

MPPT Solar Charge Controller

MPPT Solar Charge Controller
Description

Created
September 11th 2021
Last updated by adrian95
7 months ago
1 Contributor(s)
adrian95

Controls

Properties

Availability & Pricing

DistributorQty 1
Digi-Key$15.21–$21.93
LCSC$30.43
Mouser$18.23

Assets

    Thumbnail
  • thumbnail
    logo.png

    id=logo

Simulation

µs

Simulation Speed

can you explain how this design works?
@copilot can you explain how this design works?
1y
Absolutely, your project seems to be a Maximum Power Point Tracking (MPPT) Solar Charge Controller with dual USB ports, based on the STM32L072 MCU.
The MPPT Solar Charge Controller makes sure that the batteries get charged to their maximum capacity by increasing the charging efficiency of the solar panel system. It adjusts its input voltage to harvest the maximum power from the solar array and then transforms this power to supply the varying voltage requirement of the battery plus load. This significantly improves the efficiency of your solar system.
An important part in your project is the STM32L072 Microcontroller which handles the main operations of the controller such as sending output pulse width modulation (PWM) signals to control charging and sensing the voltage and current parameters of the battery and solar panel.
The use of low-ohm resistors and the INA2181 current sensing amplifier is crucial for the accurate measurement of current through the battery and solar panel and the op-amp LM5109 is responsible for driving the gates of the MOSFETs.
Your project also has an interfacing point labeled UEXT which likely allows users to connect directly to the STM32 MCU for programming or other data transfer.
In the context of the simulator operation, you need to understand that not every component can be simulated since some real-world components might not have a SPICE simulation model attached to them. But Flux has a built-in simulator engine that is continuously running in the background, offering you real-time results while designing your PCB, which could help you iterate your design faster.
Please note that without exact knowledge of the circuit connections or the intended operation, my explanation may not cover all components' purpose. I advise cross-checking it considering your circuit design and functionality.
Source(s):
1y
according to this design, what is the rated current? how many Wattage is this design?
1y
Given the information provided, it's not possible to directly determine the rated current or wattage of the entire design. However, I can provide some general steps to estimate these values:

  1. Rated Current: Identify the component in your design that has the highest current rating. This is often a power supply or a high-power load like a motor. For your design, it could potentially be the solar panels or the batteries. You will need the specifications for these components to determine the current rating.
  2. Wattage: The total power capacity of your design would generally be the product of the maximum voltage and maximum current in the system (P=VI). Again, you would typically look at the power supply specifications to determine this. If the voltage is regulated (like in a charge controller), you would use the regulated voltage level.
In your specific case, the design is a 10A MPPT Solar Charge Controller. This suggests that the maximum current output to the battery and loads is 10A. If we knew the maximum voltage of the system (for example, if this was a 12V system), we could calculate the maximum power output as voltage multiplied by current (P=VI).
Without the voltage information, I can't provide a specific power capacity. Please provide more information or check your design specifications to determine these values.
Remember that these are rough estimates. For a detailed analysis, you would need to perform a power budget that accounts for all power consumers and generators in your design, under all operating conditions.
1y
can u simulate this
can u simulate this
1y
Hey, I'm copilot! I can help you with all kinds of stuff in your project. Reac...
Hey, I'm copilot! I can help you with all kinds of stuff in your project. Reach me at any time by tagging me on comments or in the chat with my handle, @copilot.
1y
Someone is typing...
Checks that the power traveling across a given resistor is under its rating with 50% headroom.
Learn more
Checks that IC pins that require pull up or pull down resistors have them.
Learn more
Checks that capacitors have appropriate voltage ratings to prevent overheating and ensure reliable circuit operation.
Checks that all parts have a part number and are available from distributors.
Des
Net
Des
Net
P1
Net (U3 - 3)
P1
Net (R43 - P1)
P2
Net (R35 - P1)
P2
P2
Net (R35 - P1)
P1
Net (C42 - P2)
P2
Net (R35 - P1)
P2
Net (C41 - P1)
P2
Net (C41 - P1)
P2
P2
Net (C41 - P1)
P1
Net (C42 - P2)
P2
Net (J4 - SCK)
P1
P2
P1
Net (R18 - P2)
P1
Net (U6 - OUT2)
P2
Net (Q3 - SOURCE)
P1
Net (U6 - OUT2)
ANODE
Net (C29 - P1)
P1
Net (U6 - OUT2)
CATHODE
GND
P2
Net (I_LOAD - P1)
P4
P2
Net (I_LOAD - P1)
K
Net (R10 - P2)
P2
Net (I_LOAD - P1)
P1
P2
Net (I_LOAD - P1)
3
P2
Net (I_LOAD - P1)
P5
P2
Net (I_LOAD - P1)
2
P2
Net (I_LOAD - P1)
1
P2
Net (I_LOAD - P1)
P2
Net (U9 - EN)
P1
P2
Net (TP1 - P1)
P2
Net (USART1_RX - P2)
P1
Net (5V_PG - P1)
P2
Net (USART1_RX - P2)
P2
P2
Net (USART1_RX - P2)
P1
P1
P1
Net (5V_PG - P1)
P2
P1
Net (V_SOLAR_EN - P1)
P2
Net (LOAD_S - P2)
P6
P2
Net (LOAD_S - P2)
P5
P2
Net (LOAD_S - P2)
P1
P2
Net (LOAD_S - P2)
P3
P2
Net (LOAD_S - P2)
P2
P2
Net (LOAD_S - P2)
P4
P2
Net (LOAD_S - P2)
P1
P2
P1
Net (5V_PG - P1)
P2
P1
GND
P2
K
Net (D1 - K)
P2
P1
Net (J4 - RXD)
P2
A
Net (DCDC_OUT - P2)
P1
Net (J4 - RXD)
P1
GND
P1
Net (J4 - RXD)
K
Net (D1 - K)
P1
Net (J4 - RXD)
A
Net (DCDC_OUT - P2)
P2
P1
Net (USB_PWR_EN - P1)
P2
P1
Net (R21 - P2)
P2
Net (R31 - P1)
P1
P2
Net (R31 - P1)
P2
P2
Net (R31 - P1)
P1
Net (IC6 - PB1)
P1
P1
Net (IC6 - PB1)
P2
Net (IC6 - PA5)
P1
P2
Net (SWCLK - P2)
P1
P1
A
Net (R3 - P2)
P2
Net (RESET - P2)
P1
ANODE
Net (L1 - P2)
CATHODE
GND
P2
Net (T_BAT - P2)
P1
P2
P2
Net (J4 - SCL)
P2
P1
Net (J4 - MOSI)
P1
Net (J4 - MOSI)
P2
Net (J4 - SCL)
P1
Net (J4 - MOSI)
P1
EN
P2
Net (J4 - SCL)
VOUT
P2
Net (J4 - SCL)
P2
Net (J4 - SCL)
VIN
P2
Net (J4 - SCL)
BYP/ADJ
P2
Net (J4 - SCL)
GND
P2
P1
Net (HS_DRV - P1)
P2
P1
Net (IC6 - PB4)
P2
Net (IC6 - PA9)
P1
P2
P1
Net (BUTTON - P1)
P1
Net (U3 - 6)
P1
Net (Q5 - SOURCE)
P2
Net (R18 - P2)
P2
GND
P2
Net (R18 - P2)
P1
P2
Net (R18 - P2)
P2
Net (SOLAR+ - P2)
P2
Net (R36 - P1)
K
Net (D1 - K)
P2
Net (C10 - P1)
P1
Net (SW_NODE - P1)
A
Net (+5V - +5V)
P2
Net (R29 - P1)
P2
Net (TEMP_INT_PD - P2)
P1
P2
Net (SWDIO - P2)
P1
P2
P1
Net (J1 - 1)
P2
P2
Net (C8 - P1)
P2
P1
Net (LOAD_S - P1)
P1
Net (LOAD_S - P1)
P1
Net (J1 - 1)
P1
Net (LOAD_S - P1)
P2
Net (C8 - P1)
P2
Net (IC6 - PA11)
P2
P2
Net (IC6 - PA11)
P1
Net (IC6 - PB7)
P2
Net (IC6 - PA11)
P1
P1
P1
Net (IC6 - PB7)
P2
Net (HS_DRV - P2)
P1
P2
P2
GND
P2
P1
Net (C44 - P1)
P1
Net (C44 - P1)
P2
GND
P2
Net (IC6 - PA6)
P2
P2
Net (IC6 - PA6)
P1
P2
Net (IC6 - PA6)
P1
Net (IC6 - PB7)
P1
P1
Net (IC6 - PB7)
P2
Net (R3 - P1)
P1
P2
Net (R5 - P1)
P1
P2
Net (USART2_RX - P2)
P1
P2
Net (USART2_RX - P2)
P2
Net (V_SOLAR - P2)
P2
Net (USART2_RX - P2)
P1
P1
P2
Net (V_SOLAR - P2)
P2
P1
Net (LS_DRV - P1)
P2
Net (V_SOLAR - P2)
P1
P2
Net (C8 - P1)
P1
P2
Net (C8 - P1)
P1
Net (J1 - 1)
P2
Net (C8 - P1)
P2
Net (DCDC_OUT - P2)
P2
Net (C8 - P1)
P1
Net (IC6 - PC13)
P2
Net (C8 - P1)
P2
P1
Net (J1 - 1)
P1
P1
Net (J1 - 1)
P2
Net (DCDC_OUT - P2)
P1
Net (J1 - 1)
P1
Net (IC6 - PC13)
P1
Net (J1 - 1)
P2
P2
ANODE
Net (C29 - P1)
P2
CATHODE
GND
P2
P1
Net (IC6 - PB0)
P1
Net (IC6 - PB0)
ANODE
Net (C29 - P1)
P1
Net (IC6 - PB0)
CATHODE
GND
P2
Net (L1 - P2)
P1
P2
P1
Net (C18 - P2)
P1
Net (HS_DRV - P2)
P2
P1
Net (HS_DRV - P2)
P1
Net (C42 - P2)
P2
Net (R1 - P2)
P1
Net (C17 - P2)
P2
Net (R1 - P2)
P1
Net (R3 - P1)
P2
P1
Net (C6 - P2)
P2
P1
Net (SSEL - P1)
P1
Net (SSEL - P1)
P1
Net (C6 - P2)
ANODE
Net (C8 - P1)
CATHODE
GND
P2
Net (LED_C - P2)
P1
P2
Net (USB_DP - P2)
P1
P2
Net (USB_DP - P2)
P1
Net (C6 - P2)
P1
P1
Net (C6 - P2)
1
P2
Net (U4 - 3)
3
P2
Net (U4 - 3)
P2
Net (U4 - 3)
P5
P2
Net (U4 - 3)
2
P2
Net (U4 - 3)
P4
P2
Net (BAT+ - P2)
P1
Net (BAT+ - P1)
P2
Net (BAT+ - P2)
P1
Net (R29 - P1)
P2
Net (BAT+ - P2)
K
Net (R10 - P2)
P1
Net (BAT+ - P1)
P1
Net (R29 - P1)
P1
Net (BAT+ - P1)
K
Net (R10 - P2)
P2
P1
Net (IC6 - PB6)
P2
Net (U4 - 3)
P1
P2
Net (R14 - P1)
P1
ANODE
Net (C29 - P1)
CATHODE
GND
P2
Net (DCDC_OUT - P2)
P1
P2
Net (C18 - P2)
C
P2
Net (C18 - P2)
B
P2
Net (C18 - P2)
E
P2
Net (U1 - HI)
P1
P2
Net (J4 - MISO)
P2
Net (U1 - LI)
P2
Net (J4 - MISO)
P1
P2
Net (J4 - MISO)
P1
P2
Net (J4 - MISO)
P2
Net (C8 - P2)
P2
Net (J4 - MISO)
P1
Net (J1 - 2)
P1
P2
Net (U1 - LI)
P1
P2
Net (C8 - P2)
P1
P1
Net (J1 - 2)
P2
P1
Net (Q5 - SOURCE)
P1
Net (C28 - P1)
P1
Net (C28 - P1)
P1
Net (C28 - P1)
P1
Net (C28 - P1)
P1
Net (C28 - P1)
P1
Net (C28 - P1)
P2
P1
Net (IC6 - PB12)
P2
Net (I2C1_SCL - P2)
P1
P2
Net (TEMP_INT_PD - P2)
P1
BOOT
A
Net (R3 - P2)
VIN
A
Net (R3 - P2)
PG
A
Net (R3 - P2)
PGND
A
Net (R3 - P2)
FB
A
Net (R3 - P2)
A
Net (R3 - P2)
SW
A
Net (R3 - P2)
VCC
A
Net (R3 - P2)
EN
A
Net (R3 - P2)
AGND
P1
GND
K
Net (D1 - K)
P1
GND
P1
Net (I_DCDC - P2)
P1
GND
A
Net (DCDC_OUT - P2)
P2
Net (D1 - K)
P2
Net (R20 - P2)
A
Net (DCDC_OUT - P2)
P1
Net (I_DCDC - P2)
K
Net (R10 - P2)
P1
Net (R29 - P1)
P2
Net (L1 - P1)
P1
Net (Q1 - S)
P1
Net (C40 - P1)
P2
P1
Net (C40 - P1)
P1
Net (IC6 - PB1)
P2
Net (V_BAT - P2)
P1
P2
P1
Net (R35 - P1)
P2
P1
Net (I_LOAD - P1)
P2
Net (I_DCDC - P2)
P1
P2
Net (IC6 - PA2)
P1
P2
Net (J8 - SWDIO)
P1
P2
P1
Net (J4 - SDA)
P2
P1
Net (IC6 - PB5)
P2
Net (J4 - SCL)
P1
P2
P1
Net (SPI1_SCK - P1)
P2
Net (J6)
P1
P2
P1
Net (IC6 - PB1)
P2
Net (U9 - EN)
P1
P2
Net (IC6 - PA15)