background image

 

 

22

Controlling the LDP-QCW via USB  

 

Introduction

Introduction

Introduction

Introduction    

In addition to the PLB-21, the LDP-QCW also has a USB interface to communicate with a 
computer/laptop. This interface allows communications over a serial text interface as well as using the 
PicoLAS protocol. While the text interface is designed for communication with a terminal program, 
the PicoLAS protocol is designed as a system interact protocol. 

The switching between the two protocols occurs automatically as soon as the LDP-QCW receives a 
certain sequence. The corresponding commands are: 

 

PING

PING

PING

PING for the PicoLAS protocol  

 

“init

init

init

init” followed by <Enter> for the text interface 

 

 

Description of the USB Interface

Description of the USB Interface

Description of the USB Interface

Description of the USB Interface    

The USB connection of the LDP-QCW emulates a virtual COM port under Windows. The necessary 
drivers can be downloaded free of charge under 

http://www.ftdichip.com/Drivers/VCP.htm

, or they 

are already included in the current Linux kernels. The virtual COM port created by this can be 
addressed like a regular one. The connection settings are: 

 

 

 

Baud rate 

115200 

Data bits 

Stop bits 

Parity 

even 

Содержание LDP-QCW 300-12

Страница 1: ...User User User User Manual Manual Manual Manual Rev Rev Rev Rev 1 1 1 12 2 2 2 0 0 0 06 6 6 6 LDP LDP LDP LDP Q Q Q QC C C CW W W W 300 300 300 300 1 1 1 12 2 2 2 Your distributor ...

Страница 2: ...ailable Connectors 5 Interface Specifications 6 Dos and Don ts 8 Functional Description 9 Trigger modes 10 Regulator 13 LED codes 14 Power Supply 15 Cooling 15 Test Load 15 Over Temperature Shutdown 16 Absolute Maximum Ratings 16 Mechanical Dimensions 17 Controlling the LDP QCW using a PLB 21 18 Controlling the LDP QCW via USB 22 The PicoLAS Protocol 29 ...

Страница 3: ...d operation regime this unit may stay none may stay none may stay none may stay none cooled or must be assembled onto a heat sink cooled or must be assembled onto a heat sink cooled or must be assembled onto a heat sink cooled or must be assembled onto a heat sink Please refer to chapter Power dissipation for more details about the Please refer to chapter Power dissipation for more details about t...

Страница 4: ...have any voltage overshoots when switching on or off Do not exceed the maximum operating voltage of 48 V 5 Switch the power supply on 6 If a PLB 21 is used its display may show a message about downloading a new driver Confirm this with YES See chapter Controlling the LDP QCW using a PLB 21 for more information 7 Set all required parameters using the PLB 21 or USB interface See chapter Controlling ...

Страница 5: ...protected against polarity reversal Vin Supply voltage GND Supply ground LD Positive laser diode output anode Use both connectors parallel for high currents LD Negative laser diode output cathode Do not connect to ground Use both connectors parallel for high currents Mini USB Mini USB connector for connecting the driver with a computer For a more convenient use of the driver e g in laboratory use ...

Страница 6: ...s the input and output signals of the external analogue BOB connector The BOB Break out Board is recommended for easy testing of the driver It will be replaced in the application by your machine interface Functional Description of BOB Connector Interface ...

Страница 7: ...ould be within 3 to 6Volts Pin 7 Enable Pin 7 Enable Pin 7 Enable Pin 7 Enable This signal is used to enable disable the current output of the driver during operation It must be pulled low to reset an error condition or to re enable the driver after Master Enable was pulled low Pin 8 Master Enable Pin 8 Master Enable Pin 8 Master Enable Pin 8 Master Enable This signal is used as an interlock safet...

Страница 8: ...er and laser diode as short as possible Mount the driver on an appropriate heat sink Mount the driver on an appropriate heat sink Mount the driver on an appropriate heat sink Mount the driver on an appropriate heat sink Please Please Please Please be aware that there might be hot surfaces be careful not to touch them be aware that there might be hot surfaces be careful not to touch them be aware t...

Страница 9: ...nal BOB connector Several security features protect the laser diode and driver from damage D1 protects the laser diode from reverse currents The switch S1 is automatically opened when an over current as well as an internal failure such as over temperature etc is detected Operation Principle of LDP QCW driver Element Function C1 Input Buffer Capacitor Cb Capacitor bank S1 Security Switch D1 Laser d...

Страница 10: ...ter is reset by setting the L_ON bit of the LSTAT register to 0 or by setting the ENABLE pin to 0V Please note that the maximum pulse width depends on the current repetition rate as well as the maximum repetition rate on the current pulse width The following diagram shows an example of generated pulses The lower graph shows the internal pulse generator the upper two graphs the trigger pulses gener...

Страница 11: ...DGE bit in the LSTAT register to 0 The following diagram shows an example of generated pulses The lower graph shows the external pulse input the upper two graphs the trigger pulses generated out of it meaning T1 enabling of the output T2 T3 Pulse rise time It depends on the load inductance T4 T5 Pulse fall time It depends on the load inductance T6 disabling of the output T7 re enabling of the outp...

Страница 12: ...l trigger input Setting the TRG_EDGE bit in the LSTAT register to 1 uses the rising edge setting it to 0 uses the falling edge The following diagram shows an example of generated pulses The lower graph shows the external pulse input the upper two graphs the trigger pulses generated out of it meaning T1 enabling of the output T2 T3 Pulse rise time It depends on the load inductance T4 T5 Pulse fall ...

Страница 13: ... yields a better accuracy with high impedance loads The influence of this part of the regulator can be user defined and is called FFwd However the interconnection between the voltage and the current flow on the output is calibrated during fabrication This is used in operating mode 1 So it is not necessary to change this value at all If needed it can be adjusted between the values 0 to 7 5 by the c...

Страница 14: ...2 0 011 0 5 pulse LD LD cap T I U V where LD U compliance voltage LD I current setpoint pulse T pulse width This equation does not use the repetition rate Hence this value must be increased if a current drop is measured during operation For first tests or low pulse width and repetition rate it can safely be set to maximum but the higher this value the greater the power losses are in the output sta...

Страница 15: ...r bank voltage Test Load A common method to test the driver is to connect a regular silicon rectifier diode to the driver output Here has to be paid attention to the junction capacitance of the diode Only fast recovery diodes or similar have a low parasitic capacitance as laser diodes To achieve reasonable test results the parasitic elements of the test diode and the connection must be very simila...

Страница 16: ...utput Pin 1 of the BOB Connector is pulled low Absolute Maximum Ratings Output current 50 300A Max compliance voltage 12V short circuit proof Min pulse duration 100us Max pulse duration 5 ms Max repetition rate 1 KHz Max duty cycle 10 Max rise time 10us Current overshoot 5 depending on regulator settings Pulse trigger input 5V TTL external current setting input 200 A V Current monitor 200 A V Conn...

Страница 17: ...Dimensions The following dimensions are in millimetres mm A 100 B 94 C 85 71 D 65 39 E 62 82 F 55 26 G 45 7 H 32 37 I 26 J 17 K 6 L 6 M 6 N 4 5 O 13 5 P 15 8 Q 19 R 27 S 169 T 174 U 180 V 31 73 W 43 8 X 55 86 Y 67 93 ...

Страница 18: ...ime to a LDP QCW you are asked to download a new driver This must be confirmed with yes for working the PLB 21 properly Menu Structure Menu Structure Menu Structure Menu Structure The following diagram shows the structure of the PLB 21 menu which affects the LDP QCW All entries are described in detail All other menu entries are described in the PLB 21 manual For detailed instructions see the PLB 2...

Страница 19: ...If switched to external an appropriate voltage must be applied to the BOB connector OverCur OverCur OverCur OverCur If enabled the LDP QCW disables automatically if the current flow reaches the given value Temperature The LDP QCW is equipped with several temperature sensors In this submenu the actual and shutdown temperatures can be read and modified All values are in C Dev Off Dev Off Dev Off Dev...

Страница 20: ...me it becomes disabled Regler I II I Delay Delay Delay Delay This value represents the switching point of the integral part of the current regulator It is defined in percent of the setpoint current See chapter current regulator for more information I II I This value defines the strength of the integral part of the current regulator The value ranges from 0 to 4095 FFwd FFwd FFwd FFwd This value rep...

