100%
high-amp-controller-board Adafruit-MAX31850-thermocouple-breakout-board view
Description

Imported from GitHub: PubInv/high-amp-controller-board · commit 89c9a0c · license AGPL-3.0

Description

A PCB assembly for controlling up to 60 amps of power for electolysis of electroplating

README

Factory Test Plan, Control V1.2, Printed Wiring Assembly

Journal of tests for assemblies of January 2025.
PCB assembly by JLCPCB with some finish work in Maryville TN.
Fiffteen Assemblies assigned SN 16-30.

Notes made in issue #TBD during the development of this test plan.

Resources

12V power supply with current monitor. Color the plug Red. Multi meter to measure voltage and resistance. (Actual Multimeter (EMCO DMR-3800) )
PC with Arduino IDE to connect to USB programing port of Due

Firmware: https://github.com/PubInv/NASA-MCOG/tree/develop/elec/Control%20Board/Control_1v1/FactoryTest
Arduino Sketches:

  1. DueWithThreeSSRs
  2. GraphicsTest

Test Procedure

Before Test, Finish Assembly

The following reworks and changes are required on the assemblies build for JLCPCB order of Control V1.2 in early 2025. Notes: All of the JST two pin hearders were found to be incorrecly orentaged bacuse of the "correction" of the footpring and silk screen on V1.2 The connectors for ground pins near the thermocouple amplifier are all ground and so do not need correction however the others must be removed and rotated. JLCPCB did not have stock of the poly fuse. Other changed were found during factory testing detailed in this list of changes

Early 2025 Changes to Assemblies

  1. Simply remove J28.

  2. Color the connector J11, +12VIn red with a sharpie.

  3. Color the connector J12, +24V in black with a sharpie.

  4. Remove and rotate 180 degrees connector J11, J12, J13, J25, J30, and J31.

  5. Change R106 and R108 from 10K to 20K. This rework is done by unsoldering the existing 10K resistor and rotating it 90 degrees on one pad. Add a second 10K resistor to the now vacant pad and a short wire beween the two resistors. Lee used 30 AWG wire wrap wire.

  6. Add a 1 Ohm 0603 SMT resistor at R74 to provide 5V power at the I2C connector J24.

  7. Install PolyFuse F801 near the relay.

  8. Add an new resistor R186 a 10K on D42 from J8 pin 24 5o pin 30 (GND).

  9. DO NOT INSTALL DUE AT THIS TIME, but do install stackable (feed through) headers for the Due connections which make this assembly become a shield for a Due.

Unpowered Test of PWA.

To prevent possible damage to units and test equipment, before adding power to the assembly make the following tests.

Summary and data capture table

Tester Name ____ F. Lee Erickson ________________ Date of Test _____ 20250130 _____________________

