TR switching and receiving echo signals

ericgibbs

Joined Jan 29, 2010
21,444
Why do you think that circuit does not work when I use single Ic ?
Hi demir,
When using a single IC on a bread board, one possibility is the close proximity of the components, around the single IC which may cause some instability, it is difficult to be sure.

How long is the Piezo 'ringing' at 40kHz after the 10 transmission pulses?

I stil can not measure distances under 60cms, this time mostly due to overgaining.

This is why in some echoing measurement systems a 'swept' gain amplifier is used.
ie: the gain is slowly increased after the TX pulse time.

E
 

Thread Starter

demir-ali

Joined Jul 13, 2024
321
Hi demir,
When using a single IC on a bread board, one possibility is the close proximity of the components, around the single IC which may cause some instability, it is difficult to be sure.

How long is the Piezo 'ringing' at 40kHz after the 10 transmission pulses?

I stil can not measure distances under 60cms, this time mostly due to overgaining.

This is why in some echoing measurement systems a 'swept' gain amplifier is used.
ie: the gain is slowly increased after the TX pulse time.

E
The first long peak part in the picture is high gained osscilating affer transmission part. After İt is perfectly readable but I can track the echo into 2ms I guess eventhough İt is hard to.
I have not researched much about sweep gain but would using bjt as variable impedance be usefull ?
 

ericgibbs

Joined Jan 29, 2010
21,444
Hi dem,
Post #77 scope image, is the timescale set to 1mSec per division?
I assume the Blue trace is the TX pulses.
So what is the time delay between the TX pulse and RX measured in mSecs?

E
 

Thread Starter

demir-ali

Joined Jul 13, 2024
321
Hi dem,
Post #77 scope image, is the timescale set to 1mSec per division?
I assume the Blue trace is the TX pulses.
So what is the time delay between the TX pulse and RX measured in mSecs?

E
Yes It is, the delay is 8.72ms. The object echo returns from is the roof that is 1.44 meters away from the transducer.
x = 0.00872*330/2 , x= 1.4388m
It corrects our measurement.
 

MisterBill2

Joined Jan 23, 2018
27,547
Coupling between isolated op-amps in a two-device chip would be due to both the close proximity and also using a common set of power connections. And the signal level also has a bit to do with it. Seldom mentioned, but certainly a source of some head-scratching results. So a very good call on separating them.!
 

Thread Starter

demir-ali

Joined Jul 13, 2024
321
Hi, I made a simple design to control the gain of an op-amp and when I vary the voltage between 0-5 in V3 , I can control the gain , but I doubt if I am overcomplicating it. When I vary the voltage between 0-5 in V3 , I can control the gain. I also doubt if I can put 1-5V on input since MCU does it by pwm as I remember.
I also thought using something like demux for switching between 2 resistors for gain that is managed by MCU.
Can you review it ?
1721582911239.png
 

Thread Starter

demir-ali

Joined Jul 13, 2024
321
Hi dem,
This is it with a minor modification, there is some increase in gain with time.
E
View attachment 327477
Hi eric, I've checked your upload and found out anything differs is you set the V3 as PWL. In my upload , I meant that V3 will be set by mcu but since arduino can not give any output voltages over 5v , I used opamp to be able to set the voltage towards 12.
So did you find my solution usefull ?
 

Thread Starter

demir-ali

Joined Jul 13, 2024
321
I made an lowpass filter with an diode to adjust dc voltage between 0-5 volts but in simulation it does not work can you review ?
I wonder if it is because of gate charges of the IRFZ44N.
 

Attachments

ericgibbs

Joined Jan 29, 2010
21,444
hi demi,
Look at the PWL voltage limits in my added circuit compared to yours.
Also change the limits in my circuit to your values and see what happens.

E
EG57_ 1967.png
 

Thread Starter

demir-ali

Joined Jul 13, 2024
321
hi demi,
Look at the PWL voltage limits in my added circuit compared to yours.
Also change the limits in my circuit to your values and see what happens.

E
View attachment 327532
Hi , I could not have signal output anyways and I wonder there is vg and VG in the circuit and vg,vd couple is nowhere else. So I could not understand the purpose of nmos built here.
I would liked to smooth the pulses to have dc voltage since arduino can not give voltages like 2 3 4 but my built has not worked.
 
Top