Page 1 of 1
WuzHi Supply(WZ3605 & WZ6012) Tested
Posted: Wed Dec 06, 2023 12:16 pm
by Pali64
Hello There i has made a Software to controll Powersupply from WIDE WZ6012 and WZ3605
i think other [WZxxxx] Typse work also.
But i has this two Types of Supply with Software Bugs insight!
The register content read 0x25 and write 0x26 works incorrectly!
Register 0x25 09 provides incorrect information about the setting (always 0x00)
Register 0x25 10 provides incorrect information about baud rate (always 0x00)
The software is in Betastate put the Seting and Read funktions works

- The Main Window
- Image1.jpg (51.6 KiB) Viewed 32244 times

- Setting Window
Has Troble with the Software Bug in the Module :( - Image2.jpg (45.64 KiB) Viewed 32244 times
I Upgrade the Software Step by Step and post a Manual also later.
If anyone wants to help make things better, I would be very happy

No effort to help

Re: WuzHi Supply(WZ3605 & WZ6012) Tested
Posted: Thu Dec 07, 2023 7:35 pm
by Pali64
Hello to those interested,
An update of the software,
Spogg posted 7-segment displays in a thread,
I replaced my crafted ones in the MainWindow with these.
Keyboard input is also possible with my keypad.
If you click on the LCD in the [General] menu, this will appear.

- Updated Softwar with new (LED Displays madse by Spogg)
- Update V1.jpg (44.74 KiB) Viewed 31932 times
PS @Spogg:
Thanks for the nice 7-segment ads,
Unfortunately they have a bug!
For example, if 36.03 should be displayed, only 36.02 is displayed, even though it correctly says 36.03 in the "F" stream!
I'll look into this when I have time and try to solve it
LG Pali64
Re: WuzHi Supply(WZ3605 & WZ6012) Tested
Posted: Fri Dec 08, 2023 8:26 am
by Spogg

- capture.png (25.29 KiB) Viewed 31849 times
I didn’t make this myself. It came from SynthMaker days and I don’t really know how it works.
However, I think the issue is a mathematical rounding problem, maybe due to the binary representation of decimal base 10 numbers. Tulamide is an expert on this, but as you can see, adding a small offset to the float input makes it work. I know that’s not a very satisfactory fix, but it works!

Re: WuzHi Supply(WZ3605 & WZ6012) Tested
Posted: Fri Dec 08, 2023 9:25 am
by Pali64
Hello Spogg
Thanks for your feedback.
If you use the tool for measurement purposes, it is of course fatal if rounding errors occur.
I tried to work around this and apparently got a new one
"Bug" installed

I'll look into it when I have time...
In any case, thank you very much for your work here
An update on the WZxxxx controller will follow.
I'm currently busy finishing the graphics of the wave display.
Greetings Pali64
Re: WuzHi Supply(WZ3605 & WZ6012) Tested
Posted: Fri Dec 08, 2023 5:44 pm
by tulamide
There is no rounding error. Just a choice of rounding. You can round up, down or split from center. The float display rounds up, the segment display rounds down.
The real issue is that a 32-bit float is not capable of representing ALL real numbers. You enter 36.01, but the numberstored is the closest, a float can represent. In this case 36.009998...
It's up to you, how you want this 13 digit number rounded to two digits. I for one, would round from center, meaning everything above 36.005 will become 36.01, and everything below 36.005 will become 36.00. But the makers of the 7-segment-display decided to round down at all times. That's not wrong, just a choice.

- segment_display.PNG (20.93 KiB) Viewed 31716 times
Re: WuzHi Supply(WZ3605 & WZ6012) Tested
Posted: Fri Dec 08, 2023 6:33 pm
by Pali64
Hello tulamide,
Thx for you answer

Yes in the Time i editet insigt the Formater box
has see you has right this is not "Wrong"
but anny Way to do
You say right the best way is "round from center" so i change this so in the software of the Display.
In Massurements things always "round from center" but i has not see insigt in the modul that is rounding prinzip always down selected..
Now i has see insight in te formater-box
Now i change this in my applikation.
THX for you answer
Greeting Pali64
Re: WuzHi Supply(WZ3605 & WZ6012) Tested
Posted: Sat Dec 09, 2023 12:03 pm
by Pali64
An new Upgrade whith te WZxxxx Viewer
Has cange many things:
Upgradet:
1) Timing problem whit Siliconlabs CP21xx Driver(FTDI works without trobles bevore

)
-> Thanks vor feedback

