UK Vintage Radio Repair and Restoration Powered By Google Custom Search Vintage Radio and TV Service Data

Go Back   UK Vintage Radio Repair and Restoration Discussion Forum > General Vintage Technology > Components and Circuits

Notices

Components and Circuits For discussions about component types, alternatives and availability, circuit configurations and modifications etc. Discussions here should be of a general nature and not about specific sets.

Closed Thread
 
Thread Tools
Old 5th Apr 2021, 1:19 pm   #1
Wendymott
Octode
 
Wendymott's Avatar
 
Join Date: Jun 2013
Location: Huddersfield, West Yorkshire, UK.
Posts: 1,795
Default Logic latch

Hi peeps.
I need a simple logic latch.... fool proof. I need to latch a relay or solid state switch to be On / Off with a single "push" operation of a "make" button. C Mos or TTL. Any one out there got a circuit in mind please.

NO Pics please as I already have one in the item and it cannot be re jigged.
TTL or Cmos will be fine.
Thanks
__________________
Should get out more.

Regards
Wendy G8BZY
Wendymott is offline  
Old 5th Apr 2021, 2:27 pm   #2
Guest
Guest
 
Posts: n/a
Default Re: Logic latch

Sounds like a D type flip flop configured as a divide by two with the input well debounced. You can get eight in one box, paralleled it might give enough drive for a real relay, no need for the ubiquitous diode, push pull outputs supress the spike.
 
Old 5th Apr 2021, 2:35 pm   #3
Cruisin Marine
Octode
 
Join Date: Jul 2018
Location: Worthing, West Sussex, UK.
Posts: 1,005
Default Re: Logic latch

You need something like a bistable flip-flop, use two NOR gates or two NAND gates.
You can even use a 555 I recall, if you do a search there must be loads of circuits out there.

http://www.easyelectronics.byethost1...ble-latch/?i=1

Or you could use a SMALL thyristor, reset by removing the supply line momentarily, that is how the old GEC selcall units stayed open from distant memory.

Last edited by Cruisin Marine; 5th Apr 2021 at 2:45 pm.
Cruisin Marine is online now  
Old 5th Apr 2021, 2:45 pm   #4
Lloyd 1985
Nonode
 
Lloyd 1985's Avatar
 
Join Date: Jun 2008
Location: Coningsby, Lincolnshire, UK.
Posts: 2,820
Default Re: Logic latch

I’m sure I made one with just a couple of transistors in it, can’t remember where I got the circuit now though! It works very well, I used it in a modulator as a power switch, and a second one to switch it between test pattern and video input, I’ll have a dig around see if I can find it..

Regards
Lloyd
Lloyd 1985 is offline  
Old 5th Apr 2021, 3:17 pm   #5
TonyDuell
Dekatron
 
Join Date: Jun 2015
Location: Biggin Hill, London, UK.
Posts: 5,225
Default Re: Logic latch

Do you want separate set and reset signals, or a single signal which toggles the state?

The former is an SR latch, which is a pait of cross-coupled NAND or NOR gates. You can also cross-couple a pair of transistors, these are effectively RTL NAND gates if you think about it. It's the classic Eccles-Jordan circuit.

The latter can be made using a D type flip flop (74x74 or 4013) with the D input driven from the Q/ output. Or a JK flip-flop (74x76, 74x112, etc or 4027) with J and K both asserted. Note that some TTL flip-flops have J and K/ inputs so you need to tie J high and K/ low to assert them. In all cases you need to connect the Set and Reset (direct) inputs to the non-asserted state and apply the input signal to the clock input of the flip-flop.

Of course these flip-flops will respond to contact bounce, so you will have to debounce the switch. If it's just a make contact switch, try a 0.1uF capacitor across it. If you have a changeover switch you can debounce using an SR flip-flop, the other half of the 74x74 could be used for this.

