1 / 48

Electronics and (for?) Data Acquisition

Electronics and (for?) Data Acquisition. Lecture: Measurement Techniques Uni Bern, Fall Semester 2008 M.S. Weber. Safety first !. Sensors Detectors. DAQ. Storage. Analysis. Overview. Detector signals Electronics components Circuit analysis Filters, amplifiers Signal transmission

ivria
Télécharger la présentation

Electronics and (for?) Data Acquisition

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Electronics and (for?) Data Acquisition Lecture: Measurement Techniques Uni Bern, Fall Semester 2008 M.S. Weber

  2. Safety first !

  3. Sensors Detectors DAQ Storage Analysis

  4. Overview • Detector signals • Electronics components • Circuit analysis • Filters, amplifiers • Signal transmission • Noise • Signal discrimination • Time (TDC) and charge (ADC) conversion • Integrated electronics • Logic gates, EPLD Some material / sourcesH. Spieler, LBL, http://www-physics.lbl.gov/~spieler/ C. De La Taille, LAL, http://indico.cern.ch/conferenceDisplay.py?confId=a062747

  5. Signals • Measure electrical signals • Convert to digital information if the signal is analog • “Direct” electrical detectors • e.g. wire chambers, semiconductordetectors, ionization chambers • “Indirect” detectors (sensor ?) • detection of light, which has to be convertedto electrical signal, e.g. scintillators, cerenkov • Temperature, pressure, …

  6. Signals

  7. Fast / Slow signals • Fast: rise time of ns • Timing information • High counting rates • difficult to keep stable through the DAQ • Slow: rise time of ms • Easier to keep stable: • Good for precise energy (integral), pulse height information • Very slow: sampling at once per second • Slow and fast signals need different treatment in the electronicsfor separate optimization. • Different sensitivity to electronics elements, RC or RL • t = RC; small RC good for fast signals, but show high distortions to slow signals • Sometimes signals are split to separately optimized lines.

  8. More characteristicsof signals from detectors • Analog signals • Signal speed(relevant for processing time and for time measurements) • Rates • Noise • Response function and offset(Energy measurement) • Pedestal • Calibration • Dead time • Efficiency • Robustness of signal shapes More on detectors later in this lecture

  9. The next two weeks:“Electronics for DAQ” Acquire an electrical signal (typically a current pulse) Digitize and prepare for storage First, someelectronics basics

  10. Fundamentals PASSIVE: Resistors, capacitors, transformer/inductor etc. Their properties do not depend actively on currents/voltages applied. ACTIVE: Diodes, Transistors (various types; analog/digital such as bipolar, field effect used in analog circuit and MOS/CMOS used in digital circuits), LED/ photo-detector, OpAmp, digital integrated circuits. ANALOG: The component response is continuously and proportionally dependent on the input (may be linear or nonlinear).Example: amplifier DIGITAL: The component response is essentially 1 or 0 (ON or OFF).Usually used in digital circuits, computer memory and processors.Example: microprocessor

  11. The next several slidesare about The basics: Electronic Circuits • Passive elements: R, C, L, … • Ohm’s law – links voltage with current and resistance • Voltage, current , impedance, energy, power • Kirchhoff’s laws • Analyze complex circuits: mesh rule, nodal analysis • Voltages at any node or current in any branch • Thevenin and Norton equivalent circuits • Combine sources of signal(voltage or current, as well as indirectly resistance)

  12. Symbol, American RESISTANCE R Symbol, Europe IEC I

  13. CAPACITANCE C Stores charge:Q [Coulombs] I I ~ Impedance

  14. τ RC CIRCUIT

  15. Exercise • Calculate the voltage U1 across R1for step-wise rise in voltage U • What is the rise time of U1, with R2>>R1 ? U R2 U1 t R1 C U

  16. INDUCTANCE L Heinrich Lenz

  17. The next several slidesare about Analysis of linear circuits • Definition of linear circuit: • Current is a linear function of the applied voltage • Ideal components or small voltages applied • Superposition: currents and voltages are combined without interacting • Mesh rules and nodal analysis

  18. Mesh rules • Mesh: a loop that does not contain an inner loop. • Count the number of “window panes” in the circuit.Assign a mesh current to each window pane. • Write Kirchhoff equations for every mesh whose current is unknown. • Solve the resulting equations

  19. Matrix form Z = Impedance matrix

  20. Equivalent circuits • Theorem of Thevenin and Norton any combination of voltage sources, current sources and resistors with two terminals is electrically equivalent to: • a single voltage source Vand a single series resistor RThevenin, 1883Helmholz, 1853 • a single current source Iand a single parallel resistor RNorton, 1926Mayer, 1926

  21. Two-port networks (“Vierpole”)

  22. Simple examples (Derive as exercise)

  23. Combination Example T:

  24. More combinations Series: Z = Z1 + Z2 Parallel: Y = Y1 + Y2

  25. Exercises Z ? A ? Z ? A ?

  26. The next several slidesare about More ingredients needed… Next: • Transfer functions • Filters: • high-pass • low-pass • Diodes • Transistors • OpAmp • Feedback loops • Amplifiers • So far we have coveredelectronics basics • R, C, L • RC • Circuit analysis • Mesh rules • Two-poles

  27. TRANSFER FUNCTION A Vin Vout Transfer Function (or gain): Bode plot(in magnitude):The log of the transfer function plotted versus log frequency A complete Bode plot also includes a graph versus phase Cutoff frequencyOutput reduced by a factor of 2 (3dB)in power  -3dB Power  -6dB Gain (- 3dBV). -3dBV

  28. Amplitude Amplitude Frequency Frequency Transfer functions of FILTERS • Low pass filter • High pass filter • Combination: • Band pass filter • Band reject (notch) filter e.g. 50 Hz

  29. SIMPLE PASSIVE LOW PASS FILTER Recall the voltage divider, As fincreases, A=VOUT/VIN(the transfer function) decreases.Thus high frequencies are attenuated.

  30. SIMPLE PASSIVE HIGH PASS FILTER Recall the voltage divider, As fincreases, A=VOUT/VIN(the gain/transfer function) increases.Thus low frequencies are attenuated.

  31. P, N is the “doping” of silicon to carry P (+) or N (-) charge) DIODE P N I Forward bias, conducting I Reverse bias, non conducting

  32. TRANSISTORS Transistors are made typically from Silicon (Si): • Bipolar junction transistor BJT IE = b IB • typically analog • Wide range of currents, voltages, frequencies • Field effect transistor FET IDS = b (VGS )2 • both analog and digital; high impedance. • MOS or CMOS; digital, high speed and low power, respectively Transistor as amplifier (or switch)Small current (voltage) at the base (gate) is amplified to produce large current at collector (drain) and emitter (source).

  33. Evolution of technologies SiGe Bipolar in 0.35µm monolithic process First transistor (1949) (Brattain-Bardeen Nobel 56) 5 µm MOSFET (1985) 15 nm MOSFET (2005) Molecular electronics

  34. Operational Amplifier (OpAmp) • Basic and most common circuit building device. • Vout=A(V+ - V-) with A →∞ • No current can enter terminalsV+ or V-. Infinite input impedance. • Can draw infinite current at the ouput. Zero ouput impedance • An opamp needs separate power. • In a circuit with feed-back: V+=V- A Many uses of OpAmps ! With and w/o feedback.

  35. Feedback loop • some proportion of a system's output is returned (fed back) to the input • used to control the dynamic behavior of the system • Changes the transfer function • Feedback is usually passive,can be active (control systems) • Stability is an issue:Nyquist stability criterion, based onpole integrals of Nyquist plot(2D plot with amplitude and phase Bode plots)

  36. Feedback on OpAmpVOLTAGE FOLLOWER V+ = VIN By virtual ground, V- = V+ Thus Vout = V- = V+ = VIN So, what’s the point ?Due to the infinite input impedance of an op amp,no current at all can be drawn from the circuit before VIN.The output signal is fed from the OpAmp power. No input signal distortion, input isolated from input. Very useful for interfacing to high impedance sensors (possibly the simplest front-end…)

  37. INVERTING AMPLIFIER V- = V+ As V+ = 0, V- = 0 As no current can enter V- and from Kirchoff’sIst law, I1=I2 = I I = VIN/R1 I = -VOUT/R2=> VOUT = -I2R2 Therefore VOUT = (-R2/R1)VIN

  38. NON – INVERTING AMPLIFIER • V- = V+ • As V+ = VIN, V- = VIN • As no current can enter V- and from Kirchoff’s Ist law, I1=I2. 4. I1 = VIN/R1 5. I2 = (VOUT - VIN)/R2 => VOUT = VIN + I2R2 6. VOUT = I1R1 + I2R2 = (R1+R2)I1 = (R1+R2)VIN/R1 7. Therefore VOUT = (1 + R2/R1)VIN

  39. The next several slidesare about Acquiring a signal • Typically, the “signal” we wantis a charge generatedin some time interval • This usually is seenas a current pulse • We need to integrate • E.g. energy measurement • Integration can be done at different stages: • At the sensor capacitance • Use an integrating pre-amplifier • Amplify the signal and integrate at the ADC • Rapidly sample the signal and use software

  40. If Ri is small (Ri (Ci +Cd) small), then the detector will discharge and the amplifier will sense the signal current • If Ri is large enough (i.e. the input time constant is large, compared to the signal = current pulse), the charge is integrated and a voltage is measured at the amplifier output But: Voltage depends on detector capacitance: very involved calibrations necessary ! Better  Use feedback circuits

  41. Ideal integrating amplifier - + Virtual ground for A=, Zi=0 90% of all front-ends (but almost always re-built with custom circuits/design…)

  42. Sensor capacitance is discharged by the resistive input impedance of the feedback circuit with time constant: • Feedback capacitance should be much smaller than the detector capacitance.For 10ns rise time signal, the bandwidth (w0/2p)should be 1.6GHz.

  43. “Ideal” vs. “real” We used here “ideal” components…life is a bit more complicated (interesting ?)with “Real” electronic elements Get the help of experts !

  44. Simple realistic amplifier

  45. Gain: • Constant at low frequency • Decay linearly with p/2 phase shift

  46. At low frequency: • At higher frequency:

  47. H(ω) vin(ω) vout(ω) F -1 h(t) vin(t) vout(t) Frequencydomain & time domain • Frequencydomain : • V(ω,t) = A sin (ωt + φ) • Described by amplitude and phase (A, φ) • Transfer function : H(ω) • Vout(ω) = H(ω) Vin(ω) • Time domain • Impulse response : h(t) • the output signal for an impulse (delta) input in the time domain • The output signal for any input signal vin(t) isobtained by convolution : • Vout(t) = vin(t) * h(t) = ∫ vin(u) * h(t-u) du • H(ω) = 1 -> h(t) = δ(t) (impulse) • H(ω) = 1/jω -> h(t) = S(t) (step) • H(ω) = 1/jω (1+jωT) -> h(t) = 1 - exp(-t/T) • H(ω) = 1/(1+jωT)-> h(t) = exp(-t/T) • H(ω) = 1/(1+jωT)n->h(t) = 1/n! (t/T)n-1exp(-t/T) • Correspondance through Fourier transforms • H(ω) = F {h(t)} = ∫h(t) exp(iωt)dt

  48. The next several slidesare about Summary and preview • Detectors produce signals of O(104) electrons with rise time between ns and ms. • The signals are mostly a current pulse • Signals needs to be amplified and possibly integrated • Signals are typically shaped • Learned about basic electronics components, amplifiers, integrators, shapers • Next: signal/noise, signal transmission, signal shaping

More Related