Author Topic: Converting signal level from 1.2V to 5V  (Read 2290 times)

0 Members and 1 Guest are viewing this topic.

Offline mys_721txTopic starter

  • Contributor
  • Posts: 29
  • Country: us
    • Catram
Converting signal level from 1.2V to 5V
« on: January 11, 2022, 05:07:47 pm »
Hello all,

Our lab has a Picospritzer for microinjection. We want to use it to trigger our LED controller. The problem is that the Picospritzer's output is only 1.2V and the LED controller requires 3.6V-12V at at least 5mA.

From what I find on DigiKey, MOSFETs with 1.2V Vgs(th) at best have 1mA Id. (Please ignore the 3.5mA Id GaN for the moment) Would it be a good idea to use two MOSFETs so that the drain of the 1.2V Vgs(th) is connected to the 5mA Id MOSFET like the following?
 

Offline harerod

  • Frequent Contributor
  • **
  • Posts: 449
  • Country: de
  • ee - digital & analog
    • My services:
Re: Converting signal level from 1.2V to 5V
« Reply #1 on: January 11, 2022, 06:22:01 pm »
 
The following users thanked this post: mys_721tx

Offline pigrew

  • Frequent Contributor
  • **
  • Posts: 680
  • Country: us
Re: Converting signal level from 1.2V to 5V
« Reply #2 on: January 11, 2022, 07:17:19 pm »
First, realize that you will need to have a voltage supply at your output voltage (i.e. 3.3V or 5V).

If you want a simple, few component solution, harerod's solution of a NPN BJT is good (input through a resistor to the base, with a pull-up resistor on the output), but will invert your signal (unless you make it two-stage). Speed might be a bit slow, and it will have higher power consumption when the BJT is "on" due to the pull-up resistor on the output.

If you wouldn't mind using a few extra components (like voltage regulators), I'd suggest a dual-supply logic converter IC like TXU0104-Q1. ESD, input overvoltage, and output short protections could also be implemented. I'd likely power it from a "5V USB" source.

