Wednesday, October 04, 2006

 

finally some more time...

I have had some more time to work on it.

I have code that interfaces from C#, to the FTDI chip.
I spent the better part of the day debugging the atmel32 chip.

the one I bricked still could read from the 15b encoder, I just couldn't write to it anymore.
one of the new ones we ordered one the the other guys was used for a couple of days, was perfectly fine except portA would only give 2.5v as a low and 5 as high.

I thought it was my fault somewhere cause I changed the IDE from programmers notepad with myown make file, to one autogenerated via avrstudio.

no my programming was fine. it was the stupid chip.

anyhow I should have an axis moving hopefully tomorrow.
unless the bosses find something "better" for me to do.

Saturday, September 16, 2006

 

update

it's been a while since I have posted.

well it's been a while since I have managed to work on the robot as well.

well I have a laptop again. so now I can do some work from home.
and my boss told me he is going to give me some time at work
soon to try and get something up and working hopefully functional within 3 to 4 weeks.

I burned up some opamps putting my voltage connector on wrong.
so Ihave some resoldering to do. but I should be ready to test right after that!
when I have one axis working with the USB command board, then I build the rest of the boards.

when I have multiple axis working then I will work on removing the old controller. with the error bits from the inverters working.

Tuesday, April 11, 2006

 

description


This 6axis nachi robot, will be converted into a Foam cutting robotic Chainsaw.

It has a fully working control. but unfortunately the controller is only Point2Point. there is no indpendant axis control nor Cartesian control(XYZ).

so I have to design a controller that will give us low level control.

I had to make a proof of concept that it could be done.
so I made a simple servo using a Atmel mega32.

the encoders on the machine are absolute 16bit grey code, encoders.
(inverted too at that).

I also can reuse the 3phase inverters from the original control.
luck would have it, the inverters have analog in that directly effect the current given to the motor(hence the velocity).

 

the new boards.

well since the servo control,I did was with atmel's mega32 using PWM at it's internal clock rate of 1MHz.

so the theory is now that 16MHz should allow for smoother control (upto 16x more).

that being said I am going to use one master CPU with 6 slave CPUs.
each slave running their own axis indpendantly.
and the master will send commands to each chip via SPI.

and a Computer via USB to the Master Chip.
for USB control I am using the FTDI usb to Parallel chip. with FIFO buffers.

I just got the USB chips working today. I needed to have a few cycles of waiting to read from the chips. the spec says 50nsec. One cycle being 63 ns long should allready be slow enough... anyways.

Now I have my boards working (I haven't tested them attached to the encoders attached yet. but I will cross that bridge when I get to it.)

tomorrow I will work on completing the code for the master control board.
and hopefully be able to test the system on thrusday. one axis for now.

Tuesday, March 07, 2006

 

Sunday, February 19, 2006

 

comming soon


This page is powered by Blogger. Isn't yours?