Software Design: RTSAD for Cruise Control

Similar documents
CRUISE CONTROL SYSTEM

Cruise control. Introduction WARNING. Indicator lights Cruise control operation. More information: In this section you ll find information about:

CRUISE CONTROL SPEED LIMITER. SL900Series. Dealer address details: Rev. 3.0

1. Cruise Control CRUISE CONTROL A: OPERATION B: LOCATION OF COMPONENTS. CC(STi)-2

Cruise Control designed. The only. and developed in Australia CRUISE CONTROL OPERATING INSTRUCTIONS. PROFESSIONAL SERIES and DRIVE by WIRE

Adaptive cruise control (ACC)

1. Cruise Control CRUISE CONTROL A: OPERATION CC-2

SECTION 1 7 OPERATION OF INSTRUMENTS AND CONTROLS Ignition switch, Transmission and Parking brake

Adaptive Cruise Control System Overview

Pressing and holding the + RES switch, when the Cruise Control System is engaged, will allow the vehicle to

Conventional Cruise Control

1. CRUISE CONTROL SWITCH

Adaptive cruise control (ACC)

CRUISE CONTROL SYSTEM OVERVIEW AND OPERATION PROCESS 1. CRUISE CONTROL SWITCH

Adaptive cruise control (ACC)

INSTALLING A CRUISE CONTROL ON A PRIUS 2010 (GEN III)

Cruise Control Diagnosis

CRUISE CONTROL SYSTEM

CRUISE CONTROL SYSTEM

International A26 (2017)

Part 1 OPERATION OF INSTRUMENTS AND CONTROLS

1999 Toyota RAV ACCESSORIES & EQUIPMENT Cruise Control Systems - RAV4

Part A. A1 Introduction. AP-550 Installation Manual. Installation manual. for the universal. AP-550 GoldCruise

Dynamic Laser Cruise Control Operation

Cruise Control Inoperative/Malfunctioning (WO/ETC)

CRUISE CONTROL SYSTEM

CRUISE CONTROL SYSTEM

Adaptive Cruise Control

WARNING: DO NOT USE HAND-HELD 2-WAY TRANSCEIVERS INSIDE YOUR VEHICLE WHILE DRIVING.

CRUISE CONTROL SYSTEM

SCHEMATIC AND ROUTING DIAGRAMS

WARNING: DO NOT USE HAND-HELD 2-WAY TRANSCEIVERS INSIDE YOUR VEHICLE WHILE DRIVING.

CRUISE CONTROL SYSTEM

OnGuard Display Operating Instructions

International A26 (2017)

1993 ACCESSORIES & EQUIPMENT Volkswagen Cruise Control Systems. Volkswagen; Corrado SLC, EuroVan, Passat

TOYOTA TACOMA/TUNDRA

GM PTO. Systems; Part 2 of 2

READINESS MONITOR DRIVE PATTERN

DESCRIPTION & OPERATION

KIA RIO CRUISE CONTROL INSTALLATION INSTRUCTIONS PART NO AUTOMATIC TRANSMISSION VEHICLE CONTENTS

CRUISE CONTROL WITH ELECTRIC ACTUATOR. Group 61 - Chassis Electrics

MaxxForce 11 and 13 (2010)

2004 KIA RIO CRUISE CONTROL INSTALLATION INSTRUCTIONS PART NO AUTOMATIC TRANSMISSION VEHICLE CONTENTS

CRUISE CONTROL SYSTEM

2001 Chevrolet Corvette ACCESSORIES & EQUIPMENT Cruise Control Systems - Corvette

CRUISE CONTROL SYSTEM

READINESS MONITOR DRIVE PATTERN

Learn about the indicators, gauges, and displays related to driving the vehicle.

INSTALLATION MANUAL AP60B INSTALLATION MANUAL

Technical Service Bulletin

2001 Honda Civic EX ACCESSORIES & EQUIPMENT' 'Cruise Control Systems - Civic & CR-V 2001 ACCESSORIES & EQUIPMENT

MaxxForce 11 and 13 ( )

INSTRUMENT PANEL. Learn about the indicators, gauges, and displays related to driving the vehicle. Models with Driver Information Interface

DRIVING. Honda Sensing *

CRUISE CONTROL SYSTEM

ENGINE AND EMISSION CONTROL

FACT SHEET. Cruise control. Volvo Trucks. Driving Progress

