Prop Chip Minimum Power
Humanoido
Posts: 5,770
What is the minimum operating voltage, in real world conditions - not specs, that the Propeller chip will continue to function? I am wondering if two AA batteries, providing 3-volts DC, will be adequate. With the Basic Stamp circuit, without the watchdog chip, it can function down to only 2-volts! This is a real advantage for numerous applications (but peripherals must be compliant, not 5-volt devices on the same supply). Thanks sincerely for your reply.
humanoido
humanoido
Comments
Perhaps, if I had run my program with a lower clock speed, it could have worked.
So, using two fresh batteries should work, but I guess using two rechargeble batteries (2.4V) won't.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
This is exactly the configuration i tried, but it didn't work for my chip.
I used the 5 MHz crystal and 16x PLL.
The voltage setting on my PS is a bit coarse, so the closest I could get was 2.72 V at the Propeller supply pins. It won't work at that voltage. My DVM hasn't been calibrated, but it can't be far out, and the PS shows 2.7 V. 2.8 V is fine. Perhaps the chip wasn't properly characterised for low-voltage operation. although I find that difficult to believe.
Anyway, 2.8 V is fine for two AA cells, although they obviously won't last as long as if the voltage was according to the data sheet.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Post Edited (Leon) : 11/27/2009 5:34:59 PM GMT
The Valid Expression is RCSLOW and the CLK Register Value is 0_0_0_00_001. In Very Low Power Mode, the video signal and BASIC screen will not function. However, pins function normally and LED indicators along with other sensors (LCD screen) are possible.
humanoido
I believe all those voltage/speed tests were performed with the Propeller being fed a 1/16-frequency clock signal from a function generator. The Propeller then used its PLL to wind it up 16x. So, the PLL was in use at all those voltages.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
Post Edited (Chip Gracey (Parallax)) : 11/27/2009 9:30:30 PM GMT
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Post Edited (Leon) : 11/27/2009 11:10:26 PM GMT
Leon: what results did you have?
humanoido
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
I'm currently looking for some subminiature toggle switches that plug
into pcbs or solderless breadboards. It may take a special trip by
subway just to get to the parts store to find these. The pushbuttons
seem to fit nice though.
humanoido
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
humanoido
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
humanoido
If You will test Propeller for power/Voltage requirements .... You must write any Program that RUN all COG's with use of WAIT instructions that RUN in diferent time rates. That give You more reliable requirements on that
Regards
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
How about a CR123 lithium primary cell? These are nominally 3.0V, with new ones starting out at about 3.15V (unloaded). They have excellent shelf life, high energy density, and a flat discharge curve with a knee at the end. What is not certain is whether the flat portion of the discharge curve will remain above 2.7V. This will be a function of the current draw and the battery's internal resistance. The only curves I've seen online were for a 500mA or higher load, and they hovered around 2.5 - 2.6V before crapping out. But 500mA is likely a lot more than what you're contemplating, so it may be worth an experiment.
-Phil
Solderless breadboards are picky, quick, and dirty.
But the speed at which one can test designs is what makes it all worth the breadboard issues.
Most of my issues with my designs are due to the fact that my breadboard is becoming worn out.
Not to mention that high frequency signals don't like the pressure based electrical connection.
I have a jameco breadboard which lets me take the back off and pull out all the pins to check them.
Most of my connection issues are because of stuff getting lodged into the holes.
But its time consuming because these breadboards have hundreds of pins to pull out.
Post Edited (Clock Loop) : 11/30/2009 1:11:20 AM GMT
humanoido
Additional details are provided here
www.parallax.com/Portals/0/Downloads/docs/prod/robo/27313-6%20PenguinDoc-v1.3.pdf
humanoido
Post Edited (humanoido) : 11/30/2009 9:13:10 AM GMT
You are correct, it's certainly not 500ma current draw for the Propeller chip. The loaded circuit (chip + EEPROM + 2 regulators + LED + Prop Plug) draws only 30ma in a typical test setup, and with mainly the chip run directly on batteries the current drops significantly to just a few ma.
Since apparently the condition of the remaining cogs may affect this, I'll wait to hear from Sapieha or someone who can offer additional information about this process and spell out some code to take this into consideration for these tests. Maybe there is a simple code to shut off all cogs but one and keep the demo running?
humanoido
1.First One part that RUN all COG's fully loaded. That can give You total cuarent consumption.
2.Next one program that randomly stsrt/stop COG's with WAIT instructions
Next One program to start/staop COG's From one master in same time them RUN stage 2.
That program must start/stop COG's in randomly fashion.
As Propeller are Variable Curent device ..(POWER consupmtion are function of YOURS program + I/O pins usage).. You must in that program meet that needs.
At last RUN YOURS aplication program that You will use on Propeller (That only in that case YOU can have correct POWER masurements that needs in YOURS aplication.)
Regards
ChJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
humanoido
With one LED, it will do 1.7 volts. I would guess that if all the LEDs were removed, the chip could do internal calculations at significantly less voltage and current although there would be no practical way to extract the results until the power was increased.
The latest test shows that internally, the code continues to correctly run at extremely low voltage and current, because, dialing up the power brings back the program and it is still correctly executing. Using this technique, it maintains correct program functioning at a very small fractional volt.
(for all tests, usb connections must be removed)
There are numerous uses for this technique. I consider it to be a significant breakthrough, at least for my projects. I hope others can confirm the results after the project details are posted.
This could serve well in a system to preserve battery power for months, perhaps several years, up to the life of the battery, as well as other new applications. For example, in a robot, the core processor can continue to function, calculate, process data, at almost no power consumption, then bring up its own battery power to use some peripheral, say vision to look around, collect data, and then go back into low power mode to process the results.
I know there are sleep modes and nap modes in the BASIC Stamp, for example, that can induce lower power consumption, but these modes do not permit various calculations to be performed when sleeping or napping.
However, this technique works just as well in the BASIC Stamp as described initially for the BASIC Stamp SEED project and written up in the Handbook of Basic Stamp Supercomputing and posted on the Forum.
humanoido
Post Edited (humanoido) : 12/3/2009 2:02:26 AM GMT
1) Were you running an external crystal and what speed?
2) What was the PLL setting?
3) How many cogs were running?
Sharing the code might answer many of the above questions also.
Thanks!
To answer your questions, one cog, crystal not used and therefore PLL disengaged. The project will soon have details, code and circuit diagrams made available for many of the effects described in this thread.
humanoido
http://forums.parallax.com/showthread.php?p=865361
So by turning off cogs or making wait states, it's possible to do some
fine tuning on power consumption. Any comments?
humanoido
Have you considered a programmatic method of raising and lowering the voltage of the propeller for certain events? An example of such an event that may need higher voltage would be an EEPROM write should you be doing remote datalogging, say logging temperature and humidity every 5 minutes over a period of a month or two. Some non-propeller circuitry could also be powered off by some of the propeller's I/O (the I/O would be connected to the base of a npn transistor [noparse][[/noparse]base resistor necessary] with emitter to ground + collector to load , not as direct power sources), the possibilities are endless!
I hazarded a lengthy comment to the I/O issue in the thread provided that suggests a potential programming solution.
Post Edited (Miner_with_a_PIC) : 12/17/2009 4:37:04 PM GMT
Instead of using hardware for the low power approach, it looks like there are options for a software method. Anyone care to elaborate and demonstrate a small piece of code to show how to accomplish several low power modes in SPIN? I think there's more than one way to do this.
Just got through running a couple of experiments with a propeller and low voltage:
Program: One cog toggling three pin states
RCFAST >> Scoped outputs stopped toggling @ around 1.05V and restarted at ~ 1.1V
The output toggle rate of one of the pins dropped from 2.2KHz down to 260 HZ, the drop began at 1.6V (I am assuming the RC circuit has a particular trigger level and is the cause of this change in clock rate)
RCSLOW >> Scoped outputs stopped toggling @ around 1.05V and restarted at ~ 1.1V
The output toggle rate was less affected perhaps a factor of 2 drop in output toggle rate. It is likely that the RCFAST is derived from a PLL output from a common RC, the PLL is likely culprit of the 9X change in the RCFAST case above.
I suspect 1V is around the Vt for this part's MOSFETs, a technological rather than design limit. Reboot at 1.1V was only possible if the propeller's RAM contents were still viable as all attempts to reboot from the EEPROM after power cycling were only possible @ ~ 1.65V (parallax 32KB EEPROM, the LC version). Dropping the voltage below 0.4V caused loss of RAM contents. The propeller is amazingly tolerant of low voltages!
Follow-on >>
The frequency shift issue prompted more experimentation with a crystal rather than the internal RC....the findings are even more surprising...
XTAL1 >> Using a 3.6 MHz crystal, the pin toggling stopped at 0.7V but all attempts to resume execution by raising voltage alone failed, either the RAM contents were lost or the XTAL failed to restart (more probable that it was the XTAL). The above 1V Vt assumption seems to be false.
Frequency shifted at around 0.95 V and was quite distinct.
XTAL2 >> same as above except the crystal would not oscillate unless the voltage was dropped below 1.8V, best to use the correct settings.
Activating the PLL at any value (1X...16X) causes the pins to stop toggling at around 1.7V with sporadic restarts when the voltage was raised.
The optimum solution seems to be a low frequency (I didn't try any high frequency ones) external crystal and no PLL with performance all the way down to 1V.
Post Edited (Miner_with_a_PIC) : 12/18/2009 10:51:57 PM GMT