Showing posts with label Controller. Show all posts
Showing posts with label Controller. Show all posts

How To Build water level controller using an 8051 microcontroller?

 Building a water level controller using an 8051 microcontroller involves using sensors to detect the water level and actuating a pump to control the water level automatically. Here's a step-by-step guide to help you get started with the project:




Components Required:

    • 8051 microcontroller (e.g., AT89C51 or AT89S52)
    • Ultrasonic sensor or water level sensor (e.g., float switch)
    • Motor or water pump
    • Transistors and relays (for interfacing the microcontroller with the motor)
    • Power supply (DC adapter or battery)
    • Resistors, capacitors, and other supporting electronic components
    • Breadboard or PCB for circuit connection
    • Connecting wires

Step-by-Step Guide:

Step 1: Circuit Design

  • Design the circuit on a breadboard or PCB. Connect the 8051 microcontroller, ultrasonic sensor, motor, transistors, and other components according to the schematic.

Step 2: Microcontroller Programming

  • Write the program for the 8051 microcontroller using assembly or C language. The program should read the sensor data and control the motor based on the water level.

Step 3: Sensor Interface

  • Connect the ultrasonic sensor or water level sensor to the appropriate input pins of the microcontroller.
  • Depending on the sensor you choose, you may need additional components like resistors or voltage dividers to interface with the microcontroller.

Step 4: Motor Control

  • Use transistors and relays to interface the microcontroller with the motor. The microcontroller's output pins should drive the transistors, which in turn control the motor's operation.

Step 5: Power Supply

  • Connect a suitable power supply to power the microcontroller and the motor. Ensure that the power supply voltage is compatible with the microcontroller and the motor.

Step 6: Calibration and Testing

  • Calibrate the ultrasonic or water level sensor to accurately measure the water level.
  • Upload the program to the microcontroller and test the water level controller in a controlled environment.

Step 7: Implementing Control Logic

  • In your program, set the desired water level range based on the sensor readings.
  • When the water level goes below the desired range, activate the motor to fill water.
  • When the water level exceeds the desired range, deactivate the motor to stop filling water.

Step 8: Safety Considerations

  • Implement safety measures to avoid overflow or any other potential hazards.
  • Consider adding a low-water level sensor to prevent the motor from running dry.

Step 9: Enclosure

  • Build an enclosure to protect the circuit and components from water and environmental factors.

Step 10: Final Testing and Troubleshooting

  • Test the water level controller in real-world conditions and troubleshoot any issues that may arise.

Remember that this project involves working with electrical components, and safety should be a top priority. Double-check your connections, use appropriate components, and ensure that the circuit and motor are well-isolated from the water to avoid accidents. If you are new to microcontroller projects, it might be helpful to refer to online tutorials and resources for 8051 microcontroller programming and interfacing.

Read More

PWM Dimmer/Motor Speed Controller Circuit Diagram

This is yet another project born of necessity. It's a simple circuit, but does exactly what it's designed to do - dim LED lights or control the speed of 12V DC motors. The circuit uses PWM to regulate the effective or average current through the LED array, 12V incandescent lamp (such as a car headlight bulb) or DC motor. The only difference between the two modes of operation is the addition of a power diode for motor speed control, although a small diode should be used for dimmers too, in case long leads are used which will create an inductive back EMF when the MOSFET switches off.

  

Photo of Completed PWM Dimmer/Speed Control

The photo shows what a completed board looks like. Dimensions are 53 x 37mm, so it's possible to install it into quite small spaces. The parts used are readily available, and many subsitiutions are available for both the MOSFET and power diode (the latter is only needed for motor speed control). The opamps should not be substituted, because the ones used were chosen for low power and their ability to swing the output to the negative supply rail. Note that if used as a motor speed controller, there is no feedback, so motor speed will change with load. For many applications where DC motors are used, constant speed regardless of load is not needed or desirable, but it is up to you to decide if this will suit your needs.

Description
First, a description of PWM is warranted. As the pot is rotated clockwise, the input voltage changes linearly with rotation. At first, the voltage is such that the comparator output is just narrow spikes, which turn the MOSFET on for a very short period. Average current is low, so connected LEDs will be quite dim, or a motor will run (relatively) slowly. As the input voltage coming from the pot increases, the MOSFET is on for longer and longer, so increasing power to the load.


Figure 1 - PWM Waveform Generation

Figure 1 shows how the PWM principle works. The red trace is the triangle wave reference voltage, and the green trace is the voltage from the pot. When the input voltage is greater than the reference voltage, the MOSFET turns on, and current flows in the load. Because the frequency is relatively high (about 600Hz), we don't see any flicker from the LEDs, but the tone is audible from a motor that's PWM controlled. The PWM signal is shown in blue. The average current through the load is determined by the ratio of on-time to off-time, and when both are equal, the average current is exactly half of that which would be drawn with DC.


Figure 2 - Dimmer/Speed Controller Schematic

The circuit is shown in Figure 2. U1 is the oscillator, and generates a triangular waveform. R4 and R5 simply set a half voltage reference, so the opamps can function around a 6V centre voltage. U2A is an amplifier, and its output is a 10V peak to peak triangle wave that is used by the comparator based on U2B. This circuit compares the voltage from the pot with the triangle wave. If the input voltage is at zero, the comparator's output remains low, and the MOSFET is off. This is the zero setting. In reality, the reference triangle waveform is from a minimum of about 1.5V to a maximum of 9.5V, so there is a small section at each end of the pot's rotation where nothing happens. 

This is normal and practical, since we want a well defined off and maximum setting. Because of this range, for lighting applications, an industry standard 0-10V DC control signal can be used to set the light level. C-BUS (as well as many other home automation systems) can provide 0-10V modules that can control the dimmer. While a 1N4004 diode is shown for D2, this is only suitable if the unit is used as a dimmer. For motor speed control, a high-current fast recovery diode is needed, such as a HFA15TB60PBF ultra-fast HEXFRED diode. There are many possibilities for the diode, so you can use whatever is readily available that has suitable ratings. The diode should be rated for at least half the full load current of the motor, and the HFA15TB60PBF suggested is good for 15A continuous, so is fine with motors drawing up to 30A.

Construction
While it's certainly possible to build the dimmer on veroboard or similar, it's rather fiddly to make and mistakes are easily made. Also, be aware that because of the current the circuit can handle, you will need to use thick wires to reinforce some of the thin tracks. This is even necessary for the PCB version. Naturally, I recommend the PCB, and this is available from ESP. The board is small - 53 x 37mm, and it carries everything, including the screw terminals. The PCB is double-sided with plated-through holes, and has solder masks on both sides. The MOSFET will need a heatsink unless you are using the dimmer for light loads only. It is necessary to insulate the MOSFET from the heatsink in most cases, since the case of the transistor is the drain (PWM output).

For use at high current and possible high temperatures, the heatsink may need to be larger than expected. Although the MOSFET should normally only dissipate about 2W or so at 10A, it will dissipate a lot more if it's allowed to get hot. Switching MOSFETs will cheerfully go into thermal runaway and self destruct if they have inadequate heatsinking. You may also use an IGBT (insulated gate bipolar transistor) - most should have the same pinouts, and they do not suffer from the same thermal runaway problem as MOSFETs. As noted above, there are many different MOSFETs (or IGBTs) and fast diodes that are usable. The IRF540 MOSFET is a good choice, and being rated 27A it has a generous safety margin. There are many others that are equally suitable - in fact any switching MOSFET rated at 10A or more, and with a maximum voltage of more than 20V is quite ok.

Testing

Connect to a suitable 12V power supply. When powering up for the first time, use a 100 ohm "safety" resisor in series with the positive supply to limit the current if you have made a mistake in the wiring. The total current drain is about 2.5mA with the pot fully off, rising to 12.5mA when fully on. Most of this current is in the LED, which is also fed from the PWM supply so you can see that everything is working without having to connect a load. Make sure that the pot is fully anti-clockwise (minimum), and apply power. You should measure no more than 0.25V across the safety resistor, rising to 1.25V with the pot at maximum. If satisfactory, remove the safety resistor and install a load. High intensity LED strip lights can draw up to ~1.5A each, and this dimmer should be able to drive up to 10 of them, depending on the capabilities of the power supply and the size of the heatsink for the MOSFET.

Read More

Dual High Side Switch Controller circuit diagram


Dual High-Side-Switch-Controller-Circuit-Diagram
Dual High Side Switch Controller Circuit Diagram


One of the most frequent uses of n-channel MOSFET’s is as a voltage controlled switch. To ensure that the MOSFET delivers the full supply voltage to the load it is necessary for the gate voltage to be a few volts above the supply voltage level. This can be a problem if no other suitable higher volt-age sources are available for use elsewhere in the circuit. The LTC 1982 dual high-side switch controller from Lin-ear Technology (www.linear-tech.com) solves this problem by incorporating a voltage tripler circuit in the gate driver stage. The gate voltage is limited to +7.5 V which is 2.0 V above the IC’s maximum operating voltage. It can directly drive the gate of logic-level MOSFET with a VGS(th) from 1.0 V to 2.0 V. A suitable n-channel logic level MOSFET would be the BSP 295. This device can switch up to 1.5 A and is available in an SOT 233 SMD package.

Read More

Stepper Motor Controller

Stepper motors are available in several versions and sizes with a variety of operating voltages. The advantage of this general-purpose controller is that is can be used with a wide range of operating voltages, from approximately 5 V to 18 V. It can drive the motor with a peak voltage equal to half the supply voltage, so it can easily handle stepper motors designed for voltages between 2.5 V and 9 V. The circuit can also supply motor currents up to 3.5 A, which means it can be used to drive relatively large motors. The circuit is also short-circuit proof and has built-in over temperature protection. Two signals are required for driving a stepper motor. In logical terms, they constitute a Grey code, which means they are two square-wave signals with the same frequency but a constant phase difference of 90 degrees. IC1 generates a square-wave signal with a frequency that can be set using potentiometer P1. 

This frequency determines the rpm of the stepper motor. The Grey code is generated by a decimal counter in the form of a 4017. Outputs Q0–Q9 of the counter go high in succession in response to the rising edges of the clock signal. The Grey code can be generated from the outputs by using two OR gates, which are formed here using two diodes and a resistor for each gate, to produce the I and Q signals. Here ‘I’ stands for ‘in-phase’ and ‘Q’ for ‘quadrature’, which means it has a 90-degree phase offset from the I signal. It is common practice to drive the windings of a stepper motor using a pair of push-pull circuits for each winding, which is called an ‘H bridge’. 

That makes it possible to reverse the direction of the current through each winding, which is necessary for proper operation of a bipolar motor (one whose windings do not have centre taps). Of course, it can also be used to properly drive a unipolar motor (with centre-tapped windings). Instead of using a push-pull circuit of this sort, here we decided to use audio amplifier ICs (type TDA2030), even though that may sound a bit strange. In functional terms, the TDA2030 is actually a sort of power opamp. It has a difference amplifier at the input and a push-pull driver stage at the output.

Circuit diagram:
stepper-motor-controller-circuit diagram
Stepper Motor Controller Circuit Diagram

IC3, IC4 and IC5 are all of this type (which is economically priced). Here IC3 and IC4 are wired as comparators. Their non-inverting inputs are driven by the previously mentioned I and Q signals, with the inverting inputs set to a potential equal to half the supply voltage. That potential is supplied by the third TDA2030. The outputs of IC3 and IC4 thus track their non-inverting inputs, and each of them drives one motor winding. The other ends of the windings are in turn connected to half the supply voltage, provided by IC5. As one end of each winding is connected to a square-wave signal that alternates between 0 V and a potential close to the supply voltage, while the other end is at half the supply voltage, a voltage equal to half the supply voltage is always applied to each winding, but it alternates in polarity according to the states of the I and Q signals.

That’s exactly what we want for driving a bipolar stepper motor. The rpm can be varied using potentiometer P1, but the actual speed is different for each type of motor because it depends on the number of steps per revolution. The motor used in the prototype advanced by approximately 9° per step, and its speed could be adjusted over a range of approximately 2 to 10 seconds per revolution. In principle, any desired speed can be obtained by adjusting the value of C1, as long as the motor can handle it. The adjustment range of P1 can be increased by reducing the value of resistor R5. The adjustment range is 1:(1000 + R5)/R5, where R5 is given in k.If a stepper motor is switched off by removing the supply voltage from the circuit, it’s possible for the motor to continue turning a certain amount due to its own inertia or the mechanical load on the motor (flywheel effect).

It’s also possible for the position of the motor to disagree with the states of the I and Q signals when power is first applied to the circuit. As a result, the motor can sometimes ‘get confused’ when starting up, with the result that it takes a step in the wrong direction before starting to move in direction defined by the drive signals. These effects can be avoided by adding the optional switch S1 and a 1-k resistor, which can then be used to start and stop the motor. When S1 is closed, the clock signal stops but IC2 retains its output levels at that moment, so the continuous currents through the motor windings magnetically ‘lock’ the rotor in position. The TDA2030 has internal over temperature protection, so the output current will be reduced automatically if the IC becomes too hot. For that reason, it is recommended to fit IC3, IC4 and IC5 to a heat sink (possibly a shared heat sink) when a relatively high-power motor is used. The tab of the TO220 case is electrically bonded to the negative supply voltage pin, so the ICs can be attached to a shared heat sink without using insulating washers.
Source by : Streampowers
Read More

Luminescent Generator Circuit Diagram

This is a simple Luminescent Generator Circuit Diagram. When spun rapidly between the fingers, a bipolar stepper motor will generate around 10VAC. If this is stepped up with a small 240V to 6-0-6V transformer in reverse (with series connected secondaries), a small bipolar stepper motor is capable of powering a standard 5cm by 6cm luminescent sheet at full brightness. These are designed to be powered from 20V to 200VAC (typically 115VAC), producing 1.5 candelas of light - which will dimly light the average room, or adequately light a camp table. They are manufactured by Seikosha (RS Components Cat. 267-8726).

Circuit diagram:
luminescent-generator-circuit diagram
Luminescent Generator Circuit Diagram

The transformer should be a small one (around 100mA or so), otherwise efficiency is compromised. The wires of the motor's two phases are usually paired white & yellow and red & blue. Just one of these phases is employed in the circuit. If a small bipolar stepper motor from a discarded 3.5-inch disk drive is used, the Luminescent Generator may be built into a very small enclosure. To sustain rapid, smooth spinning of the motor, a geared handle may be added.
Source by : Streampowers
Read More

Rolling Shutter Motor Control Circuits Diagram

An electrically operated rolling shutter usually has a standard control panel with a three-position switch: up, down and stop. If you would like to automate the opening and closing with a time controlled switch, a few additional wires will have to be connected. Typically, the controls are implemented as indicated in the schematic ‘Normal Situation’. If this is indeed the case, then you can see in ‘New Situation’ how the shutter can be automated with a timer. There is only one method to determine the actual schematic of your control circuit, and that is to open the control box and using an ohmmeter, pencil and paper to check out and draw the circuit. Make sure you turn the power off first though! Connect a 230-V relay (with both the contacts and the coil rated 230 VAC) to the timer.


Rolling_Shutter_Control2 Circuit Diagram 
The changeover switch between automatic and manual control needs to be rated 230 VAC as well and may not be a hazard for the user. The relay and switch are preferably fitted in a plastic mains adapter enclosure with built-in plug, which is plugged into the timer. It is a good idea to check first if this will actually fit. Because of the manual/automatic-switch, the operation is completely fail-safe and misunderstandings are out of the question. The switch prevents the issue of conflicting commands (with disastrous consequences) when, for example, the shutter is being automatically raised and manually lowered at the same time.

Rolling_Shutter_Control Circuit Diagram



Read More

Reservoir Pump Controller Circuit Diagram

This circuit operates an automotive windscreen washer pump to fill a 20-litre drum from a 205-litre water reservoir. The drum is suspended above a drip line, which irrigates a vegetable garden. Two stainless steel probes mounted in the drum act as sensors for the system. One probe is positioned at the high water mark, the other at about half-full. The pump power is switched by a 12V automotive relay (RLY1). Two op amps (IC1a & IC1b) connected as voltage comparators form the basis of the circuit. 

Initially, assume a falling water level with the pump switched off. When the water level exposes the lower probe, the non-inverting input (pin 5) of IC1b rises to about 7.4V. With trimpot VR2 correctly adjusted, this will be higher than the voltage on pin 6. The output (pin 7) therefore swings high, biasing Q1 into conduction. This in turn causes Q4 to conduct, switching on the relay and starting the pump. 

In addition, when Q4 switches on it supplies base current to Q3 via a 6.8kO resistor. Initially, this current flows through the 47µF capacitor, but once its base-emitter voltage reaches about 0.6V, Q3 conducts. This action latches Q4 in the "on" state, as its base current can flow to ground via Q3 when Q1 stops conducting – which will occur when the rising water level reaches the low probe. When the water level reaches the high probe, the voltage on the non-inverting input (pin 2) of IC1a decreases markedly due to the conductivity of the water.

Circuit diagram:
Reservoir-pump-controller circuit diagram
Reservoir Pump Controller Circuit Diagram

If trimpot VR1 is correctly adjusted, the output (pin 1) swings high, switching on Q2. This discharges the 47µF capacitor and robs Q3 of its base current, switching this transistor off. This in turn switches off Q4 and the relay. The zener diodes and 1kO series resistors at the probe inputs protect the op amp’s high impedance inputs from the effects of static discharge. The 47µF capacitor in parallel with the base-emitter junction of Q1 prevents the latching function from being activated when power is applied to the circuit. The author’s setup is powered from an old car battery charged from a 12V solar panel.
Source by : Streampowers
Read More

Maximite Stepper Motor Interface Circuit Diagram

This simple circuit and program listing allows the Maximite microcomputer (SILICON CHIP, March-May 2011) to control a stepper motor. It could be expanded to allow for the control of multiple motors, with four of the Maximite’s external I/O pins used to control each motor with identical driver circuits. A ULN2003 Darlington transistor array (IC1) switches current through the stepper motor’s two windings in either direction. When one of the four Maximite output pins (8, 12, 16 & 20, corresponding to I/Os 19, 17, 15 & 13) goes high, the corresponding output pin on IC1 goes low, sinking current through a motor winding. Conversely, when these pins are high, the corresponding Darlington transistor is off and so no current flows through that portion of the winding.

Maximite Stepper Motor Interface Circuit Diagram


Maximite stepper motor interface
The centre tap of each motor winding is connected to a current source comprising PNP Darlington transistor Q1 and some resistors. The maximum current is determined by the resistive divider driving its high-impedance base, setting the base voltage to around 9.1V when it is fully on. By adding Q1’s base-emitter voltage (1.4V at 0.5A, as per the data sheet) we can determine that there will be around 1.5V across the 3.3O resistor (12V - 10.5V), resulting in a current of 1.5V ÷ 3.3O = ~450mA. Transistor Q1 must be fitted with a medium-sized flag heatsink (Jaycar HH8504, Altronics H0637) or larger to handle its maximum dissipation of (10.5V - 4.9V) x 450mA = 2.5W.

When one of the Darlington transistors switches off and current flow through the corresponding motor winding ceases, the inductive winding generates a back-EMF current which causes the voltage across that winding to spike. IC1 has internal “free-wheeling” diodes from each output to the COM pin, which is connected to the +12V supply. The back-EMF current flows back into the power supply and the voltage spikes are clamped at about 12.7V, so that the Darlington transistors do not suffer collector reverse breakdown, which might damage them.

A 470µF capacitor provides supply bypassing for the motor while a 47kO pull-up resistor and toggle switch/pushbutton S1 drives input pin 9 of the Maximite, allowing manual control of the motor direction. Table 1 shows the sequence in which the output pins are driven to turn the motor forward; the steps are run backwards for reverse operation. The delay between the steps determines the speed at which the motor rotates. The source code of the sample program is available for download from the SILICON CHIP website (maximite_stepper_motor.bas). 
Source by : Streampowers
Read More

Low cost Pump Controller Circuit Diagram

This simple but effective circuit can be used to control water level in a container. The prototype is used to pump water out of a bucket that collects condensation from a home air-conditioning system. The design is based around a 555 timer (IC1). Although the timer in configured as a mono-stable, it lacks the usual timing capacitor from pin 6 to ground. Instead, a metal probe inserted in the water provides a current path to a second, grounded probe. When the water level in the container reaches a third ("high") probe, the trigger input (pin 3) is pulled low, switching the 555 output high and energizing the relay via transistor Q1.

Circuit diagram:

cheap-pump-controller-circuit diagram 
Cheap Pump Controller Circuit Diagram

Once the water level drops below the "low" probe, the threshold input (pin 6) swings high, switching the output (pin 3) low and the relay and pump off. The two 100kΩ pull-up resistors can be replaced with larger values if more sensitivity is required (eg, if the 555 doesn’t trigger). A switch (S1) can be included to bypass the relay for manual emptying. The "low" probe should be positioned so that the pump doesn’t run dry.

cheap-pump-controller diagram

The high level probe is placed at the level that you want the pump to start. Since the water is held at ground potential, you must use stainless steel or copper wire to slow corrosion. With water fountain pumps available for less than $10, this circuit offers a cheap alternative for those who have an air-conditioner on an internal wall and don’t want to be continually emptying the bucket on humid days.
Source by : Streampowers
Read More

Efficient Fan Speed Controller Circuit Diagram

A partial solution to quietening noisy PCs can be to reduce the speed of internal cooling fans. Low-cost fan speed controllers are available, but they often employ inefficient, heat-generating linear regulators and contain no temperature feedback mechanism. This idea makes use of a readily available, cheap in-car mobile phone charger. The majority of these use common circuitry and require only minor modifications to operate as efficient fan speed controllers complete with temperature feedback. Most in-car chargers are based on the well-known MC34063 DC-DC switchmode IC.

When used for charging mobile phones, the open-circuit output voltage is typically set to between 7V and 9V. This is achieved with a simple voltage divider across the output, the centre point of which connects to the feedback input (pin 5) of the MC34063. To make the output voltage var-iable with air temperature, first replace the upper resistor of the divider with a 4.7kΩ resistor in series with a 4.7kΩ trimpot. The lower half of the divider is then replaced with a 470Ω resistor in series with a 500Ω NTC thermistor. These values are only a guide and can be varied to suit different thermistor and fan types.

Circuit diagram:


efficient-fan-speed-controller-circuit diagram
Efficient Fan Speed Controller Circuit Diagram

Note that component lead length should be minimised to avoid introducing noise into the feedback circuitry. Getting the correct fan starting voltage is a matter of trial and error. The values shown on the circuit give a starting voltage of about 6.8V at room temperature but trimpot VR1 can be used to raise this voltage as necessary. The output can then rise to about 10V if the interior temperature rises sufficiently. The 4.7kΩ resistor could be reduced to 3.9kΩ and VR1 adjusted to give a lower starting voltage if the fan speed is still too high at 7V. After running for one hour or so, the fan voltage as set by the interior case temperature thermistor on my PC settled at 7.4V.

Suitable chargers are available from Oatley Electronics, Cat. No. 2D0074. They’re currently listed at $5 for two, which is less than the price of the MC34063 ICs alone! Data on the MC34063 can be downloaded from www.onsemi.com and a useful development aid is to be found at www.nomad.ee/micros/mc34063. Finally, note that not all chargers have an output filter capacitor installed. Typically, this is a 220µF 10V or 16V electrolytic type. To save a few cents, the manufacturers sometimes leave this component out, relying on the mobile’s battery to perform the filtering task. If this component is missing from your charger’s PC board, it should be installed before the supply is used.
Source by : Streampowers
Read More

Two Basic Motor Speed Controllers

Here are two simple 12V DC motor speed controllers that can be built for just a few dollars. They exploit the fact that the rotational speed of a DC motor is directly proportional to the mean value of its supply voltage. The first circuit shows how variable voltage speed control can be obtained via a potentiometer (VR1) and compound emitter follower (Q1 & Q2). With this arrangement, the motor’s DC voltage can be varied from 0V to about 12V. This type of circuit gives good speed control and self-regulation at medium to high speeds but very poor low-speed control and slow starts. The second circuit uses a switchmode technique to vary motor speed.

Circuit diagram:

basic-motor-speed-controller-circuit-diagram1
Fig.1: a very simple motor speed controller based on a compound emitter follower (Q1 & Q2).

Here a quad NOR gate (IC1) acts as a 50Hz astable multivibrator that generates a rectangular output. The mark-space ratio of the rectangular waveform is fully variable from 20:1 to 1:20 via potentiometer VR1. The output from the multivibrator drives the base of Q1, which in turn drives Q2 and the motor. The motor’s mean supply voltage (integrated over a 50Hz period) is thus fully variable with VR1 but is applied in the form of high-energy "pulses" with peak values of about 12V.

Circuit diagram:

basic-motor-speed-controllers-circuit-diagram2
Fig.2: this slightly more complicated circuit gives better low speed control and higher torque.

This type of circuit gives excellent full-range speed control and gives high motor torque, even at very low speeds. Its degree of speed self-regulation is proportional to the mean value of the applied voltage. Note that for most applications, the power transistor (Q2) in both circuits will need to be mounted on an appropriate heatsink.
Source by : Streampowers
Read More

Pump Controller For Solar Hot Water System

This circuit optimises the operation of a solar hot water system. When the water in the solar collector is hotter than the storage tank, the pump runs. The circuit comprises two LM335Z temperature sensors, a comparator and Mosfet. Sensor 1 connects to the solar collector panel while Sensor 2 connects to the hot water panel. Each sensor includes a trimpot to allow adjustment of the output level. In practice, VR1 and VR2 are adjusted so that both Sensor 1 and Sensor 2 have the same output voltage when they are at the same temperature. The Sensor outputs are monitored using comparator IC1.

When Sensor 1 produces a higher voltage than Sensor 2, which means that sensor 1 is at a higher temperature, pin 1 of IC1 goes high and drives the gate of Mosfet Q1. This in turn drives the pump motor. IC1 includes hysteresis so that the output does not oscillate when both sensors are producing a similar voltage. Hysteresis comprises the 1MO feedback resistor between output pin 1 and non-inverting input pin 3 and the input 1kO resistor. This provides a nominal 12mV hysteresis so that voltage at Sensor 1 or Sensor 2 must differ by 12mV for changes in the comparator output to occur.

Circuit diagram:

pump-controller-for-solar-hot water system
Pump Controller For Solar Hot Water System

Since the outputs of Sensor 1 and Sensor 2 change by about 10mV/°C, we could say that there is a degree of hysteresis in the comparator. Note that IC1 is a dual comparator with the second unit unused. Its inputs are tied to ground and pin 2 of IC1 respectively. This sets the pin 7 output high. Since the output is an open collector, it will be at a high impedance. Mosfet Q1 is rated at 60A and 60V and is suitable for driving inductive loads due to its avalanche suppression capability. This clamps any inductively induced voltages exceeding the voltage rating of the Mosfet.

The sensors are adjusted initially with both measuring the same temperature. This can be done at room temperature; adjust the trimpots so that the voltage between ground and the positive terminal reads the same for both sensors. If you wish, the sensors can be set to 10mV/°C change with the output referred to the Kelvin scale which is 273K at 0°C. So at 25°C, the sensor output should be set to (273 + 25 = 298) x 10mV or 2.98V.

Note:
The sensors will produce incorrect outputs if their leads are exposed to moisture and they should be protected with some neutral cure silicone sealant. The sensors can be mounted by clamping them directly to the outside surface of the solar collector and on an uninsulated section of the storage tank. The thermostat housing is usually a good position on the storage tank.
Source by : Streampowers
Read More

Junk-box Fan Speed Controller Circuit Diagram

My new home theatre receiver was getting rather hot in the close confines of its cabinet, with the temperature reaching over 40°C after only about 30 minutes of use. To help lower the temperature, I decided to install a fan in the cabinet. A 75mm hole was cut in the shelf under the receiver, and a 12V fan salvaged from an old computer power supply was mounted underneath. The fan was powered from a 12V DC plugpack. 

This did the job, keeping the temperature below 30°C even after prolonged use on a warm day. However, the fan was annoyingly loud when running at full speed. To reduce the noise level substantially, I built this fan speed controller with temperature feedback. The circuit was culled from variety of ideas found on various sites on the internet, with the final circuit designed from what was in the "junk box". Air temperature in the cabinet is sensed via an LM335 (TS1).

Circuit diagram:
junk-box-fan-speed-controller circuit diagram
Junk-box Fan Speed Controller Circuit Diagram

It is glued to a piece of aluminium about 25mm square with instant glue, which is then attached to the top of the receiver with "Blue-Tack". About 300mm of audio coax makes the connection back to the circuit board. The LM335’s output rises 10mV per degree Centigrade. It is calibrated to zero output at -273°C, so at 20°C, the output will be 2.93V. This is applied to the non-inverting input of a 741 op amp (IC1). A 1N4733 5.1V Zener diode provides a voltage reference for the inverting input via trimpot VR1. The output of the op amp drives a TIP122 Darlington transistor (Q1), which in turn drives the fan motor. The op amp gain was calculated to give about 12V to the fan at 40°C. 
 
To keep the transistor cool, it is mounted on the metal base of a small plastic box, which is also used to house the components.  Initial setup should be performed with everything turned off and the ambient temperature at about 20°C. Adjust the 10-turn pot until the fan just stops running. I used a gasket made from foam strips and "blue-tacked" them between the feet of the receiver to direct all of the airflow through it. The temperature now remains at about 32°C, the fan runs very quietly and continues to run down for about 30 minutes after the receiver is switched off.
Source by : Streampowers
Read More

12V Speed Controller/Dimmer Circuit Diagram

This handy circuit can be used as a speed controller for a 12V motor rated up to 5A (continuous) or as a dimmer for a 12V halogen or standard incandescent lamp rated up to 50W. It varies the power to the load (motor or lamp) using pulse width modulation (PWM) at a pulse frequency of around 220Hz.  SILICON CHIP has produced a number of DC speed controllers over the years, the most recent being our high-power 24V 40A design featured in the March & April 2008 issues. Another very popular design is our 12V/24V 20A design featured in the June 1997 issue and we have also featured a number of reversible 12V designs.
 
Project Image :
12v-speed-controllerdimmer pro
 12V Speed Controller/Dimmer Project Image

For many applications though, most of these designs are over-kill and a much simpler circuit will suffice. Which is why we are presenting this basic design which uses a 7555 timer IC, a Mosfet and not much else. Being a simple design, it does not monitor motor back-EMF to provide improved speed regulation and nor does it have any fancy overload protection apart from a fuse. However, it is a very efficient circuit and the kit cost is quite low.

Parts layout:

12v-speed-controllerdimmer2_Parts layout

Connection diagram:

12v-speed-controllerdimmer3_Connection diagram

There are many applications for this circuit which will all be based on 12V motors, fans or lamps. You can use it in cars, boats, and recreational vehicles, in model boats and model railways and so on. Want to control a 12V fan in a car, caravan or computer? This circuit will do it for you. The circuit uses a 7555 timer (IC1) to generate variable width pulses at about 210Hz. This drives Mosfet Q3 (via transistors Q1 & Q2) to control the speed of a motor or to dim an incandescent lamp.

Circuit diagram :
12v-speed-controllerdimmer Circuit diagram
12V Speed Controller/Dimmer Circuit Diagram

While the circuit can dim 12V halogen lamps, we should point out that dimming halogen lamps is very wasteful. In situations where you need dimmable 12V lamps, you will be much better off substituting 12V LED lamps which are now readily available in standard bayonet, miniature Edison screw (MES) and MR16 halogen bases. Not only are these LED replacement lamps much more efficient than halogen lamps, they do not get anywhere near as hot and will also last a great deal longer.

Source : Streampowers
Read More