Need Demo program for Lock-in-Amplification?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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.

0 Likes
10 Replies
lock attach
Attachments are accessible only for community members.
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

makhan,

   

attached lock-in amplifier project for PSoC5LP. It based on older version of DDS24 generator. Rotary encoder is used to rotate phase of  the reference clock for lock-in. Also attached a Multichart program to observe lock-in output on PC.

   

odissey1

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hi,

   

Thankyou so much for your reply.

   

I opened this program but it shows me lots of errors. Can you guide me what is the problem?

   

I am using PSOC creater 3.0.

   

I attached a Errors pdf file .

   

Looking forward for your reply.

   

Best Regards

   

Awais

0 Likes
Anonymous
Not applicable

odissey1,

   

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

   

makhan

0 Likes

I will repost it in 3.2

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Also update may be necessary of dependencies for DDS component -

   

 

   

http://www.cypress.com/training/psoc-creator-tutorial-component-creation-adding-library-dependency

   

 

   

Regards, Dana.

0 Likes
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted
        Makhan, Project was likely written in Creator 3.1. If on startup it asks for component update please do so. Otherwise you need to upgrade Creator odissey1   
0 Likes
lock attach
Attachments are accessible only for community members.
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

makhan,

   

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.

   

odissey1  

0 Likes
Anonymous
Not applicable

odissey1 ,

   

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?

0 Likes
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

makhan,

   

There is API calls to set DD frequency and phase, like

   

DDS_SefFrequency(10000); //10kHz

   

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.

   

odissey1

0 Likes