Robert G. Baron, 55, a former executive for the IBM Corp. in Washington who worked on government projects and later founded his own electronics firm in California, died Aug. 30 at Stanford University Hospital in Palo Alto, Calif., following a heart attack.

Mr. Baron, who was born in New Haven, Conn., served in the Navy during World War II and then went to the University of Connecticut, where he graduated in 1950 with a bachelor's degree in science. After working in New Jersey for a year, he went to Columbia University, where he took a master's degree in electrical engineering and worked in the university's technical department.

In 1955, he joined IBM in New York. He was in charge of a Navy and Marine engineering systems program when he was transferred to IBM's Washington offices in 1965.

While here, Mr. Baron worked on a research program that led to the establishment to the Seismic Array Analysis Center. He later held management positions in IBM's federal systems division, working primarily on communications and Naval oceanic surveillance systems.

In 1974, he resigned from IBM and moved from his home in Bethesda to Mountain View, Calif. He established Lombard Systems Inc., an electronics firm, and was president of the company until his death.

Mr. Baron was a member of the Institute of Electrical and Electronics Engineers, the American Geophysical Union and the American Association for the Advancement of Science.

His marriage to Margaret Hunter Baron ended in divorce. Mrs. Baron, who lived in Rockville, died on Aug. 16.

Mr. Baron's survivors include his wife, Francis, of Mountain View; four children by his first marriage, Caroline B. Avery of Crofton, Lynn B. Foster of Wheaton, Robert G. II, of Tampa, Fla., and Thomas J., of Sunnyvale, Calif.; his mother, Blanche G. Baron of Bethany, Conn., and three grandchildren.

The family suggests that expressions of sympathy be in the form of contributions to Stanford University Hospital, Palo Alto, Calif.