D. Functions in the KE control unit. a) General

Adaptive Cruise Control

Cruise Control 1993 Jeep Cherokee

GROUP 17 CONTENTS WARNINGS REGARDING SERVICING OF SUPPLEMENTAL RESTRAINT SYSTEM (SRS) EQUIPPED VEHICLES

SYSTEM READINESS TEST (SRT) DRIVE PATTERNS

Part Number: Code: CL7

Driver Instructions. Fuller Heavy Duty Transmissions. Video Instruction Available. Fuller Heavy Duty Transmissions TRDR0550 September 2007

Banks Brake. exhaust brake system

SYSTEM READINESS TEST (SRT) DRIVE PATTERNS

Manual Climate Controls

Speed Sentinel II Programmable Road Speed Limiter

DESCRIPTION & OPERATION

2007 XTERRA QUICK REFERENCE GUIDE. Shift_your limits

PRE CHECK DI 456. w/ Tachometer. w/o Tachometer. Hand held Tester AUTOMATIC TRANSMISSION (A340E, A340F) 2003 TOYOTA TACOMA (RM1002U) D10837 D00729

DATE: 7/29/99. PAGE: 1 of 32

CRUISE CONTROL SYSTEM

How can we help you get more from your current tractor?

2008 Chassis Cab PTO Operation & Installation Guide 05/06/2008

Speed Sentinel Programmable Road Speed Limiter

Scania Active Prediction - presentation December 2011

DESCRIPTION. Chrysler NCV3 Service Info Section 08 > Electronic Modules > MODULE, Transmission Control Information

Subject: Power Take Off (PTO) Models Affected: ADVISORY:

ram2500/3500 InformationProvidedby:

VISUAL INDEX. Steering Wheel and Nearby Controls. Quickly locate items in the vehicle s interior. button*

Transmission ! WARNING: AUTOMATIC TRANSMISSION. Gear selection and message centre indication

International A26 (2017)

VISUAL INDEX. Steering Wheel and Nearby Controls. Quickly locate items in the vehicle s interior. Turn signals LaneWatch button*

Detroit DT12 Transmission. December 2016

Shift Solenoid "A" Performance (Shift Solenoid Valve S1)

PRE CHECK. (b) In case of not using LEXUS hand held tester : Check the DTC. (1) Disconnect the short pin from DLC1.

STPA in Automotive Domain Advanced Tutorial

(12) Patent Application Publication (10) Pub. No.: US 2012/ A1

KEY FOB. Locking And Unlocking The Doors

AP500 FAULT FINDING NEW INSTALLATION

2002 F-150 Workshop Manual

1994 Mazda B4000 SE. CRUISE CONTROL SYSTEM 1994 ACCESSORIES/SAFETY EQUIPMENT Mazda Cruise Control System

DETROIT DT12 TRANSMISSION

APR, LLC O p e l i k a R o a d A u b u r n A l a b a m a

Page No General Installation Wiring diagram AP Wiring diagram AP Tools required...5. Parts list AP Parts list AP250...

Air Suspension AIR SUSPENSION

SECTION 1-6 OPERATION OF INSTRUMENTS AND CONTROLS 05 HIGHLANDER_U (L/O 0409) Gauges, Meters and Service reminder indicators

PRE CHECK DI 211 2WD: DLC3 CG F09750 ABS & BA & TRAC & VSC SYSTEM. VSC warning light circuit

Transcription:

Software Design: RTSAD for Control Minsoo Ryu Hanyang University msryu@hanyang.ac.kr

Design Process 1. Decompose system into components Define the software architecture Identify components Control components vs. Data processing components 2. Determine relationships between components Control transfer, event transfer, data transfer OO relationships (association, inheritance, composition, ) 3. Specify each component Functionality Interface 2 2

Design Principles Abstraction Procedural abstraction, data abstraction Modularity Information hiding, low coupling, high cohesion Separation of concerns Focus one s attention upon one of the aspects by Edsger W. Dijkstra in his 1974 paper "On the role of scientific thought" Keep it simple (minimalism) Occam's razor Leonardo da Vinci's "Simplicity is the ultimate sophistication Don t Repeat Yourself (DRY) Every piece of knowledge must have a single, unambiguous, authoritative representation within a system by Andy Hunt and Dave Thomas in their book The Pragmatic Programmer 3 3

