Minggu, 18 Februari 2018

Karnaugh map and combined and compared with K W H meter PARTS I AMNIMARJESLOW GOVERNMENT 91220017 XI XA PIN PING HUNG CHOP 02096010014 LJBUSAF CAR NOW UGH so do CD PLAY ON K W H METER register

 
                         Karnaugh map and combined and compared with K W H meter

karnaugh map is a method for solving problem problems in digital combination circuits and sequential circuits in digital, when digital concepts are applied in a series of electronics it is necessary to simplify the simplification of the concept of the whole circuit especially in consideration:
1. efficient use of components
2. ease in soldering component
3. the fewer components are used but the output of the circuit is the same
4. Performance tool more flexible
5. make it easy in trouble shooting circuit
6. More easily damped oscillation system
7. Comparison of output and input more can be defined  


                                                         Hasil gambar untuk karnaugh map and KWH meter



                                          Hasil gambar untuk karnaugh map and KWH meter

                          XXX  .  XXX   Karnaugh Maps, Truth Tables, and Boolean Expressions   


Maurice Karnaugh, a telecommunications engineer, developed the Karnaugh map at Bell Labs in 1953 while designing digital logic based telephone switching circuits.
Now that we have developed the Karnaugh map with the aid of Venn diagrams, let’s put it to use. Karnaugh maps reduce logic functions more quickly and easily compared to Boolean algebra. By reduce we mean simplify, reducing the number of gates and inputs. We like to simplify logic to a lowest cost form to save costs by elimination of components. We define lowest cost as being the lowest number of gates with the lowest number of inputs per gate.
Given a choice, most students do logic simplification with Karnaugh maps rather than Boolean algebra once they learn this tool.


We show five individual items above, which are just different ways of representing the same thing: an arbitrary 2-input digital logic function. First is relay ladder logic, then logic gates, a truth table, a Karnaugh map, and a Boolean equation. The point is that any of these are equivalent. Two inputs A and B can take on values of either 0 or 1, high or low, open or closed, True or False, as the case may be. There are 2= 4 combinations of inputs producing an output. This is applicable to all five examples.
These four outputs may be observed on a lamp in the relay ladder logic, on a logic probe on the gate diagram. These outputs may be recorded in the truth table, or in the Karnaugh map. Look at the Karnaugh map as being a rearranged truth table. The Output of the Boolean equation may be computed by the laws of Boolean algebra and transfered to the truth table or Karnaugh map. Which of the five equivalent logic descriptions should we use? The one which is most useful for the task to be accomplished.


The outputs of a truth table correspond on a one-to-one basis to Karnaugh map entries. Starting at the top of the truth table, the A=0, B=0 inputs produce an output α. Note that this same output α is found in the Karnaugh map at the A=0, B=0 cell address, upper left corner of K-map where the A=0 row and B=0 column intersect. The other truth table outputs β, χ, δ from inputs AB=01, 10, 11 are found at corresponding K-map locations.
Below, we show the adjacent 2-cell regions in the 2-variable K-map with the aid of previous rectangular Venn diagram like Boolean regions.


Cells α and χ are adjacent in the K-map as ellipses in the left most K-map below. Referring to the previous truth table, this is not the case. There is another truth table entry (β) between them. Which brings us to the whole point of the organizing the K-map into a square array, cells with any Boolean variables in common need to be close to one another so as to present a pattern that jumps out at us. For cells α and χ they have the Boolean variable B’ in common. We know this because B=0 (same as B’) for the column above cells α and χ. Compare this to the square Venn diagram above the K-map.
A similar line of reasoning shows that β and δ have Boolean B (B=1) in common. Then, α and β have Boolean A’ (A=0) in common. Finally, χ and δ have Boolean A (A=1) in common. Compare the last two maps to the middle square Venn diagram.
To summarize, we are looking for commonality of Boolean variables among cells. The Karnaugh map is organized so that we may see that commonality. Let’s try some examples.


Example:
Transfer the contents of the truth table to the Karnaugh map above.


Solution:
The truth table contains two 1s. the K- map must have both of them. locate the first 1 in the 2nd row of the truth table above.
  • note the truth table AB address
  • locate the cell in the K-map having the same address
  • place a 1 in that cell
Repeat the process for the 1 in the last line of the truth table.
Example:
For the Karnaugh map in the above problem, write the Boolean expression. Solution is below.


