Thanks, Jan. The pic looks as if the photographer had several glasses of Beerenburger before :-)
400 us,
400usec would be quite borderline. 80usec would be phantastic, but IIUC there is still that 300usec of start-up time where nothing executes. So with 20MHz you wouldn't get to 80usec but 320 usec. Or did I understand that wrong?
Even the smallest MSP430 (the F1101) is spec'd at 250usec max for power-on readiness. It would be a white-knuckle ride.
--
Regards, Joerg
http://www.analogconsultants.com/
"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
That's how my '60's ignition system worked, ramp ignition coil up to
5A, then hold at that current (analog, no PWM) until release at firing point.
Trick: Timing (and dwell) was via a ramp. If 5A wasn't reached by firing time, turn-on moved down the ramp, if 5A was held, turn-on moved up the ramp... result _very_ low dissipation ;-)
...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC\'s and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
I love to cook with wine Sometimes I even put it in the food
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC\'s and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
I love to cook with wine Sometimes I even put it in the food
That's the method I'd usually take. And might take on this one as well, but hard to fit onto the real estate.
Except I have the problem that there is no supply rail. So it would need to go from zero to "ready for program execution in less than 100usec (considering that the program start itself will require up to 50usec).
I might look into FPGA.
That's going to be a whole science until itself on this one, more than the usual diode.
--
Regards, Joerg
http://www.analogconsultants.com/
"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
It's the on/off control signal, coming from some beefy wiring closet contactor. So when the relay ain't engaged there is no voltage on this line and it is the only line going there.
--
Regards, Joerg
http://www.analogconsultants.com/
"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
On a sunny day (Fri, 31 Jul 2009 09:53:28 -0700) it happened Joerg wrote in :
Well I looked for 'macro' on the canon, but for some reason could not find the mode. It focussed well ... where ... I dunno where.
about 400 us,
I think there is no RC time involved when using the external osc, it likely just counts clocks, but the proof of the pudding is in the eating of course.
There are a lot of papers on the Microchip site, but it always takes ages to read all that stuff, I am sure they have it in more detail for different PICs too. Will your solenoid be saturated, or the current too high within half a milli second? This is what is needed right, hold full power, and then gradually decrease? Just add some nops to get the correct delay, or do you measure current too? I do the curent trip using the PIC internal comparator in an other project. That internal comparator has a resolution of about 10mV IIRC. There is also a *real* PWM output on some PICs (16F690 for example) that has the PWM switched to zero in hardware in the PIC, when that comparator output goes high. Faster is not possible, that feature is what I use in the SEPIC.
Ok, a bit different here. I must hold it at peak for a while and then at the hold value for another while (this 2nd hold phase being from very brief to essentially hours). I am all for analog but you can't do that analog or you could fry an egg on there after some time.
That's why I bristled at your notion that PWM is for sissies ;-)
--
Regards, Joerg
http://www.analogconsultants.com/
"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
Inductance and resistance of load? On time? Is a flyback diode allowed across the load? Can you heatsink?
Inquiring minds want to know ;-)
...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC\'s and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
I love to cook with wine Sometimes I even put it in the food
Well, then we're back to the simple circuit like a 555 timer..
If you make a PWM generator, the 555 can be powered from the control voltage. Normally, the initial start of the circuit produces a wider width, which can give you the PEAK your looking for, and then once it gets started, it simply lessens the duty cycle. This is due to the way the timer works with it's 1/3 voltage comparators it has.
You may want to experiment a bit with LTspice to see this take place, it does a good job at representing the basic 555 timer.
One could also use a dual timer to have better control over the initial PEAK and then hold values.
I noticed the 555 in there and was wondering how good the model is for situations where you need to see what happens when the supply rail is yanked up hard.
--
Regards, Joerg
http://www.analogconsultants.com/
"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
All in flux at this point. Low tens of mH, about an ohm, total on-time msecs to hours, flyback diode yes but must play tricks for faster ramp-down (nasty ...), cannot heatsink, would melt plastic.
--
Regards, Joerg
http://www.analogconsultants.com/
"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
It is... at least the way you're approaching the problem.
Post your design, when finished. Then I'll post the easy way ;-)
...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC\'s and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
I love to cook with wine Sometimes I even put it in the food
Back in the hay days, we used to have dual coil solenoids, one as the start coil that was in series with a contact on the relay.. It simply open when pulled in, allowing only the low current coil to stay energized. But I'm sure this doesn't fit your application.
Post your design, when finished. Then I'll post the easy way ;-)
...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC\'s and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
I love to cook with wine Sometimes I even put it in the food
I'll have to plough through some of that. Somehow most of my stuff end with "nobody has ever wanted that before" and then I am back to discretes ;-)
second?
Yes, potentially.
Usually on many relays you want to do that rapidly.
Not necessarily. The NOPs or timers aren't the issue, in uC it's the guaranteed time after power application by when they are fully ready. The classic answer there is "don't do that". But sometimes you have to.
the PWM
I always wish I could do SMPS with uC. Then you could have one core design and just modify as needed whenever a new design rolls around the corner. But they are too slow for MHz-class converters.
--
Regards, Joerg
http://www.analogconsultants.com/
"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
It is very handy as the CPU takes care of the soft startup/shutdown, under/over voltage and the other issues, and you can implement whatever control algorithm you like.
It is possible. The PWM runs at MHz speed, with the resolution imporoved by the pre-computed noise shaping pattern. The control loop runs much slower, at 100kHz or so.
Vladimir Vassilevsky DSP and Mixed Signal Design Consultant
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC\'s and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
I love to cook with wine Sometimes I even put it in the food
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.