Test ID123456
Test NameInspection+24In In No Short+12In In No Short5VHEAD net+5V net+3.3V net
SetupInspect correct orientation on polarized partsSet ohm meter 20M. Com to GNDSet ohm meter 20M. Com to GNDSet ohm meter 20M. Com to GNDSet ohm meter 20M. Com to GNDSet ohm meter 20M. Com to GND
Test LocationTP20 (J12 Pin 1)TP 2 (J11 Pin 1)J8 Pin 1J3 Pin 4J3 Pin 5
Requirements> 10K> 10KOpen or > 1 MegOpen or > 1 MegOpen or > 1 Meg
Results SN 9D1 and D2 Probably backwards.34.6K39.8KOpen12.1 Meg11.7 Meg
Results SN 1034.6K39.9KOpenOpenOpen
Results SN 1134.5K39.8KOpenOpenOpen
Results SN 1234.6K39.8kOpen2.4K (Issue #126 #126)Open
Results SN 13
Results SN 14
Results SN 15
Results SN 16
Results SN 17
Results SN 18
Results SN 19
Results SN 20
Results SN 21
Results SN 22
Results SN 23
Results SN 24
Results SN 25
Results SN 26
Results SN 27
Results SN 28
Results SN 29
Results SN 30

Program Due with Firmware

Before connecting to the Controller V1.2 Assembly, program the Due with Load the factory test firmware "MAX31850_Tester.ino"

Finish Assembly

Build Up MAX31850 Thermocouple Amplifier Sub Assemblies

Note that the side of the board to be up has the pads for configuring the addresses of the assemblies. Solder the header and screw terminal to the MAX31850 on the correct side.

  1. Install the MAC13850 thermocouple amplifier assemblies to the Control V1.1 at JP9, JP10 and JP15. Add a ?2.5mm? x 10 mm screw with nut as mechanice support and retention. Observing polarity, connect thermocouples to the MAX31850 amplifire assemblies. Cut the four on board shunt on each MAX31850 PCB (See image below for where to cut on one). Measure with multimeter that the shunt to GND is open. image

  2. Add screws for legs such as 8-32 x 2") with nuts. These legs are necessary because the long stacking connectors to be installed must not be bent which would happen if the legs were not installed.

  3. Solder in the stakcing Due connectors, seven locations. The long tails must go in the top and through to the bottom

  4. Connect the Due to the Controller assembly. The Due is under the Controller V1.1 assembly as a "shield".

  5. Connect the Ethernet W5200 (or similar) sheild on the top of the Controller V1.1

Apply power.

Note the +12VIn, the +24VIn and the Stack programable power supply are connected to a switchable outlet switch.
With the power outlet off, Connect the +12VIn power at J11, the RED connector.
Connect the +24VIn power at J12.
Connect SSR simulator LEDS at SSR1, SSR2, SSR3.
Connect the Pumping/Standby switch at J801, FAULT LED with resistor at J802, and STANDBY LED with resistor at J803. Connect the Stack power supply at J10 ( or J27) at this time.

Apply power by switching on the AC power strip. Test ID7: Note current in table on the +12VIn supply current monitor for excessive, above 100 mA. THIS NUMBER WILL NEED TO BE CHECKED WITH DUE's THAT HAVE NEVER BEEN PROGRAMED. Check that the BUILDIN_LED ner the LAN Shield and SSR2 and SSR3 connectors is blinking rapidly as an idication that the firmware is running. Open the Arduino Serial Plotter ( ) and touch some thermocouples.

Temperature Measurements for SN 1 to SN15.

For SN16 and beyond the test is moved further below and uses the OEDCS firmware Test ID8: Typical Serial Plotter results. Touching some of the thermocouples to ensure they respond. Note resutls in table image

Results continued...

Test ID789
Test NameCurrent, Temperature OnlyCheck thermocouplesfuture use
SetupIn line DC current meterConnect three
Test LocationDue inputSerial Plolter
Requirements85 mAThree traces
Results SN 9OK
Results SN 10270mAOK
Results SN 11200mAOK
Results SN 12
Results SN 13
Results SN 14
Results SN 15

Load and run factory test firmware DueWithThreeSSRs.ino

Open the Arduino Serial Monitor. Observe the data.
**Test ID10 ** Observe SSR1, SSR2, SSR3 LED Blinking.
**Test ID11 ** Observe Mini12864 Display back lit and displaying splash message and four measurements.
**Test ID12 ** Encoder Rotation Knob is back lit. Rotate the know and observe the serial port reporting changes.
**Test ID13 ** Encoder knob switch. Press the knob and observer serial port message about shutdown.
**Test ID14 ** PCB mount SHUT DOWN button. Press the button and observer serial port message about shutdown.
**Test ID15 ** Observer serial port message about "Link Status: ON"
**Test ID16 ** Stack Voltage, SKIP after SN15 Observer serial port message about "?????"
**Test ID17 ** Stack Power, SKIP after SN15 Observer serial port message about "?????"
**Test ID18 ** Cumulocity, SKIP after SN15 Observer serial port message about "?????"
**Test ID19 ** Reset, Observer serial port message as DUT reboots"
**Test ID20 ** PCB mount SHUT DOWN button. Press the button and observer the Battery Connection LED lights.
**Test ID21 ** Pumping/StandBy with to Pumping (Blue LED ON) PCB mount SHUT DOWN button. Press the button and observer the Blower goes to high speed STATUS_LED is on.
**Test ID22 ** Pumping/StandBy with to Standby (Blue LED off) PCB mount SHUT DOWN button. Press the button and observer the Blower is off, STATUS_LED is oFf.

Results ID 10-21 continued...

Test ID10111213141516171819202122
Test NameSSR1, SSR2, SSR3, LED BlinkMini12864 DisplayEncoder Rotation KnobEncoder knob switchPCB button SHUT DOWNLAN CONNECTIONStack voltage @ reset < 1VStack power to loadCumulocity reportingReset to safeConnection @ BatteryBlowerPump/ Standby
SetupPress SHUT DOWNPress SHUT DOWNBlue Light On
Test LocationNA
RequirementsLink OKBattery LEDBlower High SpeedBlower On When ShutDown STATUS_LED on when pumping.
Results SN 9OKNA
Results SN 10OKOKOKOKOKOKOKOKOKOKNA
Results SN 11OKOKOKOKOKOKOKOKOKOKNA
Results SN 12NA
Results SN 13NA
Results SN 14NA
Results SN 15NA
Results SN 16
Results SN 17
Results SN 18
Results SN 19OKNANANAOKOKReturn "SL_Power"NANANAOKOK
Results SN 20
Results SN 21
Results SN 22
Results SN 23
Results SN 24
Results SN 25
Results SN 26
Results SN 27
Results SN 28
Results SN 29
Results SN 30

Stack Power Supply Control

With AC power on.

Load the OEDCS firmware into the unit under test.
For the firmware to report the MAC address, before compiling, set the ETHERNET_REQUIRED define for 1 In the main.cpp file lines 75 and 76 are: ... #define ETHERNET_REQUIRED 1 //#define ETHERNET_REQUIRED 0 //No ethernet. FLE ...

Once the fimrware is loaded, open the serial monitor. Observe the traffice and note that a Power supply is reported.
image
Observe the traffice and note that an IP address is reported.
image
On serial port monitor confirm device connects to LAN ID16.

Set Stack power supply and +24VIn.

Connect a 1.5K 1/2 wat resistor load on the Stack Power Supply ouput. With multi meeter observe the voltage on the stack power supply load.
After observe and record voltage ID16 after reset it should be 1V the power on voltage. Send OEDCS serial port commands to set Stack power to load manual.

  • s:1
  • a:0.1
  • w:2.5 Observe and record ID17 Stack power to load should now be about 12V

Observe data on Cumulocity

https://mcogs.us.cumulocity.com/apps/app-builder/index.html#/application/34000/dashboard/71202350/device/45175917 image Observe and report in issue ID19.

Reset to Safe

Press and hold the reset button. Observe that the Stack power supply voltage goes to zero. (IT DID NOT as of 20231218 with TF800A12K) Observe that the blower stops. Observe that the SSR LEDs go off. Recorde results in test issue ID19

Capture MAC, Send for Server Setup

After reset and connection to a LAN the Serial Monitor report displays the device MAC address. Catpure to the table below.

Unite Serial NumberMAC AddressNote
1FE:ED:1B:70:08:77
2FE:ED:10:69:73:70
3NA
4NA
5NA
9FE:ED:1D:70:05:6D
10FE:ED:12:71:06:65
11FE:ED:16:6B:72:67
12FE:ED:17:73:0E:69
13
15??
16FE:ED:74:66:03:6E
17FE:ED:16:73:00:65
18FE:ED:13:70:06:6D
19FE:ED:1D:70:00:6D
20FE:ED:74:66:03:67
21FE:ED:10:73:00:6FFAILED?
22NA
23NA
24NA
25NA
26NA
27NA
28NA
29NA
30NA

At end of shift send all new MAC Addresses for addition ot the server.

Temperature Measurements.

Test ID8: Observe on Serial monitor that two thermocouples report abmiant temprature. image Touching some of the thermocouples to ensure they respond. Note resutls in table on colum 8

Results continued...

Test ID789
Test NameCurrent, Temperature OnlyCheck thermocouplesfuture use
SetupIn line DC current meterConnect three
Test LocationDue inputSerial Plolter
Requirements85 mAThree traces
Control V1.2Skip testPost Heater/Post Stack
Results SN 16NANot captured
Results SN 17NANot captured
Results SN 18NAPost Heater C: 20.25 Post Getter C: NA Post Stack C: 20.50
Results SN 19NANot captured
Results SN 20NAPost Heater C: 21.75 Post Getter C: NA Post Stack C: 23.25
Results SN 21NA
Results SN 22NA
Results SN 23NA
Results SN 24NA
Results SN 25NA
Results SN 26NA
Results SN 27NA
Results SN 28NA
Results SN 29NA
Results SN 30NA

End of Test

Power off the unit under test. Apply a green permanet lable near the PubInv logo.

Rejoice another great OEDCS has been born!

Comments
Sign in to comment

No comments yet. Be the first to ask about this board.