Solution:
Look for adjacent cells, that is, above or to the side of a cell. Diagonal cells are not adjacent. Adjacent cells will have one or more Boolean variables in common.
  • Group (circle) the two 1s in the column
  • Find the variable(s) top and/or side which are the same for the group, Write this as the Boolean result. It is B in our case.
  • Ignore variable(s) which are not the same for a cell group. In our case A varies, is both 1 and 0, ignore Boolean A.
  • Ignore any variable not associated with cells containing 1s. B’ has no ones under it. Ignore B’
  • Result Out = B
This might be easier to see by comparing to the Venn diagrams to the right, specifically the B column.
Example:
Write the Boolean expression for the Karnaugh map below.


Solution: (above)
  • Group (circle) the two 1’s in the row
  • Find the variable(s) which are the same for the group, Out = A’
Example:
For the Truth table below, transfer the outputs to the Karnaugh, then write the Boolean expression for the result.


Solution:
Transfer the 1s from the locations in the Truth table to the corresponding locations in the K-map.
  • Group (circle) the two 1’s in the column under B=1
  • Group (circle) the two 1’s in the row right of A=1
  • Write product term for first group = B
  • Write product term for second group = A
  • Write Sum-Of-Products of above two terms Output = A+B
The solution of the K-map in the middle is the simplest or lowest cost solution. A less desirable solution is at far right. After grouping the two 1s, we make the mistake of forming a group of 1-cell. The reason that this is not desirable is that:
  • The single cell has a product term of AB’
  • The corresponding solution is Output = AB’ + B
  • This is not the simplest solution
The way to pick up this single 1 is to form a group of two with the 1 to the right of it as shown in the lower line of the middle K-map, even though this 1 has already been included in the column group (B). We are allowed to re-use cells in order to form larger groups. In fact, it is desirable because it leads to a simpler result.
We need to point out that either of the above solutions, Output or Wrong Output, are logically correct. Both circuits yield the same output. It is a matter of the former circuit being the lowest cost solution.
Example:
Fill in the Karnaugh map for the Boolean expression below, then write the Boolean expression for the result.


Solution: (above)
The Boolean expression has three product terms. There will be a 1 entered for each product term. Though, in general, the number of 1s per product term varies with the number of variables in the product term compared to the size of the K-map. The product term is the address of the cell where the 1 is entered. The first product term, A’B, corresponds to the 01 cell in the map. A 1 is entered in this cell. The other two P-terms are entered for a total of three 1s
Next, proceed with grouping and extracting the simplified result as in the previous truth table problem.
Example:
Simplify the logic diagram below.


Solution: (Figure below)
  • Write the Boolean expression for the original logic diagram as shown below
  • Transfer the product terms to the Karnaugh map
  • Form groups of cells as in previous examples
  • Write Boolean expression for groups as in previous examples
  • Draw simplified logic diagram


Example:
Simplify the logic diagram below.


Solution:
  • Write the Boolean expression for the original logic diagram shown above
  • Transfer the product terms to the Karnaugh map.
  • It is not possible to form groups.
  • No simplification is possible; leave it as it is.
No logic simplification is possible for the above diagram. This sometimes happens. Neither the methods of Karnaugh maps nor Boolean algebra can simplify this logic further. We show an Exclusive-OR schematic symbol above; however, this is not a logical simplification. It just makes a schematic diagram look nicer. Since it is not possible to simplify the Exclusive-OR logic and it is widely used, it is provided by manufacturers as a basic integrated circuit (7486). 

  

                                                                       Logic Simplification With Karnaugh Maps                                                





 


The logic simplification examples that we have done so could have been performed with Boolean algebra about as quickly. Real world logic simplification problems call for larger Karnaugh maps so that we may do serious work. We will work some contrived examples in this section, leaving most of the real world applications for the Combinatorial Logic chapter. By contrived, we mean examples which illustrate techniques. This approach will develop the tools we need to transition to the more complex applications in the Combinatorial Logic chapter.
We show our previously developed Karnaugh map. We will use the form on the right.


