I am building a control system with the Modelica Standard Library. But I got trouble in tuning the parameters in the PID system,so I wanna use a library that could do auto-tuning for the PID system. After some searching on Google, it seems there is no such a library in Modelica.
My question: Could anyone recommend an auto-tuning library for the PID system?
You should take a look at Modelica IndustrialControlSystems (https://github.com/mbonvini/IndustrialControlSystems). It has some autotuning PID blocks.
Best regards Rene Just Nielsen
Related
I'm researching how ROS is implementing operating services like: including hardware abstraction, low-level device control, implementation of commonly-used functionality,message-passing between processes and package management. Every where I read something about ROS this is stated in the intro but not explained clearly.
Does anyone now how they are implemented or a good source where I can find more information about this? :)
Noob question but I'm trying to figure out which API the Matlab Trading Toolbox uses so that I can refer to the proper guide.
The Matlab website says to refer to the Interactive Brokers API guide for details on how to implement a trading system.. http://www.mathworks.com/help/trading/ibtws.createorder.html#inputarg_ibContract
However, when I open the Interactive Broker's guide there are a few versions, such as one for ActiveX, Java, and C++. Which should I use?
https://www.interactivebrokers.com/en/software/api/api.htm
Thanks
Ben
Well, in the link you provided there really isn't any information about MATLAB. I would recommend the IB-MATLAB interface at undocumented MATLAB.
The MathWorks Trading Toolbox uses IB's ActiveX API (this is the reason that it only works on Windows).
On the other hand, IB-Matlab uses the Java-based API.
I need a simple example like an echo server as a FreeBSD kernel module (or syscall).
I have seen OpenKETA, but it has a large code, it's too difficult to understand and use it.
Is there a simple example?
Not sure what you're trying to accomplish, and not to advertise, but based on the question, I'd suggest getting a copy of Designing BSD Rootkits and FreeBSD Device Drivers. I've read both and I think they will help you.
You probably want to take a look at documentation for sosend(9) family of functions (man 9 sosend). Those are the kernel routines to operate on sockets.
I have experience with Simulink and CANbus interfaces for both simulation and code generation... but I really like open source. For quite awhile Octave has qualified as a MATLAB replacement (at my usage level) but I just recently found out about Modelica. I have yet to find any information about any blocksets (what term does Modelica tend to use?) for CANbus other than the broken link for Exite from Extessy.
Can anyone provide personal experience or a reference to information on using Modelica with CANbus? I know that I could write my own blockset, but it seems like the sort of thing someone else would already have done.
The best reference I could find on this topic was this paper. It was apparently developed as part of the EuroSysLib project. I do not know if it is publicly available anywhere. I would suggest you contact the authors.
another option for simulation of entire ECUs, including CAN is described here:
http://qtronic.de/en/index_news_12_6_ATZ.html
See paper "Building Virtual ECUs Quickly and Economically" in the June 2012 issue of ATZ electronic. Use Modelica to build vehicle simulation models for export as FMU,
and the Silver Basic Software (SBS) to configure CAN emulation based on DBC files,
and run both parts closed-loop in Silver.
Is there any book/resource that one can refer to, to be able to write programs at kernel/system level.. I'm looking for a programming book that could serve as a guide to write kernel codes / system level programming etc..
I have Tannenbaum's Design and Implementation. It addresses theoretical aspects well .But a book that teaches programming in such topics would be helpful. I want to be capable of implementing thread library, scheduler et al ..
thanks
I would like to suggest both the books by Robert Love. I've read a bit of the first one and its excellent. The latter was recommended by a friend.
Linux Kernel Development
Linux System Programming: Talking Directly to the Kernel and C Library
There is one good website by the Technical editor of Book Linux Kernel Development,
Robert P J Day (he is different from Robert Love)
and the website is
http://crashcourse.ca/introduction-linux-kernel-programming/introduction-linux-kernel-programming
Once you are done with above link I would suggest to go through
http://www.freesoftwaremagazine.com/articles/drivers_linux
and then there is a Kernel Newbies mailing list.You should subscribe to it.
Try the nice "Understanding the Linux Kernel" by O'Reilly. While Linux-specific sometimes, the basic concepts are the same everywhere.