Derek99
I am looking for advise how to remove relay chatter. I am using the legacy lm-id unit for detecting when a train enters a section of track. The output of the unit (connection C) using the 12V 250mA powered output is then wired to a 12V relay (with low value trigger) The change over contacts from this relay are then used to switch two aspect signals. System works fine except for a bit of relay chatter as the train enters or leaves the block section causing the signals  to flash between red and green. Can you advise how the chatter. can be removed. A suggestion is to fit a capacitor  with / without a resistor across the coil of the relay but I don't want to damage the lm-id unit. Suggestions please or alternative solutions.
Reply 0 0
AHJAY
I doubt whether a cap across the coil will damage anything, but a cap plus a resistor may be better. You need to control both charge and discharge if its to do the job smoothly.... but I can;t advise specific values at the moment, sorry.

Actually a better approach is to use a managed relay unit like the Cobalt REX - or perhaps to use latching relays that need a pulse to be on / pulse to be off, with the second pulse controlled by subsequent detectors. (each detector then turns the signal OFF in the section that the train leaves, and ON on the one it enters...

regards, Ahjay
Reply 0 0
Derek99
Thanks AHJAY 
Despite cleaning the tracks and wheels of the loco's etc, the flickering output from the lm-id as the the train enters / leaves the block section is still present. The' flickering' voltage output (12V @250mA) causes the change over relay to mirror it hence the flickering from green / red / green. Once clearly in or out of the section, the system is totally stable.  I am going try various resistor  and capacitor combinations so thanks for the advice that the lm-id should not be damaged.  Not sure how the cobalt REX would help but the use of latching relay is interesting as the train moves from one section to the next. The ideal arrangement would be a timer relay with a c/o contact that drops out after a predetermine time after de-energisation but I am struggling on this. this would allow me to slowly expand the number of signals as each block would control its own entry signal

I will keep you posted and any other ideas would be most welcome

regards

Derek99
Reply 0 0
AHJAY
Hi Derrek. The rex is able to hold its state much better than a simple relay - and also to be set to latch

Ahjay
Reply 0 0
jed10
Derek, it might be worth looking at Block Signaling infrared sensor devices. They do exactly what you want with an adjustable timer delay before reset. You can use them with 2, 3 or 4 aspect signals. Because they work on an IR sensor it doesn't matter whether it is the powered or unpowered end that passes over first which is very useful if you run multiple units.  They are very easy to install and just need a 12v dc power supply which then in turn will run your signals. 
Reply 0 0
Derek99
Hi Jed10.  Thanks for replying. The gauge is n gauge so a little bit difficult to fit the sensors and 1 am fully DCC controlled including points. Also, I am a bit committed down the lm-id route since I was 'gifted' 8 of  these as a present. I have played with the relay / lm-id combination and  with a delay built to dampen down the relay over the last couple of days and am starting to get there however it is still not perfect. I will however look at the information you have sent. Knowing what is available on the market is more power to my elbow.

I will keep you all posted how I get on but as always, I am open to new ideas particularly as I am a newbie to building model railways. I am currently a 5" gauge man!

regards

Derek
Reply 0 0
jed10
Hi Derek.  I am N gauge dcc, Code 55, too.  The IR sensors fit fine between the sleepers. Although the sensor tip is round there are two ir leds which are in a row so easy enough to line up with the gap in the sleeper.  I've so far used these for abc control and signals and they are 100% reliable but I now intend to put some more in to provide signal overrun power cut outs to avoid the risk of shorting on points. 
Reply 0 0
Derek99
Hi AHJAY. 

Following a bit of playing around the delay timers /capacitors to buffer out the chatter on the relay.  I think I am nearly there.  
I still however may be missing a trick on utilising the   various outputs the LM-iD gives.

The 12V @250mA (output C) is straight forward and is the output I am currently using but what about output on terminals B? The operating instruction suggest it is the same as output C but low power  and capable of powering a LED. What is the voltage of the output and its current? The it also states that the output can be used for automation which can be used with the REX or similar item. What form does this output taken and could it be used for Arduino, Pi or similar?. Equally under the heading, " the LM-iD is very easy to connect", It states the  the LM-id will work with out outside power but needs one if powering up external devices. This I can understand but what is the output from output B when un-powered.

The descriptions of the outputs and their possible uses is extremely vague which potentially means that the unit could be used for far more things than connecting to a REX

Looking at previous threads regarding the  LM-iD, you suggest that something was in the pipeline about expanding its capabilities. Can you enlighten me.

You can probably see that my knowledge base on electronics is a bit dated and is still in the relay logic era but can you still stick with me. My ultimate goal is to fully automate all the signals including junctions rather than just automatic straight sections of track, but I am getting there.


JED 10
Reply 0 0
Derek99
Sorry, I need to add. JED10 thanks for the reply. I have looked at your reply and gone on to the website you suggested. At the moment, I am sticking with the LM-iD but may start looking at your suggestion as the system expands. 

Thanks for you help

regards DEREK 99

( PS the signature on the previous replay should say DEREK99, For some reason, I sent the reply before I had completed it)
Reply 0 0
m.bryan
Hi Derek,
The "B" output from the LM-id is 5v "logic level".
Typically 50mA maximum.

This can be connected to the control inputs of our DCD-REX relay.
It can also be connected to any other device that uses TTL/logic inputs such as Arduinos etc.

Best Regards,
Mick
Layout Concepts Tech/Customer support
Reply 0 0
Derek99
Hi Mick.

Thanks for this information.

This opens up a massive arrange of interesting solutions. Will the output work with or without the LM-iD powered. Probably a daft question but it help me get up to speed with this type of technology

If possible, I will call in and discuss further next time I book an appointment to buy bits.

thanks

 Derek
Reply 0 0
Derek99
Hi M.Bryan & AHJAY

Cracked it, the lead using a hybrid latching  / timer delay relay system worked. At the moment it does only work for two aspect signals but combined with the switched contacts on the Cobalt digital, it does allow me to set up route through various junction arrangements fully signalled and the ability to set up red signals where you could have incorrectly set points.

This will be a good half way house using conventional relay logic.  In the longer term, I would still like to look at using an Arduino or similar.  If you still give me advice on how the 5V signal from the LM-iD is connected to a Arduino I would be grateful.  It getting my head round how a two wire output from the LM-ID is used and to what pins.

Happy to share my finding particularly regarding the relay logic way for simple block signalling.

Many thanks

Derek

PS JED10. thank for your comments and views. It does help us novices.
Reply 0 0
Reply