Note the sequence of numbers across the top of the map. It is not in binary sequence which would be 00, 01, 10, 11. It is 00, 01, 11 10, which is Gray code sequence. Gray code sequence only changes one binary bit as we go from one number to the next in the sequence, unlike binary. That means that adjacent cells will only vary by one bit, or Boolean variable. This is what we need to organize the outputs of a logic function so that we may view commonality. Moreover, the column and row headings must be in Gray code order, or the map will not work as a Karnaugh map. Cells sharing common Boolean variables would no longer be adjacent, nor show visual patterns. Adjacent cells vary by only one bit because a Gray code sequence varies by only one bit.
If we sketch our own Karnaugh maps, we need to generate Gray code for any size map that we may use. This is how we generate Gray code of any size.


Note that the Gray code sequence, above right, only varies by one bit as we go down the list, or bottom to top up the list. This property of Gray code is often useful in digital electronics in general. In particular, it is applicable to Karnaugh maps.
Let us move on to some examples of simplification with 3-variable Karnaugh maps. We show how to map the product terms of the unsimplified logic to the K-map. We illustrate how to identify groups of adjacent cells which leads to a Sum-of-Products simplification of the digital logic.


Above we, place the 1’s in the K-map for each of the product terms, identify a group of two, then write a p-term (product term) for the sole group as our simplified result.


Mapping the four product terms above yields a group of four covered by Boolean A’


Mapping the four p-terms yields a group of four, which is covered by one variable C.


After mapping the six p-terms above, identify the upper group of four, pick up the lower two cells as a group of four by sharing the two with two more from the other group. Covering these two with a group of four gives a simpler result. Since there are two groups, there will be two p-terms in the Sum-of-Products result A’+B


The two product terms above form one group of two and simplifies to BC


Mapping the four p-terms yields a single group of four, which is B


Mapping the four p-terms above yields a group of four. Visualize the group of four by rolling up the ends of the map to form a cylinder, then the cells are adjacent. We normally mark the group of four as above left. Out of the variables A, B, C, there is a common variable: C’. C’ is a 0 over all four cells. Final result is C’.


The six cells above from the unsimplified equation can be organized into two groups of four. These two groups should give us two p-terms in our simplified result of A’ + C’.
Below, we revisit the Toxic Waste Incinerator from the Boolean algebra chapter. See Boolean algebra chapter for details on this example. We will simplify the logic using a Karnaugh map.


The Boolean equation for the output has four product terms. Map four 1’s corresponding to the p-terms. Forming groups of cells, we have three groups of two. There will be three p-terms in the simplified result, one for each group. See “Toxic Waste Incinerator”, Boolean algebra chapter for a gate diagram of the result, which is reproduced below.


Below we repeat the Boolean algebra simplification of Toxic waste incinerator for comparison.


Below we repeat the Toxic waste incinerator Karnaugh map solution for comparison to the above Boolean algebra simplification. This case illustrates why the Karnaugh map is widely used for logic simplification.


The Karnaugh map method looks easier than the previous page of boolean algebra.
Below we repeat the Toxic waste incinerator Karnaugh map solution for comparison to the above Boolean algebra simplification. This case illustrates why the Karnaugh map is widely used for logic simplification.


The Karnaugh map method looks easier than the previous page of boolean algebra. 

                           

                                                                                       variable Karnaugh Maps 


Knowing how to generate Gray code should allow us to build larger maps. Actually, all we need to do is look at the left to right sequence across the top of the 3-variable map, and copy it down the left side of the 4-variable map. See below.

        

The following four variable Karnaugh maps illustrate reduction of Boolean expressions too tedious for Boolean algebra. Reductions could be done with Boolean algebra. However, the Karnaugh map is faster and easier, especially if there are many logic reductions to do.


The above Boolean expression has seven product terms. They are mapped top to bottom and left to right on the K-map above. For example, the first P-term A’B’CD is first row 3rd cell, corresponding to map location A=0, B=0, C=1, D=1. The other product terms are placed in a similar manner. Encircling the largest groups possible, two groups of four are shown above. The dashed horizontal group corresponds the the simplified product term AB. The vertical group corresponds to Boolean CD. Since there are two groups, there will be two product terms in the Sum-Of-Products result of Out=AB+CD.
Fold up the corners of the map below like it is a napkin to make the four cells physically adjacent.


The four cells above are a group of four because they all have the Boolean variables B’ and D’ in common. In other words, B=0 for the four cells, and D=0 for the four cells. The other variables (A, C) are 0 in some cases, 1 in other cases with respect to the four corner cells. Thus, these variables (A, C) are not involved with this group of four. This single group comes out of the map as one product term for the simplified result: Out=B’D’
For the K-map below, roll the top and bottom edges into a cylinder forming eight adjacent cells.


