Showing posts with label Test-Measurement-2. Show all posts
Showing posts with label Test-Measurement-2. Show all posts

Friday, February 10, 2017

Function Generator using ICL8038

ICL8038 and XR-2206 can help you build a Function Generator or Wavform Generator. It is needed along with the Oscilloscope and Power Supply on the Workbench.

The ICL8038 waveform generator is a monolithic integrated circuit capable of producing high accuracy sine, square, triangular, sawtooth and pulse waveforms with a minimum of external components. The frequency (or repetition rate) can be selected externally from 0.001Hz to more than 300kHz using either resistors or capacitors, and frequency modulation and sweeping can be accomplished with an external voltage.

See the Full page with parts list at my Website - Function Generator using ICL8038.

Function Generator using ICL8038


Frequency range - 0.95 Hz to 105 KHz in five decade ranges
Waveforms - Sine, Triangular and Square.
Output amplitude - Adjustable from 10 mV PP. to 10 V PP
Output impedance - 50 ohms.

Wednesday, August 17, 2016

Single Digit Voltmeter with LM311

I wanted to design a logic probe as a tutorial, but there were many good ones in the web so i have tried to design a single digit voltmeter. This circuit is a design, i am unable to test it now, later if i test it and find mistakes i will update this page. You can help me by pointing out the errors.

Single Digit Voltmeter with LM311
First bear it in mind that it is a single digit voltmeter which is 0-9 counts only on the positive side, that is it can measure +0 to +9V DC +/- 1V error. That may not be practical for the cost of the components above. It may be used as a toy logic probe. The reason for the circuit is not for usage, but to give design ideas. The methodology used is Gut Feel - Thumb Rule method.

First i explain the simple part, D1 a seven segment common cathode LED display is chosen as CD4511 is a sourcing driver. 4511 can be latched so it has been used here, it decodes binary 4 bit decade info to seven segment output. The four bits are derived from CD4029 up-down clock pulse counter. LM311 is a analog comparator with single supply capability which is the A-D interface.

To avoid resistors for each of the LEDs the LEDs are turned ON-OFF at 10KHz 50% duty cycle. The Nand Schmitt Trigger CD4093 is used as in IC4D as a 10KHz Clock which drives T1 transistor with a resistor R5. On turn on IC4D one input is high which is pin 12 pulled up to +5 and another Pin 13 is Low as C4 is in discharged condition in NAND gate both inputs high, gives a low output, the other combinations the output is high. So the output goes high, this starts charging the cap C4 which soon makes both inputs high, which in turn makes output low starting the discharge of C4. This is now evidently a endless loop, hence it is a oscillator. R*C = T .... 0.01uF * 10K = 100uS or 10KHz as F=1/T approx or better still multiply by 1.1 ?. I am not good at formulae but i manage with a calculator.

The supply and ground pins of CMOS chips have not been shown, see datasheet or earlier circuits.

IC4A is also a oscillator but slower which is good enough, it is slow so that a measurement can be made nearly every second. The IC4A slow clock is read by 4029 which produces a count-down binary nibble at Q1....Q4, This is converted to crude analog with R1...R4. The voltage generated is compared with the voltage you are measuring by LM311 which generates a Latch pulse to 4511 to freeze the reading where both voltages match.

Method of Operation :
IC2 is a Counter in Decade-Down mode and IC3 is a BCD to Seven Segment Decoder which Drives the Display D1. The Circuit is wired in such a way as to keep counting the Pulses from the Clock IC4A. The IC4A which is wired as Schmitt Nand Oscillator Clocks the Counter. Now to understand how this Counter and display works see this Interactive Tutorial Simple Digital Counter. For every pulse at Pin-15 of 4029 the Counter Counts down from 9-8-7-6.... and so on. But the Display is Latched by IC4C, So the Display is static even when counter is running. So while testing counter you can remove IC4C and keep LE Pin-5 of 4511 low to ground. For testing this Circuit you can use the manual clock with a pushbutton (single step) or a slow clock rate 1 Hz as in the Tutorial Simple Digital Counter.

The Transistor T1 and Oscillator IC4D is to chop the power to display at a fast rate, this avoids the adding of seven resistors. This is not required, but it saves power and reduces parts count. IC4B is is like a ON indicator, it is a spare gate.

The BCD value at output of 4029 Q1-Q4, four bits, a nibble, is converted to an analog mV value across R6. The resistors R1-R4 which are connected to Q1-Q4 have weighted resistor values for the BCD 1-2-4-8. By ohms law you can understand that the analog value across R6 is approximately proportional to the BCD value. This circuit is just a single digit A-D converter, not even as good as 4 bit converter. Which means approximate value of analog at R6 will do.

