2025년 8월 28일 목요일

CAN Bus in Software // AUTOSAR classic platform

2021. 6. 8. — AUTOSAR는 Application SW와 HW를 연결해주는 중간 계층이다. 표준 인터페이스와 공통된 기능 모듈(Functional Module)을 제공하여, 하드웨어에 독립적인 ...


확장 + 는 각종 시그널이 포함되어 있음 // https://m.blog.naver.com/techref/222388686772



AI 개요
+6
AUTOSAR 플랫폼은 크게 AUTOSAR Classic 플랫폼과 AUTOSAR Adaptive 플랫폼 두 가지로 나뉩니다. 클래식 플랫폼은 기존 차량의 ECU(전자 제어 장치) 소프트웨어 구조에 사용되는 표준이며, 어댑티브 플랫폼은 자율 주행, 커넥티비티 등 최신 차량의 고성능 컴퓨팅 및 복잡한 소프트웨어 기능 구현을 위한 플랫폼입니다. 
AUTOSAR Classic 플랫폼
  • 주요 특징:
    기존의 임베디드 시스템에 적합한 구조로, 하드웨어 종속적인 부분과 애플리케이션을 분리하여 소프트웨어 재사용성을 높입니다. 
  • 주요 용도:
    엔진 제어, 차체 제어 등 전통적인 차량의 기본 기능과 제어 관련 소프트웨어에 사용됩니다. 
  • 통신:
    CAN, LIN, FlexRay 등 신호 기반의 통신 프로토콜을 주로 사용합니다. 
  • 개발 방식:
    탑다운 방식으로 OEM 애플리케이션을 개발하는 데 중점을 둡니다. 
AUTOSAR Adaptive 플랫폼
  • 주요 특징:
    서비스 지향적인 아키텍처를 가지며, 고성능 컴퓨팅 환경을 지원하여 새로운 소프트웨어 플랫폼이 필요합니다. 
  • 주요 용도:
    자율 주행, 커넥티비티, 인포테인먼트 애플리케이션 등 고성능 컴퓨팅이 필요한 최신 차량 기능에 사용됩니다. 
  • 통신:
    이더넷 기반의 통신 프로토콜(SOME/IP, DDS 등)을 사용하며, 서비스 지향적인 방식으로 데이터를 교환합니다. 
  • 소프트웨어 업데이트:
    애플리케이션 단위의 Software Over-the-Air (SOTA) 기능을 지원하여 런타임 중에도 개별 애플리케이션의 업데이트가 가능합니다. 
  • 개발 방식:
    티어 1 공급업체도 애플리케이션 개발에 참여하며, 유연한 소프트웨어 구성을 지원합니다. 
두 플랫폼의 통합 및 관계
  • 두 플랫폼은 서로 통합되어 사용될 수 있으며, 클래식 플랫폼은 고전적인 차량 기능에, 어댑티브 플랫폼은 새로운 고성능 애플리케이션에 적용됩니다. 
  • 어댑티브 플랫폼은 서비스 지향 구조를 통해 클래식 플랫폼과의 상호 운용성을 높여 통합적인 차량 시스템을 구축합니다. 



 



CAN Bus in Software

CAN in Arduino

INCLUDE

#include <arduino_CAN.h>

CONSTANTS

static uint32 t const CAN 10 = 0x20; static uint32 msg cnte;

CAN 통신 실습

SETUP/LOOP

void setup()

Serial.begin(115200);

while (Serial) ()

14 (CAM.begin(CanBitRate::_2sek))

Serial.println("can.begin(...) failed.");

for (53) ()

void loop()

{

/Assemble a CAll message with the format of EXCA OXFE 0x0 0x00 14 Byte message counter]

wint8 t const msg_data[] (0xCA,0xFE,0,0,0,0,0,0); memcpy((void*) (msg data 4), &msg cnt, sizeof(msg.cnt)); CanMsg const msg(CanStandardId(CAN ID), sizeof(esg data), msg data);

Transmit the CAN message, capture and display an error core in case of Failure.

if (int const re CAN.write(msg); c < 0)

Serial.print ("CAN.write(...) failed with error code "3;

Serial.println(rc);

for (;;) {)

} else {

Increase the message counter, */

msg_cnt++;

Only send ane message per second.

delay(1000);

if (CAN.available())

CanMsg const msg- CAN.read();

Serial.println(msg);

LG


54

CAN Bus in Software

python-can

It provides Controller Area Network support for Python, providing common abstractions to different hardware devices, and a suite of utilities for sending and receiving messages on a CAN bus

CAN 통신 실습

It runs any where Python runs; from high powered computers with commercial CAN to USB devices right down to low powered devices running Linux such as a Beagle Bone or Raspberry Pi

CANalyst-II

CANtact CAN interface

Geschwister Schneider and candleLight

isCAN

Kvaser's CANLIB

IXXAT Virtual Communication interface

Vector

SYSTENnterface

Intrepid Control Systems neovi

SocketCAN

Robotell CAN-USB interface

National Instrument NI-CAN and NI-XNET

SYSTEC interface

CAN over serial (SLCAN)

Seeed Studio USB-CAN analyzer

PCAN basic API

USB2CAN interface

Neousys CAN interface

ETAS

LG


AUTOSAR classic platform

25개 아키텍처에서 15,000개 이상의 장치를 지원하는 유일한 아키텍처 독립적 솔루션입니다. IAR Embedded Workbench의 14일 무료 평가판 - 여기에서 등록하고 다운로드하세요.
광고
dSPACE ‪Autosar 아키텍처‬ — AUTOSAR기반 아키텍쳐 모델링, System/Network 모델링 솔루션, 모델링 자동화 구축, ARXML 생성
광고
차량용 인프라 소프트웨어, 커넥티비티 및 보안, 자율 주행 및 관련 기술과 사용자 경험
광고
Find out more about the future of automotive software, cybersecurity, and autonomous cars.






댓글 없음:

자동차 전면 유리 제상(Defrost/De-icing) 성능”**을 ANSYS Fluent로 해석 ///

 아래는 **“자동차 전면 유리 제상(Defrost/De-icing) 성능”**을 ANSYS Fluent 로 해석해서 설계(성능 예측 + 형상/조건 최적화)까지 가는 실무형 해석 설계안 입니다. (목표: “몇 분 안에, 어느 면적이, 어느 정도로 맑아...