The above group of eight has one Boolean variable in common: B=0. Therefore, the one group of eight is covered by one p-term: B’. The original eight term Boolean expression simplifies to Out=B’
The Boolean expression below has nine p-terms, three of which have three Booleans instead of four. The difference is that while four Boolean variable product terms cover one cell, the three Boolean p-terms cover a pair of cells each 

The six product terms of four Boolean variables map in the usual manner above as single cells. The three Boolean variable terms (three each) map as cell pairs, which is shown above. Note that we are mapping p-terms into the K-map, not pulling them out at this point.
For the simplification, we form two groups of eight. Cells in the corners are shared with both groups. This is fine. In fact, this leads to a better solution than forming a group of eight and a group of four without sharing any cells. Final Solution is Out=B’+D’
Below we map the unsimplified Boolean expression to the Karnaugh map.


Above, three of the cells form into a groups of two cells. A fourth cell cannot be combined with anything, which often happens in “real world” problems. In this case, the Boolean p-term ABCD is unchanged in the simplification process. Result: Out= B’C’D’+A’B’D’+ABCD
Often times there is more than one minimum cost solution to a simplification problem. Such is the case illustrated below.


Both results above have four product terms of three Boolean variable each. Both are equally valid minimal cost solutions. The difference in the final solution is due to how the cells are grouped as shown above. A minimal cost solution is a valid logic design with the minimum number of gates with the minimum number of inputs.
Below we map the unsimplified Boolean equation as usual and form a group of four as a first simplification step. It may not be obvious how to pick up the remaining cells.


Pick up three more cells in a group of four, center above. There are still two cells remaining. the minimal cost method to pick up those is to group them with neighboring cells as groups of four as at above right.
On a cautionary note, do not attempt to form groups of three. Groupings must be powers of 2, that is, 1, 2, 4, 8 ...
Below we have another example of two possible minimal cost solutions. Start by forming a couple of groups of four after mapping the cells.


The two solutions depend on whether the single remaining cell is grouped with the first or the second group of four as a group of two cells. That cell either comes out as either ABC’ or ABD, your choice. Either way, this cell is covered by either Boolean product term. Final results are shown above.
Below we have an example of a simplification using the Karnaugh map at left or Boolean algebra at right. Plot C’ on the map as the area of all cells covered by address C=0, the 8-cells on the left of the map. Then, plot the single ABCD cell. That single cell forms a group of 2-cell as shown, which simplifies to P-term ABD, for an end result of Out = C’ + ABD.


This (above) is a rare example of a four variable problem that can be reduced with Boolean algebra without a lot of work, assuming that you remember the theorems. 

      

                                            



                                                                      Hasil gambar untuk karnaugh map and KWH meter   































































Sabtu, 17 Februari 2018

input transducer and electrochemical output transducer as the direct response of the electronic switch AMNIMARJESLOW GOVERNMENT 91220017 XI XA PIN PING HUNG CHOP 02096010014 LJBUSAF


the input transducer and the electrochemical output transducer as the direct response of the electronic switch


A sensor is a device which can quantitatively measure a certain physical quantity. A transducer is a device which converts one physical quantity to another from of physical quantity, e.g., acceleration to voltage or voltage to pressure. Therefore, a transducer can be a sensor when it is used to measure a certain physical quantity. But the transducer can also be an actuator when the (electrical) input is converted to, for example, force. So a transducer is more general than a sensor.   
Since there are six different kinds of signals—mechanical, thermal, magnetic, electric, chemical and radiation (corpuscular and electromagnetic, including light)—any device converting signals of one kind to signals of a different kind is a transducer. The resulting signals can be of any useful physical form. Devices offering an electric output are called sensors. Most measurement systems use electric signals, and hence rely on sensors. 

The distinction between input-transducer (physical signal/electric signal) and output-transducer (electric signal/display or actuation) is seldom used at present. Nowadays, input transducers are termed sensors, or detectors for radiation, and output transducers are termed actuators or effectors. Sensors are intended to acquire information. Actuators are designed mainly for power conversion.” 