[74x74 means 7474, 74LS74, 74HC74, 74HCT74, etc]
TonyDuell is online now  
Old 5th Apr 2021, 3:33 pm   #6
Guest
Guest
 
Posts: n/a
Default Re: Logic latch

Take caution with caps directly across switches, the instantaneous current can be very high and wreck the switch, this is one of the reasons why suppressors are a cap and resistor in series.
 
Old 5th Apr 2021, 3:40 pm   #7
TonyDuell
Dekatron
 
Join Date: Jun 2015
Location: Biggin Hill, London, UK.
Posts: 5,225
Default Re: Logic latch

I would be surprised if a 0.1uF capacitor charged to 5V held enough energy to damage a normal switch contact.

I can think of a once-popular application that can't be discussed here where a capacitor of about 1uF charged to 12V was connected across a switch contact that operated many, many thousands of times.
TonyDuell is online now  
Old 5th Apr 2021, 3:40 pm   #8
Radio Wrangler
Moderator
 
Radio Wrangler's Avatar
 
Join Date: Mar 2012
Location: Fife, Scotland, UK.
Posts: 22,903
Default Re: Logic latch

Something like a 7474 in any flavour.

Debounced switch pulse to clock input (else it'll drive you insane) Q bar to D. Fit an R-C delay pullup (series R, shunt C) to either set bar or reset bar to choose the power up state, with just a plain pullup to the other.

For bonus score, use S bar and R bar on the spare flipflop as the debouncer.

David
__________________
Can't afford the volcanic island yet, but the plans for my monorail and the goons' uniforms are done
Radio Wrangler is offline  
Old 5th Apr 2021, 3:45 pm   #9
Guest
Guest
 
Posts: n/a
Default Re: Logic latch

I found this https://www.electronicdesign.com/tec...e-pdf-download
 
Old 5th Apr 2021, 4:19 pm   #10
Mark1960
Octode
 
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,298
Default Re: Logic latch

An alternate way to create a bistable latch with a single non inverting gate, for example 74hct08. Approx 4k7 resistor from the output to the input, then drive the input with either an spdt switch from 0v or 5v, or drive it with a tristate output. This can also be used as a bus hold circuit to avoid floating inputs.

Similar circuit is possible by adding positive feedback to a comparator or op amp.

Last edited by Mark1960; 5th Apr 2021 at 4:24 pm. Reason: Added note on comparator or opamp.
Mark1960 is offline  
Old 5th Apr 2021, 8:37 pm   #11
Cruisin Marine
Octode
 
Join Date: Jul 2018
Location: Worthing, West Sussex, UK.
Posts: 1,005
Default Re: Logic latch

Merlin, that latching relay cct. is very clever- thanks, I may use it.
Cruisin Marine is online now  
Old 5th Apr 2021, 9:42 pm   #12
MotorBikeLes
Nonode
 
Join Date: Dec 2012
Location: Kirk Michael, Isle of Man
Posts: 2,350
Default Re: Logic latch

You did include mechanical relay in your original post, so surely all you need is a relay with an extra NO contact, and take an extra feed to that contact back to the coil. Switch on, relay latches. Every common work space with motors is full on them.
Les.

Last edited by MotorBikeLes; 5th Apr 2021 at 9:43 pm. Reason: added phrase for clarity.
MotorBikeLes is offline  
Old 5th Apr 2021, 10:23 pm   #13
emeritus
Dekatron
 
Join Date: Jan 2012
Location: Brentwood, Essex, UK.
Posts: 5,349
Default Re: Logic latch

That would certainly provide 'latch on' operation, but I read the original request as needing 'Turn On' and 'Turn Off' on sucessive presses of a single push-button switch. Using a second set of contacts of a conventional relay to latch it on would require a second NC switch to interrupt the coil current to turn it off. There is a special design of relay (Carpenter relay) that changes state with successive momentary energisations. They seem to be almost unknown in the UK but are commonly used in France for controlling lights from more than two positions using momentary operation push button switches. The 4 terminal intermediate mains switch for operating lights from three or more positions using three core cables is unknown in France.

Last edited by emeritus; 5th Apr 2021 at 10:27 pm. Reason: typos
emeritus is offline  
Old 5th Apr 2021, 10:26 pm   #14
Wendymott
Octode
 
Wendymott's Avatar
 
Join Date: Jun 2013
Location: Huddersfield, West Yorkshire, UK.
Posts: 1,795
Default Re: Logic latch

Hi Peeps..... Lots to go at..... Thanks.... I will get the test bed out tomorrow and give the "D" bistables a whirl. Tony.. It is a single switch that will toggle.. On and Off as in 2 pushes.
__________________
Should get out more.

Regards
Wendy G8BZY
Wendymott is offline  
Old 6th Apr 2021, 4:46 am   #15
TonyDuell
Dekatron
 
Join Date: Jun 2015
Location: Biggin Hill, London, UK.
Posts: 5,225
Default Re: Logic latch

Is the switch a simple normally-open contact or can it be a changeover contact?
TonyDuell is online now  
Old 6th Apr 2021, 12:06 pm   #16
Wendymott
Octode
 
Wendymott's Avatar
 
Join Date: Jun 2013
Location: Huddersfield, West Yorkshire, UK.
Posts: 1,795
Default Re: Logic latch

Hi Tony. Its a simple "Make" only not 2 way. I made a pcb with 4 make only to fit in the space where mechanical latch switches were previously in the Eddy EC10. Thanks for asking
__________________
Should get out more.

Regards
Wendy G8BZY
Wendymott is offline  
Old 6th Apr 2021, 8:22 pm   #17
MotorBikeLes
Nonode
 
Join Date: Dec 2012
Location: Kirk Michael, Isle of Man
Posts: 2,350
Default Re: Logic latch

Regarding #13, I recall the "Elliot-Satchwell" control system on our intermittent gas kilns installed in 1967 included Carpenter relays. From memory, a negative supply gave one direction, a positive supply the opposite. No supply, centre position with no output. The system involved a proportional valve output which positioned itself somewhere between 1 (low gas) and 10 (high gas). The controller itself was two term (proportional plus integral), suitably modified from a Satchwell air conditioning system.
Les.
MotorBikeLes is offline  
Old 6th Apr 2021, 9:14 pm   #18
Wendymott
Octode
 
Wendymott's Avatar
 
Join Date: Jun 2013
Location: Huddersfield, West Yorkshire, UK.
Posts: 1,795
Default Re: Logic latch

Hi peeps....I have decided to use a PIC as there are now 3 channels required... saves logic chips.. if I use a 16F84..... not much programme memory needed.. Thanks anyways for your inputs.
__________________
Should get out more.

Regards
Wendy G8BZY
Wendymott is offline  
Old 7th Apr 2021, 11:35 am   #19
Herald1360
Dekatron
 
Herald1360's Avatar
 
Join Date: Feb 2007
Location: Leominster, Herefordshire, UK.
Posts: 16,536
Default Re: Logic latch

Quote:
Originally Posted by TonyDuell View Post
I would be surprised if a 0.1uF capacitor charged to 5V held enough energy to damage a normal switch contact.

I can think of a once-popular application that can't be discussed here where a capacitor of about 1uF charged to 12V was connected across a switch contact that operated many, many thousands of times.

Yes, but the contacts in those switches were pretty meaty compared to those in a little pushbutton, and they still needed to be replaced after about 400 operating hours.
__________________
....__________
....|____||__|__\_____
.=.| _---\__|__|_---_|.
.........O..Chris....O
Herald1360 is online now  
Closed Thread




All times are GMT +1. The time now is 6:30 pm.


All information and advice on this forum is subject to the WARNING AND DISCLAIMER located at https://www.vintage-radio.net/rules.html.
Failure to heed this warning may result in death or serious injury to yourself and/or others.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright ©2002 - 2023, Paul Stenning.