rca line out voltage??

Apr 17, 2008 at 4:47 PM Thread Starter Post #1 of 12

carmatic

100+ Head-Fier
Joined
Feb 20, 2008
Posts
477
Likes
53
hey guys, i dont know if this is safe or not, but im pretty sure there are a couple of audio engineer guys in here so help me out

basically im trying to knock together some bandpass filters, or more like 1 lowpass, 1 highpass and 1 bandpass filter , the idea being that i get 3 'channels' , one for bass, one for mids and one for highs... the audio quality will not matter because this is going to be signaling some coloured lights, red for bass, green for mids and blue for highs
the signal would come from the rca line outs from the mixer , normally its used for recording or something, and i need to know what voltages its outputting at so i can choose the right resistors and capacitors
then i shall somehow rig the other end of the bandpass filters onto the 24v transformers which actually power the lights...

so let me ask again, is this safe or not?
 
Apr 17, 2008 at 5:53 PM Post #2 of 12
If you use active filters -- highly recommended regardless -- it's perfectly safe. You will put negligible load on the line, and you can design the filters to be far steeper than is practical with passive filters.

The actual voltage can vary quite a lot, depending on many factors. A full-scale line output signal can vary from about 1 to 8 Vrms. Multiply by 2.828 for the peak-to-peak value. The signal voltage will be much less than this, potentially by quite a lot. Remember, audio is a logarithmic deal, where even something 1/100 the full-scale value (-40 dB) is still quite audible. Your system might have to be sensitive down to millivolts to do what you want, which means you need a lot of gain in the later stages to be able to drive your lights.
 
Apr 17, 2008 at 6:28 PM Post #3 of 12
Quote:

Originally Posted by tangent /img/forum/go_quote.gif
If you use active filters -- highly recommended regardless -- it's perfectly safe. You will put negligible load on the line, and you can design the filters to be far steeper than is practical with passive filters.


you mean build something like
actfilt-fig1.gif
?
im still abit gelly with stuff as advanced as that, can someone point me to a good place to read up on it? or do people sell already-assembled filters which i can tune to different frequencies... Quote:

The actual voltage can vary quite a lot, depending on many factors. A full-scale line output signal can vary from about 1 to 8 Vrms. Multiply by 2.828 for the peak-to-peak value. The signal voltage will be much less than this, potentially by quite a lot. Remember, audio is a logarithmic deal, where even something 1/100 the full-scale value (-40 dB) is still quite audible. Your system might have to be sensitive down to millivolts to do what you want, which means you need a lot of gain in the later stages to be able to drive your lights.



UL150B Ultra Bright RGB Colour Mixing Professional Rope Light 150 Leds per Metr by Ultra Leds U.K these are the lights , 24v and maybe 5 amps since i cant afford that many meters of that light strip
the audio will be like a club setup, where the volume is practically constant all the time and sound levels will always correspond to what is in the music
i want to end up with a box which has phono rca inputs on one side, and
rgb2b.jpg

on the other side...
basically , once i have the filters in place, it means for each of red, green and blue i have a relatively low oscillating voltage coming in from the audio source, which i need to use to modulate a higher dc voltage which drives the lights ... ideas, anyone?

::edit:: how about like... connecting the output of the bandpass filter to a rectifier, and connect that to a transistor which is serial on the light circuit?
 
Apr 17, 2008 at 10:55 PM Post #4 of 12
You can find circuits like this pre-designed. One of my high school friends did something like this for his science fair project, probably 2 decades ago, and it was an old idea back then. The only difference is that yours can cope with a lighter load since you can use LED lights instead of incandescents, which will save you some on the heat sinking.

If you really must design this yourself, yes, the sort of circuit you posted is the right idea. A good book on the topic is Lancaster's Active Filter Cookbook. It's old, but electrons still move the same way through op-amps today as they did back when it was written.
 
Apr 18, 2008 at 2:23 AM Post #5 of 12
well look what i found Active Filter Calculator - Bandpass with OpAmp Designer in Javascript

