“MathWorks tools made it easy for us to test ideas, introduce new algorithms, and compare one controller against another without having to think about implementation details. We could quickly change the structure of the controller and immediately see the results. The ability to perform rapid iterations enabled us to optimize quality and functionality while greatly reducing development cycle time.”
Thomas Debes, manroland
As the world’s second largest manufacturer of printing systems and market leader in web-fed offset, manroland AG has been driving innovation in print technology for more than 160 years. To meet customer demands for further advances in print quality, including improved image clarity and more accurate positioning of the image on the page, manroland needed a new approach to design—one that would enable them to try out multiple ideas and integrate testing with design. Today, they develop high-precision controllers using MathWorks tools for Model-Based Design.
“We had reached the limits of what we could achieve with our existing design processes and software,” notes Thomas Debes, lead software engineer at manroland. “We needed a solution that would enable us to achieve new levels of quality. With MathWorks software, we can very quickly test new ideas and control algorithms and then bring those algorithms into our production systems.”
On a recent project, manroland engineers sought to improve the accuracy of the cut registers on one of the company’s commercial printers. Cut registers position the printed material beneath roller blades before it is cut into individual pages. For high-quality print magazines, cuts must be accurate to within 0.3 mm. Because the printed material travels through the printing press at speeds of up to 15 meters per second, the control algorithm has just 10 milliseconds to position the cut register. “To deliver the required speed and accuracy, we would have needed to completely rewrite our existing control software,” Debes says.
manroland engineers needed a development environment that would enable them to test new control algorithms, simulate and compare designs, and rapidly build a real-time controller for final testing and deployment.
manroland used MathWorks tools for Model-Based Design to design, test, and implement a production-ready control system for the cut registers on its state-of-the-art printing press.
Working in Simulink®, the project team built a plant model of the press that incorporated performance data gathered from an operating press. They then developed a Simulink model of the control system based on a proportional integral derivative (PID) controller and conducted open-loop testing of several control strategies to identify the optimal approach. The model incorporated counter and filter blocks from DSP System Toolbox™. Stateflow®, and Simulink Coder™ were used to implement a finite state machine to control the operational states.
After linking the plant model with the controller model, the engineers ran closed-loop simulations in Simulink to validate the controller. When they were confident that the controller met the functional requirements in non-real-time simulations, manroland engineers used Simulink Coder to generate C code from the plant and controller models.
Using Simulink Real-Time™, they ran real-time simulations, executing the plant model code on a standard PC and the controller model code on a second PC. The two systems communicated via User Datagram Protocol (UDP) and a fieldbus.
In the controller model, the engineers used Simulink to implement a TCP/IP interface that enabled them to remotely configure set point values, such as machine speed, from a third computer.
They used the Simulink plant model to simulate abnormal press behavior, which is often difficult to reconstruct on real hardware. “We were able to test the controller under many error conditions that we would not otherwise have been able to test,” says Debes.
The engineers optimized performance by fine-tuning the controller model and then re-generating and deploying the controller using Simulink Coder and Simulink Real-Time.
They then disconnected the Simulink Real-Time PC from the plant model and reconnected it to the production printing press at a manroland customer site using the same fieldbus and network interface. Because the simulations were so accurate, the controller immediately worked as designed in the production environment, and has consistently met the customer’s specifications for error rate, accuracy, and response time.
Implement a new design process to support development of a precision controller for a state-of-the-art commercial printing press
Use MathWorks products for Model-Based Design to design and model the controller, run real-time simulations, and deploy a production system