Level shift - diyAudio
Go Back   Home > Forums > Amplifiers > Class D

Class D Switching Power Amplifiers and Power D/A conversion

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 27th April 2011, 03:42 PM   #1
diyAudio Member
 
Join Date: Apr 2011
Default Level shift

Hi. I'm having trouble getting the level shift to work for my 30W amplifier. I get 0-5V output from the comparator and I want to level shift it to 0-15V for the upper transistor and -15-0V for the lower one. I don't want to use an IC driver. Thanks in advance.
  Reply With Quote
Old 28th April 2011, 11:37 AM   #2
diyAudio Member
 
Join Date: Nov 2004
Location: Pretoria, Transvaal, South Africa
Hello jeppson,
If you post a circuit, then I can maybe help you.
  Reply With Quote
Old 28th April 2011, 12:15 PM   #3
diyAudio Member
 
Join Date: Feb 2007
Location: south of germany
Default Level shifter

Hi jeppson,
take a look at Phillips UM10155 (just google for it).
It's descrete with level shift, driver stage etc.
  Reply With Quote
Old 1st May 2011, 05:30 PM   #4
diyAudio Member
 
Join Date: Apr 2011
Here is the circuit, the bottom transistor turns on and off but there is some loss of voltage at the totem poles, the bjts are probably not fast enough? Or what else could it be. What about the top level shift, can't get that one to fully work.

ImageShack® - Online Photo and Video Hosting
  Reply With Quote
Old 1st May 2011, 05:31 PM   #5
diyAudio Member
 
Join Date: Apr 2011
Quote:
Originally Posted by hilli_billi View Post
Hi jeppson,
take a look at Phillips UM10155 (just google for it).
It's descrete with level shift, driver stage etc.
Thanks but I want to try to fix my own solution, got any tips?
  Reply With Quote
Old 1st May 2011, 06:27 PM   #6
Pafi is offline Pafi  Hungary
diyAudio Member
 
Join Date: May 2004
Location: Budapest
3 stages of BJT are totally unneccessary, use only 1!

6N138 is specified up to 7 V (absolute maximum for Vo), not 15!

BJTs are fast enough, but that optocoupler isn't.

R5 is connected to the wrong place, it should be on the GND pin of the opto!

Last edited by Pafi; 1st May 2011 at 06:31 PM.
  Reply With Quote
Old 1st May 2011, 08:17 PM   #7
diyAudio Member
 
Join Date: Apr 2011
Quote:
Originally Posted by Pafi View Post
3 stages of BJT are totally unneccessary, use only 1!

6N138 is specified up to 7 V (absolute maximum for Vo), not 15!

BJTs are fast enough, but that optocoupler isn't.

R5 is connected to the wrong place, it should be on the GND pin of the opto!
I'm sorry the lower should deliver -15V to 0V. The upper transistor never turns on. That is not the optocoupler I'm using, pspice don't have 6N137. Ok I'll remove the unnecessary BJT's. So what should I do to turn on the upper transistor? Thanks a lot.


http://img4.imageshack.us/i/jeppson.png/

The upper one is after the lower mosfet, the lower after the lower optocoupler. Regarding the 7V maximum, I'm just gonna use this opto temporarily.

Last edited by jeppson; 1st May 2011 at 08:44 PM.
  Reply With Quote
Old 1st May 2011, 09:18 PM   #8
Pafi is offline Pafi  Hungary
diyAudio Member
 
Join Date: May 2004
Location: Budapest
Quote:
Originally Posted by jeppson View Post
I'm sorry the lower should deliver -15V to 0V.
It was clear already. But Vo absoulte maximum is 7 V referenced to GND pin of optocoupler.

Quote:
The upper transistor never turns on. That is not the optocoupler I'm using, pspice don't have 6N137.
Then what R5,R6 do? Are they there only for simulation?

Quote:
Ok I'll remove the unnecessary BJT's. So what should I do to turn on the upper transistor?
Post a real schematic, and please don't use that imageshack shít! You can attach pictures directly to the posts. And you can attach a higher resolution picture.

Quote:
Thanks a lot.

The upper one is after the lower mosfet, the lower after the lower optocoupler. Regarding the 7V maximum, I'm just gonna use this opto temporarily.
After the lower mosfet? Are you shure? And 5 V/div? How could this possible? The informations you provided are inconsistent! And I can't figure out which zero line corresponds to which signal.
  Reply With Quote
Old 4th May 2011, 11:13 AM   #9
diyAudio Member
 
Join Date: Apr 2011
Quote:
Originally Posted by Pafi View Post
It was clear already. But Vo absoulte maximum is 7 V referenced to GND pin of optocoupler.



Then what R5,R6 do? Are they there only for simulation?



Post a real schematic, and please don't use that imageshack shít! You can attach pictures directly to the posts. And you can attach a higher resolution picture.



After the lower mosfet? Are you shure? And 5 V/div? How could this possible? The informations you provided are inconsistent! And I can't figure out which zero line corresponds to which signal.
Hi, sorry I've not been able to reply to this thread. Yes R5 and R6 are there only for simulation, since pspice doesn't have the right component. Regarding the picture of the oscilloscope, I forgot to add that we only used +/-5V for that picture.

So what I want to know is how I'm gonna get 0 to (-15)V after the optocoupler, I've read that a schmitt trigger can be used but I can't get that to work. Should I look for an opto that has 15V output, or what do you think is the best way to go. Here is the picture of our circuit, but I can't replace the 6N138 with the right one, it's not in the pspice library.
Attached Images
File Type: png denna.png (40.9 KB, 142 views)

Last edited by jeppson; 4th May 2011 at 11:15 AM.
  Reply With Quote
Old 6th May 2011, 02:00 PM   #10
diyAudio Member
 
Join Date: Feb 2007
Location: south of germany
Default Level shifter per opto

hi jeppson,
you need a voltage supply of +12..15V with reference to Vss.
That's V3, or Q5...
This is the supply for the lower driver section.
The higside driver has a bootstrap condensator C5/C6.
When U4 is switched on, it is loaded via D3.
When U4 is switched off, the upside driver and its bootsrap-C float.
D4, R15 help at startup, DZ1 limits the driver volatage to 12..15V
they are not required.
I don't know how to connect the optos right, but you have done that already.
Like your inverter-sage and dead time generation.
If the opto coupler is to slow, maybe you use an ADUM.
Attached Images
File Type: png opto.PNG (8.6 KB, 121 views)
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between boot strap and level shift levelshift Class D 16 4th April 2011 10:22 AM
Need help choosing level shift and inverter levelshift Class D 4 27th March 2011 06:47 PM
trouble matching line level to guitar amp input level...any help? mondogenerator Tubes / Valves 5 19th December 2009 11:00 AM
lesser of two evils, high level -> line level, digital volume control mazurek Solid State 3 19th November 2006 01:25 AM
how to bring down line level signal to preamplifier level deji Solid State 15 15th April 2004 05:13 PM


New To Site? Need Help?

All times are GMT. The time now is 12:25 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright ©1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2