📋 Today's topics
- CPS Applications – across multiple domains.
- CPS Communication Protocols – but this part focuses on applications and layered structure.
اليوم سنغطي: تطبيقات CPS عبر مجالات متعددة، ونظرة على بروتوكولات الاتصال (لكن التركيز هنا على التطبيقات والطبقات).
🎯 Learning Outcomes
After completing this chapter, students should be able to:
- Identify CPS applications across multiple domains.
- Analyze sensor–controller–actuator interactions (the three‑layer pattern).
- Differentiate CPS from traditional embedded and IoT systems.
بعد إتمام هذا الفصل، يجب أن يكون الطالب قادراً على:
- تحديد تطبيقات CPS في مجالات متعددة.
- تحليل تفاعل المستشعر–المتحكم–المشغل (نمط الطبقات الثلاث).
- التمييز بين CPS والأنظمة المضمنة التقليدية وإنترنت الأشياء.
🌍 CPS/IoT Application Areas
- Medical CPS/IoT – smart hospitals, wearables.
- Industrial CPS/IoT – connected factories, agriculture.
- Transportation CPS – autonomous vehicles, smart traffic.
- Smart Home CPS/IoT – smart devices, voice assistants.
- Smart Cities / Municipal CPS – smart grid, traffic, parking.
المجالات: الطبية، الصناعية، النقل، المنازل الذكية، المدن الذكية.
🏥 1. Medical Cyber‑Physical Systems
Medical CPS monitor and control patient health in real time. Sensors collect physiological data; control algorithms decide medical actions.
Examples: Pacemakers, insulin pumps, wearable ECG (Electrocardiogram) systems.
🔹 Three layers of Medical CPS (explained simply)
Interacts with the human body. Function: collects real‑time physiological data (e.g., heart rate, ECG) and converts physical signals to digital.
The “intelligence” layer. Function: processes and analyzes sensor data, runs control algorithms, makes decisions, communicates with healthcare providers.
Performs physical actions based on cyber layer decisions. Function: executes medical interventions (insulin injection, pacemaker adjustment), provides alerts, controls devices in real time.
📱 Medical CPS/IoT Examples
- Wearables: Pebble Smartwatch, Apple Watch, Fitbit – record heart rate, ECG, steps.
- Muse headband – brain‑sensing for meditation.
- BioStamp – medical‑grade device that collects biometric data (vital signs, activity, posture, sleep metrics).
الأنظمة الطبية CPS: تراقب صحة المريض فورياً. مستشعرات تجمع بيانات (مثل ECG)، خوارزميات تحكم تتخذ إجراءات (مثل مضخة أنسولين).
الطبقات الثلاث:
- Sensing Layer: تتفاعل مع الجسم، تحول الإشارات الفيزيائية إلى رقمية.
- Cyber Layer: المعالجة والتحليل واتخاذ القرار والتواصل مع مقدمي الرعاية.
- Actuation Layer: تنفيذ الإجراءات (حقن، تنبيه).
أمثلة: ساعات ذكية، Muse, BioStamp.
🏭 2. Industrial Cyber‑Physical Systems
Industrial CPS integrate machines and digital control systems. Production adapts dynamically. Enables Industry 4.0 automation.
Examples: Industrial robots, digital twins.
🔹 Three Layers of Industrial CPS
Monitor physical state of machines and processes. Collect real‑time data (temperature, vibration, speed).
The “brain”. Analyzes sensor data, executes control algorithms, communicates with IIoT, cloud, digital twins. Generates commands for actuators.
Execute physical actions: mechanical movements, adjust machine operations, automated tasks.
🤖 Industrial CPS/IoT Examples
- Amazon drone delivery – packages delivered via drones.
- ParcelLive – tracks package location and tampering in real time.
- Autonomous tractors – precision farming, addresses farmer shortages.
- Agricultural drones – monitor crop growth, increase production.
الصناعية CPS: تدمج الآلات مع التحكم الرقمي، تمكن Industry 4.0. أمثلة: روبوتات، توائم رقمية.
الطبقات: مستشعرات الآلة، متحكم صناعي (يحلل ويقرر)، مشغلات روبوتية (تنفذ). أمثلة: توصيل أمازون بطائرات درون، ParcelLive، جرارات ذاتية، درون زراعية.
🚗 3. Transportation Cyber‑Physical Systems
Enable autonomous and intelligent transportation. Real‑time perception and decision‑making. Systems interact continuously with the physical environment.
Examples: Autonomous vehicles, ADAS, smart traffic control.
🔹 Three Layers of Transportation CPS
Collect real‑time data from the vehicle's environment. Cameras, LiDAR, radar, GPS. Enable the vehicle to “see” obstacles, lanes, signs.
The “brain”. Analyzes sensor inputs, computes driving decisions (speed, steering, braking, lane changes). Communicates via V2X (Vehicle‑to‑Everything).
Carry out physical actions: steering motors, brake systems, throttle actuators. Ensure accurate and safe response.
نقل CPS: أنظمة ذاتية القيادة. طبقات: مستشعرات (LiDAR, كاميرات)، وحدة تحكم (تقرر السرعة والتوجيه)، مشغلات (محركات توجيه، فرامل).
🏠 4. Smart Home Cyber‑Physical Systems
Integrate computation, networking, and physical processes to monitor and control home environments intelligently.
🔹 Three Layers of Smart Home CPS
Collect real‑time data: motion, temperature, light, humidity. Converts physical conditions to digital.
Processes sensor data, makes intelligent decisions (e.g., turn on lights, adjust thermostat). May learn user behavior.
Executes commands: smart lights switch on/off, smart locks open/close, smart plugs control appliances.
📱 Smart Home Examples
- Wemo Smartplug – remote control of electrical devices.
- Samsung Smartbulb – adjustable lighting.
- Smart toaster, smart fridge – connected appliances.
- Google Home, Amazon Echo – voice assistants controlling home automation.
- Kevo Smartlock – keyless entry.
المنزل الذكي: طبقات: استشعار (حركة، حرارة)، تحكم (معالجة، قرار)، تنفيذ (أضواء، أقفال). أمثلة: لمبة ذكية، قابس ذكي، مساعدات صوتية.
🏙️ 5. Smart Cities / Municipal CPS
Coordinate multiple urban services by tightly integrating sensing, computation, networking, and physical infrastructure. Subsystems share real‑time data to improve efficiency, safety, sustainability.
🔹 Three Layers of Smart City CPS
Observes city conditions: traffic cameras, air quality sensors, parking sensors, weather stations.
Aggregates and shares data across subsystems. Optimizes operations using algorithms (traffic lights coordination, energy distribution).
Executes decisions: adaptive traffic lights, smart parking signs, variable message signs, automated street lighting.
🌆 Smart City Examples
- Comfy app – employees control temperature/lighting via app using sensors in buildings.
- Smart Bins – detect fill level, recycling rates, send collection notifications.
- Environmental Monitoring – wireless sensor networks measure temperature, humidity, air quality to reduce pollution.
- Smart Parking (e.g., Coord app) – analyzes curb data, helps drivers find parking, comply with regulations.
المدن الذكية: تنسيق خدمات المدينة عبر استشعار وتحكم. أمثلة: صناديق نفايات ذكية، مواقف ذكية، مراقبة بيئية، إشارات مرور متكيفة.
📝 Practice Questions (detailed explanations)
- Q1: Which CPS layer is responsible for collecting real‑time data from the physical environment?
A. Actuation Layer
B. Cyber / Control Layer
C. Sensing (Perception) Layer ✓
D. Application Layer - Q2: In a Medical CPS, which device is an example of an actuator?
A. ECG sensor
B. Heart rate monitor
C. Insulin pump ✓
D. Temperature sensor - Q3: The Cyber / Control Layer in CPS primarily performs which function?
A. Physical movement
B. Data sensing
C. Decision‑making and data analysis ✓
D. Energy harvesting - Q4: In Transportation CPS, LiDAR, radar, and cameras belong to which layer?
A. Actuation Layer
B. Vehicle Control Unit
C. Sensing (Perception) Layer ✓
D. Communication Layer - Q5: What is the primary role of the Vehicle Control Unit in Transportation CPS?
A. Collecting raw sensor data
B. Executing mechanical actions
C. Making driving decisions ✓
D. Providing power to sensors - Q6: Which component belongs to the Actuation Layer in Smart Home CPS?
A. Motion sensor
B. Smart camera
C. Smart light ✓
D. Temperature sensor
الإجابات: ١- ج (طبقة الاستشعار)، ٢- ج (مضخة أنسولين)، ٣- ج (اتخاذ القرار وتحليل البيانات)، ٤- ج (طبقة الاستشعار)، ٥- ج (اتخاذ قرارات القيادة)، ٦- ج (الضوء الذكي مشغل).
📌 Chapter 2 – Part 1: Everything in one place (easy recap)
- CPS applications domains: Medical, Industrial, Transportation, Smart Home, Smart City.
- Every CPS follows a 3‑layer pattern: Sensing (perception) → Cyber/Control (decision) → Actuation (physical action).
- Medical CPS: Sensing (ECG, wearables) → Cyber (analyze, decide) → Actuation (insulin pump, pacemaker).
- Industrial CPS: Machine sensors → Industrial controller → Robotic actuators.
- Transportation CPS: Cameras/LiDAR → Vehicle control unit → Steering/brake actuators.
- Smart Home CPS: Motion/temp sensors → Home hub/cloud → Smart lights/locks.
- Smart City CPS: Traffic/air sensors → Central traffic management → Adaptive signals/parking signs.
- Key difference from IoT: CPS emphasises tight feedback loop between sensing, decision, and physical action (often real‑time). IoT focuses more on connectivity and data exchange.
ملخص الجزء الأول من الفصل الثاني:
- مجالات تطبيق CPS: طبي، صناعي، نقل، منزل ذكي، مدن ذكية.
- كل نظام CPS له ٣ طبقات: استشعار ← تحكم (قرار) ← تنفيذ.
- طبي: مستشعرات (ECG) ← معالجة ← مضخة أنسولين.
- صناعي: مستشعرات آلة ← متحكم ← مشغلات روبوتية.
- نقل: كاميرات/LiDAR ← وحدة تحكم ← توجيه/فرامل.
- منزل ذكي: استشعار حركة ← مركز تحكم ← إضاءة/أقفال.
- مدينة ذكية: استشعار حركة/هواء ← إدارة مركزية ← إشارات متكيفة.
- CPS يركز على حلقة التحكم المغلقة والزمن الحقيقي، بينما IoT يركز على الربط والبيانات.