textual-notation-of-model/packages/features/driving/driver_assistance_operational_context.sysml

2 view(s) · 99 declared member(s) Jump to source ↓

view driverAssistanceOperationalContextViewsource ↓

ViewpointdriverAssistanceContextViewpoint (OperationalContextDefinitionViewpoint)
Framed concerns
  • driverAssistanceContextConcern own frame
RenderasTreeDiagram
Depth2
ExposesdriverAssistanceOperationalContext
driverAssistanceOperationalContext::*
driverAssistanceOperation
Sourcetextual-notation-of-model/packages/features/driving/driver_assistance_operational_context.sysml:371
diagram-driverAssistanceOperationalContextView.svg
«view» driverAssistanceOperationalContextView expose driverAssistanceOperationalContext expose driverAssistanceOperationalContext::* expose driverAssistanceOperation «part» driverAssistanceOperationalContext : SystemContext «doc» The operational context of the candidate driver-assistance system. Inside the system of interest, as phase 0 draws it: perception of the lane and of the closest object in the path, speed and steering planning, and the warning and braking decision; it stays a black box until the architecture phases. Around it: the vehicle whose front camera and speed feed it and whose actuation moves it, the road environment, the vehicle targets, the Eclipse S-CORE path, the AAOS SDV with the warning presentation, and the driver who gets the warning. The S-CORE path and the AAOS SDV are System 1 parts outside the candidate; the path between them is an internal exchange of the realization that phases 6 to 8 decide. System 1 roles only: CARLA, the cloud hosts, the scenario runner, the evaluators, the capture of the display and of the sound, and the recordings stay in driverAssistanceVerificationEnvironment. This is the operational environment, not a deployment decomposition. «part» candidateSystem : DriverAssistanceSystem :>> systemOfInterest «part» vehicle : SubjectVehicle «part» roadEnvironment : RoadEnvironment «part» stationaryVehicleTarget : VehicleTarget «part» movingVehicleTarget : VehicleTarget «part» scorePath : SCORECommandAndWarningPath «part» aaosSDVGuest : AAOSSDVGuestExecutionDomain parts warningPresentation : DriverWarningPresentation «part» driver : Driver «part» ^systemOfInterest «part» ^actors «action» driverAssistanceOperation : DriverAssistanceOperation actions ^senseScene ^assistDriving ^carryOverSCORE ^actuateVehicle ^presentWarning ^receiveWarning

Hover a model element for details open raw SVG.

view driverAssistanceOperationalStoryViewsource ↓

ViewpointdriverAssistanceStoryViewpoint (OperationalStoryViewpoint)
Framed concerns
  • driverAssistanceStoryConcern own frame
  • vehicleTargetResponseConcern own frame
RenderasTreeDiagram
Depth1
ExposesdriverAssistanceStory
driverAssistanceStory::*
Sourcetextual-notation-of-model/packages/features/driving/driver_assistance_operational_context.sysml:397
diagram-driverAssistanceOperationalStoryView.svg
«view» driverAssistanceOperationalStoryView expose driverAssistanceStory expose driverAssistanceStory::* «use case» driverAssistanceStory : AssistDriverForVehicleTargetAhead attributes ^ucMotivation redefines ucMotivation = "Vehicle occupants and road users need the vehicle to warn its driver and to brake when a collision with a vehicle ahead in its lane is imminent, and to do neither when it is not." ^ucTrigger redefines ucTrigger = "The vehicle drives with the candidate active, and its front camera and speed deliver input while a vehicle target is ahead in its lane or in view outside its path." ^ucResult redefines ucResult = "For a vehicle target ahead in the lane, the warning request leads to the collision warning on the display and as a sound, and the driving command brakes the vehicle; where no collision is imminent, neither a warning nor braking is given." subject candidateSystem : DriverAssistanceSystem = driverAssistanceOperationalContext::candidateSystem objective doc Operate the candidate without selecting perception, transport or display technology, and without any safety, on-road, compliance or production-readiness claim. actors vehicle : SubjectVehicle = driverAssistanceOperationalContext::vehicle roadEnvironment : RoadEnvironment = driverAssistanceOperationalContext::roadEnvironment stationaryVehicleTarget : VehicleTarget = driverAssistanceOperationalContext::stationaryVehicleTarget movingVehicleTarget : VehicleTarget = driverAssistanceOperationalContext::movingVehicleTarget scorePath : SCORECommandAndWarningPath = driverAssistanceOperationalContext::scorePath warningPresentation : DriverWarningPresentation = driverAssistanceOperationalContext::aaosSDVGuest::warningPresentation driver : Driver = driverAssistanceOperationalContext::driver include use cases warnAndBrakeForStationaryVehicle ::> warnAndBrakeForStationaryVehicle warnAndBrakeForSlowerVehicle ::> warnAndBrakeForSlowerVehicle noReactionToStationaryVehicleBeyondTheCurve ::> noReactionToStationaryVehicleBeyondTheCurve noReactionToVehicleAheadTurningOff ::> noReactionToVehicleAheadTurningOff

