Production Test

From Openmoko

(Difference between revisions)
Jump to: navigation, search
 
(18 intermediate revisions by one user not shown)
Line 4: Line 4:
  
 
The target of production test, is deliver quality products. And production test won't go through all engineering details, because factory have time constriant on each station and production line also has cycle time for efficient for production.
 
The target of production test, is deliver quality products. And production test won't go through all engineering details, because factory have time constriant on each station and production line also has cycle time for efficient for production.
 +
 +
Windows embedded also provide a testkit called CETK for embedded device testing, you could look into more detail in MSDN web site [http://msdn.microsoft.com/en-us/library/aa934353.aspx CETK]
  
 
== Process flow ==
 
== Process flow ==
Line 9: Line 11:
 
* Major test process
 
* Major test process
  
** PCBA level test: Target of PCBA test is make sure the surface mount quality and the main component works properly  
+
** PCBA level test: Target of PCBA test is make sure the surface mount quality and the main component works properly
  
 
** Pre-assembly test: Usually a production will include attached modules, and connected with FPC (flexable plastic cable) or connectors, pre-assembly test will test system function with module attached
 
** Pre-assembly test: Usually a production will include attached modules, and connected with FPC (flexable plastic cable) or connectors, pre-assembly test will test system function with module attached
Line 42: Line 44:
 
Fixture used for speed up production process, it also has life cycle and need maintance during prodction process. All the connector/test pin/plugs are expendable, and should could be fixed in time during every production process.
 
Fixture used for speed up production process, it also has life cycle and need maintance during prodction process. All the connector/test pin/plugs are expendable, and should could be fixed in time during every production process.
  
Every device has it's own specification and requirement, so the fixture design and requirement should base on device charactics to adjust process. Follwoing just GTA case for your reference.  
+
Every device has it's own specification and requirement, so the fixture design and requirement should base on device charactics to adjust process. Follwoing just GTA case for your reference.
  
For example, GTA using following test fixture during production  
+
For example, GTA using following test fixture during production
  
 
* Initial u-boot download
 
* Initial u-boot download
Line 77: Line 79:
  
 
=== GTA01 ===
 
=== GTA01 ===
 +
 +
==== GTA01 process flow ====
 +
 +
Fix it
 +
 +
==== Device Module Test 1 (DM1) ====
 +
 +
Fix it
 +
 +
==== Device Module Test 2 (DM2) ====
 +
 +
Fix it
  
 
=== GTA02 ===
 
=== GTA02 ===
Line 93: Line 107:
  
 
DM1 is target for verify main chip component's basic function and surface mount quality. GTA02 integrate DM1 test functions into u-boot, and using the debug board JTAG interface download production u-boot to target board.
 
DM1 is target for verify main chip component's basic function and surface mount quality. GTA02 integrate DM1 test functions into u-boot, and using the debug board JTAG interface download production u-boot to target board.
 +
  
 
* HDQ : Read HDQ via barrety connector
 
* HDQ : Read HDQ via barrety connector
Line 102: Line 117:
 
* GPS C/N : Check the signal/noise ratio of GPS
 
* GPS C/N : Check the signal/noise ratio of GPS
 
* Backup battery : Backup battery for PMU's RTC
 
* Backup battery : Backup battery for PMU's RTC
* Battery voltage : Read PMU battery voltage  
+
* Battery voltage : Read PMU battery voltage
 
* LED : Full color of LED
 
* LED : Full color of LED
 
* GSM : CPU communicate with GSM module
 
* GSM : CPU communicate with GSM module
Line 108: Line 123:
 
* Vibrator : Check the vibrator path
 
* Vibrator : Check the vibrator path
 
* Earphone (Audio path) : Audio codec path
 
* Earphone (Audio path) : Audio codec path
 +
 +
===== GTA02 DM1 Source Code =====
 +
 +
GTA02 DM production software could be download from [http://git.openmoko.org/?p=system-test-suite.git;a=summary GTA02 DM1 source code]
 +
 +
 +
===== GTA02 DM1 Test Procedure =====
 +
 +
Station D1
 +
 +
* Put device in the fixture
 +
 +
* Power up DUT through fixture, download DM1 source into DUT by using Devirginator and JTAG
 +
 +
Station D2
 +
 +
* Scan PCBA barcode
 +
 +
* Put device in the fixture
 +
 +
* Power up DUT through fixture
 +
 +
* Excute serial command program/script from the host PC
 +
 +
* Verify the test result, and upload the result to host PC
 +
 +
  
 
==== Device Module Test 1.5 (DM1.5) ====
 
==== Device Module Test 1.5 (DM1.5) ====
Line 125: Line 167:
 
** Read battery via HDQ line
 
** Read battery via HDQ line
 
* Suspend: Test system suspend current while GSM is on.
 
* Suspend: Test system suspend current while GSM is on.
 +
 +
===== GTA02 DM1.5 Source Code =====
 +
 +
GTA02 DM1.5 source code could be download from [http://git.openmoko.org/?p=system-test-suite.git;a=summary GTA02 DM1.5 source code]
 +
 +
  
 
==== Device Module Test 2 (DM2) ====
 
==== Device Module Test 2 (DM2) ====
Line 150: Line 198:
 
* Vibrator: vibrator motion
 
* Vibrator: vibrator motion
 
* RTC: Real time clock with battery
 
* RTC: Real time clock with battery
* GPS:  
+
* GPS:
 
** External and internal antenna TTFF time
 
** External and internal antenna TTFF time
 
** C/N: signal quality within housing
 
** C/N: signal quality within housing
Line 156: Line 204:
 
* Wi-Fi: iperf test
 
* Wi-Fi: iperf test
  
== Process flaw ==
+
===== GTA02 DM2 Source Code =====
  
 +
GTA02 DM2 source code could be download from [http://git.openmoko.org/?p=system-test-suite.git;a=summary GTA02 DM2 source code]
  
  
 +
 +
== Process flaw ==
  
 
[[Category:Test]]
 
[[Category:Test]]
 +
[[Category:Hardware Test]]

Latest revision as of 04:27, 23 October 2008

Contents

[edit] Production Test Introduction

After device finish engineering prototypes stage, hardware engineer will need to provide test specification and pass criteria base on the product specification. Production test also could be treated as a simplified regulatlation test, because it has to fulfill standard of worldwide standard (for example: GSM) of local regulation (for example: Wi-Fi).

The target of production test, is deliver quality products. And production test won't go through all engineering details, because factory have time constriant on each station and production line also has cycle time for efficient for production.

Windows embedded also provide a testkit called CETK for embedded device testing, you could look into more detail in MSDN web site CETK

[edit] Process flow

  • Major test process
    • PCBA level test: Target of PCBA test is make sure the surface mount quality and the main component works properly
    • Pre-assembly test: Usually a production will include attached modules, and connected with FPC (flexable plastic cable) or connectors, pre-assembly test will test system function with module attached
    • After-assembly test: After assembly is final product test, all major function need to be verified before product shipping.


[edit] Fixture Design

Fixture design base on required test item and test point location. At design time, should consider all re-quired test point in the PCB, and must easy accessable during PCBA/PCBA with module/Assembly. If test point and fixture design was bad, it will make product non-mass productionable.

[edit] Test point

Important test point during GTA production including:

  • Consoleuart TX/RX
  • GPS RF test port
  • GSM RF test port
  • Wi-Fi RF test port
  • Battery test point
  • Vibrator test point
  • Auto power on test point
  • Modem power on test point
  • JTAG test point
  • USB test point
  • SIM card test point
  • SD card test point
  • Earphone (also connect to Modem IR port)

[edit] Fixture

Fixture used for speed up production process, it also has life cycle and need maintance during prodction process. All the connector/test pin/plugs are expendable, and should could be fixed in time during every production process.

Every device has it's own specification and requirement, so the fixture design and requirement should base on device charactics to adjust process. Follwoing just GTA case for your reference.

For example, GTA using following test fixture during production

  • Initial u-boot download
  • GSM test
  • DM1 test
  • DM1.5 test
  • GPS C/N test /w shielding case
  • Wi-Fi test /w shielding case
  • Bluetooth test /w shielding case

For development process, all fixture could be integrated into 1 fixture for speed up test software development process. But integrated fixture will cost more and will have more chance get broken during production process, also, integrated fixture need attach every expensive test equipment, and make fixture duplication very non-practical because the cost of expensive test equipment. But singal/integrated test fixture DO very useful during trial run process for software verification.

Factory tend to spilt fixture into simple function and easy maintainable unit, and also could cost saving/balance production line flow process. Base on device charactics and factory process/equipment availability.

[edit] Test equipment

GTA uses following equipment during production process:

  • Programmable power supply
  • Battery emulator
  • CMU-200
  • SMU-200
  • GPS simulator
  • GPS signal re-radiation
  • Spectrum FSP-6 and others
  • Wi-Fi access point
  • RF shielding box
  • RF Attenuator
  • RF signal divider

[edit] Device

[edit] GTA01

[edit] GTA01 process flow

Fix it

[edit] Device Module Test 1 (DM1)

Fix it

[edit] Device Module Test 2 (DM2)

Fix it

[edit] GTA02

[edit] GTA02 process flow

Surface mount -> Visual inspection -> DM1 download (JTAG) -> GSM firmware download -> GSM test -> DM1 test -> Attach Bluetooth/Wi-Fi/LCM -> DM1.5 (Boot from SD card) -> Housing assembly -> DM2 (Boot from SD card)-> QA -> Packaging -> QA -> Release

  • DM1.5 also downlaod NOR u-boot image into NOR flash
  • DM2 download release product image after DM2 test finished

[edit] Device Module Test 1 (DM1)

DM1 is target for verify main chip component's basic function and surface mount quality. GTA02 integrate DM1 test functions into u-boot, and using the debug board JTAG interface download production u-boot to target board.


  • HDQ : Read HDQ via barrety connector
  • USB host power : Provide 5v USB host power
  • Accelerometer : Check SPI and interrupt behavior
  • NOR flash : Read the NOR ID
  • Charging : Input USB power and check PMU charging current
  • Power/Aux key : Check Button mechanical
  • GPS C/N : Check the signal/noise ratio of GPS
  • Backup battery : Backup battery for PMU's RTC
  • Battery voltage : Read PMU battery voltage
  • LED : Full color of LED
  • GSM : CPU communicate with GSM module
  • GPU - SMedia : Chip self check
  • Vibrator : Check the vibrator path
  • Earphone (Audio path) : Audio codec path
[edit] GTA02 DM1 Source Code

GTA02 DM production software could be download from GTA02 DM1 source code


[edit] GTA02 DM1 Test Procedure

Station D1

  • Put device in the fixture
  • Power up DUT through fixture, download DM1 source into DUT by using Devirginator and JTAG

Station D2

  • Scan PCBA barcode
  • Put device in the fixture
  • Power up DUT through fixture
  • Excute serial command program/script from the host PC
  • Verify the test result, and upload the result to host PC


[edit] Device Module Test 1.5 (DM1.5)

  • LCM: Bad pixel/color test
  • Bluetooth: Scan function test
  • Accelerometer: Position with bias range
  • GSM: Read GSM firmware version
  • Wi-Fi: Read MAC address
  • Audio: Test audio paths
    • wave to reciver (close to ear)
    • wave to speaker
    • earphone mic to speaker
    • mic to earphone receiver
  • PMU
    • Read battery voltage via PMU
    • Read battery via HDQ line
  • Suspend: Test system suspend current while GSM is on.
[edit] GTA02 DM1.5 Source Code

GTA02 DM1.5 source code could be download from GTA02 DM1.5 source code


[edit] Device Module Test 2 (DM2)

In GTA02, after assembly, will Re-test all DM1.5 function

  • LCM: Bad pixel/color test
  • Bluetooth: Scan function test
  • Accelerometer: Position with bias range
  • GSM: Read GSM firmware version
  • Wi-Fi: Read MAC address
  • Audio: Test audio paths
    • wave to reciver (close to ear)
    • wave to speaker
    • earphone mic to speaker
    • mic to earphone receiver
  • PMU
    • Read battery voltage via PMU
    • Read battery via HDQ line
  • Suspend: Test system suspend current while GSM is on.

DM2 specific test including:

  • Key: Aux/Power key press
  • Vibrator: vibrator motion
  • RTC: Real time clock with battery
  • GPS:
    • External and internal antenna TTFF time
    • C/N: signal quality within housing
  • GSM: link with CMU-200 do the call test
  • Wi-Fi: iperf test
[edit] GTA02 DM2 Source Code

GTA02 DM2 source code could be download from GTA02 DM2 source code


[edit] Process flaw

Personal tools

Production Test Introduction

After device finish engineering prototypes stage, hardware engineer will need to provide test specification and pass criteria base on the product specification. Production test also could be treated as a simplified regulatlation test, because it has to fulfill standard of worldwide standard (for example: GSM) of local regulation (for example: Wi-Fi).

The target of production test, is deliver quality products. And production test won't go through all engineering details, because factory have time constriant on each station and production line also has cycle time for efficient for production.

Process flow

  • Major test process
    • PCBA level test: Target of PCBA test is make sure the surface mount quality and the main component works properly
    • Pre-assembly test: Usually a production will include attached modules, and connected with FPC (flexable plastic cable) or connectors, pre-assembly test will test system function with module attached
    • After-assembly test: After assembly is final product test, all major function need to be verified before product shipping.


Fixture Design

Fixture design base on required test item and test point location. At design time, should consider all re-quired test point in the PCB, and must easy accessable during PCBA/PCBA with module/Assembly. If test point and fixture design was bad, it will make product non-mass productionable.

Test point

Important test point during GTA production including:

  • Consoleuart TX/RX
  • GPS RF test port
  • GSM RF test port
  • Wi-Fi RF test port
  • Battery test point
  • Vibrator test point
  • Auto power on test point
  • Modem power on test point
  • JTAG test point
  • USB test point
  • SIM card test point
  • SD card test point
  • Earphone (also connect to Modem IR port)

Fixture

Fixture used for speed up production process, it also has life cycle and need maintance during prodction process. All the connector/test pin/plugs are expendable, and should could be fixed in time during every production process.

Every device has it's own specification and requirement, so the fixture design and requirement should base on device charactics to adjust process. Follwoing just GTA case for your reference.

For example, GTA using following test fixture during production

  • Initial u-boot download
  • GSM test
  • DM1 test
  • DM1.5 test
  • GPS C/N test /w shielding case
  • Wi-Fi test /w shielding case
  • Bluetooth test /w shielding case

For development process, all fixture could be integrated into 1 fixture for speed up test software development process. But integrated fixture will cost more and will have more chance get broken during production process, also, integrated fixture need attach every expensive test equipment, and make fixture duplication very non-practical because the cost of expensive test equipment. But singal/integrated test fixture DO very useful during trial run process for software verification.

Factory tend to spilt fixture into simple function and easy maintainable unit, and also could cost saving/balance production line flow process. Base on device charactics and factory process/equipment availability.

Test equipment

GTA uses following equipment during production process:

  • Programmable power supply
  • Battery emulator
  • CMU-200
  • SMU-200
  • GPS simulator
  • GPS signal re-radiation
  • Spectrum FSP-6 and others
  • Wi-Fi access point
  • RF shielding box
  • RF Attenuator
  • RF signal divider

Device

GTA01

GTA02

GTA02 process flow

Surface mount -> Visual inspection -> DM1 download (JTAG) -> GSM firmware download -> GSM test -> DM1 test -> Attach Bluetooth/Wi-Fi/LCM -> DM1.5 (Boot from SD card) -> Housing assembly -> DM2 (Boot from SD card)-> QA -> Packaging -> QA -> Release

  • DM1.5 also downlaod NOR u-boot image into NOR flash
  • DM2 download release product image after DM2 test finished

Device Module Test 1 (DM1)

DM1 is target for verify main chip component's basic function and surface mount quality. GTA02 integrate DM1 test functions into u-boot, and using the debug board JTAG interface download production u-boot to target board.

  • HDQ : Read HDQ via barrety connector
  • USB host power : Provide 5v USB host power
  • Accelerometer : Check SPI and interrupt behavior
  • NOR flash : Read the NOR ID
  • Charging : Input USB power and check PMU charging current
  • Power/Aux key : Check Button mechanical
  • GPS C/N : Check the signal/noise ratio of GPS
  • Backup battery : Backup battery for PMU's RTC
  • Battery voltage : Read PMU battery voltage
  • LED : Full color of LED
  • GSM : CPU communicate with GSM module
  • GPU - SMedia : Chip self check
  • Vibrator : Check the vibrator path
  • Earphone (Audio path) : Audio codec path

Device Module Test 1.5 (DM1.5)

  • LCM: Bad pixel/color test
  • Bluetooth: Scan function test
  • Accelerometer: Position with bias range
  • GSM: Read GSM firmware version
  • Wi-Fi: Read MAC address
  • Audio: Test audio paths
    • wave to reciver (close to ear)
    • wave to speaker
    • earphone mic to speaker
    • mic to earphone receiver
  • PMU
    • Read battery voltage via PMU
    • Read battery via HDQ line
  • Suspend: Test system suspend current while GSM is on.

Device Module Test 2 (DM2)

In GTA02, after assembly, will Re-test all DM1.5 function

  • LCM: Bad pixel/color test
  • Bluetooth: Scan function test
  • Accelerometer: Position with bias range
  • GSM: Read GSM firmware version
  • Wi-Fi: Read MAC address
  • Audio: Test audio paths
    • wave to reciver (close to ear)
    • wave to speaker
    • earphone mic to speaker
    • mic to earphone receiver
  • PMU
    • Read battery voltage via PMU
    • Read battery via HDQ line
  • Suspend: Test system suspend current while GSM is on.

DM2 specific test including:

  • Key: Aux/Power key press
  • Vibrator: vibrator motion
  • RTC: Real time clock with battery
  • GPS:
    • External and internal antenna TTFF time
    • C/N: signal quality within housing
  • GSM: link with CMU-200 do the call test
  • Wi-Fi: iperf test

Process flaw