the development of a new category of motion sensors including linear and angular accelerometers and seismometers based on molecular electronic transducer (MET) technology. This technology utilizes a liquid not only as an inertial mass, but also as one of the main elements in the conversion of mechanical motion into electric current. The amplification process is similar to that in a vacuum triode. Therefore, it is possible to achieve signal amplification close to 108. Motion sensors demonstrating wide frequency and dynamic range and sensitivity that are one to two orders of magnitude better than MEMS devices of the same size have been developed. . Motion sensors, including accelerometers and gyroscopes, provide measurement of movement in at least six degrees of freedom. The simplest way to do motion sensing is with a solid-state mass-spring system, creating a damped simple harmonic oscillator. The movement of the solid-state proof mass can be measured with respect to displacement, velocity, or acceleration by suitable mechanical-electrical transducers. Efforts to miniaturize linear accelerometers and gyroscopes for inertial systems are mostly concentrated around Micro-Electro-Mechanical Systems (MEMS) technology. Similarly, in terms of design, fabrication, and readout, accelerometers and gyroscopes are the current leaders in commercially successful MEMS technology. Among a variety of transduction mechanisms underlying solid-state MEMS motion sensors, the most successful types are based on capacitive transduction due to the simplicity of the sensor element itself, no need for exotic materials, low power consumption, and good stability with respect to temperature. Although capacitive transducers have a characteristic nonlinear capacitance vs. displacement response, feedback is commonly used to convert the signal to a linear output. MEMS motion sensors in combination with other sensors, such as compass, pressure sensor, and GPS, have created a consumer electronics sensing package that works as the intelligent interface for users to interact with their electronics and, further on, with external environments, and have reasonable performance with low cost CMOS-compatible silicon microfabrication technology. However, in addition to high-volume consumer electronics markets requiring low-to-medium performance motion sensors, there are huge markets for high-performance motion sensing devices, with applications designed for military inertial navigation/guidance, high-resolution seismic sensing and high-g sensors. The key requirements for these high-performance applications include small size, wide bandwidth, low noise floor, low cross-axis sensitivity, low drift, wide dynamic range, high shock survivability, and low power consumption. There has been plenty of work done along the direction of scaling down the device size while maintaining low noise, high sensitivity and high resolution using MEMS techniques . However, the design and fabrication of these solid-state MEMS devices are complicated, which can result in low reliability, low reproducibility, and high cost. More importantly, they have yet to prove satisfactory for specific applications, especially in low frequency seismic sensing, because of the inherent limitation of the working mechanism of the solid-state mass-spring system. For some applications they also have limited successes due to their fragility to high shocks.
where the term “Molecular Electronic Transducer” was introduced to describe such a device The advantages of MET motion sensors include their small size, lack of fragile moving parts (thus high shock tolerance), high sensitivity and low noise especially at low frequencies, and independence of the response on installation angle.
As opposed to a solid inertial mass, a molecular electronic transducer (MET) is sensitive to the movement of a liquid electrolyte relative to fixed electrodes. METs are part of a third class of fundamental electronic devices, characterized by charge transfer via ions in solution—hence the name “Solion”. This is in contrast to solid-state electronics (charge transfer by electron/hole pairs in a solid conductor or semiconductor) and vacuum tubes (charge transfer by free electrons in an ionized gas or vaccum). Solion technology was first developed in the 1950s by US-Navy sponsored research. Early applications of Solion devices were for detection of low-frequency acoustic waves, either in the form of an infrasonic microphone or limited-band seismometer , 

                                          XXX  .  XXX  Output Transducers  



