


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















How do the modules that we will use provide this capability? The devices that acts as our electronic switch are transistors. The modules are actually transistors circuits whch use several transistors but to the designer - you - the module can be treated a single transistor. The block representing the electronic switch has been isolated from the drive circuit and expanded in the figure with the circuitry inside the electronic switch modeled by a single transistor.
A schematic of the Current Amplifier (CA) module is shown below. This circuit uses Bipolar Junction transistors The heart of the circuit is a module labeled TIP 142 whose internal circuitry is shown to the right. The TIP module has two transistors in a configuration called a Darlington pair. This is a common configuration of transistors when the load (in this case our motors) needs more current than any one transistor could handle. This module, combined with another external transistor, allows the motors to be turned on and off electronically. This is one of the modules you will use in the lab.
The other device that can be used to drive the car motors is called the Current Amplifier Bridge (CAB) which uses a different type of transistors - the Field Effect transistor (FET). The module that we will be using that contains the MOSFET transistors has an interesting configuration of transistors that allows the current to flow through the motor in either direction so that the motor can run either forwards or backwards. It is called an 'H-bridge' configuration. Any type of transistor could be used
The second part of your lab investigates these states and how to optimize the external circuitry connected to the transistor to optimize the switching performance. A more commonly used technology is CMOS (complementary metal-oxide-semiconductor) since components fabricated using field effect transistors with an insulated gate take almost no energy to switch between states and none once the state has been established. The last part of your lab is used to investigate how to use these FETs, both n- and p-type, to implement logic functions rather than the BJTs since TTL technology is becoming obsolete. In lecture you have learned some logical functions including NOT, AND, OR, NAND, NOR, XOR to name a few. These are abstract concepts involving the different ways of combining two states using Boolean algebra. These two states we usually call 0 and 1. In this lab we will investigate how to map these abstract concepts onto hardware. Each of the states 0 and 1 will map onto one of two distinct states of the circuit usually dintinguished by voltage levels, with lower voltages representing the 0 state and higher voltages representing the 1 state. In TTL logic, the gates accept any voltage (within reason) but divide the voltage range into two ranges, with Vin < ~.8V representing a 0 and all higher voltages represent a 1. The output voltages of TTL usually give 0V for a 0 and 5V for a 1, but this depends on what is connected to its inputs and the exact value of the voltage applied to the input power. As an example, lets look at a bipolar junction transistor, connected in the common emitter configurattion. Hopefully this example will demystify how the different states come about and how we use them to represent logic levels.
The input circuit consists of a source labeled Vin and a resistor connected to the base of the transistor. If Vin is very small then the transistor is in the OFF state, because the voltage across the base-emitter junction is not sufficient to forward bias the base-emitter junction thereby turning on the transistor, putting the system into the ACTIVE state. The highlighted portion shows that when the transistor is OFF then no current flows from the collector to the emitter and therefore the output circuit sees an open across the collector-emitter junction so this output voltage Vce is just the voltage Vcc. In this case as long as Vbe is less that Vbeon the turn-on voltage of the transistor, the output voltage (Vce) is unchanging and is equal to the voltage Vcc.
The next figure (below) represents the transistor circuit when the transistor in the SATURATED state. Now Vin is large enough so that Vbe > > Vbeon and large enough so that the input base current Ib is greater than that needed to drive the transistor into saturation. The output circuit now looks like a simple resistor circuit where the output Vce is constant at Vcesat which is usually quite small. A graph of how the output voltage Vce depends upon the input voltage Vin helps to see how useful the
transistor might be as a two state device. In the graph below we can see that for two ranges of Vin the transistor output is constant and easily distinguished from each other. This suggests that logic gates might be built from these devices. The middle region, where the transistor is in the active state
Current Amplifier Bridge/MPV The other module that you can use to run the vehicle motors is called the Current Amplifier Bridge (though it really does not amplify the current - so maybe we should just call it the MOSFET bridge module). The heart of this module is the MPM3004 which contains four transistors connected to form a transistor bridge. The configuration of the transistor is more sophisticated than that discussed in the prelab since it precludes any possibilty of putting the transistors in destructive states. A schematic is shown below. As you can see, as discussed in the prelab when two opposing transistors are ON then the current flows one way through the load connected to the bridge (in this case your motor). When
the other pair is ON then the current reverses. The destructive states are eliminated because the design uses a combination of N-channel and P-channel devices so that when on pair is ON the other pair must be OFF. The CAB module incorportates the H-bridge module in a circuit with external logic that chooses between running forward or backwards depending on signals provided by the navigation circuit that you design. For today you will use the voltage and ground provided by the power supply to emulate these signals. Connect the other motor of the vehicle to this module as shown in the figure above - between pins 11/12 and 5/6. Pin 11 and 12 (and 5 and 6) must be connected together - this designation does not mean 11 OR 12 as for some of the previous modules. The positive terminal of the motor voltage Vmotor is connected to pins 9 and 10 of the module and the negative terminal to pins 7 and 8. The module is now ready to drive the motors depending on the signals applied to pins 1, 2, 3, and 4. Eventually, these signals will be provided by the navigation circuit that you will design if you choose to use the CAB module. For now these signal will be provided by the power supply. The logic voltage provided by the power supply set to 5V is connected to pins 16 (the positive terminal) and 15 (the negative terminal). Ignore pins 13 and 14. Pin 1, 2, 3, 4 provide the logic to run the motor forwards, backwards, and still. We are connecting one of them to ground and 2 and 3 together because for this lab we are using a simplified subset of all possible combinations. Let's see what happens when we vary the two inputs - that to pin 1 and to the pin 2/3 combinations.