Number Theory for Electronic Signal Frequency Synthesis

Click For Summary

Discussion Overview

The discussion revolves around the application of number theory to solve a design problem related to frequency synthesizers in electronic test and measurement equipment. Participants explore the relationship between two reference frequencies, P1 and P2, and their modular properties with respect to a variable frequency F, specifically when F is constrained between 4000 and 8000.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant introduces the problem of finding a value P2 such that when F mod P1 = 0, it holds that F mod P2 >= C, where C is a fixed number (e.g., 10).
  • Another participant suggests that choosing P2 = 8001 would satisfy the requirement, but clarifies that P2 should be similar to P1, which is set at 50.
  • It is noted that P2 should preferably be an integer or a rational number, and examples are provided to illustrate realizable values of P2 in hardware.
  • A mathematical expression is proposed for P2 as a function of P1, C, and F, suggesting that P2 can be derived from the equation P2 = P1(1 + C/F) to achieve F mod P2 = C.
  • Another participant mentions the possibility of iterating through values of P2 to find one that meets the modulo condition.
  • A later contribution suggests modifying the problem to find P2 such that F mod P2 = C, where C is defined as half of P1, leading to a different approach involving factoring F - C.
  • There is a recognition that the problem may not strictly be a number theory issue, but rather an engineering challenge requiring practical solutions.

Areas of Agreement / Disagreement

Participants express various approaches to the problem, with no consensus on a single solution or method. The discussion includes multiple competing views on how to derive or select P2, indicating that the problem remains unresolved.

Contextual Notes

Participants highlight the need for P2 to be similar to P1 and the practical constraints of the problem, which may limit the applicability of purely theoretical solutions.

Garan
Messages
3
Reaction score
0
I am new to this forum. I am an electrical engineer designing frequency synthesizers for electronic test and measurement equipment.

I have a design problem and I think that number theory could help me solve it. I'm not a mathematician, so I will state the problem the best I can.

Definitions:
F. Any number between 4000 and 8000
P1 = 50, or other predetermined constant.
P2. Unknown
When F mod P1 = 0, is there a value P2 such that F mod P2 >= C?C is a fixed number, for example 10.

Thank you.
 
Mathematics news on Phys.org
Garan said:
I am new to this forum. I am an electrical engineer designing frequency synthesizers for electronic test and measurement equipment.

I have a design problem and I think that number theory could help me solve it. I'm not a mathematician, so I will state the problem the best I can.

Definitions:
F. Any number between 4000 and 8000
P1 = 50, or other predetermined constant.
P2. Unknown
When F mod P1 = 0, is there a value P2 such that F mod P2 >= C?C is a fixed number, for example 10.

Thank you.

Hi Garan! Welcome to MHB! ;)

Just to clarify, suppose we pick P2=8001. Doesn't that already satisfy your requirement?
 
I like Serena said:
Hi Garan! Welcome to MHB! ;)

Just to clarify, suppose we pick P2=8001. Doesn't that already satisfy your requirement?

P2 is restricted to something similar to P1.

P1 and P2 represent reference frequencies generated by two different crystal oscillators. For various design reasons, it would be best if P2 is "similar" to P1. P2 preferably should be an integer, but can be a rational number.

For example if P1 is 50 and P2 were 55, then this is realizable in the hardware.
But for certain values of F between 4000 and 8000, F mod P1 = 0 and F mod P2 will also get close to 0. I would like to be able to find a value of P2 that will keep F mod P2 > some constant C, (10 for example) whenever F mod P1 = 0.
 
Garan said:
P2 is restricted to something similar to P1.

P1 and P2 represent reference frequencies generated by two different crystal oscillators. For various design reasons, it would be best if P2 is "similar" to P1. P2 preferably should be an integer, but can be a rational number.

For example if P1 is 50 and P2 were 55, then this is realizable in the hardware.
But for certain values of F between 4000 and 8000, F mod P1 = 0 and F mod P2 will also get close to 0. I would like to be able to find a value of P2 that will keep F mod P2 > some constant C, (10 for example) whenever F mod P1 = 0.

Well... suppose we pick F, P1, and C, then we can pick a rational P2:
$$P_2 = P_1\left(1+\frac C F\right)$$
so we'll have:
$$F \bmod P_2 = C$$

Alternatively, we can iterate $P_2$ one frequency at a time until we find one that gives a sufficient modulo.
 
I like Serena said:
Well... suppose we pick F, P1, and C, then we can pick a rational P2:
$$P_2 = P_1\left(1+\frac C F\right)$$
so we'll have:
$$F \bmod P_2 = C$$

Alternatively, we can iterate $P_2$ one frequency at a time until we find one that gives a sufficient modulo.

Thank you. I will use Matlab to do the brute-force search based on your suggestions.

I was hoping for that there was an elegant closed-form solution from number theory :)
 
Garan said:
Thank you. I will use Matlab to do the brute-force search based on your suggestions.

I was hoping for that there was an elegant closed-form solution from number theory :)

Well... suppose we tweak your problem statement a bit.
Let's make it: given $F \bmod P_1 = 0$, find $P_2$ such that $F \bmod P_2 = C$, where $C = \left\lfloor\frac{P_1}{2}\right\rfloor$.
Then we have $F = C + kP_2$ for some integer $k$.
That means $kP_2 = F - C$.
So if we factor $F-C$ in any way, we find $k$ and $P_2$.

Unfortunately we don't have any real conditions on $P_2$.
Rather, it seems that we're searching for a practical way to find some $P_2$ that does what we want within certain practical boundaries.
That's not really a number theory problem, that's more like asking for a practical down-to-earth engineering solution.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
5K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
4K
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K