Showing posts with label Mixed-Circuits. Show all posts
Showing posts with label Mixed-Circuits. Show all posts

Thursday, October 08, 2015

PLL using 4046 - Phase Locked loop

CD4046 is a PLL or phase lock loop, it mainly consists of a VCO and phase comparators. This is a component in FM demodulation and modulation.

Mixed and Interface Circuits

PLL using 4046

It is used in a closed loop control to maintain a stable frequency. The Circuit above is good for learning the full use of a small Dual Trace Scope. The Circuit has both Analog and Digital areas and is a part of communication.
Read the pages above for building more Knowledge on PLL

Monday, September 07, 2015

VCO with LM331

This Circuit is a simple Analog to Digital Interface with a capability of 10 to 12 bits resolution. 10 bits means 1024 counts or parts of a full scale FS which is close to 3-1/2 1999 counts.
VCO with LM331

In this 1 V can be read as 1.000 V that means even 1mV can be resolved for FS of 1V.
The Caps C6 and others must be plastic multilayer low-leakage types for accuracy of reading.
Use all 1% MFR 100ppm or better resistors, Design gain of U1B for the Full Scale you want.

The Output Fout is a Frequency which is directly proportional to the measured voltage Vin.
The pulses can be isolated using opto-couplers to avoid ground loops or electric hazard.
An additional protection and scaling circuit at the input may be required for some sensors.

Tuesday, July 07, 2015

Monostable Multivibrator CD4538

CD4538 is a dual Monostable Multivibrator. When you trigger the chip the output sends off one single pulse or one high-low event.

Mixed Circuits Analog with Digital

The T+ pin 4 of U1a is the positive edge trigger or raising edge trigger input, the T- pin 5 is falling edge or negative edge trigger input. Now see the image of the single pulse above which shows both the edges, If this is the input pulse at pin 5 then the falling edge turns the output pin 6 from low to high, this output remains high for time T = R2 * C1 and then goes low again, The output Q at pin 6 also looks like the image of pulse above.
Monostable Multivibrator CD4538

The Output pin 7 is the complementary state of pin 6, it is the reverse state or inverted form of pin 6 output.

Now why is a slope shown in the edges, this i have exaggerated a bit so that it can be explained. But then there is a slight slope due to gate input and output capacitance.

In fact if you had a wire or twisted track coming to the input and the R2C1 was in nano seconds, then you would see a ringing at the edges, a tiny peak or spike, which will have giga hertz frequency components, in fact a square way may be many sine waves put together, this you know from a spectrum analyzer.

Two Stage Sequential Timer

CD4538B can give an output with pulse width of 1uS and above. 74HC4538 gives 120nS to 60 Seconds pulses. The above circuit produces a pulse of width T = R3 * C2 after a delay of T = R2 * C1. Some Chips formula is T = 0.7 * R * C .

Friday, August 15, 2014

Digital to Analog Converter with uC Watchdog

This is the continuation of the earlier post. Part of 80C39 based Process Controller. In this schematic you can see the Watchdog and D/A Converter.

80C39 and MCS48 based Process Controller is the main circuit that has the LED 7 segment display for output and push keys for input. The old form of Human Machine Interface - HMI.

Digital to Analog Converter with uC Watchdog

My first observation of a very complex watchdog in action was an Agilent(hp) Benchtop Multimeter based on this 8048 family of 1st generation microcontrollers that did not even have a UART among many things.

At that time CMOS was just making an entry and FLASH memory was unheard of. The UV Eprom was the way firmware was set on these systems. These consumed a lot of power. 80C39 was the CMOS one.

The  4040 counter derives a slow clock from the 7555 timer. The counter has to be reset by firmware by periodically sending a reset pulse on port pin P2.7 to say "Alls Well".

If the firmware or uC "hangs" or due to EMI or Spikes the uC gets into an endless loop. Then the "Alls Well" pulses stop coming. The 4040 keeps counting till Q10 output goes high and resets the uC or can we say Wakes it up rudely.

The D/A converter was used to get the 1-5 V to obtain 4-20 mA control Signal to operate the Actuators like a Motor Drive or Heaters in a Industrial Process control System.

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