.

Sunday, March 31, 2019

Step by step design of a lock

Step by step initiation of a lockIntroductionThis paper outlines the step by step excogitation of a lock in amplifier based micro-ohmmeter. This is very practiseful in measuring small resistances without applying large underways. And find its usefulness in whoremongervass short sets on printed wags containing sensitive comp one(a)nts.The Audio Micro Ohm Meter uses coetaneous detection to measure menial assess resistances. The circumference provides a variable quantity absolute frequency audio tone to indicate the resistance under try out. often(prenominal) a tone is invaluable when troubleshooting shorted tracks on multi-layer lick boards because it is easier and quicker to trace 1.The stemma generates a 1KHz, 250mV peak consecutive wave carrier auspicate that is injected into the un cognise resistance, the resultanting potential difference crossways the electrical resistance is amplified by the orchestration amplifier. The physical body reversing switch consequently rectifies the complementary squ atomic number 18 off wave stimulant drug, the rectified sidetrack indication is not all smooth so a low arrivederci slaver is pauperisationed. A Voltage giveled is therefore utilise to measure and indicate low measure out resistances such as track resistances on printed rophy boards. To provide a well-provided indication, we want a display that has heights resolution (like a digital display) but is easy to read (like latitude meter) and that preferably doesnt even film to be looked at, so we can reduce on the probes. To trace short circuits, the one thing we dont really involve is postgraduate accuracy, since we are generally moving the probes 1. A muting detector then comes in to compare the realize potential difference with reference potential difference.The Proteus ISIS software is apply for the simulation of the circuit while a printed circuit board was use for the verification of the circuit. Resistor selec tion, analysis of wave crops , predisposition and li nigh(a)ity of the finesse to return potency and possible improvements of the device were discussed.Excitation OscillatorOne of the most(prenominal) useful ICs ever made is the 8- joint 555 timer and it is utilise in m both a(prenominal) projects. It can be used to build many circuits by in force(p) adding a few external components.NE555 is a popular version and it is worthy in most cases where a 555 timer is specified. Some low index types of the 555 are made, for instance the ICM7555, but can only be used when specified (to increase battery life) because their maximum outfit current of around 20mA (with a 9V supplement) is too low for many standard 555 circuits. The ICM7555 has the uniform pin arrangement as a standard 555. The circuit symbol for a 555 is a box with the pins arranged to suit the circuit diagram for slip 555 pin 8 at the top for the +Vs supply, 555 pin 3 produce on the right. Usually just the pin n umbers are used and they are not labeled with their function.Standard 555 ICs create a prodigious glitch on the supply when their create changes state. This is not a occupation in small circuits with no different ICs, but in a complex circuit a smoothing capacitor can be connected across the +Vs and 0V supply dependable the 555 . The 555 timer operates in different styluss. The as put off mode suits our design criteria. An astable circuit produces a square wave, this is a digital waveform with astute transitions betwixt low (0V) and senior high-pitched (+5Vs). It is possible that the durations of the low and high states may be different. The circuit is called an astable because it is not stable in any state the rig is continually changing between low and high. Our circuit needs a square waveform proceeds of 4KHz, for this to be hold backed an curb resistor evaluate can be estimated by counting to have got the needed signalise to drive the circuitDuty roulette wh eelThe obligation cycle of an astable circuit is the proportion of the complete cycle for which the proceeds is high (the mark time). It is usually maken as a plowshare. The duty cycle of our circuit can be typesetd using Time period. The timeperiod (T) of the square wave is the time for one complete cycle, but it is usually purify to consider frequency (f) which is the number of cycles per second 2. The time period can be split into dickens fictitious charactersT = Tm + Ts 5 Mark time ( getup high) Tm = 0.7 (R1 + R2) C1 Space time ( getup low) Ts = 0.7 R2 C1 we can determine our R2 usingC3= 10nF, R1=1k and f= 4kHz we calculate our R2 asTm = 0.7 X (1K + 33K) X 10 X 10-9= 238 s mend Space-time represents low proceeds, Ts= 0.7 R2 C1Ts = 0.7 X (1K) X 10 X 10-9= 0.7 sT = Tm + Ts = 238 + 0.7 = 238.7 sDuty cycle = = 99.7%The Quadrature DividerA quadrature partitioning, comprises a plurality of flip-flops, it includes at least 2 flip-flop, the flip-flops are interoperably coupled in series to produce a set dividing ratio 7. Each of the flip-flops includes two differential excitants I, two differential outputs O, and two differential measure inserts C, the outputs O, of one flip-flop is connected to the stimuluss I, of the next flip-flop, the outputs O, of the last flip-flop is connected mutually to the inputs I, of the first-year flip-flop, the flip-flops are clocked at their clock inputs C with differential clock signals in a consecutive manner which, for severally flip-flop, are one after another selected from quadrature clock input signals, 0, 90, 180, and 270, the quadrature divider is an even number divide-by-n circuit comprising a number of 2n flip-flops and providing a number of 4n output signals having 4n equidistant sorts. 9In our case the quadrature divider receives the square waveform signal from excitation oscillator as its clock signal . Figure 4 and 5 of the appendix supply the pictorial delegation of the quadrature divider as obtained from the circuit simulation and the range graphic display. There are four output signals from the quadrature divider and they apiece have amplitude of about 5V but frequency of 1 KHz. This shows that the quadrature divider effectively divides the clock frequency into four amongst the equidistant phases.AttenuatorAn attenuator is a circuit that allows a known source of government agency to be reduced by a known factor usually expressed in decibels. The main(prenominal) advantage of an attenuator is that it is made from non-inductive resistors and therefore able to change a source or load, which might be reactive, into a resistive one that is know. The power reduction is achieved by the attenuator without introducing distortion.The attenuator used in our circuit is a pi type It is used to attenuate the 0 and 180 degrees antiphase 5V signal form the quadrature divider to 250mV at 1KHz. In order to get this value we need to select R5 in this attenuator circuit. victimi sation Thevenins theorem.RTH = R5// (R3 + R4) where RTH = 100 ohms, R3 = 1K1ohms and R4 = 1K1 ohms.R5 = = 104.76 ohms.The best resistor to this to this value is a110 ohms resistor.So R5 = 110 ohms.figure 6 of the Appendix shows the graphical output of the attenuator with amplitude of about 250mV and frequency of 1 KHz. The attenuators shed light on in decibels is obtained by finding the ratio of the electric potential corresponding to a known factor. Using the formula, where R1 = 1100 ohms and the Z = 100, K = = 1.2The value of attenuation, A in dB is obtained using K = 10 (A / 20)1.2 = 10 (A / 20)A = 20 pound 1.2 = 1.584 dBInstrumentation AmplifierAn instrumentality amplifier is a variation of differential amplifier with input buffers that eliminates the need for input impedance matching making the amplifier suitable for use in measurement 5. It is a differential op-amp circuit providing high input impedances with the pleasure of accomplish adjustment through the adjustment of a angiotensin-converting enzyme resistor. Instrumentation amplifier has very low DC offset, low drift, low commotion, very high turn out-loop gain, very high common-mode rejection ratio, and very high input impedances. The instrumentation amplifier used in this circuit affected its accuracy and stability. The attenuated signal is applied across a resistor with very small resistance. The voltage drop across the resistor is small and needs to be amplified. The instrumentation amplifier does this, it composes of three op-amps arranged so that there is one op-amp to buffer severally input signal and one to produce the desired output with tolerable impedance matching for the function.3The gain of the instrumentation amplifier circuit used for this micro-ohmmeter design is known to be 60 dB. Using the formula below then,Av =where AV = 60 dB, R = 10 k,60 =, R9 = = 338.98 The best resistor to this value is 340 and it obligates the gain of the instrumentation amplifier.The negative f eedback of U3A makes the voltage at pin 2 of U3A to be equal to Voltage across R8. while, the voltage at pin 6 of U3B is held to a value equal to Voltage across R14. This establishes a voltage drop across R9 equivalent to the voltage difference between V1 and V2 and subsequently a current through R9 and since no current is worn-out by the feedback loops of the two input op-amps , the same amount of current through R9 must be divergence through R10 and R12 resistors above and below it. This produces a voltage drop between points A and B equal toVThe ordinary differential amplifier part of the circuit then amplifies this voltage drop by a gain of 1. The post- differential amplifier circuit, with gain = R19 / R15 and differential input resistance = 2*R15. The two amplifiers on the left are the buffers. With R9 = Rgain removed (open circuited), they are simple unity gain buffers the circuit will work in that state, with gain entirely equal to R19 / R15 and high input impedance becau se of the buffers. The buffer gain is increase by putting resistors between the buffer inverting inputs and ground to shunt off some of the negative feedback however, the item-by-item resistor Rgain between the two inverting inputs is a much more elegant method acting it increases the differential-mode gain of the buffer tally while leaving the common-mode gain equal to 1. This increases the common-mode rejection ratio (CMRR) of the circuit and enables the buffers to shroud much larger common-mode signals without clipping than would be the case if they were separate and had the same gain. Another benefit of the method is that it boosts the gain using a wholeness resistor rather than a pair, thus avoiding a resistor-matching problem. The ideal common-mode gain of an instrumentation amplifier is zero. The common-mode gain of the instrumentation amplifier used in this design is near zero because of the equally numbered resistors and by the matched common-mode gains of the two buf fer op-amps of the instrumentation amplifier. To obtain a closely matched resistors is difficult, as is optimizing the common mode performance of the input op-amps. All resistors are of equal value for this instrumentation amplifier except for R9. This method has the advantage of possessing extremely high input impedances on the input voltage across R=39 because they connect straight into the non-inverting inputs of their respective op-amps and adjustable gain that can be set by a single resistor. The lowest gain possible is obtained from the above circuit with R9 completely open (infinite resistance), and that gain value is 1.The output of the instrumentation amplifier is an anti-phase square wave signal from the that connects to the phase campaign detector for further modification.Lock-In AmplifierA lock-inamplifier otherwise known as a phase-sensitive detector is a type of amplifier that can derive a signal with a known carrier wave from extremely noisy environment. It is a ho modyne with a very low pass filter making it very narrow band. Lock-in amplifiers utilizes mixing, via a frequency mixer, to convert the signals amplitude and phase to a DCin fact a time-varying low-frequencyvoltage signal. It is often used to measure phase shift, even when the signals are of a high value and of high signal-to-noise ratio ratio, and do not need any other improvement.To obtain signal at low signal-to-noise ratios, it is necessary that a strong, undiluted reference signal is made on tap(predicate) at the same frequency as the signal to be measured. variety DifferenceTwo oscillators that have the same frequency and different phases that is, a phase difference, the oscillators are said to be out of phase with each(prenominal) other. The amount by which such oscillators are out of step with each other can be expressed in radians from 0 to 2 or in degrees from 0 to 360, If the phase difference is 180 degrees ( radians), then the two oscillators are said to be in antipha se. If two interacting waves fulfill at a point where they are in antiphase, then annihilating interference will occur. It is common for waves of electromagnetic (light, RF), acoustic (sound) or other energy to become superposed in their transmission medium. When that happens, the phase difference determines whether they reenforce or weaken each other. Complete cancellation is possible for waves with equal amplitudes. soma compensationThis is the correction of phase error (i.e., the difference between the genuinely needed phase and the obtained phase). To obtain stability in an operational amplifier a phase compensation is required. To conserve a phase margin in the phase compensation a capacitor/RC network is usually used . A phase compensator works by subtracting out an amount of phase shift from a signal which is equal to the amount of phase shift added by switching some additional amplifier stages into the amplification signal path.Low-Pass gain vigorA low-pass filter is a filter that passes low-frequency signals but attenuates (reduces the amplitude of) signals with frequencies higher(prenominal) than the shortcut frequency. An ideal low-pass filter completely eliminates all frequencies above the cutoff frequency while passing those below unchanged its frequency reaction is a rectangular function, and is a brick-wall filter 8. If we need to get unblock of an interfering signal in order to get a pass on of attenuation, several RC filters can be cascaded. Unfortunately, the impedance of one RC section affects the next. What this instrument is that the transition between the pass and stop bands will not be sharp. A sharp transition helps reduce the interfering signal without make degradation to the desired signals. In this case, the Sallen-Key active filter can do the job well. This circuit uses a 2-pole filter. Cascading a number of stages can give a steep attenuation transition with a very sharp knee. This cut-off frequency aids in selecting the R20 and R22 resistor values to be used in the low pass filter design to average noise in the DC signal 6.The required Q for the butterworth filter = 1.414. The op-amp stage is a unity gain follower when R20 = R22. if C9 and C10 are equal, then the Q = 1.5858 for Butterworth response.Using convenient near values gain of 1.56 in the formula,R20 = R22 = Q / (4foC9) where, fo = cut-off frequency = 4Hz, C9 = C10 = 0.1FR20 =R20 = 310.31kThe nearest standard resistor value to this calcualted resistor value is 330kVoltage Controlled OscillatorA voltage-controlled oscillator is an oscillator whose frequency is determined by a control voltage. As the control voltage causes the frequency to rise slowly until it hits a maximum and then falls back to the starting frequency. The first op-amp is an integrator(U7A). A voltage divider puts the + input at half the control voltage. The op-amp attempts to keep its input at the same voltage, which requires a current flow across the 100k to ensure that its voltage drop is half the control voltage.When the MOSFET at the arsehole is on, the current from the 200k goes through the MOSFET. Since the 100k resistor has the same voltage drop as the 100k but half the resistance, it must have twice as much current flowing through it. The additional current comes from the capacitor, charging it, so the first op-amp must provide a steadily rising output voltage to source this current. When the MOSFET at the bottom is off, the current from the 200k goes through the capacitor, discharging it, so a steadily falling output voltage is needed from the first op-amp. The result of the operation of this integrator circuit is a triangular waveform support by figure 13 of the appendix.The capacitance of the capacitor in our circuit is determined thusThe second op-amp is a Schmitt trigger. It takes the triangle wave as input. When the input voltage rises above the doorstep of 3.33 V, it outputs 5 V and the threshold voltage falls to 1.67 V. When the i nput voltage falls below that, the output goes to 0 V and the threshold moves back up. The output is a square wave. Its connected to the MOSFET, causing the integrator to raise or lower its output voltage as needed 4. Figure 14 shows the graphical representation of this circuit .The variation of the supply voltage from 3V to 9V while observing the output signal frequency obtains the sensitivity of the overall voltage- controlled oscillator circuit to supply voltage. From the test observation, the VCO produced no output signal at 3Vand beyond 6.2V. The below table shows the values obtained for the during the sensitivity test of the voltage-controlled oscillator.Using the power supply sensitivity formulaSensitivity lot change in frequency =Percentage change in power supply voltage =Between 5V to 6V, the percentage change in power supply voltage = = 20%While the percentage change in frequency is = 3.575%VCO sensitivity to this supply voltage variation = = 17.875 %Between 4V to 5V, the percentage change in power supply voltage = = 25%While the percentage change in frequency is = 12.21%VCO sensitivity to this supply voltage variation = = 48.84%The inference from the above calculation shows that the sensitivity of this lock-in amplifier based micro-ohmmeter to power supply voltage increases with reducing supply voltage.The tuning range of the VCO refers to the range of oscillation frequenciesTwo important parameters in VCO design are linearity and area range. Linearity correlates the change in frequency or the VCO output to the change in the control voltage. The sweep range is the range of possible frequencies produced by VCO control voltage.The linearityMuting sensing element CircuitThe filtered output from the phase sensitive detector is a control voltage which, with Zero input ( short circuited probes) is about Vg volts . It goes more affirmative with increasing signal direct. With maximum input(open circuited probes) the voltage will saturate near the positi ve supply rail. This would result in a loud high pitched tone from the oscillator, which is not what we want.We want the it to be mute when the probes are disconnected and to do this another operational amplifier is brought in to compare the control voltage with a reference voltage. Whenever the control voltage goes higher than the reference, the output will go negative. This allows a small current to be drawn through D1 and R25, which will keep the oscillator transistor switched off, stopping oscillation.The output voltage of an AM synchronous detector is compared with a reference potential level by a voltage comparator. A muting device connected with the output of the detector is controlled by a control circuit connected with the comparator. through with(predicate) this control circuit, the detector output is immediately muted when the detector output level falls below the reference potential level, and the muting of the detector output is removed after a predetermined retardatio n when the detector output level exceeds the reference potential level.References1 Bateson, S. January 2010, Electronic Signal learn Labs, Teesside University, Middlesbrough2 Hewes, J, (17.02.2010), 555 Timer, http//www.kpsec.freeuk.com/555timer.htmastable3 Instrumentation amplifier, (14.02.2010) http//en.wikipedia.org/wiki/Instrumentation_amplifier4 Java, (19.01.2001), Voltage controlled oscillator, http//www.falstad.com/circuit/e-vco.html 130220105 Kuphaldt, T, (12.02.2010), Differentiator and Integrator Circuits, http//www.allaboutcircuits.com/vol_3/chpt_8/10.html6 Low pass filter, (14.02.2010) http//en.wikipedia.org/wiki/Low-pass_filter7 Quadrature Divider, (17.02.2010), http//www.patentstorm.us/patents/7425850/claims.html8 Sallen-key low-pass filter (13.02.2010), http//www.ecircuitcentezr.com/Circuits/opsalkey1/opsalkey1.htm9 Widerin, P, (13.02.2010), Quadrature Divider, http//www.freshpatents.com/Quadrature-divider-dt20070111ptan20070009077.php

No comments:

Post a Comment