Hello friends, I hope you all are doing great. Today, I am going to share the new Rotary Inverted Pendulum Lab Library for Proteus, the fifth of our University Lab series. The inverted pendulum is the classic test of a control engineer: a stick that falls over the moment you stop correcting it, held upright by a motor and a few lines of code. In the rotary version a motor swings an arm, and a pendulum hangs from the end of the arm. The controller first swings the pendulum up from hanging, then catches it at the top and keeps it there, while the arm still goes where it is told. Our library brings that lab into Proteus at true scale. It is our own design: a black base with a coreless DC motor and an H-bridge inside, an 80 mm aluminium arm on the motor's hub, a 1024-line encoder at the arm's tip, a 100 mm steel pendulum on that encoder's shaft, and a second 1024-line encoder on the motor. The model solves the full nonlinear equations of the rotary pendulum, the arm and the pendulum pushing each other around. The pop-up works out the linear model about upright, its unstable pole, the LQR gains for the weights you choose and the closed-loop poles. It measures the swing-up, every arm move and a tap on the pendulum. The demo swings it up, balances it, moves the arm, rides out a tap and lets go, from an Arduino UNO. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is ...
Hello friends, I hope you all are doing great. Today, I am going to share the new Magnetic Levitation Control Lab Library for Proteus, the fourth of our University Lab series. A steel ball floating in mid-air under an electromagnet, held there by nothing but a controller, is one of the most striking experiments in a control course, and one of the most demanding. The magnet pulls harder the closer the ball comes, so the ball sits on a knife edge: a little too close and it snaps to the magnet, a little too far and it falls. The controller has to correct it hundreds of times a second. The same idea floats maglev trains and holds the shafts of magnetic bearings. Our library brings that lab into Proteus at true scale. It is our own maglev: an aluminium frame, a 12 V electromagnet with a steel core, a 19 mm steel ball resting on a stand under it, an infrared gap sensor across the gap, and the coil's MOSFET driver on the base. The physics covers the coil's current and its lag, the magnetic force and how fast it grows as the gap shrinks, and the ball falling and lifting between the magnet's face and the stand. The pop-up works out the linear model at the ball's gap, its unstable pole, the PD gains for the speed you ask for, and the overshoot and settling time of every move. The demo lifts the ball, moves it, adds an integral, and then takes the derivative away, from an Arduino UNO. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the ...
Hello friends, I hope you all are doing great. Today, I am going to share the new Ball and Beam PID Control Lab Library for Proteus, the third of our University Lab series. The ball and beam is the most famous unstable plant in control teaching: a ball rolls along a beam, a motor tilts the beam, and the controller has to bring the ball to a chosen spot and keep it there. Leave the beam alone for a moment and the ball rolls off the end. It is the experiment that shows, better than any other, why a controller needs its derivative term, and the same ideas balance robots, steer rockets and keep a camera level. Our library brings that lab into Proteus at true scale. It is our own ball and beam: a 250 mm aluminium channel on a pivot, a 40 mm table-tennis ball rolling in it, an MG996R servo tilting the beam through a horn and a link, and a Sharp GP2Y0A21 infrared sensor at one end measuring how far away the ball is. The physics is worked out from the parts: how a hollow ball rolls on two rims, how the linkage turns the servo's angle into the beam's, and the sensor's real curve with its 38 ms measuring cycle. The pop-up gives the model, the PD gains for the response you ask for, and the overshoot and settling time of every move. The demo makes three PD moves and one with half the derivative, from an Arduino UNO. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the ...
Hello friends, I hope you all are doing great. Today, I am going to share the new DC Motor Speed and Position Control Lab Library for Proteus, the second of our University Lab series. The DC servo is the workhorse of control courses: a small motor with a flywheel and an encoder, driven from a computer, on which students identify the motor with a bump test, design a PD controller for a given overshoot and peak time, and then watch the flywheel snap to an angle. The same skills drive robot joints, camera gimbals, printer heads and the feed axes of machine tools. Our library brings that lab into Proteus. It is our own servo lab, drawn at true scale: a coreless DC motor with the values of a real industrial motor, a brass flywheel on its shaft and a 100-line optical encoder under it, 400 counts per turn. The motor is a real circuit element that any driver can drive, and the encoder gives real quadrature edges that an Arduino counts in interrupts. The pop-up does the control engineer's homework live: it fits a bump test to a first-order model, turns the model into PD gains, and measures every move the flywheel makes. The demo runs a bump test, four PD moves and one move without the derivative, from an Arduino UNO through our L9110S driver. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the ...
Hello friends, I hope you all are doing great. Today, I am going to share the new PID Temperature Control Lab Library for Proteus, the first of our University Lab series. Temperature control is everywhere: in an oven, a 3D printer's hot end, an incubator, a soldering station and the heating of every building. It is also the classic way to learn process control. Many universities, in the United States and around the world, teach their process dynamics and control courses with a small two-heater board on an Arduino, such as the TCLab kit from Brigham Young University: students run a step test, fit a model, tune a PID loop and watch it hold a temperature. Our library brings that lab into Proteus. It is our own two-heater shield, drawn at the true size of an Arduino shield and on the same pins as the TCLab kit, and its physics is the energy balance that Park, Martin, Kelly and Hedengren fitted to a real two-heater lab in their 2020 paper. Two TIP31C transistors are the heaters, a TMP36 on each reads its temperature, and the model heats them, cools them, lets them warm each other and makes the sensors lag. The pop-up does the control engineer's homework live: it fits any step of heater 1 to a first-order model with dead time and turns it into PID gains. The demo runs a step test, then a PI loop, then a disturbance, all from an Arduino UNO. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get ...
Hello friends, I hope you all are doing great. Today, I am going to share the new Crystal Library for Proteus. Every clock you own counts the vibrations of a tiny piece of quartz: the watch on your wrist, the real-time clock in your PC, the microcontroller on an Arduino board and the radio in your phone. A quartz crystal rings at one frequency so precisely that a cheap watch drifts only a few seconds a month. On a schematic it is two plates in a box; in real life it is a mechanical resonator with a set of numbers that decide whether your circuit keeps time, runs fast, runs slow or never starts at all. Our library has two crystals at true scale. The first is a 32.768 kHz watch crystal in the small cylinder you find next to every real-time clock chip, as the ECS-.327-12.5-13X, 2.1 x 6.2 mm. The second is an HC-49/US crystal, the low metal can used beside microcontrollers, as the ECS-80-18-4X at 8 MHz, with its frequency printed on the can. Both really oscillate: the model is the crystal's electrical twin, solved exactly at every step, so it keeps its frequency to a fraction of a ppm. The pop-up shows what an engineer measures on a real board: the frequency and its error in ppm, the load capacitance the circuit gives the crystal, the drive level, the start-up time and the start margin. The demo builds a watch-crystal oscillator from a 2N7000 and lets an Arduino time it. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are ...
Hello friends, I hope you all are doing great. Today, I am going to share the new Toroid Inductor Library for Proteus. Open a PC power supply, a solar charge controller, an amplifier or a motor drive and you will find a few doughnuts of copper wire: toroid inductors. A toroid is a coil wound round a ring, and that ring shape keeps its magnetic field almost entirely inside the core. It disturbs its neighbours very little, it picks up very little from them, and it packs a lot of inductance into a small, flat part. That is why the toroid is the classic choice for the power inductor of a buck converter and for the filters on a supply line. Our library has a 100 µH powdered-iron toroid at true scale, 21.8 mm across and lying flat on the board, as the Bourns 2100LL-101-H-RC: 36 mΩ of winding resistance and a 4.3 A rating, at which its inductance has fallen to 46.2 µH. A powdered-iron core loses its inductance gradually instead of at a sudden knee, and the model follows that curve through both datasheet points. The model also has the winding's resistance and its heat, and the pop-up shows the field circling inside the ring, a scope of the current, and the inductance curve with the working point on it. The demo builds an Arduino buck converter that makes 5 V from 12 V, first at 1 A and then at 2 A. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that ...
Hello friends, I hope you all are doing great. Today, I am going to share the new Inductor Library for Proteus. An inductor is the quiet partner of every power supply: in a phone charger, a laptop adapter, an LED driver or the little boost module that makes 12 V from a USB port, an inductor stores energy in a magnetic field a few thousand times a second and hands it on. On a schematic it is just a coil with a value. In real life it has two current limits, a resistance that turns current into heat, and a core that can fill up. Choosing the wrong one is one of the most common reasons a converter runs hot or fails. Our library has two through-hole inductors at true scale: a radial ferrite drum-core power inductor of 100 µH (as the Bourns RLB0914, 9 x 14 mm, saturation 2.1 A, 0.28 Ω, 1 A rated), and a small axial colour-coded inductor of 100 µH (as the Bourns 78F, 2.8 x 7.1 mm, 4.1 Ω, 165 mA rated), whose colour bands follow its value. The model has the inductance with its saturation, the winding's resistance and its heat. The pop-up shows the part in its magnetic field, a scope of its current, and the inductance falling as the current grows. The demo builds two Arduino boost converters, 5 V to 12 V, one with each inductor, and shows why the same 100 µH is not the same part. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so ...
Hello friends, I hope you all are doing great. Today, I am going to share the new SCR and TRIAC Library for Proteus. Thyristors are the switches of the AC world: the part inside every light dimmer, the speed control of a drill or a fan, the heater control of a soldering station and the solid-state relay. They behave like no other transistor. A tiny pulse on the gate turns them on, and then they stay on by themselves, gate or no gate, until the current through them dies away. That one property is what makes them so useful on AC, and so puzzling the first time you meet them. Our library has two thyristors at true scale in their TO-220 packages: the BT151 SCR (500 V, 12 A) and the BT136-600E triac (600 V, 4 A, the sensitive-gate version made to be driven from a microcontroller). The model has the gate junction, the latch with its gate trigger, latching and holding currents from the datasheets, the triac's four quadrants, the on-state voltage, and the heat. The pop-up shows the latch step by step for the SCR, and a small oscilloscope of the last two AC cycles with the firing angle for the triac. The demo builds an SCR latch on DC and a triac light dimmer on AC, timed by an Arduino from a PC817 zero-crossing detector. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the ...
Hello friends, I hope you all are doing great. Today, I am going to share the new Voltage Regulator Library for Proteus. Almost every circuit needs a steady supply voltage, and for decades the simplest way to get one has been a three-legged linear regulator: feed it 9 V or 12 V and it gives a clean 5 V or 3.3 V. The LM7805 and the LM317 are the two most famous, found on Arduino boards, in power supplies and in nearly every student's first project. They are easy to use, but they hide one trap that catches beginners again and again: the heat. Our library has both regulators at true scale in their TO-220 packages. The model has the set voltage with its line and load regulation, the dropout, the current limit, the quiescent current and, above all, the heat: the power the regulator burns flows from its junction through the tab and the heatsink you choose to the air, and past 150 °C the thermal shutdown turns the output off. The pop-up shows where the input volts and watts go and where the junction is heading. The demo puts a bare LM7805 at one amp next to an LM317 on a heatsink, and lets you watch the first one overheat. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the Voltage Regulator board of our forum. And if our free libraries help you, you can buy us a coffee. ...