23
Agere Systems - Optimay GmbH May, 2003 - 1 - UMTS terminal testing: A practical perspective Olaf Bergengruen May, 2003

Optoelectronics' Jan Financial Highlights

  • Upload
    garry54

  • View
    239

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 1 -

UMTS terminal testing: A practical perspective

Olaf Bergengruen

May, 2003

Page 2: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 2 -

„We will not survive without a proper regression test system“, an Optimay engineer

Page 3: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 3 -

Overview Virtual testing

• Logical view (what we want to test)• Why virtual testing• Requirements to the test system

• 3GPP approach

• Test model

• Test cases

• Optimay‘s implementation

• GSM/GPRS virtual test system

• GSM/GPRS/UMTS virtual test system

Page 4: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 4 -

Test environment / logical view(conformance testing, FTA)

G S M / G P R S t e s t sG S M 1 1 . 1 0

U M T S t e s t s3 G P P 3 4 . 1 2 3

S A T t e s t sG S M 1 1 . 1 0 - 4

U T R A Ns i m u l a t i o n

G E R A Ns i m u l a t i o n

S I Ms i m u l a t i o nM S

U m

U u

C u

Page 5: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 5 -

Test environment / logical view (2)

U T R A Ns i m u l a t i o n

G E R A Ns i m u l a t i o n

S I Ms i m u l a t i o nM S

U m

U u

C u

U S B8 0 2 . 1 1

B l u t e o o t hs i m u l a t i o n

M M Is i m u l a t i o n

W A PT C P / I P

t e s t c a s e s

W A Pt c p / i p

Page 6: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 6 -

Why virtual test environment

We need a SW only environment (no specific HW)

• HW is expensive or does not exist

• HW debugging is difficult and time consuming

• SW developers don‘t want to be bothered with HW issues or don‘t have the specific skills

We need to be much faster than real time Developers want to use standard tools (compilers,

editors, debuggers)

Page 7: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 7 -

Requirements to the virtual test system

Test system shall be much faster than real time

Support the design of test scenarios at a high level of abstraction

All test suites need to run ‚over night‘: GSM/GPRS tests (GSM 11.10), UMTS test (3GPP 34.123), STK tests (GSM 11.10-4), MMI test cases and possibly other suites (TCP/IP, WAP, ...)

Test system shall be available to anybody, at anytime, on any PC

Page 8: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 8 -

GSM/GPRS test architecture

Page 9: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 9 -

GSM/GPRS test architecture

S SG M M , M M , C C , e t c

O p t i m a y t e s t s c r i p t s( G S M / G P R S t e s t c a s e s )

R L C / M A C L 2

M M Ic o n t r o l

L o g i c a l L 1

M A C / R L C

M SP h o n e A p p s

L o g i c a l L 1

L 2

D S P e m u l a t i o n

G R R R R

L 1 s i m u l a t i o n( R a d i o B l o c k t r a n s f e r )

Page 10: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 10 -

Great approach: L1 simulated interface

Basic communication with the Tester via three functions: RxRadioBlock, TxRadioBlock, TimerTick

These functions can be extended as needed to simulate DSP code or other HW related functionality

MS is the master of system ‚ticks‘, about 100 times faster than real time

Tester and MS are tightly coupled which allows debugging using standard tools

Page 11: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 11 -

Debugging GMM code ...static void GMMDoRoutingAreaUpdate ( GM_IE_UPDATE_TYPE RauType, BOOLEAN FirstAttempt )

