Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #491921

Re: Opinion on Semi predictive feedback control

From "Tim Williams" <tiwill@seventransistorlabs.com>
Newsgroups sci.electronics.design
Subject Re: Opinion on Semi predictive feedback control
Date 2018-01-20 07:35 -0600
Organization A noiseless patient Spider
Message-ID <p3vgi3$c3k$1@dont-email.me> (permalink)
References <dfafb3ba-aed0-4b52-ab49-98873f41b93c@googlegroups.com> <08c26373-9905-4abc-b7e5-7d4b0fd89389@googlegroups.com>

Show all headers | View raw


"whit3rd" <whit3rd@gmail.com> wrote in message 
news:08c26373-9905-4abc-b7e5-7d4b0fd89389@googlegroups.com...
> But, isn't that now a PI loop?  And, with 'hysteresis mode'?

No, that's nonlinear (constant slew rate), and also unstable.

Seems to me, following a hysteretic control with a hysteretic control has a 
certain poetic awfulness to it. ;-)

A linear process has the output change proportional to the error.  Multiply 
the input error by a coefficient (and the error sum over time -- the 
integral term) and set the output to that.  Keep track of fractional bits 
(say, using a 32 bit register, 16 of which feed the output) so that the 
output still changes (slowly, i.e. an LSB every however-many samples) when 
the input error is very small (a few LSBs).

You might as well strip it back further, replacing the outside hysteretic 
controller with a PWM channel so you can do average current mode control. 
(Peak current mode control isn't practical on most MCUs.)  I'm guessing you 
need to add a current shunt to do this, but it is well worth doing.

Tim

-- 
Seven Transistor Labs, LLC
Electrical Engineering Consultation and Contract Design
Website: https://www.seventransistorlabs.com/ 

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Opinion on Semi predictive feedback control Klaus Kragelund <klauskvik@hotmail.com> - 2018-01-20 01:45 -0800
  Re: Opinion on Semi predictive feedback control whit3rd <whit3rd@gmail.com> - 2018-01-20 02:32 -0800
    Re: Opinion on Semi predictive feedback control Klaus Kragelund <klauskvik@hotmail.com> - 2018-01-20 05:25 -0800
    Re: Opinion on Semi predictive feedback control "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-01-20 07:35 -0600
    Re: Opinion on Semi predictive feedback control bitrex <bitrex@de.lete.earthlink.net> - 2018-01-22 18:09 -0500
  Re: Opinion on Semi predictive feedback control M Philbrook <jamie_ka1lpa@charter.net> - 2018-01-20 10:47 -0500
    Re: Opinion on Semi predictive feedback control Klaus Kragelund <klauskvik@hotmail.com> - 2018-01-20 10:21 -0800
      Re: Opinion on Semi predictive feedback control M Philbrook <jamie_ka1lpa@charter.net> - 2018-01-20 20:25 -0500
        Re: Opinion on Semi predictive feedback control Klaus Kragelund <klauskvik@hotmail.com> - 2018-01-21 08:22 -0800
  Re: Opinion on Semi predictive feedback control Joerg <news@analogconsultants.com> - 2018-01-21 10:02 -0800
  Re: Opinion on Semi predictive feedback control makolber@yahoo.com - 2018-01-22 09:16 -0800
    Re: Opinion on Semi predictive feedback control Klaus Kragelund <klauskvik@hotmail.com> - 2018-01-22 14:31 -0800

csiph-web