ive just realized, steep cutoffs are exactly what i do not want because i am trying to get as many different colours as possible... i dont want it to end up like red green red green blue red green blue all the time, i also want yellow, orange, magenta, cyan, etc ... hence, my red would start at 20hz and fade to like a few thousand hz, while green starts at the bass region and peaks at where red fades out so there will be a huge overlap, and likewise between blue and green, like i would like to be able to control the steepness of the slope , rather than being stuck with some value i cant change... also, i will possibly need to filter out interference which might happen at frequencies below or above what the speakers put out, so all of the filters will be bandpass ... i guess an active bandpass filter like the one on the calculator would really be appropriate
by the way what should i put as the 'Gain'(A) ?
and what does the Q value do... as far as i can tell it seems to be just the frequency center divided by the bandwidth...
 
Apr 18, 2008 at 9:34 AM Post #6 of 12
Quote:

Originally Posted by carmatic /img/forum/go_quote.gif
what should i put as the 'Gain'(A) ?


Um...how much gain you want? If you don't need gain, or are doing gain in another stage, put in 1.

Quote:

what does the Q value do...


It changes the response of the filter. Different values are appropriate for different filter types. This is why you need the Lancaster book.
 
Apr 18, 2008 at 7:16 PM Post #7 of 12
i hope my university's library has a copy of that book...

anyway , ive found this webpage which says that the q value means how well it keeps the energy at resonance, which means how steeply the bandpass rolls off...i guess i'll be looking at low q values for what im doing

but i guess what i really want to ask , is how much complexity do i need for a non-audio application like what im trying to do? the absolute minimum i need is just to separate the bass, mids and highs in the audio

and back to the original topic, what kind of components am i looking to buy if i were to expose them to the rca output of a mixer... like, how many watts should the resistors be? what should the capacitors rate at? etc etc etc... sorry if this is too many questions that normally an electronics guy should be able to answer, but im not an electronics guy... like , i didnt even know that the op amps had intergrated power inputs , like the op amp symbol always has the negative and positive power supply terminals implied , even when they are not shown... i am guessing this means that i can use the bandpass filters as the power source of the lights, and i dont need a separate transformer anymore if i can somehow get the op amps to output 24v and enough current without any damage
 
Apr 20, 2008 at 12:34 AM Post #8 of 12
ok i think im making some progress...
i've found an online shop called Rapid Electronics

if i am sticking to the schematic at that Captain page, and assuming that i am after a gain of 2 since it lets me omit the third resistor, as well as using 10 nanofarad capacitors...

first, the resistors Rapid Electronics - E12 Series 610 piece carbon film resistor kit
hopefully i wont go wrong with 61 values to choose from
next, the 10 nanofarad capacitor
http://www.rapidonline.com/netalogue/specs/10-2500.pdf
the op amp
http://www.rapidonline.com/netalogue/specs/82-0734.pdf

so that should be all i need for the filters themselves... these are the lights
UL150B Ultra Bright RGB Colour Mixing Professional Rope Light 150 Leds per Metr by Ultra Leds U.K
and to power them, i, i shall be using
PAC120M 240v to 24V DC Transformer 5 Amps by Ultra Leds U.K
and for controlling the power to the lights, first i will rectify the signal from the filter http://www.rapidonline.com/netalogue/specs/47-2826e.pdf
then passing the rectified signal to a transistor which sits between the transformer and the lights
http://www.rapidonline.com/netalogue/specs/81-0286.pdf

i will also draw the power from the transformer to power the op amps in the filters, put the 3 op amps in series so each of them get 8v each
how does that sound? the main problem im having is i dont understand what most of the quantities in the pdfs mean... like vcbo, vceo, vbeo and all that
 
Apr 20, 2008 at 3:33 PM Post #9 of 12
Quote:

Originally Posted by carmatic /img/forum/go_quote.gif
i guess i'll be looking at low q values for what im doing