Hover a model element for details open raw SVG.

Source

1/*2 * DE4SDV camera-only driver assistance: Phase 2 operational context.3 *4 * INC-DRIVING-002, phase 2: what happens in the world of the candidate5 * driver-assistance system. The vehicle's front camera and its speed feed it;6 * its driving command and its warning request leave it. The Eclipse S-CORE7 * path carries them to the actuation and to the AAOS SDV, and the AAOS SDV8 * gives the driver the collision warning on its display and as a sound. Both9 * are System 1 parts outside the candidate, as phase 0 draws the boundary;10 * phases 6 to 8 decide their realization. CARLA, the cloud hosts, the11 * scenario runner, the evaluators, the capture of the display and of the12 * sound, and the recordings are System 2 and stay out of this context. No13 * safety, on-road, compliance or production-readiness claim is made.14 */1516package DE4SDV_DriverAssistanceOperationalContext {17  private import DE4SDV_MethodContext::*;18  private import DE4SDV_OperationalContext::*;19  private import DE4SDV_Stakeholders::*;20  private import DE4SDV_SYSMODAdapter::*;21  private import DE4SDV_DriverAssistanceFraming::*;22  private import DE4SDV_MiddlewareSCOREOperationalContext::AAOSSDVGuestExecutionDomain;23  private import SAF_Viewpoints::*;24  private import Views::*;2526  /* ───────────────────── Phase 2: what happens in the world ───────────────────── */2728  item def FrontCameraImage {29    doc /* The image of the vehicle's front camera with its capture time: the scene the candidate perceives the lane and the objects in the path from. */30  }3132  item def VehicleSpeed {33    doc /* The speed of the vehicle with its sample time. */34  }3536  item def DrivingCommand {37    doc /* The steering and acceleration command of the candidate, braking included, for the vehicle's actuation. */38  }3940  item def WarningRequest {41    doc /*42     * The candidate's request that the driver be warned of an imminent43     * collision, with its time. At the inspected revision the candidate has44     * no such output at its boundary (gapWarningOutput).45     */46  }4748  item def CollisionWarning {49    doc /* The collision warning the driver gets in two modes: on the display and as a sound. */50  }5152  part def SCORECommandAndWarningPath :> OperationalEntity {53    doc /*54     * The Eclipse S-CORE path of the vehicle: it carries the candidate's55     * driving command to the actuation and its warning request to the AAOS56     * SDV, with no exchange beside it. A System 1 part outside the candidate57     * and no enabling system. Phases 6 to 8 decide its realization58     * (gapScoreIntegration). The S-CORE integration layer of INC-MW-011 is that59     * increment's system of interest and holds the Autoware adapter, so it is60     * not reused as this role.61     */62  }6364  part def DriverWarningPresentation :> OperationalEntity {65    doc /*66     * What in the AAOS SDV gives the driver the collision warning on the67     * display and as a sound when the warning request arrives. It sends68     * nothing to the candidate. It is not the informational visualization of69     * the AEBS visualization increment (gapDriverHmiInProductLine).70     */71  }7273  part driverAssistanceOperationalContext : SystemContext {74    doc /*75     * The operational context of the candidate driver-assistance system.76     * Inside the system of interest, as phase 0 draws it: perception of the77     * lane and of the closest object in the path, speed and steering78     * planning, and the warning and braking decision; it stays a black box79     * until the architecture phases. Around it: the vehicle whose front camera80     * and speed feed it and whose actuation moves it, the road environment,81     * the vehicle targets, the Eclipse S-CORE path, the AAOS SDV with the82     * warning presentation, and the driver who gets the warning. The S-CORE83     * path and the AAOS SDV are System 1 parts outside the candidate; the path84     * between them is an internal exchange of the realization that phases 6 to85     * 8 decide. System 1 roles only: CARLA, the cloud hosts, the scenario86     * runner, the evaluators, the capture of the display and of the sound,87     * and the recordings stay in driverAssistanceVerificationEnvironment.88     * This is the operational environment, not a deployment decomposition.89     */90    part candidateSystem : DriverAssistanceSystem :>> systemOfInterest;91    part vehicle : SubjectVehicle {92      doc /* The vehicle the candidate assists: its front camera and speed give the input, its steering, acceleration and brakes take the driving command. */93    }94    part roadEnvironment : RoadEnvironment {95      doc /* The road and the lanes of the scenario: what the front camera sees and where the vehicle drives. */96    }97    part stationaryVehicleTarget : VehicleTarget {98      doc /* A vehicle that stands still: ahead in the vehicle's lane, or just outside the guard pipes of a curve. */99    }100    part movingVehicleTarget : VehicleTarget {101      doc /* A vehicle that drives ahead in the vehicle's lane: slower than the vehicle, or turning off at a corner. */102    }103    part scorePath : SCORECommandAndWarningPath {104      doc /* The Eclipse S-CORE path that carries the driving command to the actuation and the warning request to the AAOS SDV. */105    }106    part aaosSDVGuest : AAOSSDVGuestExecutionDomain {107      doc /* The AAOS SDV of the existing S-CORE and AAOS SDV integration, which gives the driver the collision warning; phases 6 to 8 decide its realization. */108      part warningPresentation : DriverWarningPresentation;109    }110    part driver : Driver {111      doc /* The driver who gets the collision warning on the display and as a sound. Driver monitoring, override and deactivation are out of scope. */112    }113  }114115  /* Operational behavior: the candidate's items cross its boundary; the driver only receives. */116  action def DriverAssistanceOperation {117    doc /*118     * One cycle in the world: the vehicle captures the front-camera image and119     * its speed, the candidate decides, its driving command reaches the120     * actuation and its warning request reaches the AAOS SDV through the121     * S-CORE path, and the AAOS SDV warns the driver.122     */123    action senseScene {124      doc /* The vehicle: its front camera captures the road environment and the targets, and it samples its speed. */125      out frontCameraImage : FrontCameraImage;126      out vehicleSpeed : VehicleSpeed;127    }128129    action assistDriving {130      doc /* The candidate: perceives the lane and the closest object in the path, plans speed and steering, and decides on the warning and the braking. */131      in frontCameraImage : FrontCameraImage;132      in vehicleSpeed : VehicleSpeed;133      out drivingCommand : DrivingCommand;134      out warningRequest : WarningRequest;135    }136137    flow from senseScene.frontCameraImage to assistDriving.frontCameraImage;138    flow from senseScene.vehicleSpeed to assistDriving.vehicleSpeed;139    first senseScene then assistDriving;140141    action carryOverSCORE {142      doc /* The S-CORE path: carries the driving command and the warning request, with no exchange beside it. */143      in drivingCommand : DrivingCommand;144      in warningRequest : WarningRequest;145      out carriedCommand : DrivingCommand;146      out carriedWarningRequest : WarningRequest;147    }148149    flow from assistDriving.drivingCommand to carryOverSCORE.drivingCommand;150    flow from assistDriving.warningRequest to carryOverSCORE.warningRequest;151    first assistDriving then carryOverSCORE;152153    action actuateVehicle {154      doc /* The vehicle: steering, acceleration and brakes move it, which changes what its front camera sees next. */155      in drivingCommand : DrivingCommand;156    }157158    flow from carryOverSCORE.carriedCommand to actuateVehicle.drivingCommand;159160    action presentWarning {161      doc /* The AAOS SDV: gives the collision warning on its display and as a sound. */162      in warningRequest : WarningRequest;163      out collisionWarning : CollisionWarning;164    }165166    flow from carryOverSCORE.carriedWarningRequest to presentWarning.warningRequest;167168    action receiveWarning {169      doc /* The driver: gets the warning; nothing flows back to the candidate. */170      in collisionWarning : CollisionWarning;171    }172173    flow from presentWarning.collisionWarning to receiveWarning.collisionWarning;174  }175176  action driverAssistanceOperation : DriverAssistanceOperation;177178  /* Operational story on the SYSMOD seam. */179  use case def AssistDriverForVehicleTargetAhead :> SYSMODSystemUseCaseBase {180    doc /* The candidate in operation: it warns and brakes for a vehicle target ahead in its lane, and does neither when no collision is imminent. */181    attribute redefines ucMotivation = "Vehicle occupants and road users need the vehicle to warn its driver and to brake when a collision with a vehicle ahead in its lane is imminent, and to do neither when it is not.";182    attribute redefines ucTrigger = "The vehicle drives with the candidate active, and its front camera and speed deliver input while a vehicle target is ahead in its lane or in view outside its path.";183    attribute redefines ucResult = "For a vehicle target ahead in the lane, the warning request leads to the collision warning on the display and as a sound, and the driving command brakes the vehicle; where no collision is imminent, neither a warning nor braking is given.";184185    objective {186      doc /*187       * Frame the warning and the braking for a vehicle target, and the false188       * reaction, only. The criteria, the time of the warning before the189       * braking and the parameters of each scenario are fixed with the190       * requirements (phase 5).191       */192    }193  }194195  use case driverAssistanceStory : AssistDriverForVehicleTargetAhead {196    subject candidateSystem : DriverAssistanceSystem = driverAssistanceOperationalContext::candidateSystem;197    actor vehicle : SubjectVehicle = driverAssistanceOperationalContext::vehicle;198    actor roadEnvironment : RoadEnvironment = driverAssistanceOperationalContext::roadEnvironment;199    actor stationaryVehicleTarget : VehicleTarget = driverAssistanceOperationalContext::stationaryVehicleTarget;200    actor movingVehicleTarget : VehicleTarget = driverAssistanceOperationalContext::movingVehicleTarget;201    actor scorePath : SCORECommandAndWarningPath = driverAssistanceOperationalContext::scorePath;202    actor warningPresentation : DriverWarningPresentation = driverAssistanceOperationalContext::aaosSDVGuest::warningPresentation;203    actor driver : Driver = driverAssistanceOperationalContext::driver;204205    objective {206      doc /*207       * Operate the candidate without selecting perception, transport or208       * display technology, and without any safety, on-road, compliance or209       * production-readiness claim.210       */211    }212213    first start;214    then include warnAndBrakeForStationaryVehicle;215    then include warnAndBrakeForSlowerVehicle;216    then include noReactionToStationaryVehicleBeyondTheCurve;217    then include noReactionToVehicleAheadTurningOff;218    then done;219  }220221  use case warnAndBrakeForStationaryVehicle {222    subject candidateSystem : DriverAssistanceSystem = driverAssistanceOperationalContext::candidateSystem;223    actor vehicle : SubjectVehicle = driverAssistanceOperationalContext::vehicle;224    actor stationaryVehicleTarget : VehicleTarget = driverAssistanceOperationalContext::stationaryVehicleTarget;225    actor scorePath : SCORECommandAndWarningPath = driverAssistanceOperationalContext::scorePath;226    actor warningPresentation : DriverWarningPresentation = driverAssistanceOperationalContext::aaosSDVGuest::warningPresentation;227    actor driver : Driver = driverAssistanceOperationalContext::driver;228229    objective {230      doc /*231       * SC-DRIVING-012 (stationary vehicle target ahead): the vehicle232       * approaches a stationary vehicle target ahead in its lane; the233       * candidate requests the warning, the AAOS SDV warns the driver on the234       * display and as a sound, and the candidate's driving command brakes235       * the vehicle. The scenario is set on a highway-type road with clearly236       * marked lanes, in fair weather and away from roadwork: inside the237       * conditions that the candidate's documentation declares238       * (gapDeclaredOperatingConditions).239       */240    }241242    first start;243    then done;244  }245246  use case warnAndBrakeForSlowerVehicle {247    subject candidateSystem : DriverAssistanceSystem = driverAssistanceOperationalContext::candidateSystem;248    actor vehicle : SubjectVehicle = driverAssistanceOperationalContext::vehicle;249    actor movingVehicleTarget : VehicleTarget = driverAssistanceOperationalContext::movingVehicleTarget;250    actor scorePath : SCORECommandAndWarningPath = driverAssistanceOperationalContext::scorePath;251    actor warningPresentation : DriverWarningPresentation = driverAssistanceOperationalContext::aaosSDVGuest::warningPresentation;252    actor driver : Driver = driverAssistanceOperationalContext::driver;253254    objective {255      doc /*256       * SC-DRIVING-013 (slower moving vehicle target ahead): the vehicle257       * approaches a slower moving vehicle target ahead in its lane; the258       * candidate requests the warning, the AAOS SDV warns the driver on the259       * display and as a sound, and the candidate's driving command brakes260       * the vehicle. The scenario is set on a highway-type road with clearly261       * marked lanes, in fair weather and away from roadwork: inside the262       * conditions that the candidate's documentation declares263       * (gapDeclaredOperatingConditions).264       */265    }266267    first start;268    then done;269  }270271  use case noReactionToStationaryVehicleBeyondTheCurve {272    subject candidateSystem : DriverAssistanceSystem = driverAssistanceOperationalContext::candidateSystem;273    actor vehicle : SubjectVehicle = driverAssistanceOperationalContext::vehicle;274    actor roadEnvironment : RoadEnvironment = driverAssistanceOperationalContext::roadEnvironment;275    actor stationaryVehicleTarget : VehicleTarget = driverAssistanceOperationalContext::stationaryVehicleTarget;276    actor scorePath : SCORECommandAndWarningPath = driverAssistanceOperationalContext::scorePath;277278    objective {279      doc /*280       * SC-DRIVING-014 (no reaction, stationary vehicle beyond a curve): the281       * vehicle drives through a tight curve with guard pipes on its outer282       * side, and a stationary vehicle stands just outside the guard pipes, on283       * the extension of the centre of the lane: ahead of the vehicle before284       * the curve turns it away, never in its path. The candidate requests no285       * warning and commands no emergency braking. The regulation's286       * false-reaction scenarios include this situation, as a curved road with287       * guard pipes and a stationary object. Phase 2 proposes it; phase 5288       * confirms the selection and states the criterion289       * (gapVehicleTargetCriteria). A tight curve with guard pipes is no290       * highway situation: the scenario lies outside the conditions that the291       * candidate's documentation declares, and phase 10 reports its runs292       * apart (gapDeclaredOperatingConditions).293       */294    }295296    first start;297    then done;298  }299300  use case noReactionToVehicleAheadTurningOff {301    subject candidateSystem : DriverAssistanceSystem = driverAssistanceOperationalContext::candidateSystem;302    actor vehicle : SubjectVehicle = driverAssistanceOperationalContext::vehicle;303    actor roadEnvironment : RoadEnvironment = driverAssistanceOperationalContext::roadEnvironment;304    actor movingVehicleTarget : VehicleTarget = driverAssistanceOperationalContext::movingVehicleTarget;305    actor scorePath : SCORECommandAndWarningPath = driverAssistanceOperationalContext::scorePath;306307    objective {308      doc /*309       * SC-DRIVING-015 (no reaction, vehicle ahead turning off): the vehicle310       * follows a vehicle ahead in its lane that slows down and turns off at a311       * corner, while the vehicle goes straight on; no collision becomes312       * imminent. The candidate requests no warning and commands no emergency313       * braking. The regulation's false-reaction scenarios include this314       * situation, as a right or left turn of a forward vehicle. Phase 2315       * proposes it; phase 5 confirms the selection and states the criterion316       * (gapVehicleTargetCriteria). A turn at a corner is no highway317       * situation: the scenario lies outside the conditions that the318       * candidate's documentation declares, and phase 10 reports its runs319       * apart (gapDeclaredOperatingConditions).320       */321    }322323    first start;324    then done;325  }326327  /* Traces to the Phase 0 records this context implements. */328  dependency driverAssistanceStoryAnswersProblem329    from driverAssistanceStory330    to DE4SDV_DriverAssistanceFraming::driverAssistanceProblem;331  dependency scorePathOnBenchReuse332    from driverAssistanceOperationalContext::scorePath333    to DE4SDV_DriverAssistanceFraming::asmBenchReuse;334  dependency aaosSDVGuestOnBenchReuse335    from driverAssistanceOperationalContext::aaosSDVGuest336    to DE4SDV_DriverAssistanceFraming::asmBenchReuse;337  dependency scorePathOnScoreIntegrationGap338    from SCORECommandAndWarningPath339    to DE4SDV_DriverAssistanceFraming::gapScoreIntegration;340  dependency warningPresentationOnDriverHmiGap341    from DriverWarningPresentation342    to DE4SDV_DriverAssistanceFraming::gapDriverHmiInProductLine;343  dependency warningRequestOnWarningOutputGap344    from WarningRequest345    to DE4SDV_DriverAssistanceFraming::gapWarningOutput;346  dependency noReactionScenariosOnCriteriaGap347    from driverAssistanceStory348    to DE4SDV_DriverAssistanceFraming::gapVehicleTargetCriteria;349  dependency curveScenarioOutsideDeclaredConditions350    from noReactionToStationaryVehicleBeyondTheCurve351    to DE4SDV_DriverAssistanceFraming::gapDeclaredOperatingConditions;352  dependency turnScenarioOutsideDeclaredConditions353    from noReactionToVehicleAheadTurningOff354    to DE4SDV_DriverAssistanceFraming::gapDeclaredOperatingConditions;355356  concern driverAssistanceContextConcern : OperationalContextConcern {357    doc /*358     * System architects, systems engineers and open-source reviewers need to359     * see what is inside the candidate and what is around it: the vehicle,360     * the road environment, the vehicle targets, the Eclipse S-CORE path, the361     * AAOS SDV and the driver, and which items cross the boundary in which362     * direction. The S-CORE path and the AAOS SDV are outside the candidate;363     * the driver only receives.364     */365    subject;366    stakeholder systemArchitect : SystemArchitect;367    stakeholder systemsEngineer : SystemsEngineer;368    stakeholder reviewer : OpenSourceReviewer;369  }370371  view driverAssistanceOperationalContextView {372    viewpoint driverAssistanceContextViewpoint : OperationalContextDefinitionViewpoint {373      frame driverAssistanceContextConcern;374    }375376    expose driverAssistanceOperationalContext;377    expose driverAssistanceOperationalContext::*;378    expose driverAssistanceOperation;379    attribute depth = 2;380    attribute showAnnotationRows = false;381    render asTreeDiagram;382  }383384  concern driverAssistanceStoryConcern : OperationalStoryConcern {385    doc /*386     * Systems engineers, verification engineers and open-source reviewers387     * need the candidate told in stakeholder language: the warning and the388     * braking for a stationary and for a slower moving vehicle target ahead,389     * and no reaction where none is due.390     */391    subject;392    stakeholder systemsEngineer : SystemsEngineer;393    stakeholder verificationEngineer : VerificationEngineer;394    stakeholder reviewer : OpenSourceReviewer;395  }396397  view driverAssistanceOperationalStoryView {398    viewpoint driverAssistanceStoryViewpoint : OperationalStoryViewpoint {399      frame driverAssistanceStoryConcern;400      frame vehicleTargetResponseConcern;401    }402403    expose driverAssistanceStory;404    expose driverAssistanceStory::*;405    attribute depth = 1;406    attribute showAnnotationRows = false;407    render asTreeDiagram;408  }409}410