electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software
protecting inputs
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [17 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
dnny



Joined: Mar 12, 2005
Posts: 519
Location: Helsinki, Finland
Audio files: 8

PostPosted: Mon Apr 03, 2006 10:39 pm    Post subject: protecting inputs
Subject description: how to protect your DIY gems
Reply with quote  Mark this post and the followings unread

how to protect inputs on our DIY gems?

i have just burned some IC´s by connecting the headphone output of MC-303 to robot-voice.
so now i learned that headphone signal is not suitable for this thing.
but, can i make some kind of simple circuit that would allow me to use different outputs and be safe?

limiting resistors, zener diodes, transformers, optocouplers, how do they work?
is there something else?


thanks

daniel

_________________
Association of experimental electronics
www.koelse.org
flickr: cable porn group
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Pehr



Joined: Aug 14, 2005
Posts: 1306
Location: Björkvik, Sweden
Audio files: 2

PostPosted: Mon Apr 03, 2006 11:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

Burned ICs in the 303 or the robot voice?
_________________
YouTube channel
flickr photostream
http://loxodrom.blogspot.com
http://www.garageband.com/artist/loxodrom
http://soundcloud.com/loxodrom
Back to top
View user's profile Send private message
dnny



Joined: Mar 12, 2005
Posts: 519
Location: Helsinki, Finland
Audio files: 8

PostPosted: Tue Apr 04, 2006 12:14 am    Post subject: Reply with quote  Mark this post and the followings unread

Pehr wrote:
Burned ICs in the 303 or the robot voice?


i´m lucky enough so it burned from the robot voice - and i had spare CD4007 so it´s no prob. - but i´m just interested becauce there must be a way to be safe.


d

_________________
Association of experimental electronics
www.koelse.org
flickr: cable porn group
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Hank Reynolds 3rd



Joined: Mar 29, 2006
Posts: 5
Location: Steel City, The Beautiful North

PostPosted: Tue Apr 04, 2006 2:09 am    Post subject: Reply with quote  Mark this post and the followings unread

I've used this method on guitar pedals I've made with no problems so far.

on a negative ground circuit, put a diode ( I always use 1N4001, but I think there's similar available) with the
cathode(-) towards the 9v supply ( silver or black banded end ) and the
anode(+) towards ground.
For a "positive ground" circuit, just reverse that position so the banded
end connects with the now "positive" ground.
Back to top
View user's profile Send private message
Hank Reynolds 3rd



Joined: Mar 29, 2006
Posts: 5
Location: Steel City, The Beautiful North

PostPosted: Tue Apr 04, 2006 2:10 am    Post subject: Reply with quote  Mark this post and the followings unread

ack,my bad....you mean't audio I/P's ...
Back to top
View user's profile Send private message
jksuperstar



Joined: Aug 20, 2004
Posts: 2461
Location: Denver
Audio files: 1
G2 patch files: 18

PostPosted: Tue Apr 04, 2006 10:51 am    Post subject: Reply with quote  Mark this post and the followings unread

It's difficult to say 1 good circuit for all uses, since one headphone jack might be expecting an 8ohm load, while another could drive a 600ohm load and be very happy about it. If you use some circuit to isolate things, then you could end up changing the freq. response inadvertently....but then again, we're hackers, and might not care! Smile Smile

Having some tools at your disposal such as a digital multi-meter, that can read both DC and AC voltages, is extremely helpful in try to understand what the two circuits are doing. Before connecting them, it might be helpful to get them onto the same ground, and pump the incoming signal through a capacitor, so you only get your audio signal (won't work for control voltages though, since they'll most likely need a DC offset).

optocouplers might be good for somethings, but they are typically only single-rail supplied, since the LED will only light in 1 direction! So an AC audio signal will get 1/2 rectified through this method. If you find some differential optocouplers, they might be your most flexible bet. Just put a current limiting resistor on the input(s), and the output is driven by your destinations power supply. You can build something like this with two opto-couplers, that have complimentary outputs (1 with npn driver, the other with pnp). This would diffintely be the best isolation you'd get between two circuits.
Back to top
View user's profile Send private message Visit poster's website
zipzap



Joined: Nov 22, 2005
Posts: 559
Location: germany
Audio files: 24

PostPosted: Wed Apr 05, 2006 5:13 am    Post subject: Reply with quote  Mark this post and the followings unread

I don´t really know much about thouse things, but i think it only gets dangerous when the voltage at the input is higher or lower than the voltage your circuit is runing on (that might be completly wrong!)
So one diode towards pos and one towards neg supply should do the trick, no?
About outputs i know even less, but i think since most of the circuits we do have high input impedance there should be no problem with overloading.
Back to top
View user's profile Send private message
bugbrand



Joined: Nov 27, 2005
Posts: 842
Location: Bristol, UK
Audio files: 1
G2 patch files: 1

PostPosted: Thu Apr 06, 2006 10:21 am    Post subject: Reply with quote  Mark this post and the followings unread

This snippet from the Soundlab Mods page may be of use:::

http://musicfromouterspace.com/analogsynth/SOUNDLABMINISYNTH/SoundLabMods.html#PROTECTCVINPUTS

Zener diode method.

_________________
http://www.bugbrand.co.uk
http://www.bugbrand.blogspot.com
Back to top
View user's profile Send private message Visit poster's website
mosc
Site Admin


Joined: Jan 31, 2003
Posts: 17337
Location: Allentown, PA
Audio files: 107
G2 patch files: 60

PostPosted: Thu Apr 06, 2006 10:53 am    Post subject: Reply with quote  Mark this post and the followings unread

If you have inputs with op amps hooked up in the inverting mode then the summing node (the - input on the op amp) will always be at virtual ground. You can protect this input with two diodes connected back to back and connected to ground. These diodes should be silicon diodes. Since the forward turn on voltage of a silicon diode is 0.7 volts, this little circuit shorts out anything that exceeds plus or minus 0.7 volts.


protect.png
 Description:
 Filesize:  13.83 KB
 Viewed:  92 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

protect.png



_________________
--Howard
my music and other stuff
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
bugbrand



Joined: Nov 27, 2005
Posts: 842
Location: Bristol, UK
Audio files: 1
G2 patch files: 1

PostPosted: Thu Apr 06, 2006 3:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

So could you replace those silicon diodes with zeners for, lets say, a 9v limit?
((I don't know much about zeners..)) - 0.7v is fine for guitar levels, but isn't much when you're looking at synth circuitry

That end to end silicon arrangement is the basis of many distortion stompboxes isn't it? --- of course, you could have several diodes in series for a larger voltage range.

_________________
http://www.bugbrand.co.uk
http://www.bugbrand.blogspot.com
Back to top
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 19572
Location: The Netherlands, Enschede
Audio files: 116
G2 patch files: 317

PostPosted: Thu Apr 06, 2006 3:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

The diodes are at a point in the circuit that normally should have zero volts, no matter if you're driving it with 10 volts or whatever. Except when the opamp can't cope anymore, which means you're using the circuit out of specs, that's when the diodes kick in and keep the opamp healthy.
_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
zipzap



Joined: Nov 22, 2005
Posts: 559
Location: germany
Audio files: 24

PostPosted: Fri Apr 07, 2006 1:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

let me refresh my basic understanding of electronics here: At that point there should be 0v because ther´s 0v at the non inverting input and the amp is feeding back any difference between its two inputs... Is that right?
But Anyway, Protection against what? what are the things that can destroy a circuit? (electronically, i don´t mean people, cats or hurricanes)
Back to top
View user's profile Send private message
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 19572
Location: The Netherlands, Enschede
Audio files: 116
G2 patch files: 317

PostPosted: Fri Apr 07, 2006 4:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yes. It's the opamp's inverting input. When you drive that one high the output will go negative pulling the input back to zero. Now this will only work when the opamp's output can gow low indeed, and it won't go lower than it's negative power rail. So when you try to raise the input too much the opamp can't compensate and the voltage at it's input will go out of control. Now it depends a bit on the specific opamp you use (it's a figure in the data sheet), but eventually when you go on pushing it it will not survive. And of course the reverse holds when you make the input low. Exactly when it goes wrong depends on the actual values of the resistors, but with all resistors equal you get into this non compensating behaviour when the circuit's input voltage goes outside the supply voltage range, the opamp will survive a little bit longer though. But when the feedback resistor is twice the value of the other resistors (giving a circuit amplifiction of -2) the problems start on having about half the supply voltage on the circuit input.

See : http://en.wikipedia.org/wiki/Opamp and http://en.wikipedia.org/wiki/Operational_amplifier_applications for a good introduction and some basic circuits with calculation examples.

I can't really think of another way to damage an opamp ... well I once killed a CA 3130 I think with HF oscillation ... that was a badly designed circuit with a somwhat hard to handle (fast, for it's time) opamp ... maybe short circuiting the output, but I think most opamps handle that situation (and you could easily add a series resistor there of lets say a few hundred ohms).

_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
mosc
Site Admin


Joined: Jan 31, 2003
Posts: 17337
Location: Allentown, PA
Audio files: 107
G2 patch files: 60

PostPosted: Sat Apr 08, 2006 7:21 am    Post subject: Reply with quote  Mark this post and the followings unread

I would only bother with this for inputs connected to external jacks. Sometimes there may be some large charge or a large DC offset voltage on a plug. This will provide some protection to the op amp and possibly some circuits down stream.
_________________
--Howard
my music and other stuff
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
zipzap



Joined: Nov 22, 2005
Posts: 559
Location: germany
Audio files: 24

PostPosted: Sun Apr 09, 2006 4:39 am    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
But when the feedback resistor is twice the value of the other resistors (giving a circuit amplifiction of -2) the problems start on having about half the supply voltage on the circuit input.

Are you sure? I think that would only mean clipping. makes a squarewave out of a guitar for example. If that would harm the Opamp then there would be no such thing as an Comparator. Am i missing something?
Back to top
View user's profile Send private message
dnny



Joined: Mar 12, 2005
Posts: 519
Location: Helsinki, Finland
Audio files: 8

PostPosted: Sun Apr 09, 2006 5:49 am    Post subject: Reply with quote  Mark this post and the followings unread

thanks for all that info - i just remembered that i have seen a protection schematic like this:
Posted Image, might have been reduced in size. Click Image to view fullscreen.

its more circuit bending stuff and its used to protect the CPU from static discharges when using touch sensors / body contacts.

original schematic from CYBERYOGI =CO=Windler's keyboard site "WarrantyVoid"

_________________
Association of experimental electronics
www.koelse.org
flickr: cable porn group
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
mosc
Site Admin


Joined: Jan 31, 2003
Posts: 17337
Location: Allentown, PA
Audio files: 107
G2 patch files: 60

PostPosted: Sun Apr 09, 2006 8:27 am    Post subject: Reply with quote  Mark this post and the followings unread

comparitor ckt
zipzap wrote:
Quote:
But when the feedback resistor is twice the value of the other resistors (giving a circuit amplifiction of -2) the problems start on having about half the supply voltage on the circuit input.

Are you sure? I think that would only mean clipping. makes a squarewave out of a guitar for example. If that would harm the Opamp then there would be no such thing as an Comparator. Am i missing something?

Modern OP Amps won't be damaged by driving their outputs to the rails. You are right. comparitors can be made from OP Amps. These are circuits where the voltage across the inputs is non-zero. It's a good idea to limit the input voltages to be within the rails.

Picture of comparitor ckt from: http://hyperphysics.phy-astr.gsu.edu/HBASE/electronic/compar.html#c1

The back-to-back diode trick I posted is appropriate for OP Amps hooked up as an inverting amplifier, mixer, integrator, and the like, or most circuits with feeback to the (-) input.

It's a good idea to build your circuit and get it working before you try hooking up the protection diodes. That way, if the circuit stops working, you know that diodes aren't going to work for whatever reason.

_________________
--Howard
my music and other stuff
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [17 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Niio2

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use