Embeddable fuzzy-logic-toolkit software for Tcl/Tk
NASA Tech Briefs, Oct 2002
Software
Advantages include minimal cost, versatility, and relative simplicity.
Lyndon B. Johnson Space Center, Houston, Texas
A computer program of the fuzzy-logic-- toolkit type has been developed as a relatively simple, portable, highly compatible, means of providing fuzzy-logic reasoning capabilities for control and expert-system applications. This program is designed to work with the high-level scripting language Tcl/Tk and to invoke the access-to-- data capabilities of an information-sharing protocol (ISP). This program supplies the numerous functions necessary for effective utilization of fuzzy-logic reasoning methods and overcomes many disadvantages of other fuzzy-logic toolkits. The program, written in the C language, is relatively small, portable, efficient, and embeddable. Better yet, this program is flexible in that it includes a source code that can be improved or developed to add further capabilities and features. The most commercially advantageous feature of the program is that it is available essentially without cost. With the help of this program, users can learn how to write fuzzy-- logic programs for real applications.
This software is based partly on the FuzzyCLIPS software, which was developed by the National Research Council of Canada by modifying a prior Johnson Space Center software innovation known as CLIPS (for C Language Integrated Production System). FuzzyCLIPS is written in the C language and contains a source code that is freely available to users. In addition, FuzzyCLIPS was also designed to be embeddable in other application programs, making it most suitable for the development of toolkit-type software.
In the development of the present fuzzy-logic-toolkit program, the Fuzzy-- CLIPS source code was combined with an interface code, thereby registering Fuzzy-- CLIPS functions with Tcl commands while at the same time converting data types between the two codes as necessary. In the end, 13 commands were created to provide access to FuzzyCLIPS from within Tcl.
Other programs were then developed as test cases to demonstrate the capabilities of this fuzzy-logic-toolkit program. In one case, a simple shower-control problem, provided with the original Fuzzy-- CLIPS software, was used to exhibit the ability of the toolkit program to incorporate fuzzy logic into a control application program. Another case, more relevant to NASA's needs, the use of fuzzy-logic control with ISP telemetry data was demonstrated. In this demonstration, ISP data were presented to the user with a graphical display created by use of the Tk software. During each cycle of ISP data, a fuzzy-logic control procedure was invoked, and the results of this invocation were displayed. The degrees of membership of input and output data in fuzzy sets were also presented graphically to users.
In both the aforementioned test cases and in use at NASA, the versatility of this fuzzy-logic-toolkit program has been demonstrated. The main benefit that it affords to NASA is an ability to create more "intelligent" flight-control displays. Beyond NASA, this software can be used to create displays that make background use of fuzzy-logic reasoning while at the same time presenting the resuits of an expert system (e.g., a diagnostic system) in the foreground.
This program was written by John C. Limroth of Rockwell International for Johnson Space Center. For further information, contact the Johnson Commercial Technology Office at 281-483-3809. MSC-22730
- 5 Rules for Immediate Annuities
- Death in the Family: 12 Things to Do Now
- Dumbest Things You Do With Your Money
- 6 Online Networking Mistakes to Avoid
- 401(k) Mistakes to Avoid
- 5 Economic Scenarios to Keep You Up at Night
- The Real ‘Best Places to Retire’
- Best Credit Cards for You
- 12 Tough Questions to Ask Your Parents
- The Real ‘Best Colleges’
- Home Buyer Tax Credit: How to Cash In
- Why You Shouldn't Bash Cash
- 8 Phony 'Bargains' and Better Alternatives
- Danger: 3 Debit Card Scams to Avoid
- 6 Myths About Gas Mileage
- 29 Fees We Hate Most
- Quick and Easy Ways to Boost Returns
- Best Stocks to Buy Now
- Lower Your Taxes: 10 Moves to Make Now
- New Jobs: 8 Lessons from Real-Life Career Switchers
- The New Job Market: Who Wins and Who Loses?
- Health Care Reform's Public Option: Everything You Need to Know
- Volunteer Work When Unemployed: Should You Work for Free?
- Whose Recovery Is This?
- Long-Term-Care Insurance: 4 Biggest Risks to Avoid
Content provided in partnership with
Most Recent Reference Articles
Most Recent Reference Publications
Most Popular Reference Articles
- A world without nuclear weapons?
- 9 questions to ask your new lover: what you were afraid to ask, but always wanted to know
- How Tyler Perry rose from homelessness to a $5 million mansion
- Rejoice anyway - Zephaniah 3:14-20, Philippians 4:4-7 - Living by the Word - Column
- BEST HAIR SALONS in DALLAS, The




