Help with building this transformer in ltspice

In summary, you are asking how to make and model tuned/adjustable transformers in LTSPICE, but are probably better off using a slope detector or ratio detector.
  • #1
michael1978
434
19
Poster has been warned about substandard threads.
Hi,
everything oko_O
i just want to tell, can somebody, who have time just to read this file, you understand direct, if you know about fm detection, i just don't know how to make a transformer in ltspice, can somebody told how to make it this circuit with transformer and tuned please
 

Attachments

  • FM DEMUDULATION.pdf
    1.2 MB · Views: 379
Engineering news on Phys.org
  • #2
So you know how to use standard transformers in LTSPICE, but are asking how to make and model tuned/adjustable transformers? What have you used transformers for in LTSPICE so far?
 
  • #3
berkeman said:
So you know how to use standard transformers in LTSPICE, but are asking how to make and model tuned/adjustable transformers? What have you used transformers for in LTSPICE so far?
I never used, but i see one site, how to build an IF amplifier, so i se how to use couplin K1 L1 L2, but for example if its center tapped, i don't know, make tuned circuit, but i don't know for which frequency, alse the transformer, they don't show the value,
you know is 4 smorgens, i am searching for the fm detector, why they hide, they tell you something and they don't finisho_O
 
  • #4
berkeman said:
So you know how to use standard transformers in LTSPICE, but are asking how to make and model tuned/adjustable transformers? What have you used transformers for in LTSPICE so far?
I did something else in place of transformer, i did phase shift 90,
so this the file
PIC.png


is just a experiment i change the value of the last capacitor C4 0.01 in 0.01p alst the last resistor from 500K i make 8ohm, in place of transformer i use rc phase, and where is tuned circuit
is this ok? is in orde fm detector
 

Attachments

  • Draft4 rename in asc.txt
    3.6 KB · Views: 448
  • PIC.png
    PIC.png
    35.9 KB · Views: 998
Last edited:
  • #6
Tom.G said:
This site shows FM Detectors and how they work. You probably want "Slope Detector" or "Ratio Detector."
https://www.radio-electronics.com/i...eption/fm-demodulation-detection-overview.php

An ordinary AM detector will work if the transformer is tuned a little bit off from the incoming frequency. This idea is a Slope Detector.
Goodmorning, hi, i read, but i don't know how to make a transformer in ltspice, is possible to make that circuits just transformer center taped, and for capacitor i read must be center to 10.7MHZ, i have no ide , ratio turns inductance, impedance:H
 
Last edited:
  • #7
Hello, i try this transformer, is now correct demulated
please tell me, is any problem
this the file
FMDETECTOR.png
 

Attachments

  • FMDETECTOR.png
    FMDETECTOR.png
    15.9 KB · Views: 1,217
  • rename detecor in asc.txt
    2.7 KB · Views: 416
  • #8
  • #10
Hello, please somebody can help me with this, did a do it bad, of is correct, if is bad can soembody help to fix,(i am larning ltspice)
2.png
 

Attachments

  • 2.png
    2.png
    22.5 KB · Views: 1,087
Last edited:
  • #12
The screendump you posted will not run on my version of LTspice. I need the .asc file.

If you post a screendump of LTspice output, you should also attach the compact text file.asc.txt to the post. That way, others can read the component values, or run the simulation.
If you need to post an LTspice screendump, reduce the LTspice window size first if possible, then use the LTspice “Tool”, “Copy bitmap to clipboard”. Use Paint to view and save the clipboard as a file.jpg or file.png before attaching it to your post.

You need to clearly identify the schematic of the circuit you are modelling. Are you using either fig 3, or fig 4, from the ARRL, QST, June 1985 article? The circuit you are modelling is significantly different to both those schematics.

You could stimulate an FM discriminator model with an FM current source. You are unnecessarily adding to the complexity of your circuit and simulation by following an earlier limiting amplifier with a cascode stage, just to drive the FM discriminator with an FM voltage source.
 
Last edited by a moderator:
  • #13
Baluncore said:
The screendump you posted will not run on my version of LTspice. I need the .asc file.

