Spelling suggestions: "subject:"eknisk kybernetikk"" "subject:"enteknisk kybernetikk""
41 |
Introducing Time Driven Programming using CSP/occam and WCET EstimatesKorsgaard, Martin January 2007 (has links)
<p>This thesis describes an experimental programming language called TIME/occam. TIME/occam, like occam, is based on Communicating Sequential Processes (CSP), a branch of process algebra that allows computer programs to be modelled and verified mathematically and mechanically. TIME/occam uses synchronous channel communication as the only legal communication between parallel threads, and prohibits shared variables. Simple statements allow programs to specify parallelism directly. The main innovation in TIME/occam is the TIME statement, which allows the deadline and timing requirements of a task to be specified directly in the language. The TIME statement takes a block and a deadline, and tells the scheduler that the block must be completed within the deadline. It also states that the statement following the TIME block is not allowed to start until the timer expires. This can be used with a loop to create periodic tasks. Statements that have no timing requirements will never be executed. Because channel communication is synchronous, channels allow timing requirements to pass on from one task to another dependent task. The use of channels and timing requirements allow execution of a program to be planned some time in advance. It is assumed that execution time estimates can be found on line, although no viable solution for this exists at this time. Planning execution opens up new possibilities for dealing with missed deadlines. A compiler and scheduler have been implemented for the language. The scheduler is not complete; in particular it lacks the re-planning and execution algorithm. The thesis also contains an introduction to real-time and concurrent programming, and describes some of the difficulties that arise from pre-emptive scheduling of dependent threads. There is also a discussion on worst-case execution time analysis and related hardware issues. An example implementation of dining philosophers is presented, and it is explained how such a program is scheduled and executed in TIME/occam. Finally, the limitations of such a concept are discussed. In particular, there is a question whether or not a very heavy scheduler like the TIME/occam scheduler can be used in practice.</p>
|
42 |
Control system for rotifer productionRumí Pastor, Alejandro January 2007 (has links)
<p>Rotifers are used extensively as start feed for many cultured marine fish species and commercial size hatcheries require stable daily supply of high quality rotifers of substantial volumes. This is often done relying on some employees whose knowledge and experience of the process and procedures ensures a stable production. Control techniques have been used in many other industries during many years improving the quality, reliability, predictability and reducing the costs of the production. However, control engineering is not as widely used as in other industries yet and this is the objective of this thesis, study the possibilities of using such techniques in the area of rotifer production at large scale. The benefits of their application will be an increment in the quality and predictability of the production as it becomes less dependant on the experience of people, but on their experience combined with monitoring and control techniques that will maintain the best conditions possible for the cultivation all the time. And also a better use of the resources will be achieved, that leading probably to a reduction of the costs of the production. This thesis makes a study of the biology and cultivation conditions of the rotifers, which is necessary previous to the application of control techniques, and then studies and proposes to different strategies for controlling the growth of the population, one based on the control of the feed density in the cultivation tank and the other based on the egg ratio control. In this work it is mainly done running simulations over a model, but an experiment is also performed for testing the second of the control strategies proposed.</p>
|
43 |
Thrust allocation in semi-submersible rig using model predictive controlJohannessen, Irene January 2007 (has links)
<p>A thrust allocation system is used to determine how the desired forces, computed by a high level control sytem, can be distributed among the thrusters. The main goal of the thrust allocation is to obtain the desired force, but other objectives can also be included. Such secondary goals can be to minimize fuel consumption, keep wear and tear of the thruster to a minimum and avoid overloading the power systems. The thrust allocation should also take forbidden sectors and actuator rate constraints into account. It is essential to safe operation that the allocation system provides a solution, and provides the solution in time. In this thesis MPC (Model predictive control) is suggested as a method to solve the control allocation problem for CyberRig I (a scaled model of a semi-submersible drilling unit). 3 MPC algorithms are simulated in matlab, and the most complete are chosen for on-line implementation. The algorithm is based on an extended thrust formulation, and allows for rotatable thrusters. The cost function penalizes change in thust magnitude and in the azimuth angle. Forbidden sector constraints and rate constrains, both for thrust magnitude and angle, are implemented. It is shown in simulations that the MPC algorithm performs well in comparison with an existing quasi-static method. Its main benefit over the quasi-static method is the ability to handle constraints. The cost of using MPC is increased computational efforts.</p>
|
44 |
Adaptive Observer for Bottomhole Pressure During DrillingStamnes, Øyvind Nistad January 2007 (has links)
<p>To satisfy the increasing petroleum consumption on a world wide basis there is a need to find new resources. As mature fields are drained, reservoir pressure falls, which again leads to tight pressure margins. To reduce down time due to hole stability problems (e.g. kicks) there is a demand for accurate control of the pressure profile in the well. As the pressure profile is not known and depends on unknown factors such as friction loss there is a need to estimate the pressure. In this thesis an observer that adapts to unknown factors, such as friction and density changes, and estimates the bottomhole pressure is presented. Furthermore, a parameter estimator for the bulk modulus in the annulus is developed as an extension to the observer to facilitate for future control design. Both designs are based on a third order model and provide rigid proofs of stability and convergence of the estimated pressure and parameters. The pressure estimate from the observer is shown to converge to the true pressure under reasonable conditions. For parameter estimates to converge to their true values conditions on excitation are presented. The observer and parameter estimator are tested in simulations and also on log data from a well drilled at the Grane field in the North Sea. Simulation results show that the observer performs very well during typical drilling procedures affecting choke valve opening, pump flows and drill string movements. The observer shows promising behavior when tested on log data from the Grane field.</p>
|
45 |
Control of an Underwater Robot System Connected to a Ship by a Slender Marine StructureLi, Wei January 2008 (has links)
<p>This report addresses the stabilization problem of a marine structure (i.e. cable/riser), connected to a surface vessel at one end and to a thruster unit at the other. Here, only motion in the lateral direction has been considered. Stabilization control laws are designed for position and velocity control of the robot system. The passivity of the control system is analyzed, and the closed loop system is shown to be asymptotically stable. Simulation results are presented.</p>
|
46 |
Sliding Mode Control of an Electro-Pneumatic Clutch ActuatorHelgeland, Erlend January 2008 (has links)
<p>This report investigates proportional-derivative (PD) controller and different versions of sliding mode controllers, including a 2-sliding mode controller invented by Arie Levant, applied to a pneumatic actuator on a truck clutch, The purpose of the clutch system is to develop a transmission system consisting of a normal clutch and transmission controlled automatically as an automatic gearbox, called automated manual transmission. The goal is to increase driver comfort and performance, as well as reduce fuel consumption. It is put an effort in implementing an accurate simulation model of the clutch system in Matlab Simulink. The model output includes clutch position, velocity and acceleration, actuator chamber pressure and temperature. The accuracy of the model developed is assumed to be accurate enough for control design. The only measurement available is position measurement, because more sensors increase cost. The measurement noise is low, which enables direct use of the position measurement for control. For the controllers and other parts of the control system that is dependent on velocity, acceleration or pressure estimates, the measurement has to be differentiated. Differentiation of noisy signals is problematic, therefore filters have to be used. In this report a first order low pass filter differentiator is compared to a robust differentiator, which is inspired by higher order sliding modes and developed by Arie Levant. The reason for comparing it with a very simple filter is the simplicity of the first order filter. It is easy to understand and tune. The performance of the robust differentiator is in this application not better than the first order filter. Therefore the first order filter is used in the tests. A simplified version of the simulation model is used in the design of the controllers. A PD controller with limited derivative action is tuned on the basis of a linearized version of the control model. PD controllers have turned out to perform well and is suitable for comparison, because they are independent of measurement filters, well known and have well established design methods. The PD controller is compared to different sliding mode controllers. The most promising sliding mode controller, which is a boundary layer controller with variable boundary layer width, is tested thoroughly on the simulation model. Different tests where the simulation model parameters are altered, are performed to investigate the robustness and performance properties of the controllers. The most promising sliding mode controller were supposed to be tested against the PD controller on a test truck at Kongsberg Automotive. New and faster valves were supposed to be tested in the truck. Unfortunately they did not arrived in time for the test and in addition, the driver circuit of the older and slower valves broke down under the test startup. Therefore the real tests could not be accomplished. A brief overview of the planned field tests is given. The PD controller and sliding mode controller are compared in a view focusing on robustness. It is found that the ideal sliding mode controller is highly robust, but not usable in practise for this application. The developed variable boundary layer sliding mode controller performs better than the PD controller on the simulation model. The reason may be that it is tailored to the reference trajectory used, as opposed to the PD controller which is tuned using Bode diagrams, gain and phase margins. Both controllers possess approximately the same robustness properties.</p>
|
47 |
Autotuned Dynamic Positioning for Marine Surface VesselsAlme, Jon January 2008 (has links)
<p>Dynamic positioning of surface vessels involves control of vessels with changing dynamics, shifting conditions, for different operational tasks. A controller with fixed controller parameters cannot have an optimal performance for all these different cases, and autotuning of the controller would be very valuable. However, dynamic positioning is a complex task, and thus automatic tuning of a dynamic positioning controller is not less so. This thesis does not solve all problems that comes with autotuning of dynamic positioning systems, but it gives an overview of the problem and presents a novel performance index for station keeping. Furthermore, a hybrid controller that can function as a first step in solving the autotuning problem is suggested. The hybrid controller has a fixed controller structure and is a combination of a gain-scheduling controller and an adaptive controller. The adaptive controller is used in an idle (training/learning) mode to populate a look-up table with controller parameters, while the gain-scheduling controller work as a fast-changing dynamical controller, using the controller parameters stored in the look-up table. Each controller parameter set in the look-up table is optimized according to a vessel operational condition, which is defined as a function of environmental conditions (wind, waves, ocean current), vessel draught, and water depth. Optimization of the controller parameters for the different vessel operational conditions is carried out by two different autotuning methods; a genetic algorithm and a rule-based algorithm. Both of these autotuning methods are optimizing the controller gains in a nonlinear PID-controller. The performance index and the two autotuning methods are implemented in Matlab/Simulink, where simulation tests are performed for a 3 DOF mathematical model of a supply vessel. The test scenario includes two different vessel operational conditions, where the controller has been automatically tuned both for minimal position and heading deviation as well as weighting on the use of forces. A comparison of the two autotuning methods is also performed and finally a discussion of the behaviour and tuning of the suggested performance index is carried out.</p>
|
48 |
Leak Detection in Two-Phase Oil and Gas Pipelines by Parameter- and State EstimationHodne, Kjetil January 2008 (has links)
<p>A two-fluid model is used to derive a set of boundary conditions. The conditions are produced numerically, and try to imitate the behavior of output injection by using a linearized version of the model. In order to ensure that the model is hyperbolic, virtual mass terms are included in the momentum equations. An observer is presented, using OLGA, a fluid simulator, as its model. The boundary conditions derived are employed in the observer, and its convergence properties are shown to improve. A set of adaption laws for estimating parameters in a two-phase leak model is derived. Estimation of the leakage mass fraction is sacrifced in order to increase performance and stability. A model, also based on OLGA, is used to simulate a leak, and the observer prove to give good estimates of leak parameters as long as estimates of leakage mass fraction is available. Mass flow fraction seem to be a sufficient estimate. A wide range of scenarios are simulated, inspecting the weaknesses of the observer.</p>
|
49 |
Optimal path following for underactuated marine vesselsNordahl, Håvard January 2008 (has links)
<p>This report presents two optimization problems, where three cost-functions are suggested for each. The goal for the first optimization problem is to find a time variant look-ahead distance which improves the performance of the vessel in terms of the cross-track error, relative to constant look-ahead distances. The second optimization problem is an extension of the first, where a time variant surge velocity reference is also calculated. This results in smaller cross-track errors, at the cost of increased calculation time. It is assumed that the path and the desired surge velocity on the path is supplied by some external source. Existing kappa-exponential control laws are used to track the references resulting from the calculated optimal look-ahead distance and surge velocity reference. The predictions needed to solve the optimization problem are made from a model where the control laws are inserted into the dynamics to simplify the model. The optimization problems are solved for two different approaches. The first approach uses an LTV model for predictions and a QP-solver to solve the optimization problem. The second approach forms predictions of the states by numerical integration of the system dynamics and uses an optimization problem solver for general non-linear functions to solve the optimization problem. The latter approach generally results in longer calculation times but better accuracy, while the first approach yields convexity of the optimization problem. A passive observer is used to estimate the current such that it can be included in the predictions. Four of the six suggested cost-functions lead to significantly improved performance of the vessel in terms of the cross-track error. This is true both in the case of no disturbances and in the presence of a constant irrotational current. That is, the position of the vessel converges faster to the path, the vessel stays closer to the path and has less over-shoot in the cross-track error, for the optimal inputs than for constant inputs. The cost-functions includes weights for tuning where the tuning process is easy for some of the cost-functions. One of the cost-functions where only the optimal look-ahead distance is calculated, results in calculation times shorter than the time between samples, after a few time steps. This is a promising result since the application of MPC to fast-dynamic systems such as marine vessels is desired, but often problematic due to too long calculation times for solving the optimization problem. It takes more time to solve the optimization problem when the optimal surge velocity reference is found in addition to the optimal look-ahead distance.</p>
|
50 |
Collision Avoidance for Unmanned Surface VehiclesLoe, Øivind Aleksander G. January 2008 (has links)
<p>Considerable progress has been achieved in recent years with respect to autonomous vehicles. A good example is the DARPA Grand Challenge, a competition for autonomous ground vehicles. None of the competing vehicles managed to complete the challenge in 2004, but returning in 2005, a total of five vehicles were successful. Effective collision avoidance is a requirement for autonomous navigation, and even though much progress has been done, it still remains an open problem. The focus of this thesis is on the development of a collision avoidance system for unmanned surface vehicles (USVs), which is compliant with the International Regulations for Avoiding Collisions at Sea (COLREGS). The system is based on a modified version of the Dynamic Window algorithm, taking both acceleration and lateral speeds into account for reactive collision avoidance. Path planning is provided by the Rapidly-Exploring Random Tree (RRT) algorithm, extended to use the A* algorithm as a guide, which significantly increases its efficiency. Extensive simulations have been performed in order to determine the value of the modifications done to the original algorithms, as well as the performance of the total control system. Full-scale experiments have also been carried out in an attempt to verify the results from the simulations. The collision avoidance system performed very well during the simulations, finding near-optimal paths through the environment and evading other vessels in a COLREGS-compliant fashion. In the full-scale experiments, important sensor data was erroneous, resulting in reduced avoidance margins. However, the collision avoidance system still kept the controlled vessel safe, showing significant robustness.</p>
|
Page generated in 0.0789 seconds