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


Groups > sci.electronics.design > #399121

Design play/challenge: Phase Shift PWM

From "Tim Williams" <tiwill@seventransistorlabs.com>
Newsgroups sci.electronics.design
Subject Design play/challenge: Phase Shift PWM
Date 2016-02-16 13:56 -0600
Organization A noiseless patient Spider
Message-ID <n9vuof$9u1$1@dont-email.me> (permalink)

Show all headers | View raw


It finally occurred to me, I've been using these things for so long, yet 
never built my own.  And therefore, never fully understood nor trusted 
what the documentation says (or hides!).

So here's the challenge:

Design a phase shift PWM controller.

Example applications:
Full bridge forward converter (SMPS, UPS, motor control, etc.)
Frequency-locked, resonant systems (resonant SMPS, induction heating): PWM 
provides linear, continuous power control, independent of frequency.

Requirements:
- Constant 50% +/- 3% duty cycle per output (complementary outputs with 
dead time for full bridge gate driving are easily added on)
- Variable frequency, using a control voltage/current, or single variable 
resistor (duty cycle and phase shift remain ~constant)
- Variable phase shift, from a control voltage input
- Phase shift adjustable from 0-180 degrees or more (or 180-360, same 
thing)
- Must use continuous-time methods, not sampled/divided.  (Or, ENOB > 12, 
which will rule out most digital methods for rather modest output 
frequencies anyway.)
- Uses discrete transistors, comparators, logic gates (no more than MSI), 
that sort of thing.  ("Transistors" includes the hollow FET kinds, if you 
like.)

Homework:
The basic prototype is an astable multivibrator (makes 50% duty cycle 
reference clock), followed by a delay and ramp circuit.  The tricky parts 
are:
- The multivibrator has to be timed from the same global (frequency 
control) bias current (e.g., using a current steering triangle-wave 
oscillator, like you'd find in an analog function generator)
- Essentially, an oscilloscope's triggered sweep circuit is required for 
the delay generator.  Multivibrator triggers it on rising edge; cap 
charges for almost the whole cycle time (again, charged by the global bias 
current), making a sawtooth wave; comparator picks a point along that 
ramp, thus implementing the delay.
- Thus, delay is adjustable anywhere along the sawtooth ramp, which might 
be, say, 10-350 degrees.  It can't go quite to zero due to delay (which 
could be subtracted out by delaying the original clock source), and can't 
quite go to 360 because of reset time and trigger window.
- To square up the output, a 50% duty cycle generator is needed, which can 
be: injection locked multivibrator (otherwise matched to the clock 
multivibrator); or another triggered delay generator with the required 
slope; or:
- Or instead of using a triggered sweep for the delay generator, the clock 
multivibrator can be a sawtooth type.  Use one comparator to bisect the 
sawtooth, yielding the non-delayed 50% output.  Use another comparator to 
generate the delayed trigger (the multivibrator slope sets range).  A 
triggered delay generator is still required, to produce the delayed 50% 
duty output.
- Symmetry bonus: you can start with a clock pulse, and run two triggered 
delay generators, where one delay control voltage is inverse of the other. 
Each one only needs 90 degrees of adjustable range.  This probably incurs 
more hardware than the lopsided-phase version, though.

Possibly useful: 50% duty can be obtained by dividing a square wave in 
half (type T flip-flop), without having to match capacitors.  But half the 
frequency means twice the phase shift, and if the flip-flops ever end up 
out of sync, phase suddenly inverts.  May be tricky to use.

The basic breadboarding of this ("RTA level") description used an LM339, 
5/6ths CD40106, 1/2 CD4013, and five transistors (true, I could've better 
squared up an edge using /Seven Transistors/..).  On a good old fashioned 
solderless breadboard, that's a full row of stuff.  Very messy!

So if I've captured your fancy at all... Simplify it, if you think you 
can!  ;-)