If you post a screendump of LTspice output, you should also attach the compact text file.asc.txt to the post. That way, others can read the component values, or run the simulation.
If you need to post an LTspice screendump, reduce the LTspice window size first if possible, then use the LTspice “Tool”, “Copy bitmap to clipboard”. Use Paint to view and save the clipboard as a file.jpg or file.png before attaching it to your post.

You need to clearly identify the schematic of the circuit you are modelling. Are you using either fig 3, or fig 4, from the ARRL, QST, June 1985 article? The circuit you are modelling is significantly different to both those schematics.

You could stimulate an FM discriminator model with an FM current source. You are unnecessarily adding to the complexity of your circuit and simulation by following an earlier limiting amplifier with a cascode stage, just to drive the FM discriminator with an FM voltage source.

hi, I make one other, i think is good(i hope), but i have problem to the audio output
 

Attachments

  • RENAME IN ASC.TXT
    3.3 KB · Views: 434
Last edited by a moderator:
  • #14
Baluncore said:
The screendump you posted will not run on my version of LTspice. I need the .asc file.

If you post a screendump of LTspice output, you should also attach the compact text file.asc.txt to the post. That way, others can read the component values, or run the simulation.
If you need to post an LTspice screendump, reduce the LTspice window size first if possible, then use the LTspice “Tool”, “Copy bitmap to clipboard”. Use Paint to view and save the clipboard as a file.jpg or file.png before attaching it to your post.

You need to clearly identify the schematic of the circuit you are modelling. Are you using either fig 3, or fig 4, from the ARRL, QST, June 1985 article? The circuit you are modelling is significantly different to both those schematics.

You could stimulate an FM discriminator model with an FM current source. You are unnecessarily adding to the complexity of your circuit and simulation by following an earlier limiting amplifier with a cascode stage, just to drive the FM discriminator with an FM voltage source.
Thanks, this the fiile, can you look is good, how to make audio outpu?please
 

Attachments

  • I MAKE SELF FM DETECTORT.TXT
    3.6 KB · Views: 382
  • #15
Well that is a great little circuit. I have no idea where you might have got it from.
There are a few possible reasons why it might under-perform. If you want to learn, you will need to scratch your head and study the cryptic clues and the circuits.

1. The Q1 collector bias current will be insufficient to drive the discriminator. The last time I saw that circuit, it was mass produced in the switched AGC speed circuit of Icom's R71A communications receiver. It did not work there either.

2. The current supplied by V3 will be a little higher than you might expect, or the voltage a little less. LTspice really did not imagine that infinite impedance voltage source topology was possible, so it could not give an error message.

3. Where are the transformer winding phase dots? It appears that the transformer has been wound backwards on the three axes of a one gallon(US) Kline bottle.

4. D2 discriminator current flows like a very confused rat in a maze, without an exit. I have heard it said that rats leave a sinking ship, but your discriminator traps the rats. Don't worry, it is still floating, they will not drown. They are quite safe and quarantine is also secure, because they cannot run down the AF ratline since they are blocked by the thin layer of dielectric in C16.

5. Why do you short circuit the AF signal with 10,000uF caps, C4 & C5.

6. The output load R10 will weigh a little heavy on the circuit and so will also short circuit the discriminator output.

7. The model excitation IF frequency is a little high at 100 MHz, I would have expected 10.7 MHz.

8. The supersonic modulation might work with an automatic landing system, but it will not get through the AF stage, or your ears.

If you do not answer the questions you are asked, then you cannot be helped.
This is an infinite monkey circuit, it is a real gem. I will keep it for my scrap book.
 
  • Like
Likes Asymptotic and berkeman
  • #16
  • #17
Baluncore said:
Well that is a great little circuit. I have no idea where you might have got it from.
There are a few possible reasons why it might under-perform. If you want to learn, you will need to scratch your head and study the cryptic clues and the circuits.

1. The Q1 collector bias current will be insufficient to drive the discriminator. The last time I saw that circuit, it was mass produced in the switched AGC speed circuit of Icom's R71A communications receiver. It did not work there either.

