• Stars
    star
    693
  • Rank 65,262 (Top 2 %)
  • Language
    C
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PID controller implementation written in C.

PID

PID controller implementation written in C.

Note on 'derivative-on-measurement': Since the 'error signal' effectively going into the differentiator does not depend on the setpoint: e[n] = 0 - measurement, and therefore (e[n] - e[n - 1]) = (0 - measurement) - (0 - prevMeasurement) = -Kd * (measurement - prevMeasurement). (Note the minus sign compared to derivative-on-error!) I've included the minus sign in the code, so gains will have the effect as normal.

More Repositories

1

HadesFCS

Complete flight control system designed from scratch. Hardware designed with KiCad.
C
738
star
2

LittleBrain-STM32F4-Sensorboard

STM32F4-based PCB interfacing with a variety of sensors.
C
287
star
3

Attitude-Estimation

MatLAB and Python implementations for 6-DOF IMU attitude estimation using Kalman Filters, Complementary Filters, etc.
Python
196
star
4

STRF-Kicad

STM32-based RF-to-USB dongle..
195
star
5

STM32F4-Reference-PCB

KiCad + STM32F4 + USB + Buck converter video reference/test PCB.
148
star
6

AltiumDesigner-Libraries

Personal schematic symbol and footprint libraries for Altium Designer.
135
star
7

FilterLib

Collection of digital filters written in C++.
C++
89
star
8

LeDSP-Audio-SoM

STM32H7-based audio-processing system-on-module.
84
star
9

EKF-Quaternion-Attitude-Estimation

Quaternion-Based Extended Kalman Filter for Fixed-Wing UAV Attitude Estimation
C
78
star
10

STM32F1-Breakout-Board

USB-powered STM32F1-based breakout board.
63
star
11

BananaSchplit

Single rail DC (<12V) to split rail DC supply (+/-12V and +5V).
59
star
12

ControlSystemDesign-Tutorial

Control system design - from theory to practical implementation. Code and files to supplement video series.
ASP
42
star
13

PiCNN

Single-header, lightweight convolutional neural network library written in C++ for Raspberry Pis.
C++
42
star
14

LittleBrainPlusPlus

Updated LittleBrain board
40
star
15

BluePhil

STM32-based development board with various sensors.
40
star
16

ESP32-USB-Dongle

ESP32-C3-based USB dongle with PCB trace antenna.
34
star
17

EMI_TestBoard

Test PCB for switching regulator layout and traces.
C
29
star
18

MPU6050_Breakout

21
star
19

BananaSchplit-MiniUSBC

Tiny USB-C PD split-rail power supply.
HTML
21
star
20

Airspeed_SensorBoard

15
star
21

pcb-design-checklist

Generic checklist for PCB designs.
15
star
22

ClassD-DemoBoard

2x15W Class D Amplifier
12
star
23

PModlet

PMOD PCB with USB-to-UART converter and IMU (MPU-6050, I2C) for FPGAs.
12
star
24

GBS-Boost

Guitar boost pedal (0dB to 20dB) - discrete design.
12
star
25

pms67.github.io

HTML
1
star