CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Somewhat OT: Reading high voltage applied to motor

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
MikeV



Joined: 20 Feb 2004
Posts: 4

View user's profile Send private message

Somewhat OT: Reading high voltage applied to motor
PostPosted: Tue Dec 12, 2006 2:57 pm     Reply with quote

I have a DC motor which will gets various voltages applied to it:
1. 10VDC to 120VDC
2. Pulsed 170VDC (PWM frequency of 20kHz, with varying duty cycles)

How do I read the voltage applied across the motor, and get the info to a galvanically isolated PIC?

Are there any ICs to read the voltage? or do i simply use a voltage divider circuit across the motor bus voltage?
Thanks,
Mike
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

PostPosted: Wed Dec 13, 2006 1:08 am     Reply with quote

MikeV wrote:
...do i simply use a voltage divider circuit across the motor bus voltage?


You might be able to get away with just the voltage divider. But you would risk to introduce EMI into your circuit.

MikeV wrote:
How do I read the voltage applied across the motor, and get the info to a galvanically isolated PIC?


There are 2 options:

1. An additional A/D converter chip on the isolated side. You need to isolate the digital communication between the PIC and the A/D chip with digital optocouplers and to provide power to the A/D chip. This method is good for measuring ultiple voltages on the isolated side.

2. A linear optocoupler such as Clare LOC110. At 20kHz it works quite well.

BTW, I have a friend, who builds galvanic isolation modules commercially (both types 1 and 2).

Cheers,
Nick
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Wed Dec 13, 2006 10:39 am     Reply with quote

Check if you REALLY need galvanic isolation. (You might for legal reasons even if you don't really need it for electrical reasons.) If not then consider two voltage dividers from the hot and cold sides of the motor to the PIC local ground. A pair of 40:1 resistor dividers could be a lot cheaper and simpler than true galvanic isolation.
_________________
The search for better is endless. Instead simply find very good and get the job done.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group