2. The current supplied by V3 will be a little higher than you might expect, or the voltage a little less. LTspice really did not imagine that infinite impedance voltage source topology was possible, so it could not give an error message.

3. Where are the transformer winding phase dots? It appears that the transformer has been wound backwards on the three axes of a one gallon(US) Kline bottle.

4. D2 discriminator current flows like a very confused rat in a maze, without an exit. I have heard it said that rats leave a sinking ship, but your discriminator traps the rats. Don't worry, it is still floating, they will not drown. They are quite safe and quarantine is also secure, because they cannot run down the AF ratline since they are blocked by the thin layer of dielectric in C16.

5. Why do you short circuit the AF signal with 10,000uF caps, C4 & C5.

6. The output load R10 will weigh a little heavy on the circuit and so will also short circuit the discriminator output.

7. The model excitation IF frequency is a little high at 100 MHz, I would have expected 10.7 MHz.

8. The supersonic modulation might work with an automatic landing system, but it will not get through the AF stage, or your ears.

If you do not answer the questions you are asked, then you cannot be helped.
This is an infinite monkey circuit, it is a real gem. I will keep it for my scrap book.
HI, nut i repair all
2.png
 

Attachments

  • 2.png
    2.png
    23.8 KB · Views: 704
  • #18
Baluncore said:
Well that is a great little circuit. I have no idea where you might have got it from.
There are a few possible reasons why it might under-perform. If you want to learn, you will need to scratch your head and study the cryptic clues and the circuits.

1. The Q1 collector bias current will be insufficient to drive the discriminator. The last time I saw that circuit, it was mass produced in the switched AGC speed circuit of Icom's R71A communications receiver. It did not work there either.

2. The current supplied by V3 will be a little higher than you might expect, or the voltage a little less. LTspice really did not imagine that infinite impedance voltage source topology was possible, so it could not give an error message.

3. Where are the transformer winding phase dots? It appears that the transformer has been wound backwards on the three axes of a one gallon(US) Kline bottle.

4. D2 discriminator current flows like a very confused rat in a maze, without an exit. I have heard it said that rats leave a sinking ship, but your discriminator traps the rats. Don't worry, it is still floating, they will not drown. They are quite safe and quarantine is also secure, because they cannot run down the AF ratline since they are blocked by the thin layer of dielectric in C16.

5. Why do you short circuit the AF signal with 10,000uF caps, C4 & C5.

6. The output load R10 will weigh a little heavy on the circuit and so will also short circuit the discriminator output.

7. The model excitation IF frequency is a little high at 100 MHz, I would have expected 10.7 MHz.

8. The supersonic modulation might work with an automatic landing system, but it will not get through the AF stage, or your ears.

If you do not answer the questions you are asked, then you cannot be helped.
This is an infinite monkey circuit, it is a real gem. I will keep it for my scrap book.

Hello, can't see sinewave please can you hep me, i don't know man
 
Last edited by a moderator:
  • #19
You wanted a SPICE transformer. Before you got it working you added an irrelevant and unnecessary cascode circuit to drive it, instead of a differential limiter amp. Before you got that driver working with the transformer and FM discriminator you added what looks like an audio amplifier. When adding complexity does not make it work, you add more complexity. Your simulation was doomed to failure because you increased complexity when you should have reduced complexity.

You were given a functional transformer model, but you appear to have no idea what you were given because you have broken it again and again. Your latest screen dump shows it is still not a transformer. But there is no .asc file to confirm that.

You have been given functional transformer models, but you appear to have no idea what you were given because you have broken it again every time. In your post #17 it appears not to be a transformer, because you show no coupling coefficients. Again there is no .asc so you cannot be helped.

SPICE was designed to model small isolated modules, not complete systems such as communication receivers. The speed and accuracy of a simulation is greatly reduced by mixing different circuits in one model. If you do not know your circuit you cannot model it with SPICE.

You are clearly using the infinite monkeys technique, with cut and paste, to draw your idea of what a schematic should look like, as a work of art. There is no possibility of you understanding electronics by using that technique.