(Special note to you in the monolithic peanut-gallery: yes, I know you can 
make all of this, and more, in a tiny 1mm chip.  Unless you have one 
available that can be bought for less than the parts listed above, STFU. 
:-P )

Tim

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

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


Thread

Design play/challenge: Phase Shift PWM "Tim Williams" <tiwill@seventransistorlabs.com> - 2016-02-16 13:56 -0600
  Re: Design play/challenge: Phase Shift PWM Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-02-16 22:49 +0200
  Re: Design play/challenge: Phase Shift PWM Klaus Kragelund <klauskvik@hotmail.com> - 2016-02-16 14:05 -0800
    Re: Design play/challenge: Phase Shift PWM "Tim Williams" <tiwill@seventransistorlabs.com> - 2016-02-16 17:29 -0600
    Re: Design play/challenge: Phase Shift PWM Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-02-17 09:22 +0000
      Re: Design play/challenge: Phase Shift PWM Les Cargill <lcargill99@comcast.com> - 2016-02-17 20:38 -0600
        Re: Design play/challenge: Phase Shift PWM Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-02-18 07:18 +0000
        Re: Design play/challenge: Phase Shift PWM Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-02-18 07:20 +0000
          Re: Design play/challenge: Phase Shift PWM Les Cargill <lcargill99@comcast.com> - 2016-02-18 02:35 -0600
            Re: Design play/challenge: Phase Shift PWM Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2016-02-18 10:13 +0000
              Re: Design play/challenge: Phase Shift PWM Les Cargill <lcargill99@comcast.com> - 2016-02-18 12:37 -0600
  Re: Design play/challenge: Phase Shift PWM piglet <erichpwagner@hotmail.com> - 2016-02-17 10:56 +0000
    Re: Design play/challenge: Phase Shift PWM "Tim Williams" <tiwill@seventransistorlabs.com> - 2016-02-17 10:43 -0600
      Re: Design play/challenge: Phase Shift PWM piglet <erichpwagner@hotmail.com> - 2016-02-17 18:33 +0000
      Re: Design play/challenge: Phase Shift PWM piglet <erichpwagner@hotmail.com> - 2016-02-18 08:54 +0000
        Re: Design play/challenge: Phase Shift PWM piglet <erichpwagner@hotmail.com> - 2016-02-18 13:38 +0000
          Re: Design play/challenge: Phase Shift PWM "Tim Williams" <tiwill@seventransistorlabs.com> - 2016-02-18 10:55 -0600
            Re: Design play/challenge: Phase Shift PWM piglet <erichpwagner@hotmail.com> - 2016-02-18 17:01 +0000
              Re: Design play/challenge: Phase Shift PWM "Tim Williams" <tiwill@seventransistorlabs.com> - 2016-02-18 11:20 -0600
                Re: Design play/challenge: Phase Shift PWM piglet <erichpwagner@hotmail.com> - 2016-02-18 17:39 +0000
                Re: Design play/challenge: Phase Shift PWM Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-02-18 10:47 -0700
                Re: Design play/challenge: Phase Shift PWM piglet <erichpwagner@hotmail.com> - 2016-02-18 17:53 +0000
                Re: Design play/challenge: Phase Shift PWM Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-02-18 12:57 -0700
                Re: Design play/challenge: Phase Shift PWM piglet <erichpwagner@hotmail.com> - 2016-02-18 20:50 +0000
                Re: Design play/challenge: Phase Shift PWM Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-02-18 14:42 -0700
                Re: Design play/challenge: Phase Shift PWM "Tim Williams" <tiwill@seventransistorlabs.com> - 2016-02-18 18:21 -0600
                Re: Design play/challenge: Phase Shift PWM Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-02-18 17:50 -0700
  Re: Design play/challenge: Phase Shift PWM jack4747@gmail.com - 2016-02-17 03:17 -0800
    Re: Design play/challenge: Phase Shift PWM boB <boB@theresnoplacelikehome.com> - 2016-02-17 17:32 -0800

csiph-web