Implementation of Real-Time Communication in CAN for a Humanoid Robot

CAN 기반 휴머노이드 로봇의 실시간 데이터 통신 구현

  • 권선구 (인하대학교 전기공학과) ;
  • 김병윤 (인하대학교 전기공학과) ;
  • 김진환 (인하공업전문대학 전기정보과학과) ;
  • 허욱열 (인하대학교 전자전기공학부)
  • Published : 2006.01.01

Abstract

The Controller Area Network (CAN) is being widely used for real-time control application and small-scale distributed computer controller systems. When the stuff bits are generated by bit-stuffing mechanism in the CAN network, it causes jitter including variations in response time and delay In order to eliminate this jitter, stuff bits must be controlled to minimize the response time and to reduce the variation of data transmission time. This paper proposes the method to reduce the stuff bits by restriction of available identifier and bit mask using exclusive OR operation. This da manipulation method are pretty useful to the real-time control strategy with respect to performance. However, the CAN may exhibit unfair behavior under heavy traffic conditions. When there are both high and low priority messages ready for transmission, the proposed precedence priority filtering method allows one low priority message to be exchanged between any two adjacent higher priority messages. In this way, the length of each transmission delays is upper bounded. These procedures are implemented as local controllers for the ISHURO(Inha Semvung Humanoid Robot).

Keywords

References

  1. 전종만, 김대원, '메시지 지연시간을 고려한 CAN 기반 피드백 제어시스템의 응답특성 분석', 대한전기학회 논문지, 제51D권, 5호, pp. 190-196, 2002
  2. 이병훈, 김홍렬, 김대원, 'CAN 기반 실시간 시스템을 위한 학장된 EDS알고리즘 개발', 대한전기학회 논문지, 제51D권, 7호, pp. 294-301, 2002
  3. K.W. Tindell, H. Hansson and A.J. Wellings, 'Analysing real-time communications: controller area network (CAN)', in Proceeding of Real-Time Systems Symposium, pp. 259-263, 1994 https://doi.org/10.1109/REAL.1994.342710
  4. G.C. Walsh and Y. Hong, 'Scheduling of networked control systems', IEEE Control Systems Magazine, vol. 21, No.1, pp. 57-65, 2001 https://doi.org/10.1109/37.898792
  5. CAN Specification version 2.0, BOSCH, pp. 42-44, sep, 1991
  6. N.C. Audsley, A. Burns and A.J. Wellings, 'Deadline monotone scheduling theory and application', lFAC J. Contr. Eng. Practice, vol.1, No.1, pp. 71-78, 1993 https://doi.org/10.1016/0967-0661(93)92105-D
  7. M.D. Natale, 'Scheduling the CAN bus with earliest deadline techniques', in Proceeding of Real-Time Systems Symposium, pp. 259-268, 2000 https://doi.org/10.1109/REAL.2000.896015
  8. K.M. Zuberi and K.G. Shin, 'Non-preemptive scheduling of messages on controller area network for real-time control applications', in Proceeding of Real-Time Technology and Applications Symposium, pp. 240-249, 1995 https://doi.org/10.1109/RTTAS.1995.516221
  9. K.M. Zuberi and K.G. Shin, 'Design and implementation of efficient message scheduling for controller area network', IEEE Transactions on Computers, vol. 49, No.2, pp. 182-188, 2000 https://doi.org/10.1109/12.833115
  10. S. Punnekkat, H. Hansson and C. Norstrom, 'Response time analysis under errors for CAN', in Proceeding of Real-Time Technology and Applications Symposium, pp. 258-265, 2000 https://doi.org/10.1109/RTTAS.2000.852470
  11. L.M. Pinho and F. Vasques, 'Reliable real-time communication in CAN networks', IEEE Transactions on Computers, vol. 52, No. 12, PP. 1594-1607, 2003 https://doi.org/10.1109/TC.2003.1252855
  12. K.W. Tindell, A. Burns and A. Welling, 'Calculating Controller Area Network(CAN) Message Response Time', Control Engineering Practice, vol. 3, No.8, pp. 1163-1169, 1995 https://doi.org/10.1016/0967-0661(95)00112-8
  13. S.H. Hong and W.H. Kim, 'Bandwidth allocation scheme in CAN protocol', in lEE Proceeding of Control Theory and Applications, vol. 147, No. 1, pp. 37-44, 2000 https://doi.org/10.1049/ip-cta:20000126
  14. T. Nolte, H. Hansson and C. Norstrom, 'Probabilistic worst-case response-time analysis for the controller area network', in Proceeding of Real-Time and Embedded Technology and Applications Symposium, pp. 200-207, 2003 https://doi.org/10.1109/RTTAS.2003.1203052
  15. B. Kao and H. Garcia-Molina, 'Deadline Assignment in a Distributed Soft Real-Time System,' IEEE Transactions on Parallel and Distributed Systems, vol. 8, No. 12, pp. 1268-1274, 1997 https://doi.org/10.1109/71.640019
  16. K.G. Shin, 'Real-time communications in a computer-controlled workcell', IEEE Transactions on Robotics and Automation, vol. 7, No.1, pp. 105-113, 1991 https://doi.org/10.1109/70.68074
  17. 구자봉, 허욱렬, 김진걸, 김병륜, 'CAN내장 휴머노이드 로봇에 대한 진보된 우선순위 적용', 대한전기학회논문지, 제 53D권, 10호, pp. 714-719, 2004
  18. 최호식, 이장명, 'CAN 네트워크상의 효율적인 대역 할당을 위한 분산 선행대기 열 기법', 제어 자동화 시스템 공학 논문지, 제 10권, 11호, pp. 1058-1064, 2004 https://doi.org/10.5302/J.ICROS.2004.10.11.1058
  19. CANopen Application Layer and Communication Profile, CiA Draft Standard DS301, Rev. 4.01, June 2000