August 2018 Updates


PID Tuner Tool Released In NinjaCalc

NinjaCalc has a new tool, a PID tuner! This PID tuner tool can be used to simulate/tune a PID controller, which is commonly used in industry to control things such as temperature, flow rates, speeds and all sorts of other things!

This PID tuner tool comes with two predefined processes that you can simulate/tune, a mass/spring/damper and R/C jet engine process. It also allows you to configure you own process to simulate/tune, via an editable JavaScript object.

via GIPHY

Once you click the “Start” button, the PID tuner tool simulates the process and shows you the response of the process and PID controller. You can dynamically change the P, I and D terms of the PID controller while the simulation is running and see how this affects the response of the controller.

The PID tuner tool can be found here.

More information on PID Controllers can be found on the PID Control page.


March 2018 Updates


February 2018 Updates

  • Updates to the UART and RS-232 communication protocol pages.

  • New Cross Product page under Mathematics->Geometry.

  • Updated the Fixed Point Mathematics page with more information of multiplication, division and modulo.

  • NinjaCalc got a new ‘Two Coordinate Geodesics’ calculator. This has it’s own post here.

  • Added information on “unused parameter” compiler warnings to the Qt page.


Geodesic Calculator Added To NinjaCalc

NinjaCalc has a new calculator, a “Two Coordinate Geodesics” calculator that can help you analyse properties of two coordinates/points on the earth’s surface (defined by latitude/longitude).

Given two points in latitude/longitude form (both degrees and radians supported), the calculator can give you the great circle (shortest) distance between the two points, and the initial/final bearings. This calculator can also find an intermediate coordinate/point between the two coordinates, given a fractional amount (such as 0.5). All of these properties are calculated using the Haversine formula.

A screenshot of the 'Two Coordinate Geodesics' calculator in NinjaCalc.

A screenshot of the 'Two Coordinate Geodesics' calculator in NinjaCalc.

All these properties are shown on a interactive model of the earth in 3D (the sphere can be rotated).

This calculator can be found in the NinjaCalc web app at http://ninja-calc.mbedded.ninja/.