Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

PLL - Phase Comparator

Post any examples or modules that you want to share here

PLL - Phase Comparator

Postby steph_tsf » Sat Aug 24, 2013 1:18 am

Hello,

I'm trying to emulate the CD4046 integrated circuit using Flowstone DSP.
See the two attached .fsm.
Both are working, however there is room for improvement.
I'm not fluent with Flowstone DSP code, especially when there is conditional and sequential logic.
I have a difficulty emulating the XOR gate making the CD4046 Phase Comparator I.
I have a difficulty emulating the flip-flops and the tri-state output making the CD4046 Phase Comparator II.

With a better DSP implementation of the CD4046 Phase Comparator II, one can build a simple and robust frequency meter for periodic waveforms like sinus, squarewave, triangle, sawtooth, etc.

Will somebody help me improving the Phase Comparator II implementation?

Steph
Attachments
CD4066 (400).png
CD4066 (400).png (72.8 KiB) Viewed 9626 times
PLL 02.fsm
(17.32 KiB) Downloaded 1390 times
PLL 01.fsm
(21.75 KiB) Downloaded 1320 times
steph_tsf
 
Posts: 249
Joined: Sun Aug 15, 2010 10:26 pm

Return to User Examples

Who is online

Users browsing this forum: Google [Bot] and 105 guests