Presentation is loading. Please wait.

Presentation is loading. Please wait.

MoBIES meeting Deerfield Beach ETC Challenge Problem ETC Model Requirements Simulation results Parametric verification Results Towards a Checkmate model.

Similar presentations


Presentation on theme: "MoBIES meeting Deerfield Beach ETC Challenge Problem ETC Model Requirements Simulation results Parametric verification Results Towards a Checkmate model."— Presentation transcript:

1 MoBIES meeting Deerfield Beach ETC Challenge Problem ETC Model Requirements Simulation results Parametric verification Results Towards a Checkmate model OEP vs Checkmate model

2 MoBIES meeting Deerfield Beach ETC Hardware Components D.C. motor Return spring Throttle body & Plate Potentiometer (TPS)

3 MoBIES meeting Deerfield Beach ETC Hardware

4 MoBIES meeting Deerfield Beach Simulink/Stateflow DriverElectric Sys Mech. Sys Back EMF Sensors Controller Misc. Inputs Current Feedback Top Level Simulation

5 MoBIES meeting Deerfield Beach Hardware Model: Plant Input: throttle torque: ea 2 nd Order nonlinear System Coulomb friction adds non-linearity Coulomb FrictionReturn Spring Voltage Input Viscous Damping Output : throttle angle , back EMF Kt 

6 MoBIES meeting Deerfield Beach Hardware Parameters Parameters estimated from system step response and electrical measurements of motor Hardware Model: Actuator

7 MoBIES meeting Deerfield Beach Hardware Model: Actuator

8 MoBIES meeting Deerfield Beach input: Back emf , pwm switches between motor on (pwm=1) and off (pwm=0) on: off: output: motor current e a Hardware Model: Actuator

9 MoBIES meeting Deerfield Beach Hardware Parameters Parameters of the simulink model for the acuator R a 1.7 Ohm resistance of motor windings R c 1.5 Ohm resistance of RC filter R bat 0.5 Ohm internal resistance of battery L 1.5e-3 Henry motor winding inductance C 1.5e-3 Farad capacitance of RC filter

10 MoBIES meeting Deerfield Beach Pulse Width Modulation Time Delay introduced by PWM outputs 1 if dc>mc at begin of PWM cycle outputs 0 if dc  mc Input: motor current dc (=e a ), desired motor current mc dc>mc dc  mc pwm cycle pwm=1 pwm=0 (hypothetical input)

11 MoBIES meeting Deerfield Beach Hardware Model:Sensors (I)

12 MoBIES meeting Deerfield Beach A sliding mode controller tries to reach the desired throttle angle The Lyapunov function and sliding surface Human Control Mode

13 MoBIES meeting Deerfield Beach Reminder

14 MoBIES meeting Deerfield Beach A sliding mode controller which tries to reach the desired throttle angle. Human Control Mode

15 MoBIES meeting Deerfield Beach Outline How to get formal requirements? How to get a model suitable for verification? How does the verification model compare to the OEP model? First results More results

16 MoBIES meeting Deerfield Beach Performance Requirements 1.Rise time smaller than 100ms 2.Fall time smaller than 60ms 3.Settling time ( ±5%) smaller than 40ms 4.Steady state error smaller than 2% 5.Angle always in [0,90º] Problem: Transforming these requirements into formal specifications. Solution: (part of) Discussion with phase 2 participant c.q. UCB 1 to 4 only in human/cruise control mode

17 MoBIES meeting Deerfield Beach Performance Requirements Rise Time, defined as the time required to rise from 10% of fully open to 90% for the throttle plate angle response to a step change in pedal position of the steady state value. The rise time for step changes from closed to is 100ms. Settle Time is defined as the minimum time after which the throttle plate angle remains within +5% of steady-state value. ETC shall guarantee that the settle time is less than 40ms after the throttle plate angle reaches 90% of the steady-state value input , internal clock x A  <10 x’=0 B x<=100 x’=1 C x<=40 x’=1 D 95  105 x’=0 violate settle time x:=0  >=10 x>=100  <90  >=90 x:=0 x>=40  <95 x>=40  >=95  105 violate rise time  >=90 x:=0  G not(violate rise time)  G not(violate settle time)