2) Rounding&Crash -troble with the Format Box

- New Formatbox insight 7-Segment display
- Formater.jpg (16.07 KiB) Viewed 31435 times
3) Display[----] if no com activ or Parity error occur
4) added an Autoload Funktion
5) Added a Delay in Systemsetings th made possible with SiliconLabs CP21xx Drivers
6) change many little Bugs insigt...

7) Change Design things

- edited Design
- Update.jpg (47.84 KiB) Viewed 31422 times
...More Update folow....
...Please place a Post if you find more bugs.. THX
Greeting Pali64
Re: WuzHi Supply(WZ3605 & WZ6012) Tested
Posted: Mon Dec 11, 2023 1:29 pm
by Pali64
An new Upgrade whith te WZxxxx Viewer
Upgradet:
1) Wave -Viewer[Curve] works
-> Please think the curve need a lot of memmory!
-> more as 500 Samples made the software instabile i see on LattePanda (Crasch with bluescreen)

- Track the V(U) & A(I) & W(P) Curve
- Waveupdate1.jpg (48.98 KiB) Viewed 30338 times
...More Update folow....
...Please place a Post if you find more bugs.. THX
Greeting Pali64
Re: WuzHi Supply(WZ3605 & WZ6012) Tested
Posted: Sat Dec 16, 2023 10:04 am
by Pali64
Hello everyone
So now the last beta version. Bugs have largely been eliminated, and requests that came via PM have been integrated.
There won't be an update for a while now if there isn't a post about any annoying bugs in this thread.

- Last Beta.jpg (50.21 KiB) Viewed 29687 times
Inside the software you will find some tools, such as scalable buttons, LED displays with improvements and so on.
You can use all of this under the GNU license,
Only the logo and the respective copyright must be retained.
Hope you can do something with it
Here are the last version subgrades:
And here runable EXE file
Version Hystory:
WZ3605_V6q ->WZ6305_V6r :
1) Design Updates for better understanding what to do
2) All "Purgable" elements were replaced because
-> they were no longer displayed after the EXE compilation
3) Add a [RECORD]switch to alow or disalow Records
4) Add a [000]sec Break Disp. to alow other sample rates in sec. for Records
*) Add Funktion for analytic and meassurements
Known Bug:
1) W-Curve offset wrong in Display
WZ3605_V6p ->WZ6305_V6q :
1) Remove Bugs in CSV Load to Memmory
WZ3605_V6o ->WZ6305_V6p :
1) Remove Bugs in Graphic of Logg-Curve
Known Bug:
1) Load CSV to Inputbuffer (file larger tan 80 Crash)
WZ3605_V6n ->WZ6305_V6o :
1) Remove Bugs in Graphic of Logg-Curve
2) shift gren voltage Text in Curve view left to made better readable
3) Remove bugs at active Repead-funktion after change Parameter
Known Bug:
1) after active Repead press [Update] or [Send]
-->datastream is desyncronized and wrong data recived.
2) [Digital] ( Excel List of Data) not realizet at moment.
WZ3605_V6m ->WZ6305_V6n :
1) add a Version History as texframe
2) add a smoth to visualize Scope
Known Bug:
1) after active Repead press [Update] or [Send]
-->datastream is desyncronized and wrong data recived.
2) [Digital] ( Excel List of Data) not realizet at moment.
Greeting Pali64