Author Topic: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator  (Read 145598 times)

Wintel and 2 Guests are viewing this topic.

Offline valcher

  • Contributor
  • Posts: 18
  • Country: ru
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #400 on: July 02, 2024, 04:19:31 pm »
I would like to clarify what the FPGA firmware is responsible for, the control interface?
 

Offline Yuriy V.

  • Contributor
  • Posts: 28
  • Country: ru
    • trengtor custom
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #401 on: July 02, 2024, 05:33:52 pm »
Синтезатор (synthesizer)
« Last Edit: July 02, 2024, 07:48:33 pm by Yuriy V. »
 
The following users thanked this post: Markus2801A

Offline onx

  • Newbie
  • Posts: 6
  • Country: ua
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #402 on: July 02, 2024, 11:03:06 pm »
This firmware UTG900E.bin doesn't have SRC check :)
We can change FW version to any we want.
Now my 3.06 changed to 1.09 :)
 

Online Aldo22

  • Super Contributor
  • ***
  • Posts: 1026
  • Country: ch
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #403 on: July 05, 2024, 12:03:34 pm »
normal or not ?? Is my copy bad?

I don't know enough about it and I don't have such a device, but why don't you compare the information in the data sheet with your measurements?
Like "phase noise" and "shake": https://www.batronix.com/files/Uni-Trend/UTG900E/UTG900Edatasheet.pdf
 

Online Aldo22

  • Super Contributor
  • ***
  • Posts: 1026
  • Country: ch
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #404 on: July 05, 2024, 02:32:44 pm »
Hi,

because there is no value for shake at sine waves. And because I don't understand what a value of -125dBc/Hz means at phase noise.

I understand that you would prefer it if someone with an UTG932 could confirm your measurements.
I can't, but I think that some jitter is normal. It's still a cheap FG.

If you want to know more about it theoretically:
German: https://de.wikipedia.org/wiki/Phasenrauschen#Messung

Lots of background (English)
https://www.npl.co.uk/special-pages/guides/gpg68_noise

Maybe you could ask the question more generally in another subforum. Maybe "Metrology" or "Beginners", I don't know.
There are already such topics: https://www.eevblog.com/forum/metrology/phase-noise-measurement/msg3337416/#msg3337416
 
The following users thanked this post: Yuriy V.

Offline valcher

  • Contributor
  • Posts: 18
  • Country: ru
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #405 on: July 08, 2024, 06:20:06 pm »
I seem to have found what the write error problem is, the new UTG900 has w25q64 memory, and the old w25q80 memory. And also, there is a slight difference - see the photo.
Now I can't confirm my guess yet, because there is no such memory, but I ordered it and am waiting for it.

« Last Edit: July 08, 2024, 06:51:17 pm by valcher »
 
The following users thanked this post: Yuriy V.

Offline Yuriy V.

  • Contributor
  • Posts: 28
  • Country: ru
    • trengtor custom
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #406 on: July 09, 2024, 09:11:58 pm »
And also, there is a slight difference - see the photo.

Are the FPGA chips used in them completely identical?
 

Offline valcher

  • Contributor
  • Posts: 18
  • Country: ru
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #407 on: July 11, 2024, 04:47:23 pm »
All chips are identical, only the FPGA itself is from different manufacturers.
My guess was not crowned with success, I tried to flash a new flash with a programmer, but it did not bring any effect. Moreover, I accidentally rewrote the native flash image and now I can’t revive the generator. If anyone can share the image.
 

Offline valcher

  • Contributor
  • Posts: 18
  • Country: ru
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #408 on: July 17, 2024, 09:45:44 pm »
I found the original firmware and restored everything.
 

Offline Yuriy V.

  • Contributor
  • Posts: 28
  • Country: ru
    • trengtor custom
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #409 on: July 18, 2024, 01:35:59 pm »
I found the original firmware and restored everything.

Version?
 

Offline valcher

  • Contributor
  • Posts: 18
  • Country: ru
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #410 on: July 18, 2024, 03:15:41 pm »
Quote
Version?

FPGA - 1.07
 

Offline Yuriy V.

  • Contributor
  • Posts: 28
  • Country: ru
    • trengtor custom
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #411 on: July 18, 2024, 06:04:37 pm »
Anybody has Software (firmware) version 1.09 BIN file?
 