You are probably blind to the fact that your fundamental approach guarantees your simulation will fail. It is unproductive and very costly for anyone who tries to help you. I have wasted too much time here.
 
  • Like
Likes cabrera
  • #20
Baluncore said:
You wanted a SPICE transformer. Before you got it working you added an irrelevant and unnecessary cascode circuit to drive it, instead of a differential limiter amp. Before you got that driver working with the transformer and FM discriminator you added what looks like an audio amplifier. When adding complexity does not make it work, you add more complexity. Your simulation was doomed to failure because you increased complexity when you should have reduced complexity.

You were given a functional transformer model, but you appear to have no idea what you were given because you have broken it again and again. Your latest screen dump shows it is still not a transformer. But there is no .asc file to confirm that.

You have been given functional transformer models, but you appear to have no idea what you were given because you have broken it again every time. In your post #17 it appears not to be a transformer, because you show no coupling coefficients. Again there is no .asc so you cannot be helped.

SPICE was designed to model small isolated modules, not complete systems such as communication receivers. The speed and accuracy of a simulation is greatly reduced by mixing different circuits in one model. If you do not know your circuit you cannot model it with SPICE.

You are clearly using the infinite monkeys technique, with cut and paste, to draw your idea of what a schematic should look like, as a work of art. There is no possibility of you understanding electronics by using that technique.

You are probably blind to the fact that your fundamental approach guarantees your simulation will fail. It is unproductive and very costly for anyone who tries to help you. I have wasted too much time here.
Thanks Balounce, i know you help a lot, but this time sir Audioguru he help to fix it, thanks from Audiguru, And Thank from you, you explain things very good, thanks, now i am trying to learn ltspice 4 simulation, i find that book in internet, of do you know something tp learn with spice simulatio, have a nice day:partytime:
 
  • #21
Thread is closed for Moderation for a bit...
 
  • #22
michael1978 said:
Thanks Balounce, i know you help a lot, but this time sir Audioguru he help to fix it, thanks from Audiguru, And Thank from you, you explain things very good, thanks, now i am trying to learn ltspice 4 simulation, i find that book in internet, of do you know something tp learn with
Thread will remain closed. @michael1978 -- please check your private messages. Thank you to @Baluncore for trying so hard to help out the OP in this thread. :smile:
 
  • Like
Likes davenn

1. How do I start building a transformer in LTspice?

To start building a transformer in LTspice, you will need to use the "K" (coupling coefficient) and "L" (inductance) parameters in the inductor model. You can also use the "T" (coupled inductors) component to create a transformer.

2. What are the key components needed for building a transformer in LTspice?

The key components needed for building a transformer in LTspice are inductors, resistors, and a power source. Inductors are used to simulate the primary and secondary windings of the transformer, while resistors are used to simulate the load. The power source is used to provide the input voltage.

3. How do I calculate the turns ratio for my transformer in LTspice?

The turns ratio for a transformer in LTspice can be calculated by dividing the number of turns in the secondary winding by the number of turns in the primary winding. This can also be represented by the ratio of the inductance values for the primary and secondary windings.

4. Can I simulate different types of transformers in LTspice?

Yes, you can simulate different types of transformers in LTspice, such as step-up, step-down, and isolation transformers. This can be done by adjusting the turns ratio and inductance values for the primary and secondary windings.

5. How can I test the performance of my transformer in LTspice?

To test the performance of your transformer in LTspice, you can use the AC analysis tool to simulate the transformer's response to different frequencies. You can also use the waveform viewer to analyze the output voltage and current of the transformer.

Similar threads

Replies
7
Views
1K
Replies
1
Views
932
  • Electrical Engineering
Replies
22
Views
5K
  • Electrical Engineering
Replies
14
Views
793
  • Electrical Engineering
Replies
4
Views
2K
Replies
9
Views
4K
  • Electrical Engineering
Replies
10
Views
1K
Replies
12
Views
2K
  • Electrical Engineering
Replies
3
Views
795
  • Electrical Engineering
Replies
4
Views
1K
Back
Top