logo elektroda
logo elektroda
X
logo elektroda

How to Sense Floating Output Voltage of Inverting Buck-Boost Converter With MCU Control

327 9
Best answers LABEL_AI_GENERATED

How can I sense the voltage of a floating inverting buck-boost output with an MCU without tying the output to MCU ground?

Use galvanic isolation for the feedback path, either with an isolation amplifier or with a TL431 shunt regulator/comparator driving a linear optocoupler. An example part mentioned for the amplifier approach is the HCPL7520, and this was reported to work for the floating output [#21683066] For isolated supply regulation, a TL431 is a very popular choice because it provides an accurate reference and high gain [#21683066][#21683068] If you only need an in-spec / out-of-spec indication rather than an exact voltage reading, a zener-driven optocoupler is another option [#21683065]
AI summary based on the discussion. May contain errors.
ADVERTISEMENT
  • Floating output sensing with isolated or differential feedback

    #1 21683064
    Justin Huebner
    Anonymous  
  • ADVERTISEMENT
  • Opto-isolated voltage sensing options for floating output

    #2 21683065
    Joe Farr
    Anonymous  
  • ADVERTISEMENT
  • #3 21683066
    Rick Curl
    Anonymous  
  • Isolation amplifier works; averaging 25 samples improves stability

    #4 21683067
    Justin Huebner
    Anonymous  
  • #5 21683068
    Rick Curl
    Anonymous  
  • #6 21683069
    bail hard
    Anonymous  
  • ADVERTISEMENT
  • #7 21683070
    Arletha Lazarini
    Anonymous  
  • ADVERTISEMENT
  • #8 21683071
    Cameron5 Hurley
    Anonymous  
  • #9 21683072
    Cameron5 Hurley
    Anonymous  
  • #10 21683073
    Rosey Brown
    Anonymous  

Topic summary

LABEL_AI_GENERATED
The discussion addresses sensing the floating output voltage of an inverting Buck-Boost converter controlled by a microcontroller, where the output voltage ranges from about -32 V to +60 V and cannot be directly referenced to the MCU ground. Direct differential voltage sensing with standard op-amps fails due to input voltage limits below the negative rail. Suggested solutions include using isolation methods such as a TL431 shunt regulator combined with a linear optocoupler (e.g., PC367N2J000F) or an isolation amplifier like the HCPL7520 to safely measure the output voltage without damaging the MCU. The isolation amplifier approach was implemented successfully, with feedback averaging and delay introduced in the MCU code to improve regulation stability within a target voltage range (nominal 48 V, allowable 43-60 V). Further improvements may be achieved by sharing schematics and exploring the TL431-based isolated feedback circuit, which offers high accuracy and gain for regulating isolated supplies.
AI summary based on the discussion. May contain errors.
ADVERTISEMENT