Now lastly LM311 is a Comparator, it compares the Analog BCD reference at Pin-3 and the Attenuated Input signal at Pin-2. Output Pin-7 goes high when Pin-3 voltage becomes less than Pin-2. This is made to a narrow latch pulse by C2-R12-IC4C. The latch pulse freezes the BCD data to display till the next latch pulse. R8-R9 attenuate the 0-9 V DC input to a 1/100 value. The zener Diode Z1 is for protection.

I guess the LM311 circuit should work off a single supply, but a dual supply may be required as voltage levels may be near zero. You must be able to see a staircase waveform or ramp across R6. Narrow Latch pulses at Pin-5 4511 on every ramp cycle.

Friday, July 08, 2016

AT89C52 Parallel Interface to ICL7135

This circuit is a Parallel interface between 89C52 of Atmel with 7135 of Intersil.  With This circuit you can read analog data of both polarities. You can change the range scale with extra circuits, you can store data on a EEPROM or send them to PC thru RS232 or Comm port.

Using Linux in Embedded Electronic Devices

The Circuit Is Shown for One Anode Drive and one Segment Drive for Display. In similar Fashion connect rest, all 5 anodes and 7 segments and one dp decimal point. The +5 V of 2N2907 and gnd of BC547 must be directly from regulator with a big cap or even a separate supply.

AT89C52 Parallel Interface to ICL7135

Parallel interface is faster that a serial interface.It is more "Real Time" for a given processor and clock speed. The code and accompanying hardware also can speed up the data acquisition.  

AT89C52 Parallel Interface to ICL7135 - Complete Page

A single maxim chip can act as a good interface between the uC and Serial Port. You could also do this with Logic chips but correct levels and isolation cannot be achieved, Hence better to use use these interface chips.

These days USB and Wireless Interfaces are being used and Tablet Computers becoming Popular. The Interfacing of the future is "Device Networking" and Wireless may be common.

Thursday, October 12, 2006

Voltmeter Attenuator Rectifier

Measurement of Voltage : -

In testing electronic circuits, Measurement of voltages is important for diagnosing faults and making the circuits work. In circuit diagrams given in equipment manuals, voltages at various points in the circuit are usually marked. A deviation from these values indicates that some component has failed and eventually leads to clues for isolating the faulty areas.

Voltmeter Attenuator Rectifier

Specifications :-

D.C. Voltage
Ranges : +/- 200 mV, 2V, 20V, 200V, 2000V.
Input impedance: 10 mega ohms.
Circuit protection: + 2000V D.C. all ranges.
Over range: 100% to 1999.
Accuracy: +/- 0.5%.

A.C. Voltage
Note: Average responding Ranges calibrated for sine wave.
Ranges: 200 mV, 2V, 200V, 2000V
Input impedance 10 mega ohms.
Circuit protection : 750V r.m.s., all ranges.
Over range: 100% to 1999.

Description :-

As our DPM is capable of measuring only 200 mv full scale deflection, the input voltage in the case of exceeding the range needs scaling down. This is achieved by an attenuator chain.

D.C-voltage -measurement:

The circuit for the measurement of voltage (AC. and DC) from 0.2V to 2000V is as shown. In case of DC voltage measurement, A mode switch selects the input voltage and passes it via an attenuator chain. Resistors R6, R7, R8, R9 and R 10 comprise the attenuator chain. The attenuation chain is in fact the range selection network.

The voltage ranges are provided in 5 decades i.e. 200 mV, 2V, 20V, 200V, and 2000V. The input voltage after attenuation is fed, depending on the range selected by switch Rs, through switch Sad to the DPM input point. The reading on the DPM gives the value of DC voltage being measured.

A.C-voltage measurement:

Most D.C. measurements are made with AC. to DC. converters which produce a DC. proportional to the AC. input being measured and apply this DC. signal to the DPM. Converting the signal to DC at an early stage minimizes the serious errors which otherwise could result from frequency selective circuits.

When an AC voltage is to be measured, the switch Sad is to be operated. This switches enables the signal to pass through a buffer and precision rectifier and then to the DPM input while measuring AC. but passes it directly to the DPM input while measuring DC. So, now the signal after passing via the attenuator chain is fed to IC2. The buffered output of IC2 is fed through the capacitors C 10 and C 1 1 to IC3 (CA 3140-TL071) which is an FET input operational amplifier, acting as a precision rectifier. By means of diode D4 and resistor R24, rectification with gain is obtained for positive half cycles of the AC. signal while the negative half cycles are directly fed back by the diode D3. The half-wave rectified voltage is filtered by the resistor R25 and capacitor C12 combination.

