Embedded Academy
3.92K subscribers
800 photos
119 videos
241 files
251 links
📢 All About Embedded in Persian and English

✅ Embedded Systems
✅ IoT
✅ AI
✅ Machie Vision

در سایر شبکه ها:
aparat.com/embedded
instagram.com/embedded_ir
Twitter.com/embedded_ir

Admin: @embeded
Download Telegram
Embedded Academy
📊 #نمودار؛ ✅ ‏هزینه رفع باگ در مراحل مختلف چرخه توسعه محصول + درصد تولید باگ در مراحل مختلف - همونطور که پیداست هزینه رفع باگ در مرحله release (تحویل به مشتری) ۶۴۰ برابر مرحله #coding هست. /کدنویس وظیفه #Debugging @embedded
Gall's Law

A complex system that works is invariably found to have evolved from a simple system that worked. A complex system designed from scratch never works and cannot be patched up to make it work. You have to start over with a working simple system.
قانون گال:
یک سیستم پیچیده که کار می‌کند، تکامل یافته سیستم ساده است که کار می‌کرده. سیستم پیچیده‌ای که از ابتدا طراحی شود، هیچگاه کار نمی‌کند و نمی‌توان عیب‌یابی کرد. شما مجبورید با سیستم ساده کارا شروع کنید.

from Gall's book Systemantics: How Systems Really Work and How They Fail

#SystemDesign
@embedded
👍14🔥3❤1
What is event-driven architecture (EDA), and how does it work?

✍ Nikki Siapno

Quite a lot of the tasks modern-day systems are required to do are in response to changes in state.

Adding an item to a shopping cart, liking a post, and paying a bill are all state changes that trigger a set of tasks in their respective systems.

This requirement has paved the way for a popular approach to system architecture known as event-driven architecture (EDA).

Event-driven architecture has four main components:

1) Events

These are significant changes in state. For example, a user signing up to a trial might be an event in a SaaS product. They're generally immutable, typically lightweight and can carry a payload containing information about the change in state.

2) Producers

The role of a producer is to detect or cause a change in state, and then generate an event that represents this change. The change can be initiated by a variety of sources such as system processes, user interactions, and external triggers.

3) Consumers

Consumers are the entities that are interested in and react to events. They subscribe to specific types of events and execute when those events occur.

4) Channels

Meanwhile, channels facilitate sending events between producers and consumers.

Advantages of EDA:

🟢 Decoupling: producers and consumers operate independently, enhancing system flexibility and maintainability.

🟢 Scalability: EDA can efficiently handle a surge in events, making it suitable for systems with varying loads.

🟢 Real-time responsiveness: systems can react immediately to state changes, enhancing user experience and system reliability.

🟢 Resilience: failures in one component don't necessarily cascade through the system, thanks to the buffering capabilities of many channels.

Use cases:

🔸 IoT systems: devices and sensors in #IoT setups generate a plethora of events that EDA can efficiently manage.

🔸 Microservices: EDA facilitates communication between decoupled microservices, ensuring smooth system operations.

🔸 Real-time analytics: immediate processing and analysis of data as it's generated is a forte of EDA.

Disadvantages:

🔴 Complexity: tracing and debugging issues in an event-driven system can be more challenging than in traditional architectures.

🔴 Event order: ensuring events are processed in the correct sequence, especially in distributed setups, can be tricky.

🔴 Potential overhead: introducing a message broker or channel can add latency, especially if not optimized.

While EDA offers a robust framework for building dynamic, responsive systems, it's essential to consider its potential pitfalls. Like any architecture, it works best when applied thoughtfully to the right scenarios.

#systemdesign
#systemarchitecture
#IoT
@embedded
❤6👍5
Forwarded from Embedded Academy
What is event-driven architecture (EDA), and how does it work?

✍ Nikki Siapno

Quite a lot of the tasks modern-day systems are required to do are in response to changes in state.

Adding an item to a shopping cart, liking a post, and paying a bill are all state changes that trigger a set of tasks in their respective systems.

This requirement has paved the way for a popular approach to system architecture known as event-driven architecture (EDA).

Event-driven architecture has four main components:

1) Events

These are significant changes in state. For example, a user signing up to a trial might be an event in a SaaS product. They're generally immutable, typically lightweight and can carry a payload containing information about the change in state.