18 MoBIES meeting Deerfield Beach The ETC model simplified The aim is to prove properties that deal with the angle  when the sliding-mode controller is used OEP model can be simplified Contains control logic for switching modes Models internal communication Contains place holders Contains implementation details with limited effect on 

19 MoBIES meeting Deerfield Beach The ETC model simplified Omitting the PWM How does this effect the behavior? Reducing chattering Removing delays (about 2 ms) Replaced a 5 th order filter by a 2 nd order filter Replacing numeric derivatives by exact ones

20 MoBIES meeting Deerfield Beach The ETC model simplified output of pwm/actuator output of gain and saturation block Omitting actuator and PWM

21 MoBIES meeting Deerfield Beach The ETC model simplified Reducing chattering in sliding mode sliding surface Behaves close to surface approximately as a given equivalent controller Introducing a boundary layer with  =0.05. Within this layer we apply the equivalent controller sliding surface

22 MoBIES meeting Deerfield Beach The ETC model simplified 1 1  -- Within the boundary layer with  =0.05 we apply the function s/  Reducing chattering in sliding mode OEP model uses a sign- function to represent the modes s s

23 MoBIES meeting Deerfield Beach The ETC model simplified Reducing chattering in sliding mode Removing communication delays (about 2ms) OEP model without chattering, delay and pwm alpha omega

24 MoBIES meeting Deerfield Beach A 5 th order filter is part of the controller If we reduce it to a 2 nd order filter we get slightly different behavior as before but with 2 nd order filter OEP model The ETC model simplified alpha omega

25 MoBIES meeting Deerfield Beach OEP vs Checkmate model checkmate model separates discrete part from continuous part switching in behavior triggered by hitting thresholds  sliding-mode controller and coulomb friction modeled by modes continuous behavior and controller modeled by the same switching continuous function

26 MoBIES meeting Deerfield Beach Checkmate model switched continuous system discrete input

27 MoBIES meeting Deerfield Beach Checkmate model Saturation of output current

28 MoBIES meeting Deerfield Beach Checkmate model Sliding mode switching and coulomb friction

29 MoBIES meeting Deerfield Beach Checkmate model Sliding mode switching and coulomb friction

30 MoBIES meeting Deerfield Beach Requirements

31 MoBIES meeting Deerfield Beach Requirements switching conditions timer angle

32 MoBIES meeting Deerfield Beach Requirements Some Requirements can be proven by simulation (e.g. Rise time)

33 MoBIES meeting Deerfield Beach Requirements Some Requirements can be proven by simulation (e.g. Rise time) Other can be proven not to hold, by simulation angle overshoot filtered input input

34 MoBIES meeting Deerfield Beach angle input filtered input Requirements Some Requirements can be proven by simulation (e.g. Rise time) Other can be proven not to hold, by simulation steady state tracking error

35 MoBIES meeting Deerfield Beach What can verification add, if simulation gives the answer, already? Verification allows to deal with uncertain initial conditions on the state. Parametric verification allows to deal with uncertain parameters For example: Does the rise time requirement hold if spring constant or coulomb friction range over an interval? Verification

36 MoBIES meeting Deerfield Beach Parametric Verification 1.Propagate vertices for each vertex of the parameter range

37 MoBIES meeting Deerfield Beach Parametric Verification 1.Propagate vertices for each vertex of the parameter range 2.Determine enclosing polyhedron

38 MoBIES meeting Deerfield Beach Parametric Verification 1.Propagate vertices for each vertex of the parameter range 2.Determine enclosing polyhedron 3.Enlarge polyhedron by optimization over the initial set, the time interval and the parameter range

39 MoBIES meeting Deerfield Beach Parametric Verification First experiments (multi-rate automata)

40 MoBIES meeting Deerfield Beach Parametric Verification First ETC results with Checkmate validation tool error trace angle below 95%


Download ppt "MoBIES meeting Deerfield Beach ETC Challenge Problem ETC Model Requirements Simulation results Parametric verification Results Towards a Checkmate model."

Similar presentations


Ads by Google