–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

Near- and Far-Field Measurements

April 16, 2024
In this comprehensive application note, we delve into the methods of measuring the transmission (or reception) pattern, a key determinant of antenna gain, using a vector network...

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.

Empowered by Cutting-Edge Automation Technology: The Sustainable Journey

April 16, 2024
Advanced automation is key to efficient production and is a powerful tool for optimizing infrastructure and processes in terms of sustainability.

Comments

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