A device which can convert information from one physical form to another.
Electrical systems are only able to respond to voltage and current signals in the electrical domain: amplitude, frequency, phase and time constant.
A transducer may generate an electrical signal by varying one of the following: voltage, current, resistance, capacitance, self-inductance, mutual inductance. The most fundamental transducers respond to temperature, electromagnetic radiation intensity, force, displacement or chemical concentration. If coupled to the time domain these devices can be used to measure any physical or chemical quantity.The output transducer transfers signals out of the electrical domain and into the domain that can be perceived by one of the five human senses. A substantial amount of power is usually required to transfer information out of the electrical domain.
An output transducer can:
  • Produce sound with a speaker or buzzer.
  • Produce light with LED or lamp.
  • Produce movement with an electric motor or a solenoid.

  1. Types of Output Transducers
    1. Produce "information"
      e.g. meter, oscilloscope à "Low" Power < 1W
    2. Produce "Action"
      e.g. valves à "High" Power > 1W

  2. Controlling Power
    1. Types of Loads
      1. Resistive- e.g. heater, light bulbs
      2. Inductive (& probably resistive as well)- e.g. solenoids, motors.
        - have to worry about back EMFs.
    2. Types of Control
      1. ON/ OFF
      2. Proportional
      3. Trade offs

      Consider:



      For proportional control, need to be able to dissipate as much power in control as in load! Therefore, not efficient.
      Can turn ON/OFF quickly to approximate proportional. This can produce noise, especially with inductive loads.
    3. Devices for control
        1. Relay:
          - can be DC or AC, relatively slow, high current
          - need diode across coil
        2. Solid State Relay:
          - uses logic levels in, convenient usually DC only, faster, < 1
        3. Power BJT:
          - DC, fast
          - need base resistor
          - Beta (DC) gives possible gain typical Beta approximately 100
          - Darlington transistors: typical Beta approximately 10000

        4. Current Device: current going in the base matters
        5. Power MosFET:
          - DC, fast: You can put current through one way
          - E Type: enhancement mode only
             Vgs > Vth to switch "on" (Io > 0)
          - D Type: depletion mode (& also enhancement)
             Vgs < Voff to turn off (Io = 0)
          - Voltage devices: need very little gate current.

        6. SCR (1 way) or TRIAC (2 way :2 SCR's back to back)
          - switching AC
          - turn on when a gate pulse is received
          - turn off when current = 0
          - 2 ways to operate:
          • Burst Mode - turn "on" for n out of m cycles. Slower e.g. heater
          • Delay & Trigger Mode - noisy e.g. light
          • Solid state switch is a slightly modified SCR

    4. Rules for Control
      - isolate

    5. Actuators
      - solenoid: usually "pull" type
      - stepper mode
Modes of Control
Burst mode - turn on at zero crossing, slow rate but smooth, used for electric heaters
Delayed Trigger - turn on during cycle, fast rate and starts up high at instant turn on, used for lights

Application of power-control circuit
Switching circuits
Circuits designed to respond to nonlinear waveforms, such as square waves are referred to as switching circuits. These switches are commonly used as drivers in switching applications. A driver is a circuit used to couple a low-current circuit output to a relatively high current device, such as an LED.
The BJT as a Switch
A bipolar junction transistor (BJT) is a current-controlled device, the base current controls the amount of collector current. It can be used as a switch by driving the component back and forth between saturation and cutoff. A basic transistor switching circuit is shown in figure (a). The way this is accomplished is easy to see if you refer to the dc load line shown in figure (b).


when the input to the transistor is –V, the emitter-base junction of the transistor is biased off. When the transistor is biased off, the following condition exist:
Vce =Vcc (ideal) and Ic =0 (ideal)
As figure 2 (a) shows, these conditions are the same as those caused by an open switch.
When the input to the transistor is at +V, the transistor will saturate. This assumes, of course, that the input current is sufficient to cause saturation. When the transistor saturates, the following condition exists:
Vce=0V(ideal) and Ic=Vcc/Rc (ideal)
As Figure 2 (b) shows, these conditions are the same as those caused by a closed switch.

The high input voltage, +Vin must ensure that the transistor saturates, In a practical transistor switch , this is accomplished by two thing:
  1. + Vin is usually equal to +Vcc
  2. Rb is made small enough so that the calculated value of Ib>>Ic
This equation can be rewritten to give us equation for Vin as follows:
Vin=IbRb+Vbe
For practical output values for a BJT switch, the output will never actually be 0V
The JEFT as a switch
The junction field effect transistor(JEFT) is a type of FET(a voltage-controlled device in which the voltage terminal controls the amount of current through the device) that operate reverse-biased junction to control current in a channel.
The basic JEFT switch differs from the BJT switch in several aspects:
  1. The JEFT switch has a much higher input impedance
  2. A negative input square wave to an n-channel is used to produce a positive output pulse.
Controlling external circuits
Certain calculation or signal-processing chores can be performed in the machine and then used to control external circuits. The simplest forms of external are on-off switches that are controlled by a single bit of a computer output port. More complex control applications use devices such as a amplifiers, DACs, and so forth.
Fig1-1 shows connecting the relay to the computer. Control over the relay is maintained by using 1 bit of the computer output port, in this case B0. Since only one bit is used, the other 7 bits are available for other applications, which may be displays, other relays, or certain other devices.


for interfacing the microcomputer with display devices as an oscilloscope or a strip chart paper record is shown in Fig 1-2. There are instances when these devices are the most appropriate means display, so we will want to provide some means to convert binary data analog voltages for the oscilloscope or recorder.
Simple Application
Model
Taking into the audio scene, for a speaker, we have the input energy to be electrical, the loudspeaker as the transducer, which has the output energy of sound.

As stated from above, a loudspeaker is a transducer that converts electrical energy from an audio amplifier into mechanical vibrations of the air. That is it produces sound. This device is sometimes known as a dynamic loudspeaker or simply a speaker. The basic construction of a speaker is shown below.

When electrical energy at audio frequencies, is applied to the voice coil, the magnetic field developed as a result, drives the cone in sympathy with the audio waveform.
The movement of the cone, backwards and forwards, produces a sound wave of which is a replica of the original electrical signal.
Loudspeakers have many uses including radios, sound systems and alarms.
 


Types of transducer

  1. Electrochemical Transducers
pH probe
Molecular electric transducers
Fuel cell
Battery

  1. Electroacoustic
Loudspeaker
Microphone
Hydrophone
3.Elctromagnetic
Magnetic cartridge
Generator
4.Electrostatic
Electrometer
5.Electromechanical transducer
Generator
Motor
Strain Gauge
Galvanometer
6.Other types of transducer
Photoelectric - light energy to electrical energy or vice versa
Thermoelectric - heat energy to electrical energy or vice versa
Industrial and municipal wastewater must be treated to the specified standards before discharged into a sewer or watercourse. These standards are determined not only to protect the sewerage infrastructure and workers maintaining the sewerage system, but also to prevent adverse effects on treatment processes at the downstream sewage treatment works and protect aquatic life. As water pollution acts become more and more strict, it is important to monitor multiple parameters of effluent conveniently during the treatment and before discharge. Therefore, it is necessary to develop an instrument to measure these parameters conveniently and efficiently.
Current available instrumentations are capable of measuring pH value of aqueous solutions, oxidation/reduction potential (ORP), free ion concentrations of some anions and metallic ions, conductivity, the concentration of dissolved oxygen (DO) and temperature. However, only a common instrument can measure some of these parameters among the standards of environmental pollution control acts at present. It is inconvenient to measure all parameters of effluent by many separate instruments, and hence it is important to develop one integrated instrument for more parameters. Many electrochemical measurements are affected by environmental temperature, and the results should be corrected to compensate the effect of temperature after measurement. In fact, some of electrochemical sensors have temperature compensation functions and they are duplicated if the functions are integrated instrument for more parameters. In addition, most of conventional electrochemical instruments are composed of the same components, such as liquid crystal display (LCD), keypad, and digital output port. It is necessary to integrate these similar or same functional parts into a system and save the cost.
We designed and fabricated an integrated transducer to determine multiple parameters, which include pH, oxidation/reduction potential, temperature, conductivity, dissolved oxygen, the concentrations of some of anions and metallic ions. The transducer is composed of multiple input ports for standard commercial sensors, microprocessor for energetic data treatment, liquid crystal display for easily operation and directly result representation, keypad for input and digital output port for communication with personal computer. The transducer provides powerful functions, including flexible calibration strategy, optimized display mode, intelligent internal compensation, and wide measurement range.

Fig below illustrates the front of an integrated transducer 1 for environmental multi-parameter monitoring according to one embodiment of the present invention. The case 2 of the transducer covers the exterior of the meter except for a panel containing the keypad 3, liquid crystal display 23, a series of jacks for standard commercial probes and the accessories. The keypad includes sixteen keys, eleven of which are number keys, and others are function keys. The transducer has eight jacks (4 to 11) for pH, ORP and ion selective electrodes, and three jacks (12 to 14) for temperature probes, and one jack 15 for DO electrode through the top of the case. The transducer has one jack 16 for conductivity electrode, and three jacks (17 to 19) for the working, reference and counter electrodes of anodic stripping voltammetry (ASV) for the monitoring of metallic ions such as some of heavy metals through the right side of the case. The transducer has a digital output port 20 to communicate with the computer under the protocol of RS232 in the right side of the case, and an on/off button 21 to switch on and off the power of the transducer in the front panel of the case, and a contrast knob 22 to adjust the display contrast of the LCD in the front panel of the case.
Schematic diagram of the integrated transducer

Fig.below is a schematic diagram of the functional components of the transducer. The pH or ORP or ion selective electrodes (ISE) are connected via the jacks (4 to 11) to the transducer. The analog voltage input 24 (actually 8 channels) of pH or ORP or ISE is connected to an analog amplifier circuit 25 to a strobing circuit 55. The temperature probe is connected via the jacks (12 to 14) to the transducer. The analog input 27 (actually 3 channels) of temperature probe is connected to an analog amplifier circuit 28 to a strobing circuit 55. The DO electrode is connected via the jack 15 to the transducer. The analog current input 32, which is produced by DO electrode under the polarizing voltage signal 31 of the polarizing voltage circuit 30, is connected to current to voltage circuit 33 to convert to voltage signal 34, and then the voltage signal 34 is connected to an analog amplifier circuit 35 to a strobing circuit 55. The conductivity electrode is connected via the jack 16 to the transducer. The analog current input 39, which is produced by conductivity electrode under the alternating voltage 38 of the oscillation generator circuit 37, is connected to current to voltage circuit 40 to convert to voltage signal 41, and then the voltage signal 41 is connected to an analog amplifier circuit 44 to the strobing circuit 55. The amplification gain of analog amplifier circuit 44 is controlled by the signal 43 of the controllable gain 42, which receives control signal 61 from the microprocessor 59. The working electrode, reference electrode and counter electrode of ASV to measure the concentration of metallic ions are connected via the jacks (17 to 19) to the transducer. The analog current input 48, which is produced by the electrodes under the deposition and stripping voltage 47 of the circuit 46, is connected to current to voltage circuit 49 to convert to voltage signal 50, and then the voltage signal 50 is connected to an analog amplifier circuit 53 to the strobing circuit 55.The deposition and stripping voltage circuit 46 receive control signal 63 from the microprocessor 59. The amplification gain of analog amplifier circuit 53 can be controlled by the signal 52 of the controllable gain 51, which receives control signal 62 from the microprocessor 59. 



The voltage inputs (26, 29, 36, 45 and 54) connected to the strobing circuit 55, are transferred to A/D converter 57, which converts analog input 56 into a digital signal 58 one by one in proper order. The digital signal 58 is an input into microprocessor 59, contained on a circuit board within the case 2 of the transducer 1. Keypad input 66 represents the connection of the various keys of keypad 3 to the microprocessor 59. Output 65 from microprocessor 59 to display 23 is representative of various control lines that connect microprocessor 59 to the individual liquid crystal display elements of the components of display 23. Output 64 from microprocessor 59 is representative of various control lines that connect microprocessor 59 to the serial communication port of the computer under the communication protocol RS232.
Fig below illustrates in schematic form of the microprocessor 59, its major logic elements and the connecting elements. The two types of inputs to the microprocessor 59 are the digitized input 58 (shown as coming from A/D Converter 57 in Fig. 2) and the keypad input 66 (shown as coming from keypad 3 in Fig. 2). The five types of outputs from the microprocessor 59 are the display outputs 65 to LCD 23, the serial digital output 64 to RS232 serial communication port 20, the channel selector output 60 which controls the strobing circuit 55 to determines whether A/D Converter 57 is connected to pH/ORP/ISE jacks (4 to 11) or to temperature jacks (12 to 14) or to DO jack (15) or to conductivity jack 16 or to heavy metal jacks (17 to 19), the gain select outputs (61 and 62) which control the gains of the amplifiers (44 and 53), and the deposition and stripping voltage output 63 which control the deposition and stripping voltage 46 of anodic stripping voltammetry.
Schematic form of the microprocessor 59

The two types of inputs and five types of outputs connect through the I/O interface 67 to the arithmetic logic unit (ALU) 71 of microprocessor 59. Additional inputs to ALU 71 are timer circuits 70 used for indicating increments at which ALU performs certain functions. The microprocessor 59 also contains read only memory (ROM) 69 in which various program routines and constants are permanently stored and called up by ALU in a controlled fashion. Random access memory (RAM) 68 contains various values obtained by ALU 71 from I/O 67 or from computations on those values, on stored values already in RAM 68, on values from ROM 69 or on values from a variety of sources.
The integrated electrochemical transducer can measure the multiple parameters of the solution, such as pH, ORP, temperature, conductivity, DO, concentration of some anions and metallic ions. When the transducer is turned on, all the parameters will display in the LCD, and the operator press the key to select the parameters to be measured.
          
The front view and reae view of the integrated
transducer integrated with power supply and accessories