Skip to main content

Replies sorted oldest to newest

Yes the  Uncoupler is the track section  of Fastrack.  And The AIU unit is a accessory interface unit. I have a little street light that I want to use but when I hook that up either with it in line with the AIU or power supply the uncoupler does not work.  I think it's because of two small of wire  for the voltage. 

When I first read the problem, I thought the task was to detect that the electromagnet was "ON".  Detecting voltage applied to the UCS terminals is undoubtedly good enough.  But if you want to detect that current is actually flowing thru the electromagnet a Current Transformer (about $1-2 on eBay, free shipping) plus a couple 5 cent LEDs is an option.

CT with back-back LEDs

Here's a 1000:1 Current Transformer plus a couple back-to-back LEDs on the CT output.  A wire with the uncoupler current runs thru the donut hole of the CT.  The few Amps of uncoupler current when active is transformed to a few millamps (1000-to-1 ratio) of LED current on the CT output...plenty to light up LEDs.  The LEDs are placed back-to-back so that each lights up on the opposite half of the AC cycle and also serves to protect the other LED from excessive reverse voltage.

And here it is in action.

There are other ways to detect AC current like putting a series diode or resistor shunt to generate a voltage when current flows.  No matter the method, detecting current (rather than voltage) provides arguably more confidence that the electromagnet or load is actually active. 

 

 

Attachments

Images (1)
  • CT with back-back LEDs
Last edited by stan2004

The one I happened grab out of the proverbial parts bin is eBay item number 381276598888

Untitled

I don't know if ironic is the right word but it even comes with a resistor and circuit board that converts the CT output current to voltage so an Arduino can read it!  But since LEDs "want" to be driven by current (not voltage), the resistor is not needed.

 

 

Attachments

Images (1)
  • Untitled

Dunno - Only fooled around with an Arduino Uno, 0 - 5V was 1024 counts. Was not impressed, but I didn't put much effort into it. I will pick up a couple of those small CTs to fool with.

BTW, I have a few CTs if anybody wants them. They are 500:5 and 150:5. Great to fool with, you will never burn them out on a model railroad layout!

gunrunnerjohn posted:

I looked around previously and found this one, so I ordered one to see how it works, I'd be using it with the PIC processor.  You can tweak the resistor to match the scale you want to measure.

 

I will need to test some of these small CTs.

Thing to keep in mind, if using a CT for measurement purposes, is that they are most accurate operating into a short-circuit., or looking at it differently, when there is practically zero flux in the core. If you increase the burden resistor, in an effort to get the output voltage higher, you will soon get to a point where the coil saturates, causing a marked drop-off in accuracy, as well as some other interesting effects. I am quite sure that Stan's application of LEDs relies on these other "interesting effects," but, it does light the LED, so who cares!

When feeding a resistive load, the waveform of the secondary voltage should match that of the primary current. If they differ, you are outside the rating limits of the CT, and accuracy will suffer.

Serious CTs have a specified "burden" rating, usually in VA, sometimes in ohms, below which specified accuracy is assured. These values are the great unknown in these tiny ebay units.

gunrunnerjohn posted:

...Still in the thinking stages. 

Yes, think twice, solder once.  If you're not trying to squeeze out that last bit of of A/D resolution, I think you're better off biasing the CT output to the mid-point of the A/D range and letting the PIC do the rectification (i.e., absolute value instruction).  I'd think the extremely low output impedance of the CT relative to the high input impedance of the A/D might make simple capacitive coupling possible...rather than op-amp rectifier or whatever.

Of course it depends on what you're doing, but there was a monumental reset in AC power meters when solar panels allowed consumers to put energy back into the grid.  Power meters now needed to detect/measure negative kW-Hrs so you got credited accordingly.  I figure you're not doing trying to make a residential power meter but a bridge or rectifier eliminates the polarity of the current before it gets to the processor.

Add Reply

Post
×
×
×
×
Link copied to your clipboard.
×
×