icub-tech-iit / ipts

iCub Tech PROTO Test Suite
BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link
icub-robot production robotics testing-suite

IPTS - iCub Production Test Suite

IPTS is a test suite, configurable via .xml file, that allows to interact with test firmware loaded on boards to be tested. Written in C# (.NET framework) , is a Windows Form application. In this repo there are Visual Studio solution file, sources, and the installer project (InnoSetup) and output.

List of tested codes

Here is the list of the codes tested with the IPTS suite

IIT Code Revisions Description
12008 B,C MTB4, IIT - Electronic board for tactile sensor, with 3 axis accelerometers Vin 5Vcc
11996 B,C STRAIN2, IIT - Electronic board, 6 channels strain gauges variable gain interface board with CAN/UART, Temperature sensor, IMU, STM32L4
5443 D,E MC4-PLUS, IIT - Electronic board with cortex M4, Ethernet and power driver for 4 DC motors, SPI interface, 2 analog channels, 12-32V supply voltage, low brightness
10004 B MC4-PLUS_CSHAPE , IIT - Electronic Board
12024 C RFE_MASTER, IIT - Electronic Board, Robot Face Expression Master board
2694 2224U012SR+IE2-512+2082 Faulhaber - Brush motor, encoder with 500mm cable lenght
12264 FAULHABER MOTOR 1016M012GK380+GEARBOX 10/1 i=16
10347 BLDC motor assembly, OD 49.2, ID 9.54, L 20.7, stack length 5.7, airgap diam 29.5
10350 BLDC motor assembly, OD 49.2, ID 9.54, L 27.7, stack length 12.7, airgap diam 29.5
7117 Moog BLDC motor, OD 49.2, ID 15.5, L 24.7 , W/O HALL SENSOR
7116 Moog BLDC motor, OD 49.2, ID 15.5, L 17.7 , W/O HALL SENSOR
10182 Moog BLDC motor, OD 72.4, ID 15.5, L 27.5 , W/O HALL SENSOR

1 Installation

1.1 Installing the test suite

You can install IPTS on a Windows 10 machine.

:warning: If the installer is required by suppliers or, in general, by external parties from IIT please refer to the installer attached in the provided release and DO NOT USE the link below

1.2 Installing ESD CAN-USB drivers

ESD CAN-USB is an interface that allows to convert USB communications to CAN (and viceversa). It is is used as communication interface between the test suite and the test firmware during the test.

ESD CAN/USB (IIT code 1014)

Device manager

Browse Drivers

Select Drivers

1.3 Configuring network interface

This is necessary only for ETH boards (mc4plus and mc2plus).

To let IPTS testing the ethernet hardware we need to configure a network interface (also an USB/ETH adapter is good) with a fixed ip address.

Follow the steps below:

  1. In Control Panel got to Network and Internet

Network and Internet

  1. Select Network and Sharing Center

Network and Sharing Center

  1. Select Chnage adapter settings

Chnage adapter settings

  1. Right click on the desired network interface then select Properties

Properties

  1. Select Internet Protocol Version 4 (TCP/IPv4) then click on Properties

IPv4

  1. Select Use the following IP address and input the values as in figure below, then click OK

IP address


2 Run IPTS

Select Operator

Select Board

Testplan


3 IPTS GUI description

This is the main GUI, here is a brief description of its functionalities

GUI

3.1 Toolbar

Toolbar

  • Open TestReports folder -> opens the folder containing all test reports
  • Exit -> quits the program

About

3.2 Test mode

3.3 Testplan

Here’s the list of all tests to be executed to validate the DUT. The list of tetss is defined in the ipts.xml file. If Debug mode is selected you can execute one or more tests by checking them.

3.4 Run/Stop

3.5 Log

Here you can read the log of testplan execution. Once tests execution is competed the report will be saved in the TestReports folder. Save log and Clear log buttons will be enabled only in debug mode. At the bottom youll’find info about operator name and date.