K
Klaus Kragelund
Guest
On Saturday, April 18, 2020 at 8:23:07 PM UTC+2, Tauno Voipio wrote:
I guess you could also do it with a goertsel algoritm, but that takes many cycles to respond. A lock in could also work, but again takes additional complexity
Cheers
Klaus
On 18.4.20 20:17, Klaus Kragelund wrote:
On Thursday, April 16, 2020 at 5:56:42 PM UTC+2, jla...@highlandsniptechnology.com wrote:
On Thu, 16 Apr 2020 03:42:11 -0700 (PDT), Klaus Kragelund
klauskvik@hotmail.com> wrote:
On Thursday, April 16, 2020 at 4:41:28 AM UTC+2, jla...@highlandsniptechnology.com wrote:
On Wed, 15 Apr 2020 15:24:19 -0700 (PDT), Klaus Kragelund
klauskvik@hotmail.com> wrote:
Hi
So, I have this small detector circuit, where I need to convert a low voltage (1Vpeak) sine wave into a digital signal
I do that by feeding it into the base of a BC847, with a resistor to 5V from the collector. The signal is 1MHz, so I have added a baker clamp schotkky to avoid the BJT storage time
It works fine
I would like to have it work down at 100mVpeak instead
So I capacitive couple the signal and add a bias network at the base to keep it biased just below the point where the BJT knee kicks in (600mV)
That also works fine - but the VBE voltage shifts a lot with temperature, 2mV/K
So I was thinking some kind of auto adjust to adjust the bias according to the actual VBE knee (maybe check the digital side, if no signal, then I need to shift the bias up, and if it is clamped to GND, I need to shift the bias down)
Anyone done something like this?
(I am cost driven, so I cannot just use a fast comparator, which would be the easy solution)
Cheers
Klaus
Sounds risky. You could add some gain ahead of the detector for a few
cents more.
This is pleasingly weird:
https://www.dropbox.com/s/akcwlbg744fnds4/Detector_4.jpg?raw=1
(hope the pic works. Dropbox has again chosen to change everything
just to annoy their paying customers.)
It works fine. (Dropbox has a funny way to annoy their customers)
I am working on your idea, needs some more work. Will post back if it works
100 mV peak, 200 p-p, should work with healthy margins. Run Q1
saturated with a forced beta around 40 maybe. I've spiced that in the
past and it works.
I used forced beta at 30, and tried different values, but could not get it to work
Can your digital thing catch moderate duty cycle things? If so,
eliminate Q2.
It's a UART input on a micro, so it needs pretty accurate timing
Cheers
Klaus
Oh, you must be modulating serial data on a carrier. I think my
circuit will work for that if the carrier/baud ratio is reasonably
high.
Yes, correct. I am modulating a carrier with a UART TX signal. Then trying to pick it up at the other end with a sort of a AM modulation scheme. I have a cap on the output of the last BJT emitter, with a pull-up, so that I have a hold function when the NPN is turned on a regular intervals
Cheers
Klaus
AM is not a good idea for digital transmission. It was understood
in radio transmissions decades ago and moved to FSK.
It is easy to detect the onset of the AM pulse, but the absence
of the pulse (or low level) is difficult to relaibly detect.
We have very little resources in the micro, so a FSK decoder is not feasable. In HW it would also require a mixer and oscillator
I guess you could also do it with a goertsel algoritm, but that takes many cycles to respond. A lock in could also work, but again takes additional complexity
Cheers
Klaus