EXEMPLAR FOR EXCELLENCE
|
|
- Lizbeth Lindsey
- 5 years ago
- Views:
Transcription
1 Level 3 Digital Technologies (3.47) Title Demonstrate understanding of complex concepts used in the design and construction of electronic environments Credits 4 EXEMPLAR FOR EXCELLENCE THIS PDF ALSO CONTAINS A PRINTABLE ANNOTATED VERSION
2 Report for 3.47: nderstanding complex concepts Specification: My design for a model elevator (lift) which will help explain the hardware and software concepts I have chosen is the two-floor (G & 1), two-call button type. There is a call button on each floor and an LCD display panel inside the lift. The motor that raises and lowers the lift is reversible. It is connected to the lift cables through a gearbox and pulleys (not shown). Sensors (P1- P4) positioned near the bottom and top of each level on the lift shaft wall signal the motor controller to manage the speed of the lift as it moves. The motor control circuit uses an H-bridge type that contains an inbuilt current sensor (this can be used as a safety feature to detect when the lift is overloaded and to prevent it moving off). A PICAXE microcontroller is programmed to operate the lift. Diagram of a model elevator P1-P4 are sensors in the lift shaft to enable the lift to know where it is and in what direction it is travelling. This is needed to control motor speed and acceleration and deceleration. The LCD panel is inside the lift. Digital Technologies (3.47) Page 1 of 13 Exemplar for Excellence
3 Circuit schematic Here is a block diagram of the model lift control system. + Current sensor line Inputs for limit switch sensors Multiple switch sensors Multiple switch sensors H-bridge control lines L293D Serial data to LCD Inputs for button press sensors My report demonstrates understanding for five software and five hardware concepts using the elevator (building lift) context. Complex hardware concepts: Microcontroller, H-bridge with speed control, FET operation, multiple sensors, LCD display Complex software concepts: Bitwise logic, flags and interrupts, serial data transmission, structuring complex programmes, ADC and DAC (analogue to digital and digital to analogue conversion). Complex hardware concepts 1. Microcontroller The microcontroller represents the concept of a small computer on a single integrated circuit with inputs and outputs and with processing and memory capacity. A microcontroller is a computer-on-a-chip', as it has its own memory, can process instructions and data, and has dedicated input/output functionality. A microcontroller has both RAM and ROM, as well as input and output ports. Like all microprocessors instructions are executed in an ordered manner, the speed of which is dictated by the micro s internal oscillator (clock). Digital Technologies (3.47) Page 2 of 13 Exemplar for Excellence
4 A microcontroller is necessary in the model elevator context to be able to respond to sensory data, such as button presses, control the motor satisfactorily and react to emergencies.. Most microcontroller types have enough in/out pins and can support the features such as ADC, DAC, pwm and interrupts that are needed for the elevator, so the actual choice is a wide one. There are many different families of microcontrollers- PICAXE, Arduino, Basic Stamp, ARM, Atmel etc. Each family and each particular chip within the family has different capabilities- e.g. motor control, analogue sensing, memory capability etc. The particular device chosen for a task will also be affected by price, availability, programming language and so forth. A microcontroller is necessary in the model elevator context to be able to respond to sensory data, such as button presses, control the motor satisfactorily and react to emergencies. There is a wide range of devices that could be chosen- for the purpose of this context a chip was selected from the PICAXE range as these are easy to programme (PICAXE Basic), they are cheap and there is a great deal of support from the education provider and on online forums. I am also familiar with these chips, having worked with them since Year 10. The memory capacity of a microcontroller is divided between RAM and ROM. RAM capacity is usually quite small (typically bytes used for things like values of variables) and ROM capacity may be both non-erasable ROM (the basic functionality of the chip and may also include bootstrap and interpreter programmes) as well as rewritable ROM, but non-volatile (remains even if power is switched off) so that the micro can be programmed for many purposes if necessary. This can be EEPROM or flash-eeprom. There are three sorts of memory in the PICAXE- Programme memory (usually stored in Flash (a type of easily written/ erased EEPROM), data memory (standard EEPROM) and RAM (where the variables are stored as the programme is run). I have drawn up a diagram that helps me understand how memory is allocated in a typical PICAXE chip. The memory sizes given are typical, but vary widely with chip type. I also give the function of some of these areas. Digital Technologies (3.47) Page 3 of 13 Exemplar for Excellence
5 Flash EEPROM 2048 bytes EEPROM bytes RAM bytes This is where up to 1800 lines of programme can be stored. Does not disappear when power turns off. This is data memory (constants or variables). Remains even when power is turned off. This is used for temporary data storage when the programme is run- this data is lost when power is off. Scratchpad memory (only in X series chips) Table memory bytes To select a chip that meets my requirements for the elevator I looked first at the table below (from a popular book: PICAXE for the Evil Genius ).. PICAXE chip family characteristics PICAXE Processor Pins I/O Pins 10-bit ADC Input Pins Touch input Pins PWM output Pins Hardware Interrupt Pins Approx no. code lines Gen purpose vars (bytes) Peek/poke storage vars (bytes) Get/put Scratchpad vars (bytes) Data (EEPROM) Memory (bytes) Maximum speed (MHz) Educational line 48 - ** 32 * - t o t a 32 l f or 4 program slots **data memory stored with program memory Advanced line 08M2 14M2 18M2 20M2 28X1 40X1 20X2 28X2 40X * 4000* Digital Technologies (3.47) Page 4 of 13 Exemplar for Excellence
6 Firstly, an educational line chip will suffice for my model elevator. The basic clock speed of these chips is 8MHz which gives a fast enough programme execution, but it can be overclocked to 32 MHz if desired. Programme memory is recorded in the table as about 600 lines, but the latest M2 chips can store and handle up to 1800 lines of code. The functions I require for the model are fairly simple, so I don t expect to get anywhere near this. Also as my programming gets smarter, I expect the programme to be more economic in length. There are sufficient I/O pins for my needs in the chips above the basic 08M2 and ADC functionality to spare. I am just going to be monitoring 4 sensors in the shaft, two external lift buttons and the current drawn by the motor. The PICAXE 14M2 was chosen as a microcontroller suitable for the model elevator as it is cheap, has plenty of memory capacity and sufficient I/O pins for this, can output pwm (pulse width modulation) to the H-bridge that drives the motor (more than one pin can do this if I decide to have an extra motor for the lift doors) and can feed data to the LCD display(s) (via the sertxd command). This chip also supports the processing of the flags and interrupts needed for the elevator scenario. The specialised commands available on this chip (hserout/hserin- high speed serial data transmission; hpwm; hi2c- communications between chips; true DAC etc.) are not needed for the basic elevator model, but would be useful if the design were to be extended in the future. This, plus the fact the chip is very cheap, support its choice here. 2. H-bridge Concept: an H-bridge is a complex subsystem that can pass current through a motor in either direction, controlling speed, and direction of rotation of the motor. An H-bridge is a complex hardware subsystem, either with separate transistors or integrated on a chip, that allows power to be supplied to a motor as well as allowing the direction of rotation of the motor to be reversed. The L293 and L298 are commonly used examples of an H-bridge on a chip. Each chip can control two motors. The L298 has current sensing capability, which we can use to detect motor overload. The H-bridge is used in the model elevator context to allow motor speed control (through PWM, pulse-width modulation) and reversal of motor direction, so that the lift will be able to move smoothly up or down. Digital Technologies (3.47) Page 5 of 13 Exemplar for Excellence
7 + - - The diagram represents the principle of the H-bridge. Current can flow through the motor in either direction, because of the way it is connected. The switches can be mechanical, but for electronic control switching should be by transistors. We need to use an H-bridge for the elevator to enable the motor to both raise and lower the car in a controlled manner. The L293D (D stands for diode-protected ) is a cheap and readily available H-bridge on a chip. Here is its pinout. It can drive two motors- one on each side of the chip. This could allow us to install an auxiliary motor in the model, to open and close the lift door, for example. The motor connections are 1Y and 2Y; and 3Y and 4Y. The A pins are where the pwm (pulse-width modulated) signal from the microcontroller is applied, to control the speed and direction of the motor(s). The EN (enable) pins give us the ability to shut either half of the H-bridge down, which is useful in an emergency, such as when the lift is overloaded, or the motor is overheating for some reason. L293D pinout If we want to check for overload conditions, as when too many people get into the lift at once, or the motor is put under stress for any reason (maybe through a partial stall), then we need some form of current load sensing capability. As the L293D doesn t have inbuilt current-sensing, we would need to rig something up, like a resistive divider. Two low-value resistors connected between the L293D and the power supply rail with a serial link to the PICAXE (as shown in the schematic at the start of this report) would be able to detect a rise in current to the H-bridge as an elevated voltage. This could be set up as an interrupt to stop normal operation until the condition was rectified e.g. people get out of the lift. Digital Technologies (3.47) Page 6 of 13 Exemplar for Excellence
8 However there is a better option. The L298D chip has two current sensing pins at 1 and 15 and voltage rises detected at the top of the resistors here can be fed to the PICAXE as shown and appropriate action programmed into the software. Another consideration is the load current drawn by the lift motor from the H-bridge. A sudden surge can easily burn out the chip. The L293D is rated at a maximum of only 0.6A. We need to be sure that this is not exceeded in our elevator. Here again the L298D option is attractive- it is a brute of a motor driver, designed for up driving 4 amperes at 46 volts. External protection diodes are advised, to protect against voltage back-spikes (the motor is an inductive load) that could damage the chips in the project. These diodes are connected across the motor as shown. Even with the D version of the L298 it is good practice to fit external diodes. Overheating of the chip can also be a problem. The L298D comes in two packages: the Multiwatt and the PowerSO20. The multiwatt version features offset pins with a lug for a heatsink to be fitted (this is important hardware for H-bridges!) and so allows for A heatsink can also be fitted to the PowerSO20, but this is a less effective configuration. However this chip can be piggy-backed on another and corresponding pins soldered to each other (an unlikely solution- but it works!) The use of an H-bridge also allows for motor-braking which can assist the pwm control here. A fast motor stop option is desirable in the lift context, but as motor braking creates a rise in current, we have to be careful the absolute maximum rating. (from Wikipedia) If one wants to go the whole hog (as when a bigger motor is used in a scaled-up Digital Technologies (3.47) Page 7 of 13 Exemplar for Excellence
9 project) an H-bridge can be built from discrete MOSFETs, which can allow current draws of hundreds of amps if you needed it! The expense and physical size of this option are a drawback, however. For the reasons discussed, I have decided to replace the L293D with the L298D in my model elevator design. 3. FET (Field-effect transistor) Concept: a FET is a transistor that uses an electric field to control the shape and hence the conductivity of a semiconductor channel. The concept behind the operation of a FET is quite different to that of a BJT. The BJT is current operated and the FET voltage operated. FETs utilise only one type of charge carrier (BJTs use two), have very high input impedance, low noise, low power losses and better temperature stability. There are two main types of FETs: the Junction gate FET (JFET) and the metal-oxide semiconductor FET (MOSFET). JFETs and MOSFETs use both n- and p-type silicon in their construction; the MOSFET has an additional layer of insulating oxide between the metal gate electrode and the n- or p- type silicon that the gate is made of. A p-type MOSFET When a negative voltage is applied to the gate the n-type region next to the gate oxide layer is partially converted to p-type and a current can then flow from the drain to the source. A typical motor adequate for the model elevator context would not need to be very large or demanding of power. Here an H-bridge chip would suffice. However, if a much larger motor was required (if the model were to be scaled up), the H-bridge could be constructed of high-power MOSFETs, because of their capacity to deliver larger currents. These features, along with the MOSFET s capacity to deliver large currents (hence power) to a motor, would suit it for use in an H-bridge in the elevator context if the H- bridge wasn t adequate. 4. Multiple sensors Concept: inputs from different sensors (of type and number) can be detected (by a microcontroller, for instance) and appropriate action taken. Sensors are components (thermistor, LDR, Hall-effect device, Dallas temperature 1-wire device, optical encoder e.t.c) set in their own subsystem. This will inv Digital Technologies (3.47) Page 8 of 13 Exemplar for Excellence
10 components such as resistors, capacitors and diodes and a circuit layout that suits the sensor component. The sensor subsystem has to be able to deliver a measurable output at a suitable level over the range of conditions the sensor is likely to encounter in the context it is in (the electronic environment). The proximity sensors used in the lift shaft serve as input sensors to allow the microcontroller to detect the position of the lift in the shaft. There are multiple sensors to allow the lift to know where it is and in what direction it is travelling, so the behaviour of the motor can be properly controlled. Here is a state table that shows how the sensors P1-P4 can provide information of this sort. 1 means the lift is covering the sensor; 0 means the sensor is uncovered. Because of the size of the lift and the spacing of the sensors, these are the only states possible. P1 P2 P3 P4 Lift state Level G may be stopped, accelerating or decelerating Mostly in G zone- accelerating (up) or decelerating (down) Between floors- constant speed zone Mostly in Level 1 zone- decelerating (up) or accelerating (down) Level 1- may be stopped, accelerating or decelerating The software can be set up to recognise these states and respond accordingly. 5. LCD (liquid crystal display) Concept: a flat panel that uses the light modulating properties of liquid crystals to display letters, digits or graphics. A liquid-crystal display (LCD) is matrix of cells or pixels, containing a light-sensitive organic substance, arranged in a thin layer. Each cell is connected to an electrical contact. When a voltage signal is sent to the contact point (usually a transistor switch), the pixel goes dark and light because the organic crystals twist and untwist. This allows messages, numbers or graphics to be displayed. LCDs are usually controlled through a parallel connection, but software can be written interpret serial data as well, the advantage then being only a one wire connection is needed. Digital Technologies (3.47) Page 9 of 13 Exemplar for Excellence
11 The LCD is used in the model elevator to indicate what the lift is doing in terms of position and travelling direction. This messaging could be upgraded to display other information as well e.g. lift overloaded. LCDs could also be added at each floor level to tell those waiting what the lift is doing. Complex software concepts 1. Bitwise logic Concept: combining single bits using logical AND, OR and XOR operations. Bit-wise logic is about performing the logic operations NOT, AND, OR, XOR on binary numbers, treating each bit individually rather than as part of the whole number. Since individual bits (0 or 1) can represent useful information, like the state of a register in memory, or whether there is a signal present at an input or not, or whether a button has been pressed etc., bitwise logic is a very useful tool in microcontroller programming. For example, an AND operation may be used to determine whether a particular bit is set (1) or clear ; (0). Say there is a bit pattern 0011 (this could represent inputs 0 and 1 being high, for example) and we want to know whether the second bit is set. Then all we have to do is logically AND the unknown bit pattern with Thus 0011 AND 0010 = Since we get a 1 in the second position, this tells us the unknown bit pattern has a 1 in that position too and is therefore set. One use of this information might be for when we want to clear the register. The state of the lift car (position in the lift shaft and direction of travel) needs to be continually checked. If the information from the digital sensor inputs in the shaft is expressed as a binary number variable then bitwise logic can be used to check any input state. 2. Interrupts Concept: interrupt- a special signal triggered by an emergency situation that halts the execution of a program or device until the situation is able to be dealt with and normal operation can be resumed. The program has to check for the presence of interrupt conditions constantly. If an interrupt is activated, normal routine is suspended and an interrupt subroutine (which tells the microcontroller what to do in this emergency ) is activated. When the interrupt has been serviced, the microcontroller will resume normal operation. There are two types of interrupts, software and hardware. A software interrupt is driven by a software instruction and a hardware interrupt is the result of external causes. The difference between hardware and software interrupts is that a hardware interrupt (which may be due to a priority signal being received, or a failure of an external device, for example) is linked to the micro by a direct control line that can suspend what it is doing. A reset switch being pressed is the simplest type of example. For the lift context, this may be when somebody has pressed the emergency stop. Hardware interrupts are a more direct method of intervention than software interrupts, which generally involve the program polling (systematically checking) the inputs. Software interrupts use up processor time. The PICAXE checks for software interrupt conditions between each line r for Excellence
12 of code. An example of an interrupt in the elevator context might be a situation where too many people get into the lift so that it is overloaded. The lift will stop until the situation is addressed. The interrupt routine overrides all other lift procedures. 3. Serial data transmission Concept: sending data sequentially along a single wire or wirelessly as a data stream. serial data transmission is the sending of data one bit at a time. It is cheaper and more efficient than parallel data transmission for long distances, although slower, but clock speed can be increased to compensate. It also requires fewer pins (valuable real estate on a microcontroller). There are different protocols (systems of transmission) for serial data transmission. The simplest (and still useful) is Morse code, but there are many others- using one, two or three wires depending on the protocol and the application- RS232 (low-speed), RS485, I²C (inter-integrated circuit), SPI (serial peripheral interface), USB (universal serial bus), 1-wire, Ethernet etc. A bus means both the hardware and software needed to transmit the data stream. In the model elevator information about the position of the lift is gathered from the shaft sensors. This information is processed by the microcontroller which then sends messages (data) about the lift position and direction of travel via a serial link to the LCD screen inside the lift. 4. Structuring complex programmes Concept: Optimising the layout, elegance and efficiency of a software programme so that it can be readily understood, debugged and improved. Structuring good-practice can include using symbols, labels, indentation, annotation, and specialised commands etc. to improve the format, clarity and execution time for a programme. The features of the program below are: Multiple subroutines to process interrupts and overload conditions. Complex Interrupt programming. Multiple input interrupt on 0, 1 and 2 on Port C. Logical OR extension is used along with correct mask and logic polarity. Processing of the interrupt. This makes the code more efficient and shortens several routines in the main loop. Load sensing from the H bridge internal ve shunt sensing point (or can use an external 1 ohm resistor that can be used to monitor the load on the motor (i.e. lift loading ) and here just generates a warning message + LED + Buzzer during acceleration if too much load is detected Programming directives have been added to the header as an additional level of sophistication in setting up the features of the programming editor and tweaking the programming environment Digital Technologies (3.47) Page 11 of 13 Exemplar for Excellence
13 This causes: -Motor to stop immediately -Red Overload LED turns on -Buzzer alarm turns on -Overload message Digital Technologies (3.47) Page 12 of 13 Exemplar for Excellence
14 5. ADC and DAC (analogue to digital and digital to analogue conversion) Concept: ADC- Continuous values (as in binary numbers) can be converted to discrete values. DAC- Discrete values (as in binary numbers) can be converted to continuous values. ADC is hard-wired into most microcontrollers so that they can deal with measurements from the real world like temperature and light levels. Because the microcontroller only works with digital representations of data, it s important this conversion takes place. Analogue to digital conversion is the chopping up of a smooth signal into discrete steps, each step being represented by a digital value. The resolution of the digital values produced is given by the number of bits in the value e.g. 8-bit resolution allows the digital signal to take up different values. ADC is commonly used to convert values from real-world variables (temperature, light level etc.) into binary numbers that the computer can process. Digitising an analogue signal (5-bit resolution) In the elevator context, ADC occurs when the motor overload circuit returns a voltage value to the PICAXE input it is connected to. In the elevator context ADC can be used to convert the voltage generated by the current sensor network into digital data that the programme can test for overload conditions. This is a safety feature that ensures that there are not too many people in the lift- if there are, the programme will interrupt normal operation. When a microcontroller programme (digital) is controlling an analogue device, such as a motor, the binary numbers that the microcontroller sends out needs to be smoothed out so that the motor doesn t move jerkily. This involves DAC. Digital to analogue conversion is the conversion of a binary number whose value is represented in discrete steps into a continuous value number e.g. a computer programme might generate data as bytes and a DAC convertor change this data into a continuously varying value. Motor speed and direction is controlled by the PWM (pulse-width modulated) signal that the PICAXE sends out. In the elevator context the PWM command performs a sort of DAC. PWM (pulse-width modulation) generates a square wave signal with off and on sections (therefore digital). When the PWM is applied to the lift motor, it changes speed smoothly (analogue), not in jumps. The PWM is not true analogue, but can be made to be a close approximation to it. Digital Technologies (3.47) Page 13 of 13 Exemplar for Excellence
15 Level 3 Digital Technologies (3.47) Title Demonstrate understanding of complex concepts used in the design and construction of electronic environments Credits 4 EXEMPLAR FOR EXCELLENCE PRINTABLE ANNOTATED VERSION
16 Report for 3.47: nderstanding complex concepts Specification: My design for a model elevator (lift) which will help explain the hardware and software concepts I have chosen is the two-floor (G & 1), two-call button type. There is a call button on each floor and an LCD display panel inside the lift. The motor that raises and lowers the lift is reversible. It is connected to the lift cables through a gearbox and pulleys (not shown). Sensors (P1- P4) positioned near the bottom and top of each level on the lift shaft wall signal the motor controller to manage the speed of the lift as it moves. The motor control circuit uses an H-bridge type that contains an inbuilt current sensor (this can be used as a safety feature to detect when the lift is overloaded and to prevent it moving off). A PICAXE microcontroller is programmed to operate the lift. Summary of Comments on 3.47 Excellence Exemplar Page: 1 Author: Date: 11/12/12 11:16:45 AM This is a very clear example of a good Excellence grade report. Some of the concepts are not individually explored at the excellence level. Each part of the candidate s report makes some contribution to demonstrating either breadth or depth of understanding. With a number of key concepts; Microcontroller, H-bridge, and Program Structuring the candidate offers linked detailed accurate explanations that relate the concepts to the whole within the specific environment of the elevator. Author: Date: 3/10/12 8:19:42 AM Relating understanding to a context helps validate the student s understanding. Author: Date: 3/10/12 8:19:49 AM A diagram of the elevator clarifies the description given of the context in the specification. Diagram of a model elevator P1-P4 are sensors in the lift shaft to enable the lift to know where it is and in what direction it is travelling. This is needed to control motor speed and acceleration and deceleration. The LCD panel is inside the lift. Digital Technologies (3.47) Page 1 of 13 Exemplar for Excellence
17 Circuit schematic Here is a block diagram of the model lift control system. + Inputs for limit switch sensors Current sensor line Page: 2 Author: Date: 3/10/12 8:19:58 AM This schematic summarises the hardware & connections required for the control of the model elevator. Author: Date: 3/10/12 8:20:04 AM A selection has been made from the hardware and software concepts listed in Standard 3.47 that suit the context of the Elevator. Author: Date: 11/12/12 11:17:06 AM In what follows the candidate has defined and described the concept and offered several linked explanations which draw together in a discussion about the evaluation and selection of the particular controller. The candidate s discussion is both broad and deep and therefore comprehensive. Multiple switch sensors Multiple switch sensors H-bridge control lines L293D Serial data to LCD Inputs for button press sensors My report demonstrates understanding for five software and five hardware concepts using the elevator (building lift) context. Complex hardware concepts: Microcontroller, H-bridge with speed control, FET operation, multiple sensors, LCD display Complex software concepts: Bitwise logic, flags and interrupts, serial data transmission, structuring complex programmes, ADC and DAC (analogue to digital and digital to analogue conversion). Complex hardware concepts 1. Microcontroller The microcontroller represents the concept of a small computer on a single integrated circuit with inputs and outputs and with processing and memory capacity. A microcontroller is a computer-on-a-chip', as it has its own memory, can process instructions and data, and has dedicated input/output functionality. A microcontroller has both RAM and ROM, as well as input and output ports. Like all microprocessors instructions are executed in an ordered manner, the speed of which is dictated by the micro s internal oscillator (clock). Digital Technologies (3.47) Page 2 of 13 Exemplar for Excellence
18 This page contains no comments A microcontroller is necessary in the model elevator context to be able to respond to sensory data, such as button presses, control the motor satisfactorily and react to emergencies.. Most microcontroller types have enough in/out pins and can support the features such as ADC, DAC, pwm and interrupts that are needed for the elevator, so the actual choice is a wide one. There are many different families of microcontrollers- PICAXE, Arduino, Basic Stamp, ARM, Atmel etc. Each family and each particular chip within the family has different capabilities- e.g. motor control, analogue sensing, memory capability etc. The particular device chosen for a task will also be affected by price, availability, programming language and so forth. A microcontroller is necessary in the model elevator context to be able to respond to sensory data, such as button presses, control the motor satisfactorily and react to emergencies. There is a wide range of devices that could be chosen- for the purpose of this context a chip was selected from the PICAXE range as these are easy to programme (PICAXE Basic), they are cheap and there is a great deal of support from the education provider and on online forums. I am also familiar with these chips, having worked with them since Year 10. The memory capacity of a microcontroller is divided between RAM and ROM. RAM capacity is usually quite small (typically bytes used for things like values of variables) and ROM capacity may be both non-erasable ROM (the basic functionality of the chip and may also include bootstrap and interpreter programmes) as well as rewritable ROM, but non-volatile (remains even if power is switched off) so that the micro can be programmed for many purposes if necessary. This can be EEPROM or flash-eeprom. There are three sorts of memory in the PICAXE- Programme memory (usually stored in Flash (a type of easily written/ erased EEPROM), data memory (standard EEPROM) and RAM (where the variables are stored as the programme is run). I have drawn up a diagram that helps me understand how memory is allocated in a typical PICAXE chip. The memory sizes given are typical, but vary widely with chip type. I also give the function of some of these areas. Digital Technologies (3.47) Page 3 of 13 Exemplar for Excellence
19 This page contains no comments Flash EEPROM 2048 bytes EEPROM bytes RAM bytes This is where up to 1800 lines of programme can be stored. Does not disappear when power turns off. This is data memory (constants or variables). Remains even when power is turned off. This is used for temporary data storage when the programme is run- this data is lost when power is off. Scratchpad memory (only in X series chips) Table memory bytes To select a chip that meets my requirements for the elevator I looked first at the table below (from a popular book: PICAXE for the Evil Genius ).. PICAXE chip family characteristics PICAXE Processor Pins I/O Pins 10-bit ADC Input Pins Touch input Pins PWM output Pins Hardware Interrupt Pins Approx no. code lines Gen purpose vars (bytes) Peek/poke storage vars (bytes) Get/put Scratchpad vars (bytes) Data (EEPROM) Memory (bytes) Maximum speed (MHz) Educational line ** 32 * - t o t a 32 l f or 4 program slots **data memory stored with program memory Advanced line 08M2 14M2 18M2 20M2 28X1 40X1 20X2 28X2 40X * 4000* Digital Technologies (3.47) Page 4 of 13 Exemplar for Excellence
20 Firstly, an educational line chip will suffice for my model elevator. The basic clock speed of these chips is 8MHz which gives a fast enough programme execution, but it can be overclocked to 32 MHz if desired. Programme memory is recorded in the table as about 600 lines, but the latest M2 chips can store and handle up to 1800 lines of code. The functions I require for the model are fairly simple, so I don t expect to get anywhere near this. Also as my programming gets smarter, I expect the programme to be more economic in length. Page: 5 Author: Date: 11/12/12 1:24:37 PM In what follows the candidate has defined and described the concept and offered several linked explanations which draw together in a discussion about the evaluation and selection a particular H bridge. The report also makes linkages that relate the subsystems within the context of the block diagram and the lift operation. There are sufficient I/O pins for my needs in the chips above the basic 08M2 and ADC functionality to spare. I am just going to be monitoring 4 sensors in the shaft, two external lift buttons and the current drawn by the motor. The PICAXE 14M2 was chosen as a microcontroller suitable for the model elevator as it is cheap, has plenty of memory capacity and sufficient I/O pins for this, can output pwm (pulse width modulation) to the H-bridge that drives the motor (more than one pin can do this if I decide to have an extra motor for the lift doors) and can feed data to the LCD display(s) (via the sertxd command). This chip also supports the processing of the flags and interrupts needed for the elevator scenario. The specialised commands available on this chip (hserout/hserin- high speed serial data transmission; hpwm; hi2c- communications between chips; true DAC etc.) are not needed for the basic elevator model, but would be useful if the design were to be extended in the future. This, plus the fact the chip is very cheap, support its choice here. 2. H-bridge Concept: an H-bridge is a complex subsystem that can pass current through a motor in either direction, controlling speed, and direction of rotation of the motor. An H-bridge is a complex hardware subsystem, either with separate transistors or integrated on a chip, that allows power to be supplied to a motor as well as allowing the direction of rotation of the motor to be reversed. The L293 and L298 are commonly used examples of an H-bridge on a chip. Each chip can control two motors. The L298 has current sensing capability, which we can use to detect motor overload. The H-bridge is used in the model elevator context to allow motor speed control (through PWM, pulse-width modulation) and reversal of motor direction, so that the lift will be able to move smoothly up or down. Digital Technologies (3.47) Page 5 of 13 Exemplar for Excellence
21 + This page contains no comments - - The diagram represents the principle of the H-bridge. Current can flow through the motor in either direction, because of the way it is connected. The switches can be mechanical, but for electronic control switching should be by transistors. We need to use an H-bridge for the elevator to enable the motor to both raise and lower the car in a controlled manner. The L293D (D stands for diode-protected ) is a cheap and readily available H-bridge on a chip. Here is its pinout. It can drive two motors- one on each side of the chip. This could allow us to install an auxiliary motor in the model, to open and close the lift door, for example. The motor connections are 1Y and 2Y; and 3Y and 4Y. The A pins are where the pwm (pulse-width modulated) signal from the microcontroller is applied, to control the speed and direction of the motor(s). The EN (enable) pins give us the ability to shut either half of the H-bridge down, which is useful in an emergency, such as when the lift is overloaded, or the motor is overheating for some reason. L293D pinout If we want to check for overload conditions, as when too many people get into the lift at once, or the motor is put under stress for any reason (maybe through a partial stall), then we need some form of current load sensing capability. As the L293D doesn t have inbuilt current-sensing, we would need to rig something up, like a resistive divider. Two low-value resistors connected between the L293D and the power supply rail with a serial link to the PICAXE (as shown in the schematic at the start of this report) would be able to detect a rise in current to the H-bridge as an elevated voltage. This could be set up as an interrupt to stop normal operation until the condition was rectified e.g. people get out of the lift. Digital Technologies (3.47) Page 6 of 13 Exemplar for Excellence
22 This page contains no comments However there is a better option. The L298D chip has two current sensing pins at 1 and 15 and voltage rises detected at the top of the resistors here can be fed to the PICAXE as shown and appropriate action programmed into the software. Another consideration is the load current drawn by the lift motor from the H-bridge. A sudden surge can easily burn out the chip. The L293D is rated at a maximum of only 0.6A. We need to be sure that this is not exceeded in our elevator. Here again the L298D option is attractive- it is a brute of a motor driver, designed for up driving 4 amperes at 46 volts. External protection diodes are advised, to protect against voltage back-spikes (the motor is an inductive load) that could damage the chips in the project. These diodes are connected across the motor as shown. Even with the D version of the L298 it is good practice to fit external diodes. Overheating of the chip can also be a problem. The L298D comes in two packages: the Multiwatt and the PowerSO20. The multiwatt version features offset pins with a lug for a heatsink to be fitted (this is important hardware for H-bridges!) and so allows for A heatsink can also be fitted to the PowerSO20, but this is a less effective configuration. However this chip can be piggy-backed on another and corresponding pins soldered to each other (an unlikely solution- but it works!) The use of an H-bridge also allows for motor-braking which can assist the pwm control here. A fast motor stop option is desirable in the lift context, but as motor braking creates a rise in current, we have to be careful the absolute maximum rating. (from Wikipedia) If one wants to go the whole hog (as when a bigger motor is used in a scaled-up Digital Technologies (3.47) Page 7 of 13 Exemplar for Excellence
23 project) an H-bridge can be built from discrete MOSFETs, which can allow current draws of hundreds of amps if you needed it! The expense and physical size of this option are a drawback, however. For the reasons discussed, I have decided to replace the L293D with the L298D in my model elevator design. 3. FET (Field-effect transistor) Concept: a FET is a transistor that uses an electric field to control the shape and hence the conductivity of a semiconductor channel. The concept behind the operation of a FET is quite different to that of a BJT. The BJT is current operated and the FET voltage operated. FETs utilise only one type of charge carrier (BJTs use two), have very high input impedance, low noise, low power losses and better temperature stability. Page: 8 Author: Date: 3/10/12 8:20:22 AM Defines the concept, describes the complex hardware concept, and applies it to the context. This component of the report is at the achieved level. The standard does not require every concept considered to be at the excellence level. In this case consideration of the FET makes a contribution to the breath of the report. Decisions about the appropriate grade are made using the criteria applied to the report as a whole. The question the marker asks is, Does the report on the whole, demonstrate comprehensive understanding of complex concepts used in the design and construction of electronic environments? Author: Date: 3/10/12 8:20:31 AM Defines the hardware concept, describes the hardware concept, and applies it to the context. The functional arrangement of the sensor set up is explained in context. This component of the report is at the merit level. The standard does not require every concept considered to be at the excellence level. In this case consideration of the sensors makes a contribution to the breath of the report. Decisions about the appropriate grade are made using the criteria applied to the report as a whole. The question the marker asks is, Does the report on the whole, demonstrate comprehensive understanding of complex concepts used in the design and construction of electronic environments? There are two main types of FETs: the Junction gate FET (JFET) and the metal-oxide semiconductor FET (MOSFET). JFETs and MOSFETs use both n- and p-type silicon in their construction; the MOSFET has an additional layer of insulating oxide between the metal gate electrode and the n- or p- type silicon that the gate is made of. A p-type MOSFET When a negative voltage is applied to the gate the n-type region next to the gate oxide layer is partially converted to p-type and a current can then flow from the drain to the source. A typical motor adequate for the model elevator context would not need to be very large or demanding of power. Here an H-bridge chip would suffice. However, if a much larger motor was required (if the model were to be scaled up), the H-bridge could be constructed of high-power MOSFETs, because of their capacity to deliver larger currents. These features, along with the MOSFET s capacity to deliver large currents (hence power) to a motor, would suit it for use in an H-bridge in the elevator context if the H- bridge wasn t adequate. 4. Multiple sensors Concept: inputs from different sensors (of type and number) can be detected (by a microcontroller, for instance) and appropriate action taken. Sensors are components (thermistor, LDR, Hall-effect device, Dallas temperature 1-wire device, optical encoder e.t.c) set in their own subsystem. This will inv Digital Technologies (3.47) Page 8 of 13 Exemplar for Excellence
24 components such as resistors, capacitors and diodes and a circuit layout that suits the sensor component. The sensor subsystem has to be able to deliver a measurable output at a suitable level over the range of conditions the sensor is likely to encounter in the context it is in (the electronic environment). The proximity sensors used in the lift shaft serve as input sensors to allow the microcontroller to detect the position of the lift in the shaft. There are multiple sensors to allow the lift to know where it is and in what direction it is travelling, so the behaviour of the motor can be properly controlled. Page: 9 Author: Date: 3/10/12 8:20:51 AM Defines the concept, describes the complex hardware concept, and applies it to the context. This component of the report is at the achieved level. The standard does not require every concept considered to be at the excellence level. In this case consideration of the LCD makes a contribution to the breath of the report. Decisions about the appropriate grade are made using the criteria applied to the report as a whole. The question the marker asks is, Does the report on the whole, demonstrate comprehensive understanding of complex concepts used in the design and construction of electronic environments? Here is a state table that shows how the sensors P1-P4 can provide information of this sort. 1 means the lift is covering the sensor; 0 means the sensor is uncovered. Because of the size of the lift and the spacing of the sensors, these are the only states possible. P1 P2 P3 P4 Lift state Level G may be stopped, accelerating or decelerating Mostly in G zone- accelerating (up) or decelerating (down) Between floors- constant speed zone Mostly in Level 1 zone- decelerating (up) or accelerating (down) Level 1- may be stopped, accelerating or decelerating The software can be set up to recognise these states and respond accordingly. 5. LCD (liquid crystal display) Concept: a flat panel that uses the light modulating properties of liquid crystals to display letters, digits or graphics. A liquid-crystal display (LCD) is matrix of cells or pixels, containing a light-sensitive organic substance, arranged in a thin layer. Each cell is connected to an electrical contact. When a voltage signal is sent to the contact point (usually a transistor switch), the pixel goes dark and light because the organic crystals twist and untwist. This allows messages, numbers or graphics to be displayed. LCDs are usually controlled through a parallel connection, but software can be written interpret serial data as well, the advantage then being only a one wire connection is needed. Digital Technologies (3.47) Page 9 of 13 Exemplar for Excellence
25 The LCD is used in the model elevator to indicate what the lift is doing in terms of position and travelling direction. This messaging could be upgraded to display other information as well e.g. lift overloaded. LCDs could also be added at each floor level to tell those waiting what the lift is doing. Complex software concepts 1. Bitwise logic Concept: combining single bits using logical AND, OR and XOR operations. Bit-wise logic is about performing the logic operations NOT, AND, OR, XOR on binary numbers, treating each bit individually rather than as part of the whole number. Page: 10 Author: Date: 3/10/12 8:20:58 AM Defines the hardware concept, describes the hardware concept, and applies it to the context. The aspect of this section of the report that deals with the function is more descriptive than explanatory. This concept is described with a partial explanation. Within any electronic environment there might be a number of conceptual processes that are important for understanding function within the environment, which do not need to be explored in depth. Addressing these components does assist the marker to make decisions as to the breadth of the candidate s understanding. Author: Date: 3/10/12 8:21:10 AM Defines the software concept, describes the software concept, and applies it to the context. The text is more descriptive than explanatory. This concept is described with a partial explanation. Within any electronic environment there might be a number of conceptual processes that are important for understanding function within the environment, which do not need to be explored in depth. Addressing these components does assist the marker to make decisions as to the breadth of the candidate s understanding. Since individual bits (0 or 1) can represent useful information, like the state of a register in memory, or whether there is a signal present at an input or not, or whether a button has been pressed etc., bitwise logic is a very useful tool in microcontroller programming. For example, an AND operation may be used to determine whether a particular bit is set (1) or clear ; (0). Say there is a bit pattern 0011 (this could represent inputs 0 and 1 being high, for example) and we want to know whether the second bit is set. Then all we have to do is logically AND the unknown bit pattern with Thus 0011 AND 0010 = Since we get a 1 in the second position, this tells us the unknown bit pattern has a 1 in that position too and is therefore set. One use of this information might be for when we want to clear the register. The state of the lift car (position in the lift shaft and direction of travel) needs to be continually checked. If the information from the digital sensor inputs in the shaft is expressed as a binary number variable then bitwise logic can be used to check any input state. 2. Interrupts Concept: interrupt- a special signal triggered by an emergency situation that halts the execution of a program or device until the situation is able to be dealt with and normal operation can be resumed. The program has to check for the presence of interrupt conditions constantly. If an interrupt is activated, normal routine is suspended and an interrupt subroutine (which tells the microcontroller what to do in this emergency ) is activated. When the interrupt has been serviced, the microcontroller will resume normal operation. There are two types of interrupts, software and hardware. A software interrupt is driven by a software instruction and a hardware interrupt is the result of external causes. The difference between hardware and software interrupts is that a hardware interrupt (which may be due to a priority signal being received, or a failure of an external device, for example) is linked to the micro by a direct control line that can suspend what it is doing. A reset switch being pressed is the simplest type of example. For the lift context, this may be when somebody has pressed the emergency stop. Hardware interrupts are a more direct method of intervention than software interrupts, which generally involve the program polling (systematically checking) the inputs. Software interrupts use up processor time. The PICAXE checks for software interrupt conditions between each line r for Excellence
Programmable Control Introduction
Programmable Control Introduction By the end of this unit you should be able to: Give examples of where microcontrollers are used Recognise the symbols for different processes in a flowchart Construct
More informationExperiment #3: Micro-controlled Movement
Experiment #3: Micro-controlled Movement So we re already on Experiment #3 and all we ve done is blinked a few LED s on and off. Hang in there, something is about to move! As you know, an LED is an output
More informationFour Quadrant Speed Control of DC Motor with the Help of AT89S52 Microcontroller
Four Quadrant Speed Control of DC Motor with the Help of AT89S52 Microcontroller Rahul Baranwal 1, Omama Aftab 2, Mrs. Deepti Ojha 3 1,2, B.Tech Final Year (Electronics and Communication Engineering),
More informationHardware Platforms and Sensors
Hardware Platforms and Sensors Tom Spink Including material adapted from Bjoern Franke and Michael O Boyle Hardware Platform A hardware platform describes the physical components that go to make up a particular
More informationνµθωερτψυιοπασδφγηϕκλζξχϖβνµθωερτ ψυιοπασδφγηϕκλζξχϖβνµθωερτψυιοπα σδφγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκ χϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµθ
θωερτψυιοπασδφγηϕκλζξχϖβνµθωερτψ υιοπασδφγηϕκλζξχϖβνµθωερτψυιοπασδ φγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκλζ ξχϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµ EE 331 Design Project Final Report θωερτψυιοπασδφγηϕκλζξχϖβνµθωερτψ
More informationDASL 120 Introduction to Microcontrollers
DASL 120 Introduction to Microcontrollers Lecture 2 Introduction to 8-bit Microcontrollers Introduction to 8-bit Microcontrollers Introduction to 8-bit Microcontrollers Introduction to Atmel Atmega328
More informationImaging serial interface ROM
Page 1 of 6 ( 3 of 32 ) United States Patent Application 20070024904 Kind Code A1 Baer; Richard L. ; et al. February 1, 2007 Imaging serial interface ROM Abstract Imaging serial interface ROM (ISIROM).
More informationCitrus Circuits Fall Workshop Series. Roborio and Sensors. Paul Ngo and Ellie Hass
Citrus Circuits Fall Workshop Series Roborio and Sensors Paul Ngo and Ellie Hass Introduction to Sensors Sensor: a device that detects or measures a physical property and records, indicates, or otherwise
More informationWINTER 14 EXAMINATION
Subject Code:173 WINTER 14 EXAMINATION Model Answer Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The
More informationCHAPTER-5 DESIGN OF DIRECT TORQUE CONTROLLED INDUCTION MOTOR DRIVE
113 CHAPTER-5 DESIGN OF DIRECT TORQUE CONTROLLED INDUCTION MOTOR DRIVE 5.1 INTRODUCTION This chapter describes hardware design and implementation of direct torque controlled induction motor drive with
More informationUnit level 5 Credit value 15. Introduction. Learning Outcomes
Unit 46: Unit code Embedded Systems A/615/1514 Unit level 5 Credit value 15 Introduction An embedded system is a device or product which contains one or more tiny computers hidden inside it. This hidden
More informationREACTIVE POWER COMPENSATION IN DISTRIBUTION SYSTEM
REACTIVE POWER COMPENSATION IN DISTRIBUTION SYSTEM Piyush Upadhyay, Praveen Nagar, Priya Chhaperwal, Rajat Agarwal, Sarfaraz Nawaz Department of Electrical Engineering, SKIT M& G, Jaipur ABSTRACT In this
More informationDeviceCraft Revision #1 11/29/2010
DeviceCraft Revision #1 11/29/2010 DC Wiper Motor H-Bridge Servo / Speed Controller P/N 1020 Features: Dip Switch selectable mode of operation Both PID servo or speed controller Forward/Reverse operation
More informationI. INTRODUCTION II. LITERATURE REVIEW
ABSTRACT 2018 IJSRSET Volume 4 Issue 4 Print ISSN: 2395-1990 Online ISSN : 2394-4099 Themed Section : Engineering and Technology Reactive Power Compensation in Distribution System Piyush Upadhyay, Praveen
More informationMOSFET as a Switch. MOSFET Characteristics Curves
MOSFET as a Switch MOSFET s make very good electronic switches for controlling loads and in CMOS digital circuits as they operate between their cut-off and saturation regions. We saw previously, that the
More informationHB-25 Motor Controller (#29144)
Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267
More informationTarocco Closed Loop Motor Controller
Contents Safety Information... 3 Overview... 4 Features... 4 SoC for Closed Loop Control... 4 Gate Driver... 5 MOSFETs in H Bridge Configuration... 5 Device Characteristics... 6 Installation... 7 Motor
More informationProgramming PIC Microchips
Programming PIC Microchips Fís Foghlaim Forbairt Programming the PIC microcontroller using Genie Programming Editor Workshop provided & facilitated by the PDST www.t4.ie Page 1 DC motor control: DC motors
More informationNormally, digital speedometers
Microcontroller-based Speedometer-Cum-Odometer ARUN KUMAR VADLA Normally, digital speedometers are found only in luxury cars and high-end motorbikes. Even if your motorbike has a mechanical speedometer,
More informationADVANCED SAFETY APPLICATIONS FOR RAILWAY CROSSING
ADVANCED SAFETY APPLICATIONS FOR RAILWAY CROSSING 1 HARSHUL BALANI, 2 CHARU GUPTA, 3 KRATIKA SUKHWAL 1,2,3 B.TECH (ECE), Poornima College Of Engineering, RTU E-mail; 1 harshul.balani@gmail.com, 2 charu95g@gmail.com,
More informationGCSE Electronics. Scheme of Work
GCSE Electronics Scheme of Work Week Topic Detail Notes 1 Practical skills assemble a circuit using a diagram recognize a component from its physical appearance (This is a confidence building/motivating
More informationPulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore)
Laboratory 14 Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore) Required Components: 1x PIC 16F88 18P-DIP microcontroller 3x 0.1 F capacitors 1x 12-button numeric
More informationS11 Adjustable Speed Drive Engineering Specification
PART 1 - GENERAL 1.0 Scope This specification shall cover Toshiba S11 AC Variable Frequency Drives, 6 pulse for 3- phase 200-240VAC, 380-500VAC and single phase 200V to 240VAC. 1.1 References A. National
More informationChapter 2: Your Boe-Bot's Servo Motors
Chapter 2: Your Boe-Bot's Servo Motors Vocabulary words used in this lesson. Argument in computer science is a value of data that is part of a command. Also data passed to a procedure or function at the
More informationLS7362 BRUSHLESS DC MOTOR COMMUTATOR / CONTROLLER
LS7362 BRUSHLESS DC MOTOR COMMUTATOR / CONTROLLER FEATURES: Speed control by Pulse Width Modulating (PWM) only the low-side drivers reduces switching losses in level converter circuitry for high voltage
More informationSPEED CONTROL OF DC MOTOR USING PWM TECHNIQUE
SPEED CONTROL OF DC MOTOR USING PWM TECHNIQUE Shubham Naik 1 1 Electrical Engineering Abstract DC motors are widely used in industries where high speed torque requirement. Because of it characteristics
More informationMDSRC Proceedings, December, 2017 Wah/Pakistan
Three Phase Frequency Converter Quratulain Jamil 1, Hafiz Muhammad Ashraf Hayat 2, Haris Masood 3 1 Department of Electrical Engineering Wah Engineering College, University of Wah jamil0265@gmail.com 2
More informationrecognise that electronic systems are assembled from sensing, processing and out put sub-systems, including:
Electronic Systems Learners should be able to: (a) recognise that electronic systems are assembled from sensing, processing and out put sub-systems, including: sensing units: light, temperature, magnetic
More informationTMS320F241 DSP Boards for Power-electronics Applications
TMS320F241 DSP Boards for Power-electronics Applications Kittiphan Techakittiroj, Narong Aphiratsakun, Wuttikorn Threevithayanon and Soemoe Nyun Faculty of Engineering, Assumption University Bangkok, Thailand
More informationDS1307ZN. 64 X 8 Serial Real Time Clock PIN ASSIGNMENT FEATURES
DS1307 64 8 Serial Real Time Clock FEATURES Real time clock counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap year compensation valid up to 2100 56 byte nonvolatile
More informationCHAPTER 4 HARDWARE DEVELOPMENT OF STATCOM
74 CHAPTER 4 HARDWARE DEVELOPMENT OF STATCOM 4.1 LABORATARY SETUP OF STATCOM The laboratory setup of the STATCOM consists of the following hardware components: Three phase auto transformer used as a 3
More informationEE 314 Spring 2003 Microprocessor Systems
EE 314 Spring 2003 Microprocessor Systems Laboratory Project #9 Closed Loop Control Overview and Introduction This project will bring together several pieces of software and draw on knowledge gained in
More informationCIS009-2, Mechatronics Signals & Motors
CIS009-2, Signals & Motors Bedfordshire 13 th December 2012 Outline 1 2 3 4 5 6 7 8 3 Signals Two types of signals exist: 4 Bedfordshire 52 Analogue signal In an analogue signal voltages and currents continuously
More informationSeminar Report Railway Gate Control 1. INTRODUCTION
1. INTRODUCTION It is designed using AT89C51 microcontroller to avoid railway accidents happening at unattended railway gates, if implemented in spirit. This utilizes two powerful IR transmitters and two
More informationWednesday 7 June 2017 Afternoon Time allowed: 1 hour 30 minutes
Please write clearly in block capitals. Centre number Candidate number Surname Forename(s) Candidate signature A-level ELECTRONICS Unit 4 Programmable Control Systems Wednesday 7 June 2017 Afternoon Time
More informationADVANCED EMBEDDED MONITORING SYSTEM FOR ELECTROMAGNETIC RADIATION
98 Chapter-5 ADVANCED EMBEDDED MONITORING SYSTEM FOR ELECTROMAGNETIC RADIATION 99 CHAPTER-5 Chapter 5: ADVANCED EMBEDDED MONITORING SYSTEM FOR ELECTROMAGNETIC RADIATION S.No Name of the Sub-Title Page
More informationAN457 APPLICATION NOTE
AN457 APPLICATION NOTE TWIN-LOOP CONTROL CHIP CUTS COST OF DC MOTOR POSITIONING by H. Sax, A. Salina The Using a novel control IC that works with a simple photoelectric sensor, DC motors can now compare
More informationChapter 5: Signal conversion
Chapter 5: Signal conversion Learning Objectives: At the end of this topic you will be able to: explain the need for signal conversion between analogue and digital form in communications and microprocessors
More informationDS1307/DS X 8 Serial Real Time Clock
DS1307/DS1308 64 X 8 Serial Real Time Clock www.dalsemi.com FEATURES Real time clock counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap year compensation valid
More informationExample KodeKLIX Circuits
Example KodeKLIX Circuits Build these circuits to use with the pre-installed* code * The code is available can be re-downloaded to the SnapCPU at any time. The RGB LED will cycle through 6 colours Pressing
More informationUSB4. Encoder Data Acquisition USB Device Page 1 of 8. Description. Features
USB4 Page 1 of 8 The USB4 is a data acquisition device designed to record data from 4 incremental encoders, 8 digital inputs and 4 analog input channels. In addition, the USB4 provides 8 digital outputs
More informationDesign and Implementation of AT Mega 328 microcontroller based firing control for a tri-phase thyristor control rectifier
Design and Implementation of AT Mega 328 microcontroller based firing control for a tri-phase thyristor control rectifier 1 Mr. Gangul M.R PG Student WIT, Solapur 2 Mr. G.P Jain Assistant Professor WIT,
More informationPololu Dual G2 High-Power Motor Driver for Raspberry Pi
Pololu Dual G2 High-Power Motor Driver for Raspberry Pi 24v14 /POLOLU 3752 18v18 /POLOLU 3750 18v22 /POLOLU 3754 This add-on board makes it easy to control two highpower DC motors with a Raspberry Pi.
More informationAnalog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016
Analog I/O ECE 153B Sensor & Peripheral Interface Design Introduction Anytime we need to monitor or control analog signals with a digital system, we require analogto-digital (ADC) and digital-to-analog
More informationIGBT based Multiport Bidirectional DC-DC Converter with Renewable Energy Source
IGBT based Multiport Bidirectional DC-DC Converter with Renewable Energy Source S.Gautham Final Year, UG student, Department of Electrical and Electronics Engineering, P. B. College of Engineering, Chennai
More informationDesign and Development of Smart. Harmonic Analyzer
Chapter - 4 Design and Development of Smart Harmonic Analyzer 4.1 Introduction: There is steady evolution in the field of generation, distribution, and use of electricity since many years. New methods
More informationEMBEDDED SYSTEM DESIGN FOR A DIGITAL MULTIMETER USING MOTOROLA HCS12 MICROCONTROLLER
EMBEDDED SYSTEM DESIGN FOR A DIGITAL MULTIMETER USING MOTOROLA HCS12 MICROCONTROLLER A Thesis Submitted in partial Fulfillment Of the Requirements of the Degree of Bachelor of Technology In Electronics
More informationEE 308 Spring S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE
9S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE In this sequence of three labs you will learn to use the 9S12 S hardware sybsystem. WEEK 1 PULSE WIDTH MODULATION
More informationEE 308 Lab Spring 2009
9S12 Subsystems: Pulse Width Modulation, A/D Converter, and Synchronous Serial Interface In this sequence of three labs you will learn to use three of the MC9S12's hardware subsystems. WEEK 1 Pulse Width
More informationJaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)
Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN) 217-3367 Ordering Information Product Number Description 217-3367 Stellaris Brushed DC Motor Control Module with CAN (217-3367)
More information1. INTRODUCTION ABSTRACT
A temperature controller board for the ARC controller Simon Tulloch* European Southern Observatory, Karl Schwarzschild Straβe 2, Garching, Munich 85748, Germany ABSTRACT A high-performance temperature
More informationCortex-M3 based Prepaid System with Electricity Theft Control
Research Inventy: International Journal of Engineering And Science Vol.6, Issue 4 (April 2016), PP -139-146 Issn (e): 2278-4721, Issn (p):2319-6483, www.researchinventy.com Cortex-M3 based Prepaid System
More informationMAKEVMA502 BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL
BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL USER MANUAL 1. Introduction To all residents of the European Union Important environmental information about this product This symbol on the device
More informationGSM BASED PATIENT MONITORING SYSTEM
GSM BASED PATIENT MONITORING SYSTEM ABSTRACT This project deals with the monitoring of the patient parameters such as humidity, temperature and heartbeat. Here we have designed a microcontroller based
More informationRobot Rangers. Low Level Design Document. Ben Andersen Jennifer Berry Graham Boechler Andrew Setter
Robot Rangers Low Level Design Document Ben Andersen Jennifer Berry Graham Boechler Andrew Setter 2/17/2011 1 Table of Contents Introduction 3 Problem Statement and Proposed Solution 3 System Description
More informationInternational Journal of Applied Sciences, Engineering and Management ISSN , Vol. 06, No. 02, March 2017, pp
Intelligent Street Lighting System S. Jagan Mohan Rao 1, N. Kundana 2, N. Prasanti 2, U. Bhargav Teja 2, Y. Mukhesh 2 1 Professor, Vice Principal, Ramachandra College of Engineering, Eluru, Andhra Pradesh,
More informationName & SID 1 : Name & SID 2:
EE40 Final Project-1 Smart Car Name & SID 1 : Name & SID 2: Introduction The final project is to create an intelligent vehicle, better known as a robot. You will be provided with a chassis(motorized base),
More informationPhys Lecture 3. Power circuits how to control your motors Noise and Shielding
Phys 253 - Lecture 3 Power circuits how to control your motors Noise and Shielding Digital-to-Analog Conversion PWM 2 D/A Conversion and power circuits When would you like to produce an output signal that
More informationESE141 Circuit Board Instructions
ESE141 Circuit Board Instructions Board Version 2.1 Fall 2006 Washington University Electrical Engineering Basics Because this class assumes no prior knowledge or skills in electrical engineering, electronics
More informationLaboratory 11. Pulse-Width-Modulation Motor Speed Control with a PIC
Laboratory 11 Pulse-Width-Modulation Motor Speed Control with a PIC Required Components: 1 PIC16F88 18P-DIP microcontroller 3 0.1 F capacitors 1 12-button numeric keypad 1 NO pushbutton switch 1 Radio
More informationCastle Creations, INC.
Castle Link Live Communication Protocol Castle Creations, INC. 6-Feb-2012 Version 2.0 Subject to change at any time without notice or warning. Castle Link Live Communication Protocol - Page 1 1) Standard
More information2010 Technological Studies. Standard Grade Credit. Finalised Marking Instructions
Technological Studies Standard Grade Credit Finalised Marking Instructions Scottish Qualifications Authority The information in this publication may be reproduced to support SQA qualifications only on
More informationElectric Bike BLDC Hub Motor Control Using the Z8FMC1600 MCU
Application Note Electric Bike BLDC Hub Motor Control Using the Z8FMC1600 MCU AN026002-0608 Abstract This application note describes a controller for a 200 W, 24 V Brushless DC (BLDC) motor used to power
More informationDS1307ZN. 64 X 8 Serial Real Time Clock
64 X 8 Serial Real Time Clock www.dalsemi.com FEATURES Real time clock counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap year compensation valid up to 2100 56
More informationBASIC-Tiger Application Note No. 059 Rev Motor control with H bridges. Gunther Zielosko. 1. Introduction
Motor control with H bridges Gunther Zielosko 1. Introduction Controlling rather small DC motors using micro controllers as e.g. BASIC-Tiger are one of the more common applications of those useful helpers.
More informationThe Allen-Bradley Servo Interface Module (Cat. No SF1) when used with the Micro Controller (Cat. No UC1) can control single axis
Table of Contents The Allen-Bradley Servo Interface Module (Cat. No. 1771-SF1) when used with the Micro Controller (Cat. No. 1771-UC1) can control single axis positioning systems such as found in machine
More informationFRIDAY, 18 MAY 1.00 PM 4.00 PM. Where appropriate, you may use sketches to illustrate your answer.
X036/13/01 NATIONAL QUALIFICATIONS 2012 FRIDAY, 18 MAY 1.00 PM 4.00 PM TECHNOLOGICAL STUDIES ADVANCED HIGHER 200 marks are allocated to this paper. Answer all questions in Section A (120 marks). Answer
More informationRX23T inverter ref. kit
RX23T inverter ref. kit Deep Dive October 2015 YROTATE-IT-RX23T kit content Page 2 YROTATE-IT-RX23T kit: 3-ph. Brushless Motor Specs Page 3 Motors & driving methods supported Brushless DC Permanent Magnet
More informationCircuit Applications of Multiplying CMOS D to A Converters
Circuit Applications of Multiplying CMOS D to A Converters The 4-quadrant multiplying CMOS D to A converter (DAC) is among the most useful components available to the circuit designer Because CMOS DACs
More informationEE445L Fall 2011 Quiz 2A Page 1 of 6
EE445L Fall 2011 Quiz 2A Page 1 of 6 Jonathan W. Valvano First: Last: November 18, 2011, 2:00pm-2:50pm. Open book, open notes, calculator (no laptops, phones, devices with screens larger than a TI-89 calculator,
More informationRFID Door Unlocking System
RFID Door Unlocking System Evan VanMersbergen Project Description ETEC 471 Professor Todd Morton December 7, 2005-1- Introduction In this age of rapid technological advancement, radio frequency (or RF)
More informationControlling DC Brush Motor using MD10B or MD30B. Version 1.2. Aug Cytron Technologies Sdn. Bhd.
PR10 Controlling DC Brush Motor using MD10B or MD30B Version 1.2 Aug 2008 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended
More informationSimple-H User Manual
Simple-H User Manual Thank you for your purchase of the Robot Power Simple-H. This manual explains the features and functions of the Simple-H along with some tips for successful application. Before using
More informationElectronics Merit Badge Kit Theory of Operation
Electronics Merit Badge Kit Theory of Operation This is an explanation of how the merit badge kit functions. There are several topics worthy of discussion. These are: 1. LED operation. 2. Resistor function
More informationSemiconductors, ICs and Digital Fundamentals
Semiconductors, ICs and Digital Fundamentals The Diode The semiconductor phenomena. Diode performance with ac and dc currents. Diode types: General purpose LED Zener The Diode The semiconductor phenomena
More informationMD04-24Volt 20Amp H Bridge Motor Drive
MD04-24Volt 20Amp H Bridge Motor Drive Overview The MD04 is a medium power motor driver, designed to supply power beyond that of any of the low power single chip H-Bridges that exist. Main features are
More informationField Effect Transistors
Field Effect Transistors Purpose In this experiment we introduce field effect transistors (FETs). We will measure the output characteristics of a FET, and then construct a common-source amplifier stage,
More informationAn Arduino-based DCC Accessory Decoder for Model Railroad Turnouts. Eric Thorstenson 11/1/17
An Arduino-based DCC Accessory Decoder for Model Railroad Turnouts Eric Thorstenson 11/1/17 Introduction Earlier this year, I decided to develop an Arduino-based DCC accessory decoder for model railroad
More informationJUMA-TRX2 DDS / Control Board description OH2NLT
JUMA-TRX2 DDS / Control Board description OH2NLT 22.08.2007 General Key functions of the JUMA-TRX2 DDS / Control board are: - provide user interface functions with LCD display, buttons, potentiometers
More informationT6+ Analog I/O Section. Installation booklet for part numbers: 5/4-80A-115 5/4-90A-115 5/4-80A /4-90A-1224
T and T+ are trade names of Trol Systems Inc. TSI reserves the right to make changes to the information contained in this manual without notice. publication /4A115MAN- rev:1 2001 TSI All rights reserved
More informationINSTANT ROBOT SHIELD (AXE408)
INSTANT ROBOT SHIELD (AXE408) 1.0 Introduction Thank you for purchasing this Instant Robot shield. This datasheet is designed to give a brief introduction to how the shield is assembled, used and configured.
More informationARDUINO BASED DC MOTOR SPEED CONTROL
ARDUINO BASED DC MOTOR SPEED CONTROL Student of Electrical Engineering Department 1.Hirdesh Kr. Saini 2.Shahid Firoz 3.Ashutosh Pandey Abstract The Uno is a microcontroller board based on the ATmega328P.
More informationOcean Controls KT-5198 Dual Bidirectional DC Motor Speed Controller
Ocean Controls KT-5198 Dual Bidirectional DC Motor Speed Controller Microcontroller Based Controls 2 DC Motors 0-5V Analog, 1-2mS pulse or Serial Inputs for Motor Speed 10KHz, 1.25KHz or 156Hz selectable
More informationVF-nC1 Adjustable Speed Drive Engineering Specification
PART 1 - GENERAL 1.0 Scope This specification shall cover Toshiba VF-nC1 AC Variable Frequency Drives, 6 pulse for 100V single-phase 0.1 to 0.75kW, 200V single-phase 0.2 to 2.2kW and 200V threephase 0.1
More informationPutting It All Together: Computer Architecture and the Digital Camera
461 Putting It All Together: Computer Architecture and the Digital Camera This book covers many topics in circuit analysis and design, so it is only natural to wonder how they all fit together and how
More informationELG3336 Design of Mechatronics System
ELG3336 Design of Mechatronics System Elements of a Data Acquisition System 2 Analog Signal Data Acquisition Hardware Your Signal Data Acquisition DAQ Device System Computer Cable Terminal Block Data Acquisition
More informationL E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G
P R O F. S L A C K L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G G B S E E E @ R I T. E D U B L D I N G 9, O F F I C E 0 9-3 1 8 9 ( 5 8 5 ) 4 7 5-5 1 0
More informationIII. MATERIAL AND COMPONENTS USED
Prototype Development of a Smartphone- Controlled Robotic Vehicle with Pick- Place Capability Dheeraj Sharma Electronics and communication department Gian Jyoti Institute Of Engineering And Technology,
More informationSensors and Sensing Motors, Encoders and Motor Control
Sensors and Sensing Motors, Encoders and Motor Control Todor Stoyanov Mobile Robotics and Olfaction Lab Center for Applied Autonomous Sensor Systems Örebro University, Sweden todor.stoyanov@oru.se 05.11.2015
More information= V IN. and V CE. = the supply voltage 0.7 V, the transistor is on, V BE. = 0.7 V and V CE. until saturation is reached.
Switching Circuits Learners should be able to: (a) describe and analyse the operation and use of n-channel enhancement mode MOSFETs and npn transistors in switching circuits, including those which interface
More informationExperiment (1) Principles of Switching
Experiment (1) Principles of Switching Introduction When you use microcontrollers, sometimes you need to control devices that requires more electrical current than a microcontroller can supply; for this,
More informationSensors and Sensing Motors, Encoders and Motor Control
Sensors and Sensing Motors, Encoders and Motor Control Todor Stoyanov Mobile Robotics and Olfaction Lab Center for Applied Autonomous Sensor Systems Örebro University, Sweden todor.stoyanov@oru.se 13.11.2014
More informationStandard single-purpose processors: Peripherals
3-1 Chapter 3 Standard single-purpose processors: Peripherals 3.1 Introduction A single-purpose processor is a digital system intended to solve a specific computation task. The processor may be a standard
More informationUltrasonic Positioning System EDA385 Embedded Systems Design Advanced Course
Ultrasonic Positioning System EDA385 Embedded Systems Design Advanced Course Joakim Arnsby, et04ja@student.lth.se Joakim Baltsén, et05jb4@student.lth.se Simon Nilsson, et05sn9@student.lth.se Erik Osvaldsson,
More informationE3 Adjustable Speed Drive Engineering Specification
E3 Adjustable Speed Drive Engineering Specification PART 1 - GENERAL 1.0 Scope This specification shall cover Toshiba E3 AC Variable Frequency Drives, 6 pulse for 230V and 460V. 1.1 References A. National
More informationLock Cracker S. Lust, E. Skjel, R. LeBlanc, C. Kim
Lock Cracker S. Lust, E. Skjel, R. LeBlanc, C. Kim Abstract - This project utilized Eleven Engineering s XInC2 development board to control several peripheral devices to open a standard 40 digit combination
More informationNew Current-Sense Amplifiers Aid Measurement and Control
AMPLIFIER AND COMPARATOR CIRCUITS BATTERY MANAGEMENT CIRCUIT PROTECTION Mar 13, 2000 New Current-Sense Amplifiers Aid Measurement and Control This application note details the use of high-side current
More informationPIC Functionality. General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232
PIC Functionality General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232 General I/O Logic Output light LEDs Trigger solenoids Transfer data Logic Input Monitor
More informationMICROCONTROLLER BASED SPEED SYNCHRONIZATION OF MULTIPLE DC MOTORS IN TEXTILE APPLICATIONS
MICROCONTROLLER BASED SPEED SYNCHRONIZATION OF MULTIPLE DC MOTORS IN TEXTILE APPLICATIONS 1 RAKSHA A R, 2 KAVYA B, 3 PRAVEENA ANAJI, 4 NANDESH K N 1,2 UG student, 3,4 Assistant Professor Department of
More informationENGN Analogue Electronics Digital PC Oscilloscope
Faculty of Engineering and Information Technology Department of Engineering ENGN3227 - Analogue Electronics Digital PC Oscilloscope David Dries u2543318 Craig Gibbons u2543813 James Moran u4114563 Ranmadhu
More information