Home
Red Pitaya User Manual
Contents
1. Name Size Type isi raid i gt bin folder Computer gt ul dev folder iti Home gt ja etc folder Ei Desktop I home folder mM Bea Hi I lib folder E Downloads 3 gt jag licenses folder Music a gt lost found folder Im Pictures j gt mt folder File System gt opt folder G Trash zu gt a proc Folder Network Mo A d PP root folder E SFTP fo amp gt sbin folder Gi SFTP fo 4 gt s sys folder Browse Net gt uj tmp folder gt ja usr folder gt var folder ay linuxrc 868 4 kB Link to program README 256 bytes unknown update qspi sh 481 bytes shellscript root selected Figure 17 Root filesystem on Red Pitaya Copying data Windows users Windows users should use an SCP client such as WinSCP http winscp net download winscp51 8setup exe Download and install it and follow its installation instructions To log in to Red Pitaya see example screen in Figure 18 28 amp redpitaya oy WinSCP Login Session Stored sessions Environment Directories Host name Port number 10 0 1 221 22 E Preferences User name Password Select color Advanced options About Languages Save Close Figure 18 WinSCP login screen After logging in the main screen will show the content of the Red Pitaya root filesystem Navigate to select your stored data and use the in
2. Note The CPU algorithms communicate with FPGA through these registers Therefore the user should be aware of a possible interference with Red Pitaya applications reading or acting upon these same FPGA registers For simple tasks however the monitor utility can be used by high level scripts Bash Python Matlab to communicate directly with FPGA if necessary 32 amp redpitaya 6 1 7 Application development For detailed instructions about new application development please refer to Red Pitaya Development Guide 7 Support and contact information To learn more about technical specifications signal connections applications and command line utilities you may visit www redpitaya com webpage or contact our distributor support PLEASE PROVIDE EMAIL ADDRESS 33
3. amplitude frequency lt type gt The example below presents the setting of the Red Pitaya generator from a Linux PC woi olime L root mow 00r 10 0 1 221 Api l1mAgenerbateqmim Z 500000 sine i The example below presents the setting of the Red Pitaya generator from a Windows PC dos od m IN oor pw rooe OMONE Dt Zoumdqeneratsemwie 2 0 00 00 s9mced d 6 1 4 2 Signal acquisition from Matlab The signal acquisition can be done by executing the following command file plink 1 username pw password IP address opt bin acquire size dec The example below presents the acquisition of the signals from Red Pitaya to a Linux PC Co o redpitaya command Non IN 0 ot OW OON Onno pim dae equites Io ATTE c data unix command data str2num data Acquisition of the signals from Red Pitaya to a Windows PC command plink 1 root pw root 10 0 1 221 opt bin acquire 16384 1 c data dos command data str2num data Acquisition of the signals from Red Pitaya to an NFS share command plink 1 root pw root 10 0 1 221 opt bin acquire 16384 1 awel cerce esse V B unix command 6 1 5 Accessing system registers The system registers can be accessed through a monitor utility opt bin monitor Usage instructions redpitaya monitor Usage read addr address write addr address value read analog mixed signals ams set slow DAC sdac AO0 A01 AO2 AO3 V
4. sudo modprobe ftdi sio vendor 0x0403 product 0x6015 To load the driver automatically at boot add this line to etc modules file ftdi sio vendor 0x0403 product 0x6015 3 6 1 3 OS X users Download and install the MAC OS X FTDI driver on your Mac The FTD driver is available on http www ftdichip com Drivers VCP htm webpage Then follow these steps e Run XOS terminal Launchpad Other Terminal and list usbserial device redpitaya localhost user ls dev cu dev cu usbserial DN003N3N e Connect to Red Pitaya using the screen tool localhost user screen dev cu usbserial DN003N3N 115200 8N1 redpitaya To quit the screen tool press the sequence CTRL A K Y 3 6 2 SSH connection SSH connection can be established using standard SSH clients such as SSH openssh Linux OS X or PuTTy Windows Access information for SSH connection e Username root e Password root Connection examples will be given for Windows Linux and OS X users separately 3 6 2 1 Windows users For this example PuTTy tool was used on Windows XP and Windows 7 Starter OS Run PuTTy and enter the Red Pitaya s IP address to Host Name or IP address field as shown in Figure 6 14 redpitaya IK PuTTY Configuration X Category Session Y session 3 1 MG pecify the destination you want to connect TB E Termina Host Name or IP address Port Keyboard Bell 192 168 1 100
5. redpitaya Red Pitaya User Manual redpitaya Introduction Red Pitaya is an open source project developed around a reconfigurable measurement instrument in size of a credit card It can replace many expensive laboratory measurement and control instruments The users can start using the applications available within the Bazaar free of charge marketplace This can be achieved with a single click At the same time they can view and modify the published source code in order to develop new applications and share their results with the community The Red Pitaya unit is a network attached device based on Linux operating system It includes Radio Frequency signal acquisition and generation technologies FPGA Digital Signal Processing and CPU processing Red Pitaya enables everyone to start using technologies yesterday available only to advanced research laboratories and industry Current version Name February 17 2014 Rok Hrovatin Borut Bari evi Ale Written by Checked by Revision history Date Revision description February 17 2014 Sx redpitaya Peter Leban Original document Date February 17 2014 Written by Peter Leban sg redpitaya Table of contents 1 What la the ON SA ANE AT AN TT EN EA TA TAN TN AN TN PA TA 5 1 1 Abbreviations in this document sse 5 1 2 Safety symbols and TONM Soo on odd e rk ood ob ke c lo d RR 6 1 3 Io en aa nas 6 ama ain
6. Example system register reading 31 redpitaya redpitaya gt monitor ID Desc Temp 0C 85C dus 825 AI1 AI2 AI3 AT4 VCEPENM VONE VCCPAUX 1V8 9a9 VCCBRAM 1V0 55d VCCINT 1V0 595 VCCAUX 1V8 9ab GIO D SN ALS 809 SE dL BW 250000 AO1 150000 AO2 250000 AO3 0 1 BV 220000 en al 2 2 4 5 6 7 8 The ams switch provides access to analog mixed signals including Zynq SoC temperature auxiliary analog input reading power supply voltages and configured auxiliary analog output settings The auxiliary analog outputs can be set through the monitor utility redpitaya gt monitor sdac 0 9 0 8 0 7 0 6 6 1 6 Accessing FPGA registers Red Pitaya signal processing is based on two computational engines the FPGA and the dual core processor in order to effectively split the tasks Most of the high data rate signal processing is implemented within the FPGA building blocks These blocks can be configured parametrically through registers The FPGA registers are documented in the RedPitaya HDL memory map xxx document The registers can be accessed using the described monitor utility For example the following sequence of monitor commands checks modifies and verifies the acquisition decimation parameter at address 0x40100014 redpitaya gt monitor 0x40100014 0x00000001 redpitaya gt redpitaya gt monitor 0x40100014 0x8 redpitaya gt monitor 0x40100014 0x00000008 redpitaya gt
7. Features Connection type E Window C Raw Telnet C Rlogn SSH C Appearance Behaviour 5 Translation Saved Sessions Selection RedPitaya Colours Default Settings Load El Connection RedPitaya Proxy Telnet Delete Rlogin SSH Serial Close window on exit C Always Never Only on clean exit About Open Cancel Figure 6 PuTTy SSH connection settings If you attempt to connect to Red Pitaya for the first time a security alert will pop up asking you to confirm the connection At this time the SSH key will be added to the registry in your computer Command prompt pops up after login is successful see Figure 7 ini x GNU Linux version 857 Figure 7 SSH connection via PuTTy 3 6 2 2 Linux users Start Terminal and type 15 redpitaya user ubuntu SSH root 192 168 1 100 GO Ole VOPR 16E il TO Ee MY XS wore JAGO Red Pitaya GNU Linux version 857 redpitaya gt 3 6 2 3 OS X users Run XOS terminal Launchpad Other Terminal and type localhost user SSH root 10 0 3 249 The authenticity of host 10 0 3 249 10 0 3 249 can t be established RSA key fingerprint ts e420 2 edia Eden 69704 764 26 49 0asa0 es 1co sie Are you sure you want to continue connecting yes no yes Warning Permanently added 10 0 3 249 RSA to the list of known hosts root 10 0 3 249 s password root Red Pitaya GNU Linux version 908 redpitaya gt 3 7 Web browser connection
8. you can use secure copy redpitaya gt scp my local file lt user gt lt destination ip gt lt path to directory gt Alternatively Linux users can use graphical SCP SFTP clients such as Nautilus for example explorer window To access the address line type CTRL L and type in the following URL sftp root ip address Computer File Edit View Go pookmarks Go To Figure 15 Nautilus URL address bar Insert the Red Pitaya password Figure 16 The default Red Pitaya password for the root account is root For changing the root password check documentation okmarks Help Bookmarks E raid2 computer Name Size Type Date Modified E raid CD DVD Drive unknowntype unknown Dem KA File System unknown type unknown Home E Desktop E Documents i Downloads 5 Enter password for ssh as root on 10 0 1 121 il Music ji ji Pictures Password File System Forget password immediately E Trash Remember password until you logout Network Remember forever E Browse Net cancel ion Figure 16 Password window 27 redpitaya After logging in the main screen will show the directory content of Red Pitaya s root filesystem Navigate to select your stored data and use the intuitive copy paste and drag amp drop principles to manipulate the files on Red Pitaya see Figure 17 View Go Bookmarks Help Bookmarks IS root IS SFTP for root on 10 0 1 121
9. Set point value corresponds to the controller reference input voltage expressed in counts 8192 8191 SPij e Proportional gain Proportional multiplication factor expressed in counts 8192 8191 KPij e Integral gain Integral multiplication factor expressed in counts 8192 8191 KIij e Derivative gain Derivative multiplication factor expressed in counts 8192 8191 KDij e Integrator reset checkbox When checked it resets the integrator register The PID controller functionality is available through a drop down menu called PID controller This menu presents fields corresponding to the PID parameters see Figure 13 The user can set the PID coefficients in order to apply feedback to external systems and simultaneously visualize input signals using the Oscilloscope function 23 redpitaya PID 11 Int RST v PID 11 Int RST v SP 0 SP 0 KP 0 KP 0 KI 0 KI 0 KD 0 KD 0 PID 21 Int RST v PID 21 Int RST v SP 0 SP 0 KP 0 KP 0 KI 0 KI 0 KD 0 KD 0 Figure 13 PID controller 5 Installing applications Red Pitaya applications can be downloaded and installed from Bazaar the application marketplace To review and manage install upgrade or remove the available applications connect to your Red Pitaya through a WEB browser refer to Chapter 3 7 make sure your Red Pitaya has access to the internet and click on the Bazaar link A list of applications will appear see F
10. ethO inet static addreso 192 IG Ly JUOhil MMe 2 2 591450900 teway 192 168 1 1 HERE EH EH HEE HEE HEHEHE HEE EH HHH wlan0 Wirel USB adapter 4 ui ki auto wlan0 iface wlan0 inet dhcp pre up wpa_supplicant B D wext i wlan0 c opt etc network wpa supplicant conf post down killall g wpa supplicant uUdhepelopes 5 S Save the file and plug it into Red Pitaya before powering it on 3 5 Power on To power ON your Red Pitaya follow the sequence of these steps exactly Step 1 Place your Red Pitaya on a firm flat surface in a well ventilated environment Step 2 Make sure the Micro SD card is inserted to Red Pitaya Step 3 Plug in the network cable Step 4 If required plug in the USB cable for console connection Step 5 Connect the power cable and check the status of LED diodes Blue D and Green P LED diodes should be lit The Orange LED 0 should blink 11 amp redpitaya Interfaces and steps mentioned above are indicated in Figure 5 Micro SD card step 2 Ethernet step 3 Console step 4 Power supply step 5 Figure 5 Boot up procedure in steps 3 6 Red Pitaya command line access 3 6 1 Console USB connection Serial console connection is independent from the Ethernet connection Use a Micro USB cable to connect your computer with Red Pitaya Connection instructions will be given for Windows Linux and OS X users separately The serial port configuration
11. is given in Table 3 Table 3 Console connection parameters Parameter Value Speed 115200 Data bits 8 Stop bits 1 Parity None Flow control None Neither username nor password is reguired Boot up seguence finishes with a UNIX shell command prompt redpitaya gt 3 6 1 1 Windows users Download and install the FTD driver to your PC After installation a new COM port will appear in the Device Manager which you will use in Hyperterminal or another terminal utility to connect to Red Pitaya 12 redpitaya The FTD driver is available on http www ftdichip com Drivers VCP htm webpage 3 6 1 2 Linux users To access the serial console use one of the serial communication tools e g minicom Follow these steps e Connect the USB cable between your PC and Red Pitaya e Open a terminal window and check the USB devices look for Future Technology Devices lsusb grep Future Bus 005 Device 002 ID 0403 6015 Future Technology Devices International Ltd The ttyUSB device must be listed in dev user ubuntu 11 dev ttyUSBO crw rw 1 root dialout 188 0 2013 11 27 08 09 dev ttyUSBO e Following that run minicom as shown below user ubuntu minicom D dev ttyUSBO e Serial console will open NOTE Some older Linux distributions e g Ubuntu versions 10 04 and 11 04 do not recognize the FTD USB device automatically To fix this issue the following command in the terminal window
12. questions to info redpitaya com Sg redpitaya 2 Hardware 21 Hardware interfaces Red Pitaya features several measurement control and storage interfaces They are shown in Figure 1 Fast analog input 1 Fast analog input 2 Fast analog output1 Fast analog output2 Figure 1 Interfaces Table 2 Interfaces and their descriptions Power micro USB Pa Micro SD card Eu Name Type Connector Description INI IN Input SMA F RF input High Z IMQ 10 pF OUTI OUT2 Output SMA F RF output 50 Q Ethernet Full duplex RJ45 1000Base T Ethernet connection USB Full duplex A USB Used for standard USB devices Micro USB rs Full duplex Micro B USB Used for console connection Console Micro USB dT Input Micro B USB 5V 2 A power supply Micro SD Full duplex Micro SD slot Micro SD memory card 2 2 Gain setting for the input channels Gain can be individually adjusted for both input channels The adjustment is done by bridging the jumpers located behind the corresponding input SMA connector redpitaya 3 Figure 2 Jumpers position Left 1 V full scale right 20 V full scale CAUTION Jumper settings are limited to the described positions Any other configuration or use of different jumper type may damage the product amp redpitaya 3 Getting started 3 1 Connecting to Red Pitaya Red Pitaya is a network attached device acting as a WE
13. setting To exit the Oscilloscope application click the Red Pitaya logo on the top right of the screen 42 Signal generator application The signal generator functionality is available as an extension of the Oscilloscope application in order to be able to use both of them simultaneously 19 sg redpitaya Signal generator W Channel 1 2 Signal type 3 Amplitude 4 Frequency DC offset Trigger mode LJ Channel 2 Signal type Amplitude Frequency DC offset Trigger mode Triangle Y 1 Vpp 10000 Hz 0 V Continuous v Sine d 0 Vpp 1000 Hz 0 V Continuous M Figure 11 Signal generator drop down menu Table 5 contains description of Oscilloscope functionalities referring to annotations in Figure 11 Table 5 Functions of the signal generator 1 Signal enable checkbox It enables disables the signal generation on a specific channel 2 Signal type It defines the output signal type sinusoidal rectangular triangular and arbitrary from file 3 Amplitude It defines the output signal amplitude 4 Frequency It defines the output signal frequency 20 redpitaya Annotation NT Description number 5 DC offset It defines the signal DC offset Trigger mode It defines how the signal is triggered Continuous Single 6 External Single button When single trigger mode is configured the click of this button triggers a single sequence of sampl
14. 7 2 1 Hardware interfaces mete 7 2 2 Gain setting for the input channels ooooooooWoW momo 7 Getting Stared a 9 3 1 Connecting to Red PAY cnc ei cecisctceiciccnentiniencineticeanseiendaentnetcn crenentnendneboacueneidmeadnds 9 3 2 Network DACP configuratidn ooo co o oo 9 3 3 Red Pitaya SD card preparation ooooooWo Woo 9 3 4 Manual network interface configuration oooooooW Wo 10 3 5 POWOK Otonom ne ae ea ema 11 3 6 Red Pitaya command line accesSs oooooo oWo Woo 12 3 6 1 Console USB connection oooooooooooW 12 3 6 1 1 Windows HSBIS eie d etaed de baee ete bu Een 12 Oa QU SUIS 13 305 1 3 OS KUSEN eire peto on bx Ex Lo Eb ree ue cb ue 13 3 6 2 SSH connection ues eerte terit epo ent mesin mai 14 45 2 WINDOWS USOTE cic ERREUR UE MENU 14 3 6 2 2 LINUX QUII Ecco 15 36023 OS RA lp n 16 3 7 Web browser connection ooo o cooco oo Woombsbeseaa 16 AN DD 17 4 1 Oscilloscope application cccccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaaeaaeeeeeeeeeeseeseaaeees 17 4 2 Signal generator application oo oooooooooWoo nana 19 4 3 Spectrum analyzer application oooooooooooooo W Woman 21 4 4 PlD controller applicatiOn ooooooooomoomannnnnnnaaan 23 Installing cio Mew m 24 Red Pitaya command line utilitieS ooo oom 25 6 1 1 Signal generator utility xxx ne erat Rp tee 25 6 1 2 Si
15. Applications running on Red Pitaya are client server based and can be accessed with a standard WEB browser Simply type the Red Pitaya s IP address to your WEB browser address bar and wait for the main screen to load see Figure 8 Sx redpitaya You can get more applications from the Red Pitaya Bazaar Get more applications Oscilloscope tums your Red Pitaya into a two channel time domain signal visualization system A two channel waveform generator can be used in parallel to the oscilloscope function Spectrum Analyzer tums your Red Pitaya into a two channel frequency domain analysis system The power level of the input signals is represented as a function of the input frequency Run Figure 8 Main screen of WEB interface 16 amp redpitaya 4 Web applications When user connects to a Red Pitaya unit through a WEB browser a list of locally installed applications is visualized see Figure 8 Applications can be started by clicking the RUN button To install new applications refer to Chapter 5 4 1 Oscilloscope application This application turns your Red Pitaya into two channel time domain signal visualization system The main part of the application is the plot area where 2 RF input signals are presented The user can control how the traces are visualized through the buttons on the top of the plot area see Figure 9 Other options are available in the drop down menus on the right side see Table 4 for details Scr
16. B server Users can connect to Red Pitaya by simply typing its IP address in the WEB browser address bar Furthermore the www redpitaya com webpage under the Connect to my Red Pitaya link implements an IP address discovery utility which automatically connects to Red Pitayas in your local network The following paragraphs provide detailed information about Red Pitaya connection 3 2 Network DHCP configuration By default Red Pitaya obtains its network settings using DHCP protocol see Figure 3 If no reply from the DHCP server is obtained within 20 seconds Red Pitaya will configure its network interface to e IP address 192 168 1 100 e Netmask 255 255 255 0 Router assigns the IP addresses Figure 3 Default network configuration DHCP with fallback to 192 168 1 100 If default configuration is not suitable follow the instructions in Chapter 3 4 for custom network interface configuration 3 3 Red Pitaya SD card preparation In case your Red Pitaya package does not contain a micro SD card you need to install the Red Pitaya software to an empty micro SD card Follow this procedure e Download the Red Pitaya SD card image zip file from the www redpitaya com webpage e Insert the Micro SD card into the PC s SD slot Use an adapter if required redpitaya e Make sure the Micro SD card s capacity does not exceed 32 GB it is empty and formatted asa FAT32 file system e Extract the downloaded Red Pitaya SD card image z
17. al accessories e 5V 2 A micro USB power supply e Preloaded micro SD card e 2x SMA BNC adapters e 2x oscilloscope probes 1 4 Abbreviations in this document Abbreviations used in this document are listed in Table 1 Table 1 Abbreviations Abbreviation Description ADC Analogue to Digital Converter CPU Central Processing Unit DHCP Dynamic Host Configuration Protocol FIFO First In First Out queue FPGA Field Programmable Gate Array IP Internet Protocol address MAC Media Access Control address OS Operating System PC Personal Computer RF Radio Frequency BW Bandwidth SMA SubMiniature version A connector DAC Digital to Analogue Converter SD Secure Digital LED Light emitting Diode COM Communication port SSH Secure Shell SFTP Secure File Transfer Protocol NFS Network File System redpitaya 1 2 Safety symbols and terms The N symbol on the instrument indicates the user should refer to the operating instructions located in this document The CAUTION heading in this manual explains hazards which could damage the instrument Such damage may invalidate the warranty The NOTE heading in this manual gives important explanations on the usage to avoid misunderstandings If the device is used in a manner not specified by the manufacturer the protection provided by the equipment may be impaired 1 3 Support Please address your technical support
18. eenshots were taken from a PC browser The layout may differ on other devices browsers Oscilloscope amp redpitaya 000 ves 7 Channel Channel 2 Source Channel 1 Mode Auto Edge Rising Level Voltage V Range Measure eon Gain settings 40 60 80 100 Time us 2014 Red Pitaya Figure 9 Oscilloscope application 17 redpitaya Trigger Measure Source Channel 2 M Channel 1 Channel 2 Min 0 544 V Min 0 624 V Mode Single M Max 0 459 V Max 0 656 V Amp 1 003 Vpp Amp 1 280 Vpp Edge Rising Y Avg 0 099 V Avg 0 142 V Freq 0 Hz Freq 0 Hz Level 0 4855 V Period 0 ns Period 0 ns 1 At Gain settings AV Channel 1 Range Probe attenuation 1x Y X axis Y axis Gain setting High Y r EB cB Channel 2 Probe attenuation 1x M Gain setting High v Figure 10 Oscilloscope application drop down menus Table 4 contains description of Oscilloscope functionalities referring to the annotations in Figure 9 and Figure 10 Table 4 Functions of Oscilloscope application Annotation er Description number 1 Autoscale When clicked it sets the voltage range in order for the current input signals to optimally fit into the plot area 2 Reset zoom When clicked it resets the time range to the interval 0 to 130 us and sets the voltage range to full scale 3 Diagram tools zoom in zoom out pan marker A marker B tablet devices combine the fi
19. es 4 File upload It enables the upload of the arbitrary signal samples in the form of a CSV file see Red Pitaya specification document Note The output channels are designed to drive 50 loads Terminate outputs when channels are not used Connect parallel 50 load SMA tee junction in high impedance load applications 4 3 Spectrum analyzer application This application turns your Red Pitaya into a two channel frequency domain analysis system The plot area represents the input signal power in dBms versus frequency The user can control the diagram area using the buttons on top of plot area and the control menu on the right See Table 6 for details Screenshots were taken from a PC browser The layout may differ on other devices browsers 21 redpitaya Spectrum Analyzer SEC redpitaya Aa Ta Teen 000 0 0 E Chee Chal Freg range 625 MHz im 0 10 Peak Cai 61 454 dBm 0 09 MHz 4 Peak C32 76 972 dBm 0 00 MHz 2 Ad Power cm 120 HJ Frequency Moz Channe Channel 2 2014 Red Pitays Figure 12 Spectrum analyzer application Table 6 Functions of Spectrum analyzer Annotation Description number 1 Autoscale It sets the Y axis scaling factor in order to optimally fit the visualized spectra into the plot area 2 Reset zoom It displays the whole frequency range and sets the Y axis to maximum range Diagram tools zoom i
20. gnal acquisition utility hot an an Pede eee ndk 26 6 1 3 Saving dala Duffels en aa iki 26 6 1 4 Alternative access to the inStruMent ooo co W 30 6 1 4 1 Signal generator from Matlab oooooW 30 6 1 4 2 Signal acquisition from Matlab sssssssssesssss 30 6 1 5 ACCESSING system registered gehe teh nate lectin menanam ena 31 6 1 6 Accessing FPGA registers Lione sition pene tort bt sube bone ben tiq ub npn Ds 32 redpitaya 6 1 7 Application development Woo oo 33 7 Support and contact information kh UE kk bkk mekah ahh 33 Index of figures Fig re T5 Ine BO Deos ci cet he i o en Aa EA BN baba 7 Figure 2 Jumpers position Left 1 V full scale right 20 V full scale 8 Figure 3 Default network configuration DHCP with fallback to 192 168 1 100 9 Figure 4 OS installation to Micro SD Card Wo oo Waka 10 Figure 5 Boot up procedure in steps e seccccceeeeeeeeeeeeeeeeeeeeeeeeeeeneaaaeaeeeeeeeeeeeeeseeeees 12 Figure 6 PuTTy SSH connection settings oooooooo oom 15 Figure 7 SSH connection via PIT Ty o ooooooo o o oooooomenem smkn em aman deii 15 Figure 8 Main screen of WEB interface oooooo W oo momo XX 16 Figure 9 Oscilloscope application TL 17 Figure 10 Oscilloscope application drop down menus oooooooWoW Wo 18 Figure 11 Signal generator drop down menu ooooo W W W o
21. hannel amplitude frequency lt type gt channel Channel to generate signal on 1 2 amplitude Peak to peak signal amplitude in Vpp 0 0 2 0 frequency Signal frequency in Hz 0 1 0e 07 type Signal type sine sqr tri Table 7 Parameters of Signal generator utility Name Type Range Description channel int 172 Output channel selection Maximal t signal is 2 V peak amplitude float 0 2 V aximal output signal 1s peak to peak Frequency can be generated in the range f fl 1 H a LE apu du d from 0 Hz DC signal up to 10 MHz Optional parameter Signal shape type EE ional B aes gina etes sine sine wave signal sqr square signal tri triangular signal If omitted sine 1s used The output can be disabled by setting the amplitude parameter to zero Example 2 Vpp square wave signal with 1 MHz on channel 1 redpitaya gt generate 1 2 1000000 sqr Note that the signal generator output impedance is 50 If user wants to connect the output of the signal generator OUT1 OUT2 to the Red Pitaya input ADC1 ADC2 50 Q terminations should be connected at the Red Pitaya ADC inputs through the T type connector 25 redpitaya 6 1 2 Signal acquisition utility The signal from Red Pitaya can be acquired through a command line utility opt bin acquire It will return raw samples from the ADC buffer to standard output Usage instructions see also Table 8 redpitaya gt acqu
22. igure 14 By clicking the Install button the selected application will be installed on your Red Pitaya The applications that are already installed on your Red Pitaya can be removed or upgraded if newer versions are available by clicking the uninstall or upgrade button respectively 3 rex if itaya My Red Pitaya 10 0 0 129 Bazaar RA Applications marketplace ee E RN Spectrum Analyzer 0 8 Frequency Response Analyzer Oscilloscope amp Generator 0 9 Frequency Response Analyzer Spectrum Analyzer tums your Red Frequency Res S Piaya in Analyzer Oscilloscope tums your Red Frequency Response Analyzer Pitaya into a two channel tums san dela a into a two Pitaya into a two channel time aie E Red Pitaya into a two frequency domain analysis channel freq ponse domain signal visualization inel frequency response system The duos system A analysis Run Install Run Install Uninstall Figure 14 Bazaar the application marketplace where applications can be installed with a single click 24 redpitaya 6 Red Pitaya command line utilities Note Command line utilities must not be used in parallel with a WEB application 6 1 1 Signal generator utility The Red Pitaya signal generator can be controlled through the command line utility opt bin generate but be aware it interferes with the GUI based Generator application Usage instructions see also Table 7 redpitaya gt generate Usage generate c
23. ip file and copy its content to the Micro SD card 10 items Free pace 3 7 GB Figure 4 OS installation to Micro SD card e Final directory structure in the Micro SD card should look like JOLIN etc sbin fare www boot bin devicetree dtb ulmage uramdisk image gz Version exe e Unmount and remove the Micro SD card from your PC and insert it into Red Pitaya 3 4 Manual network interface configuration To set up a custom network configuration unplug the Micro SD card from Red Pitaya and plug it into your computer or tablet Use a text editor and edit the etc network interfaces file Follow instructions given in the file To set a static configuration e Comment with the iface eth0 inet dhcp line e Uncomment the lines below including iface eth0 inet static Set up the network configuration matching your network To set a dynamic DHCP configuration 10 2K redpitaya Uncomment the iface eth0 inet dhcp line Comment the lines below including iface eth0 inet static Red Pitaya network configuration ji lo Loopback interface li auto lo iface lo inet loopbac Hat tat HH EH EH EE EE HE EH EE EE EE EE EE E E eth0 Wired Ethernet 1000Base T TEE HHH HE EE EE EE HE EE EE E E EE EE EE SH Uncomment only one dynamic or static configuration Dynamic DHCP IP address iface ethO inet dhcp GING CMO pes M METUS Static IP address iface
24. ire Usage acquire size lt dec gt size Number of samples to acquire 0 16384 dec Decimation 1 8 64 1024 8192 16384 default 1 Table 8 Parameters of data acquisition tool Name Type Range Description size int 0 16384 The number of samples to read Optional parameter It specifies the 1 8 64 1024 9199 P o lt dec gt int decimation factor If omitted 1 is used 16384 NS no decimation Acquire utility will return the requested number of samples with decimation factor for both input channels column channel 1 column 2 channel 2 Example acquire 1024 samples with decimation 8 redpitaya gt acquire 1024 8 6 1 3 Saving data buffers It is recommended to use an NFS share to store any temporary data e g the measured signals using the acquire utility Use a standard mount command to mount your NFS share example redpitaya mount o nolock ip address path mnt The opt file system on Red Pitaya representing the SD card is mounted read only To save the data locally on Red Pitaya redirect the acquisition to a file in the tmp directory The tmp directory resides in RAM and is therefore volatile clears on reboot redpitaya acquire 1024 8 tmp my local file Alternatively save the data directly to the NFS mount point amp redpitaya redpitaya gt acquire 1024 8 gt mnt my remote file Copying data Linux users In case NFS share is not available
25. ma 20 Figure 12 Spectrum analyzer application rennen rtr eden tad xxix or ere de 22 Figure 13 PID controller e 24 Figure 14 Bazaar the application marketplace where applications can be installed with a SIN Pee me Aa ata 24 Figure 15 Nautilus URL address Dat titu ttn xen ex bk ot uen ck dex on orc eue 27 Figure 16 Password WINdOW ueucieccne tute puente Sieg eue sk teseu nea educat epeue nte epus near cue FEE P pesi epEeE 27 Figure 17 Boot filesystem on Red Pitaya or e RR C UR CR NE REL HERI ER CRIME 28 Figure 18 WinSCP login screen oooooo o W onlen 29 Figure 19 Directory content on Red Pitaya oooooooo o W Woo WWW 29 Figure 20 File copy destination RN 30 Index of tables Table T AbprevidtioMS en a aa aaan BN on a naa aa aaa ra aaan 5 Table 2 Interfaces and their descriptions oooooooooooooW 7 Table 3 Console connection parameterS ooooooooWoo Wanna 12 Table 4 Functions of Oscilloscope application oooooWW 18 Table 5 Functions of the signal generator oooooo WWW 20 Table 6 Functions of Spectrum analyZeT oooo Woo WWW maan 22 Table 7 Parameters of Signal generator utility ooooWo Woo 25 Table 8 Parameters of data acquisition tool ooooooo om 26 Sx redpitaya 1 Whatis in the box Instrument e Red Pitaya printed circuit board Option
26. n zoom out pan tablet devices do not visualize 2 these tools 22 redpitaya Annotation TT Ama Description 4 Channel enable buttons They enable or disable channel visualization 5 Channel freeze buttons It freezes the current spectrum 6 Main display 7 Waterfall diagram for channel 1 8 Waterfall diagram for channel 2 Freguency range selection The main freguency range covers DC to 62 5 9 MHz Additional freguency ranges starting from DC are available in order to observe signal behavior at lower freguencies For details concerning the freguency range check the specification document 10 Peak Ch1 It numerically displays the peak marker for channel 1 11 Peak Ch2 It numerically displays the peak marker for channel 2 To exit the Spectrum analyzer application click the Red Pitaya logo icon on the top right of the screen 44 PID controller application The PID controller application is available as an extension of the Oscilloscope application The PID controller implements four basic PID independent building blocks Each PID basic building block is identified by two indices i and j that range from 1 to 2 PIDij The following PID blocks are therefore available PID11 PID12 PID21 and PID22 The first index denotes the output port to which the PID block is connected while the second index denotes the connection input port Each PIDij building block has the following integer parameters e
27. rst 3 diagram tools 4 Channel enable buttons Enable or disable visualization of specific channel AvgAtDec Enables sample averaging during long acquisitions Signal to noise 5 ratio can be improved through averaging but the information concerning high frequencies is lost Refer to the specification documentation for details concerning decimation 18 Sx redpitaya Annotation T Description number 6 AUTO button Click this button to automatically select the optimal visualization range for the currently applied signals Trigger menu click on the Trigger bar to expand the trigger menu Figure 10 e Source trigger source selection channell channel2 external e Mode trigger mode o Auto Continuously acquires sequences of samples 7 asynchronously to the input signal o Normal Acquires traces when trigger conditions are met time t 0 in the plot area represents the trigger event o Single A single trace is acquired when Single button is clicked e Edge Selects the trigger edge rising falling e Level Selects the trigger level 8 Range menu Figure 10 Range and offset buttons enable guick diagram visualization area setup 9 Measure menu It gathers voltage statistics and freguency time characteristics of both input signals Gain settings menu Figure 10 10 e Probe attenuation Should be set according to the probe being used e Gain setting Should be set according to the current jumper
28. tuitive copy paste and drag amp drop principles to manipulate the files on Red Pitaya see Figure 19 jroot root 10 0 1 221 WinSCP E lal xl File Commands Mark Session View Help Address root gt amp Fz Pec Aaga GO xc o ck E ER P 38 e A Defa id p O ooo toot ash history bash_history bash logout bash profile 0B of 524B in 1 of 5 Figure 19 Directory content on Red Pitaya Select the destination local directory to save the data file to see Figure 20 29 redpitaya or My Documents Ba transfer setting New and updated file s only Do not show this dialog box again Transfer on background add to transfer queue Transfer each file individually Transfer settings Cancel Help Figure 20 File copy destination 6 1 4 Alternative access to the instrument Apart from the usual WEB access Red Pitaya can be accessed from computer using standard utilities such as SCP SSH Accessing Red Pitaya from Matlab can be done through plink interface Plink PuTTy Link is a free and open source command line network connection tool that can be downloaded from official PuTTY page lt http www chiark greenend org uk sgtatham putty download html gt 6 1 4 1 Signal generator from Matlab The generator control can be done by executing the following command unix plink 1 username pw password IP address opt bin generate Xchannel
Download Pdf Manuals
Related Search
Related Contents
Panasonic PT-DZ12000U Specification Sheet DANGER Ex-Ausführung - englisch Cables Direct USB-1191M USB cable Notice d'utilisation VIZIO CA24-A2 User Guide - Performance Audio Manual - Amazon Web Services Libretto Manutenzione Condizionatore LG Prestige Copyright © All rights reserved.
Failed to retrieve file