Showing posts with label motor. Show all posts
Showing posts with label motor. Show all posts

Monday, March 18, 2013

Controlling Motor with a Cell Phone Circuit Diagram Explained

The following article describes a very simple circuit idea which can be used for controlling a motors rotational direction i.e. for moving it either clockwise or anticlockwise through alternate miss calls from your cell phone.


I have already discussed a novel cell phone controlled remote switch circuit where the unit can be used for switching an electrical gadget through the users cell phone. The user just has to call the remote system which responds to the blank calls  and generates the required alternate switching of the connected gadget.

The same circuit has been used here also, the output is appropriately modified such that now the unit becomes suitable for toggling the rotation of a DC motor.

The circuit shown below can be used for controlling a motor rotational direction, lets try to understand its functioning details:

The lower section of the diagram consisting of T1, T2, T3 and T4 along with the associated components forms a simple high gain audio amplifier circuit.

This circuit is used for amplifying the ringtone generated by the attached modem cell phone unit.

The modem cell phone handset is an ordinary NOKIA 1280 cell phone which is permanently integrated with this circuit.

The above modem cell phone  uses a prepaid SIM card and thus it becomes a self contained receiver module.

When this modem cell phone is called by the owners cell phone, its ringtone activates and gets amplified by the above explained tone amplifier stage.

The amplified signal becomes powerful enough to triggers the relay RL1.

This relay holds or remains activated as long as the call stays connected, and breaks when the call is disconnected.

RL1s N/O contact is supplied with a 12v trigger to the adjoining stage which is a FLIP/FLOP stage, made by using four NAND gates from the IC 4093.

With every alternate missed calls from the owners cell phone, the modem cell phone signals the tone amplifier, which activates RL1, and RL1 in turn flips or flops the IC1 circuit.

The output of the flip flop is connected with a relay driver circuit which is attached with two relays RL2  in parallel. You may use a single DPDT relay also for better convenience.

The contacts of the relays are configured in such a manner that flipping them produces opposite movements for the motor thats integrated to them.

The mains supply to the relay and the motor is taken from RL1, which means the motor flips with every subsequent "missed calls" and remains activated until the call stays connected, and then halts.

The circuit can be modified in many different ways as per the users specifications.

The modem cell phone should be appropriately assigned with a particular continuous ringtone while the default ringtone should be assigned to "empty", tis will make the unit immune to unknown numbers or wrong numbers, and the owner will be the sole controller of the attached circuit and the motors.





Parts List

 All resistors are 1/4w 5% CFR unless otherwise stated.

 R1 = 22k
 R2 = 220 OHMS
 R3,R11,R12 = 100K
 R4,R6,R7,R9 = 4.7K
 R5 = 1K,
 R8 = 2.2M
 C1,C4,C5 = 0.22uF DISC TYPE
 C2,C3 = 100uF/25V
 T1,T2,T4,T5 = BC 547B
 T3 = BC557 B
 ALL DIODES = 1N4148
 IC1 = 4093
 RL1 = RELAY 12V/400 OHMS SPDT
RL2 = Relay DPDT 12V/400 ohms
L1 = small buzzer coil, small choke or similar.
 JACK = 3.5mm AUDIO JACK
 CELL PHONE MODEM = NOKIA 1280
More...

Converting a DCM Motor

We recently bought a train set made by a renowned company and just couldn’t resist looking inside the locomotive. Although it did have an electronic decoder, the DCM motor was already available 35 (!) years ago. It is most likely that this motor is used due to financial constraints, because Märklin (as you probably guessed) also has a modern 5-pole motor as part of its range. Incidentally, they have recently introduced a brushless model. 

The DCM motor used in our locomotive is still an old-fashioned 3-pole series motor with an electromagnet to provide motive power. The new 5-pole motor has a permanent magnet. We therefore wondered if we couldn’t improve the driving characteristics if we powered the field winding separately, using a bridge rectifier and a 27 Ω current limiting resistor. This would effectively create a permanent magnet. The result was that the driving characteristics improved at lower speeds, but the initial acceleration remained the same. But a constant 0.5 A flows through the winding, which seems wasteful of the (limited) track power. A small circuit can reduce this current to less than half, making this technique more acceptable. 

Circuit diagram :
Converting a DCM Motor-Circuit Diagram
Converting a DCM Motor Circuit Diagram

The field winding has to be disconnected from the rest (3 wires). A freewheeling diode (D1, Schottky) is then connected across the whole winding. The centre tap of the winding is no longer used. When FET T1 turns on, the current through the winding increases from zero until it reaches about 0.5 A. At this current the voltage drop across R4-R7 becomes greater than the reference voltage across D2 and the opamp will turn off the FET. The current through the winding continues flowing via D1, gradually reducing in strength. When the current has fallen about 10% (due to hysteresis caused by R3), IC1 will turn on T1 again. The cur-rent will increase again to 0.5 A and the FET is turned off again. This goes on continuously.
The current through the field winding is fairly constant, creating a good imitation of a permanent magnet. The nice thing about this circuit is that the total current consumption is only about 0.2 A, whereas the current flow through the winding is a continuous 0.5 A. 

We made this modification because we wanted to convert the locomotive for use with a DCC decoder. A new controller is needed in any case, because the polarity on the rotor winding has to be reversed to change its direction of rotation. In the original motor this was done by using the other half of the winding.
There is also a good non-electrical alter-native: put a permanent magnet in the motor. But we didn’t have a suitable magnet, whereas all electronic parts could be picked straight from the spares box. 




Source By : Streampowers
More...

Monday, March 11, 2013

Circuit explanation of Stepper Motor controller

Motor driving circuit
 

This is the circuit which drives the coil of stepper motor. There are circuits which drive coil, coil, coil and coil respectively.
Darlington connection-type transistor is used for the drive of the coil. As for the Darlington connection, 2 stages of transistors are connected inside in series. The "hfe" of this transistor is the multiplication of the "hfe" of each transistor inside. In case of 2SD1209K which was used this time, the hfe is over 4000. Because the ratio of the input electric current and the output current is big, the rising edge and the falling edge of the control signal can be made sharp.
The diode to be putting between the collector and the power is for the protection of the transistor. When the transistor becomes OFF from ON, the coil of the motor tries to continue to pass an electric current and generates high voltage. An electric current by this voltage is applied to the diode and the high voltage which applies over the transistor is prevented.
Speed control circuit
  This is the circuit which controls the rotational speed of the motor.
TR1 becomes ON condition when RB7 becomes H level. In this condition, the electric charge of capacitor C1 flows through the transistor and the voltage of the both edges of the capacitor becomes 0 V almost.
When RB7 becomes an L level, the transistor becomes OFF condition. In this condition, the electric current flows through VR1 and R4 into capacitor C1 and the charging to the capacitor begins. The voltage of the both edges of the capacitor becomes high gradually as charging is done. As for the change of this voltage, refer to "Integration circuit".
The voltage of the capacitor is detected by RB5. The software of PIC interrupts the control of the motor until it checks RB5 after making RB7 an L level and RB5 becomes H level. When making the value of VR1 small, the charging time of the capacitor is short and the control of the motor becomes quick. The control of the motor becomes slow when making VR1 big. The speed control range can be changed by changing the value of the capacitor.

Start/stop circuit
This is the circuit for the clockwise rotating, the counterclockwise rotating or stopping a motor. The baton switch of the non lock is used. Pull-up resistor is used for the port to become H level when the switch is OFF. The RB port of PIC16F84A has an internal pull up feature. However, because RB5 is used for the voltage detection of the capacitor at the circuit this time, an internal pull up feature isnt used. If using RA port for the voltage detection of the capacitor, the RB internal pull up feature can be used. The circuit this time put an external pull-up resistor in the relation of the pattern.

Oscillator
4-MHz resonator is used because the circuit this time doesnt need high-speed operation.

Power supply circuit
The purpose of this circuit is to keep power supply voltage to PIC to 5V when the power of the stepper motor is more than 5V.
Because the operating voltage of the stepper motor to be using this time is about 5V, the power supply voltage is +5V. In this case, the voltage which is applied to PIC becomes less than 5V because of the voltage drop (about 1V) of the regulator. In case of PIC16F84A, the operation is possible even if the power falls to about 3V because the operating voltage range is from 2V to 5.5V. It is enough in the 100-mA type.
 
 
 
More...