transfer function - Page 3 - diyAudio
Go Back   Home > Forums > Amplifiers > Solid State

Solid State Talk all about solid state amplification.

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 20th April 2008, 02:20 AM   #21
diyAudio Member
 
Join Date: Mar 2008
Here's the bass boost response only, with the treble set flat.
Attached Images
File Type: gif bax5.gif (17.5 KB, 128 views)
  Reply With Quote
Old 21st April 2008, 05:07 PM   #22
jenks is offline jenks  United Kingdom
diyAudio Member
 
Join Date: Mar 2008
Send a message via MSN to jenks
Hi Electrician, thanks for all that work! So if I replace R5 with a 470k resistor and C3 with a 470pF capacitor (according to your schematic of course) then I should get the response that you posted most recently (which looks great btw!)

Cool, what about the mid control though. Is there a way to model and refine the values used there too?

Actually, I'm installing matlab as we speak so if you could be kind enough to explain how you actually obtained the transfer function in the 1st place then I could do it myself in matlab and inculde the mid control too!

Thanks again.

PS Where did you get Mathematica from? I've used matlab before so I'm probably better off sticking to that though!
  Reply With Quote
Old 22nd April 2008, 11:32 AM   #23
diyAudio Member
 
Join Date: Mar 2008
I just did a conventional nodal analysis using the admittance matrix of the circuit. To avoid having to use Modified Nodal Analysis, I dealt with the opamp in a slightly non-standard way.

You just write down the admittance matrix, letting node 1 be the input and node 8 be the minus input to the opamp. Call this admittance matrix Y; compute its inverse and call that Z. Then the transfer function to node 8 is as given in the attachment. The node numbering is as shown in the next post where I also include the mid-band function.

You can see a couple of entries at elements (4,8) and (7,8) of the matrix; this takes care of the feedback from the opamp. Then multiply the transfer function to node 8 by the gain of the opamp, -A, and you have the TF to the opamp output.

Then just use this transfer function (with A set to a big number; I used 10^10) to plot the response versus frequency for various values of the Kb and Kt (potentiometer rotation) coefficients.
Attached Images
File Type: jpg howtobax1.jpg (35.1 KB, 97 views)
  Reply With Quote
Old 22nd April 2008, 11:32 AM   #24
diyAudio Member
 
Join Date: Mar 2008
Here's the schematic I used for the analysis of the tone control circuit. The node numbering for the bass/treble only version is the same as this except that nodes 8, 9 and 10 are missing and node 11 was node 8.

In the next post, I'll give the admittance matrix for the version with mid-band. It's an 11x11 matrix, and solving it symbolically begins to slow Mathematica down. It takes 8 seconds to invert the matrix on a fast computer. The inversion usually takes well under a second, so to take 8 seconds means the result is massive. I won't post the result because it's several pages of algebraic expression. Fortunately, it's not necessary to see it in order to use it.

You wanted to know where I got Mathematica. It's a product of Wolfram Research, and I got it at work several years ago.
Attached Images
File Type: jpg midschem.jpg (24.3 KB, 101 views)
  Reply With Quote
Old 22nd April 2008, 11:32 AM   #25
diyAudio Member
 
Join Date: Mar 2008
Here's the admittance matrix for the mid-band circuit (plus bass and treble, of course).

This forum won't let me post an image this wide, so I put it on:

http://img2.freeimagehosting.net/uploads/22a3fc900b.gif

You should be able to view it there.

I've posted the response of the full circuit with mid-band here. I had to re-size the image to keep it under the posting limits on this forum and it got a little jagged looking, but I think it's still useful.

The top set of curves is for the values you gave in your post of the full mid-band version; I think I got all the values right!

The black curves are the bass response, blue is the mid-band and red is the treble response. The treble response is not quite what one would want!

The lower set of curves are the responses with the values changed as shown just below the title. The treble response is still a little reduced, but I'll let you fiddle with the values to get it better.
Attached Images
File Type: jpg tonewithmid.jpg (79.0 KB, 101 views)
  Reply With Quote
Old 23rd April 2008, 11:12 AM   #26
jenks is offline jenks  United Kingdom
diyAudio Member
 
