<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://chemeng.up.ac.za/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=BarendCoetzee</id>
		<title>Chemical Engineering @ UP wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://chemeng.up.ac.za/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=BarendCoetzee"/>
		<link rel="alternate" type="text/html" href="http://chemeng.up.ac.za/wiki/index.php/Special:Contributions/BarendCoetzee"/>
		<updated>2026-05-05T15:24:25Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.25.1</generator>

	<entry>
		<id>http://chemeng.up.ac.za/wiki/index.php?title=Double_Inverted_Pendulum&amp;diff=39352</id>
		<title>Double Inverted Pendulum</title>
		<link rel="alternate" type="text/html" href="http://chemeng.up.ac.za/wiki/index.php?title=Double_Inverted_Pendulum&amp;diff=39352"/>
				<updated>2020-12-03T12:04:44Z</updated>
		
		<summary type="html">&lt;p&gt;BarendCoetzee: Created page with &amp;quot;== Introduction == This control rig consists of a cart on a linear rail that can moved in 1D by using DC motor. The cart has a free moving arm attached to it, an angle encoder...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
This control rig consists of a cart on a linear rail that can moved in 1D by using DC motor. The cart has a free moving arm attached to it, an angle encoder is used to measure the angle between the cart and the first arm. &lt;br /&gt;
A second arm is attached to the end of the first arm, a second angle encoder is used to measure the angle between the first and second arm. Where these two angles are used to calculate the control moves to bring to stability.&lt;br /&gt;
&lt;br /&gt;
==2020 - Bernard Coetzee==&lt;br /&gt;
'''Build'''&lt;br /&gt;
[[File:3D_Model.png|500px|left|thumb]]&lt;br /&gt;
&lt;br /&gt;
The rig was built by previous students, where the base consists of a wooden board and the rest of the structured is made from polycarbonate sheet.&lt;br /&gt;
&lt;br /&gt;
A Raspberry Pi 3 is used to perform all the input and output operations to and from the process, as well as computational tasks. The inputs to this system consist of the following:&lt;br /&gt;
# Distance to end of board, busing a time of flight (IR) sensor&lt;br /&gt;
# Angle between the cart and the first arm&lt;br /&gt;
# Angle between the first and second arm&lt;br /&gt;
&lt;br /&gt;
These are then used to determine the control moves by moving the cart. This is accomplished by using the DC (MWP) motor.&lt;br /&gt;
&lt;br /&gt;
All control measurement and control operations are carried out using Python 3 on the Raspberry Pi. To control the DC motor an Arduino shield is used.&lt;br /&gt;
&lt;br /&gt;
'''Modelling'''&lt;br /&gt;
&lt;br /&gt;
Since this rig is inherently unstable, the system needs to be modelled in order with the aim of moving the zeros from the RHP to the LHP. In this case the MV is the movement of the cart by means of the DC motor, thus the motor's direction and duty cycle. Since this system is non-linear and step test is not a practical method of obtaining a system model, a mathematical model had to be derived from first principals using the Lagrange method.&lt;br /&gt;
This yielded a state space representation of the system which could be used in Python to implement the controller.&lt;br /&gt;
&lt;br /&gt;
'''Control'''&lt;br /&gt;
Several controllers were implemented with increasing levels of complexity. The first controller was a (PI) Proportional Integral controller, with only the first arm. This was to firstly test and validate all the different component could communication and their values historized, and secondly to get a grip on the controllability of the system. The PI controller worked but had very poor disturbance rejection abilities.&lt;br /&gt;
Once this was completed, An MPC controller was designed for the single arm, and then for both the single arm and for two arms. It was found that the time required to get the MPC output is to long to be practical&lt;/div&gt;</summary>
		<author><name>BarendCoetzee</name></author>	</entry>

	<entry>
		<id>http://chemeng.up.ac.za/wiki/index.php?title=PMC_Lab&amp;diff=39351</id>
		<title>PMC Lab</title>
		<link rel="alternate" type="text/html" href="http://chemeng.up.ac.za/wiki/index.php?title=PMC_Lab&amp;diff=39351"/>
				<updated>2020-12-03T12:02:43Z</updated>
		
		<summary type="html">&lt;p&gt;BarendCoetzee: /* Rigs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Process Modelling &amp;amp; Control lab currently contains five working rigs. The [[Opto 22]] unit is usually refered to as the sixth rig. Equipment on the rigs (and in the lab) is discussed in the lab equipment section. The lab manual is available [[Media:labmanual.pdf| here]]. New users wanting to set up computers and software should have a look at [[PMC Lab Users|this page]].&lt;br /&gt;
&lt;br /&gt;
== Rigs ==&lt;br /&gt;
For the rigs in the Tribology labs, see [[Tribology|this page]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''[[Acetone Flashing]]'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The acetone flashing rig is a four by four control problem. You can find the documentation [https://drive.google.com/open?id=197S7vxDqJp_X41LAvZFYRfnl9P7wuSnb here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''[[pH Loop]]'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This rig demonstrates pH control. You can find the documentation [https://drive.google.com/open?id=19L2OCUjSNSugsQk4jKBRBbkjbt11HVza here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''[[Temperature Control]]'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The temperature control rig was rebuilt by Ivan and David in 2005. You can find the documentation [https://drive.google.com/open?id=1JbOB6-6fxGMyvYjgvlBAwYgiqd97Yfwq here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''[[Level and Flow]]'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Level and Flow is one of our favourite rigs. You can find the documentation [https://drive.google.com/open?id=1XHBrkO8PCHQKCRljF4-D0qIjiQCUUhpe here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''Distillation Columns'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are two distillation columns in the chemical engineering laboratories;&lt;br /&gt;
* documentation for the [[small distillation column]]  (in the PM&amp;amp;C lab) can be found [https://drive.google.com/open?id=1A2yNQfkMiBDit-BQ9CCWk5oqQ182NL5G here]. &lt;br /&gt;
* information on the column [[big distillation column]] (between the 3rd year labs and the PM&amp;amp;C lab) .&lt;br /&gt;
&amp;lt;big&amp;gt;'''[[Slug Flow]]'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This unit, copied from a setup done by Ingvald Bårdsen under supervision of Espen Storkaas and Heidi Sivertsen at [http://www.ntnu.no/indexe.php NTNU], models severe slugging behaviour in a pipeline/riser system.&lt;br /&gt;
* the original information is hosted at http://www.nt.ntnu.no/users/skoge/diplom/prosjekt03/bardsen/ (this will, if anything, improve your Norwegian)&lt;br /&gt;
* our lab documentation is available [https://drive.google.com/open?id=1cOBXPwDX-QkzQmU1M2OXC6oWKena9lPs here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''[[Dual Fluidised Bed System]]'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This unit, intended to produce bio-oils from woody biomass, is still under construction by Stephen Swart and Prof. Heydenrych. It is intended to be completed by 2012, with the design outlined in [https://drive.google.com/open?id=1aSxt4bjZz08prpvXHOf-uvAIFtDC_elU Swart (2010)]. The documentation can be found [https://drive.google.com/open?id=1QNU4wAVI8ehaXwKxTsR5li5O6n2Jr36s here].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''[[Ball and Plate Control Rig]]'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This rig is a rapid prototyping and test unit for control systems, consisting of the task of stabilisation and reference tracking of an open loop unstable system.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''[[Quadcopter]]'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Implement an Arduino Uno based control system to stabilise the quadcopter in a hover position.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''[[Bioreactor]]'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This rig is part of a joint effort between the Bioreaction Engineering group and the PM&amp;amp;C group. The reactor produces fumaric acid from glucose in a continuous process using &amp;lt;i&amp;gt; Rhizopus oryzae &amp;lt;/i&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''[[Double Inverted Pendulum ]]'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This rig consists of a cart on a linear rail that can move in 1D by using a DC motor. The cart has a free moving arm attached to it, an angle encoder is used to measure the angle between the cart and the first arm. &lt;br /&gt;
A second arm is attached to the end of the first arm, a second angle encoder is used to measure the angle between the first and second arm. Control is implemented on a Raspberry Pi 3, with the aim of balancing the two arms in the vertical position.&lt;br /&gt;
&lt;br /&gt;
== Lab equipment ==&lt;br /&gt;
&lt;br /&gt;
Equipment for the rigs are (should be) documented on their respective pages. Some additional equipment in the PMC lab include;&lt;br /&gt;
* [[PMC testing equipment|Testing equipment]]&lt;br /&gt;
&lt;br /&gt;
== Contact Details ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''[[Burkett Valves]]'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''[[Opto Controls]]'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''[[Mantech Electronics]]'''&amp;lt;/big&amp;gt;&lt;/div&gt;</summary>
		<author><name>BarendCoetzee</name></author>	</entry>

	</feed>