An idea in an earlier blog is to make a pwm interface that can accept 5, 12 and 24V pulse streams. That one uses a bunch of resistors and has three separate inputs. Below that, wise commenter DB suggested a different approach, using a constant current sink: Update: In a previous version of this blog, I made a mess of ...
Tag Archives: PWM
PWM-locked-loop seems to work this time (in LTspice, at least)
I have had an on-going mission to design a universal-ish pcb that will convert a PWM waveform at one frequency into to another frequency while retaining the mark-space ratio. The obvious answer is a single few-pin microcontroller, and this is clearly possible, but getting it to work at the edge-cases is non-trivial if good resolution is the aim – to ...
Sponsored Content: AVR® DB and AVR® DD families of microcontrollers
Designed for work in circuits with varied voltage levels. Until recently, a very common problem faced by electronic circuit designers was the difference in supply voltage standards between microcontrollers (e.g. 3.3 V) and peripheral ICs (e.g. 5 V). In order for them to operate together, the use of additional voltage translators was required, which made the device more complicated and ...
Updated: Creating an accurate low voltage using PWM
Back in October I was pondering the creation of accurate micro-voltages from a microcontroller. What makes this so difficult is the voltage offset created by current in the microcontroller bond wire, amongst other things. Update – see ‘filtering’ below Anyway, I finally got around to trying it, and measuring the voltages. Pulses came from an Arduino Duemilanove, programmed to make ...
Arduino ATtiny PLL excitement and disappointment
Being new to Arduino, but having one project under my belt, I though I would try another. I wanted to play with a high-speed PWM – of which the 8pin ATtiny85 (or ..25 or ..45 – different flash only) has one – provide by a x8 phase-locked loop that can be linked to the internal 8MHz clock providing a 64MHz ...
Not creating an accurate low voltage using PWM
Trying to create controllable low voltages – μVs – using a microcontroller is tricky. Even is only relative, rather than absolute, accuracy is required. The issue is working near oV – frequently even proper single-rail DACs get very soft near 0V, or have large dc offsets. UPDATE: some promising results In a moment of inspiration, I though I had the ...
An AVR PWM subtlety
Having advocated Arduinos for prototype PWM signal generation, I have just discovered a subtlety that might trip up the unwary (amongst which I count myself). The original idea was not to use Arduino with the Arduino programming language, which resilts in rather slow PWM outputs, but to use Arduino hardware and assembler-code the PWM bit which can yield waveforms at hundreds ...
PWM motor control has precision for surgical drills
Motor control algorithm which detects the rotor position at standstill, with different pulse width modulation control allows the motor to be controlled independently of the applied mechanical load, writes Richard Wilson Miniature drills are used in medical applications but they have very particular requirements. They must not produce carbon dust or electrical sparks. But more importantly they need to be ...
Want a fast PWM quickly? – consider Arduino
I have been discussing control algorithms for a power supply and idly looking for some easy hardware on which to try the technique – hardware small enough to build into a prototype. See also: An AVR PWM subtlety. My default tends to be to 8bit PICs, but someone in the discussion pointed to the ATtiny25/45/85 family as a source of ...
Vishay aims at notebooks with mosfet power stages
Vishay has introduced 30 and 40A mosfet power stages in 4.5×3.5 and 5x5mm packages respectively. Intended for notebook PCs, they accept PWM inputs and combine switching mosfets, gate drivers and a bootstrap Schottky diode. On-board high and low-side mosfets are GenIV TrenchFETs, the driver IC is supports 5V tri-state PWM logic, and 45 % footprint saving is claimed over discrete solutions. “The devices’ high power density ...