Test Measurement - Multi-Meters, Small Test Tools.

Wednesday, February 28, 2018

DC Small Motor Control using PWM

message: Greetings, I have a kit motor controller. I works just fine. It uses the NE556. I read some where ( on a NE555 )that I can change one of the capacitors with a variable capacitor to get the full range of frequencies out of the NE555.

 Is it possible to get adjustable frequencies out of the NE556? I have the circuit drawing. Is there any one I can send the diagram to so they could tell me which capacitor I can change? Thank you,

BR USA


PWM DC Motor Speed Control - This is a circuit for controlling the speed of small DC motors, it works nicely as a speed controller for an HO or N gauge model railroad.

DC Motor Control for Low Power

Timing 555 Motor Speed - It uses a variable frequency 555 astable. The astable triggers a monostable that produces pulses of a fixed width. At lower frequencies, the monostable pulses are infrequent and the output is high about 20% of the time.

delabs

Isolation Resistance and Insulation Resistance

message: what is insulation and isolation resistance, why and how it is measured? what are the consequences if it is not measured? 2008


Isolation Resistance and Insulation Resistance are both related to each other. Isolation Resistance could be in Giga Ohms and Tera Ohms and includes Surface Resistivity.

Insulation Resistance will be in the Range of Mega Ohms and Giga Ohms. You could say Isolation Resistance is a Tera Ohm and Giga Ohm Measurement Test.

Isolation Resistance and Insulation Resistance

Les us assume a 5KV Isolation Opto-Coupler on a Glass Epoxy PCB. You could Measure its Isolation or Insulation Resistance and it will be in the range of 1 Tera Ohms in a good PCB.

A good PCB will have a Slot Routed below the Opto Coupler for High Isolation. This will ensure Dust and Grime along with Moisture will not form a Leakage path below opto-coupler.

Use a Megohmmeter for Insulation Resistance of Transformers, Coils and Relays. Use a Teraohm Meter to measure Isolation Resistance in Opto Couplers, PCB, Ceramics and Capacitors.

Megohmmeter is a special type of ohmmeter used to measure the electrical resistance of insulators. Insulating components, for example cable jackets, must be tested for their insulation strength at the time of commissioning and as part of maintenance of high voltage electrical equipment and installations.

6520 Programmable Teraohmmeter makes resistance measurements up to 10 PΩ. Whether used in automated mode via the Guildline developed TeraCal Software or as a stand-alone meter,

Tuesday, February 27, 2018

Digital Interface Conclusion

Here i am listing the last few telegram messages in this Interface discussion. Only Points to remember are listed.

Resistors attenuate voltage or reduce. Current flow has to be limited. The adc may get damaged when voltage above Vcc is applied

Let us assume 4v is applied to a voltage divider of 30k first 10k second. 3v drops across 30k and 1v drops across 10k - This 1v sample can be measured

Values like 10k and 30k are non standard and expensive. Use 1% MFR resistors only

You can go upto 1 mega - Beyond that leakage currents cause errors. A DMM has 10 meg input resistance For the same reason. Not to save battery but to avoid loading the point. Being tested

DMM Amps mode protect

A transistor heats up if it is not fully on or saturated. Ensure it is fully on. - If Vce sat is 0.5 v it is fully conducting -- If Ic is 1A and Vce is 0.5 V then heat dissipated is 1 x 0.5 watts or 500mW

Try out and see the current through motor using DMM carefully with a 10 ohm 5w in series. 10 ohm is to protect DMM at 2A range, In case of short circuit, dmm fuse won't blow. Put dmm, motor and 10 ohm  in series.

Knowing Electrical Basics both theory and practical is important to be a good embedded systems professional. Just dont jump into coding and expect to master the Art of Electronics. 

Wednesday, January 31, 2018

Digital Interface Third Part

These are notes made of Telegram Messenger - messages i sent. Only my Messages are combined here to create paragraphs. Related to Interfacing an Embedded System to external circuits.

Pull up means a resistor connected from a point to +V. Pull Down is Resistor connected from a Point to GND.  The point can be a Gate Input, Opamp Input or a Port Output. We use these when open collector output is used,  this way we can get a clear High Or Low or avoid a point to float(no potential)

Industrial Process Control Circuits

When uC is sleeping outputs should be written high. Which is also high impedance  like a insulator- The pull up of 100 k is put to keep the point high

Diode and Zener Clamp Protection

Here are two examples of IO protection from my older circuits. The diode or Schottky protection is for circuits measuring low voltage inputs like mV. Schottky forward drop on low currents is as low as 200mV. General Purpose diodes like 1N4148 have a drop of 400mV at low currents. Use low leakage zeners if you are protecting digital inputs. you can also diode clamp to VCC and GND or VDD too. Then inputs can swing betwwen VCC and VDD.

Diode and Zener Clamp Protection

When a low is written to the port a current Ib flows from vcc thru emmiter to base via a cuurent limit resistor. Beta times Ib which may be like 200 times ib flows from emitter to collector. This is the amplified Ic - Transistor switches on and saturates like a switch. - Vce may go as low as 0.5 volt on proper load

Tuesday, January 30, 2018

Digital Interface Part Two

Continuation of Digital Interface Discussion, only my part of the communication here. This will help you understand some common methods and issues.

Use a IO port to drive low (not pulse) the base of this PNP with a resistor 10K, emitter is +V and collector is the output to power the Sensor V+. You can use a pull up resistor on the port like 47K to keep noise low.

InfraRed LED Flasher for Optical Switch

Try things practically before you connect to the Embedded System. Make test codes to check your interface circuits, watch the LEDs flash on off on the sensor. Test the sensor with obstacle and see if a clean High Low pulse is seen with a scope or DMM on a Port input.

There has to be a 100 uF 16V Electrolytic Cap in the Breadboard across +/- (supply terminals) coming from Battery. This is the first decoupling cap to prevent oscillations. It acts as a mini battery.  It should be on the board and not soldered across the battery.

Optical Retro-Reflective Proximity Switch

It may be a good idea to use this pololu sensor which can be easily enabled and disabled. This will resolve most of the issues of interfacing basic IR circuits. This post is about other raw IR sensors which need more circuit to interface well.

pololu IR sensor

Pololu 38 kHz IR Proximity Sensor, Fixed Gain, High Brightness

Yo may need a bleeder resistor 10K across the supply terminals of both the proximity switches. This ensures the cap in the proximity switch discharges after you turn off the supply within a few mS determined by the 104 decoupling cap in the proximity switch and the bleeder a 10K will do.

Monday, January 29, 2018

Digital Interface Basics

After a long time a thread of discussion in Gmail and Telegram (first time). It is about digital interfacing of embedded system. Only Education Points listed. Initials and country of origin also will not be mentioned henceforth.

When this Circuits FAQ started decades back around 2000, It was a PHP mail form called "Problems and Solutions". The mail was coming like 3-4 every day. Now in 2017-18 it is very rare and it is a bit of a relief too. The New Contact Form is Here - delabs Contact Form
Question

Question

Hello Sir. I am looking for someone that can help me with simple challenges from time to time, deciding on best electrical components and designing wired circuit diagrams to my specifications. Thank you!"

Only the delabs Answers are Reproduced Here

The output logic of your embedded system port bit (one pin) goes high  it can drive a drive a ULN2003A. - The output of this is open collector and can operate relays or lamps.

Using the ULN2003A

The Proximity Sensor can be turned on with an external PNP power transistor if the current consumption of that is above 300mA. It is not a good idea to heat The ULN2003A chip too much. Keep the return paths of these to a separate but linked ground as they carry more current.

If you are running short of ports in the Embedded System. Latch the Output by using 74HCT373. There may be logic level comparability problems check your Embedded System Supply. There may be ground loop problems.

Use ULN to drive PNP Transistor and things like a Relay, Lamp or your Proximity Switch.

It is important to learn and do things, this is the real electronics.  Do not overload any device, study current and voltage ratings. Keep Mains HV and High Current circuits that are dangerous in another card with optoisolaters.

Interesting Posts

Search This Blog