GithubHelp home page GithubHelp logo

AC voltage about ktechlab HOT 4 OPEN

artenax avatar artenax commented on July 22, 2024
AC voltage

from ktechlab.

Comments (4)

artenax avatar artenax commented on July 22, 2024

In general, if you reduce the fps to a minimum in the settings (10 fps), press F10 (Simulation) and hover the mouse over the wire, it will show the current voltage and amperage. However, in the case of low Hz, these values will drop over time. You need to restart the program, press F10 and quickly look at the values. While the voltmeter and ammeter will show nonsense, don't pay attention.

In the current/voltage source settings, make sure Peak is selected, not RMS.

from ktechlab.

zoltanp avatar zoltanp commented on July 22, 2024

I have been interested in this question for a long time after Electronic Workbench / Multisim. How can I view the AC voltage in a voltmeter? (RMS). The arrow is constantly jumping.

Currently it is not possible to directly display the RMS value of a signal, only its instantaneous value.

As a suggestion, maybe you could create a circuit (and reuse it as a sub-circuit) that transforms a voltage signal into a voltage corresponding to the RMS value of the signal.

For example, see the above circuit that rectifies its input and applies down-pass filtering:

2024 01 17-rms-circuit

With some adequate tuning of the filter, you should get a decent RMS value display (plus-minus various imperfections of the components)

from ktechlab.

artenax avatar artenax commented on July 22, 2024

I have tried this before. Only at first I didn't use a resistor and connected the capacitor directly as in real voltage rectifier circuits and the voltmeter readings were unstable.

I added a resistor and the voltmeter readings became pretty stable. I also added a ground after the rectifier. But this is not the RMS. It is rectifying Peak with an underestimation of about 1.035 times. We should also use online converters to convert to RMS or do all calculations in Peak, assuming Peak = RMS.
https://calculator.academy/peak-current-calculator/
https://www.allaboutcircuits.com/tools/rms-voltage-calculator/

But it is much easier to see the values when hovering the mouse.

from ktechlab.

zoltanp avatar zoltanp commented on July 22, 2024

I haven't done the calculations, so that circuit above might not really give the RMS value.

I just want to point out that calculating the RMS value of a non-periodic signal is a non-trivial problem, because one has to select the time interval on which to perform the calculation of the mean value (of the squared signal).

So for implementing RMS display in an AC voltmeter, that works with arbitrary input, the component would need a time interval parameter. And the displayed RMS would vary in time, if the input signal is not periodic or the time interval of the calculations is too short.

from ktechlab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.