Automatic adjusting support control device for glass large-size measurement camera
Through the automatic adjustment of the bracket control device, the attitude sensor and stepper motor are used to solve the problem of time-consuming camera attitude adjustment in the machine vision system, and the efficient and accurate automatic adjustment of the camera attitude is achieved, the unified coordination ability of the measurement range is expanded, and the improvement of the improvement of the measurement range is improved. Detection accuracy and efficiency.
Patent Information
- Application Number
- CN202323562938.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2033-12-26
AI Technical Summary
In the prior art, in industrial detection, machine vision systems limit the application range of dimensional measurement due to the mutual constraints between the working distance, field of view and measurement resolution of the vision system, and manual adjustment of the camera posture is time-consuming, which affects efficiency and Accuracy.
A glass large-size measuring camera automatic adjustment bracket control device is designed. Through the attitude sensor, the camera attitude data is sensed, and the MCU and the communication module are uploaded to the upper computer for calculation and processing, and the stepper motor is controlled to realize automatic adjustment of the camera attitude.
It realizes efficient and accurate automatic adjustment of camera posture, improves detection accuracy and calibration efficiency, and expands the unified coordination ability of the measurement range.
Smart Images

Figure CN222258113U_ABST
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of camera equipment, and particularly relates to an automatic adjustment bracket control device for a glass large-size measuring camera. Background Art
[0002] Machine vision technology has been widely used in industrial inspection. However, due to the mutual constraints between the working distance, field of view and measurement resolution of the visual system, visual inspection is mostly used for dimensional measurement within the field of view limited by the lens itself, which limits the application of machine vision technology. By adopting a multi-camera array, a camera is arranged at each key measurement point to expand the measurement range. The key to this measurement method is to unify the measurement coordinate system of each camera. It is very important to adjust the camera of each coordinate system.
[0003] Currently, the posture of the camera is controlled by manual adjustment, which is very time-consuming. The utility model improves the work efficiency and accuracy through an automatic adjustment device. Utility Model Content
[0004] The utility model aims to provide a control device for an automatic adjustment bracket of a glass large-size measuring camera. A posture sensor is set to sense the posture data of the camera fixing bracket and upload it to the MCU. The MCU transmits the collected data to a host computer for calculation and processing through a communication module. The MCU controls the operation of a stepper motor according to the signal of the host computer, thereby realizing the control of the camera posture adjustment and solving the problem of the camera posture adjustment.
[0005] In order to solve the above technical problems, the utility model is realized by the following technical solutions:
[0006] The utility model discloses a control device for an automatic adjustment bracket of a glass large-size measuring camera, comprising a power supply circuit, wherein the power supply circuit converts an input 220V alternating current into direct current and then outputs it to a voltage stabilizing module, wherein the voltage stabilizing module performs voltage stabilization on the input power supply and then outputs a 3.3V voltage source; a posture sensor, wherein the posture sensor senses posture data of a camera fixing bracket and transmits the data to an MCU, wherein the MCU uploads the received camera posture data to a host computer in real time through a communication module; a stepper motor, wherein the stepper motor is electrically connected to the MCU, wherein the MCU controls the operation of the stepper motor by outputting a PWM signal, and wherein the stepper motor controls the camera posture through a motion mechanism; wherein the host computer performs calculations according to the received data and returns the control data to the MCU; and wherein the MCU controls the operation of the stepper motor according to the received control data.
[0007] Furthermore, the voltage stabilizing module includes a voltage stabilizing chip U3; the model of the voltage stabilizing chip U3 is LD1117; the input terminal VIN of the voltage stabilizing chip U3 is connected to a 5V voltage source, and the output terminal VOUT of the voltage stabilizing chip U3 outputs a 3.3V voltage source; the GND terminal of the voltage stabilizing chip U3 is grounded.
[0008] Furthermore, the input terminal VIN of the voltage stabilizing chip U3 is connected to grounding capacitors C5 and C6 respectively; the output terminal VOUT of the voltage stabilizing chip U3 is connected to grounding capacitors C7 and C8.
[0009] Furthermore, the model of the attitude sensor is ADXL350, and the attitude sensor includes a chip U4, pin 1 of the chip U4 is connected to a 3.3V voltage source, and pins 4 and 6-8 of the chip U4 are respectively connected to pins 1-4 of the MCU; pins 10, 12-13 and 15-16 of the chip U4 are all grounded; and pin 14 of the chip U4 is connected in series with an inductor FB2 to a 3.3V voltage source.
[0010] Furthermore, the stepper motor is controlled by a control chip U1, and the signal of the control chip U1 is THB6128; pins 2, 5 and 11 of the control chip U1 are connected to an AC power supply; pins 3, 7, 9 and 13 of the control chip U1 are connected to the stepper motor to power it; pins 6 and 10 of the control chip U1 are respectively connected in series with resistors R11 and R10 to be grounded; pins 14, 23, 4 and 12 of the control chip U1 are grounded; pins 19-20 of the control chip U1 are respectively connected to grounding capacitors C9 and C10; pins 21, 22 and 25 of the control chip U1 are respectively connected to pins 30, 29 and 28 of the MCU; pins 28, 27 and 26 of the control chip U1 are respectively connected to pins 27, 26 and 25 of the MCU.
[0011] Furthermore, the model of the communication module is CH340 serial port communication module; the communication module includes a serial port chip U2; pins 1 and 16 of the serial port chip U2 are grounded and connected to a 5V voltage source respectively; pin 4 of the serial port chip U2 is connected to a 3.3V voltage source; pins 2-3 of the serial port chip U2 are respectively connected to pins 31-32 of the MCU, and pins 5-6 of the serial port chip U2 are connected to a USB interface; pin 15 of the serial port chip U2 is connected in series with a light-emitting diode D5 and a resistor R64 to ground.
[0012] Furthermore, the model of the MCU is a STC8H3K64S4 single chip microcomputer; pins 12-13 and 15 of the MCU are both connected to a 3.3V voltage source.
[0013] The utility model has the following beneficial effects:
[0014] The utility model sets a posture sensor to sense the posture data of the camera fixing bracket and uploads it to the MCU. The MCU transmits the collected data to the host computer through the communication module for calculation and processing. The MCU controls the operation of the stepper motor according to the signal of the host computer, thereby controlling the camera posture adjustment and achieving the uniform height, level and rotation angle of multiple cameras in a large coordinate system, thereby improving the camera detection accuracy and the calibration efficiency.
[0015] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the utility model, the drawings required for describing the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 It is a system block diagram of a control device for automatically adjusting a bracket of a glass large-size measuring camera;
[0018] Figure 2 This is the circuit diagram of the voltage stabilizing module;
[0019] Figure 3 This is the chip interface diagram of the MCU;
[0020] Figure 4 This is the circuit diagram of the attitude sensor;
[0021] Figure 5 This is the circuit diagram of the stepper motor;
[0022] Figure 6 This is the circuit diagram of the communication module. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0024] See also Figure 1-6As shown, the utility model is a control device for an automatic adjustment bracket of a glass large-size measuring camera, comprising a power supply circuit, a posture sensor and a stepping motor. The power supply circuit converts the input 220V AC power into DC power and outputs it to a voltage stabilizing module. The voltage stabilizing module performs voltage stabilization on the input power supply and outputs a 3.3V voltage source to power the entire device.
[0025] like Figure 3 As shown, the 12-13 and 15 pins of the MCU are connected to a 3.3V voltage source; the MCU model is the STC8H3K64S4 microcontroller; it is a high-speed, super-anti-interference, low-power microcontroller, 12 times faster than the traditional 8051, super-encrypted, and very cost-effective. This controller uses this microcontroller as the main control to realize the functions of posture acquisition, motor control, and host computer communication.
[0026] The attitude sensor senses the attitude data of the camera fixing bracket and transmits it to the MCU. The MCU uploads the received camera attitude data to the host computer in real time through the communication module; the host computer calculates according to the received data and returns the control data to the MCU; the MCU controls the operation of the stepper motor according to the received control data. Among them, the host computer calculates the collected data through the program to determine the attitude information of the camera. When the camera attitude needs to be adjusted, the staff inputs the control signal to the host computer, and the host computer transmits the operation control instruction of the stepper motor to the MCU through the communication module. The MCU controls the operation of the stepper motor according to the control instruction, thereby adjusting the camera attitude. The host computer can be connected to multiple cameras, so that the attitudes of multiple cameras can be adjusted.
[0027] It is understandable that in order to ensure the stability of the circuit power supply, the utility model provides a voltage stabilizing circuit to step down and stabilize the input 5V voltage source and then output a 3.3V voltage source to power the device; specifically, Figure 2 As shown, the voltage stabilizing module includes a voltage stabilizing chip U3; the model of the voltage stabilizing chip U3 is LD1117; the input terminal VIN of the voltage stabilizing chip U3 is connected to a 5V voltage source, and the output terminal VOUT of the voltage stabilizing chip U3 outputs a 3.3V voltage source; the GND terminal of the voltage stabilizing chip U3 is grounded; the input terminal VIN of the voltage stabilizing chip U3 is respectively connected to grounding capacitors C5 and C6; the output terminal VOUT of the voltage stabilizing chip U3 is connected to grounding capacitors C7 and C8.
[0028] Specifically, Figure 4As shown in the figure, the model of the attitude sensor is ADXL350, which is a three-axis digital output acceleration sensor based on MEMS technology produced by ADI. The sensor is composed of two basic structures: a differential capacitor and a polysilicon with micro-machined surface. Under the action of external acceleration, the polysilicon structure will produce an offset to change the capacitance value. The attitude sensor includes chip U4, and the 1st pin of chip U4 is connected to the 3.3V voltage source. The 4th pin and 6-8th pins of chip U4 are connected to the 1-4th pin of MCU respectively; the 10th pin, 12-13th pin and 15-16th pin of chip U4 are all grounded; the 14th pin of chip U4 is connected in series with the inductor FB2 to the 3.3V voltage source.
[0029] The stepper motor is electrically connected to the MCU. The MCU controls the operation of the stepper motor by outputting a PWM signal. The stepper motor controls the camera posture through a motion mechanism. The motion mechanism can adopt a gear rack structure, a chain structure, or a threaded telescopic rod structure. Specifically, Figure 5 As shown, in order to realize the control of the stepper motor; the stepper motor is controlled by the control chip U1, and the signal of the control chip U1 is THB6128; the 2nd, 5th and 11th pins of the control chip U1 are connected to the AC power supply, and the AC power supply is used to power the stepper motor; the 3rd, 7th, 9th and 13th pins of the control chip U1 are connected to the stepper motor to power it; the 6th and 10th pins of the control chip U1 are connected in series with resistors R11 and R10 to ground respectively; the 14th, 23rd, 4th and 12th pins of the control chip U1 are grounded; the 19th and 20th pins of the control chip U1 are connected to ground capacitors C9 and C10 respectively;
[0030] Pins 21, 22 and 25 of the control chip U1 are connected to pins 30, 29 and 28 of the MCU respectively; among them, the CLK terminal is the pulse signal input terminal, CW / CWW is the positive / reverse signal input terminal; the ENABLE terminal is the offline signal control terminal; the pins 28, 27 and 26 of the control chip U1 are connected to pins 27, 26 and 25 of the MCU respectively.
[0031] It can be understood that in order to convert the signal transmitted by the host computer into a serial port signal read by the MCU, the utility model performs signal conversion by setting a communication module; the MCU transmits the posture information to the host computer through the serial port, and the host computer program calculates and sends instructions to the MCU to control the stepper motor to move, and achieve the three-axis adjustment effect; specifically, Figure 6As shown, the model of the communication module is CH340 serial port communication module; the communication module includes a serial port chip U2; pins 1 and 16 of the serial port chip U2 are grounded and connected to a 5V voltage source respectively; pin 4 of the serial port chip U2 is connected to a 3.3V voltage source; pins 2-3 of the serial port chip U2 are connected to pins 31-32 of the MCU respectively, and pins 5-6 of the serial port chip U2 are connected to a USB interface; pin 15 of the serial port chip U2 is connected in series with a light emitting diode D5 and a resistor R64 to ground.
[0032] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the utility model. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0033] The preferred embodiments of the utility model disclosed above are only used to help explain the utility model. The preferred embodiments do not describe all the details in detail, nor do they limit the utility model to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the utility model, so that technicians in the relevant technical field can well understand and use the utility model. The utility model is limited only by the claims and their full scope and equivalents.
Claims
1. A glass large-size measurement camera automatic adjustment bracket control device, characterized in that: include A power supply circuit, wherein the power supply circuit converts the input 220V AC power into DC power and outputs the DC power to a voltage stabilizing module, wherein the voltage stabilizing module performs voltage stabilization on the input power supply and outputs a 3.3V voltage source; A posture sensor, which senses the posture data of the camera fixing bracket and transmits it to the MCU. The MCU uploads the received camera posture data to the host computer in real time through the communication module; A stepper motor, the stepper motor is electrically connected to the MCU, the MCU controls the operation of the stepper motor by outputting a PWM signal, and the stepper motor controls the camera posture through a motion mechanism; The host computer performs calculations according to the received data and returns the control data to the MCU; the MCU controls the operation of the stepper motor according to the received control data.
2. The automatic adjustment bracket control device for a glass large-size measurement camera according to claim 1 is characterized in that: The voltage stabilizing module includes a voltage stabilizing chip U3; the model of the voltage stabilizing chip U3 is LD1117; The input terminal VIN of the voltage stabilizing chip U3 is connected to a 5V voltage source, and the output terminal VOUT of the voltage stabilizing chip U3 outputs a 3.3V voltage source; the GND terminal of the voltage stabilizing chip U3 is grounded.
3. The automatic adjustment bracket control device for a glass large-size measurement camera according to claim 2 is characterized in that: The input terminal VIN of the voltage stabilizing chip U3 is connected to grounding capacitors C5 and C6 respectively; the output terminal VOUT of the voltage stabilizing chip U3 is connected to grounding capacitors C7 and C8.
4. The automatic adjustment bracket control device for a glass large-size measurement camera according to claim 1, characterized in that: The model of the posture sensor is ADXL350, and the posture sensor includes a chip U4. Pin 1 of the chip U4 is connected to a 3.3V voltage source, and pins 4 and 6-8 of the chip U4 are respectively connected to pins 1-4 of the MCU; pins 10, 12-13 and 15-16 of the chip U4 are all grounded; and pin 14 of the chip U4 is connected in series with an inductor FB2 to a 3.3V voltage source.
5. The automatic adjustment bracket control device for a glass large-size measurement camera according to claim 1, characterized in that: The stepper motor is controlled by a control chip U1, and the signal of the control chip U1 is THB6128; Pins 2, 5 and 11 of the control chip U1 are all connected to an AC power source; pins 3, 7, 9 and 13 of the control chip U1 are connected to a stepper motor to provide power for the stepper motor; Pins 6 and 10 of the control chip U1 are connected in series with resistors R11 and R10 to ground respectively; pins 14, 23, 4 and 12 of the control chip U1 are grounded; pins 19-20 of the control chip U1 are connected to grounding capacitors C9 and C10 respectively; Pins 21, 22 and 25 of the control chip U1 are connected to pins 30, 29 and 28 of the MCU respectively; pins 28, 27 and 26 of the control chip U1 are connected to pins 27, 26 and 25 of the MCU respectively.
6. The automatic adjustment bracket control device for a glass large-size measurement camera according to claim 1, characterized in that: The model of the communication module is CH340 serial communication module; the communication module includes a serial port chip U2; pins 1 and 16 of the serial port chip U2 are grounded and connected to a 5V voltage source respectively; pin 4 of the serial port chip U2 is connected to a 3.3V voltage source; Pins 2-3 of the serial port chip U2 are connected to pins 31-32 of the MCU respectively, and pins 5-6 of the serial port chip U2 are connected to the USB interface; Pin 15 of the serial port chip U2 is connected in series with a light emitting diode D5 and a resistor R64 to ground.
7. The automatic adjustment bracket control device for a glass large-size measurement camera according to claim 1, characterized in that: The model of the MCU is STC8H3K64S4 single chip microcomputer; the 12-13 pin and the 15 pin of the MCU are both connected to a 3.3V voltage source.