{

MMRAUpdPending = FALSE;

GMRauType = RauType;

GMStopT3302( );

GMStopT3311( );

if ( ! FirstAttempt )

{

GMT3330Expiries = 0;

if ( GMActState == GMActDetachInit )

{

GMStopT3321( );

GMDetachPending = TRUE;

}

}

if ( GMTriggerAction == GM_GS_ATTACH_COMP )

{

/* Reinitialise the trigger action variable. */

GMTriggerAction = GM_NO_TRIGGER_ACTION;

/* Confirm the end of the ATTACH procedure to GS */

SEND( GSGMEstCnf ) ( );

}

Page 12: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 12 -

Highlights of our GSM/GPRS virtual test system

Extremely efficient performance (around 1300 tests in 20 minutes)

Includes testing of DSP code About 30 man-years development effort

(including test case development)

Page 13: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 13 -

Drawbacks of our GSM/GPRS simulation

Tester uses proprietary (in house) test script languages and encoders which are difficult to maintain

It is difficult to write test cases Tester is not nicely layered as shown in the

previous slide, so it is difficult to extend and maintain

Summarizing: the system can not be extended to implement an UMTS System Simulator

Page 14: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 14 -

3GPP test model(TS 34.123-3)

R F c a b l e

M A C

P H Y ( U T R A N )

S S

P H Y

M A C

R L C

R R C

N A S ( G M M , M M , C C , e t c )

T T C N t e s t s c e n a r i o s

R L C

R R C -a d a p t .

P D C P

L 1 ( G E R A N )

R L C / M A C L 2

L L C

S N D C P

M M I / E - M M Ic o n t r o l

L 1

M A C / R L CL 2

R R / G R R

U EP h o n e A p p s

Page 15: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 15 -

Why we need a Test Model

Main reason for us: If we comply with the 3GPP Test Model we can use the TTCN test cases developped here at ETSI / STF 160

In general:• Clear and stable interfaces to the SS enables

manufacturers to develop the test equipment

• It reduces ambiguities within test case scenarios

• It enables outsourcing of testing activities and SW re-use

• It provides a common consens or understanding of the complete system to manufacturers and operators

Page 16: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 16 -

A test case (1/2) ...

Configure SS• Configure PHY / L1

• Configure MAC

• Configure RLC

Schedule and send System Information Blocks Test case preamble

• Bring UE into initial state (e.g. CS and PS registration)

— Perform Location Update procedure

— Perform GPRS Attach procedure

Page 17: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 17 -

Test case body• Stimulate the UE, e.g.

— Send X message to the UE, or— Change cell power levels, or— Trigger the UE via AT command to initiate a call

• Verify responses— Match messages from the UE to expected values — Assign a verdict (PASS, FAIL, INCONC)

Test case postamble• Complete signalling to bring UE into stable state

A test case (2/2) ...

Page 18: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 18 -

So, how to design a Virtual Tester which matches the 3GPP model

and our requirements ?

Page 19: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 19 -

Problems designing an overall GSM/GPRS/UMTS Test Env.

The clean 3GPP model is not enough for a complete MS test environment

We need to re-use tools, tracers, and most of all test cases developed for GSM in the new environment

We can not afford to develop the UMTS test suite in house, we need to re-use the 3GPP tests

The L1 and DSP simulation strategies for GSM do not match those of UMTS

Page 20: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 20 -

Current approach (a compromise)

Multi-threaded system: The proper MS, the GSM SS, the UMTS SS and the SIM simulator

All communicating via shared buffers The tick-master is the MS, when all jobs for

current frame are completed, it issues a ‚tick‘ and all System Simulators prepare data (radio blocks) for next frame.

Each SS will send a ‚tick-ack‘ to the MS when it is ready for next frame

When all SSs are done: the MS L1 engine will fetch or store a radio block

Page 21: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 21 -

C u

U uU m

T h r e a d 3

T h r e a d 2T h r e a d 1

. b s t , . a s c f i l e s( O p t i m a y t e s t s )

L 1 e m u l a t i o n

L 2R L C /M A C

G E R A N s i m u l a t i o n

S N D C P /L L C

T T C N s u i t e( 3 G P P t e s t s )

P H Y e m u l a t i o n

M A C

U T R A N s i m u l a t i o n

P D C P

R L C

S I Ms i m u l a t i o n

. s a t f i l e s( O p t i m a y )

T h r e a d 0

M S

GSM/GPRS/UMTS Test Environment

T h r e a d 4

T r a c e r

Page 22: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 22 -

Summary

A Virtual Test Environment is an essential tool

• for development

• for quality assurance

3GPP test model

A rough overview of our implementation

Page 23: Optoelectronics' Jan Financial Highlights

Agere Systems - Optimay GmbH May, 2003 - 23 -

Thank you.