the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
icon

need advice/comments on circuit


Post ReplyPost New Topic
< Prev Topic Next Topic >
oldspark 
Gold - Posts: 4,913
Gold spacespace
Joined: November 03, 2008
Location: Australia
Posted: December 10, 2009 at 6:11 PM / IP Logged  
Reverse your quenching diodes!!!
They are shown arseabout (should that be hyphenated?).
As shown, they will short the source to earth and probably blow the reverse signal BUS.
Remember: Diodes conduct from + to - in the direction of their arrow symbol (towards the "perpendicular line" on both their circuit symbol & their physical body). The line can be thought of as their "negative" end - ie, current can flow OUT of its "line" end. The symbol's line also forms a "K" with the arrow head, hence denoting the diodes or LEDs "Kathode" end.
Quenching diodes are to suppress negative spikes across their supply. These can be very destructive - it's like reverse connecting a battery.
Alas I'm old's cool hence not up with CANs etc (though I was going to replace my 1965 harness with a single power distributor using either in-band signalling else fibre-optic), so your use of a relay is absolutely correct. (It is "intended" as a signal - hence not capable of much current.)
And good old Jaycar! We once had Trikky Dikky too (Dick Smith), but they are dumping their component range (including a 100 pack of IN4004 for $1.98).
The SY4032 is too small. It only switches 25mA which isn't enough for most relays. (25mA@12V = 12/.25 = 480 Ohm minumum load resistance.)
The SY4062 is a good choice - a 400 Ohm = 30mA solenoid (coil) with 5A switching. And a good price.
Their pins can be a bit tricky to connect/solder too, but they are small, reliable, and not very noisy.   
But the same sized SY4061 1A equivalent may also do for $1 less (but for $1 extra, being able to switch 60W instead of 12W is much nicer!).
There are others like the SY: 4052, 4059, 4065 (even 4PDT SY4009!), but these are more expensive.
If cradles were available, I'd use the SY4062 (or 4061) DPDT in all cases (instead of SPSTs etc) and they could be swapped over in case of faults.
But I'd probably use SY4062 (or 61) for all anyhow for the "all are the same" simplicity. Maybe even get to the 10+ price break?
And FYI re cradles - highly NOT recommended unless of good quality and the item can be securely anchored. Even electronic integrated-circuit (IC) sockets are not recommended in automotive applications.)
Remember too that if you do use an underrated relay, you can always boost it.
EG - if you use the 1A SY4061 relay but need 3A to 10A for camera lighting, the SY4061 can feed a 5A or 15A relay etc - eg, 60A SY4074 SPDT ($13); 150A SY4073 SPDT ($19).
Jaycar tend to use the FR range of relays (Fujitsu?) which I find fairly good. I've been using an FRC3C 60A SPDT to connect and auxiliary battery for years (they were ~$8 from Jaycar).
And apologies for sounding like a Jaycar ad. First Oatley, now Jaycar.
And IN4004 diodes - thay are a common recommendation. 1A current capability with 400V PIV (aka reverse) voltage rating - more than enough for most relays.
They seem to have become the standard "lowest rating" diode having replaced the 50V, 10V, 200V PIV versions (4001, 4002 whatever).
And we not only benefit from the rationalisation, but the reduced price.
The next common size is IN5404 or 5408 - 3A 400V & 1,000V respectively.
Then there are Schottky diodes, but they are only required when high speed is essential; they have the same (forward) voltage drop etc).
For high currents or where voltage drops are to be avoided, it's better having a relay (solenoid) replace the diode-isolated load (as used for reverse polarity protected loads like ECUs etc).
ghostdunks 
Member - Posts: 9
Member spacespace
Joined: December 09, 2009
Location: Australia
Posted: December 10, 2009 at 11:22 PM / IP Logged  
Argh, I knew I missed something when I redid that circuit diagram! Thats what you get when you wake up at 5am in the morning to play around with circuit diagrams.... :)
Thanks for the catch sparky, I knew that I had to wire the diode up that way, I had a complete brain fart when I documented it! Went to jaycar before to pick up a few supplies to prototype this, so fingers crossed, all works out ok.
oldspark 
Gold - Posts: 4,913
Gold spacespace
Joined: November 03, 2008
Location: Australia
Posted: December 11, 2009 at 6:50 AM / IP Logged  
Nice try Skippy!
So you Coriolis-compensated for the down-under clockwise sink drains and anti-clockwise high-pressure systems. (How do you make an American F-18 return to base - try flying it to Australia LOL!)
So we use the left-hand rule instead of their right hand rule to compensate for electron spins being the opposite direction (relative to our sun direction & motion).
But if you get your IN4004s from Jaycar instead of some northern-hemisphere eBay etc source, the diodes will have been suitably inverted after crossing the equator.
I presume therefore your wrong direction on the quenching diodes - you assumed raw imported diodes.
Don't try to cover up your uncompensated compensation. (As Skip would say - tch tch tch!)
Besides, you got the other diodes right (as most know, left/right electron spin only effects transients aka AC - not DC current).
FYI - IMHO I don't care if people use Coriolis and whirly-whirly suppression (outback mini cyclones) as justification, but left-hand traffic is still right, it's right that is wrong.
Should readers be confused about the above, don't worry about it.
Should readers be confused as to whether any of the above electronic details are serious - don't be - they aren't. (Then again, electricity itself is a joke - there is no such quantity or "thing" that exists!)
Good-night all. Sleep well!
ghostdunks 
Member - Posts: 9
Member spacespace
Joined: December 09, 2009
Location: Australia
Posted: December 17, 2009 at 9:45 PM / IP Logged  
Hehe...I remember Dicky Smith....Used to be in pretty much every major shopping centre(between them and Tandy) and used to be awesome for a source of electronic components and stuff, then yeah, they decided to switch target markets...they're pretty much the same as JB Hifi now. Disappointing, just lucky I live near a jaycar now.
Anyway, redid my schematic with the diodes the right way round this time :). Think this is the final product.
need advice/comments on circuit - Page 2 -- posted image.
Just need to source all the right components now. Got a ON-OFF-ON rocker switch from excesselectronics quite cheap, so that'll be the switch I'll be mounting on my dashboard.
http://www.excesselectronics.com.au/index.php?main_page=product_info&cPath=56&products_id=342
Ran a quick prototype test with the relays to see how well using the relays to switch the video signal would work, and seems to work ok. I tried both the 1A DPDT(SY-4061) and 5A DPDT(SY-4062) and the signal switched fine both times. Noticed two things I'll like to fix if possible, although I could probably live with it if needed.
1) Hear a clicking sound when the relay triggers. I expected this with electromechanical relays, was just hoping I could find a quieter solution as this will live in a box in my dashboard. So I'm trying to source some appropriately rated reed style relays which I'm told is silent in operation. Is this correct? Either that or I've seen reference on the net to some "quiet" or "silenced" automotive style relays from Fujitsu which I can try.
2) Noticed that when the relay is used to switch the video signal that the video image switches straightaway to the other camera input but then the image disappears for a second, then comes back and the image is fine from then onwards. Is this what you were talking about when you mentioned a "synch-glitch"? What is this caused by and can this be helped? At first I thought maybe its because one camera is PAL and the other camera was NTSC(I'll try and test it with two PAL inputs and see what happens), but then I remembered that I tested the camera outputs with a cheapo AV switcher from the reject shop(one of those that takes 3 inputs, and you can switch between them using a manual slide switch to one output), and I don't remember the image doing that "synch-glitch" thing when I switched between the two cameras. I remember taking that AV switch apart and it seemed pretty simple, with the signal just getting routed on the PCB based on the slide switch. It had a few resistors in there which I didn't understand the operation of, could they have something to do with getting rid of the synch-glitch?
oldspark 
Gold - Posts: 4,913
Gold spacespace
Joined: November 03, 2008
Location: Australia
Posted: December 18, 2009 at 1:14 AM / IP Logged  
I remember the first TrikkyDik in Melb. I had seen his ads in Electronics Australia and drooled. Man - what a revolution; it was back in the days when CB Radio was illegal need advice/comments on circuit - Page 2 -- posted image..
That ExcessElectronics AB276 switch looks the same as Jaycar's SK-0991 ($4.95).
(3-pos rockers are easy to find with spring returns, but not as easy in latching form.)    
Reed relays may be okay for video switching, but they are not high-current. And maybe vibration etc and harsh auto environments are a problem. I'm not too sure.
You could rig it so whenever the relay toggles, the horn sounds, then they won't hear the relays.
Or put little pillows between the contacts....
If the above 2 solutions aren't appropriate (and I might insist on a 3-page reason if thet aren't), then perhaps a solid-state switch.
Was it a CD4066 that was a CMOS quad analog switch? Question is, what bandwidth will it pass - composite TV required ~6Mz (MHz).
FIGJAM! http://search.datasheetcatalog.net/key/CD4066 - looks like 40MHz. Cool! Not that I've looked at other specs like On-resistance etc. But I have seen them or similar used in domestic amps for switching audio & video sources.
See them here for $0.90 each (no - I won't post from which company - I don't want to sound like a Jaycar agent!)
However that doesn't solve the sync problem. Try again with that other switch in the same setup - it too should "glitch".
If not - why not? Not switching ground? A delay/gap between the two contacts/sources (which could be designed into the 4066 circuit)?)
The sync used to require special sync circuitry to overcome.
I wonder if a KVM switch would work and be the cheapest/simplest? (KVM = Kyb Video Mouse; used to connect multiple computers to the same screen/mouse/keyboard.)
They are cheaper than (some) chips and might have sync circuitry. I saw a few 2-port & 4-port KVMs last weekend.... were they ~$40 - $60? (They used to cost well over $1,000!!)
To switch power quietly, how about transistors or FETs?
FETs might be the go - tens of Amps for a few dollars. Low ON resistance means burger all heat.
TrikkyDik did have the 3055 FET equivalent for ~$2. (The 2N3055 is an old & trusted "power transistor" rated for 15A.)
But there is another company, geez, what's their name...?
Who cares - typical FETs might be STP16NF06 Mosfet N-Channel 60V/16A ($2.65) or IRF954ON Mosfet P-Channel 100V/23A ($6.95).
High-current N & P MOSFETS are also available from OatleyElecronics for $2 each.
I'd have to consider the "design" - is it N or P channel that is required? And will one Gate-resistor suffice, or should extra stuff & protection be added? (You're new to electronics. I'm old. But it isn't too difficult - I just have to figure it out again.)
So, do any of the above seem feasible?
ghostdunks 
Member - Posts: 9
Member spacespace
Joined: December 09, 2009
Location: Australia
Posted: December 18, 2009 at 5:47 AM / IP Logged  
Wow, thats a lot of info to digest :) I'm going to need s stiff drink before i try and digest that fully! Haven't had any experiences with transistors yet I'll be spending some time reading up on how they work.
With regards to the sync glitch, I narrowed it down, its because of the two cameras, one using PAL and the other using NTSC. The reason why I wasn't getting the glitching using the elcheapo AV switch was because all my game consoles were all outputting PAL, and when I switched between one console and the other, the switching was clean and smooth.   
I tried a variety of scenarios with PAL Camera, PAL console, NTSC Camera, NTSC console, etc... and whenever it was switching from PAL to PAL or NTSC to NTSC, the switching was fine. It was only when switching between PAL and NTSC that it freaked out. So yeah, don't worry about the glitching..I'm just going to see if I can find appropriate cameras to match each other, and if I can't, just settle with the glitching.
I'll look around for the reed relays and see if they're any good. I don't really need high current at this point. Max I would expect is 100 mA flowing through the relay thats switching power.
OR.....I could just try the small relays I already have and just try and soundproof the box I'm putting it in... :)
oldspark 
Gold - Posts: 4,913
Gold spacespace
Joined: November 03, 2008
Location: Australia
Posted: December 19, 2009 at 3:23 PM / IP Logged  
Sorry for the delay.... it was a heavy gig!
The glitch could well be NTSC/PAL - different horizontal line numbers etc.
In the old days, the monitor had to re-synch from on source to the next.     
But these days it may be much quicker - digital recognition etc instead of analog PLLs (Phase-Locked Loops) - hence resyncing by the next frame (ie 1/25 or 1/30 secs worst case for PAL or NTSC) - almost too fast to be noticed.
I suspect the "hang-on - this signal ain't PAL!" confirmation takes longer.
If you want the same color, use PAL. (NTSC = Never The Same Color)
As to trannies & FETs - I reckon the circuit below should do it.
It consists of a transitor, FET (MOSFET), 2 resistors, and a protection diode. Maybe $3 worth.
STOP HERE & skip everything below if you don't want electronics verbiage.
Transistor & FETs are often used as amplifiers, but we'll just used them as "digital amplifiers" aka switches akin to relays.
A small current into the B (Base) of a transitor turns ON its on C-E path (Collector to Emitter).
The FET is similar, but it's a voltage that turns it on. And they call it Gate, Source & Drain instead of Base Collector & Emitter.
IE - the Gate & Base are the "relay" solenoids; the others are the outputs.      
The diagram shows a High-Side FET switch. Ooooo - nerdy!
High-Side meaning the FET is on the hi-side of the load (from +V to the load).
If it was a grounding switch (FET), it would be Low Side. (D'oh!)
Low-side would be simpler - just an N-channel FET turned on by a +ve signal.
But no, let's be a pain an assume "normal" hot aka Hi-side switching.
So we "invert" the circuit - swap the FET from ground/0V switching to hot/+V switching. This means "inverting" from an N-channel FET to a P-Channel.
And instead of triggering the FET with a positive signal, we use a negative signal with respect to its Source - ie, "S" at +V.
A voltage greater than ~2V-4V between its S & G (Gate) turns it on (aka Vgs).   So we pull its G (say) 4V lower than +V.
For that we use a transistor.
R1 pulls the FET's G high (to +V) therefore ensuring it is turned off (Vgs = 0).
A +v signal - current-limited by R2 - is applied to the transitor's Base.
The transistor turns on, thereby "connecting" C to E therefore pulling the FET's Gate low - maybe to ground (0V) or a few Volts - way lower than the voltage (drop) needed to turn the FET on.
Operation is simple to picture if you picture transistors and FETs as water valves. The B & G are the handles that open the water valve between C&E or S&G.
I this case, the handles are electric - like solenoids that open the valve. Or like smaller water pipes connecting water to a lever that opens the valve.
We open the valves fully to avoid friction.
We turn the tranny/FET on fully to avoid heat.
We chose the signal pipe sizes to suit the water available.
We select resistor values to suit voltages, current & components.
If the above analogies are understood, circuit can become quite easy to analyse and picture. In retrospect!
There are a few considerations, but a bit at a time. Not that I want to get too digital, but too many bits is more byte than we can chew.
need advice/comments on circuit - Page 2 -- posted image.
The BC556-8 transistors shown are suggestions only based on local (Jaycar) availability and price (20c - 30c each).
The FET depends on load size, but power MOSFETS with 50A to 80A ratings can be obtained for as little as $2 each.
Lower power FETs (mA or 1A etc) may be cheaper.
MOSFETs are merely Metal Oxide Silicon FETS - a cheap way of cashing in on Star Wars fame (Mos Def etc).
ghostdunks 
Member - Posts: 9
Member spacespace
Joined: December 09, 2009
Location: Australia
Posted: January 29, 2010 at 4:03 AM / IP Logged  
I'm back Sparky! :)
sorry, had laser eye surgery to correct my shortsightedness, so have been out of action for a bit!
That transistor stuff looked quite complicated so decided to just simplify my needs by just looking for a quiet automotive relay since I had already tested the circuit would work. I managed to find one from Panasonic, which seems like it'll do the job:
http://pewa.panasonic.com/pcsd/product/auto/pdf/mech_eng_cq.pdf
Had to order from US since I couldn't seem to get that particular one here in Oz(or another similar one from Fujitsu). Came in a nice box a couple of weeks ago, and I'm going to whack it into my test circuit to make sure it all still works as expected.
Only issue I have now is that one of the components I was going to use, an image reversal module, may not be suitable for my purpose. The one I was going to use and ordered:
https://infiniteelectronix.com/crimestoppersv-nimnormalimagemodule.aspx
I'll need that image reversal module so that I can reverse the image coming from the front camera I have(which comes with a mirror image) so that it appears as a normal image before sending it to my monitor. Either that or find another camera which is small enough and fits where I was going to put the front camera, something which I have not been able to do.
Am still in discussions with the vendor to see if that module will work for me or not, eg. be able to reverse the image from a PAL signal coming in via RCA composite, and output it to RCA composite. The problem that we're currently having is that that module outputs via a proprietary plug, so we're not sure if RCA composite will be compatible or not with it.
Any idea where else I might be able to source a module or electronic circuit which will be able to reverse image from PAL signal?
oldspark 
Gold - Posts: 4,913
Gold spacespace
Joined: November 03, 2008
Location: Australia
Posted: January 29, 2010 at 8:23 AM / IP Logged  
Pity that the transistor stuff is too complex.
If it were to ground the load instead of switching +V to it, the first transistor is omitted.
(The circuit is then "inverted" - a more common N-ch FET is placed between the the load and ground. R1 from the Gate to ground (to ensure turn off). And the input +ve trigger is connected to the Gate; probably with a smaller "R2" resistor - but to the Gate instead of the transistor's Base.)
It's essentially a relay circuit with 2 extra resistors - the FET replaces the relay.
The diode is only for spike/FET protection if needed (most power FETs have integral "freewheel" protection diodes).
But relays are simple and reliable for those into wiring rather than soldering.
And that Panasonic relay sounds good (pun intended albeit quietly so) - unless IMO it costs heaps more than the $3 FET equivalent.
But I'd consider another camera. Keep the reversed image for another rearward (no pun) application, or swap or sell to someone.
Cameras are cheap - especially now. My last was a wireless IR with receiver for $80, albeit BLACK/ white (I think) but that was years ago. Small colour cameras were about the same.
And keyfob, pen or chewing-gum "stick" cameras are only about $30 to $60 - though I've been considering the micro-SD card types rather than ones with inbuilt memory & USB download (which I presume can function as webcams). I've seen some of their recordings and have been pleasantly surprised.
But a new camera is surely cheaper than a $80 converter.
Plus it's one less item to fail. And less power consumed. Etc.
Most buy converters to reverse a normal image - not normalise a reversed image! But they too usually buy a new camera - unless it's light sensitive with zoom etc - but that's not common for reversing cameras. (And in Aus you'd be arrested for that anyhow LOL!)
And proprietary stuff! Yuk! Even Apple-Macintosh ceased that!
But it may simple be a manufacturers tweak - a common means of charging 10x more for standard equipment (old Compaq disk drives, SUN display cards).
It's probably still a 75R 1.5V (or whatever) composite signal. Or Cat-5 etc?
I don't know if anyone would still bother tweaking the signal (inverted or buried syncs etc) - it tends to prevent mass marketing and sales etc.
But stick to PAL (D). That's our world and a better standard.
tommy... 
Gold - Posts: 1,901
Gold spacespace
Joined: December 10, 2004
Location: United States
Posted: January 30, 2010 at 3:45 PM / IP Logged  
Here is one's solution for a "quiet" relay...(if it applies)... it starts on page three...(reference) https://www.the12volt.com/installbay/forum_posts.asp~TID~115400~KW~dualsport~PN~0~TPN~3
M.E.C.P & First-Class
Go slow and drink lots of water...Procrastinators' Unite...Tomorrow!
Page of 2

Sorry, you can NOT post a reply.
This topic is closed.

  Printable version Printable version Post ReplyPost New Topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

  •  
Search the12volt.com
Follow the12volt.com Follow the12volt.com on Facebook
Monday, May 6, 2024 • Copyright © 1999-2024 the12volt.com, All Rights Reserved Privacy Policy & Use of Cookies
Disclaimer: *All information on this site ( the12volt.com ) is provided "as is" without any warranty of any kind, either expressed or implied, including but not limited to fitness for a particular use. Any user assumes the entire risk as to the accuracy and use of this information. Please verify all wire colors and diagrams before applying any information.

Secured by Sectigo
the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
Support the12volt.com
Top
the12volt.com spacer
the12volt.com spacer