2) Producers

The role of a producer is to detect or cause a change in state, and then generate an event that represents this change. The change can be initiated by a variety of sources such as system processes, user interactions, and external triggers.

3) Consumers

Consumers are the entities that are interested in and react to events. They subscribe to specific types of events and execute when those events occur.

4) Channels

Meanwhile, channels facilitate sending events between producers and consumers.

Advantages of EDA:

🟢 Decoupling: producers and consumers operate independently, enhancing system flexibility and maintainability.

🟢 Scalability: EDA can efficiently handle a surge in events, making it suitable for systems with varying loads.

🟢 Real-time responsiveness: systems can react immediately to state changes, enhancing user experience and system reliability.

🟢 Resilience: failures in one component don't necessarily cascade through the system, thanks to the buffering capabilities of many channels.

Use cases:

🔸 IoT systems: devices and sensors in #IoT setups generate a plethora of events that EDA can efficiently manage.

🔸 Microservices: EDA facilitates communication between decoupled microservices, ensuring smooth system operations.

🔸 Real-time analytics: immediate processing and analysis of data as it's generated is a forte of EDA.

Disadvantages:

🔴 Complexity: tracing and debugging issues in an event-driven system can be more challenging than in traditional architectures.

🔴 Event order: ensuring events are processed in the correct sequence, especially in distributed setups, can be tricky.

🔴 Potential overhead: introducing a message broker or channel can add latency, especially if not optimized.

While EDA offers a robust framework for building dynamic, responsive systems, it's essential to consider its potential pitfalls. Like any architecture, it works best when applied thoughtfully to the right scenarios.

#systemdesign
#systemarchitecture
#IoT
@embedded
👍6❤3👏2
Forwarded from Embedded Academy
What is event-driven architecture (EDA), and how does it work?

✍ Nikki Siapno

Quite a lot of the tasks modern-day systems are required to do are in response to changes in state.

Adding an item to a shopping cart, liking a post, and paying a bill are all state changes that trigger a set of tasks in their respective systems.

This requirement has paved the way for a popular approach to system architecture known as event-driven architecture (EDA).

Event-driven architecture has four main components:

1) Events

These are significant changes in state. For example, a user signing up to a trial might be an event in a SaaS product. They're generally immutable, typically lightweight and can carry a payload containing information about the change in state.

2) Producers

The role of a producer is to detect or cause a change in state, and then generate an event that represents this change. The change can be initiated by a variety of sources such as system processes, user interactions, and external triggers.

3) Consumers

Consumers are the entities that are interested in and react to events. They subscribe to specific types of events and execute when those events occur.

4) Channels

Meanwhile, channels facilitate sending events between producers and consumers.

Advantages of EDA:

🟢 Decoupling: producers and consumers operate independently, enhancing system flexibility and maintainability.

🟢 Scalability: EDA can efficiently handle a surge in events, making it suitable for systems with varying loads.

🟢 Real-time responsiveness: systems can react immediately to state changes, enhancing user experience and system reliability.

🟢 Resilience: failures in one component don't necessarily cascade through the system, thanks to the buffering capabilities of many channels.

Use cases:

🔸 IoT systems: devices and sensors in #IoT setups generate a plethora of events that EDA can efficiently manage.

🔸 Microservices: EDA facilitates communication between decoupled microservices, ensuring smooth system operations.

🔸 Real-time analytics: immediate processing and analysis of data as it's generated is a forte of EDA.

Disadvantages:

🔴 Complexity: tracing and debugging issues in an event-driven system can be more challenging than in traditional architectures.

🔴 Event order: ensuring events are processed in the correct sequence, especially in distributed setups, can be tricky.

🔴 Potential overhead: introducing a message broker or channel can add latency, especially if not optimized.

While EDA offers a robust framework for building dynamic, responsive systems, it's essential to consider its potential pitfalls. Like any architecture, it works best when applied thoughtfully to the right scenarios.

