@@ -11,6 +11,35 @@ microcontroller core.
1111with minimal
1212
1313
14+ ## Theory of Operation
15+
16+ This is a general overview of the application. A more complete explanation can
17+ be found in the associated Appllication Note.
18+
19+ Numerically Controlled Oscillators are a peripheral which work by creating
20+ an output frequency which is a precise fraction of the input frequency.
21+ This project makes use of three NCOs, a master NCO which determines overall speed,
22+ and a slave NCO for each axis which determines the proportion of speed,
23+ as shown below.
24+
25+ ![ CNC Overview] ( images/cnc.png )
26+
27+ For instance, if the goal is to move 200 mm in the X axis, and 100 mm in the Y
28+ axis, the X NCO can be set to produce twice the frequency of output as the
29+ Y NCO. This means that that X will move twice as fast, and therefore cover twice
30+ the distance.
31+
32+ Additionally, because both frequencies are a function of the master
33+ frequency, if the master frequency is doubled, the speed in both axes will be
34+ doubled, while maintaining the same proportion (e.g X will still be going twice
35+ as fast as Y, and will therefore still cover twice the distance).
36+
37+ By counting the number of output pulses of the master NCO, the distance
38+ travelled by each slave NCO is known. In short, this is because if the master
39+ NCO has produced the requisite number of output ticks, the two slave NCOs have
40+ moved the steppers in both axes the correct distance.
41+
42+
1443## Related Documentation
1544
1645<!-- Any information about an application note or tech brief can be linked here. Use unbreakable links!
0 commit comments