Swings in volatile energy and food prices will have minimal impact on inflation as long as expectations about inflation are held steady, Federal Reserve Chairman Ben Bernanke said on Tuesday.

"If inflation expectations are well anchored, changes in energy (and food) prices should have relatively little influence on 'core' inflation, that is, inflation excluding the prices of food and energy," Bernanke said in the text of a speech prepared for delivery to the National Bureau of Economic Research in Cambridge, Mass.