Laser timing synchronization device, method, medium, program and laser
By using a laser timing synchronization device in the fiber laser marking machine, the laser pulse is converted into an electrical pulse signal and amplified as a global clock signal, which solves the clock jitter problem of the field programmable logic gate array during edge detection and improves the efficiency of the laser Output stability.
Patent Information
- Application Number
- CN202410917026.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-07-10
AI Technical Summary
In existing fiber laser marking machines, when the field programmable logic gate array processes laser pulses through edge detection, there is clock jitter between the time when the menu command is received and the time when the laser pulse is output, resulting in a large error.
A laser timing synchronization device is used, including a laser seed source, a light receiving element and an amplifier, to convert the received laser pulse into an electrical pulse signal. After amplification by the amplifier, the amplified pulse signal is used as the global clock signal of the field programmable logic gate array. , used to reset the counter, select the amplified pulse signal according to the preset logic, determine the selection pulse, and send it to the target device.
It reduces the impact of clock jitter on the menu, reduces the laser output delay, and improves the stability of the laser output.
Smart Images

Figure CN118472768B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of laser technology, and in particular to a laser timing synchronization device, method, medium, program and laser. Background Art
[0002] Normally, the fiber laser marking machine can output laser pulses immediately to complete marking after the user operates the operation terminal.
[0003] In the prior art, the seed source of the fiber laser marking machine continuously emits laser pulses, and the user issues instructions to the menu module through the operating terminal, instructing the menu module to release a laser pulse to complete the marking. Among them, the menu module is usually a field programmable logic gate array, and the field programmable logic gate array usually detects the laser pulse by edge detection. Publication number CN115966993A is a relatively close prior art. The laser pulse synchronization control method disclosed therein uses the signal provided by the crystal oscillator as the clock signal of the field programmable logic gate array, so that the field programmable logic gate array needs to detect the laser pulse by edge detection.
[0004] However, when the field programmable logic gate array processes laser pulses and menu commands in an edge detection manner, clock jitter often occurs between the time when the menu command is received and the time when the laser pulse is output, resulting in a large error. Summary of the invention
[0005] This specification provides a laser timing synchronization device, method, medium, program and laser to partially solve the above-mentioned problems existing in the prior art.
[0006] This manual adopts the following technical solutions:
[0007] This specification provides a laser timing synchronization device, including:
[0008] A laser seed source, connected to the light receiving element, for emitting laser pulses to the light receiving element;
[0009] The light receiving element is connected to the amplifier and is used to convert the received laser pulse into an electrical pulse signal and send the electrical pulse signal to the amplifier;
[0010] The amplifier is connected to the global clock pin of the field programmable logic gate array, and is used to amplify the received electrical pulse signal to obtain an amplified pulse signal, and send the amplified pulse signal to the global clock pin;
[0011] An operation terminal connected to the field programmable logic gate array, and configured to send a menu instruction to the field programmable logic gate array in response to a user's operation;
[0012] The field programmable logic gate array is connected to the target device, and can receive and use the amplified pulse signal as its own clock signal through the global clock pin; it can also receive and respond to the menu instruction, reset the counters of all clocks, select the amplified pulse signal according to the preset logic, determine the menu pulse, and send the menu pulse to the target device; the clock signal is used to provide a counting reference for the counters of all clocks of the field programmable logic gate array.
[0013] Preferably, the laser assembly includes a laser seed source, a light receiving element and an amplifier;
[0014] The laser seed source is connected to the light receiving element and is used to emit laser pulses to the light receiving element;
[0015] The light receiving element is connected to the amplifier and is used to convert the received laser pulse into an electrical pulse signal and send the electrical pulse signal to the amplifier;
[0016] The amplifier is connected to the global clock pin of the field programmable logic gate array, and is used for amplifying the received electrical pulse signal to obtain an amplified pulse signal, and sending the amplified pulse signal to the global clock pin.
[0017] Preferably, the laser seed source is connected to the light receiving element via an optical fiber;
[0018] The light receiving element is a photodiode;
[0019] The amplifier is a radio frequency amplifier.
[0020] Preferably, the target device is a spatial Q switch;
[0021] The target device is also connected to the laser seed source, and is capable of receiving the laser pulse sent by the laser seed source, and blocking the laser pulse from passing if the menu pulse is not received;
[0022] The target device is capable of receiving the menu pulse and, in response to the menu pulse, starting Q-switching and allowing the laser pulse to pass through.
[0023] Preferably, the programmable logic gate array is configured with a phase-locked loop;
[0024] The global clock pin is capable of outputting the amplified pulse signal to the phase-locked loop;
[0025] The phase-locked loop is used to multiply the frequency of the amplified pulse signal;
[0026] The field programmable logic gate array can use the frequency-multiplied amplified pulse signal as its own clock signal.
[0027] Preferably, the voltage of the electric pulse signal is 10mV;
[0028] The voltage of the amplified pulse signal is 3.3V.
[0029] On the other hand, the present specification also provides a laser, which includes the laser timing synchronization device provided by any of the above aspects.
[0030] On the other hand, this specification also provides a laser timing synchronization method, comprising:
[0031] Continuously receiving an amplified pulse signal; the amplified pulse signal is obtained based on the laser pulse;
[0032] The amplified pulse signal is used as a clock signal of a field programmable logic gate array; the clock signal is used to provide a counting reference for counters of all clocks of the field programmable logic gate array;
[0033] receiving a menu command from an operation terminal, and resetting counters of all clocks of the field programmable logic gate array in response to the menu command;
[0034] Based on all the clocks that have completed the reset, the amplified pulse signal is selected according to a preset logic;
[0035] A menu pulse is determined and sent to the target device.
[0036] Preferably, before receiving the menu instruction from the operation terminal, the method further includes:
[0037] The amplified pulse signal is frequency-multiplied by a phase-locked loop.
[0038] On the other hand, the present specification also provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the laser timing synchronization method described in any one of the above aspects is implemented.
[0039] On the other hand, the present specification also provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the laser timing synchronization method described in any one of the above aspects.
[0040] At least one of the above technical solutions adopted in this specification can achieve the following beneficial effects:
[0041] According to the laser timing synchronization device provided by the above content, the device includes a laser seed source, a light receiving element, an amplifier, an operation terminal and an FPGA. Among them, the amplifier is connected to the global clock pin of the FPGA and can output an amplified pulse signal to the global clock pin. The amplified pulse signal is obtained by the photoelectric conversion of the laser pulse output by the laser seed source through the light receiving element and the amplification of the amplifier. After receiving the amplified pulse signal through the global clock pin, the FPGA can use the amplified pulse signal as its own clock signal. The operation terminal is connected to the FPGA and can respond to the user's operation and send a menu instruction to the FPGA. The FPGA can receive and respond to the menu instruction, reset the counters of all clocks, and then select the amplified pulse signal according to the preset logic, determine the menu pulse, and send the menu pulse to the target device connected thereto.
[0042] According to the above device, it can be seen that the timing synchronization device directly uses the amplified pulse signal as the counting reference of the FPGA counter, and can reset the counters of all clocks after receiving the user's menu instruction, thereby reducing the impact of clock jitter on the menu, reducing the delay of laser output, and improving the stability of laser output. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings:
[0044] Figure 1 A schematic diagram of the structure of a laser timing synchronization device provided by an embodiment of this specification;
[0045] Figure 2 A schematic diagram of the structure of a laser timing synchronization device provided by an embodiment of this specification;
[0046] Figure 3 An existing timing logic diagram provided for one embodiment of this specification;
[0047] Figure 4 A timing logic diagram of a laser timing synchronization device provided for one embodiment of the present specification;
[0048] Figure 5 A flowchart of a laser timing synchronization method provided for one embodiment of the present specification. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0050] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.
[0051] Figure 1 The structure diagram of the laser timing synchronization device provided by one embodiment of the present specification is as follows. Figure 1 As shown, the laser timing synchronization device includes a laser component 1, an operation terminal 2 and a field programmable gate array (FPGA 3).
[0052] Preferably, the laser assembly 1 includes a connection to a global clock pin of the FPGA 3 .
[0053] Preferably, the laser assembly 1 is capable of outputting an amplified pulse signal.
[0054] Preferably, the laser assembly 1 is capable of sending the amplified pulse signal to the global clock pin.
[0055] Preferably, the amplified pulse signal is obtained based on laser pulses.
[0056] Those skilled in the art will understand that the development of laser technology has been relatively mature. For the sake of brevity, this specification does not limit the structure of the laser assembly 1, but only provides an exemplary description. It should be emphasized that this specification limits the structure of the laser assembly 1, and any device commonly used in the art that can emit laser pulses can be used.
[0057] Preferably, the laser assembly 1 includes a laser seed source 11 , a light receiving element 12 and an amplifier 13 .
[0058] Figure 2 The structure diagram of the laser timing synchronization device provided by one embodiment of the present specification is as follows. Figure 2 As shown, the laser seed source 11, the light receiving element 12 and the amplifier 13 are connected in sequence, and the amplifier 13 is connected to the FPGA 3.
[0059] Preferably, the laser seed source 11 is an optical fiber seed source.
[0060] Preferably, the laser seed source 11 is connected to the light receiving element 12 .
[0061] Preferably, the light receiving element 12 is a photodiode.
[0062] Preferably, the laser seed source 11 is connected to the photodiode via an optical fiber.
[0063] Preferably, the laser seed source 11 is used to emit laser pulses to the light receiving element 12 .
[0064] Preferably, the frequency of the laser pulse is at the femtosecond (fs) level.
[0065] Preferably, the frequency of the laser pulse is between 10 MHz and 500 MHz.
[0066] Preferably, the frequency of the laser pulse is between 1 MHz and 150 MHz.
[0067] Preferably, the laser seed source 11 is communicatively connected to the FPGA 3 .
[0068] Preferably, the laser seed source 11 is electrically connected to the FPGA 3 .
[0069] It is understood by those skilled in the art that the technology related to communication connection has been developed to a relatively mature level, and the laser seed source 11 and the FPGA 3 can be connected to each other by optical fiber connection, electrical connection, Bluetooth connection, wireless local area network connection, etc., and this specification does not limit this. Accordingly, this specification does not limit the specific methods of communication connection between other components in this specification.
[0070] Preferably, the laser seed source 11 is capable of receiving a stop instruction sent by the FPGA 3 , and stops emitting the laser pulse in response to the stop instruction.
[0071] Preferably, the light receiving element 12 is connected to the amplifier 13 .
[0072] Preferably, the light receiving element 12 is electrically connected to the amplifier 13 via a wire.
[0073] Preferably, the light receiving element 12 is used to receive the laser pulse, to convert the laser pulse into an electrical pulse signal, and to send the electrical pulse signal to the amplifier 13 .
[0074] Preferably, the amplifier 13 is a radio frequency amplifier 13 .
[0075] Those skilled in the art will appreciate that the development of devices such as the amplifier 13 and the optical receiving element 12 is relatively mature, and this specification does not limit their structures or specific models. For example, the amplifier 13 may be a radio frequency amplifier 13, an integrated operational amplifier 13, etc., and the optical receiving element 12 may be a photodiode, an optical receiver, etc.
[0076] Preferably, the amplifier 13 is capable of receiving the electrical pulse signal sent by the light receiving element 12 .
[0077] Preferably, the amplifier 13 is connected to the FPGA 3.
[0078] Preferably, the amplifier 13 is electrically connected to the FPGA 3.
[0079] Preferably, the amplifier 13 is connected to the global clock pin of FPGA3.
[0080] Preferably, the amplifier 13 is used to amplify the received electrical pulse signal to obtain an amplified pulse signal, and send the amplified pulse signal to the global clock pin.
[0081] Preferably, the amplifier 13 is used to amplify the electrical pulse signal to obtain an amplified pulse signal.
[0082] Preferably, the amplifier 13 is also used to send the amplified pulse signal to the FPGA 3.
[0083] Preferably, the operation terminal 2 is connected to the FPGA 3.
[0084] Preferably, the operation terminal 2 is electrically connected to the FPGA 3.
[0085] Preferably, the operation terminal 2 is a device such as a trigger switch or a marking machine, and this specification does not limit the specific structure of the operation terminal 2.
[0086] Preferably, the operation terminal 2 can send a menu instruction to the FPGA 3 in response to the user's operation.
[0087] Preferably, the FPGA3 is connected to a target device.
[0088] Preferably, the FPGA 3 can receive the amplified pulse signal through the global clock pin, and directly use the amplified pulse signal as its own clock signal.
[0089] It should be emphasized that the FPGA3 can adjust its own clock signal to be completely consistent with the amplified pulse signal. Therefore, when the amplified pulse signal changes level, the clock signal will also change level synchronously, so that the FPGA3 does not need to determine whether the amplified pulse signal changes level through edge detection, thereby avoiding clock jitter caused by edge detection and improving the accuracy of timing synchronization.
[0090] Furthermore, after the FPGA3 uses the amplified pulse signal as the start and end of the menu module, any clock of the FPGA3 is counted based on the amplified pulse signal. That is, when the amplified pulse signal is at a high level, the count value of the clock of the FPGA3 is increased by 1.
[0091] Those skilled in the art will appreciate that the level change refers to a change from a low level to a high level, and a change from a high level to a low level.
[0092] It should be noted that, usually, after receiving the menu instruction, FPGA3 will select the amplified pulse signal according to the preset logic, and determine the result of the selection, that is, the selection pulse, so as to screen the amplified pulse signal. Among them, when selecting the amplified pulse signal, the selection is often performed through multiple timing signals. For example, FPGA may select through the first-level envelope signal, but the menu instruction sent by the user is irregular, and the first-level envelope signal takes a certain amount of time to complete the selection when selecting the amplified pulse signal. However, the time interval between the two menu instructions sent by the user may be shorter than the time to complete a menu, resulting in the second menu instruction being received before the menu corresponding to the first menu instruction is completed. Therefore, in this case, because the first menu has not been completed, the second menu instruction cannot be executed immediately, and it is necessary to wait for the first menu to be completed before FPGA3 can respond to the second menu instruction. Obviously, the response speed of FPGA3 to the second menu instruction is slow, and it is difficult to ensure the accuracy of the laser.
[0093] Figure 3 The present invention provides an existing timing logic diagram for one embodiment of the present specification. Figure 3 As shown, the selection signal 91 sent by the user is actually a Trigger signal, and FPGA3 selects its amplified pulse signal through the primary envelope signal 92. Figure 3 In the process, when the third rising edge 93 of the menu signal 91 appears, the second pulse cycle 94 of the first-level envelope signal 92 has not yet ended. Therefore, after the third rising edge 93 of the menu arrives, the clock delay 95 passes before the third rising edge of the first-level envelope signal 92 appears and the menu starts.
[0094] Therefore, in one or more preferred embodiments provided in this specification, the FPGA 3 is capable of receiving and responding to the menu instruction to reset the clock.
[0095] Preferably, the FPGA3 is capable of receiving and responding to the menu instruction to reset all clocks of the timing system in the FPGA3.
[0096] Preferably, the clock signal will also be reset.
[0097] It should be noted that resetting the clock means clearing the timer corresponding to the clock, but the phase of the clock does not change, that is, after the clock signal is reset, it is also completely synchronized with the amplified pulse signal.
[0098] Figure 4 The timing logic diagram of the laser timing synchronization device provided by one embodiment of this specification. Figure 4 As shown, when the third rising edge 93 of the menu signal 91 appears, although the second pulse cycle 94 of the primary envelope signal 92 has not ended, all clocks of the timing system in FPGA3 are reset, and the second pulse cycle 94 of the primary envelope signal 92 is forced to pause. Therefore, after the third rising edge 93 of the menu arrives, there is no need to wait for the end of the second pulse cycle 94, that is, the third rising edge of the primary envelope signal 92 appears, and the menu starts.
[0099] It should be noted that, usually, there is a clock jitter between the rising edge of the menu signal 91 and the rising edge of the primary envelope signal. The clock jitter is half a cycle 96 of the clock signal. Figure 4 shown.
[0100] Preferably, the FPGA3 can select the amplified pulse signal according to a preset logic after completing the resetting of the counters of all clocks.
[0101] Preferably, the FPGA3 can determine the selected pulse after selecting the amplified pulse signal.
[0102] Those skilled in the art can understand that selecting the optical signal means selecting a limited number of laser pulses from a plurality of laser pulses for output. Therefore, after selecting the amplified pulse signal, the FPGA 3 can determine the selected pulse.
[0103] Preferably, the FPGA3 is capable of sending the menu pulse to the target device.
[0104] According to the laser timing synchronization device provided by one or more of the above embodiments, the device includes a laser component 1, an operation terminal 2 and an FPGA 3. Among them, the laser component 1 is connected to the global clock pin of the FPGA 3, and can output an amplified pulse signal to the global clock pin. After receiving the amplified pulse signal through the global clock pin, the FPGA 3 can use the amplified pulse signal as its own clock signal. The operation terminal 2 is connected to the FPGA 3, and can send a menu instruction to the FPGA 3 field programmable logic gate array in response to the user's operation. The FPGA 3 can receive and respond to the menu instruction, reset the counters of all clocks, and then select the amplified pulse signal according to the preset logic, determine the menu pulse, and send the menu pulse to the target device connected thereto.
[0105] It can be seen from the above embodiments that the timing synchronization device directly uses the amplified pulse signal as the counting reference of the FPGA3 counter, and can reset the counters of all clocks after receiving the user's menu instruction, thereby reducing the impact of clock jitter on the menu, reducing the delay of laser output, and improving the stability of laser output.
[0106] Preferably, the laser seed source 11 is connected to the light receiving element 12 via an optical fiber.
[0107] Preferably, the light receiving element 12 is a photodiode.
[0108] Preferably, the amplifier 13 is a radio frequency amplifier 13 .
[0109] Those skilled in the art will understand that the technologies of optical elements such as the laser seed source 11, the light receiving element 12, and the amplifier 13 have been developed to a relatively mature level. This specification does not limit the specific models and types of devices used in the above-mentioned components, as long as they can output amplified laser pulses.
[0110] Preferably, the target device is a spatial Q switch.
[0111] Preferably, the target device is also connected to the laser assembly 1, and is capable of receiving the laser pulse sent by the laser assembly 1, and blocking the laser pulse from passing through when the menu pulse is not received.
[0112] Preferably, the target device is capable of receiving the menu pulse, and in response to the menu pulse, starts Q-switching and allows the laser pulse to pass.
[0113] Preferably, the FPGA3 is configured with a phase-locked loop.
[0114] Preferably, the global clock pin is capable of outputting the amplified pulse signal to the phase-locked loop.
[0115] Preferably, the phase-locked loop is used to multiply the frequency of the amplified pulse signal.
[0116] Preferably, the voltage of the electric pulse signal is 10 mV.
[0117] Preferably, the voltage of the amplified pulse signal is 3.3V.
[0118] Preferably, the global clock pin of the FPGA 3 can be connected to a device such as a crystal oscillator, an electronic oscillator, etc., and the timing signal of the device such as the crystal oscillator, the electronic oscillator, etc. can be used as its own clock signal.
[0119] According to the above embodiments, it can be seen that the laser pulse output by the laser seed source 11 in this specification is directly used as its own clock signal by FPGA3 after being photoelectrically converted by the light receiving element 12 and amplified by the amplifier 13, and multiplied by the phase-locked loop in FPGA3. This makes it unnecessary for FPGA3 to detect the rising edge of the amplified pulse signal during the selection process, thereby avoiding clock jitter in the detection of the rising edge of the amplified pulse signal and improving the stability of the laser.
[0120] Moreover, since the frequency of the amplified pulse signal is relatively high after being multiplied by the phase-locked loop, when detecting the rising edge of such a signal, the clock signal of FPGA3 is often required to be configured with a relatively high frequency in order to accurately and reliably detect it. For example, when the frequency of the amplified pulse signal is 100 MHz and the duty cycle is 50%, the frequency of the clock signal of FPGA3 needs to be above 200 MHz in order to accurately and reliably detect it. The frequency requirement of FPGA3 is too high, making the cost of FPGA3 too high. In the solution provided by the present application, there is no need to detect the amplified pulse signal, which improves the stability of the laser while reducing the requirements for the performance of FPGA3 and saving costs.
[0121] Furthermore, in a preferred embodiment provided in the present specification, the amplified pulse signal frequency-multiplied by a phase-locked loop is directly used as the clock signal of FPGA3, so that all the selection timing signals for light screening and / or the laser pulses output by the seed light and / or the amplified pulse signal frequency-multiplied by a phase-locked loop are completely synchronized with zero phase jitter, thereby greatly improving the stability of the laser output.
[0122] The above is a laser timing synchronization device provided by one or more embodiments of this specification. Based on the same idea, this specification also provides a corresponding laser.
[0123] Preferably, the laser includes the laser timing synchronization device provided by any one of the above embodiments.
[0124] The above are the laser timing synchronization device and laser provided in one or more embodiments of this specification. Based on the same idea, this specification also provides a corresponding laser timing synchronization method. The laser timing synchronization method is described in detail below in conjunction with the accompanying drawings.
[0125] Figure 5 The following is a flow chart of a laser timing synchronization method provided by an embodiment of the present specification. Figure 5 As shown, the method includes S500-S580.
[0126] S500: Continuously receive and amplify pulse signals.
[0127] Preferably, the method is executed by the FPGA, laser timing synchronization device or laser provided in the aforementioned embodiments of this specification.
[0128] Preferably, the method may also be executed by other devices, and this specification does not limit this. For the convenience of description, this specification takes FPGA executing the method as an example for description.
[0129] Preferably, the FPGA can continuously receive the amplified pulse signal from the laser assembly.
[0130] Preferably, the FPGA can continuously receive and amplify the pulse signal.
[0131] Preferably, the amplified pulse signal is obtained based on laser pulses.
[0132] S520: Use the amplified pulse signal as a field programmable logic gate array clock signal.
[0133] Preferably, the FPGA can use the amplified pulse signal as its clock signal.
[0134] S540: Receive a menu instruction from the operation terminal, and in response to the menu instruction, reset the counters of all clocks of the field programmable logic gate array.
[0135] Preferably, the FPGA can receive menu instructions.
[0136] Preferably, the menu instruction is sent by the operation terminal.
[0137] Preferably, the FPGA can reset all its own clock counters in response to the menu instruction.
[0138] S560: Based on all the clocks that have completed the reset, the amplified pulse signal is selected according to a preset logic.
[0139] Preferably, the FPGA can select the amplified pulse signal according to a preset logic based on all clocks that have completed the reset.
[0140] S580: Determine a menu pulse, and send the menu pulse to the target device.
[0141] Preferably, after determining the menu pulse, the FPGA can send the menu pulse to the target device.
[0142] Preferably, before executing step S520, the FPGA may frequency-multiply the amplified pulse signal through a phase-locked loop. When executing step S520, the FPGA may use the frequency-multiplied amplified pulse signal as its own clock signal.
[0143] Preferably, the laser timing synchronization method is a method corresponding to the laser timing synchronization device.
[0144] It should be noted that since the structure of the aforementioned laser timing synchronization device has been described in relatively detail, and the laser timing synchronization method is a corresponding method, for the sake of brevity, this specification does not describe the contents of the laser timing synchronization method in detail. For specific contents, please refer to the aforementioned laser timing synchronization device.
[0145] It should be noted that all actions of acquiring signals, information or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where they are located, and with the authorization given by the owner of the corresponding device.
[0146] This specification also provides a computer-readable storage medium, which stores a computer program, which can be used to execute the above Figure 5 A laser timing synchronization method is provided.
[0147] This specification also provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device implements the above Figure 5 A laser timing synchronization method is provided.
[0148] In the 1990s, it was very clear whether the improvement of a technology was hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or software improvement (improvement of the method flow). However, with the development of technology, many improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented with hardware entity modules. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask chip manufacturers to design and make dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0149] The controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (e.g., software or firmware) executable by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, and the memory controller may also be implemented as part of the control logic of the memory. It is also known to those skilled in the art that, in addition to implementing the controller in a purely computer-readable program code manner, the controller may be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller may be considered as a hardware component, and the devices for implementing various functions included therein may also be considered as structures within the hardware component. Or even, the devices for implementing various functions may be considered as both software modules for implementing the method and structures within the hardware component.
[0150] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0151] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0152] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0153] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0154] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0155] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0156] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0157] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0158] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0159] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0160] It should be understood by those skilled in the art that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0161] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0162] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0163] The above description is only an embodiment of this specification and is not intended to limit this specification. For those skilled in the art, this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification should be included in the scope of the claims of this application.
Claims
1. A laser timing synchronization device, characterized in that: include: A laser seed source, connected to the light receiving element, for emitting laser pulses to the light receiving element; The light receiving element is connected to the amplifier and is used to convert the received laser pulse into an electrical pulse signal and send the electrical pulse signal to the amplifier; The amplifier is connected to the global clock pin of the field programmable logic gate array, and is used to amplify the received electrical pulse signal to obtain an amplified pulse signal, and send the amplified pulse signal to the global clock pin; An operation terminal connected to the field programmable logic gate array, and configured to send a menu instruction to the field programmable logic gate array in response to a user's operation; The field programmable logic gate array is connected to the target device, and can receive and use the amplified pulse signal as its own clock signal through the global clock pin; it can also receive and respond to the menu instruction, reset the counters of all clocks, select the amplified pulse signal according to the preset logic, determine the menu pulse, and send the menu pulse to the target device; the clock signal is used to provide a counting reference for the counters of all clocks of the field programmable logic gate array.
2. The laser timing synchronization device according to claim 1, characterized in that: The laser seed source is connected to the light receiving element via an optical fiber; The light receiving element is a photodiode; The amplifier is a radio frequency amplifier.
3. The laser timing synchronization device according to claim 1, characterized in that: The target device is a spatial Q switch; The target device is also connected to the laser seed source, and is capable of receiving the laser pulse sent by the laser seed source, and blocking the laser pulse from passing if the menu pulse is not received; The target device is capable of receiving the menu pulse and, in response to the menu pulse, starting Q-switching and allowing the laser pulse to pass through.
4. The laser timing synchronization device according to claim 1, characterized in that: The programmable logic gate array is configured with a phase-locked loop; The global clock pin is capable of outputting the amplified pulse signal to the phase-locked loop; The phase-locked loop is used to multiply the frequency of the amplified pulse signal; The field programmable logic gate array can use the frequency-multiplied amplified pulse signal as its own clock signal.
5. The laser timing synchronization device according to claim 1, characterized in that: The voltage of the electric pulse signal is 10mV; The voltage of the amplified pulse signal is 3.3V.
6. A laser, characterized in that: The laser comprises the laser timing synchronization device according to any one of claims 1-5.
7. A laser timing synchronization method, characterized in that: include: Continuously receiving and amplifying pulse signals; The amplified pulse signal is obtained based on the laser pulse; The amplified pulse signal is used as a clock signal of a field programmable logic gate array; the clock signal is used to provide a counting reference for counters of all clocks of the field programmable logic gate array; receiving a menu command from an operation terminal, and resetting counters of all clocks of the field programmable logic gate array in response to the menu command; Based on all the clocks that have completed the reset, the amplified pulse signal is selected according to a preset logic; A menu pulse is determined and sent to a target device.
8. The method according to claim 7, characterized in that Before receiving the menu instruction from the operation terminal, the method further includes: The amplified pulse signal is frequency-multiplied by a phase-locked loop.
9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method of claim 7 or 8 is implemented.
10. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the method as claimed in claim 7 or 8.