The capacitors C6, C7, C8, C9 connected across resistors in the attenuator chain provide some frequency correction during AC input. The presence of offset voltage in IC3 is to be compensated using variable preset VR2. Preset VR3 is used to correct the reading so as to indicate the true a.c. value of the voltage. On passing the preset VR3, the signal enters the DPM. The reading on the panel gives the value of AC voltage being measured.

Parts List :-

1. Semiconductors
IC2 and IC3-CA3140 or TL071. D1 and D2-5V Zener 1W, D3 and D4-IN4148,

2. Resistors.
a. 1/2 W 1%,
R6-1M, R7-100KE, R8-IOKE, R9-1KE, R10-100E,
R18 and R19-10K, R23-15KE, R24-100 KE, R25-1 KE,

3. Presets.

4. Capacitors
C10 and C11 10MFD, C6-47PF, C7-1 KPF, C8-6.8KPF, C9-8KPF, C12-1MFD.

5. Miscellaneous
SSG/T-SOCKET, 51,52-DPDT, A,B,C,D-BNC,SKT, F2-100mA fuse, RS-8P2Wx5 INTERLOCKED. S-2p2wx7 Interlocked

Circuits by Application

Analog Circuits

  1. Battery Level Indicator
  2. Simple Sample and Hold
  3. Sample and Hold Standby
  4. Voltmeter Attenuator
  5. Precision Current Source
  6. Opamp Supply Virtual Ground

SCR and Triac

  1. Solid State Relay
  2. Normally Closed AC SSR
  3. AC-AC-SSR
  4. DC-DC SSR
  5. 2N2646 based Pulser
  6. Drive SCR thyristor

Mains Power

  1. Flashing Neon Lamp
  2. Dimmer power control
  3. Edison Bulb Life Extend
  4. Mains Current LED
  5. Mains Voltage LED

Digital Circuits

  1. Simple Digital Counter
  2. Running Lights
  3. Frequency Divider
  4. Crystal Oscillator
  5. Simple High speed switch
  6. Differential TTL converter

Measureall DMM

  1. Ohmmeter Measure Resistance
  2. Precision Digital Attenuator
  3. Precision Amplifier

Mixed Circuits

  1. Monostable Multivibrator
  2. Digital to Analog
  3. LM311 Oscillator
  4. PLL using 4046
  5. VCO with LM331
  6. BCD Thumbwheel to Analog
  7. V to F Converter ICL8038
555 Circuits
  1. OR gate with two 555
  2. fixed frequency duty cycle
  3. Pulse width modulation
  4. Astable Multivibrator
  5. uC Reset Generator
  6. LM555 Voltage Doubler
  7. 555 Power Oscillator
Discrete Circuits
  1. Isolated dual supply
  2. Sound to light converter
  3. Water operated relay
  4. Telephone Indicator
  5. Passive volume control
  6. RS232 Opto-Isolation
  7. Voltage Level Indicator
  8. Relay Driver
  9. Constant Current LED
  10. Voltage Doubler
  11. FET Current Source
Opamp Circuits
  1. Three Opamp Differential
  2. Two Opamp Differential
  3. Buffer Opamps
  4. Differential Op-Amp
  5. Inverting Opamp
  6. Non Inverting Opamp
  7. Digital gain control
  8. Square Triangle Oscillator
  9. Dual Polarity Output Amps
  10. Ammeter Precision Rectifier
  11. Voltage / Current 4-20 mA
  12. Current Source for RTD
Power Electronics
  1. Dual Power Supply
  2. Single Power Supply
  3. Battery Backup Supply
  4. 5V 1A Supply LM2575
  5. 5V Power Supply L296
  6. Dual Power Supply
  7. Tubelight Electronic Choke
  8. Voltage Doublers Multipliers
  9. White LED Lamp on Ni-Cd

uC and uP

  1. PC RS232 with MAX232A
  2. Battery Backup SRAM
  3. watchdog uC uP systems
Instrumentation Circuits
  1. Mains monitor LM3914
  2. Simple Mains monitor
  3. single digit voltmeter
  4. High Resistance Meter
  5. Diode Thermometer
  6. Function Generator
  7. Diode Leakage Tester
  8. Analog LED Ohm Meter
  9. Millivolt Source Current Loop
Process Control
  1. AD590 - temperature
  2. Thermocouple Amplifier
  3. Linearizing Thermocouple
  4. Thermocouple Amplifier
  5. 0-1V to 4-20 mA
  6. 1-5V to 4-20 mA
  7. InfraRed - Optical Switch
  8. InfraRed Detector