Join Date: Mar 2008
Send a message via MSN to jenks
Thanks again! I've simulated my circuit using those values you suggested and the mid response has certainly 'tightened' up (less Q which is good :-), the treble was boosting high frequencies before (7k and above) but it boosts them a bit more with those new values now. Although - it wasn't boosting those low frequencies before as your freq. reponse suggested - weird! The bass seems to have a steeper roll-off and a better peak at those lows. Cool.

My circuit is breadboarded atm so I'll change the vales and measure its frequency response later - I'll let you know how it all goes.

How did you treat the op-amp in your circuit analysis btw? I really would like to try and obtain an expression for the transfer function of the circuit myself but I don't know much about admittance matrices, and it's been a while since I did some nodal analysis last! (I think it included using kirchoff's and ohm's laws for impedances, summing them clock-wise or anti-clockwise etc ? ? ) If you have any advice on, or ideas as to where some good advice may be located, nodal analysis & admittance matrices then please do pass this info on!

PS Is it not node 11 that's the input to the inverting input of the op-amp?? - As opposed to node 8 which you mentioned in a previous post

Cheers :-)
  Reply With Quote
Old 24th April 2008, 12:42 PM   #27
jenks is offline jenks  United Kingdom
diyAudio Member
 
Join Date: Mar 2008
Send a message via MSN to jenks
Default measured response

I measured the circuit with those new values - although adimttedly there was no 22nF so I used a 20 and no 5nF capacitor so I used a 4.7nF one.

The response is much better than before. The bass pot was affecting some frequencies that it shouldn't have been and that's been rectified. The mid control seems less tighter than I expected and its' peak is a bit flat when it's at full boost. Other than that though it all looks rather good!

I used a breadboard for the circuit and PRISM SOUND to measure its' response. A TL084CN op-amp was used in the circuit.

I'm about to create a PCB for the preamp circuit you've helped me with but I'm also going to incorporate an audio transformer so that I can have an XLR (suitable for D.I.) output too. I'm going to research transformers next...
Attached Images
File Type: jpg bass response.jpg (76.7 KB, 35 views)
  Reply With Quote
Old 24th April 2008, 12:45 PM   #28
jenks is offline jenks  United Kingdom
diyAudio Member
 
Join Date: Mar 2008
Send a message via MSN to jenks
mid response
Attached Images
File Type: jpg mid-response.jpg (79.3 KB, 27 views)
  Reply With Quote
Old 24th April 2008, 12:48 PM   #29
jenks is offline jenks  United Kingdom
diyAudio Member
 
Join Date: Mar 2008
Send a message via MSN to jenks
treble response
Attached Images
File Type: jpg treble-response.jpg (62.4 KB, 27 views)
  Reply With Quote
Old 24th April 2008, 05:12 PM   #30
diyAudio Member
 
Join Date: Mar 2008
Quote:
Originally posted by jenks
PS Is it not node 11 that's the input to the inverting input of the op-amp?? - As opposed to node 8 which you mentioned in a previous post

Cheers :-)
Referring to the schematic in post #24, for the matrix which applies to the circuit WITHOUT a mid control, the matrix is 8x8 and the opamp inverting input is node 8. For the case WITH a mid control, the matrix is 11x11 and the numbering is as shown in the schematic.

Have a look at this web page:
http://www.inictel.gob.pe/publicacio...red-activa.htm

The treble control shown there is a slightly different topology than the one we've been discussing. I've always wondered of there is much difference in the behavior of the two. You've got me interested again in the question. I'll do up an analysis of the second one and compare to the first.

I've sent you a private email through the forum.
  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
Sound card transfer function NIC1138 Digital Source 9 15th July 2007 12:15 AM
Estimating amplifier transfer function...? Limhes Solid State 3 26th April 2007 05:17 AM
Transfer Function jclouse Multi-Way 22 1st July 2006 01:19 PM
Transfer function of closed box cm961 Multi-Way 1 31st August 2004 06:42 PM
Electrical transfer function measurement Thomas B Multi-Way 4 12th March 2003 04:04 AM


New To Site? Need Help?

All times are GMT. The time now is 11:57 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