Monday, February 15, 2016

Battery Backup for SRAM or Microcontroller

This circuit can be used as a low cost SRAM and Microcontroller-Microprocessor Battery Backup. All the diodes are 1N4148, The diodes prevent battery discharge back to power source. D8 gives a one way path to charge Battery thru R13 which limits current. D4 ensures a one way path of supply to chip when power is present. D5 is backup supply on power failure.

Battery Backup for SRAM or Microcontroller

The chip a real time clock, RAM or Processor can be put to standby or sleep on power failure. If it is not a smart chip then make sure on power failure all outputs of chip are high impedance or floating. do not use any pullups or resistor dividers to Vbat, which is the supply to chip. There should be no leakage path from Vbat, decoupling cap of chip must be plastic.

Microcontroller in Process Control

If you want to use this circuit for short term retention or for CMOS logic chips then you can use a 4700uF Cap in place of battery. This works for many hours but the cap has big footprint on PCB. For long duration use more battery AH Ampere-Hour. Vcc is 5V DC regulated.

The Vbat and Vcc can be monitored with comparator like LM339, this circuit can generate the reset or low battery signals. The power on reset and power down reset can corrupt data on brown outs or black outs or even spikes and EMI. So back up data on flash. For Rapid writing and reading SRAM is better and if write-read cycles are high SRAM is best. But if you need to store values and refer to them like a look-up table flash is better.

Serial Interface a 80C31 to ICL7135

The power fluctuations can hang the chip, so a watchdog chip may be required. The conventional way was the to monitor the keyboard-display scan on a i/o port. If the pulses are coming at the rate you programmed the cpu is alive and kicking and doing its job. If the CPU is taking a nap, then the pulses stop coming and it needs to be reset.

Friday, February 12, 2016

Simple High speed data switch

This circuit is a small representation of a very low cost printer sharer. It has no Active Devices only diodes.

Simple High speed data switch

Pot the product in epoxy with a black dye, they serve the purpose. Output impedance of this circuit is high, sink is 220K source is 3.9K+ so use some buffers or drivers at Output. If Buffers are omitted, then fix this unit on the printer port connector of Computer.

when Enable A is at float-high impedance or low the output O1-O4 is not influenced by A1-A4 inputs. If Enable A is made logic high or 5V then A1-A4 is available at O1-O4.
By turning Enable A or Enable B high, you can route the data A1-A4 or B1-B4 to the output O1-O4, you can also mix data and you can expand to any number of input sets or data width. 1N4148 is fast, 4nS, that makes this data switch quite fast. This circuit cannot drive long printer cables without drivers. They will load the output.

Tuesday, February 09, 2016

100kHz Half Bridge Convertor - SG3525

This is a SMPS Circuit improved over the Application Note in the book SGS Motion Control Application Manual. This worked well. It helps you learn more about High Frequency Power Supply Design.  More details and PCB's Here SG3525 SMPS Project.

100kHz Half Bridge Convertor - SG3525

This was the Module that contained the smps chip. It was done to prevent easy replication by other firms. Alos to Keep the Signals isolated from the Main board board currents and Corrosion Prevention by impregnating Module in Epoxy. Yet the main board suffered some corrosion even with some coating protection.

SG3525 STMicro IC in Module

Industrial Systems that involve processes like Etching, Coating and Electroplating have to be well ventilated so that electronics around them have some life. Else find ways to package Electronics in Sealed Enclosures with a new plan for Heat Dissipation.

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

Search This Blog