Synchronous control method and system for laser test of optical engine
Abstract
Disclosed in embodiments of the present invention are a synchronous control method and system for a laser test of an optical engine. The operation of a laser can be driven by the synchronous control system. When a test of a data point is finished and the optical engine stops for optical window cleaning, the laser may still maintain stable operation under the driving of the synchronous control system, experiments may be directly carried out next time, and thus, laser test efficiency of the optical engine can be improved. Moreover, the synchronous control system is adopted to independently drive the laser to achieve energy stability before experiments, preventing an influence of long-term operation on the performance of the optical engine, and improving test accuracy.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A synchronous control method for a laser test of an optical engine, the method, applied to a synchronous control system for the laser test of the optical engine, comprising:
when a starting instruction is received, controlling the system itself to drive a laser to operate at a preset frequency, wherein the preset frequency is a rated working frequency of the laser;
receiving a crank angle phase to be tested, input by a user, of the optical engine, wherein the crank angle phase to be tested is input by the user after the energy output of the laser is stable;
when a phase matching instruction is received, calculating phase difference between a system clock phase of the system and the crank angle phase to be tested, and judging whether the phase difference is smaller than a preset threshold, wherein the phase matching instruction is input after the optical engine is started and operates stably, and the optical engine is turned on after the energy output of the laser is stable;
when the phase difference is not smaller than the preset threshold, determining a phase deviation direction according to the phase difference, adjusting the system clock phase with a preset phase adjustment amplitude according to the phase deviation direction, and returning to execute the step of calculating the phase difference between the system clock phase of the system and the crank angle phase to be tested;
when the phase difference is smaller than the preset threshold, sending an experiment starting prompt signal, acquiring a clock frequency of the optical engine, and outputting a pulse signal at the crank angle phase to be tested according to the clock frequency of the optical engine to trigger the laser, wherein the experiment starting prompt signal marks the completion of phase matching; and
when a phase decoupling instruction is received, triggering the laser at the clock frequency of the system, wherein the phase decoupling instruction is input after the laser test experiment corresponding to the crank angle phase to be tested is completed.
2. The method according to claim 1 , wherein the prior to receiving the crank angle phase to be tested, input by the user, of the optical engine, the method further comprises:
acquiring an output energy sequence of the laser, and determining whether each energy value in the output energy sequence is greater than a preset energy threshold and that the difference between the energy values is smaller than a preset difference within a preset duration;
correspondingly, receiving the crank angle phase to be tested, input by the user, of the optical engine comprises:
when each energy value in the output energy sequence is greater than the preset energy threshold and the difference between the energy values is smaller than the preset difference within a preset duration, receiving the crank angle phase to be tested, input by the user, of the optical engine.
3. The method according to claim 1 , wherein the method further comprises:
when a shutdown instruction input by the user is received, stopping the operation of the synchronous control system, wherein the shutdown instruction is input after all experiments are completed.
4. The method according to claim 1 , wherein the preset phase adjustment amplitude is smaller than the maximum allowable adjustment phase of the laser.
5. The method according to claim 1 , wherein channels of the synchronous control system respectively correspond to one or more lasers.
6. A synchronous control system for a laser test of an optical engine, the system comprising:
a system starting module, configured to, when a starting instruction is received, control the system itself to drive a laser to operate at a preset frequency, wherein the preset frequency is a rated working frequency of the laser;
a signal receiving module, configured to receive a crank angle phase to be tested, input by a user, of the optical engine, wherein the crank angle phase to be tested is input by the user after the energy output of the laser is stable;
a phase calculation module, configured to, when a phase matching instruction is received, calculate phase difference between a system clock phase of the system and the crank angle phase to be tested, and judge whether the phase difference is smaller than the preset threshold, wherein the phase matching instruction is input after the optical engine is started and operates stably, and the optical engine is turned on after the energy output of the laser is stable;
a phase synchronization module, configured to, when the phase calculation module determines that the phase difference is not smaller than the preset threshold, determine a phase deviation direction according to the phase difference, adjust the system clock phase with the preset phase adjustment amplitude according to the phase deviation direction, and trigger the phase calculation module to calculate the phase difference between the system clock phase of the system and the crank angle phase to be tested;
a trigger conversion module, configured to, when the phase calculation module determines that the phase difference is smaller than the preset threshold, send an experiment starting prompt signal, acquire a clock frequency of the optical engine, and output a pulse signal at the crank angle phase to be tested according to the clock frequency of the optical engine to trigger the laser, wherein the experiment starting prompt signal marks the completion of phase matching; and
a phase decoupling module, configured to, when a phase decoupling instruction is received, trigger the laser at the system clock frequency of the system, wherein the phase decoupling instruction is input after the laser test experiment corresponding to the crank angle phase to be tested is completed.
7. The system according to claim 6 , wherein the system further comprises:
an energy acquisition module, configured to acquire an output energy sequence of the laser, and determine whether each energy value in the output energy sequence is greater than a preset energy threshold and that the difference between the energy values is smaller than a preset difference within a preset duration;
correspondingly, the signal receiving module, specifically configured to, when the energy acquisition module determines that each energy value in the output energy sequence is greater than the preset energy threshold and the difference between the energy values is smaller than the preset difference within a preset duration, receive the crank angle phase to be tested, input by the user, of the optical engine.
8. The system according to claim 6 , wherein the system further comprises:
an operation stopping module, configured to, when a shutdown instruction input by the user is received, stop the operation of the synchronous control system, wherein the shutdown instruction is input after all experiments are completed.
9. The system according to claim 6 , wherein the preset phase adjustment amplitude is smaller than the maximum allowable adjustment phase of the laser.
10. The system according to claim 6 , wherein channels of the synchronous control system respectively correspond to one or more lasers.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.