Control method based on external trigger synchronizing signal and printed circuit board thereof
By introducing an external signal and line length correction mechanism into the control module, combined with the correction mechanism of test signal delay and temperature sensing, the problem of low accuracy of synchronization control in the prior art is solved, and higher signal transmission synchronization and consistency are achieved.
Patent Information
- Application Number
- CN202510287959.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-12
- Publication Date
- 2025-06-24
AI Technical Summary
In the prior art, it is judged that the accuracy of the control synchronization is not high based on the output results of each device, which makes it difficult to guarantee the accuracy and consistency of the synchronization control.
By setting up a control program of the control module, a signal for sending to each target component is generated using an external signal, and the transmission time of the signal is corrected according to the line length between the target component, and the delay of the test signal and the transmission time of the temperature sensing correction signal are further improved to improve the accuracy of the synchronization control.
It improves the synchronization and consistency of signal transmission, reduces the impact of random factors on signal transmission speed and operation consistency, and enhances the accuracy and representativeness of the control module for synchronization control.
Smart Images

Figure CN120196027A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of circuit control, and particularly relates to an external trigger synchronization signal-based control method and its printed circuit board. Background Art
[0002] External trigger is a commonly used term in electronics and signal processing, referring to a mechanism for starting or controlling a system or process through an external signal or event.
[0003] During the use of a circuit, synchronous control is often required to enable each component or functional module to receive signals synchronously and achieve the effect of synchronous control. For a general solution, for example, the flashing light source control circuit, the synchronous control circuit and method of the flashing light source and the linear array detector disclosed in CN110044480B. Among them, the control method includes: 1) Start the linear array detector and the flashing light source, and configure the initial exposure time and frame rate of the linear array detector: 2) Dynamically configure the discharge times of the flashing light source: 3) Dynamically configure the discharge light intensity of the flashing light source: 4) Receive the optical signal and perform data conversion: 5) The FPGA chip calculates the pixel mean value and pixel maximum value of the current frame image through the received digital signal; 6) Judge and feedback the coarse adjustment: Judge whether the pixel mean value of the current frame image is zero; if it is zero, re-execute step 2) to increase the discharge times of the flashing light source by one time, and then execute steps 3) to 6); if it is not zero, judge whether the current frame image reaches the saturation value; the saturation value is 65536; if it does not reach the saturation value, it is considered that the coarse adjustment is completed and step 7) is started to be executed. If it is saturated, then judge whether the discharge times are greater than 1; if the current discharge times are greater than 1, re-execute step 2) to reduce the discharge times of the flashing light source by one time, and then execute steps 3) to 6); if the current discharge times are 1, it is considered that the coarse adjustment is completed and step 7) is started to be executed; 7) Judge and feedback the fine adjustment. Judge whether the pixel maximum value of the current frame image is greater than 95% of the saturation value; if the pixel maximum value is greater than 95% of the saturation value, return to step 3) to weaken the discharge light intensity by dynamically configuring the reference voltage of the flashing light source, and then execute steps 4), 5) and 7); if the pixel maximum value is less than 85% of the saturation value, return to step 3) to enhance the discharge light intensity by dynamically configuring the reference voltage of the flashing light source, and then execute steps 4), 5) and 7); if the pixel maximum value is greater than or equal to 85% of the saturation value and less than or equal to 95% of the saturation value; it is considered that the discharge times and discharge light intensity of the flashing light source both meet the requirements, and the flashing light source and the linear array detector reach synchronization.
[0004] In the above process, it mainly judges the synchronization between the flashing light source and the linear array detector by judging the light intensity in the output frame rate, and then adjusts the charging and discharging time and the integration time of the linear array detector according to the synchronization situation to complete the synchronization control. However, in the above scheme, it judges the synchronization of control according to the output results of each device, and the output results of each device are affected by various random factors, and the output results themselves do not necessarily represent the synchronization degree of each device. Therefore, the judgment accuracy of the control synchronization according to the output results is not high. For this reason, a control method based on external trigger synchronization control and its printed circuit board with a higher representativeness of judgment factors and a higher control synchronization are needed. Summary of the Invention
[0005] To solve the above problems existing in the prior art, the present invention provides a control method based on an external trigger synchronization signal and its printed circuit board, which has the characteristics of higher representativeness of judgment factors and higher control synchronization.
[0006] The object of the present invention can be achieved by the following technical solutions:
[0007] A control method based on an external trigger synchronization signal includes the following steps:
[0008] Step 1: Set the control program of the control module;
[0009] Step 2: Input an external signal to the control module. After receiving the external signal, the control module generates a signal for sending to each target component according to the external signal;
[0010] Step 3: The control module sets the sending time of the signal sent to each target component according to the line length between the control module and each target component;
[0011] Step 4: The control module sends a signal to each target component according to the corrected sending time;
[0012] Step 5: Repeat steps 2 to 4. After repeating a times, the control module sends a test signal and receives the test signal, and judges whether the delay of sending and receiving the test signal exceeds the standard. When the judgment standard is yes, execute step 6, otherwise continue to execute step 5, where a is a constant input in advance.
[0013] Step 6: The control module corrects the sending time of the signal sent to each target component according to the judgment standard.
[0014] As a preferred technical solution of the present invention, step 3 further includes: The control module is pre-input with a line standard length L0. The control module sets the sending time Tn of the signal sent to each target component according to the line length Ln between the control module and each target component, where Tn = Ln / L0 × T0 × c.
[0015] As a preferred technical solution of the present invention, step six further includes: the control module is pre-input with a delay reference value Y0. After the control module sends a test signal and receives the test signal, it calculates the delay Yn of sending and receiving the test signal. The transmission delay time of the signal sent by the control module to each target component is corrected upward by A1, where A1 = Y0 / Yn × d, and d is a pre-input constant.
[0016] As a preferred technical solution of the present invention, step four further includes: the control module receives the temperatures of each block of the circuit board, and the control module determines whether the temperature of each block exceeds the threshold value. When the determination result is yes, the delay of the target component located in this block.
[0017] As a preferred technical solution of the present invention, step one further includes: the control module is pre-input with a temperature threshold W0. Step six further includes: the control module receives the temperature Wx of each block of the circuit board, and the control module corrects the transmission time of the signal to be sent to each target component located in this block upward by A2, where A2 = W0 / Wx × e, and e is a pre-input constant.
[0018] As a preferred technical solution of the present invention, step seven is further included: the control module displays the transmission delay time of the signal sent to each target component on the display screen.
[0019] A circuit board applicable to the above-mentioned external trigger synchronization signal control method, characterized in that: it includes a control module and a number of target components, and the control module is electrically connected to the number of target components.
[0020] The beneficial effects of the present invention are as follows:
[0021] (1) By introducing a correction mechanism and adjusting the delay of each signal according to the known connection length information, compared with the scheme of judging the control synchronization according to the output result and then correcting according to the judgment result, the correlation between the parameters relied on for correction and the synchronization is higher, improving the accuracy of correction and thus improving the control synchronization;
[0022] (2) After a cycles of step two to step four, the control module calculates the time from sending the test signal to receiving it and compares it with the standard time. When the comparison result shows that the time is greater than the standard time, the sending time of the signal corresponding to this port is advanced. When the comparison result shows that the time is less than the standard time, the sending time of the signal corresponding to this port is delayed, reducing the influence of random factors on the signal transmission speed and operation consistency.
[0023] (3) By introducing a temperature sensor to detect the influence of external environmental factors of the circuit, the timing of the signal sent to each target component is further corrected, further improving the accuracy. Brief Description of the Drawings
[0024] For the convenience of those skilled in the art to understand, the present invention will be further described below in conjunction with the accompanying drawings.
[0025] Figure 1 It is a block diagram of the control circuit of the present invention; Detailed Embodiments
[0026] To further elaborate on the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following will describe in detail the specific embodiments, structures, features and their effects of the present invention in conjunction with the accompanying drawings and preferred embodiments.
[0027] Please refer to Figure 1 , a method for controlling based on an external trigger synchronization signal and its printed circuit board, including the following steps:
[0028] Step 1: Set the control program of the control module;
[0029] Specifically, the circuit board includes at least one control module and several functional modules. The several functional modules constitute several target components for receiving. The several target components are electrically connected to the control module and are used to execute various functions under the instructions of the control module. At the same time, the control module pre-numbers each functional module and correspondingly records which numbered functional module each output terminal corresponds to;
[0030] Step 2: Input an external signal to the control module. After receiving the external signal, the control module generates signals for sending to each target component according to the external signal;
[0031] Specifically, the external signal contains information for instructing a certain or certain functional modules to execute a certain instruction. Each time the control module receives the external signal, it analyzes the external signal according to the pre-input control program and disassembles it into several encodings corresponding to several functional modules. Each encoding contains an instruction for a functional module;
[0032] After Step 2 is completed, Step 3 is executed;
[0033] Step 3: The control module sets the sending time of the signals sent to each target component according to the line lengths between the control module and each target component;
[0034] Due to the space limitation of the circuit board, the connection lengths from the control module to each target component are inconsistent. When several signals are sent synchronously, there are slight differences in the arrival times of these signals at the corresponding target components. Since the operating timing of a typical circuit is in the order of several megahertz, the slight difference in arrival time will be reflected in the difference in the instruction execution times of each target component. Therefore, the slight difference in connection length will lead to a decrease in the synchronization of the operation of each target component. For this reason, it is necessary to calculate the connection lengths to each target module. For the target component with a longer connection length, the instruction sending time needs to be advanced. For the target component with a shorter connection length, the instruction sending time needs to be delayed. The control module adds the advanced or delayed time to the set standard time to obtain the sending time of the signals sent to each target component;
[0035] By introducing a correction mechanism and adjusting the delay of each signal according to the known connection length information, compared with the scheme of judging the control synchronization based on the output result and then correcting according to the judgment result, the correlation between the parameters relied on for correction and the synchronization is higher, which improves the accuracy of correction and thus improves the control synchronization;
[0036] The control module calculates the value of the instruction sending time that needs to be advanced or delayed for each target component according to the above process. After the control module disassembles each externally received signal into several encodings corresponding to several functional modules, it marks the corresponding instruction sending time value for the signal corresponding to each numbered target component, and then executes Step Four;
[0037] Step Four: The control module sends signals to each target component according to the corrected sending time;
[0038] Specifically, the control module converts several encodings corresponding to several functional modules into signals. Each signal is sent from the port of the corresponding functional module, and the sending time is the value of the instruction sending time included in the signal corresponding to the sub-target component;
[0039] Step Five: Repeat Step Two to Step Four. After repeating a times, the control module sends a test signal and receives the test signal, and judges whether the delay of sending and receiving the test signal exceeds the standard. When the judgment result is yes, execute Step Six; otherwise, continue to execute Step Five;
[0040] Step Six: The control module corrects the sending time of the signals sent to each target component according to the judgment standard.
[0041] Specifically, during actual use, the control module continuously receives external signals, instructing each target component to implement various functions, that is, repeating steps two to four. However, during the use process, due to the influence of various random factors, such as the resistance change caused by local temperature rise, or local electromagnetic interference, there will be a deviation between the time when each target component receives the signal and the theoretical time. At this time, the control module needs to judge whether there is an additional deviation in each connection line according to the actual transmission time of the signal in each connection line, and then correct it according to the additional deviation;
[0042] To this end, the control module is pre-input with the standard time for a signal to be sent from several ports and then received back. The control module is pre-input with a check threshold. After cycling through steps two to four for the number of times of the check threshold, the control module sends a check signal from the ports connecting each target component. After the check signal is sent to the corresponding target component and then returns to the control module, the control module calculates the time from the sending to the return of the check signal for each port, and compares it with the standard time. When the comparison result shows that the time is greater than the standard time, the sending time of the signal corresponding to this port is advanced. When the comparison result shows that the time is less than the standard time, the sending time of the signal corresponding to this port is postponed;
[0043] After cycling through steps two to four a times, the control module calculates the time from the sending to the return of the test signal and compares it with the standard time. When the comparison result shows that the time is greater than the standard time, the sending time of the signal corresponding to this port is advanced. When the comparison result shows that the time is less than the standard time, the sending time of the signal corresponding to this port is postponed, reducing the influence of random factors on the signal transmission speed and operation consistency.
[0044] For the calculation of the sending time in step three, specifically, the control module is pre-input with the standard line length L0. The control module sets the delay Tn of the sending time of the signal sent to each target component compared with the standard time according to the line length Ln between the control module and each target component, where Tn = (L0 - Ln) / L0 × c, and c is a constant pre-input to the control module;
[0045] When Ln is larger, it means the line is longer. At this time, it is necessary to advance the sending time of this signal to ensure that the signals arrive synchronously. At this time, the value of Tn = (L0 - Ln) / L0 × c is negative. When the control module sets the delay Tn of the sending time of the signal sent to each target component compared with the standard time, when the line corresponding to a certain signal is longer, the sending time of this signal is advanced;
[0046] When Ln is relatively small, it represents a shorter circuit. At this time, it is necessary to delay the time when this signal is sent. At this time, the value of Tn = (L0 - Ln) / L0 × c is positive. When the control module sets the transmission time of the signal sent to each target component to be delayed by Tn compared to the standard time, for a signal corresponding to a longer circuit, the time when this signal is sent is delayed.
[0047] Regarding the correction according to the additional deviation in step six, specifically, the control module is pre-input with a delay reference value Y0. After the control module sends a test signal and receives the test signal, it calculates the delay Yn of sending and receiving the test signal. The transmission delay time of the signal sent by the control module to each target component is corrected upward by A1, where A1 = Y0 / Yn × d, and d is a constant pre-input to the control module.
[0048] When Yn is large, it means that the actual transmission time of the signal is greater than the theoretical transmission time, and it is necessary to correct the delay downward. At this time, A1 = Y0 / Yn × d is small, completing the downward correction of the signal transmission delay when the delay of the test signal is large.
[0049] When Yn is small, it means that the actual transmission time of the signal is less than the theoretical transmission time, and it is necessary to correct the delay upward. At this time, A1 = Y0 / Yn × d is large, completing the upward correction of the signal transmission delay when the delay of the test signal is small.
[0050] Due to the change in resistance caused by the local temperature difference on the circuit board, which in turn leads to the change in the transmission speed, step four also includes: the control module receives the temperature of each block on the circuit board, and the control module determines whether the temperature of each block exceeds the threshold. When the judgment result is yes, the delay of the target component located in this block.
[0051] Specifically, step one also includes: the control module is pre-input with a temperature threshold W0, and step six also includes: the control module receives the temperature Wx of each block on the circuit board. The control module corrects the transmission time of the signal sent to each target component located in this block upward by A2, where A2 = W0 / Wx × e, and A2 ≤ 1, and e is a pre-input constant.
[0052] When the temperature is high, it means that the resistance is large and the transmission speed is slow. It is necessary to correct the transmission delay downward. At this time, the value of A2 = W0 / Wx × e is small, completing the advance of the signal transmission time when the temperature is high and the delay of the corresponding block is large.
[0053] When the temperature is low, it means that there is no need to correct the transmission delay downward. At this time, A2 is close to 1, completing no delay in the signal transmission time when the temperature is low and the delay of the corresponding block is small.
[0054] For the convenience of operators to view the current correction results and the sending time, it further includes Step 7: The control module displays the transmission delay time of the signals sent to each target component on the display screen.
[0055] The present invention also provides a circuit board, which is applicable to the above control method based on external trigger synchronization control, and includes a control module and a plurality of target components, and the control module is electrically connected to the plurality of target components.
[0056] The above are only the preferred embodiments of the present invention, and do not impose any form of limitation on the present invention. Although the present invention has been disclosed above with the preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some changes or modifications to equivalent embodiments by using the disclosed technical content within the scope of the technical solution of the present invention. However, as long as it does not depart from the technical solution content of the present invention, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention still fall within the scope of the technical solution of the present invention.
Claims
1. A control method based on an external trigger synchronization signal, characterized in that: The following steps are involved: Step 1: Set the control program of the control module; Step 2: Input an external signal to the control module. After receiving the external signal, the control module generates a signal for sending to each target component according to the external signal; Step 3: The control module sets the sending time of the signal to each target component according to the line length between each target component; Step 4: The control module sends a signal to each target component according to the corrected sending time; Step 5: Repeat steps 2 to 4. After repeating a times, the control module sends a test signal and receives a test signal, and determines whether the delay of sending the test signal and receiving the test signal exceeds the standard. If the judgment standard is yes, execute step 6, otherwise continue to execute step 5, where a is a constant input in advance; Step 6: The control module corrects the sending time of the signal sent to each target component according to the judgment standard.
2. The control method based on external trigger synchronization signal according to claim 1, characterized in that: The step three also includes: the control module is pre-input with the line standard length L0, and the control module sets the delay Tn of the signal sending time to each target component compared with the standard time according to the line length Ln between each target component, wherein Tn=(L0-Ln) / L0×c.
3. The control method based on external trigger synchronization signal according to claim 1, characterized in that: The step six also includes: the control module is pre-input with a delay reference value Y0, the control module sends a test signal and receives the test signal and then calculates the delay Yn of sending the test signal and receiving the test signal, and the control module corrects the sending delay time of the signal sent to each target component upward by A1, wherein A1=Y0 / Yn×d, wherein d is a pre-input constant.
4. The control method based on external trigger synchronization signal according to claim 1, characterized in that: The step 4 also includes: the control module receives the temperature of each block of the circuit board, the control module determines whether the temperature of each block exceeds a threshold, and when the determination result is yes, the delay of the target component located in this block.
5. The control method based on external trigger synchronization signal according to claim 1, characterized in that: The step one also includes: the control module is pre-input with a temperature threshold W0, and the step six also includes: the control module receives the temperature Wx of each block of the circuit board, and the control module upwardly corrects A2 according to the sending time of the signal to each target component located in this block, wherein A2=W0 / Wx×e, wherein e is a pre-input constant.
6. The control method based on external trigger synchronization signal according to claim 1, characterized in that: The method also includes step seven: the control module displays the sending delay time of the signal sent to each target component on the display screen.
7. A circuit board, suitable for the above-mentioned control method based on external trigger synchronization signal, characterized in that: It comprises a control module and a plurality of target components, wherein the control module is electrically connected with the plurality of target components.
Citation Information
Patent Citations
Scintillation source control circuit, scintillation source and linear array detector synchronization control circuit and method
CN110044480B
Asynchronous external triggering device and method for multipath trigger time delay
CN104570838A
Ultrasonic equipment and transmission synchronization method thereof
CN118473376A
Transmission system, cable length calculation method, transmission device, and program
JP2013046195A
Phase adjustment circuit
JP2018148320A