Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.546.278 Times

16-bits fixed-point PID implementations in C 1.0

  Date Added: July 14, 2013  |  Visits: 231

16-bits fixed-point PID implementations in C

Report Broken Link
Printer Friendly Version


Product Homepage
Download (21 downloads)



The effect of fixed-point arithmetic in 16-bits PID controller C routineson the closed-loop precision is shown in this Simulink model.Two Simulink blocks that implement single and doubleprecision 16-bits PID C routines are generated with the LCT. The C sourcesare supplied for user modifications if required.Controllers work with 16-bits data and coefficients word lengths. Coefficientsand data fixed-point numbers have respectively 12-bits and 10-bits fractionnal part.For a reference step excitation, you will see that the permanent errors forthe fixed-point pids do not equal zero. Without rounding (look inside modelfor rounding mode switching), the single precision pid exibits an error about8 data lsb when the double precision one is just around 2 lsb.After changing the rounding mode to "nearest", the single precisionimplementation error falls to 3 lsb !Look inside the code sources and you will see that the differences are i) theinternal controller state is stored in double precision and ii) the downcasts(right shifts) are not done at the same point in the fixed-point computation.

Requirements: No special requirements
Platforms: Matlab
Keyword: About8 Double Downcastsright Equal Error Errors Excitation Exibits Forthe Inside Lsbafter Modelfor Permanent Rounding Shifts State Stored Switching
Users rating: 0/10

License: Freeware Size: 20.48 KB
USER REVIEWS
More Reviews or Write Review


16-BITS FIXED-POINT PID IMPLEMENTATIONS IN C RELATED
Development Tools  -  Page Guard Pro for HTML Tools 1.1
If there is an error on your web page like file not found or failed script, the Page Guard will come in action. It replaces errors and logs them.Features:- Script replaces the nasty looking error pages.- Explain the web error to the visitor in a...
20.48 KB  
Networking  -  Guest Blogger 1.5.2
This plugin was intended for developers who need to view errors generated by PHP. It sets an error handling function, but makes no attempt to alter other default conditions and reporting conditions within PHP. It is capable of reporting any error...
153.6 KB  
File Utilities  -  XML Explorer 4.0.5
XML Explorer is an extremely fast, lightweight XML file viewer. It can handle extremely large XML files. It has been tested on files as big as 300MB. It allows fast viewing and exploration, copying of formatted XML data, evaluation of XPath...
1.1 MB  
File Utilities  -  XML Explorer Portable 4.0.5
XML Explorer is an extremely fast, lightweight XML file viewer. It can handle extremely large XML files. It has been tested on files as big as 300MB. It allows fast viewing and exploration, copying of formatted XML data, evaluation of XPath...
1.1 MB  
Development Editors  -  Torino Studio 1.0.0.12876
Torino Studio is a Windows-based integrated development environment (IDE) for Torino. It is derived from the QuickSharp .NET development environment and allows Torino applications to be developed in a convenient, multi-window editing environment....
4.8 MB  
Libraries  -  Lingua::EN::Inflect 1.89
Lingua::EN::Inflect is a Perl module that can convert singular to plural. Select "a" or "an". SYNOPSIS use Lingua::EN::Inflect qw ( PL PL_N PL_V PL_ADJ NO NUM PL_eq PL_N_eq PL_V_eq PL_ADJ_eq A AN PART_PRES ORD NUMWORDS inflect classical...
40.96 KB  
Libraries  -  libiriverdb 1.5
libiriverdb was created to maintain the database of metadata on iRiver H300 and H100 series Jukeboxes. It consists of a shared library along with a small example utility to demonstrate how it works. libiriverdb is envisaged that the library is...
348.16 KB  
Communication  -  adcarray 1.0
An ADCARRAY object usually contains a memmapfile object, together with a scale and offset to convert the values stored on disc (and pointed to by the memmapfile object) to real world numbers which are returned as double precision. These can also...
10 KB  
Development Tools  -  sendTxt.exe 1.0
There's nothing worse that setting up an hour or two of number-crunching, heading out for a long lunch, and coming back to find that your script crashed a few minutes after you left.Wouldn't it be great if you could get MATLAB to send a text...
10 KB  
Networking  -  Link Juice Keeper 1.2.2
As you probably know, incoming links play important role in ranking well in Google and other search engines. Therefore you should assure that every incoming link leads to one of pages on your blog. This may be a challenge, because World Wide Web...
10 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB  
Development Tools  -  PHP Docbook Displayer for Scripts 1.0b
PHP Docbook Displayer provides XSL and CSS stylesheets, and PHP scripts, to generate easily and dynamically websites from Docbook files.It aims at simplifying to the max the web publication process : simply drop the docbook file under the site root !
102.4 KB  
Development Tools  -  WP Translate 1.0
This simple language translation plugin allows your users to quickly translate your webpages, through a widget on your blog.You have the option to select the title of the Widget, which will be displayed above the language translation form. Users...
10 KB  
Development Tools  -  save2word 1.0
A simple function to copy figure from MATLAB into MS Word automatically. It is a modification of saveppt (a function in File exchange) that save figures to MS Powerpoint.
10 KB