Download Development of a Universal EtherCAT-Based fieldbus

Transcript
22
be implemented if necessary. The other serial port is routed to a pinstripe and is primary
left for future use.
3.2.3 Diagnostic, test and programming
Programming, reading diagnostics and testing the module in the production phase is
done at some extent via a connector of the same type as the option module connectors.
This connector is equipped with all the necessary signals for this purpose. The
placement of the connector on the PCB can be seen in the lower left corner of picture 5.
For programming purposes the connector is equipped with the JTAG pins from the
FPGA and two reset button signals. One button is used for resetting the FPGA and the
other one used to reset only the EtherCAT functionality. The FPGA configuration
memory is programmed via the JTAG bus indirectly through the FPGA and therefore no
connection to the memory is needed on the connector. The FPGA will be factory
programmed via this connector before shipping, while future firmware updates could
possibly be loaded via EtherCAT.
For diagnostic and testing purposes the connector was further on populated with
different signals. First, all the five different voltages used in the module are connected
to their own respective pins for easier measuring while performing the initial tests of a
new product. Second, two pins are populated with the SOF and EOF of the EtherCAT
frame, used for diagnostic purposes. Last, some of the connector pins are connected
directly to the FPGA I/O pins and are therefore firmware configurable. A small
additional PCB, which is designed to be connected to the connector as a breakout card
for the connector was manufactured, but it will not be discussed further in this thesis.
3.2.4 Option module connectors
As can be seen in picture 5, the four option module connectors are located at the exact
same position on both sides of the PCB and on both edges. Therefore the connectors
themselves have to be SMD components. The connectors are only accompanied with a
few capacitors for each of the voltages connected to them. The connectors are fitted
with 12 of the FPGA I/O pins each, used for data communication along with two FPGA
pins each for the option board EEPROMs (more information about the EEPROMs in the
software section) and a few pins each for the voltages 24V, 5V and 3.3V and ground.
The maximum speed for the data transfer can be estimated to be about 2 MHz, which is
low enough to avoid the need of any impedance matching resistors, as will be
mathematically proven in the PCB design section. For the EEPROM signals, already a
few kHz is enough.
3.2.5 Front panel connector
The place of the front panel connector is also shown in picture 5 and the connector itself
is nothing more than an SMD-type ribbon cable connector, connecting the front panel
with a flexible ribbon cable to the motherboard PCB. The connector is fitted with the
5V and 3.3V voltages and a small number of FPGA I/O pins for the data transfer.
Because of the relatively low frequencies used (also estimated max. 2 MHz) by the data
signals, no kind of signal termination are used in either end. If pull-ups or pull-downs
are needed, these can be programmed inside the FPGA or put onto the front panel PCB.
The data format is somewhat discussed in the software design section, but the front
panel electrical and PCB implementation themselves are beyond the scope of this thesis.