Previous in Forum: AEC Capacitor Manufacture Company - Where is This?   Next in Forum: How to Repair the 2010 Runner
Close
Close
Close
5 comments
Rating: Comments: Nested
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32

Seamless Switching of Two Clock Signals

03/08/2014 11:29 PM

Hello,

I know that Maxim engineers have made one such device for "Seamless switching of two clock signals". I want to look at very generalized design to have a good seamless switching design for the Microcontroller clock signals.

Reason for such switching mechanism is being very important is that any glich is switching can render the internal state is unpredictable manner.

One idea could be to remove the glitch if at all it is formed, This is also a good thing to do but let us discuss if there are other options. I am considering non-synchronous clock source but we can also discuss synchronous clock source of different frequencies.

Advantage of such frequency switching is to reduce the power consumption when any Microcontroller is not is in use and let is work at highly reduced frequency. Only static Microcontrollers can be used but they are many.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru

Join Date: Mar 2007
Location: by the beach in Florida
Posts: 33392
Good Answers: 1817
#1

Re: Seamless switching of two clock signals

03/09/2014 1:05 AM

Found this....

http://www.astrium.eads.net/media/document/astrium_ens2_mdef.pdf

__________________
All living things seek to control their own destiny....this is the purpose of life
Register to Reply Score 1 for Good Answer
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#2
In reply to #1

Re: Seamless switching of two clock signals

03/09/2014 1:24 AM

SolarEagle:

Yes, they are parallel clock systems and there is a monitoring device which takes care of the drift in multiple systems to keep them on time. You can see that they have used multiplexer at the input and this is where I am talking about. I think they may average phase change for many cycles and then correct it but problem for me is phase synchronization for the event when we switch the frequency. These people use one more clock source that takes care of the error correction and their frequencies are very close to each other, just having some minor phase error.
I am thinking to vary clock right from 1mHz to 24MHz range anywhere in between.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Power-User

Join Date: Dec 2008
Location: Anthem, AZ
Posts: 392
Good Answers: 8
#3

Re: Seamless Switching of Two Clock Signals

03/10/2014 1:05 PM

Have you considered controlling the clock frequency with a VCO? It would never glitch while changing frequency.

Register to Reply Score 1 for Good Answer
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#4
In reply to #3

Re: Seamless Switching of Two Clock Signals

03/10/2014 11:42 PM

WoodwardDL:

Yes, VCO and OVCO are often very good to generate a wide range of frequencies.


SolarEagle also suggested the same thing. In that design external frequency sources are selected or switched and frequency is converted into a proportional DC voltage and then DC voltage is fed to VCO to regenerate the frequency on continuous bases. This scheme is very practical type and very nice one. However cost is very high due to high stability VCO design.


For example if I have excellent two very close packed frequency sources to be switched in a manner FSK signal is generated then there will be little drift in the base or central frequency but VCO need to be very stable to achieve that kind of stability as base frequency likely to shift into another nearby channel.


I think for simple applications VCO can be tried very well.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Guru
Popular Science - Cosmology - New Member Technical Fields - Technical Writing - New Member Engineering Fields - Energy Engineering - New Member Engineering Fields - Electrical Engineering - New Member Engineering Fields - Control Engineering - New Member Engineering Fields - Electromechanical Engineering - Old Member, New Association

Join Date: Apr 2008
Location: Lexington, KY
Posts: 1639
Good Answers: 73
#5

Re: Seamless Switching of Two Clock Signals

03/14/2014 12:35 PM

How about a pair of retrigerable one shots triggered by some appropriate logic combination of your two clock signals. The first one shot would be responsible for the ON time of your clock signal and the other would be responsible for the OFF time.

Pulses that arrive too soon or are too short will be ignored by the one shot combination.

The problem seems to be that there is really insufficient information in the description of the problem. If your two clock source are only fairly close, you will generate a beat frequency that represents the difference. If they are far apart, the slower one can be surpressed by the presence of the faster clock.

You might also consider a different microcontroller that includes a low power sleep state.

__________________
A great troubleshooting tip...."When you eliminate the impossible, whatever remains, however improbable, must be the truth." Sir Arthur Conan Doyle
Register to Reply
Register to Reply 5 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

NotUrOrdinaryJoe (1); Shyam (2); SolarEagle (1); WoodwardDL (1)

Previous in Forum: AEC Capacitor Manufacture Company - Where is This?   Next in Forum: How to Repair the 2010 Runner

Advertisement