DSPIC SERVO DRIVERJune 1, 2020
I have some larger motors that I would like to use that require more current than a single op-amp can provide. Administrator Post author July 3, at I’ve mounted a heatsink and a fan, probably meant for a P4 processor, which means I can run the drive as long as I want without overheating the powerstage – at least for now when there is no load on the motor. It was closely based on Application Notes from the Microchip website – you will be able to find code for PWM-generation, 3-phase commutation, and PID-loops in the application notes. Anders July 9, at A YouTube video by Ted Maczulat. I also couldn’t get any serial comms so there were other issues with my board, I don’t think I set the clock configuration correctly.
|Date Added:||11 December 2011|
|File Size:||13.12 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
I don’t know very much about EMI filtering but this was suggested to me as a rough rule of thumb. Thank you in advance.
DC Servo Positioner using 33FJ32GP202
Hi etla, looks very cool, I am working on a simalr project for my watt versions of the same motors. A smart way would be to use some kind of fast serial digital protocol between the m5i20 and the servodrive to directly transfer a dsic digital speed command to the servodrive.
For most operation this number will be set to 1, but if you have trouble reaching the top speed you need from the drive, it may be helpful to set this number to a higher value. Last edited by ladzhari; at This would make sense as the 33F DSP hardware can be used to crunch numbers even faster. Dspix schematics, PCB, and software for Mk2 of the servodrive will be available when I have had to improve the software to do sinusoidal commutation and test that it really works well with EMC and the Mesa servocard.
Last Jump to page: I found the motor control tutorials at http: Anders, Is it possible for you to send me or publish on your website your HAL files. Sspic guess you will have the boards professionnaly manufactured, right? Once set for a particular drive, they should not need to be changed.
First Steps With Brushless Servodrive (Microchip dsPIC + IRF IRAMS) –
Open Source Controller Boards. The power stage consists of a power op amp driven in constant current mode.
This is an optoisolator card for the pin ribbon cable from the m5i20 pci-card. The feedback lagged the demand signal some what as the demand got faster and faster. I have to bench test a complete unit before ant pcb’s will be made.
The serial port runs at a fixed baud rate of N Last edited by smarbaga; at Although the design uses a combination of surface mount and through hole components, the larger size surface mount components are easy to work with without special equipment.
DC Servo Positioner using 33FJ32GP | Microchip
Forum Themes Elegant Mobile. September 18, at In other words I could alter the reccursion rate or how often I called the PID loop which improves the dynamics of positioning the actuator. The p,i,d, ff0 and ff1 values are standard loop gain parameters.
Essentials Only Full Version.
The powerstage is rated for a very high voltage V I think so there should be no problem there. Otherwise there is very little interesting on this board.
I’ll try to dig out the jog-wheel HAL for you and post it here as a comment. Hi mike I was really hoping to get INT0 working after spending days on it. The servo loop parameters are programmed through a serial port connection and are saved in the dspic eeprom. Just treat them as an ordinary opamp and as long as you run them with a high enough gain above 10 to be safe and good power supply decoupling they should work as expected without stability problems.
John Kooloos July 6, at I’ve also included the pwm to analog filter, and I got a bit scared by the amount of noise the powerstage servk – so the powerstage is now optoisolated division-line at the right. The number is the swrvo of how many times the internal us interrupt fires between requesting the servo calculations.
Sorry for late reply I have had so many other work commitments. The design should be capable of up to 60 volts and 7 amps, which are the op-amp specs.