(BTW, your circuit probably won't work properly since there is nothing to pull the middle gate node down to 0V, so the 2nd MOSFET will never be turned off)
« Last Edit: January 11, 2022, 07:21:12 pm by pigrew »
 
The following users thanked this post: mys_721tx

Offline Vtile

  • Super Contributor
  • ***
  • Posts: 1144
  • Country: fi
  • Ingineer
Re: Converting signal level from 1.2V to 5V
« Reply #3 on: January 11, 2022, 09:13:18 pm »
First, realize that you will need to have a voltage supply at your output voltage (i.e. 3.3V or 5V).

If you want a simple, few component solution, harerod's solution of a NPN BJT is good (input through a resistor to the base, with a pull-up resistor on the output), but will invert your signal (unless you make it two-stage). Speed might be a bit slow, and it will have higher power consumption when the BJT is "on" due to the pull-up resistor on the output.

If you wouldn't mind using a few extra components (like voltage regulators), I'd suggest a dual-supply logic converter IC like TXU0104-Q1. ESD, input overvoltage, and output short protections could also be implemented. I'd likely power it from a "5V USB" source.

(BTW, your circuit probably won't work properly since there is nothing to pull the middle gate node down to 0V, so the 2nd MOSFET will never be turned off)
I think you mix with NPN signal (AC) amplifier now, as last time I did ckeck the typical NPN switch, where load is at collector and emitter is ground will not invert signal, since it "pulls the voltage divider" to ground and therefore increase the voltage seen by load
. However PNP switch will invert, but it is not as easy to bias in this application.

Many small signal BJT NPNs do have hfe 200...500 so with 1mA base ( or gate or input) current you would get 200 .. 500mA switching current, plenty for single 2..3mA led. 2N3904, BC547, BC550, BD139, 2N2222 etc.
« Last Edit: January 11, 2022, 09:25:00 pm by Vtile »
 
The following users thanked this post: mys_721tx

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19516
  • Country: gb
  • 0999
Re: Converting signal level from 1.2V to 5V
« Reply #4 on: January 12, 2022, 10:36:07 am »
Just use a BJT.

This circuit is designed to shift a 3V signal, to 12V, but it will work with 1.2V & 5V.
 
The following users thanked this post: mys_721tx

Offline raftronik

  • Contributor
  • Posts: 14
  • Country: pl
Re: Converting signal level from 1.2V to 5V
« Reply #5 on: January 12, 2022, 12:06:12 pm »
Maybe this simple level conwerter will help.
https://www.hobbytronics.co.uk/mosfet-voltage-level-converter
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19516
  • Country: gb
  • 0999
Re: Converting signal level from 1.2V to 5V
« Reply #6 on: January 12, 2022, 12:15:18 pm »
Maybe this simple level conwerter will help.
https://www.hobbytronics.co.uk/mosfet-voltage-level-converter
Unfortunately that won't work. The 2N7000 is marginal at 3.3V, and stands little chance of working at 1.2V.
« Last Edit: January 12, 2022, 12:17:19 pm by Zero999 »
 

Offline raftronik

  • Contributor
  • Posts: 14
  • Country: pl
Re: Converting signal level from 1.2V to 5V
« Reply #7 on: January 12, 2022, 12:42:23 pm »
It was more like general idea to use this type of level converter.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19516
  • Country: gb
  • 0999
Re: Converting signal level from 1.2V to 5V
« Reply #8 on: January 12, 2022, 01:07:02 pm »
It was more like general idea to use this type of level converter.
The trouble is, finding MOSFETs which will work with a gate voltage of under 1.2V.  If you, or anyone else, can find one, please post a link to the datasheet.

It will work with a BJT. C1 helps speed it up and is optional and if the input is push-pull, then R1 can be removed, but then the circuit is identical, to the one I posted previously.


Level shift bi-direc BJT.asc
« Last Edit: January 12, 2022, 01:20:33 pm by Zero999 »
 
The following users thanked this post: mys_721tx

Offline Wallace Gasiewicz

  • Super Contributor
  • ***
  • Posts: 1180
  • Country: us
Re: Converting signal level from 1.2V to 5V
« Reply #9 on: January 12, 2022, 04:02:51 pm »
This Works, I just tried it.
Use a CD 4011 NOR CMOS chip,
https://www.apogeeweb.net/circuitry/CD4011-cmos-nand-gate.html
Use +5 volts on the Vdd pin 14, pin 7 is GND
Tie the inputs 1 and 2 together and put your 1.2 volt input there.
Use a 51 ohm (47) resistor as a pullup from your Vdd (pin 14) to your input gates (1 and 2)
You will get a signal out of pin 3 that is very slightly lower than Vdd.
This setup works maybe up to 7.5 volts Vdd, then the baseline (bottom of square wave signal out) starts to come up
This signal is inverted (NOR) however so use another set of gates on the 4011 to re invert it. There are three more NOR gates on the chip.
Probably a good idea to use two sets of gates anyway for stability.

Wally

You could use a CMOS OR gate or AND gate but I just picked the 4011
 
The following users thanked this post: mys_721tx

Offline Terry Bites

  • Super Contributor
  • ***
  • Posts: 2391
  • Country: gb
  • Recovering Electrical Engineer
Re: Converting signal level from 1.2V to 5V
« Reply #10 on: January 12, 2022, 04:11:32 pm »
Odd, the manual says it outputs 5V trigger pulses. So it the output driver kaput, overloaded or needing a pullup?
How are you measuring it? Is it steady or a steam of pulses?
What is it connected to when you measure 1.2V. Put a 1k load resistor on the BNC socket and have a look.

If that just how it is, then level translator isn't what you need. Don't be mislead by the fudgers and uC nuts.

Use a cheap voltage detector as a comparator. eg BU4809 $1.Slow but sure.
Or use a ref comparator combo like TLV4041R5 $1.5 . Too easy, one bypass cap and you're done.
« Last Edit: January 12, 2022, 04:13:13 pm by Terry Bites »
 
The following users thanked this post: mys_721tx

Offline bingo600

  • Super Contributor
  • ***
  • Posts: 1988
  • Country: dk
Re: Converting signal level from 1.2V to 5V
« Reply #11 on: January 12, 2022, 06:38:23 pm »
I'm no electronics Guru (DS Guru)

But would one of these do it ?

IRLML2502PBF
https://www.farnell.com/datasheets/1912230.pdf

CJ2302
https://pdf1.alldatasheet.com/datasheet-pdf/view/878506/JIANGSU/CJ2302.html
 

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8172
  • Country: fi
Re: Converting signal level from 1.2V to 5V
« Reply #12 on: January 12, 2022, 06:45:39 pm »
Indeed, 1.2V logic levels exist on modern PCBs (think about high-end CPUs/SoCs/FPGAs), but very rarely in connectors to the outside world. Unless this device really is such special snowflake, adding a level translator is not a good idea; instead, whatever is wrong needs to get fixed, to get the expected output voltage.
 
The following users thanked this post: mys_721tx

Offline mys_721txTopic starter

  • Contributor
  • Posts: 29
  • Country: us
    • Catram
Re: Converting signal level from 1.2V to 5V
« Reply #13 on: January 12, 2022, 07:20:54 pm »
Odd, the manual says it outputs 5V trigger pulses. So it the output driver kaput, overloaded or needing a pullup?
How are you measuring it? Is it steady or a steam of pulses?
What is it connected to when you measure 1.2V. Put a 1k load resistor on the BNC socket and have a look.

If that just how it is, then level translator isn't what you need. Don't be mislead by the fudgers and uC nuts.

Use a cheap voltage detector as a comparator. eg BU4809 $1.Slow but sure.
Or use a ref comparator combo like TLV4041R5 $1.5 . Too easy, one bypass cap and you're done.


Indeed, 1.2V logic levels exist on modern PCBs (think about high-end CPUs/SoCs/FPGAs), but very rarely in connectors to the outside world. Unless this device really is such special snowflake, adding a level translator is not a good idea; instead, whatever is wrong needs to get fixed, to get the expected output voltage.

Indeed, the BNC terminal is badly corroded. (It is green now) Copper carbonate probably does not help with the resistance. I will see if I can replace it. I am not very confident given it also has pneumatic parts inside. If all failed I am going to try to dissolve the corrosion with diluted HCl.
 

Offline harerod

  • Frequent Contributor
  • **
  • Posts: 449
  • Country: de
  • ee - digital & analog
    • My services:
Re: Converting signal level from 1.2V to 5V
« Reply #14 on: January 13, 2022, 11:37:41 am »
mys_721tx, would you mind giving us a link to the manual / technical spec of your actual device and telling us which interface we are discussing?
 

Offline mys_721txTopic starter

  • Contributor
  • Posts: 29
  • Country: us
    • Catram
Re: Converting signal level from 1.2V to 5V
« Reply #15 on: January 13, 2022, 04:21:16 pm »
Here is the Picospritzer III manual from the manufacturer. I cannot remember we have ether Picospritzer II or III on the top of my head. The output is 5V TTL through a BNC connector per page 5.
 

Offline Terry Bites

  • Super Contributor
  • ***
  • Posts: 2391
  • Country: gb
  • Recovering Electrical Engineer
Re: Converting signal level from 1.2V to 5V
« Reply #16 on: January 13, 2022, 05:27:55 pm »
Replace the dodgy BNC. Can we see a photo of it from inside?
 

Offline mys_721txTopic starter

  • Contributor
  • Posts: 29
  • Country: us
    • Catram
Re: Converting signal level from 1.2V to 5V
« Reply #17 on: January 13, 2022, 10:57:38 pm »
Replace the dodgy BNC. Can we see a photo of it from inside?

It turned out that we have Picospritzer II and II is very different from III.

Here is the front panel.

1378915-0

Here is the wiring on the back. Fortunately, all BNCs are panel mounted and should be easily replaceable.

1378921-1
 

Offline mys_721txTopic starter

  • Contributor
  • Posts: 29
  • Country: us
    • Catram
Re: Converting signal level from 1.2V to 5V
« Reply #18 on: January 13, 2022, 11:05:56 pm »
I have been probing the out terminal, the center pin on the other side, and the pin 2 of the potentiometer. It turned out that Picospritzer II does output ~800mV!

Then I noticed that AA battery and realized that an opto-isolator on the main board acts as the switch for the battery the output circuit. The oscilloscope screenshot shows the output after replacing the battery with a new one.

Also it seems that the corrosion does not affect the voltage too much.
 

Offline mys_721txTopic starter

  • Contributor
  • Posts: 29
  • Country: us
    • Catram
Re: Converting signal level from 1.2V to 5V
« Reply #19 on: January 13, 2022, 11:08:19 pm »
Here is the main board in case anyone interested.
 

Offline mys_721txTopic starter

  • Contributor
  • Posts: 29
  • Country: us
    • Catram
Re: Converting signal level from 1.2V to 5V
« Reply #20 on: January 13, 2022, 11:12:04 pm »
And the back side. Apology in advance for splitting the gallery up but they easily exceed the maximum total size restriction.
 

Offline mys_721txTopic starter

  • Contributor
  • Posts: 29
  • Country: us
    • Catram
Re: Converting signal level from 1.2V to 5V
« Reply #21 on: January 15, 2022, 07:00:48 pm »
I swapped the AA battery to a 9V. The following is my the oscilloscope trace. Channel 1 is on the BNC terminal. Channel 2 is the orange/white wire on the DPDT switch, which is on the LED side of the optocoupler. Channel 3 is the input of the optocoupler.

I modeled the circuit in circuitjs. I used two 1M resistors to represent the input impedance of the oscilloscope. Everything in the simulation works as expected. The potentiometer adjusts the voltage of one terminal and the DPDT switch changes the polarity of the input.

However, the switch does absolute nothing when I am probing it. Since I check with a meter that the the potentiometer resistance is in its nominal range, I suspect something is wrong with the switch.
« Last Edit: January 15, 2022, 07:54:04 pm by mys_721tx »
 

Offline mys_721txTopic starter

  • Contributor
  • Posts: 29
  • Country: us
    • Catram
Re: Converting signal level from 1.2V to 5V
« Reply #22 on: January 19, 2022, 04:01:21 am »
When I was probing with the 9V battery, the Picospritzer magically sent out the correct voltage. However, when I removed the scope, it did not work again. This is when it hit me. The outer conductor of the BNC terminal is grounded and the battery is floating so to speak. The ground pin on the oscilloscope made it work!

Soon I removed the AA battery holder, fashioned a ground wire from the 9V connector, and spiced the wires. Now the Picospritzer can reliably trigger the Mightex controller!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf