most likely one or more of your car's engine's cylinders is misfiring. this will throw the engine off balance. it could be that the mass airflow sensor isnt working or the spark plug or distributor could be malfunctioning. also if you use fuel with a low octane rating in a car that was made for a higher octane fuel it could cause the knocking. what fuel do you use?