5 votes

How has the Mars Exploration Rover (MER) has been working for 11 years if it was designed for 90 Sol?

There are 2 main reasons why the MER is still operating long after it's 90 Sol planned lifetime. The first is political, strategic, and can be summarized as 'Under promise, over deliver'. When a PI (...
hauptmech's user avatar
  • 4,425
5 votes
Accepted

Will this pseudocode work as a basis for a flight controller?

The signals to the ESC's using PWM should be sent after the PID algo is done processing the errors. The output calculated from the PID is the PWM value to be sent to the ESC's to actuate the motors in ...
user123456098's user avatar
5 votes

How to further understand the computed torque model controller

One of the most common controllers is a computed-torque controller, also known as the inverse dynamics. The preceding controller is based on the feedback linearization principle which is an approach ...
CroCo's user avatar
  • 2,453
4 votes

Fixed Wing UAV: Do inherently unstable systems desire to be stable for all cases when a closed loop control is implemented on them?

Not all fixed wing aircraft are inherently instable. That feature greatly depends on the center pressure and gravity center designed position. Passenger aircrafts are quite stable, and fight planes ...
galtor's user avatar
  • 470
3 votes

Software real-time of ROS system

You can use Orocos RTT with ROS to achieve some real time performance. In order to use this you need to patch the Linux kernel with a real time patch like PREEMPT_RT or run a real time kernel like ...
Karl Damkjær Hansen's user avatar
3 votes

Will two 8-bit microcontrollers running in parallel perform similarly to a single 16-bit microcontroller?

It really depends on the problem, ideally two 8 bit processors work in parallel while one 16 bit processor works by itself. What if the problem is add three 3bit numbers (a+b+c). Can two 8 bit ...
marshal craft's user avatar
3 votes
Accepted

Industrial Controllers - Why not adaptive control and robust control

In short, adaptive control and robust control (Hinf) are the difficult combination of computationally expensive and complicated to understand. Even if you do an excellent job of implementing one of ...
ryan0270's user avatar
  • 2,804
3 votes

Industrial Controllers - Why not adaptive control and robust control

If I had to guess, I would say that, in an industrial setting, you have a relatively high degree of certainty about the process you're controlling, and/or there isn't much emphasis on transient ...
Chuck's user avatar
  • 16.1k
3 votes

How to deal with current spikes due to fast direction-switching motor commands?

As explained in my answer to What is stall current and free current of motors? when switching direction on a motor, you can end up drawing more than the maximum normal current rating. This can cause ...
Mark Booth's user avatar
  • 4,253
3 votes

How to deal with current spikes due to fast direction-switching motor commands?

I've experienced a similar problem before. For me, the root cause was insufficient battery power. When my motor tried to draw peak power it caused the battery supply bus to brown out. This led to ...
Chuck's user avatar
  • 16.1k
3 votes

Uploading a trained ANN to an ESP32 board

You can printout your weights and bias value from your model in TensorFlow, PyTorch or other deep learning library. If you want to convert your model to ESP32, you must create your own code to define ...
Eko Rudiawan's user avatar
3 votes

Is interacting with registers the only way software and hardware interact?

most people told me about using registers and memory addresses to talk to devices Shortly, that is the correct answer - if you are interested how software will (ultimately) talk to hardware. How ...
virolino's user avatar
  • 301
2 votes

How to control a dc motor

Though most of this has already been answered, there are some other core concepts that are still important for you and future people to know, as well as some mistakes in the other answer despite ...
TeD van Loon's user avatar
2 votes

Alternative to BeagleBone Black for Node.js based remote control project?

In addition to the RPi, as TobiasK suggests, the Arduino boards have: PWM support; USB support is possible with the addition of an inexpensive USB shield, and; node.js is possible, see: Arduino ...
Greenonline's user avatar
  • 1,528
2 votes
Accepted

Remaking an RC transmitter for controlling aircraft

I am, unfortunately, not going to address your entire question but, rather, focus on the frequency used for communications. Why do you say: because the frequency for these are 2.4 GHz By these, do ...
Greenonline's user avatar
  • 1,528
2 votes

Remaking an RC transmitter for controlling aircraft

