High voltage testing procedure of SHVPS board

 

The testing procedure should be printed, marked and added to the other testing documents.
Report the name and I2C address from the low-voltage test sheet.

Name of testing agent:_______________________________________________________

Date:___________________________________________________________________

Board Name:______________________________________________________________

I2c Address:_______________________________________________________________

Test of the micro-controller

  1. Take a Arduino micro, but do not install it on the HVPS PCB.
  2. Open the Arduino IDE (you must have the Arduino IDE installed, as well as the required drivers for the serial communication. Refer to this page for more information)
  3. Program the Arduino with the Send_PWM program.
  4. In Arduino GUI, open the Serial Monitor.
  5. Set the termination character to “Carriage return” and the transmission speed to “115200” in the 2 dropdown lists.
    serial_monitor
  6. Check that the the onboard LED (green) is fully on
    ☐ Onboard LED is on
    uc_test_steps6_8
  7. In the serial monitor, enter 0 and press enter. The green LED should turn off, and the terminal should indicate:
    PWM set point: 0
    ADC read XXX
    (the value of XXX is not important at this stage)
    ☐ Expected values are displayed on the terminal
    ☐ Onboard LED is off
    uc_test_step7
  8. In the serial monitor, enter 1023 and press enter. The green LED’s intensity should be at 100%,  and the terminal should indicate:
    PWM set point: 1023
    ADC read XXX
    (the value of XXX is not important at this stage)
    ☐ Expected values are displayed on the terminal
    ☐ Onboard LED is on
    uc_test_steps6_8
  9. Close serial monitor, and unplug the USB cable from the Arduino.

Testing the High Voltage

Be Careful when testing the high voltage part of the circuit, as the board is not yet in a protective enclosure. High voltage will be present at the output and on some of the components during the testing of steps 6 and 7. It is important not to touch any part of the SHVPS during this test, and to place the PCB on a well-insulated surface.

  1. Insert the micro-controller into socket UC1 of the HVPS board, with the USB connector aligned with the PCB overlay
    hv_test_step1
  2. Be sure that the HV enable switch (S2) is in the 0 position
    hv_test_step2
  3. Plug the USB cable to the microcontroller
  4. Open the serial monitor in the Arduino interface (the end character and speed settings should be CR/115200, see above)
  5. Place HV enable switch (S2) on 1
  6. On serial monitor, enter 0 and press enter. Write the reading from the ADC:
    ADC Read: ___________________
    ☐ ADC Read is higher than 850 and smaller than 1023
  7. On serial monitor, enter 500 and press enter. Write the reading from the ADC:
    ADC Read: ___________________
    ☐ ADC Read is higher than 200 and smaller than 1023
  8. On serial monitor, enter 1023 and press enter. Write the reading from the ADC:
    ADC Read: ___________________
    ☐ ADC Read is smaller than 10. If not, try step 8 once again.
  9. Close serial monitor
  10. Place HV enable switch (s2) on 0
  11. Remove USB cable

Next Steps

  1. Place the jumper of header H2 in the central (onboard) position if you want to use the board with the GUI. If you want to force the use of the push button or the external pin as switching source, you can place the jumper on the appropriate position
  2. If the board is assembled at EPFL-LMTS, Fill columns A to H in the Excel database of assembled boards (HVPS-dev\Slave\ Assembled_SHVPS_database.xlsx). Names and address are not yet stored in the micro-controller, this is normal.
  3. Place a sticker at the back of the PCB indicating: Board name, maximal voltage, and I2C address. Name and address will be stored at a later stage in the micro-controller. Use the name and address you have defined at the top of this test sheet.
  4. Continue with the calibration of the board, and the fabrication of the enclosure.