Design Guidelines (by Douglas C. Schmidt) Make sure that the problems is well-defined What comes before how Separate orthogonal concerns Design external functionality before internal functionality Work at multiple levels of abstraction Design for extensibility Details should depend upon abstractions Make it work correctly, then make it work fast 4 4

Requirements for Control 5 5

Requirements With cruise control, a speed of about 40 km/h (25 mph) or more can be maintained without keeping your foot on the accelerator control does not work at speeds below about 40 km/h (25 mph) When the brakes are applied, cruise control is turned off 6 6

Requirements ON/Off Press to turn the system on or off A white cruise control indicator comes on when cruise control is on and turns off when cruise control is off RES (Resume/Accelerate) Press briefly to make the vehicle resume to a previously set speed, or press and hold to accelerate SET (/Coast) Press to set the speed and activate cruise control or make the vehicle decelerate Cancel Press to disengage cruise control without erasing the set speed from memory 7 7

ting Control Press the Use Case #1 button Get up to the desired speed Press the SET button located on the steering wheel and release it Take your foot off the accelerator 8 8

Resuming a Use Case #2 If the cruise control is set at a desired speed and then the brakes are applied, the cruise control is disengaged without erasing the set speed from memory Once the vehicle speed reaches about 40 km/h (25 mph) or more, press the +RES button on the steering wheel The vehicle returns to the previous set speed and stays there 9 9

Use Case #3 Increasing While Using Control If the cruise control system is already activated, press and hold the +RES button on the steering wheel until the desired speed is reached, then release it To increase vehicle speed in small amounts, press the +RES button Each time this is done, the vehicle goes about 1.6 km/h (1 mph) faster 10 10

Use Case #4 Reducing While Using Control If the cruise control system is already activated, press and hold the SET button on the steering wheel until the desired lower speed is reached, then release it To slow down in small amounts, press the SET button on the steering wheel briefly Each time this is done, the vehicle goes about 1.6 km/h (1 mph) slower 11 11

Use Case #5 Passing Another Vehicle While Using Control Use the accelerator pedal to increase the vehicle speed When you take your foot off the pedal, the vehicle will slow down to the previous set cruise speed Using Control on Hills When going up steep hills, pressing the accelerator pedal may be necessary to maintain vehicle speed When going downhill, Grade Braking helps maintain the driver selected speed Grade Braking is enabled when the vehicle is started and Control is active It assists in maintaining driver selected speed when driving on downhill grades by using the engine and transmission to slow the vehicle 12 12

Ending Control Use Case #6 There are three ways to end cruise control: To disengage cruise control, step lightly on the brake pedal Press on the steering wheel To turn off the cruise control, press on the steering wheel Erasing Memory The cruise control set speed is erased from memory by pressing the button or if the ignition is turned off 13 13

Schematic Representation of Control 14 14

RTSAD Notation Real-Time Structured Analysis and Design 15 15

Context Diagram Throttle Accelerator Pedal Transmission accelerator input throttle position transmission control Display display output Controller engine control brake input cruise command current speed Brake Sensor Buttons Engine 16 16

Decomposition Method A (from Use Cases) cruise command Controller display output throttle position Control Resume Control brake input accelerator input Increase Reduce Grade Braking current speed transmission control engine control 17 17

Decomposition Method A cruise command display output throttle position Control Resume Control brake input accelerator input transmission control Increase Reduce Grade Braking engine control current speed 18 18

Refinement #1 Accelerator Desired Resume Control Increase Reduce Grade Braking 19 19

Refinement #2 Brake Accelerator Desired Erase Memory Increase Reduce Grade Braking 20 20

Refinement #3 Accelerator Desired Desired Reduce Brake Erase Memory Grade Braking 21 21

Refinement #4 Accelerator Desired Desired Desired Brake Erase Memory Grade Braking 22 22

Refinement #5 Accelerator Desired Desired Desired Brake Erase Memory Control Transmission Desired Control Engine 23 23

Decomposition Method B (from Architectural Pattern) Controller Input Processing Output Processing Control Loop Architecture Pattern Control 24 24

Decomposition Method B cruise command display output brake input Brake Output Display transmission control accelerator input current speed Accelerator Desired Control Grade Braking throttle position engine control 25 25

Decomposition Method B cruise command Output Display display output brake input Brake throttle position current speed Change Desired engine control accelerator input Accelerator End Cruising Grade Braking transmission control 26 26