![]() |
![]() |
![]() |
|
|
|||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Hello, I would like to operate a servo drive from AMC. I want a minimum of 1.5kW motor and drive combo. I think that I want to use it first in analog velocity control mode. My questions to start are:
1. Will using a low pass filter on a pwm from a pic be sufficient or do i need an analog ic (if so, a recommendation on serial or parrallel comm would be great)? -If so, how can i tell from a data sheet on the drive how low the low pass filter needs to be? -Would it be easier to just get a pwm version of their drives? -I belive that in order to use the +/-10 V input to their drive (assuming i go analog velocity mode), i will need a op amp with a gain of 2 to get from my 5 v pwm on the pic to the 10v, and an inverting op amp to get the negative side of the signal. What would be the easiest way to switch between the positive signal and the negative (another output pin switches something (mosfet, etc.) - how can i get the high dc voltages reqired (80V @ 2 kW) from 120VAC? rectifier, cap and resistor(shunt)? |
|
|
|
|
|
|
(permalink) | ||
|
Quote:
If you are thinking about driving the motor from a linear device like an op-amp- generating a straight adjustable analog voltage source to drive the motor, don't. It barely works for things under a watt. Anything larger (up to a few hundred watts) can be done with very specialized, very expensive op amps designed for that purpose. Just use a bridge driven by PWM, where the transistor gates are driven by gate drivers that are controlled by the PIC's PWM signal. Or you can just get a DAC or resistive divider controlled by a PIC (or a potentiometer) that works with a 10V source. If you are not referring to how to drive the motor, but how to control the driver (ie. send a certain speed to it with an proportional analog signal), then what you are looking for is a DAC- which can be generated using an IC or using an RC filter driven by PWM from a PIC- the filter doesn't really matter, just make sure it's cutoff is much lower than your PWM's frequency. THen yeah, use an op-amp to step up the DAC voltage or make it bipolar or whatever yo need. Quote:
A step-down transformer that feeds into a large diode rectifier, cap and maybe inductor. BUt...I don't think you can draw 2kW from a standard wall socket. 1500W is about the max. Last edited by dknguyen; 6th December 2007 at 04:37 AM. |
|||
|
|
|
|
|
(permalink) | ||
|
Quote:
Quote:
|
|||
|
|
|
|
|
(permalink) |
|
For a start get the 0-5V PWM to DC sorted out - if you search on MicroChip they have two application notes explaining all about it, and how to calculate the filters required.
Why didn't you just get the PWM version?. |
|
|
|
|
|
|
(permalink) |
|
If i had gone with the PWM version, I would have to close the velocity looop at the microcontroller. I do not know how to do this, but if anyone has any Ideas, i would be very interested in hearing them.
|
|
|
|
|
|
|
(permalink) |
|
Nigel,
I read the app notes and some other filter information, and downloaded the microchip filter lab software. What I can't get past is the start of the design process where i need a low pass filter to turn my pwm signal into analog. I understand how to go through the component selection process once i know what my filter parameters are, but how do i know for instance what the passband and stopband attenuation and frequencies should be for a specific application? I can choose my pwm frequency and the duty cycle, and was planning on simply varying the duty cycle and leaving the frequency constant, but I don't know how to wisely choose a frequency. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| PIC PWM outputs? | Andy1845c | Micro Controllers | 33 | 30th November 2007 03:06 AM |
| Servo problems | bananasiong | Micro Controllers | 0 | 16th September 2007 02:15 AM |
| Servo Controll... In reverse? | savage | Micro Controllers | 9 | 1st December 2006 03:10 PM |
| Replacing RC Servo w/ Custom PCB (Open Servo) | dknguyen | Electronic Projects Design/Ideas/Reviews | 3 | 29th May 2006 02:48 AM |
| Help required with servo motor controller | mayhem | Robotics Chat | 3 | 26th May 2006 04:21 PM |