Страница 21: ...curs If an error occurs during operation the pulse output is switched off the pulser_ok_ext signal on the BOB connector is pulled low and a message is displayed on the PLB 21 If no other action is described on the display a toggle of the ENABLE pin resets the error condition ...

Страница 22: ...on as the LDP QCW receives a certain sequence The corresponding commands are PING PING PING PING for the PicoLAS protocol init init init init followed by Enter for the text interface Description of the USB Interface Description of the USB Interface Description of the USB Interface Description of the USB Interface The USB connection of the LDP QCW emulates a virtual COM port under Windows The neces...

Страница 23: ...was successfully executed a 00 is sent otherwise a 01 If there is an error pending the response will be 10 otherwise 11 If the command requires an answer parameter this parameter is sent before the confirmation is given Example The user would like to read out the actual setpoint current User input gcurrent Enter Output of the LDP CW 250 CR LF 00 CR LF Example 2 The user would like to set a new set...

Страница 24: ...he laser status register slstat 32bit number sets the laser status register to the given value gtrgmode returns the actual trigger mode See below for more information strgmode mode sets the trigger mode to the given value See below for more information The return value is the new mode gtrgcount returns 0 if counting is disabled or 1 if enabled strgcount 0 or 1 enabled 1 or disables 0 the counting ...

Страница 25: ...r temperature shutdown value in C gwidth returns the actual pulse width of the internal pulse generator in us gwidthmin returns the minimum possible pulse width of the internal pulse generator in us gwidthmax returns the maximum possible pulse width of the internal pulse generator in us swidth width in us sets the pulse width of the internal pulse generator Please note that any change in this regi...

Страница 26: ...n value in A The output will be disabled when the output current reaches this value Please note that this function must be enabled to use it gocurmin returns the minimum possible over current shutdown value in A gocurmax returns the maximum possible over current shutdown value in A socur current in A sets the over current shutdown value to the given value in A The output will be disabled when the ...

Страница 27: ...age in V sets the pre charge voltage of the internal capacitor bank to the given value in V One position after decimal point is used e g 12 5 gidelay returns the delay value to witch the output current must rise before the integral part of the current regulator is switched on This value is measured in percent of the set point current gidelaymin returns the minimum i delay value gidelaymax returns ...

Страница 28: ...urn value of a command is no longer 00 or 01 but 10 or 11 Errors have to be acknowledged with a toggle of the ENABLE signal otherwise switching on again of pulse output is not possible To retrieve the error use the gerror gerror gerror gerror command for the content of the ERROR register or the gerrtxt gerrtxt gerrtxt gerrtxt command for a human readable form ...

Страница 29: ... parameter 4 Bit 48 55 of the parameter 5 Bit 40 47 of the parameter 6 Bit 32 39 of the parameter 7 Bit 24 31 of the parameter 8 Bit 16 23 of the parameter 9 Bit 8 15 of the parameter 10 Bit 0 7 of the parameter 11 Reserved always 0x00 12 Checksum A properly received frame must be acknowledged by the recipient with an answer which is also a frame If the acknowledgement does not occur the command h...

Страница 30: ...lways 0 The answer contains the software version of the recipient The format of the answer is 0x000000 major minor revision In other words one byte for each of the three elements of the version number As example version 2 3 4 has the parameter 0x000000020304 GETSERIAL GETSERIAL GETSERIAL GETSERIAL Instructs the recipient to send back its serial number If 0 is sent as parameter the answer contains ...

Страница 31: ... four times before a RXERROR will be send ILGLPARAM ILGLPARAM ILGLPARAM ILGLPARAM The parameter of the last frame had an incorrect value UNCOM UNCOM UNCOM UNCOM The command of the last frame is unknown by the device Answer Answer Answer Answer Answer Frame Answer Frame Answer Frame Answer Frame Command Command Command Command Parameter Parameter Parameter Parameter RXERROR RXERROR RXERROR RXERROR ...

Страница 32: ...x8 0 0x100 temperature in 1 10 C GETLSTAT 0x10 0 0x110 32bit number SETLSTAT 0x11 32bit number 0x110 32bit number GETERROR 0x20 0 0x120 32bit number GETWIDTH 0x30 0 0x130 width in us GETWIDTHMIN 0x31 0 0x130 minimum width in us GETWIDTHMAX 0x32 0 0x130 maximum width in us GETWIDTHSTEPSIZE 0x33 0 0x130 size of one step in us SETWIDTH 0x34 width in us 0x130 width in us GETREPRATE 0x35 0 0x130 reprat...

