delabs Circuits

Monday, September 08, 2014

Triac based Lamp Dimmer power control

This is a phase angle control of a Triac which is a evolution from an SCR. The 50 Hz or 60 Hz Sine wave of mains can be turned on at any point after the Zero Crossing
Triac based Lamp Dimmer power control
The Voltage ramps up in the sine wave which gives a near "Linear" slope which can be used to trigger the ON at a time delay after zero crossing when the voltage is zero. This is like a PWM but works on low frequency only. Some of the early SMPS(HV for TV and Mains Inverter) by Siemens were built around SCRs. Turning off a SCR is a difficult job for a designer, MOSFETS and IGBT are now used for PWM drive stages.

You can use it with a bulb to vary brightness of bulb, this is a live circuit it can give a shock, enclose in plastic box, the pot should have a plastic knob, use a fuse, you can also use it for temperature control of soldering irons.

The Source file in CadSoft EAGLE format is here del00004.zip

Friday, September 05, 2014

80C39 and MCS48 based Process Controller

The Early Microcontroller : 80C39 is a CMOS Version of 8048 the one that preceded 8031-8051. MCS48 is the set for that, MCS51 is the current set.

Digital to Analog Converter with uC Watchdog is the front end and an external  hardware watchdog of an early kind. These are simple but robust circuits and worked well in noisy environments.

Here is an example project for 80C39-8748-8749 microcontroller. This code was written by me, and it works. But the documentation is not complete or may have errors.

 80C39 and MCS48 based Process Controller - CPU

Process Controller code here 80C39 Code for MCS48 (editable spreadsheet online)

The circuit for these are on this page along with other circuits. This may be difficult to put together now. But

the code and hardware is near compatible to 8051 uC. Now there are may types of ADC and uC.

Voltage to Frequency Converter AD Interface is the analog front end of this instrument. Uses a LM331 VCO. The Signal conditioning too is integrated in this circuit.

This was supposed to have Analog in and Analog out. Some parts of the circuit may be in the 80C51 page. This has ramp-up and ramp-down settings for the Increment and Decrement buttons. This helps setting setpoint quickly. There is also debouncing for the pushbutton.

Tuesday, September 02, 2014

Solid State Relay - Common

This is a DC controlled Solid State Relay which can turn 230V AC equipment on and off. The output is like a NO normally open contacts of a relay and have to be in series with the Load like any other switch.

Solid State Relay - Common
This should not be used for large inductive loads like big motors. The Q1 transistor limits the current thru the LED by providing an alternate path for more current. The DC input can be from 3V to 20V.

The Triac can be chosen depending on current in the load. Look for datasheets and applications at STMicroelectronics for BTA41600 triacs. MOC3041 zero crossover opto-diacs.

Read more at my main page - Solid State Relays - SSR I used to make them long ago.

Solid State Relay - Common

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