textual-notation-of-model/packages/features/aebs/aebs_evidence.sysml
1 view(s) · 127 declared member(s) Jump to source ↓
view aebsNominalEvidenceAssuranceViewsource ↓
| Viewpoint | selected (Argumentation |
|---|---|
| Framed concerns |
|
| Render | as |
| Exposes | DE4 |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
Source
1/*2 * DE4SDV INC-AEBS-009B nominal moving-vehicle-target evidence slice.3 *4 * This model records the bounded verification composition and evidence obligations5 * exercised by the executable bench. Its native verification case verifies only6 * the measurable System 2 evidence contracts defined here. Relevance links to7 * draft System 1 product-requirement candidates are neither verification nor8 * satisfaction claims. The model does not claim complete conceptual realization,9 * physical brake performance, regulatory compliance, certification,10 * homologation, or type approval.11 */1213package DE4SDV_AEBSNominalEvidence {14 private import VerificationCases::*;15 private import VerificationMethodKind::*;16 private import DE4SDV_MethodContext::EvidenceContract;17 private import DE4SDV_AEBSNeedsRequirements::Features::AEBS::NeedsRequirements::*;18 private import SAF_Viewpoints::*;19 private import DE4SDV_Stakeholders::*;20 private import Views::*;212223 item def CoordinatorRiskTelemetry;24 item def NativeInterventionDiagnostic;25 item def DriverOverrideSample;26 item def DriverWarningRequest;27 item def EmergencyBrakingRequest {28 doc /*29 * Direct nominal-path AEBS braking demand. This contract is distinct from30 * EmergencyInterventionRequest and MinimumRiskManoeuvreRequest. No MRM31 * request is produced or selected by the bounded 009B composition.32 */33 }34 item def EgoMotionObservation;35 item def NominalGateCommand;36 item def MapPosePair;37 item def BrakingLifecycleState;38 item def NominalObservationSet;39 item def NominalEvaluation;4041 port def RiskTelemetryOutput {42 out item riskTelemetry : CoordinatorRiskTelemetry;43 }44 port def RiskTelemetryInput {45 in item riskTelemetry : CoordinatorRiskTelemetry;46 }47 port def InterventionDiagnosticOutput {48 out item interventionDiagnostic : NativeInterventionDiagnostic;49 }50 port def InterventionDiagnosticInput {51 in item interventionDiagnostic : NativeInterventionDiagnostic;52 }53 port def OverrideSampleInput {54 in item overrideSample : DriverOverrideSample;55 }56 port def WarningRequestOutput {57 out item warningRequest : DriverWarningRequest;58 }59 port def WarningRequestInput {60 in item warningRequest : DriverWarningRequest;61 }62 port def BrakingRequestOutput {63 out item brakingRequest : EmergencyBrakingRequest;64 }65 port def BrakingRequestInput {66 in item brakingRequest : EmergencyBrakingRequest;67 }68 port def EgoMotionInput {69 in item egoMotion : EgoMotionObservation;70 }71 port def EgoMotionOutput {72 out item egoMotion : EgoMotionObservation;73 }74 port def GateCommandOutput {75 out item gateCommand : NominalGateCommand;76 }77 port def GateCommandInput {78 in item gateCommand : NominalGateCommand;79 }80 port def MapPosePairOutput {81 out item mapPosePair : MapPosePair;82 }83 port def MapPosePairInput {84 in item mapPosePair : MapPosePair;85 }86 port def LifecycleStateOutput {87 out item lifecycleState : BrakingLifecycleState;88 }89 port def LifecycleStateInput {90 in item lifecycleState : BrakingLifecycleState;91 }9293 part def NativeAutowareAEBRole {94 doc /*95 * Uses the pinned Autoware AEB implementation for target processing, RSS96 * collision assessment, and the exact intervention diagnostic tuple only.97 */98 port riskTelemetryOut : RiskTelemetryOutput;99 port interventionDiagnosticOut : InterventionDiagnosticOutput;100 }101102 part def NominalAEBSCoordinatorRole {103 doc /*104 * Bounded integration role. It derives warning requests from native RSS105 * telemetry, requires a fresh source-stamped false override sample,106 * recognizes only the exact native intervention tuple, emits the direct107 * nominal-path braking request, and releases after continuously fresh held108 * stop evidence. This is not the complete conceptual intervention-decision or109 * emergency-intervention-coordination responsibility.110 */111 port riskTelemetryIn : RiskTelemetryInput;112 port interventionDiagnosticIn : InterventionDiagnosticInput;113 port overrideSampleIn : OverrideSampleInput;114 port egoMotionIn : EgoMotionInput;115 port warningRequestOut : WarningRequestOutput;116 port brakingRequestOut : BrakingRequestOutput;117 port lifecycleStateOut : LifecycleStateOutput;118 }119120 part def NominalVehicleCommandGateRole {121 doc /*122 * Receives the coordinator-owned nominal control command with emergency123 * handling disabled. The bounded composition does not select an MRM path.124 */125 port brakingRequestIn : BrakingRequestInput;126 port gateCommandOut : GateCommandOutput;127 }128129 part def IndependentScenarioEvidenceObserverRole {130 doc /*131 * Preserves collector-monotonic observations, source stamps, runtime graph132 * identity, and map poses. Replay checks the exact intervention tuple,133 * override freshness, sole nominal publisher, no MRM publishers, continuously134 * fresh stop evidence, and oriented footprint separation for the retained run.135 */136 port warningRequestIn : WarningRequestInput;137 port interventionDiagnosticIn : InterventionDiagnosticInput;138 port overrideSampleIn : OverrideSampleInput;139 port brakingRequestIn : BrakingRequestInput;140 port egoMotionIn : EgoMotionInput;141 port gateCommandIn : GateCommandInput;142 port mapPosePairIn : MapPosePairInput;143 port lifecycleStateIn : LifecycleStateInput;144 }145146 part def NominalMovingVehicleTargetBench {147 port overrideSampleIn : OverrideSampleInput;148 port egoMotionIn : EgoMotionInput;149 port mapPosePairIn : MapPosePairInput;150151 part nativeAEB : NativeAutowareAEBRole;152 part coordinator : NominalAEBSCoordinatorRole;153 part nominalGate : NominalVehicleCommandGateRole;154 part evidenceObserver : IndependentScenarioEvidenceObserverRole;155156 bind overrideSampleIn = coordinator.overrideSampleIn;157 bind overrideSampleIn = evidenceObserver.overrideSampleIn;158 bind egoMotionIn = coordinator.egoMotionIn;159 bind egoMotionIn = evidenceObserver.egoMotionIn;160 bind mapPosePairIn = evidenceObserver.mapPosePairIn;161162 flow from nativeAEB.riskTelemetryOut.riskTelemetry163 to coordinator.riskTelemetryIn.riskTelemetry;164 flow from nativeAEB.interventionDiagnosticOut.interventionDiagnostic165 to coordinator.interventionDiagnosticIn.interventionDiagnostic;166 flow from nativeAEB.interventionDiagnosticOut.interventionDiagnostic167 to evidenceObserver.interventionDiagnosticIn.interventionDiagnostic;168 flow from coordinator.warningRequestOut.warningRequest169 to evidenceObserver.warningRequestIn.warningRequest;170 flow from coordinator.brakingRequestOut.brakingRequest171 to nominalGate.brakingRequestIn.brakingRequest;172 flow from coordinator.brakingRequestOut.brakingRequest173 to evidenceObserver.brakingRequestIn.brakingRequest;174 flow from coordinator.lifecycleStateOut.lifecycleState175 to evidenceObserver.lifecycleStateIn.lifecycleState;176 flow from nominalGate.gateCommandOut.gateCommand177 to evidenceObserver.gateCommandIn.gateCommand;178179 exhibit state brakingLifecycle {180 doc /*181 * armed enters brakingLatched only after the exact native diagnostic and a182 * fresh false override evaluation. brakingLatched enters183 * releasedAfterVerifiedStop only after speed <= 0.1 m/s is continuously184 * observed with gaps <= 0.2 s for >= 0.5 s. The release state is absorbing185 * for this one-shot scenario and does not depend on diagnostic clearing.186 */187 state armed;188 state brakingLatched;189 state releasedAfterVerifiedStop;190 }191 }192193 requirement def NominalEvidenceContractRequirement :> EvidenceContract;194195 requirement evidenceContractWarningLead : NominalEvidenceContractRequirement {196 doc /* EC-AEBS-009B-01; System 2 evidence contract; method: retained evaluator replay. */197 subject bench : NominalMovingVehicleTargetBench;198 require constraint {199 doc /* The replayed collector-monotonic warning request shall precede the exact native intervention diagnostic by at least 0.8 s. */200 }201 }202203 requirement evidenceContractFreshOverrideClear : NominalEvidenceContractRequirement {204 doc /* EC-AEBS-009B-02; System 2 evidence contract; method: source-stamp and receipt-freshness analysis. */205 subject bench : NominalMovingVehicleTargetBench;206 require constraint {207 doc /* Nominal 009B intervention evidence shall include a source-stamped false override sample that remains within the 0.2 s freshness bound at intervention. Conscious true override behavior is deferred to INC-AEBS-009D. */208 }209 }210211 requirement evidenceContractNominalBrakingPath : NominalEvidenceContractRequirement {212 doc /* EC-AEBS-009B-03; System 2 evidence contract; method: runtime-graph and command replay. */213 subject bench : NominalMovingVehicleTargetBench;214 require constraint {215 doc /* Runtime graph evidence shall periodically sample the coordinator as the sole nominal gate-input publisher and no MRM publishers from the accepted pre-intervention topology snapshot through verified-stop release, reject any contradictory sample, and reject any sampling gap above 1.0 s; the observed direct EmergencyBrakingRequest shall follow the paired exact native intervention diagnostic. */216 }217 }218219 requirement evidenceContractVerifiedStopRelease : NominalEvidenceContractRequirement {220 doc /* EC-AEBS-009B-04; System 2 evidence contract; method: source-stamped odometry and lifecycle replay. */221 subject bench : NominalMovingVehicleTargetBench;222 require constraint {223 doc /* Braking shall remain latched until each ego-odometry source stamp is replayed against a collector stamp from the same ROS clock and remains within 0.2 s, speed stays at or below 0.1 m/s for at least 0.5 s, and no receipt gap exceeds 0.2 s; release shall be absorbing for the one-shot scenario and independent of diagnostic retention. */224 }225 }226227 requirement evidenceContractIndependentNoncollision : NominalEvidenceContractRequirement {228 doc /* EC-AEBS-009B-05; System 2 evidence contract; method: retained map-pose oriented-footprint analysis. */229 subject bench : NominalMovingVehicleTargetBench;230 require constraint {231 doc /* For the retained run, replay shall compute the oriented footprint relation from preserved map poses, reject overlap or touching, require positive then opening separation, and require a fresh footprint relation covering release. */232 }233 }234235 part bench : NominalMovingVehicleTargetBench;236237 verification def NominalMovingVehicleTargetVerification {238 doc /*239 * Defines execution of the pinned Autoware software in a simulated moving-target240 * environment, collects observations independently, replays the evidence241 * contract, and returns a native verification verdict. The execution is a242 * combined test-and-analysis verification method; it is not product243 * validation, regulatory compliance evidence, or type-approval evidence.244 */245 subject verifiedBench : NominalMovingVehicleTargetBench;246247 objective nominalEvidenceObjective {248 verify evidenceContractWarningLead;249 verify evidenceContractFreshOverrideClear;250 verify evidenceContractNominalBrakingPath;251 verify evidenceContractVerifiedStopRelease;252 verify evidenceContractIndependentNoncollision;253 }254255 action collectData {256 @VerificationMethod{ kind = test; }257 doc /* The independent scenario observer collects typed runtime observations and provenance from the configured bench. */258 out item retainedObservations : NominalObservationSet;259 }260261 action processData {262 @VerificationMethod{ kind = analyze; }263 doc /* The repository validator reconstructs typed observations and independently replays the evaluator against the controlled scenario contract. */264 in item retainedObservations : NominalObservationSet = collectData.retainedObservations;265 out item replayedEvaluation : NominalEvaluation;266 }267268 action evaluateData {269 @VerificationMethod{ kind = analyze; }270 doc /* The replayed outcome and evidence-contract results are mapped to the verification verdict without treating a stored success label as evidence. */271 in item replayedEvaluation : NominalEvaluation = processData.replayedEvaluation;272 out verdict : VerdictKind;273 }274275 return verdict : VerdictKind = evaluateData.verdict;276 }277278 verification nominalMovingVehicleTargetVerification279 : NominalMovingVehicleTargetVerification {280 @VerificationMethod{ kind = (test, analyze); }281 subject verifiedBench :> bench;282 }283284 part nominalVerificationSystem {285 perform nominalMovingVehicleTargetVerification;286 }287288 /*289 * These dependencies record relevance to draft System 1 product-requirement290 * candidates only. They are neither verify nor satisfy relationships. The291 * product candidates remain too broad to claim complete verification from292 * this one bounded simulated scenario.293 */294 dependency warningEvidenceRelevantToWarningCandidate295 from evidenceContractWarningLead to reqProvideCollisionWarning;296 dependency overrideClearRelevantToBrakingCandidate297 from evidenceContractFreshOverrideClear to reqCommandEmergencyBraking;298 dependency overrideClearRelevantToOverrideCandidate299 from evidenceContractFreshOverrideClear to reqAllowDriverOverride;300 dependency brakingPathRelevantToBrakingCandidate301 from evidenceContractNominalBrakingPath to reqCommandEmergencyBraking;302303 concern physicalStructureConcern : PhysicalStructureConcern {304 subject;305 stakeholder systemsEngineer : SystemsEngineer;306 stakeholder reviewer : OpenSourceReviewer;307 }308309 concern argumentationAssuranceConcern : ArgumentationAssuranceConcern {310 doc /* Evidence-based assurance claims and their supporting argumentation. */311 }312313 view aebsNominalEvidenceAssuranceView {314 viewpoint selectedArgumentationAssuranceViewpoint : ArgumentationAssuranceViewpoint {315 frame argumentationAssuranceConcern;316 }317318 expose DE4SDV_AEBSNominalEvidence::*;319 render asTreeDiagram;320 }321}322