2021 PP
2021 PP
pandemic is proposed for the entrance of a garment factory. More than 100 employees are
working, for each shift. The proposed automated solution should automatically inspect the
workers and keep records. The automatic inspection should include temperature check, face
mask, face shield and footwear. Furthermore, the system should check the proper hand wash
and other guidelines such as social distancing during entrance and departure.
• The effectiveness of the system assumes that employees will actively participate and follow the
guidelines during the entrance and departure process.
• The proposed solution assumes integration with existing employee databases and company
systems for seamless record-keeping and management.
• The proposed solution assumes that it aligns with and complies with local health regulations and
guidelines related to COVID-19.
• The success of the system assumes that employees are educated and informed about the proper
use of the automated solution and the importance of following health guidelines.
1. Evaluate the overall problem domain and list the key aspects of the problem.
• The problem domain involves creating an automated total solution to maintain health guidelines
during the COVID-19 pandemic at the entrance of a garment factory where more than 100
employees work per shift.
• The goal is to ensure the health and safety of the workforce by automating inspections related to
temperature, face mask, face shield, footwear, hand wash, and adherence to social distancing
guidelines.
1. Compliance with health guidelines and regulations set by local health authorities and
governments.
2. Designing and implementing a system that can automatically inspect multiple aspects of
employee health, including temperature, face mask, face shield, footwear, and hand hygiene.
3. Developing a robust database system to store and manage inspection records for each
employee.
4. Ensuring the security and privacy of the collected data, adhering to relevant regulations.
5. Integrating various technologies such as infrared thermometers, facial recognition, computer
vision, and motion sensors for efficient and accurate inspections.
6. Establishing a regular maintenance schedule to ensure the reliability and functionality of the
implemented technologies.
7. Implementing measures, possibly through cameras and sensors, to monitor and enforce social
distancing during entrance and departure.
8. Ensuring that the workplace layout and logistics support social distancing guidelines.
2. Illustrate the proposed embedded system and indicate the main sections and the worker
flow during the operation.
• Temperature Monitoring: The system should accurately measure and record the body temperature
of each employee during entrance.
• Facial Recognition: Facial recognition technology should be implemented to verify the presence
of face masks and face shields on employees.
• Footwear Detection: The system should employ computer vision to detect and verify the use of
appropriate footwear by employees.
• Hand Wash Verification: Motion sensors or other technologies should be used to monitor and
verify proper hand washing or hand sanitization.
• Social Distancing Monitoring: The system should incorporate sensors or cameras to monitor and
ensure adherence to social distancing guidelines during entrance and departure.
• Record-Keeping: The system must maintain a centralized database to store inspection records for
each employee, including timestamps and results.
• User Interface: A user-friendly interface should be developed to display real-time inspection
results and provide alerts for non-compliance.
• Integration with Existing Systems: The system should integrate seamlessly with the company's
existing employee databases and management systems.
• Privacy Measures: The implementation should adhere to privacy regulations, and measures
should be in place to protect employee data.
• Scalability: The system should be designed to accommodate a large workforce, scalable to handle
more than 100 employees per shift.
• Reliability and Accuracy: The technologies employed should be reliable and accurate to minimize
errors in the inspection process.
• Compliance with Health Regulations: The solution must align with and comply with local health
regulations and guidelines related to COVID-19.
• Employee Education: There should be provisions for educating employees on the proper use of
the automated solution and the importance of adhering to health guidelines.
• Maintenance Plan: A regular maintenance plan should be established to ensure the continuous
functionality of sensors and devices.
• Cost and Resource Assessment: An assessment of the costs associated with implementation,
maintenance, and resource allocation should be conducted.
• Alerts and Notifications: The system should generate alerts and notifications for immediate
feedback on non-compliance or anomalies.
• Flexibility: The system should be flexible to adapt to changing health guidelines or requirements.
• Regulatory Compliance: The system should comply with relevant data protection and privacy
regulations, ensuring that the entire solution is legally sound.
4. Identify the inputs and the outputs of the proposed automated solution overall functional
block diagram. Indicate the subsystems in the same diagram.
• Inputs: Employee Arrival, Infrared Thermometer Data, Facial Recognition Data, Computer
Vision Data (Footwear), Motion Sensor Data (Hand Wash, Social Distancing), Emergency
Response Triggers, System Configuration Settings
• Outputs: Inspection Results, Real-time Display on UI, Alerts and Notifications, Integrated
Employee Database Updates
• Subsystems:
1. Employee Arrival: The process starts with the arrival of employees at the entrance monitoring
station (RFID/ ID scanner).
2. Entrance Monitoring Station: Infrared Thermometers, Facial Recognition Cameras,
Computer Vision System, Motion Sensors, Emergency Response Subsystem
3. Data Processing and Storage: Central Processing Unit (CPU) processes data from the entrance
monitoring station and stores inspection records in the database.
4. User Interface (UI): Provides a user-
friendly interface to display real-time
inspection results, alerts, and
notifications
5. Integration with Existing Systems:
API (Application Programming
Interface), Database Integration
Modules
6. Assume that the system controller for platform is implemented by a microcontroller. Briefly
explain the per-design stage and identify the main features that should be considered in
selecting the microcontroller.
• The pre-design stage is a critical phase in the development of any automated system, and selecting
an appropriate microcontroller for the system controller is a key aspect of this stage.
1. Processing Power: Consider the processing power needed to handle the computations and
data processing required by the system.
2. Memory Capacity: The microcontroller should have enough Flash memory for program
storage and RAM for data manipulation.
3. Peripheral Interfaces: Identify the types and number of peripherals and interfaces including
ADC, DAC, communication interfaces (UART, SPI, I2C), and GPIO pins.
4. Power Consumption: Assess the power requirements of the microcontroller, especially if the
system is intended to operate on battery power or in environments with power constraints.
5. Real-Time Capabilities: Determine if the system requires real-time capabilities for processing
and responding to data.
6. Cost Considerations: Not only the initial cost but also any additional costs associated with
development tools and support.
7. Availability and Longevity: Ensure that the selected microcontroller is readily available from
suppliers and has a reasonable lifecycle.
8. Size and Package: Consider the physical size and package of the microcontroller, especially
if space is a constraint in the system design.
9. Security Features: If the system involves sensitive data or has security requirements, look for
microcontrollers with built-in security features such as hardware encryption, secure boot, and
secure storage.
10. Temperature and Environmental Considerations: If the system operates in extreme
temperatures or harsh environmental conditions, choose a microcontroller that can withstand
such conditions without compromising performance.
7. Discuss the design stage of embedded system design process and draw the structure chart
of hardware partitioning and the activity diagram of the program flow. Consider one
session of operation.
• Design Stage of Embedded System Design Process: The process involves translating the system
requirements into a detailed plan for the hardware and software components.
1. System Architecture Design: Define the overall architecture of the embedded system. This
includes identifying major hardware components, their interconnections, and the overall
system structure.
2. Hardware Design: Specify the details of each hardware component, including sensors,
actuators, microcontrollers, communication interfaces, and power supply.
3. Software Design: Develop a detailed plan for the software components, including the system
controller's firmware, user interface software, and any application-level software.
4. Communication Protocols: Define the communication protocols between different hardware
and software components.
5. Testing and Verification Strategy: Plan for testing and verification procedures to ensure that
the designed system meets the specified requirements.
6. Security Measures: If applicable, design and implement security features to protect sensitive
data and ensure the integrity of the system.
7. Scalability and Flexibility: Design the system with scalability and flexibility in mind.
• Structure Chart of Hardware Partitioning (left) and Activity Diagram of flow (right).
• Explanation
1. Initialize System: Set up hardware components and initialize software variables. This
includes configuring I/O pins, setting up communication interfaces, and initializing sensors
and actuators.
2. Read Sensor Data: Gather data from various sensors like temperature, humidity, and light
sensors. This data provides the necessary inputs for the system to operate.
3. Process Data: Analyze the sensor data and make necessary calculations. This step involves
applying algorithms to the raw data to derive meaningful information.
4. Check Conditions: Evaluate the processed data against predefined conditions to determine
the required actions. For example, checking if the temperature is within the acceptable range.
5. Activate Actuators: Based on the conditions, perform actions such as turning on a motor,
activating an alarm, or adjusting a display. This ensures that the system responds
appropriately to the sensor data.
6. Update Data Storage: Save the relevant data to memory for future reference. This step ensures
that historical data is available for analysis and troubleshooting.
7. Log Data: Record the data and actions taken during the session. Logging helps in maintaining
records and analyzing system performance over time.
8. Update Display: Show relevant information on a display. This could include current sensor
readings, system status, and alerts.
9. End Session: Wrap up the current session and prepare for the next cycle. This may involve
resetting variables or preparing the system for the next set of operations.