Ejs
Open Source Cathode Ray Oscilloscope CRO Java Applet
remixed version and bug fixed! http://weelookang.blogspot.sg/2012/10/ejs-open-source-cathode-ray.html https://dl.dropboxusercontent.com/u/44365627/lookangEJSS/export/ejs_model_oscilloscopewee.jar https://dl.dropbox.com/u/44365627/lookangEJSworkspace/export/ejs_oscilloscopewee.jar Author: Fu-Kwun and lookang (this remix version) |
Full screen applet
Java Simulation above is kindly hosted by NTNUJAVA Virtual Physics Laboratory by Professor Fu-Kwun Hwang
http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=2167.0
alternatively, go direct to http://www.phy.ntnu.edu.tw/ntnujava/index.php?board=28.0
Collaborative Community of EJS (Moderator: lookang) and register , login and download all of them for free :) This work is licensed under a Creative Commons Attribution 3.0 Singapore License
Author: Fu-Kwun and lookang (this remix version)
This work is licensed under a Creative Commons Attribution 2.5 Singapore License
http://www.doctronics.co.uk/scope.htm
http://www.doctronics.co.uk/scope.htm
Like a televison screen, the screen of an oscilloscope consists of a cathode ray tube. Although the size and shape are different, the operating principle is the same. Inside the tube is a vacuum. The electron beam emitted by the heated cathode at the rear end of the tube is accelerated and focused by one or more anodes, and strikes the front of the tube, producing a bright spot on the phosphorescent screen.
The electron beam is bent, or deflected, by voltages applied to two sets of plates fixed in the tube. The horizontal deflection plates, or X-plates produce side to side movement. As you can see, they are linked to a system block called the time base. This produces a sawtooth waveform. During the rising phase of the sawtooth, the spot is driven at a uniform rate from left to right across the front of the screen. During the falling phase, the electron beam returns rapidly from right ot left, but the spot is 'blanked out' so that nothing appears on the screen.
In this way, the time base generates the X-axis of the V/t graph.
The slope of the rising phase varies with the frequency of the sawtooth and can be adjusted, using the TIME/DIV control, to change the scale of the X-axis. Dividing the oscilloscope screen into squares allows the horizontal scale to be expressed in seconds, milliseconds or microseconds per division (s/DIV, ms/DIV, µs/DIV). Alternatively, if the squares are 1 cm apart, the scale may be given as s/cm, ms/cm or µs/cm.
The signal to be displayed is connected to the input. The AC/DC switch is usually kept in the DC position (switch closed) so that there is a direct connection to the Y-amplifier. In the AC position (switch open) a capacitor is placed in the signal path. As will be explained in Chapter 5, the capacitor blocks DC signals but allows AC signals to pass.
The Y-amplifier is linked in turn to a pair of Y-plates so that it provides the Y-axis of the the V/t graph. The overall gain of the Y-amplifier can be adjusted, using the VOLTS/DIV control, so that the resulting display is neither too small or too large, but fits the screen and can be seen clearly. The vertical scale is usually given in V/DIV or mV/DIV.
The trigger circuit is used to delay the time base waveform so that the same section of the input signal is displayed on the screen each time the spot moves across. The effect of this is to give a stable picture on the oscilloscope screen, making it easier to measure and interpret the signal.
Changing the scales of the X-axis and Y-axis allows many different signals to be displayed. Sometimes, it is also useful to be able to change the positions of the axes. This is possible using the X-POS and Y-POS controls. For example, with no signal applied, the normal trace is a straight line across the centre of the screen. Adjusting Y-POS allows the zero level on the Y-axis to be changed, moving the whole trace up or down on the screen to give an effective display of signals like pulse waveforms which do not alternate between positive and negative values.
The above information are quoted from http://www.doctronics.co.uk/scope.htm
This java applet shows the basic functions of an oscilloscope.
The oscilloscope is an electronic instrument widely used in making electrical measurements.
The main component of the oscilloscope is the cathode ray tube (CRT).
The CRT is a vacuum tube in which electrons are accelerated and deflected under the influence of electric field. The electrons are deflected in various directions by two sets of plate placed at right angle to each other in the neck of the tube.
Signal for the horizontal deflection plate (X-axis) is generated by the scope
It mathematical form is Fx(t)= C t + D (default)
C : time scale
D : horizontal offset
The external signal (need to be measured) is applied to the vertical deflection plate (Y axis).
The default form for this java applet is Fy(t)=A sin(w t + B)
You can change X or Y axis signal to either kind of signal.
It can be operated in different mode
X = C t + D X = A sin( w t + B)
Y = A sin(w t + B) default mode Lissajou's figure
Y = C t + D not supported for an oscilloscope
For parameter B please enter value in degree.
Click within one of the knobs and drag the mouse button clockwise/countercolockwise to change values for Time/Div, Volt/Div , YOffset and XOffset.