#systemdesign
#systemarchitecture
#IoT
@embedded
❤10👍3
Embedded Academy
هوش‌مصنوعی، آنالوگ می‌شود؟ در ادامه روند شتابان پیشرفت تحقیقات در زمینه پردازش‌های عصبی؛ در پاسخ به نیاز گسترده عموم به پردازش شبکه‌های بیشتر با سرعت بیشتر و مصرف انرژی پایین‌تر، ایده آزمایشگاهی شبکه‌های عصبی فیزیکی (PNN) معرفی شد. این شبکه‌های عصبی فیزیکی…
از تراشه تا سامانه: هوش مصنوعی به طراحی یکپارچه نیاز دارد

در حالی که هوش مصنوعی نه‌فقط فعالان فناوری و مهندسان، بلکه توجه عموم را نیز به خود جلب کرده است، تحلیل آیندهٔ فناوری و مهندسی نهفته در عصر هوش مصنوعی اهمیت بیشتری پیدا می‌کند. پیش‌تر دربارهٔ رایانش لبه و هوش فیزیکی گفته بودیم؛ اکنون تحول دیگری در حال شکل‌گیری است: طراحی سامانه‌های هوش مصنوعی دیگر به افزایش توان یک تراشه محدود نیست و باید تراشه، مدل، نرم‌افزار و معماری کل سامانه را هم‌زمان در نظر بگیرد.

در میزگرد بین‌المللی «تایوان و اکوسیستم جهانی هوش مصنوعی: ساخت موج بعدی نوآوری» در همایش EE Tech Summit 2026 (iTechCon 2026)، کارشناسان دولت، صنعت و پژوهش بررسی کردند که تایوان چگونه می‌تواند توانمندی‌های خود در تولید نیمه‌رسانا، بسته‌بندی پیشرفته و یکپارچه‌سازی سامانه‌ها را به ارزش‌آفرینی بیشتر در حوزهٔ هوش مصنوعی تبدیل کند. گسترش تخصص نرم‌افزاری، پرورش نیروی انسانی میان‌رشته‌ای و تقویت زیست‌بوم استارتاپی نیز از محورهای این گفت‌وگو بود.

یونگ‌هویی لی، مدیر مؤسس مرکز پژوهش هوش مصنوعی در مؤسسهٔ پژوهشی Hon Hai، توضیح داد که طراحی سامانه‌های هوش مصنوعی از سطح تراشه فراتر رفته و اکنون رک‌ها و حتی کل مراکز داده را دربرمی‌گیرد. در این مقیاس، پردازنده، حافظه، ارتباطات داخلی، شبکه، تأمین برق، خنک‌سازی مایع و نرم‌افزار باید همچون اجزای یک سامانهٔ واحد با یکدیگر کار کنند.

او این نگاه را چنین خلاصه کرد:

«یک خوشهٔ پیشرفته باید مانند یک رایانهٔ عظیم واحد عمل کند.»


اهمیت این دیدگاه با تغییر نوع بارهای کاری هوش مصنوعی بیشتر می‌شود. با حرکت صنعت از آموزش مدل‌ها به‌سوی استنتاج، هوش مصنوعی عامل‌محور و هوش فیزیکی، محدودیت عملکرد دیگر فقط توان محاسباتی تراشه نیست. جابه‌جایی داده، تأمین برق و مدیریت گرما نیز می‌توانند به گلوگاه تبدیل شوند.

به همین دلیل، معیارهای سنجش عملکرد نیز در حال تغییرند. در کنار توان محاسباتی خام، شاخص‌هایی مانند عملکرد به‌ازای هر وات و تعداد توکن تولیدشده به‌ازای هر دلار اهمیت بیشتری می‌یابند. دستیابی به عملکرد بهتر مستلزم آن است که تراشه، حافظه، ارتباطات داخلی و سامانهٔ خنک‌کننده از ابتدا و در پیوند با یکدیگر طراحی شوند.

تایوان در این زمینه از یک زنجیرهٔ صنعتی گسترده برخوردار است که تولید نیمه‌رسانا، بسته‌بندی پیشرفته، بردهای مدار چاپی، تأمین برق، مدیریت حرارتی، شبکه و سرور را دربرمی‌گیرد. به‌گفتهٔ لی، مزیت تایوان فقط در توانایی ساخت تراشه نیست؛ بلکه در پیوند نزدیک این صنایع است—پیوندی که می‌تواند طراحی و یکپارچه‌سازی، آزمون و اعتبارسنجی، و گذار به تولید انبوه را سریع‌تر کند.

