This document provides the exact pinout, electrical requirements, and external supporting component list for integrating the UC3843 into the 4kW MPPT Booster.
This circuit configures the UC3843 as a "Hardware Slave" to the dsPIC30F2010. The dsPIC commands the target voltage, but the UC3843 handles all the nanosecond-level switching, dead-time, and peak current protection.
+---+--+---+
COMP | 1 8 | VREF (5.0V)
| |
VFB (from) | 2 7 | VCC (15V)
(dsPIC) | |
ISENSE | 3 6 | OUT (to Gate Driver)
| |
RT/CT | 4 5 | GND
+----------+
| Pin | Name | External Components Required | Purpose & Connection |
|---|---|---|---|
| 1 | COMP | 100kΩ Resistor + 10nF Capacitor in series to Pin 2 |
Error Amplifier Compensation. Stabilizes the internal op-amp so it doesn't oscillate when the dsPIC changes the voltage. |
| 2 | VFB | RC Filter from dsPIC OC1 pin + 10kΩ Pull-Up to VREF |
Voltage Feedback. The dsPIC feeds a filtered DC voltage here. CRITICAL: You must add a 10kΩ pull-up to Pin 8 (VREF) for boot safety. |
| 3 | ISENSE | 1kΩ + 470pF (LEB Filter) + Slope Comp Resistor |
Current Protection. Receives the 0-1V signal from the INA181. Shuts off the IGBT instantly if it hits 1.0V (50A). |
| 4 | RT/CT | Rt = 8.6kΩ to Pin 8.Ct = 10nF to GND. |
Oscillator (20 kHz). These two components set the main switching frequency. |
| 5 | GND | None | Ground. Tie to the main clean analog ground. |
| 6 | OUT | 1.3kΩ Resistor to FOD3150 Pin 2 |
PWM Output. Drives the LED inside the isolated FOD3150. (15V output - 1.5V LED = 13.5V. 13.5V / 1.3kΩ = ~10mA). |
| 7 | VCC | 10µF Electrolytic + 0.1µF Ceramic to GND |
Power Supply (15V). Must be stable. The UC3843 turns on at 8.4V and turns off at 7.6V (UVLO). |
| 8 | VREF | 0.1µF Ceramic to GND |
5.0V Reference. Internal highly accurate 5V supply used to power the Rt resistor. |
To make the layout perfectly clear for PCB design, the schematic is broken down into three functional modules.
+-----------------------+
| |
(COMP) 1 --| UC3843 |-- 8 (VREF)
| |
(VFB) 2 --| PWM CONTROLLER |-- 7 (VCC)
| |
(ISENSE) 3 --| |-- 6 (OUT)
| |
(RT/CT) 4 --| |-- 5 (GND)
+-----------------------+
This module handles the 380V hardware regulation and the dsPIC MPPT injection logic.
+---> To Pin 1 (COMP)
|
[10nF + 100kΩ]
|
[ 380V DC Bus ]---[ 1.5MΩ ]-+---> To Pin 2 (VFB)
|
[ Ground ]----[ 10kΩ ]--+
|
[47kΩ Injection]
|
(Node A) --- [ 1µF Cap ] --- GND
|
[10kΩ Filter]
|
[ dsPIC OC1 ]------------+-------- [ 10kΩ Pull-Up ] --- +5V
This module handles the nanosecond current protection and cures sub-harmonic oscillation.
[ INA181 OUT ]---[ 1kΩ ]----+-------> To Pin 3 (ISENSE)
|
[ Ground ]---[ 470pF ]--+
|
[10kΩ Slope Res]
|
[Emitter]
2N3904 NPN
[Base] [Collector] ------> To Pin 8 (VREF)
|
+-----------------------> To Pin 4 (RT/CT)
|
[Rt 8.6kΩ] ----------------> To Pin 8 (VREF)
|
[Ct 10nF ] ----------------> Ground
This module provides power and drives the isolated gate driver.
[ Ground ] <------------------------- Pin 5 (GND)
[ FOD3150 Pin 2 ] <-------[ 1.3kΩ ]---------- Pin 6 (OUT)
[ +15V Power ] ---+------------------------ Pin 7 (VCC)
|
[ Ground ] ---+---[ 10µF + 0.1µF ]
[ Ground ] ---+---[ 0.1µF ]------------ Pin 8 (VREF)
- Pin 1 & 2 Loop: The
10nFcapacitor and100kΩresistor connect Pin 1 and Pin 2 together to stabilize the internal amplifier. - Pin 2 (The Summing Node): This relies on Kirchhoff's Current Law (KCL).
- 380V Hardware Regulation: A
1.5MΩresistor connects to the 380V DC Bus, and a10kΩresistor connects to Ground. If the dsPIC is at 50% PWM, it becomes invisible, and this divider clamps the hardware at exactly 377V. - dsPIC RC Filter: The OC1 PWM signal first passes through a
10kΩFilter Resistor and a1µFFilter Capacitor to Ground. This flattens the 20kHz PWM into a perfectly smooth DC voltage. - dsPIC Injection: This smooth DC voltage connects to Pin 2 via a
47kΩinjection resistor. By changing PWM from 0% to 100%, the dsPIC slides the hardware target voltage anywhere between 443V and 311V. - Boot-Up Safety: A
10kΩPull-Up resistor is attached directly to the dsPIC OC1 pin to the +5V MCU power. If the dsPIC is booting (floating), this forces 5V through the filter, regulating the bus safely to 321V and keeping the system shut down.
- 380V Hardware Regulation: A
- Pin 3 Input: The INA181 current signal passes through a
1kΩresistor and470pFcapacitor to ground to filter out 100ns Leading Edge Noise. - Pin 3 & 4 (Slope Comp): The
2N3904 NPNtransistor's Base connects to Pin 4 to read the 20kHz sawtooth wave without stealing current. Its Collector connects to Pin 8 (VREF) for muscle. Its Emitter connects through a10kΩslope resistor to Pin 3 to cure sub-harmonic oscillation at >50% duty cycles. - Pin 4 Timing: An
8.6kΩresistor connects to Pin 8. A10nFcapacitor connects to Ground. This guarantees exactly 20kHz switching. - Pin 6 Output: A
1.3kΩresistor connects directly to the LED input of the FOD3150. Since the UC3843 outputs 15V, this resistor safely limits the LED current to ~10mA.
As discussed in Section 14.8, because you are boosting 150V to 380V (a duty cycle greater than 50%), you must add slope compensation to Pin 3 to prevent sub-harmonic oscillation.
How to wire it:
- NPN Transistor: Use a standard cheap NPN like a
2N3904. - Base: Connect to Pin 4 (RT/CT). This picks up the 20kHz sawtooth wave.
- Collector: Connect to Pin 8 (VREF) or Pin 7 (VCC) for power.
- Emitter: Connect a
10kΩresistor from the Emitter to Pin 3 (ISENSE).
How it works: It takes the oscillator's rising ramp and mixes a tiny bit of it into the current sensor's signal. This mathematically tricks the UC3843's internal comparators into remaining perfectly stable, even when the duty cycle climbs up to 90% during a cold start!
When reviewing Advanced Chinese inverter architectures (like Voltronic Axpert), they all implement a safety mechanism to prevent a "Dead-Boot Explosion."
The Flaw: When you turn the inverter on, the 15V supply wakes up the UC3843 instantly. However, the dsPIC30F2010 takes several milliseconds to boot up its software and output a signal on the OC1 pin. During these milliseconds, the VFB (Pin 2) is floating at 0V.
If VFB is 0V, the UC3843 thinks the solar voltage has crashed, and it instantly goes to 100% MAXIMUM Duty Cycle. Turning on a boost converter at 100% duty cycle is a dead short circuit across the solar panels. The IGBTs will explode before the dsPIC even finishes booting.
The Tier-1 Solution:
You MUST place a 10kΩ Pull-Up resistor on the dsPIC OC1 PWM line (connected to your 5V MCU power).
- Why this works: Before the dsPIC boots, this resistor pulls the injection line to
5.0V. This 5V feeds through the47kΩinjection resistor into Pin 2 (VFB), pushing the VFB node slightly above 2.5V. The UC3843 defaults to 0% Duty Cycle (safely disabled). - Once the dsPIC boots up, it drives the OC1 pin low or high, overpowering the pull-up resistor and taking proper control of the voltage.