2
\$\begingroup\$

I am required to generate and measure squared signal (PWM like). I should cover a 0-30VDC amplitude. High level of the signal is 30 VDC, low level is 0VDC. The bandwith to be covered is 0-20kHz. I should use Arduino to generate and measure these signals.

I thought that the more convenient way to achieve these operations would be a kind of "logic level shifter", but I cannot find a suitable component for my application. I would like to bring the 30V back to 3.3V and vice-versa so that the Arduino can both generate and measure the signals.

To circumvent the issue, I thought about transistors, comparators, voltage divider, amplificators,... but I am unsure about what to choose (COTS if possible) and think a bidirectionnal voltage level shifter would be the best solution since it would cover both the need to generate and the need to measure.

Any idea to address this issue ? It would be better if the component would be on the shell, but if a design from scratch should be done, it may be OK too.

\$\endgroup\$
  • 1
    \$\begingroup\$ Look for "half bridge driver" instead of a level shifter to generate the 0-30VDC signal and use a resistor divider to measure it back. If you designed a circuit using that, we're happy to give feedback on it. \$\endgroup\$ – Huisman Apr 2 at 9:28
  • \$\begingroup\$ Describe the application itself. Context matters a lot. You've said far to little about the circumstances and goals and instead abstracted the situation until it is very difficult to be of much help. \$\endgroup\$ – jonk Apr 2 at 11:58
  • \$\begingroup\$ @jonk That's what I said in the first paragraph. I should generate and measure frequencies of control signals with a arduino board. However, the voltage level are 0-30VDC. The arduino board (like any other microcontroller) cannot work in that frequency span. I would like to find a way to adapt that "30VDC logic" to a 3.3 one. This is a part of a system which will run automatic tests on some hardware. \$\endgroup\$ – athena Apr 2 at 12:42
  • \$\begingroup\$ @Huisman Yes, I had thought to voltage divider, but not to Half bridge driver. But still 2 components, not a real "voltage shift". In that case, why not chosing directly some MOS transistor ? \$\endgroup\$ – athena Apr 2 at 12:44
  • \$\begingroup\$ "automatic tests on some hardware" is abstract generating 30 V until easy. Monitoring it is easy. But details about the closed loop matter, I think. It isn't interesting just yet, to me. Maybe someone else. \$\endgroup\$ – jonk Apr 2 at 12:47
0
\$\begingroup\$

This may suffice

schematic

simulate this circuit – Schematic created using CircuitLab

\$\endgroup\$
  • \$\begingroup\$ Thank you very much for your design, I was exactly thinking to a home-made solution. \$\endgroup\$ – athena Apr 2 at 15:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.