Thanks to Konstantin Zeldovich
Oscilloscope for Windows version 2.51 (Oscilloscope 2.51) is an application showing how home PC peripherials, such as a sound card, can be used in an unconventional way, emulating industrial ADC hardware. The Oscilloscope provides a complete functionality of a "standalone" scope in a familiar Windows ennvironment.
The Oscilloscope allows you, for example:
- to study in real time any signal envelope,
- to measure frequencies
- to study realtime signal spectra,
- to plot Lissajous patterns.
- to measure a cross-correlation coefficient of two signals
(In general, to do most things you can do with an oscilloscope and a spectrum analyzer).
Not surprisingly, the Oscilloscope has several drawbacks too:
- non-calibrated amplitude level (hard to use as digital multimeter),
- relatively low bandwidth (20 Hz - 20 kHz),
- possibility of damage of a PC when connecting to an unknown signal source. (See Precautions ).
Specifications:
Dual trace digital storage oscilloscope with realtime spectrum analyzer and correlometer.
Buffer length: 52 ms
Bandwidth: 20 Hz - 20 kHz max
Input level: about 2 VAC, limited by sound card capabilities
Display refresh: ca. 6 fps
Data export: disk file or Windows clipboard, text format
Click here to download the oscilloscope software
Thursday, June 25, 2009
Tuesday, June 23, 2009
USB Sniffer With SnoopyPro
SnoopyPro is a tool for advanced USB programmers. It allows you to record each URB sent to and received from a USB device. This traces can be saved, loaded, edited, printed and combined into new traces.
WARNING: You might damage your system with this tool. Don't use it if you don't know what you're doing!!!! We're not responsible for anything that happens to you, your system, your devices, your marriage, etc. etc.
SUPPORTED OPERATING SYSTEMS:
Tested by the authors on Windows 98, Windows 2000, Windows XP
INSTALLATION/USE:
1. Run SnoopyPro.exe from whereever you have saved it.
2. Open up the USB devices window with F2.
3. Choose 'Unpack Drivers' from the 'File' menu.
4. Choose 'Install Service' from the 'File' menu.
5. Locate the device you want to sniff.
6. Right-click on it and choose 'Install and Restart'.
7. Wait for the magic to happen...
Click Here To Download SnoopyPro
WARNING: You might damage your system with this tool. Don't use it if you don't know what you're doing!!!! We're not responsible for anything that happens to you, your system, your devices, your marriage, etc. etc.
SUPPORTED OPERATING SYSTEMS:
Tested by the authors on Windows 98, Windows 2000, Windows XP
INSTALLATION/USE:
1. Run SnoopyPro.exe from whereever you have saved it.
2. Open up the USB devices window with F2.
3. Choose 'Unpack Drivers' from the 'File' menu.
4. Choose 'Install Service' from the 'File' menu.
5. Locate the device you want to sniff.
6. Right-click on it and choose 'Install and Restart'.
7. Wait for the magic to happen...
Click Here To Download SnoopyPro
Sunday, June 21, 2009
The Toolbar in LabVIEW
The Toolbar, located at the top of LabVIEW windows, contains buttons you will use to control the execution of your VI, as well as text configuration options and commands to control the alignment and distribution of objects (see Figure 59). You'll notice that the Toolbar has a few more options in the block diagram than in the front panel, and that a few editing-related options disappear when you run your VI. If you're not sure what a button does, hold the cursor over it until a tip strip appears, describing its function.
Figure 59. Toolbar
Run Button
Run Button (Active)
Run Button (Broken)
The Run button, which looks like an arrow, starts VI execution when you click on it. It changes appearance to active when a VI is actually running. When a VI won't compile, the run button appears broken.
Continuous Run Button
The Continuous Run button causes the VI to execute over and over until you hit the stop button. It's kind of like a GOTO statement (sort of a "programming no-no"), so use it sparingly.
Abort Button
The Abort button, easily recognizable because it looks like a tiny stop sign, becomes active when a VI begins to execute; otherwise, the Abort button is grayed out. You can click on this button to halt the VI.
Using the Abort button is like pulling the power cord on your computer. Your program will stop immediately rather than coming to a graceful end, and data integrity can be lost this way. You should always code a more appropriate stopping mechanism into your program, as we will demonstrate later.
Pause Button
The Pause button pauses the VI so that you can use single-step debugging options such as step into, step over, and step out. Hit the Pause button again to continue execution.
Step Into Button
Step Over Button
Step Out Button
The single-step buttonsStep Into, Step Over, and Step Outforce your VI to execute one step at a time so you can troubleshoot.
Execution Highlight Button
The Execution Highlight button causes the VI to highlight the flow of data as it passes through the diagram. When execution highlight is on, you can see intermediate data values in your block diagram that would not otherwise appear.
Retain Wire Values
The Retain Wire Values button causes the VI's wires to store the value that flowed through them the last time the VI executed. This is very useful for debugging. You can view the value stored in a wire by placing a probe on the wire. The probe value will be set to the value stored in the wire.
Warning Button
The Warning button appears if you have configured your VI to show warnings and you have any warnings outstanding. You can list the warnings by clicking on the button. A warning is not an error; it just alerts you that you are doing something you may not have intended (for example, if there are objects on the block diagram that are hidden behind other objects and cannot be seen).
Figure 59. Toolbar
Run Button
Run Button (Active)
Run Button (Broken)
The Run button, which looks like an arrow, starts VI execution when you click on it. It changes appearance to active when a VI is actually running. When a VI won't compile, the run button appears broken.
Continuous Run Button
The Continuous Run button causes the VI to execute over and over until you hit the stop button. It's kind of like a GOTO statement (sort of a "programming no-no"), so use it sparingly.
Abort Button
The Abort button, easily recognizable because it looks like a tiny stop sign, becomes active when a VI begins to execute; otherwise, the Abort button is grayed out. You can click on this button to halt the VI.
Using the Abort button is like pulling the power cord on your computer. Your program will stop immediately rather than coming to a graceful end, and data integrity can be lost this way. You should always code a more appropriate stopping mechanism into your program, as we will demonstrate later.
Pause Button
The Pause button pauses the VI so that you can use single-step debugging options such as step into, step over, and step out. Hit the Pause button again to continue execution.
Step Into Button
Step Over Button
Step Out Button
The single-step buttonsStep Into, Step Over, and Step Outforce your VI to execute one step at a time so you can troubleshoot.
Execution Highlight Button
The Execution Highlight button causes the VI to highlight the flow of data as it passes through the diagram. When execution highlight is on, you can see intermediate data values in your block diagram that would not otherwise appear.
Retain Wire Values
The Retain Wire Values button causes the VI's wires to store the value that flowed through them the last time the VI executed. This is very useful for debugging. You can view the value stored in a wire by placing a probe on the wire. The probe value will be set to the value stored in the wire.
Warning Button
The Warning button appears if you have configured your VI to show warnings and you have any warnings outstanding. You can list the warnings by clicking on the button. A warning is not an error; it just alerts you that you are doing something you may not have intended (for example, if there are objects on the block diagram that are hidden behind other objects and cannot be seen).
Saturday, June 20, 2009
Comm Sniffer (From Knightsoft.net)
CommSniffer is a valuable tool for technicians, engineers and software developers designing/debugging serial port related projects, it is an advanced COM/RS232 Serial port data viewer / analyzer. View and send (all 256) ASCII/Binary data. Main features include:
Click here to download Comm Sniffer "FREE..."
- Supports COM1 to COM16.
- Baud rates from 110 to 115200.
- Export transactions session to an ASCII file.
- Designed for ease of use.
- Ultra fast display rate.
- Runs in Windows 9X/2000/XP.
- Capture/send data to/from serial port.
- Built in data converter ASCII/Binary/Hex.
- Built in search.
Click here to download Comm Sniffer "FREE..."
Pic Baud Rate Calculator V2.1 (208Kb zip Win32 App)
PIC Baud Calculator - a FREE utility to calculate the SPBRG value for the PIC processors with on board Uart. Simply enter the Clock speed and the desired Baud rate and hit calculate. The SPBRG value is shown for both BRG High and Low, including the difference error. On some older PIC uarts, the BRG High setting causes intermittent UART errors.
V2.1 now supports systems that require 'commas' instead of 'points' in floating point numbers.
his utility is provided FREE of charge and as such comes with no technical support or guarantee! by downloading it you agree to these terms. If you are unsure of the validity of the output from this utility, don't use it. :)
Click here to download PIC Baud Calculator
V2.1 now supports systems that require 'commas' instead of 'points' in floating point numbers.
his utility is provided FREE of charge and as such comes with no technical support or guarantee! by downloading it you agree to these terms. If you are unsure of the validity of the output from this utility, don't use it. :)
Click here to download PIC Baud Calculator
Friday, June 19, 2009
RTU and CPU Used in SCADA and Benefits Using SCADA System
Remote terminal units
An RTU (sometimes referred to as a remote telemetry unit) as the title implies, is a standalone data acquisition and control unit, generally microprocessor based, which monitors and controls equipment at some remote location from the central station. Its primary task is to control and acquire data from process equipment at the remote location and to transfer this data back to a central station. It generally also has the facility for having its configuration and control programs dynamically downloaded from some central station. There is also a facility to be configured locally by some RTU programming unit. Although traditionally the RTU communicates back to some central station, it is also possible to communicate on a peer-to-peer basis with other RTUs. The RTU can also act as a relay station (sometimes referred to as a store and forward station) to another RTU, which may not be accessible from the central station.
Small sized RTUs generally have less than 10 to 20 analog and digital signals, medium sized RTUs have 100 digital and 30 to 40 analog inputs. RTUs, having a capacity greater than this can be classified as large.
A typical RTU configuration is shown in Figure below:
A short discussion follows on the individual hardware components. Typical RTU hardware modules include:
• Control processor and associated memory
• Analog inputs
• Analog outputs
• Counter inputs
• Digital inputs
• Digital outputs
• Communication interface(s)
• Power supply
• RTU rack and enclosure
Control processor (or CPU)
This is generally microprocessor based (16 or 32 bit) e.g. 68302 or 80386. Total memory capacity of 256 kByte (expandable to 4 Mbytes) broken into three types:
1 EPROM (or battery backed RAM) = 256 kByte
2 RAM = 640 kByte
3 Electrically erasable memory (flash or EEPROM) = 128 kByte
A mathematical processor is a useful addition for any complex mathematical calculations. This is sometimes referred to as a coprocessor.
Communication ports – typically two or three ports either RS-232/RS-422/RS-485 for:
• Interface to diagnostics terminal
• Interface to operator station
• Communications link to central site (e.g. by modem)
Diagnostic LEDs provided on the control unit ease troubleshooting and diagnosis of problems (such as CPU failure/failure of I/O module etc).
Another component, which is provided with varying levels of accuracy, is a real-time clock with full calendar (including leap year support). The clock should be updated even during power off periods. The real-time clock is useful for accurate time stamping of events.
A watchdog timer is also required to provide a check that the RTU program is regularly executing. The RTU program regularly resets the watchdog time. If this is not done within a certain time-out period the watchdog timer flags an error condition (and can reset the CPU).
Considerations and benefits of SCADA system
Typical considerations when putting a SCADA system together are:
• Overall control requirements
• Sequence logic
• Analog loop control
• Ratio and number of analog to digital points
• Speed of control and data acquisition
• Master/operator control stations
• Type of displays required
• Historical archiving requirements
• System consideration
• Reliability/availability
• Speed of communications/update time/system scan rates
• System redundancy
• Expansion capability
• Application software and modeling
Obviously, a SCADA system’s initial cost has to be justified. A few typical reasons for implementing a SCADA system are:
• Improved operation of the plant or process resulting in savings due to optimization of the system
• Increased productivity of the personnel
• Improved safety of the system due to better information and improved control
• Protection of the plant equipment
• Safeguarding the environment from a failure of the system
• Improved energy savings due to optimization of the plant
• Improved and quicker receipt of data so that clients can be invoiced more quickly and accurately
• Government regulations for safety and metering of gas (for royalties & tax etc)
An RTU (sometimes referred to as a remote telemetry unit) as the title implies, is a standalone data acquisition and control unit, generally microprocessor based, which monitors and controls equipment at some remote location from the central station. Its primary task is to control and acquire data from process equipment at the remote location and to transfer this data back to a central station. It generally also has the facility for having its configuration and control programs dynamically downloaded from some central station. There is also a facility to be configured locally by some RTU programming unit. Although traditionally the RTU communicates back to some central station, it is also possible to communicate on a peer-to-peer basis with other RTUs. The RTU can also act as a relay station (sometimes referred to as a store and forward station) to another RTU, which may not be accessible from the central station.
Small sized RTUs generally have less than 10 to 20 analog and digital signals, medium sized RTUs have 100 digital and 30 to 40 analog inputs. RTUs, having a capacity greater than this can be classified as large.
A typical RTU configuration is shown in Figure below:
A short discussion follows on the individual hardware components. Typical RTU hardware modules include:
• Control processor and associated memory
• Analog inputs
• Analog outputs
• Counter inputs
• Digital inputs
• Digital outputs
• Communication interface(s)
• Power supply
• RTU rack and enclosure
Control processor (or CPU)
This is generally microprocessor based (16 or 32 bit) e.g. 68302 or 80386. Total memory capacity of 256 kByte (expandable to 4 Mbytes) broken into three types:
1 EPROM (or battery backed RAM) = 256 kByte
2 RAM = 640 kByte
3 Electrically erasable memory (flash or EEPROM) = 128 kByte
A mathematical processor is a useful addition for any complex mathematical calculations. This is sometimes referred to as a coprocessor.
Communication ports – typically two or three ports either RS-232/RS-422/RS-485 for:
• Interface to diagnostics terminal
• Interface to operator station
• Communications link to central site (e.g. by modem)
Diagnostic LEDs provided on the control unit ease troubleshooting and diagnosis of problems (such as CPU failure/failure of I/O module etc).
Another component, which is provided with varying levels of accuracy, is a real-time clock with full calendar (including leap year support). The clock should be updated even during power off periods. The real-time clock is useful for accurate time stamping of events.
A watchdog timer is also required to provide a check that the RTU program is regularly executing. The RTU program regularly resets the watchdog time. If this is not done within a certain time-out period the watchdog timer flags an error condition (and can reset the CPU).
Considerations and benefits of SCADA system
Typical considerations when putting a SCADA system together are:
• Overall control requirements
• Sequence logic
• Analog loop control
• Ratio and number of analog to digital points
• Speed of control and data acquisition
• Master/operator control stations
• Type of displays required
• Historical archiving requirements
• System consideration
• Reliability/availability
• Speed of communications/update time/system scan rates
• System redundancy
• Expansion capability
• Application software and modeling
Obviously, a SCADA system’s initial cost has to be justified. A few typical reasons for implementing a SCADA system are:
• Improved operation of the plant or process resulting in savings due to optimization of the system
• Increased productivity of the personnel
• Improved safety of the system due to better information and improved control
• Protection of the plant equipment
• Safeguarding the environment from a failure of the system
• Improved energy savings due to optimization of the plant
• Improved and quicker receipt of data so that clients can be invoiced more quickly and accurately
• Government regulations for safety and metering of gas (for royalties & tax etc)
Electric Circuits,7th Edtion
Electric Circuits, Seventh Edition features a redesigned art program, a new four-color format, and 75% new or revised problems throughout. In the midst of these changes, the book retains the goals that have made it a best-seller: 1) To build an understanding of concepts and ideas explicitly in terms of previous learning; 2) To emphasize the relationship between conceptual understanding and problem solving approaches; 3) To provide readers with a strong foundation of engineering practices. Chapter topics include Circuit Variables; Circuit Elements; Simple Resistive Circuits; Techniques of Circuit Analysis; The Operational Amplifier; Inductors, Capacitors, and Mutual Inductance; Response of First-Order RL and RC Circuits; Natural and Step Responses of RLC Circuits; Sinusoidal Steady-State Analysis; and more. For anyone interested in circuit analysis.
Click Here To Download This Ebook
Click Here To Download This Ebook
Thursday, June 18, 2009
SMT USB AVR Programmer With ATTINY2313SO
Thanks to : Ayman El-Khashab, phd, pe
Here is the first iteration of the AVR µISP programmer. This is based on the usbtinyisp from adafruit, that was in turn based on Dick Streefland's USBTiny and the USB stack at www.obdev.at. but smaller and with all SMT parts except for the 10 and 6 pin headers.
I chose to spin my own design since I wanted to use it in a few different modes.First, I wanted to use a standard ISP cable. Second, I wanted to be able to insert pins from the programmer into boards without requiring the ISP header pins populated. Third, I wanted the capability to attach QFP and SOIC clips. And finally, by placing a female connector on the bottom of the programmer, it is possible to place the entire programmer atop a board header.
There are only a few differences in this design
100 Ω series resistors instead of 1500 Ω
Mini USB connector
Blue LED instead of green
Pin mapping of the AVR is slightly different
The entire board is 46mm x 20mm (about 1.8" by 0.8"). The hex code is available below, but if you want to build the code yourself, be certain to use GCC 3.x version. The 4.x versions do not do well with the AVR code size and this program is extremely tight in the ATTiny2313. Secondly, you will need a way to load the initial firmware into the AVR. I used my old standby, the SP12 that I have used for several years.
Since it is based on other designs, this one works with the avrdude programmer as well. Unfortunately the USB organization has come down on the people parcelling out PIDs, so you may have a difficult time getting another one if you so desire.
In addition to using this for programming AVRs, it may be used as a generic SPI controller or JTAG interface. It does not have enough pins for TMS, TCK, TDI, TRST, and TDO. However, many parts (and every Xilinx part I've ever used) do not have a TRST so with just the 3 outputs and 1 input it is possible to program Xilinx FPGAs and CPLDs. You may need a pullup on TDO. Then you can use the playxsvf program to sent a bitstream to the part. I currently use a variant of this for programming the ps3toothfairy devices. I implemented the same thing with the SP12, but it is parallel only and support for parallel ports is dwindling.
Modifying the code
If you decide to make some design changes and spin your own board, you'll need to edit the c code and the header file. The pins are well labeled except for a couple of writes to PORTD. Just search for PORTD in the spi.c code and update for your particular configuration. It is wise to read through the USB headers as well as the usbtiny.h file to understand what you can and cannot change in your design.
If you build the code and it is too large for the device, you have a couple of options. If it is a few bytes off, you can try reducing the string size in usbtiny.h. If it is much too large, you probably have something wrong in your compile or build settings. Check the makefile and be certain you aren't building with the gcc 4.x toolchain.
You can operate the device with avrdude. You may need to add in usb support depending on your platform (it is needed for cygwin).
Anyway, enjoy and thanks to the folks that made previous designs possible.
Build it
Here are pictures of the schematic and gerbers. Download the design below. We may make some available for purchase (especially since you need some method to initially program the micro). The build is not difficult with an iron, but it is likely easier with a toaster oven or hotplate reflow. (I've built a couple all with an iron in a couple of minutes). Click the images to get a larger view. The crystal goes either direction since the pins are at the corners.
Here is the BOM. None of the parts are particularly critical, other than you need to make sure to get the proper footprint.
Downloads
Note that updates were made to the Eagle files after the prototype and I haven't fabbed any from this design yet. It should work (as it was just moving some traces), but as with anything you download, trust-but-verify.
Firmware Source & Hex Code
Eagle Sch & PCB
License
The USBtiny software is licensed under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the license, or (at your option) any later version. A copy of the GPL version 2 license can be found in the file COPYING.
Here is the first iteration of the AVR µISP programmer. This is based on the usbtinyisp from adafruit, that was in turn based on Dick Streefland's USBTiny and the USB stack at www.obdev.at. but smaller and with all SMT parts except for the 10 and 6 pin headers.
I chose to spin my own design since I wanted to use it in a few different modes.First, I wanted to use a standard ISP cable. Second, I wanted to be able to insert pins from the programmer into boards without requiring the ISP header pins populated. Third, I wanted the capability to attach QFP and SOIC clips. And finally, by placing a female connector on the bottom of the programmer, it is possible to place the entire programmer atop a board header.
There are only a few differences in this design
100 Ω series resistors instead of 1500 Ω
Mini USB connector
Blue LED instead of green
Pin mapping of the AVR is slightly different
The entire board is 46mm x 20mm (about 1.8" by 0.8"). The hex code is available below, but if you want to build the code yourself, be certain to use GCC 3.x version. The 4.x versions do not do well with the AVR code size and this program is extremely tight in the ATTiny2313. Secondly, you will need a way to load the initial firmware into the AVR. I used my old standby, the SP12 that I have used for several years.
Since it is based on other designs, this one works with the avrdude programmer as well. Unfortunately the USB organization has come down on the people parcelling out PIDs, so you may have a difficult time getting another one if you so desire.
In addition to using this for programming AVRs, it may be used as a generic SPI controller or JTAG interface. It does not have enough pins for TMS, TCK, TDI, TRST, and TDO. However, many parts (and every Xilinx part I've ever used) do not have a TRST so with just the 3 outputs and 1 input it is possible to program Xilinx FPGAs and CPLDs. You may need a pullup on TDO. Then you can use the playxsvf program to sent a bitstream to the part. I currently use a variant of this for programming the ps3toothfairy devices. I implemented the same thing with the SP12, but it is parallel only and support for parallel ports is dwindling.
Modifying the code
If you decide to make some design changes and spin your own board, you'll need to edit the c code and the header file. The pins are well labeled except for a couple of writes to PORTD. Just search for PORTD in the spi.c code and update for your particular configuration. It is wise to read through the USB headers as well as the usbtiny.h file to understand what you can and cannot change in your design.
If you build the code and it is too large for the device, you have a couple of options. If it is a few bytes off, you can try reducing the string size in usbtiny.h. If it is much too large, you probably have something wrong in your compile or build settings. Check the makefile and be certain you aren't building with the gcc 4.x toolchain.
You can operate the device with avrdude. You may need to add in usb support depending on your platform (it is needed for cygwin).
Anyway, enjoy and thanks to the folks that made previous designs possible.
Build it
Here are pictures of the schematic and gerbers. Download the design below. We may make some available for purchase (especially since you need some method to initially program the micro). The build is not difficult with an iron, but it is likely easier with a toaster oven or hotplate reflow. (I've built a couple all with an iron in a couple of minutes). Click the images to get a larger view. The crystal goes either direction since the pins are at the corners.
Here is the BOM. None of the parts are particularly critical, other than you need to make sure to get the proper footprint.
Downloads
Note that updates were made to the Eagle files after the prototype and I haven't fabbed any from this design yet. It should work (as it was just moving some traces), but as with anything you download, trust-but-verify.
Firmware Source & Hex Code
Eagle Sch & PCB
License
The USBtiny software is licensed under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the license, or (at your option) any later version. A copy of the GPL version 2 license can be found in the file COPYING.
Analog Electronics with LabVIEW
From the Back Cover
The hands-on, simulation-based introduction to analog electronics.
Analog Electronics with LabVIEW is the first comprehensive introduction to analog electronics that makes full use of computer simulation. Kenneth L. Ashley introduces analog electronics through a series of theory/project sections, in which theoretical presentations correlate directly with circuit measurement and analysis projects. The results of experiments are used to extract device model parameters used in subsequent electronic circuit analysis, providing a significant enhancement in the understanding of modern, computer-based electronic-circuit simulation. Readers will master not only the fundamentals of analog electronics, but also data acquisition and circuit simulation with LabVIEW, basic circuit-solution computation with Mathcad, and circuit simulation with Cadence Schematics or Capture. Coverage includes:
* Elementary analog circuit analysis, including the resistor voltage divider and MOSFET DC gate voltage, MOSFET drain current-source equivalent, amplifier frequency response, and more
* Fundamentals of transistors and voltage amplification
* Characterization of MOS transistors for circuit simulation
* Common-source amplifiers, MOSFET source-follower buffer stage, differential amplifier stage, and MOSFET current sources
* Operational amplifiers: resistor negative feedback approaches and capacitor-based applications
* Development of a Basic CMOS Operational Amplifier
* LabVIEW tutorial with emphasis on analog electronics, the discrete nature of compute data acquisition, and LabVIEW measurement VIs such as the autoranging DC voltmeter
* Characterization of the BJT for circuit simulation including linear modeling
* BJT NPN common-emitter amplifier, including emitter degeneration and current-source PNP load with emitter degeneration
For those new to LabVIEW, the book also contains a complete introductory tutorial with emphasis relevant to analog-electronics applications.
The accompanying CD-ROM includes a complete copy of LabVIEW 6 Student Edition Software, along with all the LabVIEW, Mathcad, and Schematics (or Capture) files you need to perform the experiments and exercises in this book, plus samples of all project measurement and data files for measurement simulation.
Click Here to download Analog Electronics with LabVIEW
Password : www.freebookspot.com
The hands-on, simulation-based introduction to analog electronics.
Analog Electronics with LabVIEW is the first comprehensive introduction to analog electronics that makes full use of computer simulation. Kenneth L. Ashley introduces analog electronics through a series of theory/project sections, in which theoretical presentations correlate directly with circuit measurement and analysis projects. The results of experiments are used to extract device model parameters used in subsequent electronic circuit analysis, providing a significant enhancement in the understanding of modern, computer-based electronic-circuit simulation. Readers will master not only the fundamentals of analog electronics, but also data acquisition and circuit simulation with LabVIEW, basic circuit-solution computation with Mathcad, and circuit simulation with Cadence Schematics or Capture. Coverage includes:
* Elementary analog circuit analysis, including the resistor voltage divider and MOSFET DC gate voltage, MOSFET drain current-source equivalent, amplifier frequency response, and more
* Fundamentals of transistors and voltage amplification
* Characterization of MOS transistors for circuit simulation
* Common-source amplifiers, MOSFET source-follower buffer stage, differential amplifier stage, and MOSFET current sources
* Operational amplifiers: resistor negative feedback approaches and capacitor-based applications
* Development of a Basic CMOS Operational Amplifier
* LabVIEW tutorial with emphasis on analog electronics, the discrete nature of compute data acquisition, and LabVIEW measurement VIs such as the autoranging DC voltmeter
* Characterization of the BJT for circuit simulation including linear modeling
* BJT NPN common-emitter amplifier, including emitter degeneration and current-source PNP load with emitter degeneration
For those new to LabVIEW, the book also contains a complete introductory tutorial with emphasis relevant to analog-electronics applications.
The accompanying CD-ROM includes a complete copy of LabVIEW 6 Student Edition Software, along with all the LabVIEW, Mathcad, and Schematics (or Capture) files you need to perform the experiments and exercises in this book, plus samples of all project measurement and data files for measurement simulation.
Click Here to download Analog Electronics with LabVIEW
Password : www.freebookspot.com
Wednesday, June 17, 2009
Transformerless Power Supply
Electric Shock Hazard. In the UK,the neutral wire is connected to earth at the power station. If you touch the "Live" wire, then depending on how well earthed you are, you form a conductive path between Live and Neutral. DO NOT TOUCH the output of this power supply. Whilst the output of this circuit sits innocently at 12V with respect to (wrt) the other terminal, it is also 12V above earth potential. Should a component fail then either terminal will become a potential shock hazard.
If you are not experienced in dealing with it, then leave this project alone.Although Mains equipment can itself consume a lot of current, the circuits we build to control it, usually only require a few milliamps. Yet the low voltage power supply is frequently the largest part of the construction and a sizeable portion of the cost.
This circuit will supply up to about 20ma at 12 volts. It uses capacitive reactance instead of resistance; and it doesn't generate very much heat.The circuit draws about 30ma AC. Always use a fuse and/or a fusible resistor to be on the safe side. The values given are only a guide. There should be more than enough power available for timers, light operated switches, temperature controllers etc, provided that you use an optical isolator as your circuit's output device. (E.g. MOC 3010/3020) If a relay is unavoidable, use one with a mains voltage coil and switch the coil using the optical isolator.C1 should be of the 'suppressor type'; made to be connected directly across the incoming Mains Supply. They are generally covered with the logos of several different Safety Standards Authorities. If you need more current, use a larger value capacitor; or put two in parallel; but be careful of what you are doing to the Watts. The low voltage 'AC' is supplied by ZD1 and ZD2.
The bridge rectifier can be any of the small 'Round', 'In-line', or 'DIL' types; or you could use four separate diodes. If you want to, you can replace R2 and ZD3 with a 78 Series regulator. The full sized ones will work; but if space is tight, there are some small 100ma versions available in TO 92 type cases. They look like a BC 547. It is also worth noting that many small circuits will work with an unregulated supply. You can, of course, alter any or all of the Zenner diodes in order to produce a different output voltage. As for the mains voltage, the suggestion regarding the 110v version is just that, a suggestion. I haven't built it, so be prepared to experiment a little.
I get a lot of emails asking if this power supply can be modified to provide currents of anything up to 50 amps. It cannot. The circuit was designed to provide a cheap compact power supply for Cmos logic circuits that require only a few milliamps. The logic circuits were then used to control mains equipment (fans, lights, heaters etc.) through an optically isolated triac. If more than 20mA is required it is possible to increase C1 to 0.68uF or 1uF and thus obtain a current of up to about 40mA. But 'suppressor type' capacitors are relatively big and more expensive than regular capacitors; and increasing the current means that higher wattage resistors and zener diodes are required. If you try to produce more than about 40mA the circuit will no longer be cheap and compact, and it simply makes more sense to use a transformer.
If you are not experienced in dealing with it, then leave this project alone.Although Mains equipment can itself consume a lot of current, the circuits we build to control it, usually only require a few milliamps. Yet the low voltage power supply is frequently the largest part of the construction and a sizeable portion of the cost.
This circuit will supply up to about 20ma at 12 volts. It uses capacitive reactance instead of resistance; and it doesn't generate very much heat.The circuit draws about 30ma AC. Always use a fuse and/or a fusible resistor to be on the safe side. The values given are only a guide. There should be more than enough power available for timers, light operated switches, temperature controllers etc, provided that you use an optical isolator as your circuit's output device. (E.g. MOC 3010/3020) If a relay is unavoidable, use one with a mains voltage coil and switch the coil using the optical isolator.C1 should be of the 'suppressor type'; made to be connected directly across the incoming Mains Supply. They are generally covered with the logos of several different Safety Standards Authorities. If you need more current, use a larger value capacitor; or put two in parallel; but be careful of what you are doing to the Watts. The low voltage 'AC' is supplied by ZD1 and ZD2.
The bridge rectifier can be any of the small 'Round', 'In-line', or 'DIL' types; or you could use four separate diodes. If you want to, you can replace R2 and ZD3 with a 78 Series regulator. The full sized ones will work; but if space is tight, there are some small 100ma versions available in TO 92 type cases. They look like a BC 547. It is also worth noting that many small circuits will work with an unregulated supply. You can, of course, alter any or all of the Zenner diodes in order to produce a different output voltage. As for the mains voltage, the suggestion regarding the 110v version is just that, a suggestion. I haven't built it, so be prepared to experiment a little.
I get a lot of emails asking if this power supply can be modified to provide currents of anything up to 50 amps. It cannot. The circuit was designed to provide a cheap compact power supply for Cmos logic circuits that require only a few milliamps. The logic circuits were then used to control mains equipment (fans, lights, heaters etc.) through an optically isolated triac. If more than 20mA is required it is possible to increase C1 to 0.68uF or 1uF and thus obtain a current of up to about 40mA. But 'suppressor type' capacitors are relatively big and more expensive than regular capacitors; and increasing the current means that higher wattage resistors and zener diodes are required. If you try to produce more than about 40mA the circuit will no longer be cheap and compact, and it simply makes more sense to use a transformer.
Sunday, June 7, 2009
Saturday, June 6, 2009
AVR Simulator IDE
AVR Simulator IDE is powerful application that supplies AVR developers with user-friendly graphical development environment for Windows with integrated simulator (emulator), BASIC compiler, assembler, disassembler and debugger.
The main application window shows all AVR microcontroller internal registers status (general purpose working and I/O registers, internal data SRAM and program counter), mnemonics of the last executed instruction, mnemonics of the next instruction that will be executed, clock cycles and instructions counter and real time duration of the
simulation.
Click here to download AVR Simulator IDE
The main application window shows all AVR microcontroller internal registers status (general purpose working and I/O registers, internal data SRAM and program counter), mnemonics of the last executed instruction, mnemonics of the next instruction that will be executed, clock cycles and instructions counter and real time duration of the
simulation.
Click here to download AVR Simulator IDE
Friday, June 5, 2009
PIC Simulator IDE for PIC 16F Family
PIC Simulator IDE is powerful application that supplies PIC developers with user-friendly graphical development environment for Windows with integrated simulator (emulator), BASIC compiler, assembler, disassembler and debugger.
The main application window shows all PIC microcontroller internal registers status, mnemonics of the last executed instruction, mnemonics of the next instruction that will be executed, clock cycles and instructions counter and real time duration of the simulation.
Click here to download PIC Simulator IDE for PIC 16F Family
Subscribe to:
Posts (Atom)