Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #510436

Re: low cost challenge

From piglet <erichpwagner@hotmail.com>
Newsgroups sci.electronics.design
Subject Re: low cost challenge
Date 2018-07-09 09:40 +0100
Organization A noiseless patient Spider
Message-ID <phv719$6bq$1@dont-email.me> (permalink)
References <5ec7c62a-c296-4e4c-9450-de5e6f4f62e4@googlegroups.com> <7083kd9sfm8v9ui9kgc0sf9ek26jpbepam@4ax.com> <CWh0D.211175$pK.203725@fx13.iad> <Sbi0D.194389$%s2.116779@fx18.iad>

Show all headers | View raw


On 08/07/2018 07:30, bitrex wrote:
> On 07/08/2018 02:11 AM, bitrex wrote:
>> On 07/08/2018 01:43 AM, Jeff Liebermann wrote:
>>> On Sat, 7 Jul 2018 18:26:43 -0700 (PDT), RichD
>>> <r_delaney2001@yahoo.com> wrote:
>>>
>>>> I have a bike light, with a single push button momentary
>>>> switch.  It toggles from off to high beam to low beam to
>>>> strobe, then off.
>>>>
>>>> I figure the design spec is purely manufacturing cost;
>>>> no performance, precision, etc.
>>>>
>>>> What's the solution?  Notice that it has 4 states, which
>>>> implies some kind of memory.   IC, or discrete parts?
>>>> Considering device and assembly costs.  And an oscillator,
>>>> and lamp driver.
>>>>
>>>> Powered by two AA batteries.
>>>
>>> What you probably have is a 1 watt LED "flashlight" with an AMC7135
>>> linear current source and a PIC controller to provide PWM (pulse width
>>> modulation) for brightness and flashing control.  The minimum for a
>>> light is one AMC7135 per LED, and a simple on/off switch in series
>>> with the batteries.  A little better is one AMC7135 per LED, and some
>>> kind of PIC or Arduino controller operated by a push button.  Since
>>> the PIC or Arduino is programmable, you can make the flashlight do
>>> weird things:
>>> <https://www.sparkfun.com/news/1196>
>>> <https://www.kickstarter.com/projects/christian-carlberg/hexbright-an-open-source-light>
>>>
>>> (Note: Hexbright is closed but you can roll your own).
>>>
>>> This board controls 4 LED's.
>>> <http://www.dankung.com/Gcontent/4groups-amc71358-flashlight-circuit-board-anti-reverse_2142>
>>>
>>>
>>> More on the AMC7135:
>>> <https://www.google.com/search?tbm=isch&q=AMC7135>
>>>
>>> More info under Candle Power Forums:
>>> <https://www.candlepowerforums.com/vb/forum.php>
>>> and Budget Light Forums:
>>> <http://budgetlightforum.com/forum>
>>>
>>> When you are able to deliver a clear description of what you are
>>> planning to design, perhaps I can offer some better suggestions.
>>>
>>
>>
>> Use an 8 pin AVR 8 bit with a multichannel differential ADC along with
>> a low input voltage boost converter with a shutdown pin like the
>> TPS6120. The AVR can high-side current sense its own input supply
>> current with just a sense resistor in the supply bus cuz the ADC input
>> channels can operate up to 0.6 volts over the supply voltage. It can
>> also measure its own supply voltage.
>>
>> With that info you can just hang LEDs off the PWM output pins and
>> drive them "constant voltage" (with high frequency PWM) using one free
>> PWM channel to modulate the shutdown pin to regulate power into the
>> IC. The TPS6120 will operate down to 0.5 volts on its supply input;
>> drain those AAs for everything they have.
>>
>> You could implement some algorithm to match the circuit impedance to
>> the battery impedance to reduce output power gracefully as the
>> batteries are depleted.
>
> Even the boost converter might be redundant, might be able to get away
> with just an inductor, didoe, FET, and another pin. Nowadays 50 cent uPs
> often have so much onboard hardware, ADCs, band gaps, dead-time
> generators, temperature sensors, PWM channels, etc. that in non-critical
> applications using any other ICs at all should be given the Muntz side-eye.

Yeah - don't need no fancy schmancy boost converter chip with current 
regulation to within 1% just to light a frigg'n LED

Get the cheapest 6pin sot23 microcontroller AVR Tiny or PIC10F or 
similar add a high current switch transistor, inductor and if can afford 
it a supply bypass capacitor too. 4 parts (excluding LED and button)

Transistor charges inductor during ON time, LEDs connected across 
inductor, light during the OFF time flyback. Regulate peak current by 
timing the ON time. Most LEDs can tolerate 5V reverse bias so the 3V 
reverse bias seen during inductor charging on time is not a problem.

If micro can measure its supply voltage then it can vary on time to 
compensate for ageing cells but that is gilding. Many users would accept 
light dropping as cells fade. Cheap and cheerful.

piglet

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

low cost challenge RichD <r_delaney2001@yahoo.com> - 2018-07-07 18:26 -0700
  Re: low cost challenge bitrex <user@example.net> - 2018-07-07 22:07 -0400
    Re: low cost challenge bitrex <user@example.net> - 2018-07-07 22:15 -0400
  Re: low cost challenge krw@notreal.com - 2018-07-07 22:17 -0400
  Re: low cost challenge Jeff Liebermann <jeffl@cruzio.com> - 2018-07-07 22:43 -0700
    Re: low cost challenge bitrex <user@example.net> - 2018-07-08 02:11 -0400
      Re: low cost challenge bitrex <user@example.net> - 2018-07-08 02:30 -0400
        Re: low cost challenge Jeff Liebermann <jeffl@cruzio.com> - 2018-07-08 11:39 -0700
          Re: low cost challenge bitrex <user@example.net> - 2018-07-08 17:12 -0400
          Re: low cost challenge krw@notreal.com - 2018-07-08 18:46 -0400
            Re: low cost challenge Jeff Liebermann <jeffl@cruzio.com> - 2018-07-09 00:49 -0700
              Re: low cost challenge krw@notreal.com - 2018-07-09 23:04 -0400
        Re: low cost challenge piglet <erichpwagner@hotmail.com> - 2018-07-09 09:40 +0100
  Re: low cost challenge tabbypurr@gmail.com - 2018-07-08 00:39 -0700
    Re: low cost challenge bitrex <user@example.net> - 2018-07-08 09:27 -0400
      Re: low cost challenge tabbypurr@gmail.com - 2018-07-09 00:43 -0700
  Re: low cost challenge Clive Arthur <cliveta@nowaytoday.co.uk> - 2018-07-08 15:39 +0100
    Re: low cost challenge Cursitor Doom <curd@notformail.com> - 2018-07-08 14:51 +0000
      Re: low cost challenge bitrex <user@example.net> - 2018-07-08 11:01 -0400
        Re: low cost challenge Cursitor Doom <curd@notformail.com> - 2018-07-08 15:49 +0000
          Re: low cost challenge bitrex <user@example.net> - 2018-07-08 11:52 -0400
            Re: low cost challenge Cursitor Doom <curd@notformail.com> - 2018-07-08 17:36 +0000
              Re: low cost challenge bitrex <user@example.net> - 2018-07-08 13:56 -0400
                Re: low cost challenge Jeff Liebermann <jeffl@cruzio.com> - 2018-07-08 12:20 -0700
                Re: low cost challenge Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-07-08 21:00 +0100
                Re: low cost challenge Jeff Liebermann <jeffl@cruzio.com> - 2018-07-08 14:13 -0700
    Re: low cost challenge Jeff Liebermann <jeffl@cruzio.com> - 2018-07-08 10:53 -0700
      Re: low cost challenge Jeff Liebermann <jeffl@cruzio.com> - 2018-07-08 13:43 -0700
        Re: low cost challenge Clive Arthur <cliveta@nowaytoday.co.uk> - 2018-07-09 09:03 +0100
  Re: low cost challenge Winfield Hill <hill@rowland.harvard.edu> - 2018-07-08 09:26 -0700
  Re: low cost challenge bitrex <user@example.net> - 2018-07-08 14:14 -0400
    Re: low cost challenge Jeff Liebermann <jeffl@cruzio.com> - 2018-07-08 12:10 -0700
      Re: low cost challenge "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-07-09 00:08 -0500
        Re: low cost challenge bitrex <user@example.net> - 2018-07-09 01:39 -0400
      Re: low cost challenge bitrex <user@example.net> - 2018-07-09 15:06 -0400
        Re: low cost challenge bitrex <user@example.net> - 2018-07-09 15:08 -0400
        Re: low cost challenge Jeff Liebermann <jeffl@cruzio.com> - 2018-07-09 17:01 -0700
          Re: low cost challenge bitrex <user@example.net> - 2018-07-09 20:24 -0400
  Re: low cost challenge speff <spehro@gmail.com> - 2018-07-10 11:34 -0700
    Re: low cost challenge John Larkin <jjlarkin@highlandtechnology.com> - 2018-07-10 21:47 -0700
      Re: low cost challenge speff <spehro@gmail.com> - 2018-07-17 13:30 -0700
        Re: low cost challenge John Larkin <jjlarkin@highland_snip_technology.com> - 2018-07-17 13:59 -0700
          Re: low cost challenge speff <spehro@gmail.com> - 2018-07-19 07:53 -0700

csiph-web