Hello Every Body,
I am trying to implement LOCK-IN Amplification in PSOC 5LP. Can any body help me in doing this or if can provide me a demo program, that would be great.
Looking forward for your reply.
Can you give me any document that can explain your design in more detail?
Also I am unable to open this project in creator 3.2
We are here at Creator 3.2 and on the horizon are the first lights of version 3.3
Consider upgrading to 3.2 which is co-existent to former versions.
Also there may be errors flagged that vanish when compiled.
here is reworked and updated lock-demo project, recompiled in Creator 3.2. Comments inside. You likely don't need most features like tunable excitation frequency, lock-in phase adjustment, rotary encoder, etc -they were made for resonant bridge. Delete them as you wish to make your life easyer. Included Multichart software helping to visualize data stream on pc side. Debugging info was sent to smart phone by bluetooth, any terminal-like App will read it.
One more thing!
How i will do the phase controlling of my input signals (for lock in). Does it doing automatically inside the DDS? Or do i need to do controlling explicitly before sending the signal into ADC?
There is API calls to set DD frequency and phase, like
DDS_SetPhase(32);// 90deg (0-255 corresponds to 0-2PI)
In given project, a rotary encoder with a switch button was utilized to fine-tune both frequency and phase for a resonant bridge. You likely do not need any of those features, as you bridge is non-resonant, as I recollect. So you can delete all code related to the encoder part. If phase = 0 works fine for you, then you can drop DDS altogether.