Closed madhephaestus closed 9 years ago
setpoints changed to 100000 +-
How is this coming?
problem is in the data. Sometimes the whole word is shifted to the left by 1 byte. like the peripheral missed a clock edge from the master. this problem exists in the SPI Slave module on the card and occurs on average once in few hundred thousand read/writes. its only noticeable when you set a large set-point and the motor is traveling for 10-20 seconds or more.
Tried to get LVDS working in XPS. Gave up, posted to xilinx forum.
noticed oscilator was 100mhz not 50mhz which means the SPI peripheral on the card was running way to fast (pll boost to 200mhz for more oversampling. was at 400mhz due to this error) i fixed this and will test soon.
reliability test passing. testing code now.
odd.. DAC got kicked into funny mode which required a card reset to recover from.
fixed.
dac gets into a mode where it won't update.
also, cleaned up wiring on test hardware.
When the p controller is running from a far away position for the setpoint there seems to be a stutter. The printouts from the axis shows a inverted value during the stutter.
Tested is a loop that sends the p controller from 10000 to -10000, waiting long enough for it to settle, and no shudders are visible or audible.