Premium Only Content
PWM frequency test of real model trains
The default PWM sampling frequency for ATmega328 and ATmega2560 is from 500 to 1000 Hz, depending on the selected GPIOs and Timers of MCU. These frequencies are in the sound range, and you can hear the unpleasant squeak of the engine of the locomotive, especially at the start moving. Preconceived opinions of some modelers is the need to set the PWM sampling frequency above 16 kHz so that this squeak is not audible. This is the wrong opinion – the higher the PWM frequency, the worse the traction characteristics of the DC motors.
My experience gained as a result of my own experiments is confirmed by manufacturers of model locomotives with DCC control – do not increase, but rather lower the frequency. The frequency of the PWM on DCC decoders is about 100 Hz.
This video shows the relationship between the frequency change and the movement of the locomotive
-
9:24
Inspector Gadget
3 years ago $0.02 earnedBest of 3-rail O-gauge Model Trains
193 -
2:35
JKLAW
3 years agoModel Trains circa 1900
34 -
29:21
Model Trains
4 years ago $0.05 earnedModel Trains Running Complation 2
2581 -
2:46
Throwingbull
3 years ago $0.03 earnedModel Trains at the B&O Railroad Museum
1011 -
0:32
CSXOhio RailFan Plus
3 years agoMedina Model Railroad & Toy Show Model Trains Part 7 From Medina, Ohio December 6, 2020
611 -
12:08
CSXOhio RailFan Plus
3 years agoMedina Model Railroad & Toy Show Model Trains Part 8 From Medina, Ohio December 6, 2020
411 -
1:03
CSXOhio RailFan Plus
3 years agoMedina Model Railroad & Toy Show Model Trains Part 6 From Medina, Ohio December 6, 2020
532 -
2:20
CSXOhio RailFan Plus
3 years agoMedina Model Railroad & Toy Show Model Trains Part 5 From Medina, Ohio December 6, 2020
97 -
5:49
CSXOhio RailFan Plus
3 years ago $0.02 earnedMedina Model Railroad & Toy Show Model Trains Part 4 From Medina, Ohio December 6, 2020
493 -
1:54
CSXOhio RailFan Plus
3 years agoMedina Model Railroad & Toy Show Model Trains Part 2 From Medina, Ohio December 6, 2020
431