این تحول، معیار رقابت در صنعت هوش مصنوعی را نیز تغییر می‌دهد: دیگر کافی نیست یک تراشه به‌تنهایی سریع‌تر باشد؛ برتری زمانی شکل می‌گیرد که همهٔ اجزای سامانه در کنار هم، با مصرف انرژی و هزینهٔ مناسب، عملکردی قابل‌اتکا ارائه دهند. بنابراین، گام بعدی برای کشورهایی مانند تایوان، تبدیل توان صنعتی و سخت‌افزاری به توان طراحی سامانه‌های هوشمند و خلق محصولات و خدمات باارزش‌تر است.

منبع: گزارش EE Times/EDN Taiwan از میزگرد بین‌المللی «Taiwan and the Global AI Ecosystem: Building the Next Wave of Innovation» در همایش EE Tech Summit 2026 (iTechCon 2026).

#AI
#SystemDesign
#AIInference
#AgenticAI
#PhysicalAI
#Semiconductors
#EdgeComputing
@embedded
👍2
یکپارچگی حسگری و مخابرات (ISAC)؛ افق‌های نوین استانداردهای بی‌سیم

در سامانه‌های بی‌سیم سنتی، رادیو برای «انتقال داده» بود و حسگرها وظیفهٔ پایش محیط را داشتند. اما در فناوری‌های نوین، این مرز در حال محو شدن است؛ مفهومی تحت عنوان
ISAC (Integrated Sensing and Communications)
که در آن یک سیگنال رادیویی هم‌زمان هم داده جابه‌جا می‌کند و هم محیط را پایش می‌کند.

-
🔹 جایگاه خانواده استاندارد IEEE
گ 802.15.4
فناوری‌هایی مانند UWB (فوق‌پهن‌باند در چارچوب استاندارد IEEE 802.15.4 عمل می‌کنند. پهنای باند وسیع UWB امکان تفکیک زمانی در مقیاس پیکوثانیه و اندازه‌گیری دقیق زمان پرواز پالس (ToF) را فراهم می‌سازد:

IEEE 802.15.4z-2020:
توسعه فاصله‌سنجی امن (Secure Ranging) برای جلوگیری از حملات بازپخش.
IEEE 802.15.4ab:
مسیری پژوهشی برای پشتیبانی هم‌زمان از حس‌گری و ارتباطات در یک فریم‌ورک واحد.


🚗 مثال عینی: بازتعریف زیرساخت خودرویی
در بعضی مقالات پیشنهاد شده است که می‌توان از زیرساخت‌های موجود برای ورود بدون کلید (Keyless Entry) و کلیدهای دیجیتال مبتنی بر UWB، به‌عنوان حسگر درون کابین نیز بهره برد.

به جای نصب سنسورهای مجزا، لنگرهای رادیویی UWB که از قبل در خودرو نصب شده‌اند، می‌توانند در بازه‌های زمانی معین بازتاب پالس‌ها را دریافت کرده و یک رادار توزیع‌شده (Multi-static Radar) بسازند:
تشخیص حضور کودک (CPD): پایش حرکت ظریف قفسه سینه یا تنفس در صندلی عقب.
کاهش قطعات و سیم‌کشی: استفادهٔ اشتراکی از سخت‌افزار موجود برای چند کاربرد مختلف.

🌐 سایر کاربردهای بالقوه ISAC
خانه‌ها و ساختمان‌های هوشمند: تشخیص سکونت یا حرکت افراد بدون نیاز به دوربین یا تجهیزات پوشیدنی.
صنعت و لجستیک: موقعیت‌یابی لحظه‌ای تجهیزات در محیط‌های فاقد سیگنال GPS.
رباتیک: ترکیب ارتباط بی‌سیم ناوگان ربات‌ها با آگاهی لحظه‌ای از محیط پیرامون.


روند گسترش ISAC نشان‌دهندهٔ گذار از سخت‌افزارهای تک‌منظوره به سامانه‌های هوشمندی است که قابلیت‌های تازه را نه با اضافه‌کردن قطعات جدید، بلکه از طریق توسعهٔ نرم‌افزاری و پردازش پیشرفته محقق می‌کنند.

#SystemDesign
#ISAC
#UWB

@embedded
❤4👍3