How to control MR damper through Matlab program?

8 views (last 30 days)
Hi all
I made a Matlab script that will calculate how much current I need for controlling a MR damper. Now anybody can help me to figure out how can I feed this value to the hardware i.e. MR damper to pass the required current ?
Thanks in advance.
  3 Comments
Sam Chak
Sam Chak on 11 Nov 2022
@Ahmed Adel. What code are you looking for? The control code? Or the MR Damper model written in MATLAB code?

Sign in to comment.

Answers (2)

Walter Roberson
Walter Roberson on 11 Sep 2013
What does the hardware need to be fed? An output wire with the calculated current? A few bytes of binary data that the hardware will interpret as indicating what current level to use? A plain string containing the decimal expansion of the current level to use? A specific "change current" command such as "CUR" followed by the level?
In any but the direct output wire case, we need to know what the data transport is between the computer and the hardware. True serial port? Parallel port? USB emulating serial port? GPIB? VISA over GPIB over USB? Direct digital signal through a DIO (Digital I/O) board connected to a signal generator ?
In the case of the direct output wire, you will need a DAQ (Digital to Analog). A fair number of those use voltage levels, but some of them can be configured to output current levels. You would probably in that case need to use a National Instruments board and use Mathwork's Instrument Control Toolbox in "session mode" which might require using a 64 bit version of MATLAB.

Kimbugwe  Daniel
Kimbugwe Daniel on 7 Jul 2023
Edited: Kimbugwe Daniel on 7 Jul 2023
I am having trouble writing a code in MATLAB to control seismic and white noise vibrations of a 20 storey frame structure subjected to LA ground motions using a Tuned Inerter Damper with know masses and stiffnesses . Can anyone help me
  9 Comments
Sam Chak
Sam Chak on 18 Jul 2023
First things first, please open a question and post the mathematical model (ODE) of the Bouc–Wen MR Damper. Without mathematically analyzing the ODE, there is no guarantee that the PID controller would work. From the math equations, please describe about the variable (symbol) that you want to control. By the way, what do M and R stand for? What does the damper do (to dampen some liquid or solid or gas)?
Rishikesh
Rishikesh on 19 Jul 2023
Hello sam
Sorry for the partial information. MR stands for mangnetorehological fluid which is used in MR damper and the MR fluid in damper acts as a liquid possessing properties when provided with a magnetic field depending on the current value it converts in semi solid or solid. The stiffness of the fluid continoulsy varies with the indudced field. PID control is required for us to provided required current to the system

Sign in to comment.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!