The AM Forum
May 31, 2024, 10:31:21 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Calendar Links Staff List Gallery Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Negative Feedback audio in PWM  (Read 5617 times)
0 Members and 1 Guest are viewing this topic.
VE3ELQ
Contributing
Member
*
Offline Offline

Posts: 258


« on: February 15, 2015, 09:28:46 AM »

Have just completed the design and build of a high side (current source) Pulse Width Modulator for a 160 volt 200W carrier full bridge RF deck. When fed with a 500 hz audio triangle wave the filtered output into a resistive dummy load looks pretty good on the scope but shows a very slight non linear skew in the ramp up and down of the waveform.  I thought that by wrapping this back to the Pulse Comparator with negative feedback it might ensure better linearity as is done in audio amps.  But the output is phase shifted about 40 degrees probably by the 4 pole low pass filter.  So I'm stuck on how to do this without making it into a high power oscillator.  Any ideas out there would be appreciated.
73s  Nigel  VE3ELQ
Logged

A "Tube Free" zone.
PD0RTT
Member

Offline Offline

Posts: 25


« Reply #1 on: February 15, 2015, 12:20:04 PM »

Well anything  what cause distortion is the pwm conversion and the filters beyond it.
A form of negative feedback reduce phase shift errors what occurs in the pwm filter, it also flattens the audio response to a flat curve in the audio bandwidth.

Regards,

Martin
Logged
WD5JKO
Member

Offline Offline

Posts: 1996


WD5JKO


« Reply #2 on: February 15, 2015, 01:14:29 PM »

Nigel,

   It would be interesting to see more information such as a block diagram, and what devices are used in the modulator and RF PA stage.

In regards to your question, I presume the 500 hz triangle ramp non linearity is when the PWM approaches 0% duty cycle and 100% duty cycle. If so, this would mean the switching times are becoming significant with respect to either the off time or the on time of the PWM output. This leads to a departure from a linear ramp. If the non linearity is at the middle of the waveform, then the PWM ramp generator likely has a "bow" in it. Not related here, but some of the digitally synthesized audio waveforms have a glitch in the middle as the MSB toggles on or off.

A high side switcher is difficult to achieve good isolation and at the same time have fast rise and fall times from the driver. I think this is the crux of your problem. Beefing up the driver, and/or using PWM power devices (If they are FET's) with lower gate-source capacitance and/or lower reverse transfer capacitance should help. The IXYS folks seem to be leading the way here with big HV power FET's.

One other way around the PWM extremes is to widen the dynamic range of the switcher such that you would normally never exceed the 10-90% duty cycle range. If the minimum modulation percentage were 5%, I'd say this is a good thing. My G-76 with negative peak attenuation (not a clipper) goes from about 10% to 150% at the modulated envelope, exactly what my goal was.

Maybe a little further input from you will help use better understand what you are doing.

Jim
Wd5JKO  
Logged
Opcom
Patrick J. / KD5OEI
Contributing
Member
*
Offline Offline

Posts: 8273



WWW
« Reply #3 on: February 15, 2015, 02:21:27 PM »

I'd sure like to see a diagram as well. I tried NFB on a home made class D audio amp with poor results and instability.
Logged

Radio Candelstein
VE3ELQ
Contributing
Member
*
Offline Offline

Posts: 258


« Reply #4 on: February 15, 2015, 04:12:30 PM »

Thanks for the replies.  All my schematics are hand drawn, one day will get some cad app.  Attached is the modulator schematic as requested.

Nigel  VE3ELQ

* PWM-VE3ELQ.pdf (257.4 KB - downloaded 204 times.)
Logged

A "Tube Free" zone.
WD5JKO
Member

Offline Offline

Posts: 1996


WD5JKO


« Reply #5 on: February 16, 2015, 08:33:21 AM »


  Nigel,

   Your circuit is quite interesting. Having a linear ramp for the PWM is very important, and your implementation of a J310 as a CCS to feed the ramp will work, but I'd wager the CCS capability of a J310 is not a straight line as the VDS goes from zero to Vdd. Many IC Chip PWM's exist that are much better. If you prefer to keep the PWM discreet, perhaps try something with a PNP transistor:

http://www.tedpavlic.com/teaching/osu/ece327/lab5_adc/lab5_adc_ramp_generator.pdf

  Look at page 7, and replace the three diodes with an LED.

Jim
Wd5JKO
Logged
steve_qix
Contributing
Member
*
Offline Offline

Posts: 2592


Bap!


WWW
« Reply #6 on: February 16, 2015, 09:34:39 AM »

Putting negative feedback around a PWM is highly problematic unless the switching frequency is very high and the corners of the filters are WELL outside of the audio range.  Otherwise, the phase shift in the various filters is a big problem.

But, back to your original issue - the ramp generator is most likely the culprit.  I used to build discrete PWM generators, and getting the ramp just perfect was a challenge.  Yes, it can be done, but it's not necessarily  trivial.  Finally found the UCC25701 PWM controller IC, which has an EXTREMELY linear ramp generator.  I tried a lot of other chips, and this one was the best.

What is the frequency of your RF amplifier (just curious)?

Regards,  Steve
Logged

High Power, Broadcast Audio and Low Cost?  Check out the class E web site at: http://www.classeradio.org
VE3ELQ
Contributing
Member
*
Offline Offline

Posts: 258


« Reply #7 on: February 16, 2015, 11:31:22 AM »

Jim, Steve,
Thanks for the advice.  Based on your comments I re-visited the ramp generator and had a close look at it with the scope full screen and yes it has some slight exponential skew.  I was sure it was linear when I first made it.  So Jim will try a high HFE PNP at 12v source instead of 6v and see if I can get it better.

Steve thanks for the comments. I was pretty sure negative feedback was going to be next to impossible but there are some clever folks out there that may have figured it out.  

Couple pics attached. The bridge amp will do 8 mhz using a IXDD604 DIP8 driver for each FET but the pulse transformers need careful optimization for each band.


73,s  Nigel


* 20141220_101119.jpg (770.88 KB, 2048x1536 - viewed 338 times.)

* 20150216_105237.jpg (557.6 KB, 2048x1536 - viewed 318 times.)
Logged

A "Tube Free" zone.
Opcom
Patrick J. / KD5OEI
Contributing
Member
*
Offline Offline

Posts: 8273



WWW
« Reply #8 on: February 17, 2015, 12:37:13 AM »

TI took the UCC1570 off the recommended for new designs list. It's still available.

Replaced By "UCC25701 – The device has the SAME FUNCTIONALITY and PINOUT as the compared device but is NOT an exact equivalent." Probably as linear, can't see them degrading it. So maybe that is an alternative for the future.

* ucc2570.pdf (3538.71 KB - downloaded 132 times.)
Logged

Radio Candelstein
Opcom
Patrick J. / KD5OEI
Contributing
Member
*
Offline Offline

Posts: 8273



WWW
« Reply #9 on: February 17, 2015, 04:06:25 AM »


But, back to your original issue - the ramp generator is most likely the culprit. 
Regards,  Steve

Had you considered a digital ramp generator? By this I mean one with maybe 256 steps, made of counting ICs?

I built one previously for a totally different project. It was as linear as anything would be where voltages are added precisely. The ramp frequency was low, about 780Hz IIRC the crystal clock was 200Khz. It might be possible to build a 100KHz one with modern ICs. Could be a bad idea as well but I thought it worth mentioning.
Logged

Radio Candelstein
VE3ELQ
Contributing
Member
*
Offline Offline

Posts: 258


« Reply #10 on: February 17, 2015, 07:41:05 AM »

Jim, Opcom,
Im trying to keep this simple yet functional as one of the design goals, its passing the winter when Im not snow blowing.
I redesigned the CCS in the ramp gen with a PNP BJT and a 2.4v zener and ran it at 9v.  After a bit of fiddling got a very nice ramp.  Think I will leave it alone now and get on with the metal bashing.  I want this on the air soon.
Regards es 73s,  Nigel VE3ELQ
Logged

A "Tube Free" zone.
Pages: [1]   Go Up
  Print  
 
Jump to:  

AMfone - Dedicated to Amplitude Modulation on the Amateur Radio Bands
 AMfone © 2001-2015
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.048 seconds with 18 queries.