# Reading state of a 0-200VDC motor.

Hi,
I am hoping to use an arduino to start a turntable on a various machines when the machine starts running.
The turntable would be moved from machine to machine as required. One machine is easy as it has a spare contact that closes when the machine starts.
However, the only way to read if some of the machines are running is by reading if the motor has power or not. to make things more complicated the motor runs on 0-200VDC. (in practice its never set to run below around 30v though.)
I’ve been thinking about various ways for a few weeks now and the best I can think of is to use a resistor to limit the current and a zener diode to limit the voltage (4.7V perhaps) as shown in attachment.

Would this work ok?
Have I picked suitable values or should I change these and if so what to?
Or should I try something else?

A linear signal opto isolator would be one solution.

[200V DC is as or more dangerous than mains voltages, never take
risks with it]

I have considered using an opto isolator , but wouldn't that require a fixed voltage to light the led consistently without blowing it at the higher voltages?

Might I suggest a hall effect current transformer unit which monitors motor drive current. These units are available with outputs of 5 volts DC at full range current. This design also provides total isolation from the motor voltage.

jackrae:
Might I suggest a hall effect current transformer unit which monitors motor drive current. These units are available with outputs of 5 volts DC at full range current. This design also provides total isolation from the motor voltage.

Thanks. That seems like it will work well.

antz975:
I have considered using an opto isolator , but wouldn't that require a fixed voltage to light the led consistently without blowing it at the higher voltages?

The point with a linear opto isolator is the output current depends on the input current,
you choose a limiting resistor so that the maximum input voltage is full scale.

There are sophisticated linear opto isolators using two receivers and feedback to
improve linearity, but thats not what you want, a simple opto isolator with output
current roughly proportional to input current ought to be feasible. You only need
on/off information?

How about making it with a zener so that >=18V =18V? and 0V = 0V
One can buy zeners of particular voltage such as 11, 25 or 35. Let me know if you want to buy one 18V Zener off me for £1 plus £1 uk p&p.
A big resistance from the (30 to 200V) to 18V must be safe so read the datasheet.
The 18V Zener goes to ground.
A second resistance from 18V goes into your potential divider to ground and could provide a reasonable 5-ish volts to an opto-isolator if you so wish. A second zener may be used to limit that to not-more-than 4.7V as you first wrote.

MarkT:
You only need
on/off information?

Thats right, i don’t need to know how fast it’s running, just is it running.

antz975:

MarkT:
You only need
on/off information?

Thats right, i don't need to know how fast it's running, just is it running.

Do you mean "it has voltage applied" or "it is drawing current" or "it is rotating"
I know it's being picky but they really are three different variables.

jackrae:
Do you mean "it has voltage applied" or "it is drawing current" or "it is rotating"
I know it's being picky but they really are three different variables.

It is rotating.
I would just put an encoder on if there was enough room but the motor is in a tight space.
I am aware that a dc motor may have voltage applied but not draw current.
When making my voltage readings I also found that if less than 3v is applied the motor will just stall at certain points in the cycle. Thus drawing current but not rotating.
The 0-200v is when running (it should be rotating assuming enough voltage is applied) this drops to zero when stopped. (I think both connections here are actually at +100v but that won't matter)

If you can stick a piece of reflective tape onto a moving surface you could use an IR sensor unit to detect rotation. No need for fancy encoder devices which are generally intended as position sensors.

Unfortunately all moving parts are well oiled and generally quite reflective. So not only would tape be likely to come off, it may not see the difference between the tape and general surface. I'll have a look at an inductive prox could be fitted somewhere.