Zibb
Subscribe to Control Engineering
FirstLight
Email
Print
Reprint
Learn RSS

Get personal for quality

Dennis Brandl, BR&L Consulting -- Control Engineering, 9/1/2005

Although organizational capability is important when it comes to programming control applications, individual capability is critical to a quality product. It is not uncommon to see 10 to 1 differences in errors per thousand lines of code between the best and worst software developers, and the best and worst development teams. Because the process with the lowest quality determines the quality of the end product, fewer individual errors result in more predictable releases and higher productivity.

The Software Engineering Institute's (SEI) Capability Model is good for helping an organization develop software on time and on budget, however it doesn't provide a lot for the individual control engineer or development team. Fortunately, SEI developed two additional processes—personal software process (PSP) for individuals to improve their personal processes and team software process (TSP)—to help development teams improve.

Watts Humphrey, the "2005 National Medal of Technology Laureate," developed PSP. Most professional engineers strive to improve the quality of their work and PSP shows software professionals how to approach their tasks in a professional manner. PSP brings a rigor to personnel processes by defining how to measure your own performance, track changes, analyze problems, learn from mistakes, and update personal processes based on lessons learned. TSP brings the same rigor to software teams.

It is easy to fall into bad habits in software development. Everyone makes some mistakes during development, but few systematically learn from the mistakes so as not to repeat them. Yet, learning from mistakes and improving the process is the basis for quality improvements. For example, you may find that, during unit testing, you are consistently discovering the same errors, such as un-initialized variables in C, reuse of latches in ladder, incomplete detailed design, misspelled variables, or an incomplete understanding of the proper control algorithm. PSP teaches you how to learn from these mistakes and modify processes to reduce or eliminate future errors. This might involve earlier testing of smaller elements, external reviews, or earlier code walkthroughs. It is up to you to change your development process to remove the source for errors or find them earlier.

SEI provides a self-study PSP manual. This is not for the faint of heart; improving your own work is a long process, but worth the journey. Improvements don't come easily, especially if you have been designing and implementing software your own way for a long time. The self-study guide works best when you are working on one or more large projects. It requires you to keep measures, through logs of all stages of a project (planning, designing, coding, compiling, testing, and maintaining). The logs allow you to establish a quality baseline; measure estimates of sizes, resources, and schedules; and practice defect and yield management.

The reward for this hard work is better ability to meet commitments by correctly estimating and planning your work. Engineers taking PSP training have reduced schedule estimating errors from an average of 350% (work took 3.5 times longer than expected) to less than 10%. Total defects per thousand lines of code were reduced by more than 75%.

TSP provides similar process improvement tools to team managers focusing on self-directed teams. It stresses team development of schedules and estimates. Software managers are considered coaches that motivate the team to maintain a focus on quality and excellence. TSP provides tools to help manages follow the process, gather data, analyze results, and make corrections. PSP and TSP together provide a basis for quality development.

Additional information is available at www.sei.cmu.edu/tsp in the paper "PSP: A Self-Improvement Process for Software Engineers."


Author Information
Dennis Brandl, dbrandl@brlconsulting.com, is the president of BR&L Consulting, a consulting firm focusing on manufacturing IT solutions, based in Cary, N.C.

Email
Print
Reprint
Learn RSS

Talkback

We would love your feedback!

Post a comment

» VIEW ALL TALKBACK THREADS

Related Content

Related Content

 

By This Author

Sponsored Links

 

Advertisement
SPONSORED LINKS

More Content

  • Blogs
  • Discussions
  • Webcasts
  • Podcasts
  • Videos

Blogs

  • Matt Luallen and Steve Hamburg of Encari
    Industrial Cyber Security

    November 17, 2008
    NIST SP 800-82 Guide to Industrial Control Systems Security
    The National Institute of Standards and Technology has posted the Final Public Draft of NIST SP 800-82, Guide to Industrial Control Systems (ICS) S......
    More
  • Peter Welander
    Pillar to Post: Peter Welander's Blog

    November 14, 2008
    Engineers can't light a light bulb?
    Last evening my wife told me about a video she'd seen where a group of MIT engineering graduates showed that they could not figure out how to solve......
    More
  • View All BlogsRSS

Webcasts

Engineering-driven Ethernet
This Control Engineering Roundtable Webcast will address the engineering issues you should be aware of when exploring the adoption of Ethernet or when looking to expand its use in your facility.

Bridging gaps with wireless
Discover how you can create stronger, flexible and cost-effective wireless connections for your entire plant. Register today!

View All Webcasts
Advertisements





NEWSLETTERS

Get engineering industry news, trends, and business-critical information delivered directly to your inbox!

Click on a title below to learn more.

Weekly News (Weekly)
Process Instrumentation & Sensors (Monthly)
System Integration Monthly (Monthly)
Process & Advanced Control (Monthly)
Machine Control (Monthly)
Information Control (Monthly)
Automation Control (Monthly)
Product Review (Monthly)
Simplified Safety
Fieldbus Facts
PROFInews North American Edition
About Us   |   Advertising Info   |   Site Map   |   Contact Us   |   Useful Sites   |   FREE Subscription   |   RSS
© 2008 Reed Business Information, a division of Reed Elsevier Inc. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy
Please visit these other Reed Business sites