[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/diy/ - Do It Yourself

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: ghz.png (256 KB, 650x439)
256 KB
256 KB PNG
Thread was cured: >>2933537

>I'm new to electronics. Where to get started?
It is an art/science of applying principles to requirements.
Find problem, learn principles, design and verify solution, build, test, post results, repeat.
Read the datasheet.

>OP source:
https://github.com/74HC14/ohmOP
bake at page 10, post in old thread

>Comprehensive list of electronics resources:
https://github.com/kitspace/awesome-electronics

>Project ideas:
https://hackaday.io
https://instructables.com/tag/type-id/category-technology/
https://adafruit.com
https://makezine.com/category/electronics/

>Books:
https://libgen.is/

>Principles (by increasing skill level):
Mims III, Getting Started in Electronics
Geier, How to Diagnose & Fix Everything Electronic
Kybett & Boysen, All New Electronics Self-Teaching Guide
Scherz & Monk, Practical Electronics for Inventors
Horowitz and Hill, The Art of Electronics

>Recommended software tools:
KiCAD 6+
Circuitmaker
Logisim Evolution

>Recommended Components/equipment:
Octopart
LCSC
eBay/AliExpress sellers, for component assortments/sample kits (caveat emptor)
Local independent electronics distributors
ladyada.net/library/procure/hobbyist.html

>Most relevant YouTube channels:
EEVblog
W2AEW
Moritz Klein

>microcontroller specific problems?
>>>/diy/mcg
>I have junk, what do?
Shitcan it
>consumer product support or PC building?
>>>/g/
>household/premises wiring?
More rules-driven than engineering, try /qtddtot/ or sparky general first
>antigravity and/or overunity?
Go away
>>
>>2939201
I did choose the cap route. I mean that might change but you remember how the general design is:
Portion energy in the inductor.
Force that into relatively small caps.
Discharge via gap.
So now the gap is switched on low side because professor suggested that and it's probably stupid not to experiment when they want to said that.
Since under normal operation the gap is open except for when it discharges and the low side switch is closed when we expect discharges the caps parallel to switch 2 are inconsequential.
At the same time, when the gap is shorted by accident:
The ratio of the low side and high side caps now divide the output voltage. I only need 1uF or so to get from 1kV to 100V and so on. When charging the cap charge is discharged again.
This means I get to circumvent the whole problem where without feedback I need a dead time to reset current to 0 and avoid passing ever escalating current back and forth between the two switches, in the case of a short on output. And that would mean I have to switch fully off at some point and in case of a short it will be under load and create transients. I'll still be doing that. But fast as the extra capacitance connected by the fault condition saves me.
I decided against TVS quickly because it too, would, like the two switches, be able to dissipate total input power on its own. And thats bulky and pricey.
>>
File: pending.png (7 KB, 400x400)
7 KB
7 KB PNG
>>2939204
>The ratio of the low side and high side caps now divide the output voltage
Ah, that's clever. I don't quite get the big picture, but I'll wait patiently for when you publish to see the gory details.
If I recall plasma TVs used some sort of capacitive impedance to limit the current through each subpixel, sorta reminds me of that.

>I decided against TVS quickly because it too, would, like the two switches, be able to dissipate total input power on its own
Pic related, my patented active VBE clamp, can use a power BJT clamped to a heat-sink of your choice!
>>
>>2939206
>>2939206
I have such trouble writing it down. Attention deficite, loosing track, allowing appropiate amount of detail for issues that are important vs less important. Graphics design. Stupid citation rules.
Thats odd. Is that semantically even an NPN darlington?
So youre dropping 2 diode forwards, lets say 1.4V over the bottom R. That means then you vet to set the cknstant voltage across the whole thing (it must be far greater than 1.4V) via the top R. Since you know the current for the 1.4V and from there you compute top R. The sandwiched transistor then buffers that? And the outside transistor is the variable R that is controlled in this manner and maintains that voltage drop?
>>
File: Untitled.jpg (286 KB, 1200x1200)
286 KB
286 KB JPG
is this type of fan enough for directing solder fumes away from your face? i already have a bigger honeywell fan but i figure that it might be noisy and windy to use if it's blowing directly at me and the circuit components. maybe it can blow away from me instead and rely on suction to catch the fumes?
>>
>>2939269
why do you want to direct the rosin scent AWAY from your face?
>>
ITS INCENSE TIME
>>
File: 1749691402633777.png (236 KB, 1080x1287)
236 KB
236 KB PNG
>>2939288
>>
>>2939215
Yes. The single-transistor version is used in class-AB audio amplifiers to adjust the bias current with the same tempco as the output transistors, and is called a “V_BE multiplier”.

Using Vbe is more reliably 0.7V or so. I’ve used a Darlington to increase the current gain, to decrease the parasitic current loss vis the two resistors. You may even want to use a third BJT. A MOSFET V_GS_th multiplier could easily use very large resistors, but then the RC constant with its gate charge would be prohibitively slow.
>>
>go to local electronics shop
>ask for a soldering iron, solder and flux
>buy
>go home
>open flux
>see a fucking block of half-transparent rock-solid mineral-looking shit
how the fuck do i use it, it solid, i can bare tare chunks of.
what this a scam?
did it expire or something?
shouldn't it be a paste or liquid?
>>
>>2939301
thats normal
just hold a hot iron to it and itll work
alternatively make a solution from that abd alcoh
>>
File: 20250819_221909.jpg (1.58 MB, 1816x2884)
1.58 MB
1.58 MB JPG
so since it was part of the discussion lately
I went through my box of things and pulled out those 4 things. All are square wave oscillators. One is based on TL072. All the others are based on LM311s so comparators. There was a 554 and other shit too but I feel like this is representative.
And yeah all of those things were hackjobs to begin with and later modified, probably several times for various purposes and also sometimes cannibalised.
I dont have access to a spec rn so I cant give figures on jitter and what not but I can get traces of a few of those. Oscillators do work using only one, sometimes 2 or 3 comparators. You don't need OPs.
For some reason I have a weird pathology where i quickly whip up something like that over and over again when one is needed instead of just once buying or building something neat.
But I mean hey you always get exactly what you need and you never forget the details in the datasheets of your favourite parts.
>>
>>2939301
>he doesn't know how to use the shells
more seriously, what >>2939303 said. or better yet use turpentine since it and rosin are both distilled from pine resin so it should make a good solvent
you might also want to look into no-clean flux. and/or an ultrasonic cleaner and IPA
>>
>>2939206
The point of a darlington transistor is to take one voltage and boost it further than what a single transistor is capable of.
>>
>>2939363
are you a retard?
>>
>>2939189
> No I dont stock TVS diodes for arbitary voltage
Note that you can get TVS diodes from old hard disk drives, or dvd burners, and from old satellite LNBs.
I used to work in IT and we ditched thousands of these things… what a waste.
The old ones had dual 12/5 V regulators on them that kept the power if one of the input rails went to 0V.
>>
>>2939368
Yeah I dont think I can get TVS diodes that dissipate continuous 300W and break through at a few hundret volts from HDDs.
>>
>>2939307
> I have a weird pathology where i quickly whip up something like that over and over again when one is needed
You should be getting good at it, eh?
Same problem in software development. :-)

I tend to re-create things using older and older shit now, like my typical square-wave oscillator is now done with a couple of transistors. Zoomers are doing it fucking arduinos now.

It’s a bit sad that a while RP2040 chip costs less than a new motorola (on semi) metal-can 2N2222.

If i would have known this was going to happen I would have stocked uo on more things in the 70s when I had the chance.
>>
>>2939369
If you have enough of of them you can :-)
>>
>>2939372
so youre saying a HDD has space for a device that needs roundabout the footprint of a TO-247 device and miracolously I have never come across it in there. Also the designer just thought it would be a good idea because it's totally conceivable the HDD has to sink 300W continously during a fault? Sure thing. Also the designer sire conveniently silk screened the part number so I can just get the datasheet. Oh no I forgot, wer're talking about a real big package here. Says on the package.
>>
>>2939307
>Oscillators do work using only one, sometimes 2 or 3 comparators
Yeah definitely. I recommend using a single comparator oscillator if you just want a square wave. The main reason to use an integrator-based oscillator is because you want its triangle-wave output, where using an op-amp is important for its linear response. I'd be interested to see the internal triangle wave on your comparator-based square oscillators.
As you've alluded to, the other reason to use an integrator oscillator is to get independant control of frequency and duty-cycle. With a single comparator oscillator, varying the hysteresis resistance would work to adjust frequency but won't be very linear, from there you could use a potentiometer and two diodes to adjust duty-cycle, again not linearly. I'd be interested to see how linear the duty-cycle adjustment of your comparator integrators are too, does turning the pot by X degrees always increase the duty-cycle by Y percent? Same for frequency.
555 timers are even worse to modulate independently, but they were mainly designed to provide a frequency that doesn't vary with supply voltage, so they're better suited to fixed-frequency uses anyhow.

>>2939363
No, a darlington transistor is used in place of a regular single bjt when you need more current gain. Maybe this is because you want more voltage gain from your stage, or maybe it's because you want a higher ratio between input impedance and output impedance, as is the case here.

>>2939371
While it's bad for robust products in general, the versatility of having microcontrollers in everything is certainly tempting. Or it would be if all the MCUs weren't locked down. If I ran a retail chain I'd make all my products use just a few different PCBs, just with different programming. Inverter has the same MCU board as the battery charger and the OBD scan tool. Customer, says here in the EEPROM that you connected 24V to your 12V inverter, no we won't be accepting the warranty exchange.
>>
I've been using DC power in the form of regular appliance batteries for a while now for many things but I want to start experimenting with AC power, I'm just deathly afraid of power coming straight out of a wall socket....
>>
>>2939402
Just buy a normal isolated step-down transformer and mess about with 12VAC instead? That or a proper function generator, depending on what you want to do with the AC.
>>
>>2939375
>As you've alluded to, the other reason to use an integrator oscillator is to get independant control of frequency and duty-cycle.
Yeah exactly. Thats why most / all those devices have two pots. Usually I make them to be a T_on and T_off situation.
I dont think anything here is linear and desu I couldnt care less, I'll adjust that until it's right. And id I wanted an enclosure with a scale I'd just mark the scale to match. I think it can be pretty linear, if you made sure all activity is confined to that rather linear region of the RC curve. You could still have full adjustment. Just clamp the reference voltage adjustment accordingly.
>No, a darlington transistor is used in place of a regular single bjt when you need more current gain.
Exactly. I was just a bit less throughout in my reply.
>If I ran a retail chain I'd make all my products use just a few different PCBs, just with different programming.
Repairability and thus interchangeability / replaceability is, sadly, pretty dead. It's economically just not feasible and most people care about money first.
>>
>>2939429
>It's economically just not feasible and most people care about money first
I'm convinced that's just an artefact of consumers not being sufficiently well informed, intentionally or otherwise. If you made it easier to get all the information to compare products, I think you'd find a lot more people willing to pay 15% extra to get a more robust product. My top-down suggestion is for governments to mandate star ratings on the front of products indicating various scores, just like we already do with health ratings and energy efficiency ratings. For example:
>repairability - 5 stars means repairs are possible on the component level, those components are available, can be opened without specialized tools, and diagnostic software, schematics, and boardviews are available
>durability - products are waterproof, drop-proof, proof against people plugging power plugs of the wrong type in, etc.
>warrantability - the company has long warranties that aren't padded with a bunch of exceptions
>accountability - the company covers damage costs to other products as a result of this product failing, e.g. surge protectors or UPSs
>sustainability - just to keep the hippies happy, it's not made from tropical hardwoods or come from a cadmium mine that leeches into a river
>proletariat - workers are in a voluntary association with their employer and any unions, and the workers aren't poisoning themselves
>privacy respecting - 5 stars means it doesn't sell your data, doesn't even collect important data in a way that could leak or be hacked, and any cloud service can be locally hosted
I bet there's more. But too many star ratings and the consumer is gonna blank out though, so pick a few and stick to them. Or maybe use colour ratings, like: repairability - platinum, sustainability - bronze, durability - silver, then cram 5 or 6 different ratings into a single badge on the front of the product.
>>
>>2939431
>I think you'd find a lot more people willing to pay 15% extra to get a more robust product.
Sorry but that's where our sxperienxe with people differs.
>government mandates
I mimight be generally opposed to that. But in this specific case I'd even say many generally pro govt and regulation people would see how this will be a clusterfuck.
Personally I like looking online for disassembled views and failure reports. I also like that US American letter organization that publishes pictures of the insides of many things.
They are already trying all that shit. I mean they could just make some sort of combined eco label or something, but you know exactly how those organizations we're talking about just love to intentionally mislead everyone when it's about alleged sustainability because it's better for them to just reassure the turbo consumer high energy lifestyle majority and not alert them that it could actually be their behaviours and choices.
>>
>>2939433
>Sorry but that's where our sxperienxe with people differs
I work at retail, and there's a few categories of people. Those who just want the cheapest thing, those that want the brand name because brand = quality, and those that are willing to buy the cheap thing because they know its pitfalls and think they can get around them. I also know that as people get richer, they look more at the bigger picture of what they're buying. That there's a market for fair-trade coffee proves this.

>I mimight be generally opposed to that
Yeah I'm a free market proponent as well, those top-down suggestions would ultimately lead to a lot more tax payer money going into the pockets of bureaucrats. Even if there's a net good as far as the country, or even as far as the individual is concerned, taxation is theft. Still, I much prefer methods that aim to inform, rather than methods that regulate what companies can do, because freedom of association is also important.
I can't easily see a free market approach, but if we're actually aiming for a free market we'd significantly scale back intellectual property laws so it's legal to hack into what you've bought and paid for, among other things.
>US American letter organization that publishes the insides of many things
The FCC? Yeah they have some neat teardowns showing the insides and even schematics of many RF emitting devices, even imported chinese brands.

The american consumer has been gaslit into supporting a bunch of stupid bullshit to their own detriment, from the food pyramid to bioethanol, and it's always an unholy union of corporations and government that does it. The same happens in other countries, though to varying extents. Whatever you do, your system must be at least somewhat robust against corruption; it has to take incentives into consideration. Jesus, imagine if the people regulating medicine were involved with the companies selling those medicines, that would be awful.
>>
>>2939434
>I work in retail
there's bias in that already. Your experience is limited to the share of people who come to a store for things. There are people who just go on the chinternet.
>inform over regulate IF government action cant be avoided
Agree. Maybe I am just a misanthrophe or whatever. I just know people and I know ho they and their minds operate. After me deluge is universal. Everyone thinks of themselves first and only, even when they have not to worry abour the foundations of maslows pyramid.
>intellectual property
More like an intellectual deficit. Fucking kindergarden. 'I did that first'. All only to cater to the illusion of the omnipotent ibventor in a vacuum. Human intelligence at its extremes only spreads by a factor of 100% at most from the median. Every 'inventor' draws from generations of prior work, environment, contemporary ideas, exchange, conversation etc. There is no such thing as 'the inventor' who in a vaccuum came up with something. It's not a coincidence that famous inventions like the internal combustion engine or electric lightbulp have been 'invented' concurrently and independently. Odd coincidences.
The patent office then makes it even worse by giving the patent to the dude who is stupid enough to consider his own idea as revolutionary enough to warrant a patent. While several guys were already using it but never thought much off it.
If you want to keep your idea to yourself don't share it.
>FCC
I suppose so. I remember the website and your description fits the bill, it was always stuff that has EMI concern. I found that neat. Maybe it's a good idea to just make a website where one uses ad revenue to buy popular things of amazon or alibaba, break them open and show everyone. The difference between a lenovo / baseus / anker actual 100W PD charger and a 10€ thing that says 100W on the outside is mindboggling. Like spaceship and sandals. But most probably don't understand this. It says 100W and is cheap.
>food pyramid
KEK!
>>
I have been messing around with some small transformers that work at high voltages, my problem is that i have no way to measure said voltages, anyway to do that if I'm being cheap and don't want to buy high voltage probes?
>>
>>2939553
resistive divider?
>>
>>2939553
If you need to measure DC, the only real way is something along the lines of a voltage divider. You can make this pretty safe and reliable by using a zener/tvs diode on the LV side to clamp any spikes above what your meter/scope can handle. Depending on the voltage, you may be fine with a simple 10x scope probe, or you may have to make a chain of resistors encapsulated in oil.

If it's AC only, then transformers are an option.

If you also need isolation, then you'll likely have to go for something along the lines of a proper differential probe, or else to make an analogue optocoupler circuit that can handle the bandwidth and SNR for your application.
>>
>>2939444
>Maybe it's a good idea to just make a website where one uses ad revenue to buy popular things of amazon or alibaba, break them open and show everyone.
Be nice for us and people who repair stuff, especially if the images are high enough resolution to read the pre-burnt part numbers, but ultimately not going to do a lot for informing the average consumer.

Even if we don't force manufacturers to put our stars on the front of their otherwise immaculate packaging at threat of government violence, at least we could set up a user-friendly database of crowdsourced ratings for various products. Be they smartphones, vacuum cleaners, or security systems. The more widely it is used, the better it gets.
>>
I've been having some buttons failing prematurely, they're rated for 100mA but in use I only have about 2.5mA going through them, they just turn on a BJT. I've heard about wetting current and such, but surely that isn't the problem here, is it? FYI the switch is probably a chinese clone of the RP8100B2M1CEBLKREDNIL, or the ISR3SAD600.
>>
>>2939641
There's a thing where switches need to interrupt some current it clwans the contacts
larger switch more needed so overiszed swotches no bueno
>>
File: 20250326_223826.jpg (2.44 MB, 4032x1816)
2.44 MB
2.44 MB JPG
>>2939375
>I'd be interested to see the internal triangle wave on your comparator-based square oscillators.
So I'm picking stufd from old pictures, hapazard documentation of yome things. Let's kick it off sith a slow TL072 based oscillator. Here the thing. It has two OPs in the package. It's pretty obvious from this setup how it works. It's too slow for some digital inputs. Also the max frequency will be low. As I've said, slew rate n shiet.
>>
File: 20250821_111318.jpg (1.44 MB, 2160x3840)
1.44 MB
1.44 MB JPG
This some triangles here. They vary a lot with frequency and have some dead time. You can even get something squareish here thx to dead time.
>>
File: 20250821_111621.jpg (1.35 MB, 2160x3840)
1.35 MB
1.35 MB JPG
>>2939670
Ironically the output will help out and try to be a triangle eventually
if I had better video compressions means on mobile I could show the duty and freq adjustment
>>
>>2939668
I don't entirely understand the schematic. You've got the classic frequency invariant duty-cycle adjusting trimpot with a diode at either end, but then you've got an additional series variable resistance. While it would serve to reduce your frequency, it would also limit the minimum and maximum duty-cycle you can attain.
Also diode methods have the downside of not working on low amplitude waves very well, so if you're adjusting frequency by changing hysteresis, they may be very nonlinear. The three-part variable oscillator seems to be the most versatile: one op-amp-like unit integrating with a variable RC constant, one comparator-like-unit being a schmitt trigger to feed the integrator, and another comparator-like-unit comparing the triangle-wave to a variable reference.

>TL072
Seems like not only will using a dual op-amp package give you a more linear triangle wave with a proper integrator circuit, but also give you a push-pull output without needing an output pullup resistor. That open-collector output is handy if you need something level-shifted for digital use, but otherwise it seems like a detriment.
>>
>>2939673
No thr second pot sets the trigger level for the second OP that works in the capacity of a schmitt trigger.
IMO - since the whole discussion started with and is centered around comparator / OP - it can be assumed to be generally sensible to use an OP for thr triangle and comp for the square output.
The series I've begun with showcasing an instance of the purely OP based circuit aims to show it can be done using comps - this was desputed earlier - and also how its not always as it seems and the theoretjcal benefits don't always carry over. The artifacts in the square wave for example. Not pretty, not what the OP would give us in theory, I believe at least one is from the feedback of the trigger. The other one maybe something funny with the diodes idk.
But I also want to point out that the whole discussion is centered around shit you quickly throw together because you're weird and too greedy to pay for benchtop lab equipment and instead sink probably more money over time into building an application specific thing every time.
But I think it is interesting and educational investigating and I have never done a side by side, just ever gone off of the common knowledge about components and their suitability for the task at hand. So there might be surprises in the end.
>>
>>2939683
correction. I dont even remember what this circuit was supposed to do and how it works you might be right. I mean it's an oscillator but I dont remember if I needed both waves or what. It will adjust frequency and duty of the square wave.
We should just have a weekly electro buildoff on here KEK.
>The three part circuit
It was me bringing it up and recommending it earlier, I think last thread. But again: It's sort of about what can be done to get a specidic job done. All I am doing is defending my point that comparators alone will do and that you can use teo or three.Sometimes one with alot of compromise. For a universal generator I wouldnt do any of this.
>>
File: 20250821_152541.jpg (1.98 MB, 4032x1816)
1.98 MB
1.98 MB JPG
So anyways, received the 1000 amp pulse transistors, guess i must stop procrastrinating now. Also I was thinking I might just get to hack them in because perhaps they dont even need cooling. After all they shouldnt be switching current and R_on is fuckall.
What could go wrong KEK
>>
File: 20250821_153151.jpg (2.75 MB, 4032x1816)
2.75 MB
2.75 MB JPG
I feel like reacing this nigga will be ass.
>>
File: 20250821_154045.jpg (2.03 MB, 4032x1816)
2.03 MB
2.03 MB JPG
New primary for that soldering transformer when?
>>
File: 20250821_161715.jpg (2.19 MB, 1816x3803)
2.19 MB
2.19 MB JPG
I remember a time when I said this PCB will be the final and good looking prototype.
Anyways so there's that cap that is supposed to save the transistor in case things go tits up. I'll test the theory.
>>
File: file.png (203 KB, 1313x1712)
203 KB
203 KB PNG
what odds you guys give me on being able to hand-solder this bad boy? ive never done anything with BGAs before. dont have a fancy reflow machine, just a hot air wand. ill use paste if i have to but id have to go buy some, and maybe a stencil if i need that too.
>>
>>2939802
oh, i also have a hot plate.
>>
https://www.youtube.com/watch?v=5VImip66zLA
>>
File: 1697892027177939.jpg (88 KB, 414x788)
88 KB
88 KB JPG
>>2939803
I always use a hot carl for BGA rework.
>>
>>2939802
Solder how?
Are you going to dead-bug it with kynar wire?
>>
>>2939803
That’s probably usable if the temperature control is half-decent. Even a PTC hot plate might be fine. Assuming it doesn’t need reballing.
>>
File: file.jpg (120 KB, 1500x1398)
120 KB
120 KB JPG
>>2939847
same way i solder QFNs: heat it up and hope for the best.
>>2939849
its this thing, 100% weapons-grade chinesium but its marketed as a soldering hot plate, and its served me well. i can invest in a stencil and balls if im likely to fuck it up the first time around.
>>
>>2939802
Should be doable. I've never done it myself but I've seen people reball bigger stuff with just air. Use enough flux and align it right.
>>
File: battery_charger.png (80 KB, 1023x441)
80 KB
80 KB PNG
I want to power a raspberry pi cm5 from 2 paralell 18650 li-ion batteries and I also want to be able to charge them. There is no PD or anything, so I'm stuck with 5V, 3A max. I used the BQ25895 because it has powerpathing and it can actually output 5A according to the datasheet supplementing the USB with the battery if necessary.
If USB is present I route the power through this IC and if it's not, then simply draw it directly from the batteries. There are some boost converters connected to BAT_CTRLD so everything gets the power it needs.
This makes sense in my head, however I never done something like this, my question, is this a good approach at all? Is this how phones, laptops, etc handle the usage while charging?
>>2939802
25 balls is really easy, if you are used to soldering QFNs, 1-2 tries and it should work. You don't need paste, but use good quality solder and flux
>>
>>2939905
I'm not too familiar with power management chips and their implementations, all I know is that I'd rather use one with user-programmable voltage thresholds. That way you can set the NMC cells to only charge up to 4V and give you better longevity, or even to use LiFePO4s or sodium ions. Ideally you'd be able to send a command from the pi itself to tell it what voltage to charge it to, as well as collecting general battery lifespan indicator information, or triggering a save process when you get a power-cut and such. I'd also just go through looking at potential failure modes, checking power-on order, examining quiescent current paths, reading any relevant appnotes, and finally I'd just add spare footprints for any components you may need. Especially snubbers and other filters. And testpoints everywhere. That way if you do fuck up your first design, you can learn as much as possible from it.

Running multiple cells in parallel is somewhat of a risk if they're connected directly together, because if one cell fails short it will drain current from the other cell and potentially cause a cascading failure. Putting a fuse or BMS on each cell is what I'd do if I cared about absolute reliability, but at just two cells it's 90% just me being paranoid. Putting the cells in series instead makes the currents lower and hence more efficient, but then you need balance charging so I can see why you went for 2P over 2S.

You do have the option of going for PD or QC or whatever to draw more power, there are a variety of both smart and dumb ICs out there to facilitate power negotiation, though I'm unsure if any power management ICs have that capability built in.
>>
>>2939915
>parallel bad
often times you see batteries being connected in a fusible way to a common bus bar. In case of a short the current will be supplied by all other cells with their respective fuses sharing the burden, while the short one pops.
Aparently the voltage drop unxer normal conditions isnt too bad.
>>
anybody got a schematic for an electromagnet microwave pulse emitter ?
can be very large out put
asking for a friend
>>
File: 1723578781308614.webm (307 KB, 556x620)
307 KB
307 KB WEBM
>>2939983
I have a schematic. Give me $1000 in quarters and it's yours.
>>
>>2939983
well duh. GHz oscillator and amplifier. There you go?
>>
Yo OP.
The EDM thing. I found something that appears painfully obvious. Remember the new capacitive divider that protects the low side tranny from HV?
It got me thinking:
You could just discharge the HV caps through the spark gap into the big low side cap and discharge that cap whenever. So for example you could just do that while the inductor is charging anyways so a short on the output wouldn't really hurt much.
>>
>>2939987
a GHz power amp isnt exactly trivial.
>>
>>2940026
>isnt exactly trivial

pick up one up from the street
remove door; bypass door switches and start relay
add relay in series with power supply to create pulses
aim at Orange Julius Caesar, and plug it in

i was bouncing signals off the moon using this method in high-school
easy as fruitcake
>>
>>2940026
lmao
>>2940033
also this
if you want to out in slightly more effort get a sat dish and put the magnetron where the lna was
point in desired direction
>>
>>2939983
Magnetron is the obvious way, otherwise maybe look into making a high-power oscillator directly using a spark-gap or some of those meme RF diodes.

>>2940018
>So for example you could just do that while the inductor is charging anyways so a short on the output wouldn't really hurt much
I figured output shorts aren't a big deal on any system that has series capacitance, cap divider or not.
>>
>>2940042
But the series cap is gone for now that was the whole idea with the second switch maybe I should visualize all this shit.
Anyways I got really puzzling results and I'm a bit concerned upping the power rn before I understand what I'm seeing.
>>
>>2940044
Learning is valuable, transistors are cheap.
>>
>>2939202
Hello anons, I have a problem I'd like help with. I built an ion chamber some time ago and require a display to show mV. The problem isn't the volts, but the amps. The ion chamber produces a small current, in the pA range, and thus requires a high value resistor to be detectable as a voltage. Problem is, with such a small current I cannot use analog mV displays as they require considerable current, and I do not want to tape a DMM to the ion chamber, which is quite small as it is made out of a soup can. Any ideas?
>>
File: millivoltmeter.jpg (95 KB, 990x571)
95 KB
95 KB JPG
>>2940062
>I cannot use analog mV displays

you can if you use op-amps, FETs, vacuum tubes, or whatever, to provide very high input impedance, and some voltage gain
(sample circuit is just for illustration purposes)
>>
>>2940062
Use a non-inverting op-amp amplifier, something like an OP07. It has an input offset voltage of up to 75uV, if you need lower then there are options, maybe including chopper amps, but you can probably tune it out with the bias pins for single digit microvolt accuracy if needed. It has an input offset current of under 4nA, with a bias current going up to +/-4nA, which should be small enough for your needs, I'd probably want to add a burden resistor in the megaohm range if the ion chamber can withstand that.
>>
>>2940061
Yeah I was thinking that I have 3 spares. Its rather the work in replacing them. I'll post later a schematic and observed ohenomenon and ask wtf is wrong.
>>
HUM LAAL comes with a custom shielded AC cable. it's basedpilled and i can construct my own cable using a shielded ethernet cable and it will have exceptional noise reduction and EMI/RFI shielding while still having more than low enough DC resistance according to the AI.

but these people are freaking out and saying things like it can jump through the isolation? is there a valid concern for low wattages like 15W? the termination will be the same as a normal AC cable so it can't be confused with an ethernet cable.
https://electronics.stackexchange.com/questions/529231/240-vac-power-over-ethernet
>>
File: file.png (86 KB, 810x582)
86 KB
86 KB PNG
>>2940114
Ethernet cable is not rated at 10A, and depending on your supplier it may not be rated at 250VAC. You can likely use it for your purpose, because even sellotape will resist 250VAC and you won't be drawing anywhere near 10A. It's up to you whether you want to disregard the regulations on this matter. But I'd look at getting some less delicate wire that is 10A idiot-proof, like some shielded automotive cable. If you look in the spec sheet a lot of automotive cabling is rated for use with 250VAC.

As for noise immunity, you've got both magnetic and electric field noise to contend with. If it's a class-1 grounded appliance, then you can basically disregard electric field noise in the appliance as the chassis will block it. Still might be an issue if you happen to have high-impedance signals going near the power cable, this is where you'd want to have grounded shielding around the outside of the power cable. Magnetic noise isn't as easy to mitigate though it isn't usually as impactful, the best method is to twist the power wires together tightly so the magnetic loop areas cancel out in as near a field as possible. Normal mains cable twists every 10-30cm or so, ethernet cable twists every 1-3cm or so, hence its better suitability for mitigating magnetic noise. Some methods of using multiple twisted pairs twisting in opposite directions can be even better than just one. But you want the ground wire to be capable of shunting as much current as the live wire in event of a ground fault without a GFCI, so I'm unsure what cable mapping you'd use, I'd want to get shielded twisted pair cable with a drain wire at least. It might also be worth looking at differential (XLR) audio cable, it's often twisted for these same reasons, picrel.
>>
>>2940117
lol good catch, now the AI is saying that the conductors would likely melt or start a fire in the event of a fault. i might look into more generic shielded cables that would still have some benefit over unshielded cables.
>>
https://www.audiosciencereview.com/forum/index.php?threads/testing-radiation-of-3-ac-power-cords-what-are-the-asr-tests-about.37335/
>$500 power cable
>>
File: thing.png (45 KB, 992x1091)
45 KB
45 KB PNG
>>2940044
So visualize it. Here's the basic thing. Boost converter with a spark gap that is no more isolated by a series capacitor but now by a switch. Works like a charm when the spark gap is open as it's supposed to.
The lower switch just comes on shortly before the upper goes off and then remains on for 1 half period of the inductor capacitor SRF. As such the lower switch wont see HV only high current.
Now if the gap is shorted the upper switch has no more authority over when HV.
So the lower capacitor is chosen 10x that of the upper. It should divide HV generated by the factor 10. The lower switch will now see the boosted voltage but it wont be high.
Turns out one of the things I had overlooked it it needs considerable idle time. The SRF is now much slower. So when the upper switch comes on again the inductor isn't at I=0 but much higher and things escalate. So wait for one half SRF of the new system.
But there's something else...
>>
File: 20250823_143327.jpg (434 KB, 1381x1036)
434 KB
434 KB JPG
>>2940140
Idling. Gate of lower switch vs boost converter output. Yes testing on low power. All seems fine. Notice how maybe sometimes but not always the gate doesnt come up really fast.
>>
File: 20250816_154312.jpg (539 KB, 1407x1216)
539 KB
539 KB JPG
>>2940141
Also theres that usual ringing, I suppose its measurement artifacts, on both channels, when the boost converter switch flips.
>picrel
That's the really nice discharges through the gap coupled in this way. Very clean and nice. In this case it's using the old transistor that can handle the HV should anything go wrong. Current is way above it's limit. Hence the new low voltage high current thing.
>>
File: 20250822_222607.jpg (239 KB, 1230x727)
239 KB
239 KB JPG
Now with the gap shorted there should be no voltage induced at the lower switch the moment the boost converter switch flips, as the lower one has much lower R_on anyways. And when the lower switch closes not much should be induced as the energy in the inductor is now transferred into a 10 times larger cap.
>picrel
well nuh uhh
What is that? The timing if the spike coincides with the upper switch timing. It is much earlier / faster than the SRF of the LC thing allows for, so arrives earlier than the usual spike would.
It doesn't look like the usual measurement artifacts but I hope it is and I can't explain it otherwise.
To the very left we see the boost converter switch coming on and killing the very slow spike that was induced by switching off the lower switch.
Odd huh? 100V is too close for comfort for the lower switch.
Increasing charge time for the boost converter seems not to have an effect this spike is always ~ 100V so glitch?
>>
File: 20250823_152114.jpg (617 KB, 1710x1212)
617 KB
617 KB JPG
>picrel
the gap is shorted again. The suspected glitch shows up and again is too fast for even the L C1 tank, let alone the L C1 + C10 tank.
This shows what I have failed to take in account. The added capacity slows the SRF down by alot. The usual timing means that the current through L is still considerable by the time the boost converter picks up again. Since it has no feedback that will escalate until the boost converter R_on becomes limiting, I suspect.
>>
>>2940138
gotta love it when illiterate nutters get their hands on too much test equipment and start testing everything for common quality denominators without ever asking the question how it carries over to the end result and if it even matters.
Might aswell shielded power cord for your appliances because the spec says it makes a difference.
>>
File: Untitled.png (126 KB, 729x559)
126 KB
126 KB PNG
>>2940117
>>2940125
i pressed it further after i saw an IEC C5 cable with only 0.75mm^2 conductors. i'd use IEC C13 instead of C5 but still.
>>
File: Untitled.png (124 KB, 717x446)
124 KB
124 KB PNG
it might even be fine since IEC C13 is only rated for 10A, and 18 AWG IEC C13 exist. guidelines about ampacity might have different concerns about long-term degradation of the cable insulation due to overheating, like the operating temperature of an ethernet cable might only be up to 60C but is that for data transmission because i kinda doubt it will literally melt at 90C. and i think the derating factor for bundling is meant to be if you have concurrent loads going through the bundle but i would just have one load.
>>
and it doesn't need to deliver the continuous current, just enough momentarily to trip the circuit breaker, so an IEC C5 cable can be pretty thin. the catastrophic scenario would be if a fault that bypasses the fuse causes just enough current to be drawn to be problematic without tripping the breaker but this applies to any cable and not just my proposed custom built cable and it's such an unlikely event if the cable isn't abused to the point of being visibly damaged.
>>
File: 20250823_200249.jpg (282 KB, 1162x800)
282 KB
282 KB JPG
I mean the tranny didn't die yet and I have worked up half way to the old inout power level so far. Output is absolutely violent.
I will, once again, simply assume the marked phenomena are spurs.
For two reasons:
See how in one instance it unironically is opposite to the other?
Also it's obviously on both channels, so either it couples into the gate like crazy or it's not real (as always).
Been fighting those phenomena ever since I started this project.
Also note how the SRF of the LC tank becomes obvious after the gate is shut off which proves the new capacity is connected through the shorted gap and reaches about 30V. Idk where it would take the energy from to raise the same thing to 100V.
>>
>>2940114
>>2940152
>>
>>2940194
Ferrite beads on all leads.
Run gate triggers (and/or power lines) through rf hard line with center conductor shielded with ptfe.
Invert the spike and feed it back in with a single power transistor.
>>
>>2940159
>but is that for data transmission because i kinda doubt it will literally melt at 90C
The datasheet I read said it had HDPE insulation, so maybe it will melt at 90C. Also PoE exists.
>>
File: scop.jpg (238 KB, 1080x878)
238 KB
238 KB JPG
>>2940210
>shielded with PTFE
sorry friend but AFAIK PTFE doesnt shield. They use PTFE as the placeholder in some lines tho. Hard line even does fine with literal air instead.
Anyways everything is on a board so nah not really going to an mmcx or so and back again just because and I only work on double sided so there wont be any fully burried signal traces but the ground plane underneath and to each side is probably fine.
>ferrite beads
yeah kinda in some places but then again nah I rather have a well defined impedance on my gate traces.
>invert the spike and feed it back
you want to get rid of transients by retroaction? Sounds like a recipy for funniest oscillators.
Anyways I still somehow suspect the scopr or the leads.
>picrel
is the same project but other scope testpoints and older gate driver etc.
yeah it kinda couples but what can you do really it's not a shielding thing it's galvanic.
Ofc you could just make your ground plane lower and lower impedance by adding copper weight and same perhaps for positive but I think the whole issue is the reactive power the thing has. There's just so much energy going into an e-field and coming back later in several spots on this thing.
But anyways different scope same probe already looks... different. I should probably try other probes. I tested them on the spec and they were good with sinusoids but one had the frontend burn up (whoopsie) I replaced it.
>>
File: 1757383875643641.png (161 KB, 1050x697)
161 KB
161 KB PNG
I don't get solar bypass diodes. Wouldn't the diode just cause a short circuit across the cells exposed to sunlight?

>>2939371
At least Central Semiconductor still seems to manufacture some older types of transistors
>>
>>2940211
ok but that seems like getting struck by lightning kind of bad luck that could happen with any cheap random cable like there are even IEC C13 cables with 18 AWG wires so they wouldn't be good for 14 A continuously and i wouldn't leave the room for any long period of time when using this equipment so i would probably notice one issue or another like if there's a burning smell or fizzing noise or the room getting hot all of a sudden if a fault is drawing kilowatts
>>
like people don't seem to care about the risks of using old and potentially worn out IEC cables or they don't preach about it like they do with ESD and such
>>
>>2940217
The diodes are ver obbviously antiparallel. So a cell that generates a voltage drop across itself holds it's respective diode shut.
I suspect the cells in series coudl easily just push through the shaded cell as it itself is merely a diode again. But it is not optimized for low forward voltage. So placing a schottky or something antiparallel to it fixes that.
But if I made that I'd just make an active / ideal diode.
>>
need a 'medium' voltage power supply (~150-300V) for a project I'm working on, is it worth it to just make a custom bench supply for this or does it make more sense to buy
most available to buy seem awfully spendy, but power electronics aren't quite my forte either and not sure how much work it'd be to get a working isolated power supply in practice (especially when just wanting to work on my project)
if anyone has schematics/resources for making flyback converters with CC+CV that'd be helpful as well (at least for knowledge on operation), CV doesn't seem hard but I assume for CC it'd need another circuit secondary side to handle that and not sure how I'd pick a good transformer in practice
>>
>>2940231
eeets microwave oven transformer timeeee!!!
nah jokes aside merifat or europoor aka whats ur mains? Because if 230 transformers or boosting wont even be necessary
just rectumfry smoot and chooch
>>
>>2940231
If you want CC+CV, off-line converters aren't well suited for that. Because when you're switching down to 0V output, your secondary side needs to have the power to measure your voltage and provide feedback. I'd recommend using an ATX PSU instead and building a buck-boost atop that like I'm doing with the ISL81801, but if you're after 300V then an off-line with a ~1:1 transformer is going to be the most efficient way forwards. Personally I'd use a push-pull converter, either centre-tap with two transistors, or a full-bridge, that way you don't need the air-gap bullshit of flybacks. Forward is also an option but I don't know shit about forward converters. You'll need an independent mains-to-12VDC converter to power the gate drive and switching converter, and another one to power the op-amps and other feedback components on the secondary side.

Your main challenges are as follows:
>obtaining a transformer that can handle the frequency, power, and voltage ratio you want to use it for, expensive to wind or tedious to make
>finding a switching controller IC with the right features, browse TI and Renesas and Onsemi websites, maybe Analog Devices but they're pricy.
>having linear and stable feedback across an isolation gap
Not really sure how to tackle that last one, never studied control theory myself. You could just use a normal optocoupler with enough gain to bring the loop into linearity since your reference will be set on the secondary side anyhow, but I see that getting unstable fast, especially if you want it to react to transient loads. Instead I'd compromise by making a sufficiently fast relatively linear optocoupler circuit (photo-fet like the H11 or dual diode like the HCNR200) and use a few dB of additional gain to bring the rest into linearity, with an integral taper so the gain drops off at higher frequencies.

Also depending on power output you may want to add some active PFC.
>>
>>2939204
>>2939202
Tell me about the microwave package

Is this what's in a microwave oven or is this for cellphone or weapons?
>>
>>2940272
High-power GHz transistors. Expensive. Microwave ovens just have a magnetron, but they're fixed wavelength emitters, which isn't that useful for modern communications and radar use.
>>
>>2940300
How expensive and huge are those ? I'm curious do you have any references ? Can they also act as the antenna ? I'm interested in building a small radar, I'm a robotics engineer so I don't know much about radio but I would like to learn. I've been messing with funtenas using harmonics from square waves to reach frequencies I wanted but that's about it.
>>
>>2940305
I read transmitters not transistors I'm retarded mb
>>
>>2940247
American, although if I wanted to directly connect to mains I could use a transformer that steps it up a bit more. I was initially just planning on this being powered by another voltage supply that I bought (perhaps 48V), so I wouldn't have to deal with mains myself and could just do DC to DC
>>2940255
Push pull is a good idea, was thinking flyback because TI gives some example circuits for some of their switching controllers (and this project doesn't require high power for now, just the voltage), but push pull does seem to be better suited for a general power supply so I'll look into that.
Control does seem tricky, it looks like a reference + optocoupler is used in some example circuits (for the flyback at least, I assume similar for others), I imagine secondary side will end up needing to control current and voltage on its own for a good variable supply though for the reasons you mention (then always supply enough power from the primary to run the control while running).
I'll definitely take a look at more of their chips and associated resources, thanks.
>>
>>2940300
A microwave magnetron is fairly high power but the size of a brick

Can the things in ops pic also be weapons or are they weak?
>>
>>2940231
>>2940247
>>2940314
You probably have 240v coming in but they split it. You can find 240v sourced at the breaker, clothes dryer, electric oven, and HVAC system

Otherwise you'll want to find a stepup transformer, you can get them cheap for traveling abroad
>>
>>2940222
So the bypass diode is some kind of zener device? Because zener action is the only way I see the diode conducting current through it while reverse-biased. Shit just doesn't make sense.
>>
File: file.png (174 KB, 1201x884)
174 KB
174 KB PNG
>>2940314
>I was initially just planning on this being powered by another voltage supply that I bought (perhaps 48V), so I wouldn't have to deal with mains myself and could just do DC to DC
I'd still consider using a DC-to-DC method like this. You'll still probably want a transformer for such a conversion ratio, and you'll have to do a few more windings, but since it's already isolated you can ditch the optocoupler bullshit.

Regardless, you'll want to have a pair of differential error amplifiers on the output side, one measuring voltage and comparing it to a variable reference, the other measuring current (after a current-sense amplifier) and comparing it to a reference. You then combine the two with a pair of diodes and a pull-up/down resistor. You tune the two error amplifiers with some PI(D) gain values to make them stable, which can be done by chucking a network of Rs and Cs at a normal differential amplifier circuit. You don't want the gain too high because the switching converter will have its own error amplifier gain, so I'd recommend using that integral term to drop the gain to unity at high frequencies.
As an example, you have a 100:1 voltage divider before your voltage amplifier, and you want a 250V output, so you set your voltage reference to 2.5V. Your error amplifier will measure the difference between its input and the reference, and drive its output until its input approaches 2.5V. If it's current-limiting at the same time, whichever error amp is trying to lower the output will overpower the other.

>>2940339
It's easier to look at a diagram that also has blocking diodes. Here you can see the normal flow of current is through the blocking diodes, the bypass diodes are normally reverse biased because the solar panels act like voltage sources.
I think your diagram is showing electron flow or some stupid bullshit, but the math checks out.
>>
>>2940314
>>2940342
Also note that some switching converters do all that CC/CV stuff for you, especially non-isolated converters like the aforementioned ISL81801, but because they usually use a variable feedback divider or have an incidental tracking input, they often have a minimum voltage and/or current they can go down to. I think the ISL81801 can go down to like 0.8V on its tracking input. While the feedback pin could be driven lower than a voltage divider would allow with an external error amp, I don't think the internal circuitry will like that. Being able to go down to 0V is important for when you're in current-limiting modes to mitigate short-circuits, though some circuits that can't go down to 0V output in CV mode can still go down to 0V in CC mode. Read datasheets.
>>
>>2940300
>magnetrons are fixed wavelength
No, not all magnetrons. It is not exactly correct that magnetrons 'can not be modulated' either. There can and devices exist. Just not those you pull from microwave ovens, there's no need for that.
They are useless for communication mostly because the time delay is stochastic and considerable.
>>2940339
>zener device
No, I didnt say that. Idk maybe make it easy for yourself, think of a battery or its symbol. Now connect a diode to the battery so that it is blocking. Nothing happens.
Now put several such arrangements in a N series configuration. Say so that you make a 12V battery. You find your're getting 12V. And in reverse the thing... well it will conduct if you overcome the battery voltage but it will not conduct through the diodes.
Now imagine one of your cells went high impedance, like you had a lead acide cell and it just drained. If you had no diodes your output voltage would be 0. Because youd have two new battery terminals somewhere in the center of your battery that are both unconnected.
If you have the diode, only one diode, the one on the high impedance cell, will now become conducting and pass the entire current. Your output will be N-1 cell voltages - 1 diode drop.
So its effectively like connecting 2 sources in series through a diode. You have a source that's one diode drop lower than it could be but at least you have series connection.
>>2939202
OP OP OP you said slap a snubber on the cap.
So the cap is on fire. Actually one of it's leads because how I bodged it on. Bummer. I shortened the leads but that says something. I totally forgot how now current does not only flow through shorted gap when the lower switch is on but also after it's off, into the cap and out again.
The snubber might take some HV component off and relieve it somewhat.
So I figured with say 200A going into cap, a .3R series R on the cap, say on GND side but I dont think it matters, means a 60V drop, right? So the cap would be at 60V +X?
>>
>>2940371
I think I now have basic understanding of bypass diodes. Thanks.

Another stupid question incoming. What happens to the current in the flywheel diode? Is it just converted into heat? Any way to somehow re-circulate it back to the supply (would that even make sense)?
>>
>>2940371
>So the cap is on fire
I suppose that is a lot of current. Maybe you should look into using those axial doorknob caps with the bolt terminals. That or making your own caps, or putting a bunch of caps in parallel.
Your math checks out, but I’ve never measured capacitor ESR before and 0.3R seems kinda high.

>>2940426
If it were an ideal diode and inductor, the energy would remain stored in the inductor’s magnetic field indefinitely, as current circulating with no resistance. But because the inductor has resistance and the diode has a voltage drop, the energy will be dissipated as heat. I suspect the diode is more significant than the coil resistance here, but I’m unsure. The rate of energy loss will be dependant on these factors, so using a lower-drop diode, or a synchronous diode, or adding some series resistance will change the decay rate of the magnetic field if you want. Might be importantly for a project like a coil-gun.
>>
File: file.png (71 KB, 984x409)
71 KB
71 KB PNG
Ancient electronics repairs question from a noob, hoping to get some insight.
Have an old camera that was kept in shit conditions (SMD capacitors leaked) and had to be repaired, didn't solve all the problems.
Picrel is a buffer circuit (class AB amp? power supply is +5V/-5V) that generates a 28MHz subcarrier for some delay line circuitry, however the output amplitude is too low (circuitry wants 1.1Vpp, this gives 500-600mVpp fluctuating).
A roadblock. What else should i check?
>>
>>2940447
No no the ESR is not .3R. I'm asking about OPs advice to place an RC snubber. I could make a seperate snubber with a smaller cap. Or put an in series with the cap. But Idk how that is usually laid out. So I figured I'd give it a try, it should limit current through the cap and burn some on the R. So I need a value and dissipation for my R. So I was thinking since the cap is there to limit voltage rise I might approach from that direction and if I say theoretically, I'm expecting 200A coming in, so they also flow out of the cap, right? So a .3R on the low side of the cap would put the low side of the cap at +60V. A number I would have to acxpunt for and redo the math for the voltage limitong thing.
>>2940426
>>2940447
Where the enervy will be dissipated really comes down to the current when you switched off and the ESR of the inductor. The diode drops as little as a schottky and as much as several volts (diodes do that under high current). But the inductor is much more variable, aome inductors have fuck all series R, I have seen primaries with 300+ ohm. At those figures just 1 A means youre dropping 300V in the inductor and less than 1V at the diode. Current through both is equal so there you go.
Turn it around: Inductor has no measurable series R (like two turns of a solid copper bar), lets say 1uR, now it's ~1W on the diode and ~1uW on the inductor.
>>
>>2940465
>VCO
>with a push pull on it
Did you measure on the push pull or behind some DC block?
Also you're saying Vpp, is there ~0 V bias or did you find ther's bias? Got a fried tranny?
Can you measure the gates? Is should give the usual 0.5-0.7 Vpp
>>
>>2940465
Yeah I'd do some common-sense in-circuit testing by measuring the Vbe and Vbc internal diode drops on the power transistors. I'd also measure R44/R45, those might be getting warm. If there's any carbon composition resistors, replace them too.

>>2940470
Oh, yeah that sounds sensible, personally I'd be wanting to put at least some amount of resistance in series with all of your capacitors. But calculate the rms power dissipation in the resistor, and in the capacitor with its ESR. You could even backwardsly calculate the resistance value in order to set the rms dissipation in the cap.
>>
>>2940482
>all your capacitors
mhm no I dont think so, I'll rather do that where I thibk it could improve things. If I think of my output cap for example, I rather keep paralleling caps to divide ESR and ESL and keep them as ideal as I can.
But that one cap might benefit. It's botched on currently and earlier I went to improve it, which it did so maybe it will do better on the next board. But before I get that one made I want to understand all the implications.
Obviously it dissipates energy proportional to square of the current going into the cap, right? It will also limit the current through the cap, right? I imagine it or think of it like a caps frequency response, lets ignore the ESL, then it's basically a situation where the high |Z| of the cap determines slow shit and the slope is the usual 3db per dec and as f goes up it transitions to a floor set by R. So it does mean if I get 200A in I will see at least V = 200A * R on the cap, right? Plus whatever the cap charged to in the meantime, right? Thats unironically the ohase shift in a basic circuit that is thaught as the 'charging circuit'. Suppose you get the 200 A coming in and current drops sinusoidaly. You get 60V at that point. The cap chargesto say 30V, once current reaches 0 you get none of the I*R but the cap charge. So somewhere between those two points it must peak, when the sum of cap charge and I*R is greatest, right?
Confusing concepts, as always.
Thanks brainrot.
>>
>>2940488
>So somewhere between those two points it must peak, when the sum of cap charge and I*R is greatest, right?
Intuition tells me it’s when the voltage across the capacitor and resistor are equal, idk it’s Pythagoras or impedance matching or something.
>>
>>2940488
Do your capacitors have a safe operating area diagram showing pulse length and pulse current? Or a maximum allowable avalanche energy? If not you're kinda shooting in the dark as to whether the ESR of the system is enough to stop the caps limiting their lifespans.
>>
>>2940659
Dude what? Caps don't avalance breakdown. Some will self heal after blowing a hole but that would escalate very fast as the capacity is used to limit voltage. Also I'm not aware of other capacitors ever being rated in that fashion. Much less this one KEK ist's just one of the cheapes films you can get. If you're lucky the datasheet gives you dimensions.
>>2940515
That sound sensible, we assume both to be sinusoidal and uh it will then have somthing to do with the phase shift, I mean shift by 180 and you'll get 0 sum. where they are the same. I could see that actually happen twice, like as if someone tried a fourier of a triangle and forgot the primary component. I'll just chuck something in there in the layout and place shunts if it's no good.
>>
File: this.png (96 KB, 999x973)
96 KB
96 KB PNG
So I am banging my head about
>picrel
for months now.
Charge a cap to 1 kV. The cap is coupled to a spaqrk gap via a cap.
If youre charging fast enough the coupling cap will be low impedance as the dV/dt across it is high (is it? if the impedance is low V across it can not be high - I think understanding this is the main issue in all of this).
So with the coupling cap being low impedance the V across the gap will roughly follow V of the charging cap.
Eventually the gap will break through. Literature says rise times in the pS range are possible. THz.
Literature also implies a residual R of 1R in the gap.
So at almost THz speeds the coupling cap is translucent again and we are left with the 1R across the gap.
1kV 1R 1kA. Fine so far.
But the impedance of the cap is now governed by a new phenomenon. The reverse of the charging shit.
When the impedance is low the V across it must be low and any dV/dt across it must be low, so the impedance in turn must be high? KEK.
I can't help tcoming back to some phase shifty shit. Some delay across the cap.
Anyways I can not for the life of me visualize it and get a clear picture and I can hardly repoduce experimental results in SPICE.
>picrel
I went back to basics in picrel. Two very simple equivalent models for caps, no charging phase just an initial condition, no model for a spark gap just a stupid switch.
It kinda works but my brain...
>>
>>2940715
>If youre charging fast enough the coupling cap will be low impedance as the dV/dt across it is high
the formula is I = C * dV/dt. if the switch is open and current cant flow (I = 0), then dV/dt = 0 also and the voltage across the capacitor isnt changing. for truly infinite resistance (and zero stray capacitance), the coupling capacitor behaves as a "short".
>When the impedance is low the V across it must be low
the impedance of a 100n cap drops to 1 ohm at about 1.5 MHz, so for frequencies >> than that most of the voltage will appear across the 1 ohm resistor and not the cap (and then at about 150 GHz most of the voltage starts to appear across your 1 pH inductance).
>and any dV/dt across it must be low
dV/dt = I / C = 1 kA / 100 nF = 10 gigavolts per second.
>so the impedance in turn must be high?
the impedance of an ideal capacitor never changes and is always equal to -j / (2pi f C), or 1 / (s C) if youre cool.
if you want to know what kind of resistance the capacitor will "feel" like at a particular frequency, thats 1 / (2pi f C).
>>
>>2939202
anyone ever try to DIY a grid-tie electronic load? i've made smaller FET-based loads but heatsinking hundreds of watts (much less several kilowatts) is such a pain in the ass.
>>
>>2940722
Thank you for your response. I did not expect anyone to come up with satisfactory answers right away but I appreciate anything as I am arguably stuck.
I have done a little thinking and a few substitutions real quick to make sure I am not missing anything I never thought about from a new perspective.
>>2940722
>the formula is I = C * dV/dt
Well kind of. I want to say in isolation this is true and no different from stating that |Z| = 1/jwC and thus |Z| ~ fC and any DC component is removed.
>>2940722
>if the switch is open and current cant flow (I = 0), then dV/dt = 0 also and the voltage across the capacitor isnt changing
We are still in agreement here. I understand this as a resistive divider comprised of C22 and S3. With S3 being an ideal infinite impedaance (I gave it e9) it doesnt matter too much what the rise time is, C22 will be lower impedance and thus the gap will drop the entire voltage. With C21 having been charged (its the premise), implying there was a non zero dV/dt it can be assumed a steady state is reached where the 1kV is dropped across S3.
But this phenomenon in itself is aready a weird racinf the turtle thing. There is dV/dt, so current flows, so V on both sides matches, there is no more dV/dt. I guess one side just lags behind the other, as hypothesized earlier.
Next the switch closes. Charge from the upper node is removed and in the lumped model this is only governed by R32 and L11. Charge is also removed from C21 (it is obvious individual charge carriers will not jump ideal caps please do not...).
Does this then mean when C21 = C22 there can never be more than 1/2 of the charge going through the gap? Sort of as if you looked at both caps like it was one.
If I have X charge on plate 2 of C22 the same is expelled from plate 1 of C22 and since C21 and C22 are connected it must be expelled from plate 1 of C21. But with the connecting node being not neutrally charged, but 1kV, the charge expelled from C21 plate 1 is replaced. (...)
>>
>>2940758
(...) all the carriers the gap can physically discharge are those on C22 pad 2. With those completely removed there now is room for 1 C(apacitance) worth of charge on pad1 and C21 pad2 will provide it, but they will share equally as that is the least entropy for the system. So C21 gives up half of it's charge?
I'll try rewriting that in terms of energy and proving it in a sim.
>>
>>2940759
That's bad news again. I remember how when starting this project my instinct told me coupling cap bigger more boom. So that was what I did. It turned out under fault conditions it would store enough energy to blow a hole right through any tranny.
>>
File: huilhortlerpercent.png (36 KB, 1004x419)
36 KB
36 KB PNG
And it DOES look like the simple rule to model this is:
The amount of charge a coupling capacitor C22 is able to remove from the first capacitor C21 follows C22/(C21+C22) so never 0 but never 1.
But its not too bad as obviously V ~ Q and E ~ V^2 so removing half the charge means energy wise the integral between 0.5 and 1 over 0.5*X^2 from the total energy that is gotten by integration starting at 0 is removed.
So for those example values thats 88% being removed.
>>
File: better.png (59 KB, 1394x576)
59 KB
59 KB PNG
>>2940765
sorry last time I is spams.
This time with real physics and SI units. Don't ask me about the integrals idk off the top of my head what the integrals and derivatives here would be. Like I said my brain is exploding permanently for months now, much like Sport alleges in taxi driver.
So the energy in J is just gotten from f(1000) and f(500) for the C21 = C22 = 100nF case. And the transfer ratio of energy is then just a matter of 1- (f(500)/f(1000)). Works out to 3/4 of energy and 1/2 charge dissipated in the gap.
>>
Does anyone have any opinion about whether "DC servo" circuits are a good way to remove DC offset from an audio signal, or is it sufficient to just pass it through a capacitor?
Need to convert my positive domain audio frequency wave to oscillate around ground.
DC servo circuits seem like an appropriate remedy but also seem to be an audiophile thing?
>>
I have a bunch of aa sized 3.7v lithium cells and i want to wire them all together in parallel and make a usb charging bank. 12 or 16 cells. Does each cell need it's own individual charge controller?
>>
>>2940342
>>2940343
thanks for the info, I'll see if I can get some designs and chips figured out this upcoming weekend. Only being able to control the voltage down to 0.8V should be perfectly fine for this supply luckily so going with one of those chips on the secondary side sounds like the way to go
>>
>>2940801
You need a BMS between the charger/PSU and battery pack to keep the cells balanced.
>>
File: file.png (728 KB, 1000x1000)
728 KB
728 KB PNG
>>2940688
>Caps don't avalance breakdown
I meant impulse energy. Like a maximum number of joules for a single pulse of energy.

>>2940752
No, do people even make them? I'd tend to try and get a hold of a 2nd hand grid-tied inverter, that mains synchronous stuff seems like a pain. It's probably not too hard to handle the feedback once you've got a robust pure-sine inverter circuit. But at that point you've already got a switching power supply capable of providing adjustable high-power to any non-controllable resistance of your choice. Like a big power resistor, or a length of nichrome wire in a bucket of water, or just a bunch of incandescent light bulbs pointed out your window. 2kW takes a minute or two to boil a litre of water, so a bucket would give you plenty of time.

If you want to ditch the high frequency switching and magnetics of such a load, you could instead have a bunch of switching FETs that just turn off a binary tree of load resistances. Followed by a smaller linear stage to cover the finer regulation of a hundred watts or less. Light bulbs would be a pain for this since they change resistance with heat, so I'd recommend the nichrome method.

You could also buy or make an electric furnace, if you make one you could arrange the heating coils such that they can be put in series for mains operation or parallel for lower voltage DC operation. If you have any interest in metallurgy, that is. There are other high-power loads you could use, from an additional hot water cylinder element, to underfloor heating wire, to one of those driveway snow melting systems.

>>2940801
There are power bank modules going up to 5S that handle the balancing as well as the charging and output boosting (pic), but they're designed for high current output, not for 14500s. Could do 5S3P with one, but I'd be a bit tentative to put cells in parallel without some sort of cell shorting protection like individual cell fuses.
>>
>>2940803
I found the tp4056 before I posted but i couldn't find anything that said if it was good for cells in parallel.
>>
>>2940808
Try searching for "2S8P bms".
>>
>>2940808
Cells in parallel are electrically identical to just one larger cell, so you can easily use a TP4056 for parallel cells. But even if you use a TP4056 with protection components on it (DW01 + FETs), that's just measuring for overcurrent conditions for the cells in bulk, not for each individual cell. So if one cell dies short, it's going to suck a bunch of current from its neighboring parallel cells. At extreme cases of packs with like 20 parallel cells, you're talking 20 times higher chance of failure, and any one cell failing short will probably cause the fault to produce 20 times the heat energy of that one cell, causing a fire. You have a few options:
>ignore the increased risk because you only have a couple of parallel cells, tool batteries do it after all
>put fuses on individual cells
>go for all series cells instead
>put 1S BMS circuits on individual cells

All that said, the TP4056 is not what you want for a power-bank. It's a charge control chip, but only charges at 1A and produces over a watt of heat while it does so. There are dedicated power-bank modules that handle charge and discharge, as well as bulk protection and balancing of any series cells like I described here: >>2940807. They can often input and output current at higher rates using USB QC and PD protocols.

>>2940813
I've never seen a parallel BMS, in person or online. Ideally it would handle both series balancing and parallel overcurrent.
>>
>>2940816
Sorry, a 2S BMS for each pair of cells, with the BMS boards' inputs wired in parallel to each other.
>>
>>2940807
>I meant impulse energy. Like a maximum number of joules for a single pulse of energy.
I think one could do that and it would be auseful parameter. You could even do the good old SOA graph only that it would look less complex than a tranny.
But you could probably aswell jsut give a figure for thermal impedance, ESR and max operating temperature. That shzould do since, the way I see it, caps are only limited by unironically melting something when you dissipate too much across the ESR. Other than that it's Vmax that is given.
>>2940816
>Cells in parallel are electrically identical to just one larger cell
Correct. Unless you go wild with the things you do to cells or caps, which isn when you want to consider the non ideal nature of the parallel connections. Many mfgs use nickel strips with fuse like characteristics to shed cells in the case of a short, which implies those strips have considerable resistance.
>>2940808
>>2940813
>>2940816
Idk you guys... but what is a 'parallel BMS' even supposed to do or... measure? Unless I'm getting the term wrong. But if you takw two badly matched cells and parallel them they will always be at the same voltage and there's nothing you can measure about them individually or do about it if you could measure something.
Unless this 'BMS' is in series with each of the cells in which case it's more of a power path controller than a BMS.
>>2940817
Can you sketch that? What's the point? Higher current capability BMS ?
>>
>>2940822
This thread again.
Parallel BMSs are possible if you gate each cell with, say, a mosfet.
You get some power loss, might as well do 8S with BMS and use DC/DC converter.
If you define “management” broadly enough you could detect cell differences with a current shunt, so you’d know which one to replace.
Most vendors don’t want you to replace individual cells for economic reasons, and they definitely don’t want to shell out for 50 A mosfets for each cell (even though, in bulk, they’re like 50 cents each)
>>
>>2940823

I should point out that while there’s little to no—or perhaps negative—interest in making parallel bms (I mean balancing) in the commercial sector…there’s nothing stopping anyone from DIYing such a solution since you probably have other interests than to sell batteries at insane mark-up. An single 18650 cell costs them under $2.50 each.

There was another thread on here about power tools not having cell balancing. The tool scientist(?) youtube channel looked at a bunch of power tool packs and even though the chips they were using supported balancing, they weren’t using it. Which is pretty indicative of their real goals here.
>>
>>2940822
>what is a 'parallel BMS' even supposed to do or... measure?
You know how the overcurrent protection of a 1S1P BMS board switches off a MOSFET if you push too much current into or out of the cell? It's that, but replacing the fusing nickel strips you talk about here:
>Many mfgs use nickel strips with fuse like characteristics to shed cells in the case of a short
If your cells are sufficiently well-matched and high quality, no problem. Even then, you'd be better off in 99% of cases just using fewer bigger cells. The use of 18650s in EV packs baffles me, I guess it was an economies of scale thing but I think Tesla is still using cylindrical cells. But for hobbyists trying to make the most out of scavenged batteries, I'd recommend some method to prevent cascading cell failures.

>>2940825
>there’s nothing stopping anyone from DIYing such a solution
Well there's one factor, the lack of any ASICs that can do so. Bust out the MCUs and program away, but there's fundamentally a reliability factor when dealing with code. It's just easier to slap a DW01 (or equivalent) on each cell.
>>
File: RC.jpg (35 KB, 1024x574)
35 KB
35 KB JPG
>>2940715
I honestly don't understand what you're saying. Could you try to explain what you're tryina do and what is it that you don't understand a little better? I'm not sure I get what you mean.

>>2940715
>If youre charging fast enough the coupling cap will be low impedance as the dV/dt across it is high
Well, imagine the RC circuit on the picture. The voltage across the capacitor is given by Vc = Vin * (1 - exp(-t/RC)) right? The current on the capacitor is equal to the current on the resistor (for they are in series) so Ic = Vin/R * exp(-t/RC). The impedance is then given by Vc/Ic = R * (exp(t/RC) - 1). So yeah, at t = 0, Zc = 0 and as t approaches infinity Zc grows without bounds.
>>
File: lame.png (82 KB, 1725x928)
82 KB
82 KB PNG
>>2940823
Like I said calling a power path controller a BMS is a bit of a stretch.
But I get your semantic argument. You are employing a system to manage batteries. BMS. Got it.
>Picrel
It's just lame. Also doesnt match experimental results but what do you expect from oversimplification.
So I'll just put it like that:
Up to C1/(C1+C2) of the charge can be transferred.
Also up to 1-C2(C1+C2)^2 of the energy can be transferred. (I didnt test this it's intuition).
>>
>>2940833
>Like I said calling a power path controller a BMS is a bit of a stretch.
I think the point is that your regular BMS with all its BMS features could have a parallel power path control feature added. Especially for packs with series and parallel cells.
>>
File: 2S3P.jpg (254 KB, 1285x800)
254 KB
254 KB JPG
>>2940822
>>
>>2940830
>Explain what do:
Okay:
Imagine a boost converter. But it's got no smoothing. Also the load is behavioural. When it reaches a certain voltage the load transitions from high to low impedance.
Easy peasy so far. We load the inductor up, we cut thr current, the inductor discharges into a capacitor (or stray capacitance), resulting in asinusoidal output with the SRF of the LC. Now the behavioural load is triggered, goes low impedance and the energy that was in the inductor and did transfer into the capacitance discharges through the load. Like a normal RC discharge.
Mhmkay now lets say some doofus might occassionally short the output. We dont want that that would be very bad, if we dont want to resort to active feedback current through our inductor skyrockets in no time.
So to isolate the output we place a cap ins eries with the load.
Since the LC tank gives a sinusoidal output, aka we do have non zero dV/dt we should get some transfer through the series cap. Coupling cap, whatever.
So now out behavioural load goes low impedance again. What happens next?
|Z| of our series cap was governed by SRF of the LC tank thus far. It's known that the output, when it transitions, produces rise times in the single digit pS range. So assuming an ideal series C the |Z| remains low. What next, the initial transient is over, the load is now a steady low impedance. What governs |Z| of the series C? Is there a dV/dt and where would it come from? If the cap is low impedance nothing will drop across the cap and everything across the load. If the tank capacitance voltage completely drops acros the load, the tank capacitance and the load impedance decide the dV/dt, right? This in turn decides |Z| of the series C. So is it sort of a downwards spiral? High |Z| means slow dV/dt on the tank C means even higher |Z| ?
It's all fucked up in my mind.
>>
>>2940839
What I am getting is
>>2937767
for current. And it checks out when tracing voltage in the tank. Fucking current goes back into the tank several times during the whole thing.
It's gay.
>>
>>2940838
I am still calling it a power path controller but I get the idea and see the point.
Then again I believe all of /DIY/ seems autstically anal about cell matching and balancing.
It's a bit like sharpening your spade on a fine whetstone.
Does it make a difference? Sure. Does it make sense, considering what your time, spaces and whetstones are worth? Nah not much.
Just put them in aprallel and slap resistors. Just my 2 ct.
>>
>>2940844
I think tool batteries don't use a BMS because it takes longer to recharge the pack. Ain't nobody got time fo 0.5C on a worksite.
>>
>>2940852
>I think tool batteries don't use a BMS because it takes longer to recharge the pack
I don't understand any of this. Tool batteries do have a BMS, at least for monitoring for overcharge, overdischarge, overcurrent, and overtemperature conditions. They measure the voltage of each of the 5 lots of parallel cells, and cut off charge/discharge when even one gets to its threshold. Many even have the internal hardware for cell balancing but simply don't enable it in the firmware, as is the case with both Bosch and Milwaukee if I recall.

And cell balancing doesn't make your charger take significantly longer to charge. If you balance with each charge, there should be fuck-all balance current required, ideally less than 1% of the charge current, so you just need to be sure that your balance circuitry can handle the required currents to balance live. If you've got resistive balancing, then your charge will take 1% longer. If you've got switched inductive balancing, it shouldn't take any longer at all, and the balancing process can even continue during discharge. If balance charging is taking significantly longer than non-balance charging, your batteries are fucked.

Why does any part of a BMS imply charging at only 0.5C?
>>
>>2940852
I don't much about lithium batteries other than they need more care than the old nicads and if you don't treat them right they go up like a road flare. I could go on a whole rant about how the tool companies intentionally design their batteries to fail sooner than they should and create things like coffee pots and heated jackets to put even more strain on the batteries. They want you to buy more $129 batteries you can get from China for $40.
>>
>>2940852
Why do you think slapping a BMS to shifty some current from here to there would mean it takes longer to charge your pack? I would say quite the opposite and you can get more energy in there in the same time also you can ramp them up harder.
Also. wherw did I >>2940844 mention tool battery packs specifically, or do you mean I was implying it because the regular anal thread? I see this sentiment outside of those threads too and it's still autistic. Many such efficiency or quality hunts seem to be driven by autism and have left common sense behind long ago.
>>2940854
What you're describing would at least make sense. I would not either design a system consisting of tool and pack in a way where I put part of the BMS into the tool and the other part in the charger. I would go exactly that road and put the 5 cents of parts in the pack, whwre it belongs, this way not even scenarios can fuck it up where i's uaed with a 3rd party tool, abused for whatever, shorted or idk.
>significantly longer to charge
So theres different way to balance, some dissipate energy, others just shift it frlm here to there. In the latwe case I would argue on average you get more charge in the same time. Imagine you're in constant current. You can allow a slightly higher CC if the BMS on the inside redistributes a relevant amount. Otherwise you'd have to make sure to baby the cell that draws the most. So you enter CV with a set of cells that are all equally full and should enter CV. Fonsider that someone who needs to get things done now takes the pack back out kf the charger whenever.
Yeah if you want to END charging with balanced cells. That is going to take longer BUT this will also mean you stuffed more charge in there. Else you just leave it at CV until cutoff current and you cut it. At this point some cells might still had considerable current, jist not the average.
So yeah absolutely with this anon. BMS won't cause slow charging, faster even for many scenarios IMO.
>>
>>2940833
I usually hate schematics drawn my modern programs, but I love this one for some reason.
Maybe it's the background color.
Is this LTSPICE or some other derivative?
>>
>>2940890
HAHAHA jokes on you, that's KiCAD!
>>
File: Capture.png (228 KB, 1489x702)
228 KB
228 KB PNG
>>2940807
>No, do people even make them?
yes but they're $$$. i've thought about resistive means (nichrome, space heaters, etc.) but it's a pain in the ass due to fixed resistance values. if i wanted to go that way i think i would instead just do a bucket of salt water and some big stainless steel electrodes, where i could just vary the electrode distance to target a specific current.
>>
>>2939202
>look into viability of repairing something
>find out the engineers chose a retarded custom part that is no longer made
why are they like this?
>>
>>2940890
Yeah like >>2940896 said
its just kicad with one of the standard themes, maybe I modified the theme slightly but not much. Has built in frontend for spice.
>>
>>2940943
Suppliers have female sales reps for a reason.
In an engineering company it’s like shooting fish in a barrel.
>>
>>2940947
from an engineering perspective maybe these highly integrated modules offer better performance and are more compact -- and the enginerds get to stare at stacy's tits... but i can't believe all of this can possibly offset the costs of paying big $$$ for a custom part when an off-the-shelf part can do 90% of the job for 60% of the cost. it seems like pure retardation.
>>
>>2940947
>be me
>first month on the job
>first job
>assigned to some product that will be an add on module to an existing one
>the existing thing has 2.54mm spaced 1mm drills there
>there was some. clearance issues I dont remember but the socket would be relatively tall
>still found a pretty standard part
>need one to physically try but ofc cant order just one, also we get the boards assembled so have little control over who will supply the parts and have no channels basically
>email a few companies if I can have 1 (1) pinheader for an upcoming design
>get a really kind response, male sales rep, asking if I have time that week
>yeah sure why not
turns out that guy would personally get in the car, drive through half the country and bring me my pinheader
the face when the guy who asked for one (1) pinheader lieterally wanted one (1)/pinheader.
Idk is it the autism?
Anyways female sales reps might make sense.
>>
>>2940900
> space heaters as loads
I use a few space heaters in parallel, and then adjust with these lower wattage (higher resistance) jamberry nail drier heaters as desired, i just switch them in with regular light switches as they’re less than 600 W.

It’s also a good use good use for an old ups unit with no battery. Hook up a triac dimmer on something to load to the ac side for microadjust.
>>
>>2940952
This. Always have incandescent lights and heaters around.
>>2940752
Is the requirement that is being discussed actually loading the grid or is it about shedding load, limiting current or voltage?
Does it need to be spot on?
>Dissipation is a pain
Oil and water are your friend. And yes as long as you dont chuck a ton of salt into it you can just hook a 1R up to mains anc chuck that in a barrell of water.
Also littke business idea for you: Develop and sell the following: Electronic grid load but it only works with cloud connection and is a miner. KEK
>>
So much discussion regarding lithium charging. I never botered, you just buy the IC and copy the reference layout.
But I wonder:
People always make such a racket regarding the charging profile and what not.
If we discount abnormal conditions like deep discharged cells, isn't it just a matter of a target voltage souce followed by a current source, so say you regulate 4.2V and then regulate 500mA. The current regulator will just drop whatever voltage it needs to drop to hold the 500mA, once the output arrives at 4.2V the current regulator just remains maxed out and the voltage regulator keeps the 4.2V steady. Probably add a simple comparator circuit that locks out once charging current falls below some threshold and you're done, no ?
Stupid charging profile will happen au naturel, only depending on the batteries characteristic.
>>
File: r3m4o75s9zkf1.png (2.78 MB, 1000x1500)
2.78 MB
2.78 MB PNG
Sensor question, If I am replacing a thermistor in my fridge, does the brand quality matter and if so which brands? I am just going to cut the wiring and wago the cables together.
>>
>>2940995
Doesn't matter. Not with bog standard components and as loose requirements. Chuck any kne of the correct specs in there.
>>
>>2940900
Yeah but nichrome on a hogh-power buck converter, or lots of nichrome coils switched automatically with a series of FETs, can act as a proper CC/CV load with effectively instantaneous feedback. The switched method, if you had just 6 different lengths of nichrome, would cover a factor of 64 different resistances (e.g. 2560W to 40W), and then you could use a linear stage to cover for what remains (0-40W). With enough filtration, or soft enough switching, I think the output would be pretty smooth. Not sure if you could use an analogue feedback loop and comparators, or if it would need to be digital.

If you can get the magnetics, the buck converter method is definitely easier.

Also both methods don’t make chlorine gas.

>>2940943
If you’re lucky it’s just a cheaper lower-spec version of another product with the same dimensions. Otherwise it’s only an IGBT module, even if it doesn’t fit the original spot it should be possible to bodge something in its place.

>>2940973
Yeah so the simplest stuff is the CC/CV profile, but any decent charger also has that low-current cutoff because holding the battery at 4.2V is bad for its lifespan. Good chargers should probably also have the capability to charge at a lower current if the battery is deeply discharged, usually 1/10th the normal charge speed, can probably also do that with a comparator that messes with the current sense/set resistor. Usually the current set point is adjustable via resistor, but I also like being able to adjust the endpoint voltage, as one can make batteries last longer with a lower charge voltage. But then finding a protection circuit that also has a higher undervoltage threshold than the shitty DW01’s 2.4V is tough too. I think the DW07 is decent, I think I also managed to find one for LiFePO4 cells.
>>
>>2941026
So you agree people are just retarded? I mean thats nothing than an adjustable linear reg, an OP and a shunt in my mind. And the behaviour of the system actually comes from the cell, you just give it 4.2V and a current limit.
And people act like it's science.
>>
>>2941038
Easiest method is just a 4.2V regulator plus a current limiting resistor, if you put the resistor before the regulator I think it works faster. But if you want to add proper CC action you’d be better off with a dual op-amp IC and a pass transistor and a few diodes, and your current sense side is going to be kinda funky. Then you add the cutoff threshold, and if you care about overtemperature thats another comparator, it’s always going to be more cluttered than an ASIC, and probably more expensive than a cheap unit like the TP4056 too. It’s an option if you want to make do with the components you have lying about, but if not, why bother?
>>
>>2941039
Well... that's literally what I said further up.
You just slap the IC. It's what I've done so far. It just dawned on me that once again people are retards and speak of the charging profile as if it was anything but as basic as it gets.
Same goes for
>>2941026
desu. I've alluded to most if not all of the details.
I never thought of a resistor, yeah, thats even simpler, one could say really sad but heh.
2 compartors for a most basic circuit (well more complex than the resistive current limit).
Why?
I mean you'll need at least a linear anyways. For the target voltage. Now since you need a 3 lead thing anyways you might aswell just get an adjustable lin reg. Same size weight price etc.
If you got that you need one comparator that manipulates the adjustment divider when the target current is met on the shunt. That's it really. Could do it using an OP so you get some continuous regulation.
Oh well I already promised someone what my next project will be and it wont be a charger but a motor controller for electric bike. Got two big ass forklift hydraulics series wound motors for it. It'll be entertaining.
>>
>>2941003
Thanks!
>>
>>2940951
>that guy would personally get in the car

understand that this is their job:
connect with unknown manufacturers,
smoke them out to see if they could become a future million dollar customer
or yet another VC-backed startup disaster
>>
Anyone has experience using starter motors in projects? Can they be run continuously without problem? I don't really need crazy torque or power, but it will need to run for quite a while (half an hour to maybe an hour tops). I know in a car you're not supposed to do it but in that application it has to do with the battery and with the fact that there's power needed to crank the whole engine. I don't put that much load on it, would it survive? Would it last?
>>
>>2941231
They can not run continously under 12V and load. But you can drive a car with a dead engine bit by bit with it. Until you get greedy and burn it out.
>it has to do with the battery
no the starter
>I wont out much load on it
Well then reduce the voltage it wont even be able to draw much current should load go up. It will dissipate the little power it looses.
But: WHY?
You have bot given one single reason why you'd want to do this. And this is sort of typical for /DIY/, poibtless decisions to the max.
There is two appeals starter motors have: The solenoid is built in and good for several kA.
They are optimized to draw several kA at 12V for short periods of time. They will unironically put out 10s of hp.
So:
Yes it will not burn out in continous operation if your unspecified load is low enoigh.
And it will be shit. Whatever it is.
>>
>>2941240
I want to make a shredder for 3D printer scrap so I make new filament, the motor is for powering the shredder. I found some really really cheap around here and thought about using them for it.
Would washing machine motors work better?
>>
>>2941242
I don’t know about any brushes in the motor, but you could probably run it continuously on a low voltage with a PWM speed controller. So long as the PWM speed is fast enough the FET wouldn’t need to cope with anything other than the rms current through the motor. But it’s still going to be several amps, meaning a somewhat expensive dc power supply.

A washing machine motor can run directly off mains, and if it’s a brushed universal motor you can control its speed with a TRIAC speed controller. If you don’t need variable speed, then even an induction motor will work, you’ll probably need a pretty extreme gear reduction regardless. Personally I’d be looking out for mains gear-motors, i.e. induction motors with a worm-drive already bolted to them, such as what you find in engine hoist winches or garage doors.

Without a gear reduction you’ll probably find it draws more power and stalls more easily.
>>
>>2941242
>washing machine motor
Look. They all will do the job. Every electric motor will convert eleczrical to mechanical energy. Now if I was you I'd just get a commercial unit with specs that are known and defined, fit my requirement and comes with a stabdardized or at least simple to work with mounting flange.
But yeah a washing machine motor will definately have the power required and is at least made for continuous operation so it is more likely to perform well in that capacity than a starter and assuming you have mains and assuming the donor washing machine is from your area you will have the benefit of the power supply being sorted. Are you russian by any chance?
Meanwhile I'll wonder how on earth a single guy accumulates so much 3D printer scrap that it seems worth recycling into filament and also is too much to just manually cut and smash. >>2941258
Many washing machine motors now are brushless motors. Usually the mfg is proud of that and puts a sticker on it. So it's easy to ID.
>>
>>2941274
>Are you russian by any chance?
No but I'm a third worlder.
>how on earth a single guy accumulates so much 3D printer scrap that it seems worth recycling into filament
Give it enough time and you just end up with quite the pile...
>>
>>2941275
>quite the pile
So it's too much to idk, stuff it in a big bag, jump on it, maybe go at it with a hammer until required size?
Because
>Give it enough time
sounds like its a single or at best slow periodic occurance. And I'm just saying that maybe construction of a device that will do a job for you might end up being more effort than just doing the job if the job isn't that much after all.
>>
Hello, /ohm/. I have a project coming up that will involve crimping on the order of a hundred connections of various kinds, some small and fiddly. A failed connection would require picking through a rat's nest of wiring later. What's a good crimping tool that won't make me hate it? Are there any suppliers of connectors I should avoid or seek out? Also, there's soldering to be done, and I've been getting by with el cheapo basic irons. What's a halfway decent soldering workstation?
>>
File: 20250828_050022.jpg (741 KB, 1296x2367)
741 KB
741 KB JPG
Finally! USB isolator module.
I'm even pretty happy with the isolation distance on the board. Only where the DC DC sits it gets a bit closer but fine for 1,5 kV.
What's that switch? Seems to ground the optos cathode. So I guess it enables the opto, no idea what that thing even is for though. Enable the IC?
>>2941313
Get a western name brand crimping tool. Even for simple and small projects. Yes they are expensive. But crimping tools is one of those things where quality really matters and makes the difference between does the job and endless frustration. Get a cheap eastern one: Connectors will stick in it after crimping, it will rip connectors apart, crimps will have high resistance or just slide out, connectors wont mate...
Soldering:
Recently shilled in another thread what I'm working with. An atten close, silverflo 8586D III Pro, for 30 bux. Does the job, has air. Save money on the iron. Do not cheap out on tips. Good tips cost money. Cheap tips, not cheap irons will frustrate you.
Get a soldering transformer for stuff that needs 200W.
>>
>>2941335
>But crimping tools is one of those things where quality really matters and makes the difference between does the job and endless frustration.
Which is why I asked for recommendations of a specific model.

>Do not cheap out on tips.
What tips would you recommend?
>>
>>2941336
>Which is why I asked for recommendations of a specific model.
You have not explained which connectors you are looking to crimp. So how can anyone recommend a specific tool? There's great likelyhood that none of the regulars here even has any experience with the connectors you're looking to crimp as there is virtually infinite of styles of crimps and associated tools.
>What tips would you recommend?
If you go with what I recommended its something something 900 tip. Just search online for 900 soldering tip and you shall find. If its a couple of bux per tip its good. If its several tips for 3 bucks it's lightweight mystery metal, needs 400 degrees C to do anything and cools to basically back to ambient upon contact with anything.
Light weight is a dead giveaway for a shit tip.
Also do not get bare copper tips that is ancient technology.
>>
Ok, /ohm/, I got two questions, both very basic and perhaps kind of dumb.
1. Do microprocessors and microcontrollers have a set amount of current they take in, regardless of the amount of current that a power supply can give them?
2. What are some good, well-documented ICs for making a 120VAC to 5VDC switched-mode power supply? I'm specifically thinking of making one to power a 5V microcontroller (specifically the Atmega328p) from mains voltage for the purpose of controlling temperature and humidity, so I'm guessing my output current would probably be about 300mA.
>>
>>2941335
CHANG!? WHY DO YOU TREAT ME WITH DISCONTEMPT??!
The thing sucks ass. Connection craps out.
>>2941358
You provide them with a voltage, more often than not either 5V or 3.3V. Depending on activity they will then draw current as needed. The datasheet typically gives you estimates how much current they will draw under various conditions.
>300mA.
Havent checked but my suspicion is making a 328p draw 300mA will fry it fast. Like I said: Check the datasheet.
>What are some good, well-documented ICs
They are all well documented unless you go the extra mile to track down the cheapest and most obscure chink chips deep south east asia has to offer.
VIPER22A is one of my gotos.
Just do a web search or check with the usual suspects like ST Ti AD ...
Also if you just need the thing to do something that is actually novel with it: Buy it. It will be cheaper.
If you want to do this in order to learn something:
Design and build it as discrete as possible.
Buy chip, copy reference layout -> 0 leranings.
>>
>>2941313
If you want a soldering station that makes a variety of work both comfortable and fast, I’d recommend some cartridge-tip system with a short tip-to-grip distance. From what I’ve seen, you’re looking at some T12 pencils, or basically all T215/245 pencils, maybe SH72 tips or Thermaltronics tips or whatever too. Cartridge tips such as these respond faster to thermal loads and can be more compact for the same power rating. It’s hard to recommend a T12 station since they’re not the most reliable or well built, while the handheld USB irons aren’t nearly as ergonomic. T245 stations tend to be pretty expensive too. If you look on the “custom stm32 t12 station firmware” github page you’ll see recommendations for particular T12 controllers, and some hunting about might get you a station with the right pencil and that allow you to use an external non-chinky 24V brick, but it will be a hassle. The PSU in my T12 station hasn’t died but the MOSFET did, though I replaced it and it still works great.

I’d recommend investigating the crimping and soldering services from people like JLCPCB too.

>>2941335
The dinky little isolated power converters on those aren’t good for much, I’d recommend a USB isolator with a power input.

>>2941358
As the other anon said, they draw what they need to.

As for ICs, the TNY series off-line switchers are common, but the good-old TL494 with enough supporting components is good too. Especially if you need it to be isolated, as the TL494 can work as a push-pull converter with a normal transformer instead of a flyback converter that needs a more specialised flyback transformer.
“Off-line” Is the terminology you want, browse some manufacturer websites and see what solutions they have for you.
It’s also an option to use a capacitive dropper, if you don’t need an isolated supply and your supply current is sufficiently low.
Or just use a spare USB adapter. Or for max reliability, use a mains frequency transformer.
>>
>>2941337
>You have not explained which connectors you are looking to crimp.
Various 2.54mm JST, 2.54mm Dupont, Molex micro-fit, 3.7mm insulated fork, m4 insulated ring, IEC spade.

>So how can anyone recommend a specific tool?
Mention a good brand or product line with offerings that cover typical use cases, or instead that it's a fragmented market in which there are only ad hoc limited specialty options, and I'll need to track down the individual worthwhile tools from multiple companies.

>what I recommended its something something 900 tip.
See? Like this. You don't know about what sort of soldering I'll be doing, but you gave a targeted suggestion that covers a variety of use cases and lets me focus my search.

>>2941392
Thanks for the input. Thoughts on this? https://www.amazon.com/FNIRSI-DWS-200-F210-F245-Temperature/dp/B0D8YBWWB6
It's an early search result that seems reasonable at first glance. Probably not the longevity of a more expensive unit, but the soldering will be in occasional service to other hobbies rather than a hobby itself, so I'm not too concerned about that.

>I’d recommend investigating the crimping and soldering services from people like JLCPCB too.
Not really viable in this case. I'm not concerned about the painstaking detailed nature of the project, I'm just looking for a crimping tool that will do a good job.
>>
instead of using 8 DACs to output voltages, I want to use one DAC and a multiplexer chip to send voltages to 8 sample-and-hold circuits
I don't really have a good intuition about whether I'm just going to cause myself a headache, is there anything to be said for that approach?
The voltages only need to change every few seconds.
>>
>>2941509
I'd say that's overkill, there's small enough T245 tips for 0805 if not 0603 use, and T210 tips are capable of soldering XT30s, probably XT60s too. T210 tips are only needed for really fine work, and T245s are only needed for exceptionally heavy work. Seldom do you need both options.
Feature set and everything looks incredible for that price, considering I paid a third of that just for a T245 stand, but it makes me wonder what the quality control and reliability is like. I'd strongly advise you to buy something with plenty of reviews, especially one or two in-depth video reviews so you can see the ins and outs.
>>
>>2941528
>but it makes me wonder what the quality control and reliability is like.
From the reviews, it appears to be mid-grade Chineseum. Will probably work, but there's a non-negligible chance of a random problem. However, there seems to be actual customer support for that one.
https://www.amazon.com/gp/customer-reviews/RZ63FKWUMUFQF/
>>
File: file.png (514 KB, 2495x1509)
514 KB
514 KB PNG
I made this solar charge controller board, and it doesn't work.

The IC is a CN3795, and it's a buck-converter that monitors its output current and input voltage. It performs an approximation of MPPT action by preventing its input voltage from going below a threshold set by resistors, I've set it to 18V. It performs CC/CV regulation to charge the battery, with the current threshold set by the sense resistor, and the voltage threshold set by another voltage divider, I've set it to 12.0V because I didn't have the resistors to set it to 12.6V on hand. It also works as a buck converter even without the presence of a battery, which is definitely a nice feature.

When I connect it up with a resistor instead of a battery, it will happily dump over 10W into the load, it seems to have no trouble whether the panel voltage is above its MPPT setpoint or limited by it. When I connect my 3S 18650 battery to it however it draws like 3mA, even though its voltage is 11.5V and the output is clearly 12.0V, the voltage at the screw terminals drops to 11.5V when I connect the battery. The battery charges fine on a CC/CV charger at half an amp at least, so I can only conclude that the IC is just shit at operating when the voltage output is close to its setpoint. Do I have to construct a CC/CV variable load? I think I can make one just with a CC/CV PSU with a big resistor on it.

That said, even when powering a normal load, I'm getting some pretty bad ringing on the switching node at 1MHz, with a decay time constant of 5uS or so. It's meant to switch at over 300kHz, so it's really not dying out before it switches again. I hope a pair of 0805s is enough to eat up this energy, because that's the series footprints I've got to work with for the snubber network I left unpopulated.

Any insights?
>>
>>2941533
Hmm. The snubber definitely got rid of the noise (2.2nF and 470 ohms), but didn't solve the charging problem. I made a makeshift constant-voltage variable load by putting a power resistor in parallel with my variable power supply, and found that at 11.4-11.5V or so, the charger will put 0.47A into the battery just fine. But then when the voltage increases to 11.7V, it drops right down to 20mA. You then have to reduce it back down to 11.4V for it to start charging at 0.47A again. The charge LED remains on throughout all of this, so it's not terminating the charge like is described in the datasheet. But maybe it's still the intended charge termination cutoff procedure. I think I'll bodge an extra resistor on there to get it charging up to 12.6V and see how it fares.

Wait but there's apparently enough voltage drop to the load that it is actually terminating at about 12V? And cranking it up to 12.1V causes the red light to turn off, so maybe the snubber did work? Anyhow, I've added another resistor in parallel with R14 and it's up to 12.4V which should be good for now. It was that or 12.66V, damn I really should have put a multiturn trimpot in here.
>>
>>2941358
> good, well-documented ICs for making a 120VAC to 5VDC
Just use a mini USB charger. It’s a commodity part at this point.
A third of my wall outlets are already replaced with ones that have 2 or 4 USB outs built in.

A secondary source might be to tap off anything with a transformer. Example: if this thing is going to be near your stereo receiver, usually you can tap off a bunch of voltages from that, and maybe regulate them with a 7805—possibly the most ubiquitous IC in the world.
>>
File: HR202L expanded.png (546 KB, 2400x1800)
546 KB
546 KB PNG
Ok so I've got a humidity sensor chip like the HR202L, but it's only designed for use above 20% humidity, and I've never seen a sensor that goes below 10%. Since I want to measure humidity of filament drying at high temperatures getting below 10%, I'm going to try and get readings of this part beyond its expected range, and you can see how I've expanded the graph from the HR202L's datasheet to estimate what kind of area I'll be working with. That's probably at least 100M for 55C drying of filaments like PLA, probably down below 10M for drying of filaments like PETG and ABS at 65C and above.

These sensors are generally intended to be used with bipolar driving voltage to prevent permanent effects from electrochemical action, with these dry environments that probably won't matter but probably I'll do it anyhow. My problem is that I'm trying to measure 100M of resistance. One neat idea I saw for measuring the resistance with bipolar driving is to use it as the resistor in an RC oscillator, because it's much easier to measure a square wave's period over multiple orders of magnitude than it is to have your ADC circuit switch gains to measure multiple orders of magnitude of a voltage divider. My normal attempt would be with a 74HC14, naturally that's got an awful input leakage current so I'll instead have to buffer it with a high input-impedance op-amp. 5V/100M = 50nA, so I probably want less than 1nA input leakage current. The COS855x chopper op-amps I've got reckon they get 3pA offset and bias current, so I'm good there. Then there's choosing the constant with the capacitor. 10nF seems large enough to not run into stray capacitances, it would result in an RC constant of 1s, which is kinda long but I can deal with it. There's no internal diagram but I'm going to assume I can't use it as a comparator.

Since I want the sensor to be remote to the readout screen/datalogger, I'll have to put the op-amp buffer right next to the sensor chip, maybe the entire oscillator, right?
>>
>>2941817
Oh FYI I can calibrate the sensor with salts, LiCl especially seems promising:
https://www.engineeringtoolbox.com/salt-humidity-d_1887.html
Naturally I'll need a thermistor next to the hygrometer chip. Man I hope thermal EMFs won't bite me in the backside.
>>
File: Untitled.png (105 KB, 725x583)
105 KB
105 KB PNG
the new black lion audio word clocks use MEMS oscillators. the latest MEMS oscillators are supposed to outperform crystal oscillators. in europe the availability is still poor, the mini wouldn't be ludicrously expensive at $299 but it's probably going to cost around $400 in europe. couldn't i DIY this type of thing though? would i need to order custom PCBs, i don't know how much that would cost?
>inb4 questionable benefit of word clocks
in some cases they have been shown to have a measurable benefit as well as people hearing a difference
https://gearspace.com/board/so-much-gear-so-little-time/41992-does-clocking-rme-fireface-800-change-s-sound.html
>>
>>2941874
Yeah I bet you could make one cheaper. With an OCXO if you want to make it really stable.
Custom PCBs are in the $10 range, more if you’re getting them to solder parts too, and the shipping can cost a fair bit depending on where you live. I usually only do a PCB order when I’ve got at least 4 designs to get made and shipped at once, though lately I’ve also been getting them to solder tiny SMD components on them too, especially when I don’t have an equivalent part in storage.
>>
Anyone know of any through-hole chips like the 74CBT3245 that are still in production?
I'm finding other bus transceivers but the fact that this is inherently directionless is really nice.
>>
File: high_pass_filter.png (591 KB, 2040x2515)
591 KB
591 KB PNG
Can someone help a clueless idiot out? I don't know shit about electronics.
My car's speakers died due to water damage and I need to replace them. The new tweeters don't come with a built in high pass filter but two crossover boxes. I don't want to rewire everything and thus need to put the high pass filter into the A-pillar just in front of the tweeters. From what I can tell the provided crossovers pass the full range signal through to mid/subwoovers anyways, so leaving it out won't be a problem, but they're so absurdly big I can't fit them in there and need to rebuild them.
Pic related is the circuit diagram from what I can tell. I don't really need the ability to switch in the 3 Ω resistor (and I don't know what the fuck the inductor is supposed to do here). Apparently this is called a Butterworth filter or whatever, but all the diagrams I can find for those look different.
I don't know what the top component is. The two options I came up with are
1.) thermistor to switch in the 2 Ω resistor to stop the tweeters from getting fried in case the amp puts out more power than they can handle (seems reasonable). But this and the next option look the same, and the print on it (double squiggly line X50 OMOA) isn't helping
2.) ceramic capacitor in the pF range to do ???

From what I can tell that leaves me with three options
a.) Before I cracked this thing open I thought this was all I needed
b.) If the unknown component is a thermistor this seems like the prudent thing to do
c.) They probably had a reason to put the inductor on there?
The more I have to cram in there the less durable it's going to get, and I can't etch a new PCB, so I'll just have to solder components together in series with the wires, wrap it up in foam and tape and hope for the best, so ideally I'd want to go with a.) or b.). But I have no clue of c.) is necessary.

TL;DR: What's the round, brown thing? And do I need the inductor for a high pass audio filter?
>>
>>2942111
>What's the round, brown thing? And do I need the inductor for a high pass audio filter?

inductor: yes, the cap passes hi frequencies, the coil kills lo frequencies
by combining their powers, they double effectiveness

brown thing: most likely it's an MOV, used to kill voltage spikes
but its position makes no sense in your diagram
so, best guess is your diagram is wrong
if it were really in parallel with 2-homo resistor, then it'd be right beside it
>>
>>2942111
If it is where you've drawn it, it could be a thermistor.
If that's a PTC thermistor then it will act like a resettable fuse, though with a normal power resistor in parallel maybe it would more act like a compressor. Allowing 100% of the signal through with low signal amplitudes, and less signal through with higher signal amplitudes.
If that's an NTC thermistor then instead it will do some inrush protection, though I doubt it would do much unless your tweeter is drawing a fair bit of power.

Try asking one of those reverse image search AIs what it is.
>>
>>2939202
Any basic oscilloscope recommendations? I'm looking for 4 channels as a minimum. No fancy functions, just V/s, x vs y, trigger level (obv), and possibly a cursor. Budget ~$500.
>>
File: circuit.png (882 KB, 1681x2272)
882 KB
882 KB PNG
>>2942119
I don't think the diagram is wrong, it's a pretty simple single layer PCB. But maybe I fucked up somewhere, pic related.
Don't inductors kill high frequencies? The 180 μH inductor on this board would work for a ~2500 Hz passover frequency if used in series as a low pass filter. I didn't consider that it'd short out frequencies lower than that in this circuit, that makes sense I suppose. Didn't see anything like that in the high pass filter designs I googled oddly enough.

>>2942128
I just tried that, good idea. The reverse image search tools come up with small, round, brown components, which doesn't really narrow it down much. I was hoping the symbol would mean something to someone, I couldn't find it in any electronic component symbol list sadly.
At the end of the day a resettable fuse and a thermistor would mostly play the same role in this diagram, I think? Inrush current protection sounds important if that's a risk, but I haven't seen that in any other high pass filter diagrams.
>though I doubt it would do much unless your tweeter is drawing a fair bit of power.
They're 3 Ω speakers and I'm just using an aftermarket android radio without additional amplifier, so it probably wouldn't be necessary. Some posts I found on similar things said this is a ceramic capacitor. I don't see how this would make any sense, but I don't know shit about this stuff, so I'm unsure. I suppose it would at least have the capacitance printed on it if that were the case.

Thanks for the feedback.
>>
>>2942134
>Don't inductors kill high frequencies?
>The 180 μH inductor on this board would work for a ~2500 Hz passover frequency if used in series as a low pass filter
A filter is just a voltage divider with frequency dependent components. If a series inductor and parallel capacitor make a low-pass filter, then a series capacitor and parallel inductor make a high-pass filter. Same applies to RC and RL filters. By putting an inductor in parallel with the tweeter, it acts like a lower impedance than the tweeter for low frequencies, so current preferentially travels through this inductor and not through the tweeter.

>At the end of the day a resettable fuse and a thermistor would mostly play the same role in this diagram, I think?
Yeah, PTC thermistors are often used as resettable fuses. Inrush protection is often used with audio circuits, but more often it's on the input of a mains-powered unit so the initial charging of the PSU caps doesn't trip a breaker. In principle it makes sense to mitigate the turn-on pop you get from a series capacitor like in a crossover, but not so much with a parallel resistor, and I'd hope this amplifier has minimal DC bias anyway, for the woofer's sake.

Well if you have a multimeter it should be pretty easy to measure the component's resistance, at least after you desolder it so it's not in parallel with the resistor. That or you can use an adjustable power supply to put 100mA-1A through the pair and measure effective resistance by proxy of V or I.
>>
>>2942140
Makes sense, I'll go with the full circuit then. Getting it small enough shouldn't be a problem without board and case anyways, I was just hoping to go with something that requires less connections that, knowing my luck, will probably break a year down the line.
>By putting an inductor in parallel with the tweeter, it acts like a lower impedance than the tweeter for low frequencies, so current preferentially travels through this inductor and not through the tweeter.
But the capacitor has high impedance at low frequencies already. I saw low cost coax speakers that use a singular capacitor or inductor in series in front of tweeter/woofer, so I assume that works at least somewhat. Does the additional inductor in parallel really improve the high pass filter or is it some esoteric audiophile thing? I couldn't find a low/high pass filter with a circuit diagram like this, so I'm just confused/interested why they'd do it like this.

>Well if you have a multimeter it should be pretty easy to measure the component's resistance, at least after you desolder it so it's not in parallel with the resistor. That or you can use an adjustable power supply to put 100mA-1A through the pair and measure effective resistance by proxy of V or I.
Good idea, I'll try that when I have time. I need to resolver them anyways. I don't have an adjustable power supply but I can probably rig something up with an old ATX PSU and some resistors.

Thanks again for the help, I'm in too far over my head to make sense of this with googling around.
>>
File: Basic Filters 7.png (87 KB, 2354x2413)
87 KB
87 KB PNG
>>2942143
>I couldn't find a low/high pass filter with a circuit diagram like this

term to feed into google mages is ''LC high pass''
>>
>>2941358
>humidity control
FYI there exist controllers like the W1099 that can control both temperature and humidity at once
>>
File: LTC3108.png (328 KB, 2478x1648)
328 KB
328 KB PNG
>>2939202
>>2939202
I’d like to ask for your advice and feedback on a breakout board I’m currently designing. The board is based on the LTC3108, configured to output 3.3 V thanks to the VS1 and VS2 pins configured like that. A Peltier module will be connected at the input to enable energy harvesting.
Since this is my first PCB design, I have a few questions:
- Are the traces routed correctly? The wider ones are 16 mil, and the thinner ones are 10 mil. I based these widths on a reference design I found.
- Is the ground plane filled properly, and is it acceptable to connect the GND pads to it using vias as I did?
- Is it safe to route traces under the IC, or could this lead to potential issues?
>>
File: 1759132525342734.png (106 KB, 981x741)
106 KB
106 KB PNG
Playing with isolated buck-boost simulation. Does this primary current shape seem okay? The ST app calculated the transformer should have about 100 µH in the primary. I tried replacing it with a real type (wurth 750313457) which has just 9 µH of inductance.
>>
File: 1751867974786712.png (107 KB, 1141x703)
107 KB
107 KB PNG
>>2942256
ST buck-boost IC
>>
https://habr.com/en/articles/451246/

why does it have an LCLCLC filter with slightly different cutoff frequencies for each? the target frequency should be 13.56 mhz so why not a single LC filter?
>>
>>2942239
So, you’ve got a whole side dedicated to 3 traces?
I’m not sure you need a backplane at all, plus capacitive loading on those traces surrounded by said backplane but I don’t know what the frequency is. Are you getting this approved for retail sale and keeping the emf low? … this is why ref designs are this way.
Generally high current traces are fat, yeah.
I assume you built one already with wires tacked onto the chip to test it out first, yeah?
Traces look unnecessarily circuitous (that’s an odd word to use on a literal circuit)
>>
>>2942239
A lot of snaky traces that could be minimised if you rearranged where connectors are on the board. Add test-points, probably mounting-holes. Any extra footprints for components you might need in the future too. You may want to consider spacing your pins apart to be compatible with breadboard or perfboard’s 0.1” pitch.
Because it’s a switching converter, it’s best practice to minimise the loop area using a layout similar to the example on page 16 f the datasheet, though it also says the lower frequency makes it less critical for EMC.
The ground layout looks mostly fine, but where the VOUT2_EN trace curves it blocks off the plane a bit between those two vias. Why does the transformer pin 1’s trace even go to the back side in the first place? You can also have the back side traces for PGD and VOUT2_EN just connect straight to the connectors.

>>2942256
I’m not sure about that negative 2A peak in the current waveform. Otherwise, so long as it can handle the 200kHz frequency and 3A peak current, sure. Seems odd that the SW node is going up to 36V when the input voltage is 24V though.

>>2942270
Each stage of a filter influences the frequencies of the nearby stages, especially so when you’re trying to ensure an impedance match on one or both sides of the filter. Only if you calculate or simulate the transfer function can you learn what kind of curve they’re going for. Even without that influence, a chebychev filter will use different effective frequencies to attain a sharper cutoff than a butterworth, which when each stage is buffered does have the same LC constant for each stage.
>>
>>2942270
> an LCLCLC filter
Looks like a LCCCCCCCLCCCCCCCLCCCCCC filter to me. Last one “only” has 6.

My guess is that they stol^h^h^h^h obtained too many of these capacitors from the back of a truck somewhere.
Odd how the first ones are 500 V and all subsequent caps are 1000 V.
I don’t get it.
>>
>>2942205
Yeah, I know, but I'm mainly doing for the learning experience. I mostly wanna prove to my boss that he doesn't need to pay for low-quality, overpriced Chinese or Brazilian-made controllers when a domestic-made one will do the job just fine.
>>
>>2942285
>negative 2A peak
Wurth app note says it's because the L6983 has synchronous rectification. This allows an increase in transferred power, as the primary current is allowed to reverse its direction. Without synchronous rectification there would be a Schottky diode instead. It would block almost all transformer reverse current.
>>
>>2942387
Yeah but either way there shouldn't be negative current in the inductor. There should be positive current coming from either the positive rail or 0V rail, but I can't understand negative current.
But that's just my thinking from normal inductor buck converters, I'm not sure if that changes because you're using a transformer.
>>
File: 1756237434182579.jpg (274 KB, 1280x960)
274 KB
274 KB JPG
I hardly understand what's being discussed in these threads, but the ol' brain feeling pretty fuckin huge right now
>>
File: 20250902_155221.jpg (1.17 MB, 1645x1784)
1.17 MB
1.17 MB JPG
What causes this type of corrosion?
It's an ENIG coated PCB and it has conformal coating
>>
>>2942443
Leaking capacitors and batteries are usually to blame. The corrosive reaction spreads like multiplying bacteria, riding traces like roads. Neutralize with white vinegar before the repair.
>>
>>2942444
There are no capacitors nearby and I bought this TV receiver new a year ago
>>
>>2942445
Maybe somebody spilled something and didn't tell you. Can you post another pic showing more of the PCB?
>>
File: 1757141821679353.png (84 KB, 519x729)
84 KB
84 KB PNG
>>2942399
I know it's nothing like RF which is just straight voodoo but switching converters really feel a bit like magic.

https://www.we-online.com/components/media/o109025v410%20ANP017c_EN.pdf
>>
File: 1753975144263181.png (82 KB, 508x762)
82 KB
82 KB PNG
>>2942490
With old school non-synch. converter the negative-going part of the waveform is not transferred into the output winding.
>>
>>2942490
I see, page 6 describes how the transformer needs to be modelled with a parallel inductance to represent the energy-storage action of it, indicating it to be a flyback transformer. I guess it makes sense that the isolated form of a buck converter uses the same magnetics as the isolated form of a boost converter. Screw that, I’d rather use a conventional transformer with a push-pull or forward topology.

>>2942492
Explains why they recommend the synchronous rectification here and not for other low-power converters.
>>
>>2942270
>>2942285
one more question... what's the point of C74 and C62 next to Q1? i get that C49/C45 are DC blocking capacitors and L8 forms an LC resonance circuit with Q2 input capacitance of 800 pf (with a 13.26 mhz calculated frequency) but i don't understand why C74 and C62 are necessary?
>>
>>2942519
They’re very small capacitors, I’m guessing they’re to limit dV/dt. 200pF and 9μH makes a 3.7MHz resonant circuit, so it’s not exactly a slow rise, but there’s no other path for the L7 current to go after Q1 turns off. C49/C45 has a series inductance, so they don’t eat the initial spike once Q1 turns off. Damn it’s a funky gate drive circuit for Q2 though, I’m guessing it’s higher frequency and higher power than a monolithic drive IC or a gate drive transformer.
>>
>>2942533
i think the L7 and L6 are RF chokes intended to keep the +10V and +22V power rails clean, at least that's what they were saying on eevblog.
>>
>>2942445
Looks like rainwater buildup/residue I see inside satellite LNBs.
>>
>>2942535
If L7 and L6 weren't meant to be acting like inductors, then Q1 and Q2 would be shorting out the rails when they turn on. I think the Q1/L7 and Q2/L6 circuits should be looked at as something closer to class-C amplifiers.
>>
>>2855435
frick you anon
it works, audio waveforms from toggling a GPIO pin on the Pi Pico
put that in your pipe and smoke it
>>
>3D printing a little desktop LED lamp of my own design
>know very little about electronics
>have 12V LED strip, 12V rocker switch, and 12V 1A AC adapter
>don't know exactly how much current the LED strip consumes, but from what I can find online for other lengths, 1A should be plenty for a 12-inch strip with 12 LEDs
Now for the question:
The LEDs came attached to two thin, single-strand wires, while the rocker switches came with 16AWG wires.
Is there any problem with mixing wire diameters like this in a circuit, or is 12V/1A too low for it to really matter? I already hooked everything together as a test and it does work, but I mean in the long term with regard to the health of the LEDs or housefiring myself or something.
>>
File: LED packages.png (354 KB, 1278x904)
354 KB
354 KB PNG
>>2942551
>1A should be plenty for a 12-inch strip with 12 LEDs
Yes that is likely the case. 12V 1A is 12W, spread across 12 LEDs is 1W per LED, usually those LEDs handle half a watt each at the maimxum. You can measure the dimensions of your LEDs to check what package they are to know for sure, pic related. You can also usually calculate 12V LED strip current draw from the values on the resistors, by assuming each resistor is dropping 3V.

When it comes to short distances of wire, the limiting factor is how much the wire heats up when the current of the load runs through it. Thicker wire heats up less because it resists less, P = R*(I^2). So long as your wire is all rated for an ampacity of 1A or more, it doesn't matter if you go to and from 12awg or 18awg or whatever.

The 12V 1A wall brick is going to be your main insurance against a house fire. Modern power bricks like that turn off their output when you draw too much current from them, so there shouldn't be any risk of fault even if there's a short-circuit at the output. That said, it depends on how much you trust your power brick, so you may consider putting a fuse in series with the power supply, as close to the power source as is reasonable. Over-rating the power supply (e.g. using a 1A supply on a 0.2A load) is also going to result in the power supply remaining cooler when operating, which is probably the case for you anyhow.
>>
>>2942551
>The LEDs came attached to two thin, single-strand wires

if you google something like ''wire gauge current limit'' you'll see 26 gauge can handle 2.2A
so no worries
a simple quick check you can do is just hold the wire in your hand
could the heat from that wire conceivably set anything on fire?
even if you're a flaming faggit?
>>
File: 1755798933229182.png (177 KB, 1355x787)
177 KB
177 KB PNG
This isolated dc-dc buck transformer has four windings
- N1 (primary) 1.43
- N2 1.00
- N3 2.86
- N4 2.86

I only want to boost voltage with an isolated buck-boost converter. Is it okay to use N2 as primary? In this way I could enjoy having three isolated and higher voltage supply rails.
>>
>>2942683
Yes it should be fine, there’s nothing particular about the primary winding electrically. But the isolation gap between N1 might be greater than the other three, in case you’re pushing hundreds of volts of isolation. You see, they’ve only tested the isolation from N1 to the other windings.
>>
File: IMG_4744.jpg (2.73 MB, 3169x2289)
2.73 MB
2.73 MB JPG
>>2941817
Oh damn these sensors are capacitive instead of resistors. No clue why they thought it would be better to define their resistance with a 1kHz sine wave instead of just defining their capacitance. Anyhow, those resistances correspond to a capacitance that ranges from 300nF to 3pF, so I put it in an oscillator with a 1M resistor and an op-amp to buffer it. Also two 10k resistors forming a voltage divider so the other end is reference halfway to ground to minimise DC bias. I’ll use a CMOS 555 timer as a Schmitt inverter to this end.

But now that I know it’s capacitive, that 3pF is getting close to my noise floor. The humidity sensor chip itself is 1mm from a ground plane, making at least 0.3pF of capacitance, and the op-amp’s input capacitance isn’t stated in the datasheet. Because it’s a chopper op-amp, I’m wondering if that means it has some inherent sample+hold capacitance that might mess with me…
>>
>>2941929
i'm not finding a convenient clock generator solutions for frequencies like 44.1kHz with <1ps jitter. ICs like LMK03318 are for MHz frequencies. SiT95141 seems like it would work because you can program it to frequencies in the kHz range but it's not available on sites like digikey.

grimm audio clocks seem genuinely good with people saying they're in a different league than black lion audio and even superior to the antelope 10MX but they cost $1k+ whereas a DIY solution might cost a small fraction of that but at least the grimm audio clocks don't seem half-assed like the black lion audio stuff.
>>
maybe Si5340 series
>>
>>2942815
If you can find a crystal that divides evenly that would be great, dividing by a few hundred is trivial with CMOS logic. But once you need a PLL that multiplies frequencies, too, you end up with clock jitter from that PLL. Seems like 22.5792MHz and 11.2896MHz, and they have nice easy multiples of 5*2^10 and 5*2^9 respectively, as recommended by some FPGA goons:
https://www.fpgarelated.com/showthread/comp.arch.fpga/28531-1.php
Apparently you can minimise clock jitter with additional fancy stuff inside a DDS circuit, which some of the DDS ICs you're looking at might have, but choosing the right crystal seems easier.

Not sure how to specifically search for OCXOs on digi-key, but worst case you can just build your own PID ovenised enclosure for a 10ppm crystal and it should be pretty damn good.
>>
>>2942815
>>2942823
Oh and 22MHz at 10ppm frequency stability means <0.5ps of oscillator period stability, though I imagine it's more a matter of drift than of jitter when it comes to crystals at their native frequency. See:
https://www.digikey.com/en/products/detail/suzhou-hangjing-elec-tech-co-ltd/0132M4-22-5792F10DTNJK/20144140
Sold in multiples of 10, for 37c each.
>>
>>2942815
> oscillator with < 0.5ps jitter
Correct me if I’m wrong, but this was for a PLA 3D printer filament drier?
I imagine they have some good drying technology in India since the dung has to be dried adequately for sufficient structural integrity. Saw a documentary on that.
Sorry if that was too much perspective.
>>
>>2942859
No I'm the drier anon, he's the diy audiophile anon: >>2941874
A word clock is the left/right alternating clock of I2S and probably other serial audio protocols.
>>
>>2942862
Ahhhh…
I thought we needed a super accurate oscillator to measure the sensor capacitance at 3pf because it was already getting into the noise floor or something like that and we lost the plot with a digression… 44.1 kHz makes sense now.

I imagine the average CD player generates an adequate clock somehow?
>>
>>2942867
>I thought we needed a super accurate oscillator to measure the sensor capacitance at 3pf because it was already getting into the noise floor
The difficult-to-measure low capacitances result in 300kHz or so, so at 8MHz I'll be getting 4-5 bits of resolution, which is enough for me I guess. I'll be making a big lookup table anyhow, so getting rid of parasitic capacitances doesn't really matter, they'll just be DC offsets that won't influence absolute accuracy. Even if they do, my shitty sensor isn't even rated to the humidities and temperatures I'm pushing it to, so whether I even get 4 bits of resolution at these extremes is doubtful. But I can't attempt to calibrate it until I buy an LM7555 to run the oscillator properly.

At the moment I'm having more difficulty with my DHT11 over on /mcg/ giving me false readings. Well the 60 degrees wasn't actually celcius so some of the readings are correct, but it's still just given me 200 proper readings out of 1700, and even then a bunch say the temperature and/or humidity is just 0. I need to try with another library. Be so much easier if it used synchronous comms.
>>
>>2942867
cope and seethe
https://gearspace.com/board/high-end/1449884-clocking-blind-test-d-antelope-10mx-grimm-cc2-avid-sync-x.html
https://gearspace.com/board/so-much-gear-so-little-time/1052021-10mx-clock-has-changed-my-studio.html
>Greg Wells CM (born 1968)[2] is a Canadian record producer, songwriter, multi-instrumentalist, and mix engineer.[3] He has worked with Cynthia Erivo, Ariana Grande, Quincy Jones, Adele, Kid Cudi, Celine Dion, Michael Bublé, Burt Bacharach, Lin-Manuel Miranda, Missy Elliott, Stephen Schwartz, J*Davey, Deftones, Timbaland, Taylor Swift, John Legend, Rufus Wainwright, Aerosmith, Jamie Cullum, Pink, Elton John, the Count Basie Orchestra, Sir Andrew Lloyd Webber, Ryan Tedder, Weezer, Jazmine Sullivan, Katy Perry, OneRepublic, Mika, Theophilus London, Dua Lipa, Keith Urban, Crash Test Dummies, Twenty One Pilots, and Sir George Martin. Throughout his career, Wells has written or produced projects selling a cumulative 140 million units.[4]
https://gearspace.com/board/high-end/1243044-grimm-cc2-fantastic.html
>>
File: IMG_20250904_150639.jpg (197 KB, 1632x918)
197 KB
197 KB JPG
made an portable adjustable LED thing. pulls up to 40W from a 14.4V source. powerpole connectors for power and a potentiometer to adjust it. 12 LEDs. unsure what their specs are so I've limited them to just over 700 mA each. 10.8V dropped across them on full blast so about 75% efficient. good enough
>>
File: VID_20250904_150534-an.mp4 (236 KB, 720x480)
236 KB
236 KB MP4
>>2942900
bonus video
>>
File: schematic.png (24 KB, 1380x813)
24 KB
24 KB PNG
>>2942901
schematic. pls r8
>four strings with three LEDs in each
>constant current source on each one set at ~800 mA
>common FET with a pot to set the brightness to no higher than that 800 mA per string
R1,4,6,8 are nichrome wire. I could have used just nichrome instead of regulators but I had already started building the CC circuits before I realized I didn't have any suitable 1 ish ohmers around. my previous version ganged a bunch of ¼W resistors which got super hot. this one sinks most of the heat into the case
>>
>>2942900
>>2942901
Nice.
>>2942903
Looks good. You could increase efficiency with PWM on Q9's gate instead of a potentiometer.
>>
>>2942904
*plus gate driver
>>
>>2942904
yes of course. I should have added that this was a bit of a challenge to see what I could build just using what I had in the lab
were I to make this into a commercial product I'd probably use a boost converter powered by USB PD, with powerpole as an option. and everything on an aluminium substrate
>>
File: 1737977038913780.jpg (279 KB, 1920x1080)
279 KB
279 KB JPG
>>2939202
>buy CRUMB because it's cheap
>no tutorial
>no game, even
>some guy on the forums says to read Mims and apply that
How do you go from having tools to having a solution to a problem you've never had?
What do you do now?



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.