Payload EM Control Board Test Plan
Table of Contents
Introduction
This document summarizes the tests to be performed on the ManitobaSat-1 Payload EM control board, the equipment and components required to perform these tests, and a schedule for performing these tests. Instructions for soldering the cameras to the EM board are included as well.
Useful Development References and Links
This section lists useful links and reference documents for developing the EM board software and for performing these tests.
Required Equipment
Tables III, IIV, and IV summarize the ground support equipment, test articles, and purchased components required for the Payload EM Board verification activities:
Verification Activities to be Completed
For reference, TABLE V in this section details the verification activities to be verified during these tests, with descriptions and activity groups that they will be tested in.
Code to be Written
To fulfill these verification activities, the following code must be written to the EM board and control computer:
A script for the EM board which turns the left camera on and off on a timer.
A script for the EM board which resets the left camera on a timer.
A script for the EM board which takes an image with a designated camera and stores it within the EM board’s memory.
An extension of this script which commands the EM board to take and store an image with the left camera, followed by a short delay, and then take and store an image with the right camera.
A script for the EM board which measures and stores the voltages of both the board mounted and sample plate thermistors
A script for both the EM board and control computer which enables them to send and receive commands and data over CAN
A test ping script for the EM board which returns a ping-string to the control computer if a ping request is sent to the EM board over CAN.
A corresponding script for the control computer which sends a ping to the EM board and receives / reads pings from the EM board
A script for the EM board which enables it to receive and execute commands to take, store, and transmit images over CAN.
A script for the EM board which enables it receive and execute commands to take, store, and transmit health telemetry (thermistor and power-good readings) to the control computer
A functional test program for the control computer which:
Starts a timer
Sends a command to the EM board to take, store, and send health telemetry to the control computer over CAN
Sends a second command to take, store, and send an image (using one of the cameras) to the control computer over CAN
Stops the timer
A script for the EM board which enables it to check an image for errors or corruption. If an image is corrupt, the code shall send a message over CAN that the image is corrupt.
Verification Activities
This section details the verification activities to be performed on the EM control Board.
Group 1) EM Control Board Dimensional Inspection
Task Description: Inspect the EM control board and confirm it meets dimensional requirements
Completion Deadline: 14 Oct. 2020
Team Member: Matt, Hafis
Resources Required: EM board, calipers
Verification Activities: V-PLD-0715
Pass Criteria: Test is passed if dimensions J and L are less than 90 mm.
Note: This inspection activity also confirms that the board has been manufactured as requested and is within the design-tolerances specified. As such, additional dimensions are measured.
Detailed Description: Using a pair of calipers, measure and record the highlighted board dimensions. Afterwards, measure and record the board’s thickness.
For edge-to-centre-hole dimensions, measure and record the hole diameter then measure the distance between the edge and closest portion of the hole. Next, add half the diameter to the edge-to-edge measurement.
Group 2) Payload Thermistor Tests
Task Description: Functionally test the payload control board to confirm that it can read and store data for both the board mounted and sample plate thermistors.
Completion Deadline: 15-Mar-2021
Team Member: Matt, Ali
Resources Required: EM board with cameras installed, EM camera lenses, software development computer, thermometer, variable power supply for the EM board, JTAG debugger
Verification Activities: V-PLD-0560, V-PLD-1410, V-PLD-1710
Pass Criteria: EM board can read and store the voltages of both the board mounted and sample plate thermistors
Detailed Test Description:
Before fulfilling this verification activity, the cameras must first be installed onto the Payload EM board.
After the cameras have been installed onto the Payload EM board, the board must be connected to the software development computer using the JTAG debugger.
Write software to the board which measures and stores the voltages of both the board mounted and sample plate thermistors
Run the thermistor measurement code on the board
With the software development computer, retrieve the thermistor data from the EM board.
On the computer, review the voltages and, with the thermistor data sheets, calculate the measured temperatures.
Confirm that the temperatures are correct by comparing them to the thermometer reading.
Group 4) Payload CAN Communication Tests
Task Description: Functionally test the payload control board to confirm that it can communicate with the software development computer on CAN.
Completion Deadline: 15-Mar-2021
Team Member: Matt, Ali
Resources Required: EM board with cameras installed, EM camera lenses, software development computer, Nucleo-F767ZI, variable power supply for the EM board, JTAG debugger
Verification Activities: V-PLD-0571, V-PLD-1720, V-PLD-1730, V-PLD-1660, V-PLD-1740
Pass Criteria: EM board can:
Execute commands and send data on CAN
Command both cameras to take and send images in RAW format over CAN
Detailed Test Description:
Before fulfilling this verification activity, the cameras must first be installed onto the Payload EM board.
Part A: CAN Commands and Data Transmission
After the cameras have been installed onto the Payload EM board, the board must be connected to the software development computer using the JTAG debugger.
Write software to the board which enables it to send and receive commands and data over CAN
Write software to the Nucleo-F767ZI microcontroller which enables it to send and receive commands and data over CAN
Write a simple test ping program for the EM board which returns a ping-string to the Nucleo if a ping request is sent to the EM board over CAN.
Connect the EM board to the Nucleo over CAN, using the EM board’s CAN lines and the corresponding CAN_High and CAN_Low inputs on the Nucleo. Connect the Nucleo to the control computer by plugging the Nucleo’s Micro-AB connector into one of the control computer’s USB ports.
Send a ping request to the EM board and read the returned ping-string.
Confirm that the ping-string has been transmitted correctly.
Part B: Image Capture and Transmission
Write software to the board which enables it to receive and execute commands to take, store, and transmit images over CAN.
Connect the EM board to the Nucleo over CAN, using the EM board’s CAN lines and the corresponding CAN_High and CAN_Low inputs on the Nucleo. Connect the Nucleo to the control computer by plugging the Nucleo’s Micro-AB connector into one of the control computer’s USB ports.
Send a command to the EM board to take and send an image with the left camera
Confirm that the image has been transmitted to the control computer correctly and is without errors.
Send a command to the EM board to take and send an image with the right camera
Confirm that the image has been transmitted to the control computer correctly and is without errors.
Verification Test Schedule
The following table shows the Payload EM board verification test schedule. Note that programming the board to take and store images and to communicate on CAN will be the most difficult tasks included and so we may experience delays in completing Group 3 and Group 4. Many of the later tests are extensions or combinations of earlier tests and so test groups 5 through 11 may take less time than anticipated.
Camera Mounting Instructions
These instructions are to guide the assembler who will be soldering the Payload control board electrical components. The following lists include the fasteners and other hardware needed for the payload engineering model.
Assembly Instructions for Assembler
The following instructions are to guide assembling the supplied cameras to the Payload control board.
De-solder the 22-pin header on the two supplied cameras and replace them with UMS-0263 22-pin headers so that the header is on the same side of the camera board as the camera lens (as seen in Figure 3). Ensure that no more than 1.5 mm of header is exposed on the rear of the camera board.
Mount the UMS-0020 cameras to the UMS-0005 Payload Control Board so that the camera passes through the hole as shown in Fig. 4.
For each of the camera’s four mounting locations, use a UMS-0113 1-64 pan ½” fastener, UMS-0112 aluminum spacer, two UMS-0115 No. 1 washers, and a UMS-0114 1-64 nut as shown in Figure 5. (See the Table VIII for the hardware list and supplier part numbers).
Apply low strength Loctite to the tip of the 1-64 fasteners before installing them.
Solder the camera to the camera control board.
Figure 3: Camera Header Subassembly
Figure 4: Camera Header Subassembly
Figure 5: Camera Mounting Fastener Subassembly