Страница 33: ...0 strength of P 0x160 strength of P GETCUR 0x70 0 0x170 current in A GETCURMIN 0x71 0 0x170 minimum current in A GETCURMAX 0x72 0 0x170 maximum current in A SETCUR 0x73 current in A 0x170 current in A GETOCUR 0x80 0 0x180 over current in A GETOCURMIN 0x81 0 0x180 minimum over current in A GETOCURMAX 0x82 0 0x180 maximum over current in A SETOCUR 0x83 over current in A 0x180 over current in A GETID...

Страница 34: ...nd Command Command Parameter Parameter Parameter Parameter GETADCISOLL 0xC6 0 0x1C0 external set point current in A GETADCPULSSAMPLES 0xC7 0 0x1C0 see below GETADCPULSIDIODE 0xC8 see below 0x1C0 output current in A GETADCPULSUDIODE 0xC9 see below 0x1C0 output voltage in 1 10V GETADCPULSVCAP 0xCA see below 0x1C0 capacitor voltage in 1 10V GETADCPULSI 0xCB see below 0x1C0 see below GETADCPULSP 0xCC ...

Страница 35: ...register content For a detailed description of the single bits see chapter description of the LSTAT register GETERROR GETERROR GETERROR GETERROR Returns the content of the error register 32bit For a detailed description of the single bits see chapter description of the ERROR register GETWIDTH GETWIDTH GETWIDTH GETWIDTH Returns the current pulse width of the internal pulse generator GETWIDTHMIN GET...

Страница 36: ...ill generate to the given value It must be within the borders defined by GETCOUNTMIN and GETCOUNTMAX GETFFWD GETFFWD GETFFWD GETFFWD Returns the actual feed forward voltage used by the current regulator See chapter current regulator for more information It is measured in steps of 0 01 V GETFFWDMIN GETFFWDMIN GETFFWDMIN GETFFWDMIN Returns the minimal feed forward voltage used by the current regulat...

Страница 37: ...pter current regulator for more information GETPMIN GETPMIN GETPMIN GETPMIN Returns the minimal strength of the proportional part of the current regulator GETPMAX GETPMAX GETPMAX GETPMAX Returns the maximal strength of the proportional part of the current regulator SETP SETP SETP SETP Sets the strength of the proportional part of the current regulator to the given value It must be within the borde...

Страница 38: ...DELAYMAX GETIDELAYMAX GETIDELAYMAX Returns the maximal possible value useable as switching on threshold It is measured in 0 1 GETIDELAY GETIDELAY GETIDELAY GETIDELAY Sets the switching on threshold of the integral part of the current regulator to the given value If the output current reaches this value the integral part will be enabled The value is measured in 0 1 of the set point See chapter curr...

Страница 39: ...ber is given ILGLPARAM will be send GETADCPULSUDIODE GETADCPULSUDIODE GETADCPULSUDIODE GETADCPULSUDIODE This command takes the number of the desired sample and returns the appropriate measurement value It is measured in 0 1 V If an invalid sample number is given ILGLPARAM will be send GETADCPULSVCAP GETADCPULSVCAP GETADCPULSVCAP GETADCPULSVCAP This command takes the number of the desired sample an...

Страница 40: ...the state of the ENABLE pin of the BOB connector 3 MASTER_ENABLE ro Indicates the state of the MASTER_ENABLE pin of the BOB connector 4 PULSER_OK ro When the bit is read 0 an error has occurred 5 DEF_PWRON r w When 1 the device load its default values on power on 6 INIT_COMPLETE ro When 1 the internal power on sequence is complete 7 8 TRG_MODE r w Trigger mode 0 external pulse input 1 internal pul...

Страница 41: ...rved ro 4 CRC_FFWDCAL_FAIL ro A CRC error was detected in the internal calibration values Please contact your distributor 5 OCUR_DETECTED ro The over current protection has disabled the output 6 TEMP_OVERSTEPPED ro The internal temperature was beyond safe operating limits 7 TEMP_WARNING ro The internal temperature is 5 C before shutdown 8 TEMP_HYSTERESE ro Device is cooling down Temperature needs ...

Отзывы: