Duet design

From RepRap
Revision as of 08:13, 26 April 2016 by PRZ (talk | contribs) (First issue)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Duet design (done by T3P3 with help of others): The Duet boards (0.6: 4 drives and 0.8.5: 5 drives) are based upon the Arduino Due board design with added equipment to handle 3D printing.

Duet 0.6 was issued in december 2013 and Duet 0.8.5 in August 2015. A new generation is in preparation with upgraded processor.

Basing the design on Arduino allow the use of existing tools and libraries.

Processor

The 32 bit ARM processor used (Atmel SAM3X8E) run at 84 MHz, have 96 kB of SRAM memory and 512kB flash memory. It is equipped natively with Ethernet and USB interface. The model used on Duet is enclosed in 144 pin package and have 103 I/O pins. Since a few years, this 32 bit arm processor chip is sold at a lower cost than 8 bit processors as found on 8 bit Arduinos (ATmega2560 or ATmega328P), with a difference of around 3 USD in quantities (ATmega2560). Due to the use of this processor, the signal voltage is 3.3V and using 5V on I/O pins may destroy the board as there is no protection.

Communication

The processor Ethernet interface needs an added chip (here a KSZ8051RNL) for signal conversion , called a ‘PHY’ converter, which cost less than 1 USD in bulk. This make possible Ethernet connexion with fair speed at relatively low cost. It is indeed surprising that the Arduino designers decided not to implement Ethernet connexion on the Due board. An USB connexion is present and can be used for direct connexion or board firmware flash. There is a SD car reader, which is used to read the configuration files on the SD card at board start-up and for printing.

Current control

For motor current control, the Duet use a quad ‘digital potentiometer’ specialised circuit MCP44X1, which cost in bulk approximately 1USD. 5th motor current (on Duet 0.8.5) is directly controlled by processor pin.

Motor drives

The chip for motor drives are Allegro A4982, with 2A absolute maximum rating and are used at 1:16 microsteps. They are cooled by their bottom, the heat being transferred to board plane by thermal vias. These drive chips have over current and over temperature protection. Usable maximum current is unknown, some users having operated 0.8.5 it at 3x1.4A +1.6A with forced cooling. Board 0.6 have been proofed to work without cooling with 3x0.8A + 1.2A on Fisher.

Power supply

Maximum allowed voltage is 30V A 5V buck converter (A4403, rating 2A) exist on board, however the board can accept an external 5V power supply. Board have been tested at 1.5A on 5V. The 3.3V voltage is taken from the 5V rail. The 3.3V current depends from own consumption and accessories (IR sensor, Panel), so to estimate current available for accessories supplied in 5V, you shall first subs-tract 3.3V peak current consumption.

Connections

The first board (Duet 0.6) was equipped with a 40 pin unique connector for steppers and end-switches. Such unique loom for all motors and switches was never used and this was abandoned on Duet 0.8.5. On the Duet 0.6, a 26 pin connector was installed to connect a Bed in addition to the Bed screw terminals. Again, this was never used and abandoned on Duet 0.8.5.

There is a 50 pins connector for a dedicated expansion board named Duex4 (adding 4 drivers and associated circuits), compatible between Duet 0.6 and 0.8.5 versions. This connector can be used to get signals or power supply if there is no expansion board present. RepRapPro was also selling a ‘shield’ for 2 added drivers.

Duet 0.8.5 does add a specific connector (serial communication) for an external panel control named PanelDue, which operate autonomously as a terminal. Duet 0.8.5 also add a specific connector for a Z-probe.

The signal line names are those used on Arduino Due, with extension for lines not used on Arduino.

It shall be noted that the end switches pin order is different from other boards, in order to avoid shorts if connectors are reversed (center pin is 3.3V).

Cost

The SAM3XE cost is slightly higher than the ARM processor used in Smoothieboard (NXP LCP1769) by 1$, but the SmoothieBoard chip don’t have native Ethernet interface. Smoothie processor is faster at 120MHz, but have less memory (64 kB vs 96 kB).

Due to lower processor cost, native USB and Ethernet control, this 32 bit board may cost less to manufacture than comparable 8 bits processor based board and some other Arm-based board. Indeed, RepRapPro was selling the Duet 0.6 for a lower cost than the 8 bit Melzi they were also supplying.

In the USA, the Duet 0.8.5 is sold 135 USD, to be compared to the Ultimachine RAMBO board 175 USD, one of the most complete 8 bit board, however without Ethernet connexion.

The Duet 0.6 board is cloned by a Chinese manufacturer, Replikeo and sold at 65 USD. It is a clone of the first Duet 0.6 issue, with minor differences with present 0.6 boards (notably thermistor resistance of 1K, instead of 4.7k on later 0.6 board issues).

Selling quantity was not disclosed, but as the Duet 0.6 was the standard board for RepRapPro machines since the beginning of 2014, there is probably a few thousands owners. Till the issue of Duet 0.8.5, the diffusion of this board as an independent one for self-builders was low, due to lack of documentation and active commercial promotion. Active software development by independent developers and USA distribution have given this board (mid 2016) some momentum.