暨南大学2021计组实验5.docVIP

  • 3
  • 0
  • 约7.66千字
  • 约 8页
  • 2022-12-26 发布于广东
  • 举报
Lab 5: A Simple Real-life Control System Lab 1 Introduction This lab involves in the I/O of chapter 10. Please be patient to read full instructions. 2 Type This is a team project (up to three students) which will be completed in two weeks. 3 Instructions Assume you are hired by Ford Motor Company to develop the embedded software for their new model of cars. This software executes on the main computer that sits inside the car. Your manager wrote down the “Software Requirement Specification (SRS)” document and gave it to you. Based on the “requirements” listed in this document you have to develop a C program that materializes these requirements/specifications. Given below is a portion of the SRS document which includes the schematic of the car’s electronics and computer systems: The sensors convert the physical states (pressure induced by the driver on the seat when he is seating on it, etc.) and mechanical motions (driver pressing the brake pedal) to electrical signals (voltage, current). The input interface sub-system (commonly denoted as “i/p i/f”, “i/p” for input, “i/f” for interface) converts electrical signal into digital form (number, bits etc.). The decision/control sub-system is the main functional block which provides the intelligence to the car so that it can take the right action based on the given situation. The decision logic provides digital output (numbers, bits), which is converted back to electrical signals by the Output interface (o/p i/f). These electrical signals are used to activate the electro-mechanical actuators (motors, electro-magnets etc.). For this particular lab class, your job is to design the decision control logic. You will design the i/p i/f and o/p i/f sub-systems. Available sensors - Each hardware sensor provides a “high” (1) or “low” (0) output. The input interface sub-system sets the value of the corresponding global integer variable to the respective value. The decision/control logic sub-system will read this integer to take the

文档评论(0)

1亿VIP精品文档

相关文档