
Visit our shop for nerds in control lifestyle products.
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
www.control.com/rss/
To get a personalized feed, become a member at no cost.
When it is time to implement this beautiful exercise on the process, you have a powerful cpu of Siemens S7-300 PLC (equipped with the PID module, I/O etc.).
Now, my question is: how do you put into the PLC all these beautiful transfer functions, filters, etc.?
AS far as I can see, I can input the P, I, D parameters in the PID block, but.. what if I want to add a filter, or a pole/zero cancellation?
Is there a way to accomplish it?
It is probably a naive question, but I have been thinking about it for weeks now, and can't figure out any solution.
Thank you very much for your kind interest!
Translate your beautiful stuff into z-domain (discrete) and if possible try to go with fixed point math (for performance reasons). To be in sync with data sampling run all calculations in a hardware interrupt OB fired by end
of conversion of an AI module.
Regards,
Jacek Dobrowolski, M. Sc. E.E.
Software Eng.
I agree with Jacek Dobrowolski's post, and add the following:
The PID function included in most modern PLCs is not easily modified for arbitrary transfer functions. When I've done digital domain realizations of transfer functions, I've done the whole job myself, not using the PID instruction at all.
On the other hand, most of those projects were four to six degree of freedom motion platforms for various training and entertainment simulators--- hardly a common use for PLCs. It sounds like you are doing one of those unusual projects.
I can also tell you that ladder logic is a terrible environment for programming matrix manipulations, and complex math in general. You might find it easier to prototype/test your code in a statement language and then convert it into your target language. I prototyped my first project like this in QuickBASIC (!!!) and then converted it into A-B PLC-5 ladder logic. If you have the Statement List language available on your S7, that might be an easier environment for your project.
Hope this helps!
Larry Lawver Rexel / Central Florida
gabrielv@usa.com
Saying "another type of system" you mean "other than PLC" or "other than Siemens" ?
Jacek Dobrowolski, M. Sc. E.E.
Software Eng.
<">
- ABCs of SBCs: Single board computers for embedded control; Lego learning
- Less, more: NEMA cites less confidence; NAM sees more exports of manufactured goods
- Free webinar on Zigbee for embedded systems
- Better together? Ametek, Dresser-Rand, IntervalZero, Rexroth make acquisitions
- You need 2 monitors: This Website will prove it
- Preview: Mitsubishi iQ controls sequence, motion, process, CNC, robotics; has connectivity
- 30 new Rockwell Automation products integrate hardware, software
- Software certified by AT&T: Runs on PDAs, cellphones, enables mobile applications
- Research: HMI supervisory software use increases with service needs
- Process modeling: Spreadsheets support multiphase flow simulation
Patronize our advertisers!




