Steve Posted September 21, 2022 Share Posted September 21, 2022 Just got a 6k unit and my battery voltage is reading 0.7v low Actual voltage 52.28 reading 51.49 Any way to correct this Rev C Quote Link to comment Share on other sites More sharing options...
Sid Genetry Solar Posted September 21, 2022 Share Posted September 21, 2022 2 hours ago, Steve said: Just got a 6k unit and my battery voltage is reading 0.7v low Actual voltage 52.28 reading 51.49 Any way to correct this Rev C Yup. CFG -> System -> Calibrate Readings -> Batt'y V...adjust until it matches what your meter shows. I'm actually a little confused as to why the battery voltage readings don't match up as expected on Rev. C--because the value is mathematically calculated. Quote Link to comment Share on other sites More sharing options...
Steve Posted September 21, 2022 Author Share Posted September 21, 2022 That works nicely All the other metering was also off Even frequency All dialed in now Quote Link to comment Share on other sites More sharing options...
Sid Genetry Solar Posted September 22, 2022 Share Posted September 22, 2022 2 hours ago, Steve said: Even frequency Worth noting: the frequency trim setting may not match the actual output frequency. I have mathematically calculated what the resultant output frequency should be--but it's worth noting that the internal oscillator has a notable tolerance, and does have an adjustment (which actually is the freq. trim setting!) Just because the screen reads 60.06Hz (as the closest possible representation of 60Hz possible from a 16MHz source) doesn't mean the output is actually 60.06Hz. The default trim (60.33Hz registered IIRC) was actually what I measured to be closest to 60Hz with an oscilloscope. BUT that's not saying that my 'scope can't be off--as if your clock was running fast, then the inverter frequency was definitely high! As far as the other metering calibration, there are parts tolerances on each monitoring circuit--and said tolerances can be rather notable. Especially those hall sensors--they are extremely linear, but units can differ quite a bit from each other (which is nothing short of exasperating for a designer!) I am aware that for whatever reason a negative calibration on the output/input AC amp sensors results in the readings going completely wonky due to a math error in the CPU; I will have to fix that as soon as I get time. (I had it working perfectly at one point--this is some stupid compiler snafu that's causing it to mess up.) Quote Link to comment Share on other sites More sharing options...
NotMario Posted September 22, 2022 Share Posted September 22, 2022 60.06 was the closest to 60hz i could verify... FYI, my battery voltage calibration is like +60... I've checked and rechecked that this is [~] the most accurate value i can get. Quote Link to comment Share on other sites More sharing options...
Sid Genetry Solar Posted September 22, 2022 Share Posted September 22, 2022 10 hours ago, NotMario said: FYI, my battery voltage calibration is like +60... I've checked and rechecked that this is [~] the most accurate value i can get. Sounds like I need to look into this. It's possible that I may have introduced a bug into the "accumulator averaging" method, where it's accumulating 15 samples and dividing by 16...which would result in lower-than-expected readings. Quote Link to comment Share on other sites More sharing options...
Steve Posted September 22, 2022 Author Share Posted September 22, 2022 Mine is +19 now but was still reading a bit low My frequency is +8 to get my clocks to keep time Quote Link to comment Share on other sites More sharing options...
Sid Genetry Solar Posted September 22, 2022 Share Posted September 22, 2022 45 minutes ago, Steve said: My frequency is +8 to get my clocks to keep time Internal oscillator on the main MCU has some pretty lousy tolerances--so this is actually kinda expected. Each inverter will be different--and temperature will affect it too. There's better MCUs out there, just I'm extremely reluctant to switch suppliers, as then I'll have yet another codebase to keep updated. Quote Link to comment Share on other sites More sharing options...
Steve Posted September 22, 2022 Author Share Posted September 22, 2022 Should be fine once tuned If it's a crystal clock those can be tuned with a cap across them allowing toe systems to be more consistent (used commonly with composite video encoders) Quote Link to comment Share on other sites More sharing options...
AquaticsLive Posted September 22, 2022 Share Posted September 22, 2022 10 minutes ago, Steve said: If it's a crystal clock My guess is its a normal mechanical clock that uses the 60 Hz to keep time. I don't think these inverters have accurate enough frequency management to keep time. I think its possible though with an RTC inside the inverter it could make micro adjustments but at least what I have seen there is a slight drift in the videos Sean has shown. My current PJ drifts and my mechanical clock gains time depending on load about 1 minute per day. Quote Link to comment Share on other sites More sharing options...
Sid Genetry Solar Posted September 22, 2022 Share Posted September 22, 2022 2 hours ago, AquaticsLive said: My guess is its a normal mechanical clock that uses the 60 Hz to keep time. You would be surprised how many plug-in appliances with digital clocks have an ear to the AC line for a 60Hz timekeeping signal. Both convection microwaves I've had (both GE Profiles, an SCA1000 and a PVM9179) had an AC input clock signal, without which NONE of the time-based functions would even count! Clock, timer, oven timer, etc. Both units were equipped with microprocessor controlled vacuum-fluorescent displays. The only reason I know this...is because I hacked both of them so all the "light electronics" ran on 12vDC, leaving just the "big stuff" to run on AC (microwave, and heating elements). Had to create a 120Hz timebase circuit...otherwise it was pretty well useless! 2 hours ago, AquaticsLive said: I don't think these inverters have accurate enough frequency management to keep time. I think its possible though with an RTC inside the inverter it could make micro adjustments but at least what I have seen there is a slight drift in the videos Sean has shown. My current PJ drifts and my mechanical clock gains time depending on load about 1 minute per day. The drift in said PJ inverter is from the processor's INTOSC (internal oscillator)--and the GS inverters use a smaller MCU from the same processor family. Microchip MCUs have lousy stability on the internal oscillator. yeah, I'm sure someone's going to argue, "But PJ inverters have a crystal on the CPU!" Yes they do. ...and it isn't used! Processor runs off 16MHz INTOSC with a 4x PLL to reach internal 64MHz clock speed. Drift will not be affected by load, but more likely based on internal temperature. (EDIT: yes...the load likely will affect the ambient temperature of the processor--so yes, while technically there isn't a connection...in actuality there is 😉) From the Microchip PIC18F87K22-series Datasheet (DS39960D) page 504: Yeah, automatic temperature compensation of the INTOSC would be possible....if the MCU's internal temperature sensor actually worked! It doesn't. So much for a Made-In-America chip..........yup, AFAIK Microchip MCUs are produced in Arizona, USA. Yes, an external crystal COULD be used. But then I lose 2 I/O (and ADC) inputs--and the GS control board has pretty well maxed out the capabilities of the processor. And I haven't been super impressed with crystal stability either...at least on my microwave timebase using a divided-down crystal. Quote Link to comment Share on other sites More sharing options...
Steve Posted September 23, 2022 Author Share Posted September 23, 2022 Well Sid answered my question The chip is running an integrated clock My digital clocks on appliances were the ones effected just like in Sid's case This unis is definitely stable enough to run a clock, was just off frequency A counter is far more accurate than a scope to check frequency so I should grab mine and fine tune Quote Link to comment Share on other sites More sharing options...
AquaticsLive Posted September 23, 2022 Share Posted September 23, 2022 Thanks this is good info. So how I am understanding it is I will continue to have some clock drift. That was expected so doesn't concern me, but good to know. 1 Quote Link to comment Share on other sites More sharing options...
NotMario Posted September 23, 2022 Share Posted September 23, 2022 (edited) FWIW, i ran my appliances on the GS continuously for over 90 days (arctic summer) and had no [more than normal...] noticeable drift. Granted... i don't really stress over their clocks anyway... lol Edited September 23, 2022 by NotMario Quote Link to comment Share on other sites More sharing options...
Sid Genetry Solar Posted September 23, 2022 Share Posted September 23, 2022 I do agree that there are definite "ideals"...but unfortunately, design is pretty much always a mix of compromises. I've definitely thought about switching to another main processor. I could very easily switch to a Taiwanese chip (Nuvoton) at 1/5th to 1/10th the cost (typical USA vs Asian cost difference for ALL parts!), but my hesitation there is that if anything goes wonky with Taiwan, we're toast. But I guess the same could be said about China--because GS inverters are currently being manufactured there! FWIW my experience with the Nuvoton MS51FB9AE chips (dirt cheap and extremely powerful!) is that they have quite a few ideosyncrasies and inexplicable "doesn't work" to "does work" changes that don't make any sense. Documentation is difficult to find, and there is basically no support community--but they're SO powerful! Said MS51FB9AE is more powerful than the Microchip MCU currently in the GS inverters (though it does lack a significant portion of the analog support functions that the GS inverters rely on)...and costs about 1/20th the Microchip MCU! The Nuvoton processor manual is full of errors though, same with the BSP (board support package) provided. On a test project, getting the NCO CLKOUT function to work took closer to 3 hours of frustration (and finding discrepancies of register location between different pages of the same processor manual!) But in the end, I did get it to work. And at $0.51/ea........that's literally cheaper than a regular TTL/CMOS logic gate here in the States! I glanced through Mouser, and you can easily pay over $1 apiece for a 74HCT14...that's a hex Schmitt trigger inverter! Quote Link to comment Share on other sites More sharing options...
NotMario Posted September 23, 2022 Share Posted September 23, 2022 If stuff goes wonky in Taiwan, we're toast won't just be limited to your boards, lol. Amazon would practically die on the vine over such an incident. 1 Quote Link to comment Share on other sites More sharing options...
Sid Genetry Solar Posted September 23, 2022 Share Posted September 23, 2022 35 minutes ago, NotMario said: Amazon would practically die on the vine over such an incident. Forget Amazon, look at the bigger picture: America would be in huge trouble. We just don't make stuff domestically anymore. It's been a very slow process penny by penny, and there's no facing the reality that building manufacturing infrastructure isn't cheap or quick. Quote Link to comment Share on other sites More sharing options...
dickson Posted September 23, 2022 Share Posted September 23, 2022 there's no facing the reality that building manufacturing infrastructure isn't cheap or quick Intel is building a hugh chip factory in Ohio and Arizona and still not done but the city near the factory are the fastest growing in the USA . Quote Link to comment Share on other sites More sharing options...
NotMario Posted September 23, 2022 Share Posted September 23, 2022 1 hour ago, Sid Genetry Solar said: Forget Amazon, look at the bigger picture: America would be in huge trouble. We just don't make stuff domestically anymore. It's been a very slow process penny by penny, and there's no facing the reality that building manufacturing infrastructure isn't cheap or quick. I was using Amazon as a kind of euphemism for America. It amazes me how many people are utterly unaware of the degree to which all of us are dependent on China. Think the "made in america" stuff is actually completely made here? Yeah, right! Losing that relationship would see you unable to repair your car in a couple short years. The one silver lining is that the reverse is also true. At least until current policies make other customers more viable. Word on the street in OH is the Intel factory is at a stand-still. Not sure about the one in AZ, but i wouldn't be surprised if it were the same. If i were intel, i'd be scared to death about the lack of willing labor, not to mention supply chain concerns. Quote Link to comment Share on other sites More sharing options...
Sid Genetry Solar Posted September 23, 2022 Share Posted September 23, 2022 19 minutes ago, NotMario said: If i were intel, i'd be scared to death about the lack of willing labor, People like to whine about automation "taking away jobs".......but look: if companies can't get people to work, they either go out of business or innovate ways to get the job done without the people they can't hire! Intel has a double problem: it's not a matter of "just finding workers"--no, they need specialized, skilled workers. Not just anyone can operate the equipment that operates on the nanometer scale to make CPUs for computers! Quote Link to comment Share on other sites More sharing options...
dickson Posted September 23, 2022 Share Posted September 23, 2022 Intel has a double problem: it's not a matter of "just finding workers"--no, they need specialized, skilled workers. Not just anyone can operate the equipment that operates on the nanometer scale to make CPUs for computers! IF you live in California then move to Arizona . Almost all the new house contruction and house sold in Arizona has California licence plate . Taiwan Semi has one the world largest chip factory in Arizona . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.