ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board

More
3 years 10 months ago #258903 by romanetz
Lcnc driver from @muvideo has some position error that has to be compensated by PID regulator. Litexcnc driver and firmware has negligible static position error but some dynamic error, that depends on jitter.
The following user(s) said Thank You: wuyatom

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #258910 by Paragon
Firstly great work on this project folks.
I had great fun playing with 7i43 and Pluto cards many years back while upgrading my Denford CNC machines.

In advance please note I am rather green when it comes to surface mounted tech.

I have a question regarding package size of the output it's.
In previous threads it mention soic, I ordered some SN74LVC245ADW around the same time I ordered the 5A-75B (v8) for input level shifting but on arrival the SN74LVC245ADW have far to large a footprint than the existing 74HC245T located on the board.

I have around a zillion billion browser tabs open to data sheets while trying to figure out exactly what package is required for a drop in replacement and I have just lost my mind along with the will to live.

If I could add a emoji it would be an exploding head!

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #258956 by wuyatom
可以把你的驱动和固件发下吗

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #258959 by wuyatom
setp pid.1.deadband 0.00001,The parameter has been modified and the position is correct

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #258982 by muvideo
Hi, I have used SN74LVC245APWR, the package should be tssop-20
The following user(s) said Thank You: Paragon

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #259004 by TOLP2

I noticed such a strange behavior of board: it accidentally stops to respond to incoming packets. Even for icmp. Unplugging with following plugging of ethernet cable recovers normal operation.
I still have trouble to have a consistent timing of the board. Don't know which part of the toolchain is causing this trouble. I found that running the toolchain (Yosys, etc) leads to different timing constraints. To start debugging I'm going to reduce the clock speed a bit and modify the stepgen to have the bit-shift determined dynamically based on the clock-speed. For example:
  • with 40 Mhz and target maximum step frequency of 400 kHz the applied shift should 6 bits (63), because 40 Mhz / 128 = 629 kHz.
  • with 20 Mhz the applied shift should be 5 bits (32) to get to the same speed.
With this change the accuracy and maximum step rate is no longer related to the clock-speed of the device. Choosing the bit-shift too small reduces accuracy, too large will reduce speed. To align driver and firmware the chosen clock-speed will be communicated when the card is reset / booted. As an option I'm thinking to let users define their own maximum step-frequency for the steppers (for example, some people will use less potent drives, but can gain on accuracy in that case).

Request:
Does any have a decent CAD drawing of the 5A-75B and 5A-75E with accurate position of the HUB-75 headers. Still playing with the idea of creating a hat...


 

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 0.216 seconds
Powered by Kunena Forum