cruise control system

Cruise control has been used by a number of authors to illustrate software design methodologies. This problem statement is derived from the one Booch used to describe object-oriented programming [Booch86] and the one Birchenough and Cameron later used to compare JSD to OOD:
A cruise-control system exists to maintain the speed of a car, even over varying terrain, when turned on by the driver. When the brake is applied, the system must relinquish speed control until told to resume. The system must also steadily increase or decrease speed to reach a new maintenance speed when directed to do so by the driver. 
This is the block diagram of the hardware for such a system. There are several inputs:

  • System on/off: If on, denotes that the cruise-control system should maintain the car speed.
  • Engine on/off: If on, denotes that the car engine is turned on; the cruise-control system is only active if the engine is on.
  • Pulses from wheel: A pulse is sent for every revolution of the wheel.
  • Accelerator: Indication of how far the accelerator has been pressed.
  • Brake: On when the brake is pressed; the cruise-control system temporarily reverts to manual control if the brake is pressed.
  • Increase/Decrease Speed: Increase or decrease the maintained speed; only applicable if the cruise-control system is on.
  • Resume: Resume the last maintained speed; only applicable if the cruise-control system is on.
  • Clock: Timing pulse every millisecond.
There is one output from the system:
  • Throttle: Digital value for the engineer throttle setting.```````````

  • Content Preview:
    Cruise control (sometimes known as speed control or autocruise) is a system that automatically controls the corolla wiring diagramspeed of a motor vehicle. The purpose is to accurately maintain the driver’s desired set speed, without intervention from the driver, by actuating the throttle-accelerator pedal linkage.
    The following diagram showing the detail circuit of 1997 Toyota Corolla Cruise Control System. The cruise control ECU (located in the center of the dashboard) is connected to instrument cluster system, data link connector (in the left side of the engine compartment), cruise control clutch switch, cruise control diode, starting and charging system, cruise control actuator, engine control system (throttle position sensor), stop light switch, engine control module (ECM) and transmission system (electronically controlled by the transmission solenoid).