Well, you can approach it that way, but if you need a shallow roll-off, you usually want to keep the Q high enough that it doesn't add extra ripple -- the value for this depends on the filter type -- and just use fewer poles in the filter. I would only lower the Q to get shallower fall-off if I got down to 2 poles and it still wasn't shallow enough.

(One can argue that a 1-pole active filter doesn't exist: it's just a passive filter followed by an op-amp configured as a buffer. It's not until you ask for the second pole that you have something different than you'd get with passives only.)

Quote:

how much complexity do i need for a non-audio application like what im trying to do?


That's up to you, but I would think an active filter, a rectifier and a power driver stage per band isn't too much to ask.

If you need something simpler, you can probably find what you need pre-made in catalogs catering to live music performance. You know you're reinventing the wheel here, right?

Quote:

how many watts should the resistors be?


It depends on where in the circuit they are and what their values are, which affects how many volts and amps go across them, which tells you power dissipation. You figure this out with the several formulations of Ohm's Law:

V = IR
I = V/R
R = V/I
P = VI
P = I^2R (that's current squared times resistance)
P = V^2/R

You may be able to get away with generic 1/4W or 1/8W resistors for everything. It's not clear to me that you will need a resistor in the power path, which would have to be multiple watts. You might need something small, like a 1 ohm 5 W resistor in series with the LEDs, for safety or something like that.

Quote:

im not an electronics guy...


You're probably going to have to become one if you want to see this project through. The only other way is to find someone who will design the circuit for you. That won't be me, and it doesn't seem like anyone else wants to comment in this thread.

Quote:

the op amp symbol always has the negative and positive power supply terminals implied , even when they are not shown...


Not always. They're usually shown when there's something that needs to connect to the supply pins besides just power, like bypass capacitors.

But yes, I take your point: you don't know how to read schematics very well, yet. That's a fixable problem.
smily_headphones1.gif


Quote:

i am guessing...i can use the bandpass filters as the power source of the lights


Not unless you use studly power op-amps. Your garden variety op-amp can only put out about 1/125 the current you need for this application. There are op-amps that can source 5 A, but it'll be cheaper and easier to just hang a single bipolar off each filter's output to handle the load drive.

Thinking more about this, though, there are several complications:

1. You'll need a heat sink on each drive transistor. I suspect the voltage drop across the transistor won't be very large, but the full LED drive current will go through it. The heat sink may need to be rather large.

2. You need a voltage to current conversion in here somewhere: LEDs vary brightness as a function of current, not voltage. So, you want the voltage across the string to be roughly constant, with the current varying as a function of the music. A bipolar transistor being driven though a base resistor is a crude sort of current amplifier: you adjust the base resistor so the signal varies the collector-emitter current appropriately.

3. The power supply requirement for this is looking to be at least 450 W. That's a nontrivial amount of power. You're basically building a specialized power amplifier here.

Quote:

i dont need a separate transformer anymore if i can somehow get the op amps to output 24v and enough current without any damage


Power has to come from somewhere; there is no free lunch. If you need 24V and 15A (three strings in parallel), then you need a power supply capable of putting out no less than 360 W, and that assumes the circuit is 100% efficient, which it won't be. My 450 W number above assumes there is only about 20% loss, which is awfully good for a linear circuit like this. It's achievable, but you might want to shoot for more like 500 W, just to be safe.

Quote:

vcbo, vceo, vbeo and all that


I recommend reading The Art of Electronics by Horowitz and Hill. The chapter on bipolar transistors will cover this. The next chapter over is on op-amps, and there's also a chapter on power supplies. Most of what you need for this project is in there. It might even have the filter stuff.
 
Apr 22, 2008 at 12:36 PM Post #11 of 12
cool thanks for the response guys


Quote:

(One can argue that a 1-pole active filter doesn't exist: it's just a passive filter followed by an op-amp configured as a buffer. It's not until you ask for the second pole that you have something different than you'd get with passives only.)


ive had a really hard time trying to find out what poles mean, like its something to do with the phase shifts of the output signal compared to the input signal, on one hand they are offset by 90 degrees because of capacitance effects, on the other hand they somehow shift to 180 degrees at certain frequencies
confused.gif

Quote:


It depends on where in the circuit they are and what their values are, which affects how many volts and amps go across them, which tells you power dissipation. You figure this out with the several formulations of Ohm's Law:

V = IR
I = V/R
R = V/I
P = VI
P = I^2R (that's current squared times resistance)
P = V^2/R

You may be able to get away with generic 1/4W or 1/8W resistors for everything. It's not clear to me that you will need a resistor in the power path, which would have to be multiple watts. You might need something small, like a 1 ohm 5 W resistor in series with the LEDs, for safety or something like that.


i mean like, for the filter end of the circuit im building... how many watts do the rca jacks output? when i connect this to some equipment, i dont want this or the equipment im connecting to burning out
Quote:




1. You'll need a heat sink on each drive transistor. I suspect the voltage drop across the transistor won't be very large, but the full LED drive current will go through it. The heat sink may need to be rather large.

2. You need a voltage to current conversion in here somewhere: LEDs vary brightness as a function of current, not voltage. So, you want the voltage across the string to be roughly constant, with the current varying as a function of the music. A bipolar transistor being driven though a base resistor is a crude sort of current amplifier: you adjust the base resistor so the signal varies the collector-emitter current appropriately.

3. The power supply requirement for this is looking to be at least 450 W. That's a nontrivial amount of power. You're basically building a specialized power amplifier here.


Power has to come from somewhere; there is no free lunch. If you need 24V and 15A (three strings in parallel), then you need a power supply capable of putting out no less than 360 W, and that assumes the circuit is 100% efficient, which it won't be. My 450 W number above assumes there is only about 20% loss, which is awfully good for a linear circuit like this. It's achievable, but you might want to shoot for more like 500 W, just to be safe.


ive drawn up a scheme in paint, which is basically everything i said i am buying in my previous post, so you guys can look at it and see if theres anything wrong with it... one thing about no.2 you said there, about the LED's being current dependent rather than voltage dependent, well on the page selling the LED's , they said that they were powering it at 15v when they took the picture because at 24v it was too bright , so on those particular lights the voltage must be a viable way of controlling their brightness...
 
Apr 22, 2008 at 12:41 PM Post #12 of 12
Quote:

Originally Posted by Budgie /img/forum/go_quote.gif
Not to ruin your fun, but a web search for "color organ" will get you to several places were a kit is avaliable to build exactly what you want. For example-

Music Lights Kit with case



oh...
rapid online has something similar too Rapid Electronics - Low voltage light organ kit , but it lacks the frequency filtering so i have to add that in myself somehow


i've also found Lightcast RC - Interactive Music Light Show - Ebuyer , but im worried that its a 'domestic' use device which is nowhere near as bright as the 'industrial' lights they use for public venues etc

so , because i cant seem to find anywhere to buy anything suitable like the music lights kit, i have decided to continue trying to build my own box:
chassis - made of plastic so i dont short anything out
http://www.rapidonline.com/netalogue/specs/30-3897.pdf
the board
Rapid Electronics - Matrix board
op amps , this one handles 2 channels each so i can do stereo, and can take 24v so i can wire it directly with the light's power source
http://www.rapidonline.com/netalogue/specs/82-0172.pdf
10 microfarad capacitors
http://www.rapidonline.com/netalogue/specs/11-0620e.pdf
rca input jacks
http://www.rapidonline.com/netalogue/specs/20-1320e.pdf
power input jack , both of them cuz i dont know what size the transformer comes in, and it goes to the aluminum face of the case
Rapid Electronics - DC Power socket
light power connectors , using speaker connectors since i cant think of anything better
http://www.rapidonline.com/netalogue/specs/17-0960e.pdf

and each velleman light kit is 3x the cost of a transistor and i will have to put them together too...do i really have to buy them? or will a transistor hooked up like what i drew in the picture work
 

Users who are viewing this thread

Back
Top