Author Topic: Hysteresis Cycle with an AD630 on LTSpice  (Read 1936 times)

0 Members and 1 Guest are viewing this topic.

Offline Vajra37Topic starter

  • Newbie
  • Posts: 7
  • Country: es
Hysteresis Cycle with an AD630 on LTSpice
« on: June 01, 2019, 11:55:56 am »
Hi, friends
I'm currently working with a Physic professor who's trying to use these AD630 he bought (https://es.aliexpress.com/store/product/Phase-locked-Amplifier-AD630-Module-Minimum-System-Phase-Sensitive-Detection-Weak-Signal-Conditioning-Balanced-Modulation/815142_32847447271.html?) to make an hysteresis cycle.
I currently used a Model uploaded on the Internet of an AD630 to make an analysis, but I don't know how to to do a frecuence analysis in order to get the hysteresis cycle. Could someone help me?
Thanks in advance
 

Online iMo

  • Super Contributor
  • ***
  • Posts: 5244
  • Country: bj
Re: Hysteresis Cycle with an AD630 on LTSpice
« Reply #1 on: June 01, 2019, 06:09:36 pm »
Post your .asc file
Readers discretion is advised..
 
The following users thanked this post: Vajra37

Offline Vajra37Topic starter

  • Newbie
  • Posts: 7
  • Country: es
Re: Hysteresis Cycle with an AD630 on LTSpice
« Reply #2 on: June 02, 2019, 12:58:35 am »
How do I do that? Should I upload it to some web or something?
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 13130
Re: Hysteresis Cycle with an AD630 on LTSpice
« Reply #3 on: June 02, 2019, 02:29:01 am »
Nope.  Simply attach the .asc file to a post here.   If your sim relies on third party models and/or symbols, we'll need them as well.  You can post links to them, or zip them up with the .asc file and attach the zip*.   It can also be useful to post the .plt file if you are displaying many signals or doing waveform maths.   Please don't include any generated data files (e.g .raw .log .net &etc.)

One pitfall for the unwary is inadvertently using third party symbols and models that you have added to the LTspice standard libraries and not copied to the sim folder and zipped up with it.  When the recipient tries to open the sim, they will be warned about missing symbols and the affected components effectively vanish.  Missing models (including ones in libraries) cause an error when you attempt to run the sim.   Its therefore worth keeping a clean original 'vanilla' copy of the LTspice lib folder, that you can swap in by renaming it and your normal lib folder, so you can easily check what's missing if anyone tells you there's a missing symbol or model problem.  If you collaborate a lot with others online, it may even be worth writing a script to close LTspice, swap libraries to the 'vanilla' copy, reopen it, then swap back when its next closed, so you can easily test your sims are complete before posting them.

* subject to redistribution restrictions of models/libraries.
« Last Edit: June 02, 2019, 01:11:18 pm by Ian.M »
 
The following users thanked this post: Vajra37

Offline awallin

  • Frequent Contributor
  • **
  • Posts: 694
Re: Hysteresis Cycle with an AD630 on LTSpice
« Reply #4 on: June 02, 2019, 06:07:06 am »
FWIW the different suggested configurations are on p16 -> here:
https://www.analog.com/media/en/technical-documentation/data-sheets/AD630.pdf

what are you trying to do?
 
The following users thanked this post: Vajra37

Offline Vajra37Topic starter

  • Newbie
  • Posts: 7
  • Country: es
Re: Hysteresis Cycle with an AD630 on LTSpice
« Reply #5 on: June 02, 2019, 09:20:24 am »
This is the model I used. I never did a frecuency analysis on LTSpice but I searched about how to do it. The thing is that in this project I want to do I must check that the AD630 can in fact take out an hysteresis cycle, but I don't know how to do it. I guess I have to do a frecuency barrier to do that, but as I said, I'm pretty lost in this field since I've done nothing like this before.
Thank you in advance
 

Offline Vajra37Topic starter

  • Newbie
  • Posts: 7
  • Country: es
Re: Hysteresis Cycle with an AD630 on LTSpice
« Reply #6 on: June 02, 2019, 09:25:39 am »
FWIW the different suggested configurations are on p16 -> here:
https://www.analog.com/media/en/technical-documentation/data-sheets/AD630.pdf

what are you trying to do?

I'm trying to prove that I can get an hysteresis cycle with an AD630 because I'm going to help a physic with a cancer cure that is related with warming up some particles with a lock-in amplifier and burn the tumors.  I understand the use of the AD630, but as I said.. I'm not an expert on LTSpice and I've never done anything like this, so... I'm pretty lost right now
PS: Is it hard to explain in english since is not my mother tongue haha, I'm sorry.
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6789
  • Country: ro
Re: Hysteresis Cycle with an AD630 on LTSpice
« Reply #7 on: June 02, 2019, 10:04:27 am »
The words you are using doesn't make sense.  Not your fault, this happens a lot in interdisciplinary science, especially between different languages.




... a frecuency analysis on LTSpice ..."
To make a frequency analysis in SPICE you use ".ac" simulation.  Click on 'Simulate' -> 'Edit Simulation Cmd' -> 'AC Analysis' then complete the paramaters you want in the fields "Type of Sweep", "Number of points per octave:", "Start Frequency", "Stop Frequency" then click the "OK" button.  After this, click "Simulate" -> "Run" to simulate your schematic in the AC (Alternative Current) domain.

This what you asked (how to do a frequency analysis in LTspice), but I'm not sure if this is what you really need.

Draw by hand a chart, or a diagram, with what you want to achieve with the AD630, so electrical engineer people would understand your goal with that schematic.  Put the units for the chart's axis, some expected values and ranges will be very useful, too, in order to decide what you need.
 
The following users thanked this post: Vajra37

Offline Vajra37Topic starter

  • Newbie
  • Posts: 7
  • Country: es
Re: Hysteresis Cycle with an AD630 on LTSpice
« Reply #8 on: June 02, 2019, 02:57:00 pm »
My apologises, it's kind of hard to explain what I'm trying to do in other language, but I'm going to try again with the help of some document: https://www.researchgate.net/publication/273960700_A_multifrequency_eletromagnetic_applicator_with_an_integrated_AC_magnetometer_for_magnetic_hyperthermia_experiments
What I'm trying to do is to use my AD 630 as a lock-in amplifier to measure the difference of phases on 2 metal particles. For that, I need to simulate in LTSpice the AD 630 in order to get the hysteresis cycle and that's what I don't know how to do. As you can see in the document that I posted, in the page 6 you can see the hysteresis cycle of the water dispersed iron oxide nanoparticle sample. I just also found this http://spiceguy.net/hysteresis.htm but I don't know if will work.
 

Offline Vajra37Topic starter

  • Newbie
  • Posts: 7
  • Country: es
Re: Hysteresis Cycle with an AD630 on LTSpice
« Reply #9 on: June 04, 2019, 11:46:54 am »
Draw by hand a chart, or a diagram, with what you want to achieve with the AD630, so electrical engineer people would understand your goal with that schematic.  Put the units for the chart's axis, some expected values and ranges will be very useful, too, in order to decide what you need.


This is what I want to get, but I did the analysis like in this page and I can't get my hysteresis cycle with the AD630. So... What am I doing wrong?
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6789
  • Country: ro
Re: Hysteresis Cycle with an AD630 on LTSpice
« Reply #10 on: June 04, 2019, 01:26:11 pm »
- Vc seems wrong to me.
- put a 100K resistor between "Status" and "+Vcc" (optional)
- add SPICE directive ".options cshunt=1e-15" to speed up the simulation (optional)

If you want more help, please do the following:
1. Draw by hand (on a piece of paper) the waveform you wish for Vm
2. Draw by hand (on the same paper) the waveform you wish for Vc.
3. Then, draw by hand the waveform you expect for the signal Output.
4. Now, draw by hand the hysteresis you expect to see.

Name the axis for each chart, put units and a few numerical values.

Make a picture of the 4 hand-drawn waveforms, and attach the pic here, or upload the pic somewhere else and give the link.
« Last Edit: June 04, 2019, 02:14:39 pm by RoGeorge »
 
The following users thanked this post: Vajra37

Offline Vajra37Topic starter

  • Newbie
  • Posts: 7
  • Country: es
Re: Hysteresis Cycle with an AD630 on LTSpice
« Reply #11 on: June 04, 2019, 05:23:09 pm »
Got it. The cshunt option helped me  a lot. Now, what I wanted was to get the hysteresis. For that I searched about th Op-amp comparator and make  the design of that with the model of the AD 630.  With this now I got the hysteresis cycle by Excel (which is more comfortable for me to use than the LTSpice in order to take out these kind of operation)
I really want to thanks to everyone that helped me and I'm sorry if I didn't explain quite well.
Greetings!
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6789
  • Country: ro
Re: Hysteresis Cycle with an AD630 on LTSpice
« Reply #12 on: June 04, 2019, 06:16:00 pm »
Great!  :-+
 
The following users thanked this post: Vajra37


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf