Hi,
I´m really confused by your given values.
just the frequencies:
* ... a charging signal at 100 Hz rate max.
* ... with frequency in between 1 to 100 Hz
* ... i.e. 1Hz, 2Hz and not 1.5Hz ...
* ... for sensing up to 100 Hz only
* ... frequency changes from 10Hz to 20Hz
please give a complete specification. Best if you add a simple drawing of your signals, where you show the specified parameters. (like in every signal specifying datasheet)
And please give tolerances. Because you never will have a signal with an absolute frequency of 2.000000Hz without deviation (phase noise...)
Could you give an explanation why you need the integer frequencies? What is it good for?
1Hz is an integer frequency. it is 1000.000 ms in cycle time.
the next higher is 2Hz. it is 500.000ms (a step of 500ms)
...
99Hz is 10.101ms
100Hz is 10.000ms, the deviation now is just 0.101ms
If you want to give a tolerance of +/-1%, then at
1Hz the alowed time is: 99ms ... 101ms
at 100Hz: 9.9ms ... 10.1ms
but ...oops... 1% deviation is 99Hz or 101Hz. both are integer values... so at least 99Hz need to be alowed..
--> an 1% tolerance makes no sense. So better go to 0.01% tolerance??? this is just one microsecond.
Klaus