Host Engineering Forum
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 07, 2012, 09:00:31 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: "Outside the box" solution or absolute stupidity?  (Read 1402 times)
MichaelL65
Jr. Member
**
Posts: 18


« on: March 20, 2009, 11:32:57 am »

OK, unusual situation here. I have a H0-CTRIO in a DL-06 frame. The encoder is open collector, which requires a +V on the common (M) for the CTRIO. However, we are also using a reset signal, which comes from a sourcing device, which would require a GND on the common. Obviously not a ideal situation.

To make this work I had originally made a circuit to convert the open collector signals to sourcing, but we are having a lot of trouble with getting that to work properly (different CTRIO cards will measure different voltages off of the same circuit, sometimes even below the 9V threshold). It was not a good solution.

Here is the hair-brained solution I've came up with (but not wanting to risk frying my module, I thought I would run it by you guys first): If I made the common (M) +12V, that would be able to drive the open collectors of the encoder (A,B) just fine. The reset coming to input D is sourcing at +24V, so it still has a 12V potential to M (The panel is powered with 24VDC, but a handful of components require +12V so there is a regulator to provide that). In theory that should work, but I've been doing this long enough to know theory and reality don't always agree...

So, does this idea risk anything to the CTRIO module itself (would it fry it, cause it to melt down, end civilization as we know it), or is it in fact designed to work this way? Ideas? Comments? Dire warnings?

Logged
BobO
Host Moderator
*****
Posts: 1112


Yes Pinky, we *are* going to control the world!


« Reply #1 on: March 20, 2009, 04:27:19 pm »

I ran this by the CTRIO hardware designer and he said it should work peachy. All disclaimers apply and your mileage may vary.  Wink
Logged

BobO

The Constitution does not guarantee us freedom from being offended...but we can choose not to be, and life gets so much easier.
Tim
Newbie
*
Posts: 5



« Reply #2 on: March 20, 2009, 04:35:31 pm »

This is unusual but should work just fine.  The Reset signal return current will actually flow from our common M terminal toward the +12V power supply, but since it's likely a small amount relative to the total draw from +12V, there should be no issue with it's regulation.

Each CTRIO input has it's own full wave diode bridge allowing anything >9V away from the M to generate a guaranteed ON condition.  You've got a MacGyver type solution here using just the signals already available.  Well done.
Logged
MichaelL65
Jr. Member
**
Posts: 18


« Reply #3 on: April 02, 2009, 12:21:20 pm »

Great! I might earn my keep yet!

Sorry it took so long to get back here to check your timely answers, but I'm working on 5 major projects simultaneously (oh the joys of a small company Tongue) and had to put this one aside for a bit. The coworker who took over my part of that project just used pull-up resistors like we had before, but I'm still going to try this to see if it works because it will make it a heck of a lot simpler for future versions (and this project needs all the simplifications it can get! Roll Eyes).

If it works as well as I think it should, it would be worth doing a refit on the existing systems.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM