Computer Networking > QUESTIONS & ANSWERS > EECS 461 Embedded Control - University of Michigan _ EECS 461 Problem Set 6: SOLUTIONS1 (All)

EECS 461 Embedded Control - University of Michigan _ EECS 461 Problem Set 6: SOLUTIONS1

Document Content and Description Below

EECS 461 Embedded Control - University of Michigan _ EECS 461 Problem Set 6: SOLUTIONS1 1. Consider the CAN network in the lab, with 6 lab stations working in pairs to implement 3 haptic interfaces... . Each lab station will read the encoder every T seconds, and write this value to the network. The partner lab station will take the encoder value, use it to compute a reaction torque, and transmit the reaction torque to the network. The torque value will be received by the original lab station, and used to update the PWM duty cycle that controls the motor. With 3 virtual walls implemented, it will thus be necessary to transmit 6 messages on the CAN bus every T seconds. Recall that a CAN message containing the maximum 64 bits of data will actually be 111 bits long due to overhead bits. Furthermore, with high speed CAN (500 kbit/sec) it takes 2µs = 0.002 msec to transmit 1 bit on the CAN bus. If the effects of bit-stuffing are considered, there are additional bits that need to be added after every sequence of 5 bits of identical polarity, except in the CRC delimiter, ACK, EOF, and INT fields. Hence, there is a worst case maximum of b 34+#data bits 4 -1 c stuff bits in the CAN message. (The numerator of this formula follows because only 34 of the non-data bits are potentially eligible for bit-stuffing. The denominator is equal to 4 because each stuff bit may itself be the first bit of a 5 bit sequence.) 2. Low speed CAN (125 kbit/sec) is implemented with different hardware than is high speed CAN. In this problem, we will see how to configure our (high speed) FlexCAN module to run at 125 kbit/sec, and estimate CAN bus loading at this lower speed. [Show More]

Last updated: 1 year ago

Preview 1 out of 2 pages

Add to cart

Instant download

document-preview

Buy this document to get the full access instantly

Instant Download Access after purchase

Add to cart

Instant download

Reviews( 0 )

$9.50

Add to cart

Instant download

Can't find what you want? Try our AI powered Search

OR

REQUEST DOCUMENT
35
0

Document information


Connected school, study & course


About the document


Uploaded On

Apr 09, 2023

Number of pages

2

Written in

Seller


seller-icon
PAPERS UNLIMITED™

Member since 2 years

484 Documents Sold


Additional information

This document has been written for:

Uploaded

Apr 09, 2023

Downloads

 0

Views

 35

Document Keyword Tags

More From PAPERS UNLIMITED™

View all PAPERS UNLIMITED™'s documents »
What is Browsegrades

In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Browsegrades · High quality services·