–50-V, 1-W Power Supply Harnesses Unused µC Pins

Nov. 7, 2005
Why not take advantage of the micro-controller included in many systems these days? This design uses microcontroller feedback to produce a ?50-V, 1-W power supply (see the figure). It leverages an unused analog-to-digital converter (ADC) inpu

Why not take advantage of the micro-controller included in many systems these days? This design uses microcontroller feedback to produce a ?50-V, 1-W power supply (see the figure). It leverages an unused analog-to-digital converter (ADC) input and a pulse-width-modulation (PWM) output to close the loop on a basic inverting single-ended primary inductance converter (SEPIC) topology.

Varying the duty cycle of the waveform that drives the pass-FET (Q1) controls the circuit's negative output voltage. A simple voltage translator solves the problem of feeding a negative voltage back to the microcontroller's 12-bit ADC, which has only a positive-voltage common-mode range. The npn transistor (Q2) and R1, R2, and R3 form the voltage translator for converting the negative output voltage to a proportional positive feedback voltage for the ADC.

Within the microcontroller, a simple Proportional Integral Plus (PIP) software routine closes the loop (see the code listing; for a downloadable version, see the online version of this article). The code for controlling the loop is written for a Freescale DSP56827 digital signal processor, but it could be adapted to any microcontroller with a multiply function. Typical integral gain is 0.01, and proportional gain is 0.2, but some experimentation will be necessary to determine optimal values.

Sponsored Recommendations

What are the Important Considerations when Assessing Cobot Safety?

April 16, 2024
A review of the requirements of ISO/TS 15066 and how they fit in with ISO 10218-1 and 10218-2 a consideration the complexities of collaboration.

Wire & Cable Cutting Digi-Spool® Service

April 16, 2024
Explore DigiKey’s Digi-Spool® professional cutting service for efficient and precise wire and cable management. Custom-cut to your exact specifications for a variety of cable ...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!