Group Abstract Group Abstract

Message Boards Message Boards

0
|
10.8K Views
|
8 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

New to SystemModeler - How do I smooth acceleration?

Posted 11 years ago

Hello. I'm new to SystemModeler. I'm attempting to learn the software with highly simplified experiments/models. At the moment, I'm trying to model a rotating a mass that is moved by a prismatic joint (representing a simplified hydraulic cylinder) as shown in Image1. Cartoon of mechanical arrangement to be modeled

With a combiTimeTable and position source, I animated the model. The smoothness of the combiTimeTable was set to ContinuousDerivative. The relative distance between the prismatic joint's frames, s, is shown below in Image2. This is a screen grab in Simulation Center. This is, indeed, the profile that I intended to input.

enter image description here

The velocity profile of the prismatic joint, v, is about what I expected it to be as displayed in Simulation Center. (Please see Image3) As you can see, the initial position profile that I built in Excel for the combiTimeTable is based upon nearly constant acceleration and deceleration. The velocity profile isn't quite as smooth as I'd like it to be at the end of the acceleration phase and at the start of the deceleration phase, but things here aren't horrible. My main concern relates to the acceleration profile.

enter image description here

And here is the meat of my question... When I plot the prismatic joint's acceleration, a, I get a very noisy plot. Considering my use of a combiTimeTable to control the length of the prismatic joint, can I control the filtering/averaging of the prismatic joint's acceleration? I'm quite sure I'm doing something foolish here. Thanks in advance for any help/advice that might be offered.

enter image description here

POSTED BY: Dave F
8 Replies
Posted 10 years ago

Hello Johan. I just finally found time to check your suggestion. It worked perfectly. You just helped me better understand where and when to use position, velocity, and accelerate to "drive" motions with combiTimeTables. Thank you.

I have a few more things that I'm trying to sort out. If I can't these things sorted through on my own today - I may post about these stumbling blocks soon.

Again, thank you for so kindly helping me get past my combiTimeTable confusion.

Dave

POSTED BY: Dave F
Posted 10 years ago

Dave, after looking at your spreadsheet I see that you start by defining the acceleration and then calculate the speed and position from that. In that case I'd use an Accelerate component, with: Modelica.Mechanics.Rotational.Sources.Accelerate accelerate(phi.start = 3.141592) and "drive" the model that way.

Attachments:
POSTED BY: Johan Rhodin
Posted 10 years ago
POSTED BY: Dave F
Posted 10 years ago
Attachments:
POSTED BY: Johan Rhodin
Posted 10 years ago
Attachments:
POSTED BY: Dave F
Posted 11 years ago

Hello Johan,

I am very sorry about this delayed response. I tried to reply about a week ago and after considerable work my computer crashed and everything was lost. Since then, I have been completely tied up with pressing work issues and haven't had the time to send a proper response. Things are still crazy here, but I will respond as soon as I can. Thanks.

Dave

POSTED BY: Dave F
Posted 11 years ago

The timetable is forcing the movement very hard. You can add a spring damper and some friction between it and the prismatic joint. Uploading your model would help bring in more advice.

POSTED BY: Johan Rhodin
Posted 11 years ago
POSTED BY: Dave F
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard