Keyboard Shortcuts
Likes
- Electronics101
- Messages
Search
Re: 50/60 Hz sine wave distortion
Andy,? I may have missed a couple of other observations but I would like to mention:
1) In situations with a lot of old fashioned 1/2 wave rectifiers or SCR voltage controls (arc furnaces, electroplating controls, certain PCs and the like) or in particular, simple light dimmers, there is a DC unbalance reflected back to the line transformer source.?? Line power transformers are likely to be running near saturation (it's an economic design choice.)?? The transformer is now non-linear and harmonic mixing will take place.? This effect even shows up in big substation links from ground currents such as Schumann resonances generating modulation side bands. Another example.? I went to a customer site for a problem with our equipment.? They had racks of PCs being turned and off for the start and finish of test sequences.? The surge of too many adjacent test PCs simultaneously coming on coupled with too small wiring, led to PC power supply glitches affecting the test as each test start required the charging of the electrolytic capacitors in the step down power supplies.? A couple of cycles, but more than enough to cause trouble. The turning-on PCs ignored the glitch as they have have delay circuits built in and ignore their own disruptive effect, but already ON PCs were not happy. Thinking back about the past, mercury vapor rectifiers were often in 1/2 wave configurations -- too expensive to wire up full wave rectifiers -- a 4:1 cost. Your linear accelerator may have had a similar problem, needs for a lot of power on a pulse basis.? It may? even have been synchronized to the line as I believe some are to minimize line noise from data capture, Regards, Charles Patton |
Re: TUV inspection
¿ªÔÆÌåÓýWell done! ? Never been through that, but have handled the CE and the new UKCA ones. Not at the same level, but a BIG PAIN IN THE A**!!! ? Nuno T. ? From: [email protected] [mailto:[email protected]] On Behalf Of Bertho
Sent: 14 December 2024 03:42 To: [email protected] Subject: [electronics101] TUV inspection ? I am very happy today! We passed an extended TUV ISO-13485 inspection for the ¡°Design and manufacturing of medical equipment¡±. There is an incredible amount of detailed paperwork to keep track of and to prove that the designs are safe and meet FDA requirements. I will sleep well tonight. Bertho ? -- Nuno T. |
YIG driver stability investigation
Hello,I am trying to build a driver for my YIG shown below.
I have made a AC and time domain plots.
I know that in feedback theory i need 0dB gain and phase shift of 180 degrees. How can i see this oscilation condition in my AC plot? I dont have even 0dB in the plot. In the AC plots? sesitivity: 450 KHz/mA 3dB bandwidth 2.2MHz resistance 2Ohm inductance 1.5uH ?
? |
TUV inspection
¿ªÔÆÌåÓýI am very happy today! We passed an extended TUV ISO-13485 inspection for the ¡°Design and manufacturing of medical equipment¡±. There is an incredible amount of detailed paperwork to keep track of and to prove that the designs are safe and meet FDA requirements. I will sleep well tonight. Bertho ? |
Re: A safe way to monitor the AC Mains
On Friday 13 December 2024 05:57:56 pm wn4isx via groups.io wrote:
Some genius decided to solve an AC Mains induced audio hum in a temporary edit suite by using a NEMA 15-5R to NEMA 1-15P, 3 to 2 AC adapter. [AKA "Ground Cheaters]I've not heard that name for those before. We have one situation in this house where one of those actually came in handy. There's an outlet in the laundry room with the washer and a refrigerator plugged into it. Both of these came with right-angle plugs, and it wasn't possible to plug the one into the top outlet safely because the right angle orientation of the cord interacted with the plug in the lower outlet. So one of those was used to offset one plug to be a little further out from the wall, and therefore usable. Of course the ground _is_ connected to the screw... I should probably check and make sure that outlet does have a ground connection, some of them don't in this old house. -- Member of the toughest, meanest, deadliest, most unrelenting -- and ablest -- form of life in this section of space, ?a critter that can be killed but can't be tamed. ?--Robert A. Heinlein, "The Puppet Masters" - Information is more dangerous than cannon to a society ruled by lies. --James M Dakin |
Re: To jong kung
On Thursday 12 December 2024 09:09:57 pm wn4isx via groups.io wrote:
Record with a program like Audacity, a freeware program. I'm not familiar with freeware FFT software but Audadcity does have FFT, I have no idea how good it is.Hmm, I didn''t know that was in there. I just looked, and that program happens to be installed on this machine. I'll have to play with that a bit... -- Member of the toughest, meanest, deadliest, most unrelenting -- and ablest -- form of life in this section of space, ?a critter that can be killed but can't be tamed. ?--Robert A. Heinlein, "The Puppet Masters" - Information is more dangerous than cannon to a society ruled by lies. --James M Dakin |
Re: A safe way to monitor the AC Mains
wn4isx
Re: "Normally the ground lead of a scope probe is connected to the ground of the scope and this ground is connected to the safety ground of the AC power input.? One can remove this safety ground with adapter on the AC plug and then connect the scope to the AC mains." [red added by me for emphasis.] ? Of course this ignores any EMI filters from hot to the case...EMI filters have capacitors, older EMI filters have rather high value caps. ? Some genius decided to solve an AC Mains induced audio hum in a temporary edit suite by using a NEMA 15-5R to NEMA 1-15P, 3 to 2 AC adapter. [AKA "Ground Cheaters] ? Sure solved the hum problem and placed a female teaching assistant in the hospital overnight for observation after she received a nasty shock. If an EMT hadn't been present the coed probably would have died because no one but the EMT knew CPR. ? An engineer lost his job and was blackballed, he barely avoided criminal charges. He actually faced a grand jury. Things could have gone very badly for him. ? I'm pretty sure we don't have any "Ground Cheaters" in our home. And I have adapters for damn near everything. ? Feel free to use whatever power connection you like but please be aware there are members in this group who lack the experience to understand how dangerous your scheme is. ? I'd like to warn everyone to be aware the case? could be hot with 120V/240V (we have members from all over the world).? ? I use 120V:120V isolation transformers for such tests or a battery powered scope. ? ? Just be aware the use of "Ground cheaters" 3 to 2 adapters are flat illegal in Canada and some US cities have banned them. ? While every state in the US has adopted the National Electrical Code, states and local administrations are free to add additional safety rules. [And good luck finding out what the exact rules in your city might be.] I've heard Miami has outlawed 'Ground Cheaters" but wasn't able to wade through their online building codes. ?
"These adapters are illegal in some jurisdictions, in particular throughout Canada." ? And? The state of Ohio has issued seven citations to Cleveland State University (CSU) for unsafe electrical conditions in the lab where associate professor??died last August after plugging in a defective fluorescent light through a two-prong adapter plug that left the lamp ungrounded. Experts say that the conditions that led to Mal's death were indeed unsafe, and some believe those problems are not uncommon at other American universities, suggesting other lab workers may also be at risk., CEO of the?, told?The Scientist?that the problem that killed Mal -- using a two-prong adapter in a three-prong outlet -- is common. "When you inspect labs," he said, "it's not unusual to find anywhere from one to seven that way." ? ? I am NOT a lawyer and I doubt if someone is injured or dies using your idea that you'd be held liable for either criminal charges or a civil tort, but who knows....lawyers are so damn inventive. Again, I am not a lawyer, so what do I know about legal liability? ? ? This is a situation where a moderator or group of moderators need to decide "what unsafe posts do we delete." I might be a moderator/owner but after the last flame fest it won't be me. ? |
Re: A safe way to monitor the AC Mains
Normally the ground lead of a scope probe is connected to the ground of the scope and this ground is connected to the safety ground of the AC power input.? One can remove this safety ground with adapter on the AC plug and then connect the scope to the AC mains.
?
Of course the safety ground is also connected to the AC mains neutral and should not be an issue, just dont connect the scope probe ground to the line/hot of the AC.
?
Normally the scope probe ground is floating when the safety ground is not connected.?
?
Another way to get around this is to use a battery powered scope.? I have made other measurements in circuits across components not at ground of the circuit by using battery powered scopes.
?
73, ron, n9ee |
Re: PI controller time domain responce in PLL from AC responce
I doubt if your VCO has any DC response since it appears to be a high Q device.? Start with a model.? The more detailed the better you should try to show 2nd order effects or higher.? The VCO only needs direction information since amplitude out should not change.? If it does you will need to compensate for it to give you a descent lock in range.? Please note that the LT1128 only has a 50 MHz bandwidth which is probably not high enough for what you are trying to do. |
Protecting PC I/O ports
wn4isx
Found this...
?
These are suitable for a lot of applications
PC to PA Systems Interface
This web page shows PA to PC interface and PC to PA interface
"PA" can be many different devices, everything from a radio to tape deck.
?
A serious PC audio interface...really serious but very good.
?
And a rather specialized computer I/O system, well worth a read even if you don't built it.
Note the distortion generator.....sort of neat to be able to add X% distortion to a signal.??
?
|
Re: To jong kung
wn4isx
A friend suggested this program as it has normal oscilloscope display, phase (XY) Lissajous, FFT, and a signal generator. "Visual_Aanalyzer_Freeware" at https://www.zeitnitz.eu/scope_en ? The FFT display is labeled "Frequency" for some unknown reason. It has a zoom function that is rather useful. ? At the moment our 240V AC Mains has 3.8% to 4.5% harmonic distortion. It varies randomly. I wonder what effect a few hundred thousand people turning on their coffee makers has..... ? I have a 240V outlet at my radio desk just in case I ever want to get serious about ham radio and add a 5kw RF amp. [yea right after hell freezes over] It's really for a special space heater an electrician friend located for me. [That warmed my room from 68F to 75F in 30 minutes. I've found I don't tolerate cold as well at 73 as at 16. Bummer.] ? The phase, which indicates short term, "instantaneous," frequency variation, goes wild at ~6:30 about the time the harmonic distortion also goes nuts. ? ? I have a 10MHz GPS disciplined oscillator with a magic PIC 10MHz to 60Hz (zero jiter) that I feed into the vertical and attenuated 60Hz from the AC mains into the horizontal. The Lissajous "circle" jitters like crazy until ~9:00AM when it "stabilizes" [sort of] then goes nuts around 4:00PM until ~7:00PM. ? Yea I know I have some really odd hobbies that will probably kill me someday, ? And yes it's a bit hypocritical that I routine monitor the AC Mains, but I'm extremely careful, have designed interfaces that are as safe as I can make them and the outputs are "idiot proof." |
Re: To jong kung
wn4isx
I'll be the first to agree the AC Mains is seldom [?never?] a pure sine wave. ? I suspect the mains have higher distortion today then when we were in college because of all the switch mode power supplies and variable speed drives. ? But an oscilloscope is hardly the ideal tool for looking at AC Mains distortion. It is difficult to see less then ~3% harmonic distortion. Some people with the magic eye can see 1%. I'm not one but my boss when I worked in a small electronics shop was, but even he preferred to use the right test gear. ? This is where FFT (Fast Fourier Transform") display shines. It will show you the fundamental and all the harmonics and noise at higher frequencies. ? Even a storage oscilloscope won't give you the same information FFT will. It is create however for seeing the spikes caused by silicon diode turnoff (commutation noise). ? Now the right test gear in 1974 for most of us was HP, they used to offer a tunable AF voltage meter that allowed you to note the level of a reference frequency, then tune to each harmonic and record them, that way you could show the THD of an amplifier and it was a real PITA to use. ? FFT gives you the same information immediately. ? Some high end DSO [Digital Storage Oscilloscopes] provide FFT but all the ones I've seen fall short of what a mediocre PC sound card and a freeware FFT program can reveal. ? I did a quick net search because I use commercial programs and custom software for my audio analysis but this program looks good "Visual_Aanalyzer_Freeware" https://roga-instruments.com/fft-spectrum-analyzer-freeware/ ? I generated a 1000 second (why rush) 1kHz sinewave with Adobe Audition and used a physical loopback, line out to line in patch cable, to produce the worse possible playback/record on my HP. When I overdrove the output, lots of harmonic spikes showed up in the FFT display. I created a 100Hz square wave and it produced the expected array of harmonic spikes. Note: The HP laptop sound "card" is almost OK with music, nothing to write home about but fails completely with even a 100Hz square wave, the wave is integrated and looks odd on a time (oscilloscope type) display. ? Rod Elliot has a nifty "distortion generator" that will give you symmetrical or asymmetrical distortion. https://sound-au.com/articles/distortion-f211.gif ? You can achieve the 600 ohm input with a common emitter or JFET common source follower. Mine is in the shop, it's early and 23F here and my shop isn't heated. Too damn cold! ? I suspect any of the inexpensive Behringer USB audio "cards" will beat all but the most expensive DSOs. ? I use 1N400x diodes to protect audio inputs because the normal choice, 1N914 or IN4148 fail open when grossly overloaded while the 1N400x have always failed shorted in my experience. ? The modern 1N4004 turns off fast enough to not be an issue up to at least 20kHz. I wouldn't use one in a switch mode power supply but there is very little energy above ~10kHz in normal audio including any type music you want to name. The harmonics fall off pretty quick. ? [The modern 1N4004 has a specified reverse recovery time of 2uS, which gives and upper usable frequency of ~500KHz.] ? ? Use a program like Audacity to do a sharp high pass software filter at 10kHz and look at what's left from a good source like a CD. ? The physics lab had a small particle accelerator that made incandescent bulbs hum when they ran it. It made fluorescents trip their breakers. ?I have no idea what type power supply it used but it must have been the dirtiest design possible. At the time I wondered 'does it meet FCC Part 15 emission regs?' ? They never ran it during the day when classes were in session. Now during practical labs at night.... and I always carried a Geiger Counter for practical labs. ? "A 9K:1K attenuator is great -?IF?you can be?certain?which lead is always the neutral.? I hear many stories about building wiring that is not right, so I think I would not want to use that arrangement which can make the scope's chassis 'hot'." ? First, I would never use my 9k:1k with a mains powered, or mains connected anything. Never ever! ? And my 9k:1k attenuator is a deadly venomous snake just waiting to bite you if you are careless, it makes the most venomous reptiles in nature mild by comparison. But it's also the only way I know of to "safely" not introduce unwanted distortion that I know of. ? That's why I'm so silly with warnings. I do not want to be responsible for anyone frying themselves. Getting my self shocked was bad enough. Getting someone injured or killed would be horrible. Which is why is stress "Do you really need to do this?" ? ? BTW, I replaced every outlet in our home with "spec grade" and found 2 that were wired backwards. I'd never use this beast in a new location without verifying the hot is hot and neutral is neutral. I even worry about the ground being hot. BTDT and fried some equipment in the new wing of a hospital. ? ? I've been known to test extension cords for proper wiring, then connect them in series to extend an "outlet" to a cold water pipe to actually measure hot is hot and ground ain't. [I'm paranoid but am I paranoid enough?]? ------------------------------ Sidebar, an oscilloscope is useless for seeing RF EMI on the AC Mains unless it is way above FCC limits. 100uV [no load] of a 1MHz square wave from a canned TTL oscillator, with attenuator and capacitor isolation, will produce S9+40 all through a home. Real world experiment not theory. ? https://www.w0qe.com/RF_Interference/simple_rfi_generator.html ? I have several, all have additional attenuation in the output to the AC Mains. ? |
PI controller time domain responce in PLL from AC responce
Hello,I have built a PI controller I have its time domain step responce and AC responce.
PI controller is supposed to help with the DC part of the error signal of a PLL system.
I cant undertnad how,Is there away i could see it?
/g/electronics101/photo/296358/3866087?p=Created%2C%2C%2C20%2C2%2C0%2C0 /g/electronics101/photo/296358/3866088?p=Created%2C%2C%2C20%2C2%2C0%2C0 Thanks. |
Re: To jong kung
On Thu, Dec 12, 2024 at 06:32 PM, wn4isx wrote:
I agree, a sinewave is not interesting - but sometimes the mains waveform is not a sinewave, and then you really really need a 'scope to see it..
?
Back in college, I remember that the lab's AC mains was a very distorted wave.? We had rumors about why, but I do not recall being told the truth from a reliable source.? It was understood that there was some sort of device in the building's basement (transformer? motor-generator?) that was responsible for the lousy waveform.
?
Around the same time, give or take a few years, I became somewhat interested in the AC mains waveforms mostly because of power transformers that would go up in smoke - and a few other reasons.
?
It was said that anyone could tell whenever the local synchrotron was online because there would be a significant glitch at a certain point in the 60 Hz mains waveform.? I don't know if it was true but it was one of the things we had to consider.
?
Also there was the time the local power company changed some HV power wiring which resulted in extremely noisy signal monitoring over rented telephone company wires (this was decades ago).? Talks with the utility company's engineers suggested that their changes resulted in a significantly bigger common-mode current through earth, of the harmonics of 60 Hz - suggesting that the 60 Hz waveform was not very clean to begin with in that section of the mains distribution network.
?
These days, there are those ugly "modified" or "pseudo" sine waves that are digitally generated.
?
I'd argue that using an isolation transformer could significantly change the waveform's shape and can mask the problem you are looking for.
?
A 9K:1K attenuator is great - IF you can be certain which lead is always the neutral.? I hear many stories about building wiring that is not right, so I think I would not want to use that arrangement which can make the scope's chassis 'hot'.
?
Use a 'scope when it's needed, and if you do, use it wisely!
?
Just my opinion.
?
Andy
?
? |
Re: To jong kung
wn4isx
OK an oscilloscope is probably the wrong tool for this job. Consider a battery powered laptop operating on battery power with a resistive attenuator. Laptop internal audio line inputs run anywhere from 5K to 50K. ? I'd go with a 10:1 attenutaor, high resistance to high, junction of high [tip or ring] resistance to low resistance to sound card hot in, low side of low resistance to neutral and sound card low [sleeve]. I'd place 6 1N400x diodes, 3 in series wired antiparallel. Anode of one string to cathode of the other string to limit the maximum voltage to ~2.1V. ? I like Dale aluminum shell resistors that can be mounted to metal. Ground the metal for safety. I use 9k from hot to 1K with goes to neutral. I'd place a 10k pot across the 1k and adjust for 1V with a DVM. ? Record with a program like Audacity, a freeware program. I'm not familiar with freeware FFT software but Audadcity does have FFT, I have no idea how good it is. ? "Yes, Audacity does have an FFT (Fast Fourier Transform) display, which is accessible through the "Spectrogram View" feature, allowing you to visually see the frequency components of an audio file over time by utilizing the FFT algorithm to analyze the data;?you can also access a "Plot Spectrum" function to view a single snapshot of the frequency spectrum of a selection within your audio file, also based on FFT calculations.? Key points about Audacity's FFT display: ¡¤??????????????????????????? Access: To view the FFT display, go to the track menu and select "Spectrogram".? ¡¤??????????????????????????? Function: The spectrogram shows how the energy distribution across different frequencies changes over time.? ¡¤??????????????????????????? Plot Spectrum: To see a single snapshot of the frequency spectrum, go to "Analyze > Plot Spectrum".? ¡¤??????????????????????????? Underlying Calculation: Both the spectrogram and plot spectrum use the Fast Fourier Transform (FFT) algorithm to analyze the audio data FFT will display the spectra with harmonics, the time display will show a normal waveform, which, unless there is more then ~10% harmonic distortion, probably won't be visible. ? Now for UPS 'quasi sine wave' outputs, the time display may well show you some really odd waveforms. ? I don't use Audacity, I use Adobe Audition, which has similar capacities but is not freeware. Way not freeware. Obscenely expensive. ? Please remember the dangers remain the same. ? Record the waveform, then disconnect the AC and play with Audacity. ? My rule of thumb is to stay connected to dangerous voltages only as long as necessary. ? We compared an expensive Rigol DSO FFT with a mediocre laptop for audio FFT, the cheap PC blew the Rigol away. ? Part of any measurement process is picking the best tool(s). That can be difficult with all the sales hype for scopes etc. ? ? I asked about age because at 14 I knew everything and took way too many chances. At 61 you've lived long enough to know your limits. So the age of someone I don't know becomes an issue when trying to offer technical help. ? I added a phone to a girl friend's (not romantic) bedroom. Hid the wiring, removed the bell, life was good, until the phone rang when I had one wire connection in my mouth while completing the other. ? Let's just say the sudden wetness at my crotch was the least of my concerns. 90V at 28Hz flowing through your mouth to your hands is an extremely interesting experience. I was 14 and my thinking was normal for a 14 year old, I didn't think far enough ahead. ? And yes I realize how dangerous that was and how lucky I was to only have wet pants. ? So age is a valid question when dealing with hazardous voltages. |