Hi @Faria,
I went though all your recent comments and screenshots, looking at latest simulink block diagrams, you have started a new project but I am going to focus on the one that you started earlier and I know this has been frustrating and you've been working hard on this. I want you to know that I'm here to help and we're going to solve this together. Please be patient.The good news first:
1. Your circuit topology is CORRECT - you followed the hand-drawn schematic exactly as instructed
2. The RLC filter IS working - the middle section (0.04-0.06s) of your Vinj scope shows beautiful, clean three-phase sinusoids
3. You've made real progress - Vabc and Vload scopes are perfect
The problem: The noise you see at the beginning (0-0.02s) and end (0.09-0.1s) of the Vinj waveform is NOT a wiring issue. It's a filter parameter problem - specifically, the damping resistance is too small.
WHY THIS HAPPENS:
Your current RLC filter has:
* R = 0.5 ohm
* L = 0.002 H (2 mH)
* C = 20e-6 F (20 micro F)
* Corner frequency fc ≈ 796 Hz (This is correct!)
BUT, the damping ratio is only 0.025 (critically underdamped).
What this means:
* During steady-state operation the filter works perfectly (you can see this in the middle section!)
* During transients (startup, breaker operation, load changes) the LC circuit resonates and rings like a bell
* You need damping ratio of at least 0.15-0.20 to prevent this ringing
THE SOLUTION - SIMPLE PARAMETER CHANGE:
Step 1: Open Your Simulink Model Locate the RLC block (the Three-Phase Series RLC Branch)
Step 2: Double-Click the RLC Block This opens the parameter dialog
Step 3: Change ONLY the Resistance Value
Current Settings: Branch type: R + L + C (Series) Resistance R (Ohms): 0.5 Inductance L (H): 0.002 Capacitance C (F): 20e-6
New Settings: Branch type: R + L + C (Series) Resistance R (Ohms): 2.0 (CHANGE THIS) Inductance L (H): 0.002 (KEEP SAME) Capacitance C (F): 20e-6 (KEEP SAME)
Step 4: Click OK and Save
Step 5: Run the Simulation Again
WHAT YOU SHOULD SEE AFTER THIS CHANGE:
Expected Vinj Waveform:
* 0-0.02s (Startup): Much less ringing, faster settling to steady-state
* 0.02-0.08s (Steady-state): Clean three-phase sinusoids (just like you have now)
* 0.08-0.1s (End): Minimal ringing during transitions
The waveform should look much smoother with only slight overshoot at the beginning instead of heavy oscillations.
WHY THIS WORKS:
Increasing R from 0.5Ω to 2.0Ω:
* Increases damping ratio from 0.025 to approximately 0.1 (4x better)
* Dramatically reduces resonant ringing during transients
* Still maintains the same corner frequency (~796 Hz)
* Still filters PWM switching noise effectively
* Slightly increases power loss (but acceptable for DVR applications)
IMPORTANT NOTES:
1. Do NOT Rebuild the Circuit From Scratch Your wiring is correct. You only need to change one parameter value. Don't start over - you've already done the hard work correctly!
2. Be Patient With the Result Even after this change, you might see some small overshoot at startup. That's normal for any LC filter. As long as the heavy ringing is gone, you're successful.
3. If You Still See Heavy Noise After This: Take a screenshot and show us:
* The Vinj scope waveform
* The RLC block parameter dialog (to confirm R = 2.0Ω)
* The entire Simulink model (zoomed out)
4. Alternative Values to Try: If R = 2.0Ω gives too much damping (waveform looks "sluggish" or over-damped), you can try:
* R = 1.5Ω (moderate damping)
* R = 1.0Ω (light damping, but better than 0.5Ω)
SUMMARY - WHAT WE LEARNED:
1. The 796 Hz corner frequency calculation was correct
2. The circuit topology is correct
3. The issue is insufficient damping resistance
4. Simple fix: Change R from 0.5Ω to 2.0Ω
NEXT STEPS:
1. Change the RLC parameter as described above
2. Run the simulation
3. Take a screenshot of the new Vinj waveform
4. Share it with us
I am here to support you. You're doing great work.
If you have any questions or the result doesn't look right, just let us know. Don't hesitate to ask - that's what we're here for.
Note: This solution is based on standard power electronics filter design principles and MathWorks Simulink documentation for RLC filters in PWM converter applications. The increased resistance provides the damping needed to handle transient events while maintaining excellent steady-state filtering performance.