Contact angle motor light source control system
Through PWM technology and stepper motor precise control, the instability and positioning accuracy of the light source control system in contact angle measurement is solved, the measurement accuracy and equipment reliability are improved, and the efficient contact angle measurement is achieved.
Patent Information
- Application Number
- CN202411103663.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-12-06
AI Technical Summary
In the existing contact angle measurement technology, the instability and positioning accuracy of the light source control system lead to low measurement accuracy and reliability, affecting imaging quality and equipment life.
PWM technology is used to adjust the brightness of the LED lamp, and the light source illumination angle and imaging system position are accurately controlled by stepper motor, combined with trapezoidal acceleration and deceleration trajectory control, the precise movement and positioning of the light source and imaging system are achieved.
Improve measurement accuracy and reliability, reduce the impact of light source scattering and diffraction, ensure the accuracy of measurement data and the stability of the equipment, and reduce repeated measurement errors and failure rates.
Smart Images

Figure CN119095227A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of contact angle motor light source control, in particular to a contact angle motor light source control system. Background Art
[0002] In the field of contact angle measurement, the accuracy and stability of measurement technology are crucial for scientific research and industrial applications. Currently, image analysis contact angle measuring instruments and laser sensor-based contact angle measuring devices are the two main technical means. However, these technologies still have many limitations and technical challenges in practical applications, especially in the light source control system.
[0003] The image analysis contact angle measuring instrument captures the contact image of the droplet and the solid surface through the imaging system, and calculates the contact angle through image processing and analysis technology. Although this method has the advantages of being intuitive and easy to operate, its disadvantages are also obvious: the reproducibility of the contact angle tangent is poor, and the confirmation of the horizontal line is difficult, resulting in the test results being greatly affected by human judgment errors; too much or too little droplet volume will affect the measurement accuracy and increase the uncertainty of the measurement results; improper adjustment of the backlight brightness will cause the droplet shape to be distorted, affecting the imaging quality and measurement accuracy; the position of the auxiliary reference line needs to be manually judged by the operator, and when there is a problem with the manual judgment, it will affect the accuracy of the measurement results; it is impossible to correctly test the fiber contact angle and powder contact angle values, limiting its scope of application.
[0004] Although the contact angle measurement device based on laser sensors has the advantages of high precision and the ability to evaluate the effects of nano and micro structures, its motor light source control system still has the following problems: the instability of motor control directly affects the stability of the light source, which in turn affects the imaging quality and measurement accuracy. At the same time, the increase in mechanical wear will shorten the service life of the equipment; the noise and vibration generated when the motor is running not only affect the experimental environment, but may also have an adverse effect on the light source and imaging system, further affecting the accuracy of the measurement results; the positioning accuracy of the motor control system directly affects the position accuracy of the light source and imaging system. If the positioning error is large, it will lead to unreliable contact angle measurement results. Summary of the invention
[0005] The object of the present invention is to provide a contact angle motor light source control system to solve the problems raised in the above background technology.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0007] A contact angle motor light source control system, the system includes: a light source control module, a motor control module, a data processing and analysis module and a result output module;
[0008] The light source control module adjusts the brightness of the LED lamp through PWM technology, and uses the motor to drive the reflector or the light source module itself to achieve precise adjustment of the light source irradiation angle and measurement of different planes;
[0009] The motor control module achieves precise positioning by subdividing the step angle of the stepper motor, and sends a pulse signal with a fixed frequency to control the speed of the motor to achieve smooth acceleration and deceleration control. It uses trapezoidal acceleration and deceleration trajectory control to plan the motion trajectory of the motor and achieve precise movement of the light source and imaging system.
[0010] The data processing and analysis module captures the image of the droplet on the sample surface, extracts the droplet profile information, and calculates the contact angle value based on the droplet profile information;
[0011] The result output module displays the measurement results in the form of numbers, charts, etc. on the software interface and generates corresponding measurement reports.
[0012] Further, the light source control module includes a brightness adjustment unit and an angle adjustment unit;
[0013] The brightness adjustment unit adjusts the brightness of the LED lamp through PWM technology. PWM technology uses the duty cycle of the pulse signal to control the brightness of the LED, which is achieved by changing the time ratio of the high level to the low level in each cycle. The specific brightness adjustment analysis process is: obtain the maximum operating current I_max and the operating voltage V_LED of the LED, combine the LED characteristics and application requirements, and obtain the PWM frequency f, thereby obtaining the PWM period T, and T = 1 / f; according to the application requirements and environmental conditions, set the duty cycle D of the LED in the period T, and D = I_avg / I_max, where I_avg represents the average current of the LED; generate a PWM signal with the required duty cycle D through a microcontroller or a PWM generator, and send it to the LED drive circuit to achieve the brightness adjustment of the LED;
[0014] The angle adjustment unit uses a motor to drive the reflector or directly adjust the position of the light source module to achieve precise adjustment of the light source illumination angle. The specific adjustment process is: the control system sets the adjusted light source illumination angle θ_target, obtains the current position or angle of the light source or reflector as the starting point θ_current, calculates the adjusted angle difference θ, and θ=θ_target-θ_current; determines the movement direction of the light source or reflector according to the positive or negative value of θ, so that it moves toward the target angle θ_target;
[0015] The motor control module includes a positioning unit, a speed control unit and a trajectory control unit;
[0016] The positioning unit realizes position control by subdividing the step angle of the stepper motor, and the step angle calculation formula is: θ_step = 360° / (N_total×m), where N_total represents the total number of steps of the motor and m represents the number of subdivisions;
[0017] The speed control unit sends a pulse signal of a fixed frequency to control the speed of the motor, and the speed calculation formula of the motor is: w = [f_pulse / (N_total×m)]×360°, where f_pulse represents the frequency of the pulse signal;
[0018] The trajectory control unit uses trapezoidal acceleration and deceleration trajectory control to plan the motion trajectory of the motor to achieve the movement of the light source and imaging system.
[0019] Furthermore, the data processing and analysis module includes an image acquisition unit, an image processing unit, and a contact angle calculation unit;
[0020] The image acquisition unit captures the image of the droplets on the sample surface in real time and transmits it to the control system; the image processing unit processes the image of the droplets on the sample surface and extracts the droplet contour information;
[0021] The contact angle calculation unit calculates the contact angle value according to the droplet contour information, and the method for calculating the contact angle value can adopt a geometric method or a fitting method; wherein, the calculation process of the contact angle value is as follows: the extracted droplet contour is represented on a plane rectangular coordinate system, the bottom edge of the droplet is used as a reference line, the top endpoint of the droplet is taken, and a tangent is made on the droplet contour through the top endpoint of the droplet, and the angle between the tangent and the reference line is used as the contact angle, thereby obtaining the contact angle value.
[0022] The circuit of the contact angle motor light source control system includes: a light source circuit, a control circuit, a power management circuit, a drive circuit, a motor drive circuit and a communication interface; the light source circuit is electrically connected to the drive circuit, the drive circuit is electrically connected to the control circuit, the control circuit is electrically connected to the motor drive circuit and the communication interface, and the power management circuit is electrically connected to the drive circuit. The light source circuit is formed by connecting a plurality of LED light emitting diodes in series and then in parallel to provide lighting.
[0023] Furthermore, the control circuit includes capacitors C19, C26, input power supply POWER_IN, diode U5, polarity capacitor EC4; interface URAT2, resistor R6; capacitor C18, capacitor C20, crystal oscillator Y1; resistor R13, capacitor C2, key switch REST; diode LED1, resistor R1, diode LED2, resistor R2; key switch USER_SW; microcontroller, encoder ENCODER; chip U6, resistor R40, resistor R49, resistor R29, resistor R43, transistor Q3, resistor RP1, resistor R45, resistor R41, resistor R48, resistor R30, resistor R42, transistor Q1, resistor RP2, resistor R44; the model of the diode U5 is ESDA7P60-1U1M; the model of the chip U6 is STM32GXX;
[0024] Pin 1 of the chip U6 is connected to the power supply VDDA, pins 3, 4, and 9 of the chip U6 are respectively connected to pins 1, 2, and 3 of the encoder ENCODER, and pin 4 of the encoder ENCODER is grounded; pin 3 of the chip U6 is connected to the first end of the key switch USER_SW, and the second end of the key switch USER_SW is grounded; pins 5 and 6 of the chip U6 are respectively connected to pins 3 and 1 of the crystal oscillator Y1; pin 2 of the crystal oscillator Y1 is grounded; pin 4 of the crystal oscillator Y1 is connected to the first end of the capacitor C20; the second end of the capacitor C20 is connected to pin 1 of the crystal oscillator Y1; the first end of the capacitor C18 is connected to the pin 1 of the crystal oscillator Y1; One end is connected to pin 3 of the crystal oscillator Y1, and the second end of the capacitor C18 is grounded; pins 7, 37, and 38 of the chip U6 are respectively connected to pins 3, 4, and 5 of the microcontroller, pin 1 of the microcontroller is connected to the power supply VDD, and pin 2 of the microcontroller is grounded; pin 7 of the chip U6 is also connected to the first end of the resistor R13, the second end of the resistor R13 is connected to the power supply VDD, the first end of the resistor R13 is connected to the second end of the capacitor C24, the first end of the capacitor C24 is grounded, the first end of the capacitor C24 is also connected to the first end of the key switch REST, and the second end of the key switch REST is connected to pin 7 of the chip U6;
[0025] Pins 10 and 11 of the chip U6 are connected to pins 2 and 3 of the interface URAT2 respectively, pin 1 of the interface URAT2 is connected to the power supply VDD, and pin 4 of the interface URAT2 is grounded; pin 12 of the chip U6 is connected to the second end of the resistor R40 and the second end of the resistor R29, and the first end of the resistor R40 is connected to pin 1 of the transistor Q3; the first end of the resistor R29 is connected to the node REF2 between the motor drive circuit and the second end of the resistor R43, the first end of the resistor R43 is connected to pin 3 of the transistor Q3, and the pin 2 of the transistor Q3 is grounded, the pin 1 of the transistor Q3 is connected to the second end of the resistor R49, and the first end of the resistor R49 is grounded; the first end of the resistor R43 is connected to the The resistor RP1 is sliced, the first end of the resistor RP1 is grounded, the second end of the resistor RP1 is connected to the first end of the resistor R45, and the second end of the resistor R45 is connected to the power supply VDD; the pin 13 of the chip U6 is connected to the second end of the resistor R41, the first end of the resistor R41 is connected to the pin 1 of the transistor Q1, the pin 1 of the transistor Q1 is connected to the second end of the resistor R48, the pin 2 of the transistor Q1 is grounded, the pin 3 of the transistor Q1 is connected to the first end of the resistor R42, the first end of the resistor R48 is grounded, the second end of the resistor R42 is connected to the first end of the resistor R30, the first end of the resistor R30 is connected to the pin 13 of the chip U6, and the first end of the resistor R42 is connected to the slice of the resistor RP2 , the first end of the resistor RP2 is grounded, the second end of the resistor RP2 is connected to the first end of the resistor R44, and the second end of the resistor R44 is connected to the power supply VDD; the pin 14 of the chip U6 is connected to the motor drive circuit; the pin 15 of the chip U6 is connected to the positive electrode of the diode LED2, the negative electrode of the diode LED2 is connected to the second end of the resistor R2, and the first end of the resistor R2 is grounded; the positive electrode of the diode LED1 is connected to the power supply VDD, the negative electrode of the diode LED1 is connected to the second end of the resistor R1, the first end of the resistor R1 is grounded, and the color of the diode LED1 is red, and the color of the diode LED2 is green; the pin 18 of the chip U6 is connected to the drive circuit; the chip U6 Pins 19 and 23 of the chip U6 are grounded, pins 20 and 21 of the chip U6 are connected to the same power supply VDDA, and pin 24 of the chip U6 is connected to the power supply VDD; pins 25 and 26 of the chip U6 are connected to the drive circuit; pins 28, 29, 30, and 32 of the chip U6 are connected to the motor drive circuit; pins 33 and 34 of the chip U6 are connected to the communication interface, pin 35 of the chip U6 is grounded, and pin 36 of the chip U6 is connected to the power supply VDD; pins 39 and 40 of the chip U6 are connected to the motor drive circuit; pins 41, 42, 43, and 44 of the chip U6 are connected to the motor drive circuit; pin 45 of the chip U6 is connected to the first end of the resistor R6, and the second end of the resistor R6 is grounded;Pin 46 of the chip U6 is connected to the motor drive circuit; Pin 47 of the chip U6 is grounded, and Pin 48 of the chip U6 is connected to the power supply VDD;
[0026] The negative pole of the polar capacitor EC4 is grounded, the positive pole of the polar capacitor EC4 is connected to the pin 1 of the diode U5, and the pin 2 of the diode U5 is grounded; the pin 1 of the input power supply POWER_IN is grounded, the pin 1 of the input power supply POWER_IN is grounded, and the pins 2 and 3 of the input power supply POWER_IN are connected to the motor drive circuit; the pin 4 of the input power supply POWER_IN is connected to the second end of the capacitor C26, the first end of the capacitor C26 is grounded, the pin 4 of the input power supply POWER_IN is connected to the positive pole of the diode U5, the negative pole of the diode U5 is grounded, the positive pole of the diode U5 is connected to the positive pole of the polar capacitor EC4, and the negative pole of the polar capacitor EC4 is grounded. The control circuit includes a microcontroller, a signal processing circuit, etc., which are used to receive external instructions or sensor signals and control the working state of the light source.
[0027] Furthermore, the power management circuit is used to provide circuit voltage and current; the power management circuit includes port P2, resistor RFB1, chip U8, diode D1, capacitor C29, capacitor C28, inductor L3; relay J1, inductor L4, chip U9, resistor R26, capacitor C30, capacitor C31, resistor R31, resistor R25, capacitor C32, capacitor C34, capacitor C35; capacitor C36, capacitor C37, chip U10, inductor L6, diode D2, resistor PR1, resistor R33, capacitor C38, capacitor C39; polar capacitor EC2, capacitor C13, chip U1, polar capacitor EC1, capacitor C11, capacitor C12, inductor L5, inductor L1, capacitor C7, capacitor C8, capacitor C9, capacitor C10; the model of the chip U8 is SD7203, the model of the diode D1 is SS34_C330487, the model of the chip U9 is SYD708X, the model of the chip U10 is HUB628, the model of the relay is 5017, and the model of the chip U1 J1 is ASD17;
[0028] Pin 2 of the chip U8 is connected to pin 1 of port P2, pin 2 of the port P1 is connected to the cathode of diode D1, the anode of diode D1 is connected to the first end of inductor L3, and the second end of inductor L3 is connected to pin 6 of chip U8; pin 2 of chip U8 is also connected to the second end of resistor RFB1, and the first end of resistor RFB1 is grounded; pins 4 and 5 of chip U8 are both connected to the first end of inductor L3; pin 7 of chip U8 is connected to the anode of polar capacitor C28, and the anode of polar capacitor C28 is also connected to power supply VCC, the cathode of polar capacitor C28 is connected to the second end of capacitor C29, the first end of capacitor C29 is connected to pin 2 of port P2, the second end of capacitor C29 is grounded, and pin 9 of chip U8 is connected to PWM signal;
[0029] Pins 1 and 2 of the chip U9 are connected to the second end of the inductor L4, the first end of the inductor L4 is connected to the relay J1, the relay J1 is also connected to the second end of the capacitor C30, the first end of the capacitor C30 is grounded, the second end of the capacitor C30 is also connected to the first end of the resistor R26, and the second end of the resistor R26 is connected to pin 3 of the chip U9; pin 4 of the chip U9 is grounded, pin 5 of the chip U9 is connected to the first end of the resistor R31, the second end of the resistor R31 is grounded, pin 5 of the chip U9 is also connected to the first end of the resistor R25, the second end of the resistor R25 is connected to the first end of the capacitor C32, the second end of the capacitor C32 is connected to the first end of the capacitor C34, the second end of the capacitor C34 is connected to the drive circuit, the second end of the capacitor C34 is also connected to the second end of the capacitor C35, and the first end of the capacitor C35 is grounded; pin 6 of the chip U9 is connected to the second end of the capacitor C31, and the first end of the capacitor C31 is grounded; pins 7 and 8 of the chip U9 are connected to the second end of the resistor R25;
[0030] Pin 1 of the chip U10 is connected to the positive electrode of the diode D2, the negative electrode of the diode D2 is connected to the first end of the resistor PR1, the second end of the resistor PR1 is connected to the first end of the resistor R33, the second end of the resistor R33 is grounded, the slice of the resistor PR1 is connected to the first end of the capacitor C38, the second end of the capacitor C38 is grounded, the first end of the capacitor C38 is also connected to the first end of the capacitor C39, and the second end of the capacitor C39 is grounded; Pin 2 of the chip U10 is grounded, and Pin 3 of the chip U10 is connected to the first end of the resistor R33; The node after Pin 4 and Pin 5 of the chip U10 are connected is connected to the first end of the inductor L6, the second end of the inductor L6 is connected to the positive electrode of the diode D2, the first end of the inductor L6 is also connected to the first end of the capacitor C37, the second end of the capacitor C37 is grounded, the first end of the capacitor C37 is also connected to the first end of the capacitor C36, and the second end of the capacitor C36 is grounded;
[0031] Pin 1 of the chip U1 is grounded, pin 2 of the chip U1 is connected to the positive electrode of the polarity capacitor EC1, the first end of the capacitor C11, the first end of the capacitor C12, and the first end of the inductor L5, the negative electrode of the polarity capacitor EC1, the second end of the capacitor C11, and the second end of the capacitor C12 are grounded, the second end of the inductor L5 is connected to the first end of the capacitor C7, the second end of the capacitor C12 is also connected to the first end of the inductor L1, the second end of the inductor L1 is grounded, the second end of the capacitor C7 is grounded, the first end of the capacitor C7 is also connected to the first ends of the capacitors C18, C9, and C10, and the second ends of the capacitors C18, C9, and C10 are grounded.
[0032] Further, the driving circuit includes capacitor C57, capacitor C56, capacitor C58, capacitor C59, resistor R60, capacitor C63, inductor U13, chip U14, diode D3, resistor R61, capacitor C54, capacitor C60, capacitor C61, capacitor C62, capacitor C55, polarity capacitor U15; resistor R20, transistor Q2, capacitor C27, resistor R12, light source interface LED; resistor R64, transistor Q4, capacitor C64, resistor R62, light source interface LED63; resistor R65, transistor Q5, capacitor C65, resistor R63, light source interface LED64; the model of the chip U14 is TPS61165DRVR, and the models of the transistor Q2, transistor Q4 and transistor Q5 are all S8050;
[0033] Pin 1 of the chip U14 is connected to the first end of the resistor R61 and the first end of the capacitor C54, and the second end of the capacitor C54 is connected to the motor drive circuit; Pin 2 of the chip U14 is connected to the first end of the capacitor C63, and the second end of the capacitor C63 is grounded; Pins 3 and 7 of the chip U14 are grounded, Pin 4 of the chip U14 is connected to the second end of the inductor U13 and the positive electrode of the diode D3, and the negative electrode of the diode D3 is connected to the first end of the capacitor C60, the capacitor C61, the capacitor C62, the capacitor C55, and the polar capacitor U15, and the second ends of the capacitor C60, the capacitor C61, the capacitor C62, the capacitor C55, and the polar capacitor U15 are grounded; Pin 5 of the chip U14 is connected to the second end of the resistor R60; Pin 6 of the chip U14 is connected to the first ends of the inductor U13, the capacitor C59, the capacitor C58, the capacitor C56, and the capacitor C57, and the second ends of the capacitor C59, the capacitor C58, the capacitor C56, and the capacitor C57 are grounded;
[0034] The first end of the resistor R20 is connected to the control circuit, the second end of the resistor R20 is connected to the base of the transistor Q2 and the first end of the capacitor C27, the emitter of the transistor Q2 and the second end of the capacitor C27 are grounded, and the collector of the transistor Q2 is connected to the pin 1 of the light source interface LED; the pin 2 of the light source interface LED is connected to the second end of the resistor R12, the first end of the resistor R12 is connected to the +3.3V power supply, and the pins 3 and 4 of the light source interface LED are grounded; the first end of the resistor R64 is connected to the control circuit, the second end of the resistor R64 is connected to the base of the transistor Q4 and the first end of the capacitor C64, the emitter of the transistor Q4 and the second end of the capacitor C64 are grounded, and the collector of the transistor Q4 is connected to the light source interface LED Pin 1 of D63; Pin 2 of the light source interface LED63 is connected to the second end of the resistor R62, the first end of the resistor R62 is connected to the +3.3V power supply, and pins 3 and 4 of the light source interface LED63 are grounded; the first end of the resistor R65 is connected to the control circuit, the second end of the resistor R65 is connected to the base of the transistor Q5 and the first end of the capacitor C65, the emitter of the transistor Q5 and the second end of the capacitor C65 are grounded, and the collector of the transistor Q5 is connected to pin 1 of the light source interface LED64; Pin 2 of the light source interface LED64 is connected to the second end of the resistor R63, the first end of the resistor R63 is connected to the +3.3V power supply, and pins 3 and 4 of the light source interface LED64 are grounded; wherein the light source interface is connected to the light source circuit. The driving circuit is responsible for driving the LED lamp in the light source circuit to realize the functions of brightness adjustment, switch control, etc.
[0035] Further, the motor drive circuit includes a chip U11, a capacitor C41, a capacitor C42, a resistor R34, a capacitor C46, a capacitor C45, a polarity capacitor C43, a resistor R35, a light-emitting diode VCC1, a resistor R47, a capacitor C44, a resistor R39, a resistor R50, a resistor R54, a capacitor C53, a capacitor C52, a capacitor C51, a capacitor C50, a resistor R59, a resistor R53, a resistor R52, and a resistor R46; an interface P1, an interface P3, an interface H2, and an interface H1; a chip U12, a resistor R36, a capacitor C47, a capacitor C48, a capacitor C49, a resistor R56, a resistor R57, a resistor R58, a resistor R55, a resistor R51, a resistor R38, and a resistor R37; a chip U2, a resistor R 5. Resistor R27, capacitor C16, resistor R7, resistor R8, resistor R4, resistor R3, capacitor C2, capacitor C3, capacitor C4; chip U4, resistor R17, resistor R28, capacitor C23, resistor R18, resistor R19, resistor R15, resistor R16, capacitor C17, capacitor C21, capacitor C22, resistor R21, resistor R22, resistor R23, resistor R24, capacitor C25, resistor R9, resistor R10, resistor R11, resistor R14, capacitor C15, MOTOA interface, MOTOB interface; the model of the chip U11 is DSD882X; the model of the chip U12 is ASD4988X; the model of the chip U4 is STSPISDN220X;
[0036] Pin 1 of the chip U11 is connected to the first end of the capacitor C41, and the second end of the capacitor C41 is connected to pin 2 of the chip U11; pin 3 of the chip U11 is connected to the first end of the resistor R34 and the capacitor C42, and pins 4 and 11 of the chip U11 are connected to the second end of the resistor R34 and the capacitor C42, and are connected to the first end of the capacitor C46, the capacitor C45, the polarity capacitor C43, the resistor R35, and the capacitor C44; the second end of the resistor R35 is connected to the positive electrode of the light-emitting diode VCC1, and the negative electrode of the light-emitting diode VCC1 is connected to the positive electrode of the light-emitting diode VCC1. The first end of the resistor R47 is connected to the first end of the capacitor C44 and the second end of the resistor R47 is connected, and the negative electrode of the polar capacitor, the capacitor C45 and the second end of the capacitor C46 are connected; the pin 6 of the chip U11 is connected to the second end of the resistor R39, the pin 9 of the chip U11 is connected to the second end of the resistor R50, the first ends of the resistor R39 and the resistor R50 are connected to the node GND, and the node GND is connected to the pin 6 of the interface P3; the pins 5, 7, 8, and 10 of the chip U11 are connected to the pins 2, 3, 4, and 5 of the interface P3. ; Pin 15 of the chip U11 is connected to the second end of the capacitor C53 and the first end of the resistor R54; the first end of the capacitor C53 and the second end of the resistor R54 are grounded, and the dicing of the resistor R54 is connected to pins 12 and 13 of the chip U11; Pin 13 of the chip U11 is also connected to the second end of the resistor R59, and the first end of the resistor R59 is connected to pin 8 of the interface P1; Pins 29, 28, and 14 of the chip U11 are all connected to pin 9 of the interface P1; Pins 22, 20, 19, and 17 of the chip U11 are separately ... The first and second ends of the resistors R46 and R52 are connected to the first and second ends of the resistors R52 ...
[0037] Pin 1 of the chip U12 is connected to pin 1 of interface H2, pin 2 of the chip U12 is connected to pin 8 of interface H1 and the second end of resistor R36, and the first end of resistor R36 is grounded; pin 3 of the chip U12 is grounded, pin 4 of the chip U12 is connected to the second end of capacitor C47, and pin 5 of the chip U12 is connected to the first end of capacitor C47; pin 6 of the chip U12 is connected to the second end of capacitor C48, and the first end of capacitor C48 is connected to pin 1 of interface H2; pin 8 of the chip U12 is grounded, and the second end of capacitor C48 is connected to the first end of capacitor C48. The first end of the capacitor C49 is connected, and the second end of the capacitor C49 is grounded; the pins 9, 10, and 11 of the chip U12 are respectively connected to the pins 7, 6, and 5 of the interface H1; the pin 12 of the chip U12 is connected to the pin 4 of the interface H1 and the first end of the resistor R56, and the second end of the resistor R56 is connected to the power supply VCC; the pin 13 of the chip U12 is connected to the first end of the resistor R57, and the second end of the resistor R57 is grounded; the pin 14 of the chip U12 is connected to the first end of the resistor R58 and the pin 3 of the interface H1, The second end of the resistor R58 is connected to the first end of the capacitor C50, and the second end of the capacitor C51 is grounded; the pin 15 of the chip U12 is connected to the first end of the capacitor C50, and the second end of the capacitor C51 is grounded; the pin 16 of the chip U12 is connected to the pin 2 of the interface H1; the pin 17 of the chip U12 is connected to the slice of the resistor R55; the first end of the resistor R55 is grounded, the second end of the resistor R55 is connected to the first end of the resistor R51, and the first end of the resistor R51 is connected to the pin 7 of the interface H2; the chip U12 Pin 18 of the chip U12 is grounded, pin 19 of the chip U12 is connected to pin 1 of the interface H1, and pins 21, 24, 26, and 1 of the chip U12 are respectively connected to pins 6, 5, 4, and 3 of the interface H2; pin 23 of the chip U12 is connected to the first end of the resistor R38, and the second end of the resistor R38 is grounded; pin 27 of the chip U12 is connected to the first end of the resistor R37, and the second end of the resistor R37 is grounded; pin 28 of the chip U12 is connected to the first end of the capacitor C52, and the second end of the capacitor C52 is grounded;
[0038] Pin 1 of the chip U2 is connected to the second end of the resistor R5, and the first end of the resistor R5 is connected to the control circuit; Pin 2 of the chip U2 is connected to the second end of the resistor R27, and the first end of the resistor R27 is connected to the control circuit; Pins 3, 5, 8, and 10 of the chip U2 are respectively connected to Pins 1, 2, 3, and 4 of the MOTOA interface; Pin 4 of the chip U2 is connected to the first end of the resistor R9, and the second end of the resistor R9 is grounded; Pin 6 of the chip U2 is connected to the first end of the capacitor C16, and the first end of the capacitor C16 is also connected to the +5V power supply, and the second end of the capacitor C16 is grounded; Pin 16 of the chip U2 is connected to the first end of the resistor R7, and the second end of the resistor R7 is connected to the control circuit; Pin 15 of chip U2 is connected to the first end of resistor R8, and the second end of resistor R8 is connected to the control circuit; Pin 14 of chip U2 is connected to the first end of capacitor C4, resistor R3, and the control circuit; the second end of capacitor C4 is grounded, and the second end of resistor R3 is connected to +5V power supply; Pin 13 of chip U2 is connected to the control circuit, and the first end of capacitor C3 and resistor R4, the second end of capacitor C3 is grounded, and the second end of resistor R4 is connected to +5V power supply; Pin 12 of chip U2 is connected to the first end of capacitor C15 and resistor R14, the second end of capacitor C15 is connected to the first end of resistor R11, and the second ends of resistors R11 and R14 are grounded; Pin 11 of chip U2 is connected to the control circuit;
[0039] Pin 1 of the chip U4 is connected to the second end of the resistor R17, and the first end of the resistor R17 is connected to the control circuit; Pin 2 of the chip U4 is connected to the second end of the resistor R28, and the first end of the resistor R28 is connected to the control circuit; Pins 3, 5, 8, and 10 of the chip U4 are respectively connected to Pins 1, 2, 3, and 4 of the MOTOB interface; Pin 4 of the chip U4 is connected to the first end of the resistor R21, and the second end of the resistor R21 is grounded; Pin 6 of the chip U4 is connected to the first end of the capacitor C23, and the first end of the capacitor C23 is also connected to the +5V power supply, and the second end of the capacitor C23 is grounded; Pin 16 of the chip U4 is connected to the first end of the resistor R18, and the second end of the resistor R18 is connected to the control circuit; Pin 15 is connected to the first end of resistor R19, and the second end of the resistor R19 is connected to the control circuit; Pin 14 of the chip U4 is connected to the first end of capacitor C22, resistor R15, and the control circuit; the second end of the capacitor C22 is grounded, and the second end of the resistor R15 is connected to the +5V power supply; Pin 13 of the chip U4 is connected to the control circuit, as well as the first end of capacitor C21 and resistor R16, the second end of the capacitor C21 is grounded, and the second end of the resistor R16 is connected to the +5V power supply; Pin 12 of the chip U4 is connected to the first end of capacitor C25 and resistor R24, the second end of the capacitor C25 is connected to the first end of resistor R23, and the second ends of the resistors R23 and R24 are grounded; Pin 11 of the chip U4 is connected to the control circuit. The motor drive circuit is used to realize the contact movement between the platform and the product, and the amount of liquid dripping needs to be accurately controlled. The stepper motor has become a common choice for the dripping system because it can accurately control the rotation angle and position. By programming the number of steps of the stepper motor, the moving distance of the dripper can be accurately controlled, thereby controlling the amount of liquid dripping.
[0040] Furthermore, the communication interface includes a chip U7, a USB interface, a polarity capacitor EC5, a polarity capacitor C40, a DCDC converter, and differential signal interfaces DM1, DM2, DM3, DM4, DP1, DP2, DP3, and DP4; the model of the chip U7 is SDSL2.1;
[0041] Pins 1, 2, 3, 4, 5, 6, 7, and 8 of the chip U7 are respectively connected to differential signal interfaces DM4, DP4, DM3, DP3, DM2, DP2, DM1, and DP1; pins 9 and 10 of the chip U7 are respectively connected to pins 2 and 3 of the USB interface, pin 1 of the USB interface is connected to the DCDC converter, the positive electrode of polarity capacitor C40, and the positive electrode of polarity capacitor EC5, the output voltage of the DCDC converter is 5V, and the negative electrode of the polarity capacitor C40 and the negative electrode of the polarity capacitor EC5 are grounded respectively; pins 2 and 3 of the USB interface are respectively connected to pins 7 and 8 of the chip U7; pins 4, 5, and 6 of the USB interface are grounded; pin 11 of the chip U7 is connected to the DCDC converter, pin 12 of the chip U7 is grounded, pin 13 of the chip U7 is connected to the power supply VDD_3V3, pin 14 of the chip U7 is connected to VDD_1V8, and pins 15 and 16 of the chip U7 are respectively connected to the input and output of the crystal oscillator. Communication interfaces play a vital role in enabling multi-machine communication, communication with the PC, and communication with other company products. These interfaces are not only responsible for data transmission, but also ensure interoperability and compatibility between different devices.
[0042] Compared with the prior art, the beneficial effects achieved by the present invention are: improving measurement accuracy and reliability, as follows:
[0043] Light source stability: By precisely controlling the brightness, irradiation angle and irradiation area of the light source, the effects of light source scattering, diffraction, diffuse reflection and other phenomena on droplet imaging are reduced, thereby improving the authenticity and accuracy of imaging. This ensures the accuracy of the measurement data from the source and reduces the error of repeated measurements.
[0044] Precise motor control: Using high-precision motors such as stepper motors and servo motors, combined with closed-loop control algorithms and position sensors, precise positioning and motion control of the light source and imaging system are achieved. This ensures the stability and reliability of the light source and imaging system during the measurement process, further improving the measurement accuracy.
[0045] Power supply stability: To ensure the normal operation of the equipment, stable current, voltage and frequency are required. If the current, voltage and frequency are unstable, it will affect the working efficiency of the electrical equipment and even cause the equipment to malfunction. Data security also needs to be protected. The unstable power supply will affect the data in the equipment, which may cause problems such as system crash or data loss, posing a threat to data security. It also reduces the failure rate of equipment. A stable power supply can reduce the failure rate of equipment, reduce the cost of equipment maintenance, improve the reliability and stability of equipment, avoid large errors and misalignment when the motor rotates, and make the light source bright without flickering. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0047] Figure 1 It is a schematic diagram of a contact angle motor light source control system module of the present invention;
[0048] Figure 2 It is a control circuit diagram of a contact angle motor light source control system of the present invention;
[0049] Figure 3 It is a power management circuit diagram of a contact angle motor light source control system of the present invention;
[0050] Figure 4 It is a driving circuit diagram of a contact angle motor light source control system of the present invention;
[0051] Figure 5 The present invention is a motor driving circuit of a contact angle motor light source control system Figure 1 ;
[0052] Figure 6 The present invention is a motor driving circuit of a contact angle motor light source control system Figure 2 ;
[0053] Figure 7 It is a schematic diagram of a communication interface of a contact angle motor light source control system of the present invention. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0055] See also Figure 1 , the present invention provides a technical solution:
[0056] A contact angle motor light source control system, the system includes: a light source control module, a motor control module, a data processing and analysis module and a result output module;
[0057] The light source control module adjusts the brightness of the LED lamp through PWM technology, and uses the motor to drive the reflector or the light source module itself to achieve precise adjustment of the light source irradiation angle and measurement of different planes;
[0058] The motor control module achieves precise positioning by subdividing the step angle of the stepper motor, and sends a pulse signal with a fixed frequency to control the speed of the motor to achieve smooth acceleration and deceleration control. It uses trapezoidal acceleration and deceleration trajectory control to plan the motion trajectory of the motor and achieve precise movement of the light source and imaging system.
[0059] The data processing and analysis module captures the image of the droplet on the sample surface, extracts the droplet profile information, and calculates the contact angle value based on the droplet profile information;
[0060] The result output module displays the measurement results in the form of numbers, charts, etc. on the software interface and generates corresponding measurement reports.
[0061] The light source control module includes a brightness adjustment unit and an angle adjustment unit;
[0062] The brightness adjustment unit adjusts the brightness of the LED lamp through PWM technology. PWM technology uses the duty cycle of the pulse signal to control the brightness of the LED, which is achieved by changing the time ratio of the high level to the low level in each cycle. The specific brightness adjustment analysis process is: obtain the maximum operating current I_max and the operating voltage V_LED of the LED, combine the LED characteristics and application requirements, and obtain the PWM frequency f, thereby obtaining the PWM period T, and T = 1 / f; according to the application requirements and environmental conditions, set the duty cycle D of the LED in the period T, and D = I_avg / I_max, where I_avg represents the average current of the LED; generate a PWM signal with the required duty cycle D through a microcontroller or a PWM generator, and send it to the LED drive circuit to achieve the brightness adjustment of the LED;
[0063] The angle adjustment unit uses a motor to drive the reflector or directly adjust the position of the light source module to achieve precise adjustment of the light source illumination angle. The specific adjustment process is: the control system sets the adjusted light source illumination angle θ_target, obtains the current position or angle of the light source or reflector as the starting point θ_current, calculates the adjusted angle difference θ, and θ=θ_target-θ_current; determines the movement direction of the light source or reflector according to the positive or negative value of θ, so that it moves toward the target angle θ_target;
[0064] The motor control module includes a positioning unit, a speed control unit and a trajectory control unit;
[0065] The positioning unit realizes position control by subdividing the step angle of the stepper motor, and the step angle calculation formula is: θ_step = 360° / (N_total×m), where N_total represents the total number of steps of the motor and m represents the number of subdivisions;
[0066] The speed control unit sends a pulse signal of a fixed frequency to control the speed of the motor, and the speed calculation formula of the motor is: w = [f_pulse / (N_total×m)]×360°, where f_pulse represents the frequency of the pulse signal;
[0067] The trajectory control unit uses trapezoidal acceleration and deceleration trajectory control to plan the motion trajectory of the motor to achieve the movement of the light source and imaging system.
[0068] The data processing and analysis module includes an image acquisition unit, an image processing unit and a contact angle calculation unit;
[0069] The image acquisition unit captures the image of the droplets on the sample surface in real time and transmits it to the control system; the image processing unit processes the image of the droplets on the sample surface and extracts the droplet contour information;
[0070] The contact angle calculation unit calculates the contact angle value according to the droplet contour information, and the method for calculating the contact angle value can adopt a geometric method or a fitting method; wherein, the calculation process of the contact angle value is as follows: the extracted droplet contour is represented on a plane rectangular coordinate system, the bottom edge of the droplet is used as a reference line, the top endpoint of the droplet is taken, and a tangent is made on the droplet contour through the top endpoint of the droplet, and the angle between the tangent and the reference line is used as the contact angle, thereby obtaining the contact angle value.
[0071] To summarize, the data processing and analysis module collects the position, angle, lighting environment, dripping and other parameters of the contact angle motor in real time, and saves, processes and analyzes the data. According to the preset control strategy or the parameters set by the user, the light intensity, color temperature and other parameters that the light source should achieve are calculated. The light source control module is driven by the motor control module to adjust the working state of the light source module, and the brightness and color temperature of the LED lamp are adjusted. The motor and dripping liquid meet the measurement requirements of the contact angle motor or the lighting requirements of the user. According to the position or angle change of the contact angle motor, the brightness or irradiation angle of the light source is automatically adjusted to ensure the best lighting effect in the measurement area. The system has a built-in fault detection mechanism. Once a fault is detected in the light source module or the drive module and other components, an alarm is immediately triggered and corresponding protection measures are taken to force the working rotation to stop.
[0072] The circuit of the contact angle motor light source control system includes: a light source circuit, a control circuit, a power management circuit, a drive circuit, a motor drive circuit and a communication interface; the light source circuit is electrically connected to the drive circuit, the drive circuit is electrically connected to the control circuit, the control circuit is electrically connected to the motor drive circuit and the communication interface, and the power management circuit is electrically connected to the drive circuit; the light source circuit is composed of a plurality of LED light emitting diodes connected in series and then connected in parallel to provide lighting.
[0073] like Figure 2 As shown, the control circuit includes capacitors C19, C26, input power supply POWER_IN, diode U5, polarity capacitor EC4; interface URAT2, resistor R6; capacitor C18, capacitor C20, crystal oscillator Y1; resistor R13, capacitor C2, key switch REST; diode LED1, resistor R1, diode LED2, resistor R2; key switch USER_SW; microcontroller, encoder ENCODER; chip U6, resistor R40, resistor R49, resistor R29, resistor R43, transistor Q3, resistor RP1, resistor R45, resistor R41, resistor R48, resistor R30, resistor R42, transistor Q1, resistor RP2, resistor R44; the model of the diode U5 is ESDA7P60-1U1M; the model of the chip U6 is STM32GXX;
[0074] Pin 1 of the chip U6 is connected to the power supply VDDA, pins 3, 4, and 9 of the chip U6 are respectively connected to pins 1, 2, and 3 of the encoder ENCODER, and pin 4 of the encoder ENCODER is grounded; pin 3 of the chip U6 is connected to the first end of the key switch USER_SW, and the second end of the key switch USER_SW is grounded; pins 5 and 6 of the chip U6 are respectively connected to pins 3 and 1 of the crystal oscillator Y1; pin 2 of the crystal oscillator Y1 is grounded; pin 4 of the crystal oscillator Y1 is connected to the first end of the capacitor C20; the second end of the capacitor C20 is connected to pin 1 of the crystal oscillator Y1; the first end of the capacitor C18 is connected to the pin 1 of the crystal oscillator Y1; One end is connected to pin 3 of the crystal oscillator Y1, and the second end of the capacitor C18 is grounded; pins 7, 37, and 38 of the chip U6 are respectively connected to pins 3, 4, and 5 of the microcontroller, pin 1 of the microcontroller is connected to the power supply VDD, and pin 2 of the microcontroller is grounded; pin 7 of the chip U6 is also connected to the first end of the resistor R13, the second end of the resistor R13 is connected to the power supply VDD, the first end of the resistor R13 is connected to the second end of the capacitor C24, the first end of the capacitor C24 is grounded, the first end of the capacitor C24 is also connected to the first end of the key switch REST, and the second end of the key switch REST is connected to pin 7 of the chip U6;
[0075] Pins 10 and 11 of the chip U6 are connected to pins 2 and 3 of the interface URAT2 respectively, pin 1 of the interface URAT2 is connected to the power supply VDD, and pin 4 of the interface URAT2 is grounded; pin 12 of the chip U6 is connected to the second end of the resistor R40 and the second end of the resistor R29, and the first end of the resistor R40 is connected to pin 1 of the transistor Q3; the first end of the resistor R29 is connected to the node REF2 between the motor drive circuit and the second end of the resistor R43, the first end of the resistor R43 is connected to pin 3 of the transistor Q3, and the pin 2 of the transistor Q3 is grounded, the pin 1 of the transistor Q3 is connected to the second end of the resistor R49, and the first end of the resistor R49 is grounded; the first end of the resistor R43 is connected to the The resistor RP1 is sliced, the first end of the resistor RP1 is grounded, the second end of the resistor RP1 is connected to the first end of the resistor R45, and the second end of the resistor R45 is connected to the power supply VDD; the pin 13 of the chip U6 is connected to the second end of the resistor R41, the first end of the resistor R41 is connected to the pin 1 of the transistor Q1, the pin 1 of the transistor Q1 is connected to the second end of the resistor R48, the pin 2 of the transistor Q1 is grounded, the pin 3 of the transistor Q1 is connected to the first end of the resistor R42, the first end of the resistor R48 is grounded, the second end of the resistor R42 is connected to the first end of the resistor R30, the first end of the resistor R30 is connected to the pin 13 of the chip U6, and the first end of the resistor R42 is connected to the slice of the resistor RP2 , the first end of the resistor RP2 is grounded, the second end of the resistor RP2 is connected to the first end of the resistor R44, and the second end of the resistor R44 is connected to the power supply VDD; the pin 14 of the chip U6 is connected to the motor drive circuit; the pin 15 of the chip U6 is connected to the positive electrode of the diode LED2, the negative electrode of the diode LED2 is connected to the second end of the resistor R2, and the first end of the resistor R2 is grounded; the positive electrode of the diode LED1 is connected to the power supply VDD, the negative electrode of the diode LED1 is connected to the second end of the resistor R1, the first end of the resistor R1 is grounded, and the color of the diode LED1 is red, and the color of the diode LED2 is green; the pin 18 of the chip U6 is connected to the drive circuit; the chip U6 Pins 19 and 23 of the chip U6 are grounded, pins 20 and 21 of the chip U6 are connected to the same power supply VDDA, and pin 24 of the chip U6 is connected to the power supply VDD; pins 25 and 26 of the chip U6 are connected to the drive circuit; pins 28, 29, 30, and 32 of the chip U6 are connected to the motor drive circuit; pins 33 and 34 of the chip U6 are connected to the communication interface, pin 35 of the chip U6 is grounded, and pin 36 of the chip U6 is connected to the power supply VDD; pins 39 and 40 of the chip U6 are connected to the motor drive circuit; pins 41, 42, 43, and 44 of the chip U6 are connected to the motor drive circuit; pin 45 of the chip U6 is connected to the first end of the resistor R6, and the second end of the resistor R6 is grounded;Pin 46 of the chip U6 is connected to the motor drive circuit; Pin 47 of the chip U6 is grounded, and Pin 48 of the chip U6 is connected to the power supply VDD;
[0076] The negative pole of the polar capacitor EC4 is grounded, the positive pole of the polar capacitor EC4 is connected to the pin 1 of the diode U5, and the pin 2 of the diode U5 is grounded; the pin 1 of the input power supply POWER_IN is grounded, the pin 1 of the input power supply POWER_IN is grounded, and the pins 2 and 3 of the input power supply POWER_IN are connected to the motor drive circuit; the pin 4 of the input power supply POWER_IN is connected to the second end of the capacitor C26, the first end of the capacitor C26 is grounded, the pin 4 of the input power supply POWER_IN is connected to the positive pole of the diode U5, the negative pole of the diode U5 is grounded, the positive pole of the diode U5 is connected to the positive pole of the polar capacitor EC4, and the negative pole of the polar capacitor EC4 is grounded. The control circuit includes a microcontroller, a signal processing circuit, etc., which are used to receive external instructions or sensor signals and control the working state of the light source.
[0077] like Figure 3 As shown, the power management circuit is used to provide circuit voltage and current; the power management circuit includes port P2, resistor RFB1, chip U8, diode D1, capacitor C29, capacitor C28, inductor L3; relay J1, inductor L4, chip U9, resistor R26, capacitor C30, capacitor C31, resistor R31, resistor R25, capacitor C32, capacitor C34, capacitor C35; capacitor C36, capacitor C37, chip U10, inductor L6, diode D2, resistor PR1, resistor R33, capacitor C38, capacitor C 39; polar capacitor EC2, capacitor C13, chip U1, polar capacitor EC1, capacitor C11, capacitor C12, inductor L5, inductor L1, capacitor C7, capacitor C8, capacitor C9, capacitor C10; the model of the chip U8 is SD7203, the model of the diode D1 is SS34_C330487, the model of the chip U9 is SYD708X, the model of the chip U10 is HUB628, the model of the relay is 5017, and the model of the chip U1 is ASD17;
[0078] Pin 2 of the chip U8 is connected to pin 1 of port P2, pin 2 of the port P1 is connected to the cathode of diode D1, the anode of diode D1 is connected to the first end of inductor L3, and the second end of inductor L3 is connected to pin 6 of chip U8; pin 2 of chip U8 is also connected to the second end of resistor RFB1, and the first end of resistor RFB1 is grounded; pins 4 and 5 of chip U8 are both connected to the first end of inductor L3; pin 7 of chip U8 is connected to the anode of polar capacitor C28, and the anode of polar capacitor C28 is also connected to power supply VCC, the cathode of polar capacitor C28 is connected to the second end of capacitor C29, the first end of capacitor C29 is connected to pin 2 of port P2, the second end of capacitor C29 is grounded, and pin 9 of chip U8 is connected to PWM signal;
[0079] Pins 1 and 2 of the chip U9 are connected to the second end of the inductor L4, the first end of the inductor L4 is connected to the relay J1, the relay J1 is also connected to the second end of the capacitor C30, the first end of the capacitor C30 is grounded, the second end of the capacitor C30 is also connected to the first end of the resistor R26, and the second end of the resistor R26 is connected to pin 3 of the chip U9; pin 4 of the chip U9 is grounded, pin 5 of the chip U9 is connected to the first end of the resistor R31, the second end of the resistor R31 is grounded, pin 5 of the chip U9 is also connected to the first end of the resistor R25, the second end of the resistor R25 is connected to the first end of the capacitor C32, the second end of the capacitor C32 is connected to the first end of the capacitor C34, the second end of the capacitor C34 is connected to the drive circuit, the second end of the capacitor C34 is also connected to the second end of the capacitor C35, and the first end of the capacitor C35 is grounded; pin 6 of the chip U9 is connected to the second end of the capacitor C31, and the first end of the capacitor C31 is grounded; pins 7 and 8 of the chip U9 are connected to the second end of the resistor R25;
[0080] Pin 1 of the chip U10 is connected to the positive electrode of the diode D2, the negative electrode of the diode D2 is connected to the first end of the resistor PR1, the second end of the resistor PR1 is connected to the first end of the resistor R33, the second end of the resistor R33 is grounded, the slice of the resistor PR1 is connected to the first end of the capacitor C38, the second end of the capacitor C38 is grounded, the first end of the capacitor C38 is also connected to the first end of the capacitor C39, and the second end of the capacitor C39 is grounded; Pin 2 of the chip U10 is grounded, and Pin 3 of the chip U10 is connected to the first end of the resistor R33; The node after Pin 4 and Pin 5 of the chip U10 are connected is connected to the first end of the inductor L6, the second end of the inductor L6 is connected to the positive electrode of the diode D2, the first end of the inductor L6 is also connected to the first end of the capacitor C37, the second end of the capacitor C37 is grounded, the first end of the capacitor C37 is also connected to the first end of the capacitor C36, and the second end of the capacitor C36 is grounded;
[0081] Pin 1 of the chip U1 is grounded, pin 2 of the chip U1 is connected to the positive electrode of the polarity capacitor EC1, the first end of the capacitor C11, the first end of the capacitor C12, and the first end of the inductor L5, the negative electrode of the polarity capacitor EC1, the second end of the capacitor C11, and the second end of the capacitor C12 are grounded, the second end of the inductor L5 is connected to the first end of the capacitor C7, the second end of the capacitor C12 is also connected to the first end of the inductor L1, the second end of the inductor L1 is grounded, the second end of the capacitor C7 is grounded, the first end of the capacitor C7 is also connected to the first ends of the capacitors C18, C9, and C10, and the second ends of the capacitors C18, C9, and C10 are grounded.
[0082] like Figure 4 As shown, the driving circuit includes capacitor C57, capacitor C56, capacitor C58, capacitor C59, resistor R60, capacitor C63, inductor U13, chip U14, diode D3, resistor R61, capacitor C54, capacitor C60, capacitor C61, capacitor C62, capacitor C55, polarity capacitor U15; resistor R20, transistor Q2, capacitor C27, resistor R12, light source interface LED; resistor R64, transistor Q4, capacitor C64, resistor R62, light source interface LED63; resistor R65, transistor Q5, capacitor C65, resistor R63, light source interface LED64; the model of the chip U14 is TPS61165DRVR, and the models of the transistor Q2, transistor Q4 and transistor Q5 are all S8050;
[0083] Pin 1 of the chip U14 is connected to the first end of the resistor R61 and the first end of the capacitor C54, and the second end of the capacitor C54 is connected to the motor drive circuit; Pin 2 of the chip U14 is connected to the first end of the capacitor C63, and the second end of the capacitor C63 is grounded; Pins 3 and 7 of the chip U14 are grounded, Pin 4 of the chip U14 is connected to the second end of the inductor U13 and the positive electrode of the diode D3, and the negative electrode of the diode D3 is connected to the first end of the capacitor C60, the capacitor C61, the capacitor C62, the capacitor C55, and the polar capacitor U15, and the second ends of the capacitor C60, the capacitor C61, the capacitor C62, the capacitor C55, and the polar capacitor U15 are grounded; Pin 5 of the chip U14 is connected to the second end of the resistor R60; Pin 6 of the chip U14 is connected to the first ends of the inductor U13, the capacitor C59, the capacitor C58, the capacitor C56, and the capacitor C57, and the second ends of the capacitor C59, the capacitor C58, the capacitor C56, and the capacitor C57 are grounded;
[0084] The first end of the resistor R20 is connected to the control circuit, the second end of the resistor R20 is connected to the base of the transistor Q2 and the first end of the capacitor C27, the emitter of the transistor Q2 and the second end of the capacitor C27 are grounded, and the collector of the transistor Q2 is connected to the pin 1 of the light source interface LED; the pin 2 of the light source interface LED is connected to the second end of the resistor R12, the first end of the resistor R12 is connected to the +3.3V power supply, and the pins 3 and 4 of the light source interface LED are grounded; the first end of the resistor R64 is connected to the control circuit, the second end of the resistor R64 is connected to the base of the transistor Q4 and the first end of the capacitor C64, the emitter of the transistor Q4 and the second end of the capacitor C64 are grounded, and the collector of the transistor Q4 is connected to the light source interface LED Pin 1 of D63; Pin 2 of the light source interface LED63 is connected to the second end of the resistor R62, the first end of the resistor R62 is connected to the +3.3V power supply, and pins 3 and 4 of the light source interface LED63 are grounded; the first end of the resistor R65 is connected to the control circuit, the second end of the resistor R65 is connected to the base of the transistor Q5 and the first end of the capacitor C65, the emitter of the transistor Q5 and the second end of the capacitor C65 are grounded, and the collector of the transistor Q5 is connected to pin 1 of the light source interface LED64; Pin 2 of the light source interface LED64 is connected to the second end of the resistor R63, the first end of the resistor R63 is connected to the +3.3V power supply, and pins 3 and 4 of the light source interface LED64 are grounded; wherein the light source interface is connected to the light source circuit. The driving circuit is responsible for driving the LED lamp in the light source circuit to realize the functions of brightness adjustment, switch control, etc.
[0085] like Figure 5 , 6As shown, the motor drive circuit includes chip U11, capacitor C41, capacitor C42, resistor R34, capacitor C46, capacitor C45, polarity capacitor C43, resistor R35, light-emitting diode VCC1, resistor R47, capacitor C44, resistor R39, resistor R50, resistor R54, capacitor C53, capacitor C52, capacitor C51, capacitor C50, resistor R59, resistor R53, resistor R52, resistor R46; interface P1, interface P3, interface H2, interface H1; chip U12, resistor R36, capacitor C47, capacitor C48, capacitor C49, resistor R56, resistor R57, resistor R58, resistor R55, resistor R51, resistor R38, resistor R37; chip U2, resistor R5 , resistor R27, capacitor C16, resistor R7, resistor R8, resistor R4, resistor R3, capacitor C2, capacitor C3, capacitor C4; chip U4, resistor R17, resistor R28, capacitor C23, resistor R18, resistor R19, resistor R15, resistor R16, capacitor C17, capacitor C21, capacitor C22, resistor R21, resistor R22, resistor R23, resistor R24, capacitor C25, resistor R9, resistor R10, resistor R11, resistor R14, capacitor C15, MOTOA interface, MOTOB interface; the model of the chip U11 is DSD882X; the model of the chip U12 is ASD4988X; the model of the chip U4 is STSPISDN220X;
[0086] Pin 1 of the chip U11 is connected to the first end of the capacitor C41, and the second end of the capacitor C41 is connected to pin 2 of the chip U11; pin 3 of the chip U11 is connected to the first end of the resistor R34 and the capacitor C42, and pins 4 and 11 of the chip U11 are connected to the second end of the resistor R34 and the capacitor C42, and are connected to the first end of the capacitor C46, the capacitor C45, the polarity capacitor C43, the resistor R35, and the capacitor C44; the second end of the resistor R35 is connected to the positive electrode of the light-emitting diode VCC1, and the negative electrode of the light-emitting diode VCC1 is connected to the positive electrode of the light-emitting diode VCC1. The first end of the resistor R47 is connected to the first end of the capacitor C44 and the second end of the resistor R47 is connected, and the negative electrode of the polar capacitor, the capacitor C45 and the second end of the capacitor C46 are connected; the pin 6 of the chip U11 is connected to the second end of the resistor R39, the pin 9 of the chip U11 is connected to the second end of the resistor R50, the first ends of the resistor R39 and the resistor R50 are connected to the node GND, and the node GND is connected to the pin 6 of the interface P3; the pins 5, 7, 8, and 10 of the chip U11 are connected to the pins 2, 3, 4, and 5 of the interface P3. ; Pin 15 of the chip U11 is connected to the second end of the capacitor C53 and the first end of the resistor R54; the first end of the capacitor C53 and the second end of the resistor R54 are grounded, and the dicing of the resistor R54 is connected to pins 12 and 13 of the chip U11; Pin 13 of the chip U11 is also connected to the second end of the resistor R59, and the first end of the resistor R59 is connected to pin 8 of the interface P1; Pins 29, 28, and 14 of the chip U11 are all connected to pin 9 of the interface P1; Pins 22, 20, 19, and 17 of the chip U11 are separately ... The first and second ends of the resistors R46 and R52 are connected to the first and second ends of the resistors R52 ...
[0087] Pin 1 of the chip U12 is connected to pin 1 of interface H2, pin 2 of the chip U12 is connected to pin 8 of interface H1 and the second end of resistor R36, and the first end of resistor R36 is grounded; pin 3 of the chip U12 is grounded, pin 4 of the chip U12 is connected to the second end of capacitor C47, and pin 5 of the chip U12 is connected to the first end of capacitor C47; pin 6 of the chip U12 is connected to the second end of capacitor C48, and the first end of capacitor C48 is connected to pin 1 of interface H2; pin 8 of the chip U12 is grounded, and the second end of capacitor C48 is connected to the first end of capacitor C48. The first end of the capacitor C49 is connected, and the second end of the capacitor C49 is grounded; the pins 9, 10, and 11 of the chip U12 are respectively connected to the pins 7, 6, and 5 of the interface H1; the pin 12 of the chip U12 is connected to the pin 4 of the interface H1 and the first end of the resistor R56, and the second end of the resistor R56 is connected to the power supply VCC; the pin 13 of the chip U12 is connected to the first end of the resistor R57, and the second end of the resistor R57 is grounded; the pin 14 of the chip U12 is connected to the first end of the resistor R58 and the pin 3 of the interface H1, The second end of the resistor R58 is connected to the first end of the capacitor C50, and the second end of the capacitor C51 is grounded; the pin 15 of the chip U12 is connected to the first end of the capacitor C50, and the second end of the capacitor C51 is grounded; the pin 16 of the chip U12 is connected to the pin 2 of the interface H1; the pin 17 of the chip U12 is connected to the slice of the resistor R55; the first end of the resistor R55 is grounded, the second end of the resistor R55 is connected to the first end of the resistor R51, and the first end of the resistor R51 is connected to the pin 7 of the interface H2; the chip U12 Pin 18 of the chip U12 is grounded, pin 19 of the chip U12 is connected to pin 1 of the interface H1, and pins 21, 24, 26, and 1 of the chip U12 are respectively connected to pins 6, 5, 4, and 3 of the interface H2; pin 23 of the chip U12 is connected to the first end of the resistor R38, and the second end of the resistor R38 is grounded; pin 27 of the chip U12 is connected to the first end of the resistor R37, and the second end of the resistor R37 is grounded; pin 28 of the chip U12 is connected to the first end of the capacitor C52, and the second end of the capacitor C52 is grounded;
[0088] Pin 1 of the chip U2 is connected to the second end of the resistor R5, and the first end of the resistor R5 is connected to the control circuit; Pin 2 of the chip U2 is connected to the second end of the resistor R27, and the first end of the resistor R27 is connected to the control circuit; Pins 3, 5, 8, and 10 of the chip U2 are respectively connected to Pins 1, 2, 3, and 4 of the MOTOA interface; Pin 4 of the chip U2 is connected to the first end of the resistor R9, and the second end of the resistor R9 is grounded; Pin 6 of the chip U2 is connected to the first end of the capacitor C16, and the first end of the capacitor C16 is also connected to the +5V power supply, and the second end of the capacitor C16 is grounded; Pin 16 of the chip U2 is connected to the first end of the resistor R7, and the second end of the resistor R7 is connected to the control circuit; Pin 15 of chip U2 is connected to the first end of resistor R8, and the second end of resistor R8 is connected to the control circuit; Pin 14 of chip U2 is connected to the first end of capacitor C4, resistor R3, and the control circuit; the second end of capacitor C4 is grounded, and the second end of resistor R3 is connected to +5V power supply; Pin 13 of chip U2 is connected to the control circuit, and the first end of capacitor C3 and resistor R4, the second end of capacitor C3 is grounded, and the second end of resistor R4 is connected to +5V power supply; Pin 12 of chip U2 is connected to the first end of capacitor C15 and resistor R14, the second end of capacitor C15 is connected to the first end of resistor R11, and the second ends of resistors R11 and R14 are grounded; Pin 11 of chip U2 is connected to the control circuit;
[0089] Pin 1 of the chip U4 is connected to the second end of the resistor R17, and the first end of the resistor R17 is connected to the control circuit; Pin 2 of the chip U4 is connected to the second end of the resistor R28, and the first end of the resistor R28 is connected to the control circuit; Pins 3, 5, 8, and 10 of the chip U4 are respectively connected to Pins 1, 2, 3, and 4 of the MOTOB interface; Pin 4 of the chip U4 is connected to the first end of the resistor R21, and the second end of the resistor R21 is grounded; Pin 6 of the chip U4 is connected to the first end of the capacitor C23, and the first end of the capacitor C23 is also connected to the +5V power supply, and the second end of the capacitor C23 is grounded; Pin 16 of the chip U4 is connected to the first end of the resistor R18, and the second end of the resistor R18 is connected to the control circuit; Pin 15 is connected to the first end of resistor R19, and the second end of the resistor R19 is connected to the control circuit; Pin 14 of the chip U4 is connected to the first end of capacitor C22, resistor R15, and the control circuit; the second end of the capacitor C22 is grounded, and the second end of the resistor R15 is connected to the +5V power supply; Pin 13 of the chip U4 is connected to the control circuit, as well as the first end of capacitor C21 and resistor R16, the second end of the capacitor C21 is grounded, and the second end of the resistor R16 is connected to the +5V power supply; Pin 12 of the chip U4 is connected to the first end of capacitor C25 and resistor R24, the second end of the capacitor C25 is connected to the first end of resistor R23, and the second ends of the resistors R23 and R24 are grounded; Pin 11 of the chip U4 is connected to the control circuit. The motor drive circuit is used to realize the contact movement between the platform and the product, and the amount of liquid dripping needs to be accurately controlled. The stepper motor has become a common choice for the dripping system because it can accurately control the rotation angle and position. By programming the number of steps of the stepper motor, the moving distance of the dripper can be accurately controlled, thereby controlling the amount of liquid dripping.
[0090] like Figure 7 As shown, the communication interface includes a chip U7, a USB interface, a polarity capacitor EC5, a polarity capacitor C40, a DCDC converter, and differential signal interfaces DM1, DM2, DM3, DM4, DP1, DP2, DP3, and DP4; the model of the chip U7 is SDSL2.1;
[0091] Pins 1, 2, 3, 4, 5, 6, 7, and 8 of the chip U7 are respectively connected to differential signal interfaces DM4, DP4, DM3, DP3, DM2, DP2, DM1, and DP1; pins 9 and 10 of the chip U7 are respectively connected to pins 2 and 3 of the USB interface, pin 1 of the USB interface is connected to the DCDC converter, the positive electrode of polarity capacitor C40, and the positive electrode of polarity capacitor EC5, the output voltage of the DCDC converter is 5V, and the negative electrode of the polarity capacitor C40 and the negative electrode of the polarity capacitor EC5 are grounded respectively; pins 2 and 3 of the USB interface are respectively connected to pins 7 and 8 of the chip U7; pins 4, 5, and 6 of the USB interface are grounded; pin 11 of the chip U7 is connected to the DCDC converter, pin 12 of the chip U7 is grounded, pin 13 of the chip U7 is connected to the power supply VDD_3V3, pin 14 of the chip U7 is connected to VDD_1V8, and pins 15 and 16 of the chip U7 are respectively connected to the input and output of the crystal oscillator. Communication interfaces play a vital role in enabling multi-machine communication, communication with the PC, and communication with other company products. These interfaces are not only responsible for data transmission, but also ensure interoperability and compatibility between different devices.
[0092] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device.
[0093] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A contact angle motor light source control system, characterized in that: The system comprises: a light source control module, a motor control module, a data processing and analysis module and a result output module; The light source control module adjusts the brightness of the LED lamp through PWM technology, and uses a motor to drive the reflector or the light source module itself to achieve precise adjustment of the light source irradiation angle and measurement of different planes; The motor control module achieves precise positioning by subdividing the step angle of the stepper motor, and sends a pulse signal of fixed frequency to control the speed of the motor to achieve smooth acceleration and deceleration control. The motor's motion trajectory is planned using a trapezoidal acceleration and deceleration trajectory control to achieve precise movement of the light source and imaging system. The data processing and analysis module captures the image of the droplet on the sample surface, extracts the droplet profile information, and calculates the contact angle value according to the droplet profile information; The result output module displays the measurement results in the form of numbers, charts, etc. on the software interface and generates a corresponding measurement report.
2. A contact angle motor light source control system according to claim 1, characterized in that: The light source control module includes a brightness adjustment unit and an angle adjustment unit; The brightness adjustment unit adjusts the brightness of the LED lamp through PWM technology. The PWM technology controls the brightness of the LED by adjusting the duty cycle of the pulse signal, and is achieved by changing the time ratio of the high level to the low level in each cycle. The specific brightness adjustment analysis process is: obtain the maximum operating current I_max and the operating voltage V_LED of the LED, and combine the LED characteristics and application requirements to obtain the PWM frequency f, thereby obtaining the PWM period T, and T=1 / f; according to the application requirements and environmental conditions, set the duty cycle D of the LED in the period T, and D=I_avg / I_max, where I_avg represents the average current of the LED; generate a PWM signal with the required duty cycle D through a microcontroller or a PWM generator, and send it to the LED drive circuit, thereby realizing the brightness adjustment of the LED; The angle adjustment unit uses a motor to drive the reflector or directly adjusts the position of the light source module to achieve precise adjustment of the light source illumination angle. The specific adjustment process is: the control system sets the adjusted light source illumination angle θ_target, obtains the current position or angle of the light source or reflector as the starting point θ_current, calculates the adjusted angle difference θ, and θ=θ_target-θ_current; determines the movement direction of the light source or reflector according to the positive or negative value of θ, so that it moves toward the target angle θ_target; The motor control module includes a positioning unit, a speed control unit and a trajectory control unit; The positioning unit realizes position control by subdividing the step angle of the stepping motor, and the step angle calculation formula is: θ_step=360° / (N_total×m), where N_total represents the total number of steps of the motor and m represents the number of subdivisions; The speed control unit sends a pulse signal of a fixed frequency to control the speed of the motor, and the speed calculation formula of the motor is: w=[f_pulse / (N_total×m)]×360°, where f_pulse represents the frequency of the pulse signal; The trajectory control unit uses trapezoidal acceleration and deceleration trajectory control to plan the motion trajectory of the motor to achieve the movement of the light source and the imaging system.
3. A contact angle motor light source control system according to claim 1, characterized in that: The data processing and analysis module includes an image acquisition unit, an image processing unit and a contact angle calculation unit; The image acquisition unit captures the image of the droplets on the sample surface in real time and transmits it to the control system; the image processing unit processes the image of the droplets on the sample surface and extracts the droplet contour information; The contact angle calculation unit calculates the contact angle value according to the droplet contour information; wherein, the calculation process of the contact angle value is as follows: the extracted droplet contour is represented on a plane rectangular coordinate system, the bottom edge of the droplet is used as a reference line, the top endpoint of the droplet is taken, and a tangent is made on the droplet contour through the top endpoint of the droplet, and the angle between the tangent and the reference line is used as the contact angle, thereby obtaining the contact angle value.
4. A contact angle motor light source control system according to claim 1, characterized in that: The circuit of the contact angle motor light source control system includes: a light source circuit, a control circuit, a power management circuit, a drive circuit, a motor drive circuit and a communication interface; the light source circuit is electrically connected to the drive circuit, the drive circuit is electrically connected to the control circuit, the control circuit is electrically connected to the motor drive circuit and the communication interface, and the power management circuit is electrically connected to the drive circuit.
5. A contact angle motor light source control system according to claim 4, characterized in that: The control circuit includes capacitors C19, C26, input power supply POWER_IN, diode U5, polarity capacitor EC4; interface URAT2, resistor R6; capacitor C18, capacitor C20, crystal oscillator Y1; resistor R13, capacitor C2, key switch REST; diode LED1, resistor R1, diode LED2, resistor R2; key switch USER_SW; microcontroller, encoder ENCODER; chip U6, resistor R40, resistor R49, resistor R29, resistor R43, transistor Q3, resistor RP1, resistor R45, resistor R41, resistor R48, resistor R30, resistor R42, transistor Q1, resistor RP2, resistor R44; the model of the diode U5 is ESDA7P60-1U1M; the model of the chip U6 is STM32GXX; Pin 1 of the chip U6 is connected to the power supply VDDA, pins 3, 4, and 9 of the chip U6 are respectively connected to pins 1, 2, and 3 of the encoder ENCODER, and pin 4 of the encoder ENCODER is grounded; pin 3 of the chip U6 is connected to the first end of the key switch USER_SW, and the second end of the key switch USER_SW is grounded; pins 5 and 6 of the chip U6 are respectively connected to pins 3 and 1 of the crystal oscillator Y1; pin 2 of the crystal oscillator Y1 is grounded; pin 4 of the crystal oscillator Y1 is connected to the first end of the capacitor C20; the second end of the capacitor C20 is connected to pin 1 of the crystal oscillator Y1; the first end of the capacitor C18 is connected to the pin 1 of the crystal oscillator Y1; One end is connected to pin 3 of the crystal oscillator Y1, and the second end of the capacitor C18 is grounded; pins 7, 37, and 38 of the chip U6 are respectively connected to pins 3, 4, and 5 of the microcontroller, pin 1 of the microcontroller is connected to the power supply VDD, and pin 2 of the microcontroller is grounded; pin 7 of the chip U6 is also connected to the first end of the resistor R13, the second end of the resistor R13 is connected to the power supply VDD, the first end of the resistor R13 is connected to the second end of the capacitor C24, the first end of the capacitor C24 is grounded, the first end of the capacitor C24 is also connected to the first end of the key switch REST, and the second end of the key switch REST is connected to pin 7 of the chip U6; Pins 10 and 11 of the chip U6 are connected to pins 2 and 3 of the interface URAT2 respectively, pin 1 of the interface URAT2 is connected to the power supply VDD, and pin 4 of the interface URAT2 is grounded; pin 12 of the chip U6 is connected to the second end of the resistor R40 and the second end of the resistor R29, and the first end of the resistor R40 is connected to pin 1 of the transistor Q3; the first end of the resistor R29 is connected to the node REF2 between the motor drive circuit and the second end of the resistor R43, the first end of the resistor R43 is connected to pin 3 of the transistor Q3, the pin 2 of the transistor Q3 is grounded, the pin 1 of the transistor Q3 is connected to the second end of the resistor R49, and the first end of the resistor R49 is grounded; the first end of the resistor R43 One end is connected to the slice of the resistor RP1, the first end of the resistor RP1 is grounded, the second end of the resistor RP1 is connected to the first end of the resistor R45, and the second end of the resistor R45 is connected to the power supply VDD; the pin 13 of the chip U6 is connected to the second end of the resistor R41, the first end of the resistor R41 is connected to the pin 1 of the transistor Q1, the pin 1 of the transistor Q1 is connected to the second end of the resistor R48, the pin 2 of the transistor Q1 is grounded, the pin 3 of the transistor Q1 is connected to the first end of the resistor R42, the first end of the resistor R48 is grounded, the second end of the resistor R42 is connected to the first end of the resistor R30, the first end of the resistor R30 is connected to the pin 13 of the chip U6, and the first end of the resistor R42 is connected to the resistor R The first end of the resistor RP2 is grounded, the second end of the resistor RP2 is connected to the first end of the resistor R44, and the second end of the resistor R44 is connected to the power supply VDD; the pin 14 of the chip U6 is connected to the motor drive circuit; the pin 15 of the chip U6 is connected to the positive electrode of the diode LED2, the negative electrode of the diode LED2 is connected to the second end of the resistor R2, and the first end of the resistor R2 is grounded; the positive electrode of the diode LED1 is connected to the power supply VDD, the negative electrode of the diode LED1 is connected to the second end of the resistor R1, and the first end of the resistor R1 is grounded; the pin 18 of the chip U6 is connected to the drive circuit; the pins 19 and 23 of the chip U6 are grounded, and the pin 20 of the chip U6 is grounded. and 21 are connected to the same power supply VDDA, and the pin 24 of the chip U6 is connected to the power supply VDD; the pins 25 and 26 of the chip U6 are connected to the drive circuit; the pins 28, 29, 30, and 32 of the chip U6 are connected to the motor drive circuit; the pins 33 and 34 of the chip U6 are connected to the communication interface, the pin 35 of the chip U6 is grounded, and the pin 36 of the chip U6 is connected to the power supply VDD; the pins 39 and 40 of the chip U6 are connected to the motor drive circuit; the pins 41, 42, 43, and 44 of the chip U6 are connected to the motor drive circuit; the pin 45 of the chip U6 is connected to the first end of the resistor R6, and the second end of the resistor R6 is grounded; the pin 46 of the chip U6 is connected to the motor drive circuit;Pin 47 of the chip U6 is grounded, and pin 48 of the chip U6 is connected to a power source VDD; The negative pole of the polarity capacitor EC4 is grounded, the positive pole of the polarity capacitor EC4 is connected to pin 1 of the diode U5, and pin 2 of the diode U5 is grounded; pin 1 of the input power supply POWER_IN is grounded, pin 1 of the input power supply POWER_IN is grounded, and pins 2 and 3 of the input power supply POWER_IN are connected to the motor drive circuit; pin 4 of the input power supply POWER_IN is connected to the second end of the capacitor C26, the first end of the capacitor C26 is grounded, pin 4 of the input power supply POWER_IN is connected to the positive pole of the diode U5, the negative pole of the diode U5 is grounded, the positive pole of the diode U5 is connected to the positive pole of the polarity capacitor EC4, and the negative pole of the polarity capacitor EC4 is grounded.
6. A contact angle motor light source control system according to claim 5, characterized in that: The power management circuit includes port P2, resistor RFB1, chip U8, diode D1, capacitor C29, capacitor C28, inductor L3; relay J1, inductor L4, chip U9, resistor R26, capacitor C30, capacitor C31, resistor R31, resistor R25, capacitor C32, capacitor C34, capacitor C35; capacitor C36, capacitor C37, chip U10, inductor L6, diode D2, resistor PR1, resistor R33, capacitor C38, capacitor C39; polarity capacitor EC 2. Capacitor C13, chip U1, polarized capacitor EC1, capacitor C11, capacitor C12, inductor L5, inductor L1, capacitor C7, capacitor C8, capacitor C9, capacitor C10; the model of the chip U8 is SD7203, the model of the diode D1 is SS34_C330487, the model of the chip U9 is SYD708X, the model of the chip U10 is HUB628, the model of the relay is 5017, and the model of the chip U1 is ASD17; Pin 2 of the chip U8 is connected to pin 1 of port P2, pin 2 of the port P1 is connected to the cathode of diode D1, the anode of diode D1 is connected to the first end of inductor L3, and the second end of inductor L3 is connected to pin 6 of chip U8; pin 2 of chip U8 is also connected to the second end of resistor RFB1, and the first end of resistor RFB1 is grounded; pins 4 and 5 of chip U8 are both connected to the first end of inductor L3; pin 7 of chip U8 is connected to the anode of polar capacitor C28, and the anode of polar capacitor C28 is also connected to power supply VCC, the cathode of polar capacitor C28 is connected to the second end of capacitor C29, the first end of capacitor C29 is connected to pin 2 of port P2, the second end of capacitor C29 is grounded, and pin 9 of chip U8 is connected to PWM signal; Pins 1 and 2 of the chip U9 are connected to the second end of the inductor L4, the first end of the inductor L4 is connected to the relay J1, the relay J1 is also connected to the second end of the capacitor C30, the first end of the capacitor C30 is grounded, the second end of the capacitor C30 is also connected to the first end of the resistor R26, and the second end of the resistor R26 is connected to pin 3 of the chip U9; pin 4 of the chip U9 is grounded, pin 5 of the chip U9 is connected to the first end of the resistor R31, the second end of the resistor R31 is grounded, pin 5 of the chip U9 is also connected to the first end of the resistor R25, the second end of the resistor R25 is connected to the first end of the capacitor C32, the second end of the capacitor C32 is connected to the first end of the capacitor C34, the second end of the capacitor C34 is connected to the drive circuit, the second end of the capacitor C34 is also connected to the second end of the capacitor C35, and the first end of the capacitor C35 is grounded; pin 6 of the chip U9 is connected to the second end of the capacitor C31, and the first end of the capacitor C31 is grounded; pins 7 and 8 of the chip U9 are connected to the second end of the resistor R25; Pin 1 of the chip U10 is connected to the positive electrode of the diode D2, the negative electrode of the diode D2 is connected to the first end of the resistor PR1, the second end of the resistor PR1 is connected to the first end of the resistor R33, the second end of the resistor R33 is grounded, the slice of the resistor PR1 is connected to the first end of the capacitor C38, the second end of the capacitor C38 is grounded, the first end of the capacitor C38 is also connected to the first end of the capacitor C39, and the second end of the capacitor C39 is grounded; Pin 2 of the chip U10 is grounded, and Pin 3 of the chip U10 is connected to the first end of the resistor R33; The node after Pin 4 and Pin 5 of the chip U10 are connected is connected to the first end of the inductor L6, the second end of the inductor L6 is connected to the positive electrode of the diode D2, the first end of the inductor L6 is also connected to the first end of the capacitor C37, the second end of the capacitor C37 is grounded, the first end of the capacitor C37 is also connected to the first end of the capacitor C36, and the second end of the capacitor C36 is grounded; Pin 1 of the chip U1 is grounded, pin 2 of the chip U1 is connected to the positive electrode of the polarity capacitor EC1, the first end of the capacitor C11, the first end of the capacitor C12, and the first end of the inductor L5, the negative electrode of the polarity capacitor EC1, the second end of the capacitor C11, and the second end of the capacitor C12 are grounded, the second end of the inductor L5 is connected to the first end of the capacitor C7, the second end of the capacitor C12 is also connected to the first end of the inductor L1, the second end of the inductor L1 is grounded, the second end of the capacitor C7 is grounded, the first end of the capacitor C7 is also connected to the first ends of the capacitors C18, C9, and C10, and the second ends of the capacitors C18, C9, and C10 are grounded.
7. A contact angle motor light source control system according to claim 6, characterized in that: The driving circuit includes capacitor C57, capacitor C56, capacitor C58, capacitor C59, resistor R60, capacitor C63, inductor U13, chip U14, diode D3, resistor R61, capacitor C54, capacitor C60, capacitor C61, capacitor C62, capacitor C55, polarity capacitor U15; resistor R20, transistor Q2, capacitor C27, resistor R12, light source interface LED; resistor R64, transistor Q4, capacitor C64, resistor R62, light source interface LED63; resistor R65, transistor Q5, capacitor C65, resistor R63, light source interface LED64; the model of the chip U14 is TPS61165DRVR, and the models of the transistor Q2, transistor Q4 and transistor Q5 are all S8050; Pin 1 of the chip U14 is connected to the first end of the resistor R61 and the first end of the capacitor C54, and the second end of the capacitor C54 is connected to the motor drive circuit; Pin 2 of the chip U14 is connected to the first end of the capacitor C63, and the second end of the capacitor C63 is grounded; Pins 3 and 7 of the chip U14 are grounded, Pin 4 of the chip U14 is connected to the second end of the inductor U13 and the positive electrode of the diode D3, and the negative electrode of the diode D3 is connected to the first end of the capacitor C60, the capacitor C61, the capacitor C62, the capacitor C55, and the polar capacitor U15, and the second ends of the capacitor C60, the capacitor C61, the capacitor C62, the capacitor C55, and the polar capacitor U15 are grounded; Pin 5 of the chip U14 is connected to the second end of the resistor R60; Pin 6 of the chip U14 is connected to the first ends of the inductor U13, the capacitor C59, the capacitor C58, the capacitor C56, and the capacitor C57, and the second ends of the capacitor C59, the capacitor C58, the capacitor C56, and the capacitor C57 are grounded; The first end of the resistor R20 is connected to the control circuit, the second end of the resistor R20 is connected to the base of the transistor Q2 and the first end of the capacitor C27, the emitter of the transistor Q2 and the second end of the capacitor C27 are grounded, and the collector of the transistor Q2 is connected to the pin 1 of the light source interface LED; the pin 2 of the light source interface LED is connected to the second end of the resistor R12, the first end of the resistor R12 is connected to the +3.3V power supply, and the pins 3 and 4 of the light source interface LED are grounded; the first end of the resistor R64 is connected to the control circuit, the second end of the resistor R64 is connected to the base of the transistor Q4 and the first end of the capacitor C64, the emitter of the transistor Q4 and the second end of the capacitor C64 are grounded, and the collector of the transistor Q4 is connected to the light source interface LED Pin 1 of D63; Pin 2 of the light source interface LED63 is connected to the second end of the resistor R62, the first end of the resistor R62 is connected to the +3.3V power supply, and pins 3 and 4 of the light source interface LED63 are grounded; the first end of the resistor R65 is connected to the control circuit, the second end of the resistor R65 is connected to the base of the transistor Q5 and the first end of the capacitor C65, the emitter of the transistor Q5 and the second end of the capacitor C65 are grounded, and the collector of the transistor Q5 is connected to pin 1 of the light source interface LED64; Pin 2 of the light source interface LED64 is connected to the second end of the resistor R63, the first end of the resistor R63 is connected to the +3.3V power supply, and pins 3 and 4 of the light source interface LED64 are grounded; wherein the light source interface is connected to the light source circuit.
8. A contact angle motor light source control system according to claim 7, characterized in that: The motor drive circuit includes a chip U11, a capacitor C41, a capacitor C42, a resistor R34, a capacitor C46, a capacitor C45, a polar capacitor C43, a resistor R35, a light-emitting diode VCC1, a resistor R47, a capacitor C44, a resistor R39, a resistor R50, a resistor R54, a capacitor C53, a capacitor C52, a capacitor C51, a capacitor C50, a resistor R59, a resistor R53, a resistor R52, and a resistor R46; an interface P1, an interface P3, an interface H2, and an interface H1; a chip U12, a resistor R36, a capacitor C47, a capacitor C48, a capacitor C49, a resistor R56, a resistor R57, a resistor R58, a resistor R55, a resistor R51, a resistor R38, and a resistor R37; a chip U2, a resistor R5 , resistor R27, capacitor C16, resistor R7, resistor R8, resistor R4, resistor R3, capacitor C2, capacitor C3, capacitor C4; chip U4, resistor R17, resistor R28, capacitor C23, resistor R18, resistor R19, resistor R15, resistor R16, capacitor C17, capacitor C21, capacitor C22, resistor R21, resistor R22, resistor R23, resistor R24, capacitor C25, resistor R9, resistor R10, resistor R11, resistor R14, capacitor C15, MOTOA interface, MOTOB interface; the model of the chip U11 is DSD882X; the model of the chip U12 is ASD4988X; the model of the chip U4 is STSPISDN220X; Pin 1 of the chip U11 is connected to the first end of the capacitor C41, and the second end of the capacitor C41 is connected to pin 2 of the chip U11; pin 3 of the chip U11 is connected to the first end of the resistor R34 and the capacitor C42, and pins 4 and 11 of the chip U11 are connected to the second end of the resistor R34 and the capacitor C42, and are connected to the first end of the capacitor C46, the capacitor C45, the polarity capacitor C43, the resistor R35, and the capacitor C44; the second end of the resistor R35 is connected to the positive electrode of the light-emitting diode VCC1, and the negative electrode of the light-emitting diode VCC1 is connected to the positive electrode of the light-emitting diode VCC1. The first end of the resistor R47 is connected to the first end of the capacitor C44 and the second end of the resistor R47 is connected, and the negative electrode of the polar capacitor, the capacitor C45 and the second end of the capacitor C46 are connected; the pin 6 of the chip U11 is connected to the second end of the resistor R39, the pin 9 of the chip U11 is connected to the second end of the resistor R50, the first ends of the resistor R39 and the resistor R50 are connected to the node GND, and the node GND is connected to the pin 6 of the interface P3; the pins 5, 7, 8, and 10 of the chip U11 are connected to the pins 2, 3, 4, and 5 of the interface P3. ; Pin 15 of the chip U11 is connected to the second end of the capacitor C53 and the first end of the resistor R54; the first end of the capacitor C53 and the second end of the resistor R54 are grounded, and the dicing of the resistor R54 is connected to pins 12 and 13 of the chip U11; Pin 13 of the chip U11 is also connected to the second end of the resistor R59, and the first end of the resistor R59 is connected to pin 8 of the interface P1; Pins 29, 28, and 14 of the chip U11 are all connected to pin 9 of the interface P1; Pins 22, 20, 19, and 17 of the chip U11 are separately ... The first and second ends of the resistors R46 and R52 are connected to the first and second ends of the resistors R52 ... Pin 1 of the chip U12 is connected to pin 1 of interface H2, pin 2 of the chip U12 is connected to pin 8 of interface H1 and the second end of resistor R36, and the first end of resistor R36 is grounded; pin 3 of the chip U12 is grounded, pin 4 of the chip U12 is connected to the second end of capacitor C47, and pin 5 of the chip U12 is connected to the first end of capacitor C47; pin 6 of the chip U12 is connected to the second end of capacitor C48, and the first end of capacitor C48 is connected to pin 1 of interface H2; pin 8 of the chip U12 is grounded, and the second end of capacitor C48 is connected to the first end of capacitor C48. The first end of the capacitor C49 is connected, and the second end of the capacitor C49 is grounded; the pins 9, 10, and 11 of the chip U12 are respectively connected to the pins 7, 6, and 5 of the interface H1; the pin 12 of the chip U12 is connected to the pin 4 of the interface H1 and the first end of the resistor R56, and the second end of the resistor R56 is connected to the power supply VCC; the pin 13 of the chip U12 is connected to the first end of the resistor R57, and the second end of the resistor R57 is grounded; the pin 14 of the chip U12 is connected to the first end of the resistor R58 and the pin 3 of the interface H1, The second end of the resistor R58 is connected to the first end of the capacitor C50, and the second end of the capacitor C51 is grounded; the pin 15 of the chip U12 is connected to the first end of the capacitor C50, and the second end of the capacitor C51 is grounded; the pin 16 of the chip U12 is connected to the pin 2 of the interface H1; the pin 17 of the chip U12 is connected to the slice of the resistor R55; the first end of the resistor R55 is grounded, the second end of the resistor R55 is connected to the first end of the resistor R51, and the first end of the resistor R51 is connected to the pin 7 of the interface H2; the chip U12 Pin 18 of the chip U12 is grounded, pin 19 of the chip U12 is connected to pin 1 of the interface H1, and pins 21, 24, 26, and 1 of the chip U12 are respectively connected to pins 6, 5, 4, and 3 of the interface H2; pin 23 of the chip U12 is connected to the first end of the resistor R38, and the second end of the resistor R38 is grounded; pin 27 of the chip U12 is connected to the first end of the resistor R37, and the second end of the resistor R37 is grounded; pin 28 of the chip U12 is connected to the first end of the capacitor C52, and the second end of the capacitor C52 is grounded; Pin 1 of the chip U2 is connected to the second end of the resistor R5, and the first end of the resistor R5 is connected to the control circuit; Pin 2 of the chip U2 is connected to the second end of the resistor R27, and the first end of the resistor R27 is connected to the control circuit; Pins 3, 5, 8, and 10 of the chip U2 are respectively connected to Pins 1, 2, 3, and 4 of the MOTOA interface; Pin 4 of the chip U2 is connected to the first end of the resistor R9, and the second end of the resistor R9 is grounded; Pin 6 of the chip U2 is connected to the first end of the capacitor C16, and the first end of the capacitor C16 is also connected to the +5V power supply, and the second end of the capacitor C16 is grounded; Pin 16 of the chip U2 is connected to the first end of the resistor R7, and the second end of the resistor R7 is connected to the control circuit; Pin 15 of chip U2 is connected to the first end of resistor R8, and the second end of resistor R8 is connected to the control circuit; Pin 14 of chip U2 is connected to the first end of capacitor C4, resistor R3, and the control circuit; the second end of capacitor C4 is grounded, and the second end of resistor R3 is connected to +5V power supply; Pin 13 of chip U2 is connected to the control circuit, and the first end of capacitor C3 and resistor R4, the second end of capacitor C3 is grounded, and the second end of resistor R4 is connected to +5V power supply; Pin 12 of chip U2 is connected to the first end of capacitor C15 and resistor R14, the second end of capacitor C15 is connected to the first end of resistor R11, and the second ends of resistors R11 and R14 are grounded; Pin 11 of chip U2 is connected to the control circuit; Pin 1 of the chip U4 is connected to the second end of the resistor R17, and the first end of the resistor R17 is connected to the control circuit; Pin 2 of the chip U4 is connected to the second end of the resistor R28, and the first end of the resistor R28 is connected to the control circuit; Pins 3, 5, 8, and 10 of the chip U4 are respectively connected to Pins 1, 2, 3, and 4 of the MOTOB interface; Pin 4 of the chip U4 is connected to the first end of the resistor R21, and the second end of the resistor R21 is grounded; Pin 6 of the chip U4 is connected to the first end of the capacitor C23, and the first end of the capacitor C23 is also connected to the +5V power supply, and the second end of the capacitor C23 is grounded; Pin 16 of the chip U4 is connected to the first end of the resistor R18, and the second end of the resistor R18 is connected to the control circuit; Pin 15 is connected to the first end of resistor R19, and the second end of the resistor R19 is connected to the control circuit; Pin 14 of the chip U4 is connected to the first end of capacitor C22, resistor R15, and the control circuit; the second end of the capacitor C22 is grounded, and the second end of the resistor R15 is connected to the +5V power supply; Pin 13 of the chip U4 is connected to the control circuit, and the first end of capacitor C21 and resistor R16, the second end of the capacitor C21 is grounded, and the second end of the resistor R16 is connected to the +5V power supply; Pin 12 of the chip U4 is connected to the first end of capacitor C25 and resistor R24, the second end of the capacitor C25 is connected to the first end of resistor R23, and the second ends of the resistors R23 and R24 are grounded; Pin 11 of the chip U4 is connected to the control circuit.
9. A contact angle motor light source control system according to claim 8, characterized in that: The communication interface includes a chip U7, a USB interface, a polarity capacitor EC5, a polarity capacitor C40, a DCDC converter, and differential signal interfaces DM1, DM2, DM3, DM4, DP1, DP2, DP3, and DP4; the model of the chip U7 is SDSL2.1; Pins 1, 2, 3, 4, 5, 6, 7, and 8 of the chip U7 are respectively connected to differential signal interfaces DM4, DP4, DM3, DP3, DM2, DP2, DM1, and DP1; pins 9 and 10 of the chip U7 are respectively connected to pins 2 and 3 of the USB interface, pin 1 of the USB interface is connected to the DCDC converter, the positive electrode of polarity capacitor C40, and the positive electrode of polarity capacitor EC5, the output voltage of the DCDC converter is 5V, and the negative electrode of the polarity capacitor C40 and the negative electrode of the polarity capacitor EC5 are grounded respectively; pins 2 and 3 of the USB interface are respectively connected to pins 7 and 8 of the chip U7; pins 4, 5, and 6 of the USB interface are grounded; pin 11 of the chip U7 is connected to the DCDC converter, pin 12 of the chip U7 is grounded, pin 13 of the chip U7 is connected to the power supply VDD_3V3, pin 14 of the chip U7 is connected to VDD_1V8, and pins 15 and 16 of the chip U7 are respectively connected to the input and output of the crystal oscillator.