If you are looking at automatic control, consider using a radio modem instead of RC transmitter/receiver. One example. These are often used on hobby drones for relaying telemetry and control via ...
hauptmech's user avatar
  • 4,425
2 votes

How to interrupt on a data ready trigger when communications to the sensor are interrupt driven?

I'm using the L3GD20H MEMS gyroscope with an Arduino ... How is the sensor's interrupt line intended to be used if the microcontroller can't handle the interrupt from an ISR using an interrupt-...
David Cary's user avatar
  • 4,545
2 votes
Accepted

How to interrupt on a data ready trigger when communications to the sensor are interrupt driven?

I think you have a false assumption somewhere. A very quick scan through the atmel datasheet and arduino twi.c does not show any problems. Why do you think the microcontroller can't handle the ...
hauptmech's user avatar
  • 4,425
2 votes
Accepted

What microcontroller and parts will work for the robot project described bellow?

I would consider using a Raspberry Pi. It certainly has the required memory, already has audio output and enough performance to perform image processing with. You can easily interface a simple 2x16 ...
Bence Kaulics's user avatar
2 votes
Accepted

Need a pushing mechanism

You could use a rack and pinion as a linear actuator. A simple way of knowing when to stop turning the motor could be a contract sensor/button at the upper and lower position. You could also add ...
fibonatic's user avatar
  • 941
2 votes

Neural Nework code or library for MSP430G2553 microcontroller

One page linked says the algorithm is fine for the ATmega328's 2KB of SRAM, another is for the ATmega2560's 8KB of SRAM. Your MSP430G2553 has 0.5KB of RAM, so I think that's the primary reason you ...
Chuck's user avatar
  • 16.1k
2 votes
Accepted

Fixed Wing UAV: Do inherently unstable systems desire to be stable for all cases when a closed loop control is implemented on them?

I'm going to ignore your section on aircraft and attempt to answer the (vague) question, Do inherently unstable systems desire to be stable for all cases when a closed loop control is implemented ...
Chuck's user avatar
  • 16.1k
2 votes
Accepted

Switch activated by a microcontroller

You can use a relay for the switch. Relays typically have 4 pins: 2 are the switch, and the other 2 control the switch. For reed relays, the switch is a small metal reed (normally closed) that makes ...
JSycamore's user avatar
  • 926
2 votes
Accepted

Implementation of the Control of a Quadrotor, as taught in Aerial Robotics in Coursera

If i've understood your question correctly, you are trying to convert the desired set of moments and total force which you calculated from a hypothetical pd controller into a set of forces. This is ...
holmeski's user avatar
  • 1,853
2 votes
Accepted

Motor Controller Configuration

"My question is the following" Is this even a good solution? No, not really. As BendingUnit22 mentions, a motor controller... controls a motor. One motor. The biggest problem I see with this is ...
Chuck's user avatar
  • 16.1k
2 votes
Accepted

is designing a pcb with multiple controllers a good schematic design?

Will it cause hardware problems? Theoretically, no. This is done quite often, so there is no inherent limitation there. If you design the board badly on the other hand, well that's just bad design! ...
Shahbaz's user avatar
  • 3,250
2 votes

what controller do we use in robots that has forward and inverse kinematics?

There are a number of way to integrate code written in Matlab to a number of platforms. For a robot arm, you would most likely need a processor with a floating point unit. Probably the most cost ...
50k4's user avatar
  • 6,662
2 votes
Accepted

Stepper motor control

So you have three different questions here I will answer them separately: Q: How is Mach 3 controlling steppers? Mach 3 normally uses a step and direction interface where it is abusing the parallel ...
Mark Omo's user avatar
  • 1,919
2 votes
Accepted

Will two 8-bit microcontrollers running in parallel perform similarly to a single 16-bit microcontroller?

Your question is really missing critical informations about your setup, so answer cannot catch all possibilities. But if we assume the typical Arduino setup, than the sensors would not use 8 wires, ...
gilhad's user avatar
  • 453
2 votes

Motor Controller Power Supply

Dependings on what type of motor driver you use... If you drive transistors directly from an orange PI output, you need to make sure that the PI can supply enough current to saturate the transistors (...
50k4's user avatar
  • 6,662

Only top scored, non community-wiki answers of a minimum length are eligible