IP Library Granted Patent US 8,374,840
Granted Patent B2
US 8,374,840 · App. 12/578,855 · Granted Feb 12, 2013

System and method for feedback-guided test generation for cyber-physical systems using monte-carlo

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,374,840
App. No.
12/578,855
Granted
Feb 12, 2013
Kind
B2
Abstract

A system and method for generating test vectors includes generating traces of a system model or program stored in memory using a simulation engine. Simulated inputs are globally optimized using a fitness objective computed using a computer processing device. The simulation inputs are adjusted in accordance with feedback from the traces and fitness objective values by computing a distance between the fitness objective value and a reachability objective. Test input vectors are output based upon optimized fitness objective values associated with the simulated inputs to test the system model or program stored in memory.

Claims (11)

1. A method for generating test vectors in cyber-physical systems, comprising:

generating traces of a system model combining discrete and continuous state components as a dense-time model stored in memory using a simulation engine by using a computer processor;

globally optimizing simulated inputs using a fitness objective computed using the computer processor, the simulation inputs being sampled in regions of state-space and being adjusted in accordance with feedback from the traces and fitness objective values by computing a distance between the fitness objective value and a reachability objective;

searching for safety violations of systems that include non-linear dynamics using sampling in the state space;

globally optimizing by use of a failed distance to compute a fitness value and a “Hit-and-Run” Monte-Carlo based sampling in a hybrid discrete continuous space; wherein globally optimizing includes sampling inputs to minimize the fitness objective value using a failed distance method, wherein globally optimizing further includes receiving feedback from the traces and updated fitness values to compare the fitness values to the reachability objectives such that an input vector set is steered to an improved set of input vectors in accordance with a constraint to limit regions of state space that are sampled;

testing a system model or a program by answering reachability questions for the system model or program by searching for safety violations that include non-linear dynamics by sampling in the state-space; and

using the processor, outputting test input vectors based upon optimized fitness objective values associated with the simulated inputs to test the system model or program stored in memory.

2. The method as recited in claim 1 , wherein globally optimizing includes sampling inputs to minimize a fitness objective value using a Hit-and-Run Monte-Carlo based sampling.

3. The method as recited in claim 1 , wherein the traces include partially symbolic traces and concrete traces.

4. The method as recited in claim 1 , wherein the reachability objectives are determined by a target selection module configured to output test input vectors for testing a program.

5. The method as recited in claim 1 , wherein the constraints are user-defined.

Assignments (3)
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE 8538896 AND ADD 8583896 PREVIOUSLY RECORDED ON REEL 031998 FRAME 0667. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded May 30, 2017
From: NEC LABORATORIES AMERICA, INC.
To: NEC CORPORATION
Reel/Frame 042754/0703 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 14, 2014
From: NEC LABORATORIES AMERICA, INC.
To: NEC CORPORATION
Reel/Frame 031998/0667 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 14, 2009
From: SANKARANARAYANAN, SRIRAM; IVANCIC, FRANJO; GUPTA, AARTI; NGHIEM, TRUONG
To: NEC LABORATORIES AMERICA, INC.
Reel/Frame 023370/0395 →