Offline Evgeni62

  • Newbie
  • Posts: 6
  • Country: ru
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #412 on: July 19, 2024, 04:01:20 am »
Does anyone have firmware with Russian language?
 

Offline valcher

  • Contributor
  • Posts: 18
  • Country: ru
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #413 on: July 19, 2024, 05:42:50 pm »
@Evgeni62
It seems like this never happened.
@Yuriy V.
What is the difference between 1.09 and 1.07?
 

Offline Yuriy V.

  • Contributor
  • Posts: 28
  • Country: ru
    • trengtor custom
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #414 on: July 19, 2024, 07:17:28 pm »
What is the difference between 1.09 and 1.07?

Scroll above, I posted a screenshot - and you will understand what I’m talking about.
 

Offline Yuriy V.

  • Contributor
  • Posts: 28
  • Country: ru
    • trengtor custom
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #415 on: July 20, 2024, 05:31:20 pm »
Inrush Current when power switch moves to ON.
« Last Edit: July 20, 2024, 08:02:56 pm by Yuriy V. »
 

Offline PatrickB

  • Contributor
  • Posts: 48
  • Country: fr
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #416 on: August 26, 2024, 07:34:51 am »
Hi Onx,
Can you send me the link to download firmware version 1.09.
Thanks
 

Offline renaatd

  • Newbie
  • Posts: 4
  • Country: be
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #417 on: September 21, 2024, 06:33:23 pm »
After struggling with the UNI-T Device Manager, I decided to try do ARB uploads directly from CSV/text file with a Python script.
The SCPI/VISA interface has several quirks, so it took longer than expected to have the details right. It now seems to work, and might be useful for others, so here it is:
https://github.com/renaatd/utg962
 
The following users thanked this post: Mechatrommer, Jacon

Offline Eltax1693

  • Contributor
  • Posts: 20
  • Country: se
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #418 on: September 22, 2024, 03:09:32 pm »
EDIT: I found it.

Maybe a stupid question. Where do I update firmware? UTG962E.

Thank you.
« Last Edit: September 22, 2024, 03:32:00 pm by Eltax1693 »
 

Offline Yuriy V.

  • Contributor
  • Posts: 28
  • Country: ru
    • trengtor custom
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #419 on: September 29, 2024, 11:56:29 am »
I have already reported above about the problem with spontaneous channel shutdowns, etc., with a simultaneous increase in the consumed current to almost 2 A and stronger heating of the generator during its operation. The reason for all this was the inrush current when turning on the generator, reaching 5-6 A (see my post above). In addition, the power switch is rated for a maximum of 3 A. As a result, over time, carbon deposits formed on the switch contacts and their resistance increased. Which led to a loss of voltage, and after some time, to a malfunction (strange behavior) of the DC-DC converter. I think that the best way to combat this phenomenon is to short-circuit the power switch terminals. Yes, this adds inconvenience, but eliminates the problem.
« Last Edit: October 03, 2024, 08:07:06 am by Yuriy V. »
 
The following users thanked this post: 807

Offline aix

  • Regular Contributor
  • *
  • Posts: 169
  • Country: gb
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #420 on: October 03, 2024, 12:48:58 pm »
I've been trying to get pyvisa going with my UTG962E.  It's mostly working, except for grabbing a screenshot with Display:Data?.  The scripit hangs when trying to read the bitmap.

I'd love some help troubleshooting this.  This is on Ubuntu 24.04, python 3.12.3, pyvisa 1.14.1 with the pyvisa_py backend (0.7.2).

Here's the code:

import pyvisa
pyvisa.log_to_screen()
ADDR = "USB0::26198::2100::AWG1523500244::0::INSTR"
rm = pyvisa.ResourceManager()
sgen = rm.open_resource(ADDR)
sgen.write("*IDN?")
print(sgen.read())
sgen.write("Display:Data?")
disp = sgen.read_raw()[15:]  # <<< HANGS HERE

There's nothing especially interesting in the pyvisa logs:

2024-10-03 12:50:28,848 - pyvisa - DEBUG - No visa library specified, trying to find alternatives.
2024-10-03 12:50:28,848 - pyvisa - DEBUG - Environment variable PYVISA_LIBRARY is unset.
2024-10-03 12:50:28,869 - pyvisa - DEBUG - Not loading dll_extra_paths because we are not on Windows or Python < 3.8
2024-10-03 12:50:29,440 - pyvisa - DEBUG - Automatically found library files: [None, None, None, None, None]
2024-10-03 12:50:29,441 - pyvisa - DEBUG - No user defined library files
2024-10-03 12:50:29,441 - pyvisa - DEBUG - Did not find IVI binary
2024-10-03 12:50:29,453 - pyvisa - DEBUG - SerialSession was not imported No module named 'serial'.
2024-10-03 12:50:29,522 - pyvisa - DEBUG - USBSession and USBRawSession were correctly imported.
2024-10-03 12:50:29,538 - pyvisa - DEBUG - TCPIPSession was correctly imported.
2024-10-03 12:50:29,541 - pyvisa - DEBUG - GPIBSession was not imported No module named 'gpib'.
2024-10-03 12:50:29,541 - pyvisa - DEBUG - pyvisa-py is available.
2024-10-03 12:50:29,541 - pyvisa - DEBUG - Created library wrapper for py
2024-10-03 12:50:29,542 - pyvisa - DEBUG - Created ResourceManager with session 8035761
2024-10-03 12:36:55,882 - pyvisa - DEBUG - USB0::26198::2100::AWG1523500244::0::INSTR - opening ...
2024-10-03 12:36:55,906 - pyvisa - DEBUG - USB0::26198::2100::AWG1523500244::0::INSTR - is open with session 8719109
2024-10-03 12:36:55,908 - pyvisa - DEBUG - USB0::26198::2100::AWG1523500244::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read: 1073676294>)
UNI-T Technologies,UTG900E,AWG1523500244,3.06
2024-10-03 12:36:55,911 - pyvisa - DEBUG - USB0::26198::2100::AWG1523500244::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read: 1073676294>)

Given that some of you got this working earlier in the thread, I'd love to understand the diff between your environment and mine.

Edit 1: forgot to mention that this is on aarch64 (Raspberry Pi).

Edit 2: I've been playing with other SCPI commands.  It appears that some commands consistently work while other consistently fail, and this seems to correlate with the length of the response.  I wonder if exceeding the USB device's wMaxPacketSize (64 bytes) might be what's triggering the issue.  Or something along those lines.  Thoughts?

Edit 3: I saw this commit from two days, but it didn't help.  I also added a bunch of logging throughout the stack, which suggested it's not a packet reconstruction isssue: for a broken command, the very first read from the libusb1 endpoint seems to block forever.
« Last Edit: October 03, 2024, 05:59:17 pm by aix »
 

Offline eTobey

  • Frequent Contributor
  • **
  • Posts: 906
  • Country: de
    • Virtual feature script
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #421 on: October 03, 2024, 11:07:00 pm »
Try adding 100ms delay before and after "sgen.write("Display:Data?")"
"Sometimes, after talking with a person, you want to pet a dog, wave at a monkey, and take off your hat to an elephant." (Maxim Gorki)
 

Offline aix

  • Regular Contributor
  • *
  • Posts: 169
  • Country: gb
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #422 on: October 04, 2024, 04:17:49 am »
Try adding 100ms delay before and after "sgen.write("Display:Data?")"

Thanks for the suggestion.  I tried it, but it didn't fix the issue.

One interesting observation is that I saw SYSTem:INFo? work, but only just once.  It's one of those commands that I couldn't get to work before, I suspect because of its long output (70 chars).  When I saw it work, I re-ran the exact same script a bunch of times but it was back to locking up on read().

All of this does seem to hint at a timing issue of some sort.

Would love to hear other ideas or suggestions.
 

Offline eTobey

  • Frequent Contributor
  • **
  • Posts: 906
  • Country: de
    • Virtual feature script
"Sometimes, after talking with a person, you want to pet a dog, wave at a monkey, and take off your hat to an elephant." (Maxim Gorki)
 

Offline aix

  • Regular Contributor
  • *
  • Posts: 169
  • Country: gb
Re: UNI-T UTG932/UTG962 200MSa/s Function Arbitrary Waveform Generator
« Reply #424 on: October 04, 2024, 06:43:24 am »
I tried various timings, but to no avail.

The device doesn't have Ethernet, only USB.  (In fact, I plan to make a USB-to-Ethernet bridge but for that I obviously need to get USB comms working.)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf