Holder data acquisition system
By combining multiple serial ports of the processor with a signal conversion chip, the synchronous data acquisition of multiple BISS-C protocol encoders is achieved, solving the problem of high cost and low efficiency in the existing technology and meeting the monitoring needs of numerous roads.
Patent Information
- Application Number
- CN202422594196.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2034-10-25
AI Technical Summary
In the existing technology, the data acquisition solution of the BI SS-C protocol encoder is costly and inefficient, and cannot meet the monitoring needs of the numerous roads.
The processor uses multiple serial ports and signal conversion chips, and simulates UART serial ports and RS485/RS422 chips through IO ports to achieve synchronous data acquisition of multiple BISS-C protocol encoders.
It reduces the collection cost, improves the efficiency of data collection, and can meet the safety monitoring needs of roads that are dotted all over the place.
Smart Images

Figure CN223322086U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of monitoring devices, in particular to a pan-tilt data acquisition system. Background Art
[0002] The statements in this section merely provide background technical information related to the present invention and do not necessarily constitute prior art.
[0003] In a surveillance system, a pan / tilt head (PTZ) is used to support and control a camera or telescope. By controlling its rotation, the camera or telescope can move smoothly in the horizontal and vertical directions, thereby better capturing the images or scenes that need to be recorded. Therefore, how to accurately obtain the rotation angle of the PTZ is critical to meeting the monitoring range requirements and monitoring accuracy.
[0004] Encoders are widely used in gimbals (PTZs) to detect the motor's rotation angle and speed, enabling precise control of the PTZ's rotation. For example, encoders using the BISS-C protocol are used. The BISS protocol is a full-duplex synchronous serial interface protocol that has become an international standard for sensor communication protocols. The current version of the BISS communication protocol is BISS-C. A PTZ typically consists of a roll axis, a pitch axis, and other components. To accurately obtain the PTZ's rotation angle, accurate data collection from each axis is required. Therefore, PTZs are often equipped with multiple BISS-C protocol encoders to acquire data.
[0005] The inventors found that the current solutions for collecting sensor data using the BISS-C protocol include using a dedicated BISS protocol chip, purchasing BISS's paid core IP, etc., to simultaneously collect data from multiple BISS-C protocol encoders. Although this can simultaneously collect data from multiple BISS-C protocol encoders, the cost is high, and it cannot meet the monitoring needs of roads that are dotted with stars, and the collection efficiency is low. Utility Model Content
[0006] In response to the shortcomings of the existing technology, the utility model provides a pan-tilt data acquisition system. Through multiple serial ports of the processor and several signal conversion chips, the processor can simultaneously obtain data from multiple BISS-C protocol encoders of the pan-tilt, greatly reducing the use cost and improving the acquisition efficiency.
[0007] In order to achieve the above purpose, the present invention adopts the following technical solutions:
[0008] In a first aspect, a pan-tilt data acquisition system is disclosed, wherein the pan-tilt includes an encoder, a roll axis, and a pitch axis, including:
[0009] processor and multiple signal conversion chips;
[0010] The processor includes multiple serial ports;
[0011] Each serial port includes two pins, each pin is connected to a signal conversion chip, namely a first signal conversion chip and a second signal conversion chip, and the two signal conversion chips are connected to the encoder;
[0012] The synchronous acquisition signal generated by the processor is sent to the first signal conversion chip corresponding to the serial port through each serial port for conversion, and the converted signal is sent to the encoder connected to the first signal conversion chip;
[0013] Each encoder synchronously receives the synchronous acquisition signal converted by the first signal conversion chip, and transmits the pan / tilt signal acquired by the encoder to the processor through the second signal conversion chip.
[0014] As a further technical solution, the processor is a mainstream 32-bit single-chip microcomputer.
[0015] As a further technical solution, the serial port is an IO port simulating a UART serial port.
[0016] As a further technical solution, there are two serial ports, and the processor sends the clock signal to the DI end of the first signal conversion chip corresponding to the two serial ports through the TXD end of the two serial ports, converts it into a differential signal, and sends it to the two encoders at the same time as the synchronous acquisition signal.
[0017] As a further technical solution, when the two encoders receive the synchronous acquisition signal, one encoder is used to obtain the rotation angle data of the roll axis, and the other encoder is used to obtain the rotation angle data of the gimbal pitch axis, and the differential data signals containing the rotation angles are respectively sent to the corresponding second signal conversion chip.
[0018] As a further technical solution, the second signal conversion chip converts the differential signal containing the rotation angle data into a single-ended signal containing the rotation angle data, and sends it to the processor through the RXD end of the corresponding serial port for analysis.
[0019] As a further technical solution, the signal conversion chip is a mainstream RS485 chip or RS422 chip.
[0020] As a further technical solution, the number of the serial ports is consistent with the number of the encoders.
[0021] As a further technical solution, the encoder is a BI SS-C encoder.
[0022] As a further technical solution, the processor also includes a random access memory for storing the pan-tilt signal data.
[0023] One or more technical solutions of the present invention have the following beneficial effects:
[0024] This embodiment uses multiple IO ports of the processor to simulate UART serial ports and multiple signal conversion chips, so that the processor can simultaneously obtain data from multiple BISS-C protocol encoders, greatly reducing the use cost and improving the collection efficiency.
[0025] The pan-tilt data acquisition system of multiple BI SS-C encoders in this embodiment is low-cost and can fully meet the safety monitoring needs of roads as densely populated as the stars. It can also be applied to other devices containing multiple BI SS-C encoders.
[0026] Advantages of additional aspects of the present invention will be partially given in the following description, and partially become apparent from the following description, or learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The illustrative embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation on the present invention.
[0028] Figure 1 Schematic diagram of a pan-tilt data acquisition system in this embodiment;
[0029] Figure 2 Schematic diagram of a pan-tilt data acquisition system containing multiple BI SS-C encoders in this embodiment. DETAILED DESCRIPTION
[0030] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0031] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present invention.
[0032] In the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.
[0033] Example 1
[0034] Glossary:
[0035] UART emulation: This allows a microcontroller to use its standard I / O ports (input / output pins) to implement UART (Universal Asynchronous Receiver / Transmitter) communication. UART is a common serial communication protocol typically used for data transmission between two devices.
[0036] In road safety monitoring, in order to more accurately monitor traffic conditions at road corners, the camera needs to be adjusted horizontally and vertically. This requires the use of multiple BIS-C protocol encoders to simultaneously obtain the rotation angles of the pan / tilt axis, roll axis, etc.
[0037] like Figure 1 、 Figure 2 As shown, this embodiment discloses a pan-tilt data acquisition system, wherein the pan-tilt includes an encoder, a roll axis, and a pitch axis, including:
[0038] processor and multiple signal conversion chips;
[0039] The processor includes multiple serial ports;
[0040] Each serial port includes two pins, each pin is connected to a signal conversion chip, namely a first signal conversion chip and a second signal conversion chip, and the two signal conversion chips are connected to the encoder;
[0041] The synchronous acquisition signal generated by the processor is sent to the first signal conversion chip corresponding to the serial port through each serial port for conversion, and the converted signal is sent to the encoder connected to the first signal conversion chip;
[0042] Each encoder synchronously receives the synchronous acquisition signal converted by the first signal conversion chip, and transmits the pan / tilt signal acquired by the encoder to the processor through the second signal conversion chip.
[0043] like Figure 1 、 Figure 2 As shown, in this embodiment, the processor is a mainstream 32-bit single-chip microcomputer, and the processor has multiple IO ports simulating UART serial ports.
[0044] Compared with other single-chip microcomputers, mainstream 32-bit microcontrollers have strong data processing capabilities. They can process 32 bits of data in addition. They can process data directly with faster speed and stronger performance. They can achieve high-speed computing and high-speed communication to meet the application scenario requirements such as roads dotted with stars. They can integrate random access memory, read-only memory, timers, multiple I / O ports, etc., and are rich in resources to meet a wider range of functional requirements. Therefore, the embodiment of this application selects mainstream 32 as the single-chip microcomputer.
[0045] The single chip microcomputer includes a central processing unit, which is used to parse each of the single-ended signal data to obtain the data of each BISS-C protocol encoder.
[0046] The single chip microcomputer further includes a random access memory for storing data of the BISS-C protocol encoder.
[0047] The microcontroller contains multiple IO ports that simulate UART serial ports and can realize universal asynchronous receiver and transmitter communication.
[0048] In this embodiment, mainstream single-chip microcomputers generally have more than two UART serial ports and multiple ordinary IO ports. The ordinary IO ports can also simulate the UART serial port to achieve full-duplex transmission of data.
[0049] In this embodiment, other single-chip microcomputers with multiple IO ports simulating UART serial ports may also be selected according to actual needs.
[0050] like Figure 1 、 Figure 2 As shown, in this embodiment, the signal conversion chip is a mainstream RS485 chip.
[0051] The encoder signal of the BISS-C protocol is basically a differential signal. The RS485 chip can convert the single-ended signal of the synchronous clock into the differential signal required by the encoder, and can also convert the differential signal output by the encoder into a single-ended signal that can be read by the microcontroller.
[0052] In this embodiment, the signal conversion chip may also be an RS422 chip as required.
[0053] like Figure 1 、 Figure 2 As shown, in this embodiment, when the pan-tilt head has two encoders, the processor is provided with two serial ports. The processor simulates the TXD pin of the UART serial port through each IO port to send the clock signal to the DI end of each corresponding first signal conversion chip, and converts it into a differential signal including SLO+ and SLO- signals as a synchronous acquisition signal, and sends the synchronous acquisition signal to each encoder.
[0054] Among them, the encoder is BI SS-C encoder.
[0055] like Figure 1 As shown, in this embodiment, when the two encoders receive the synchronous acquisition signal, one encoder is used to obtain the rotation angle data of the roll axis, and the other encoder is used to obtain the rotation angle data of the pan-tilt axis, and the differential MA+ and MA- data signals are respectively sent to the corresponding second signal conversion chip.
[0056] The second signal conversion chip converts the differential signal containing the rotation angle data into a single-ended signal containing the rotation angle data, and sends it to the processor through the RXD pin of the corresponding serial port for analysis.
[0057] The processor parses the single-ended signal data of each rotation angle data, obtains the data of each BI SS-C protocol encoder respectively, and finally stores the obtained BI SS-C protocol encoder data.
[0058] like Figure 1 As shown, in this embodiment, for road monitoring, the pan / tilt (PTZ) of the monitoring device has two axes: roll and pitch. Each axis corresponds to a BIS-C protocol encoder, meaning two encoders are used to capture the rotation angles of the two axes. The roll axis's rotation angle controls the horizontal rotation of the camera, while the pitch axis's rotation angle controls the vertical tilt of the camera. To simultaneously capture data encoded using two BIS-C protocols, a 32-bit microcontroller with an IO port simulating a UART serial port is combined with an RS485 chip, enabling a single microcontroller to capture data from multiple BIS-C protocol encoders on the PTZ.
[0059] Specifically, the 32-bit single-chip microcomputer is connected to the DI interface of the first RS485 chip and the DI interface of the third RS485 chip respectively in the form of simulating a UART serial port through the IO port.
[0060] The microcontroller generates a CLK clock signal and sends it to the DI terminal of the first RS485 chip through the first IO port simulating the UART serial port TXD pin. At the same time, it sends it to the DI terminal of the third RS485 chip through the second IO port simulating the UART serial port TXD pin. The first RS485 chip and the third RS485 chip both convert it into differential SLO+ and SLO- signals, and send them to the corresponding BI SS-C protocol encoders respectively, which are used as the synchronization clock for data acquisition.
[0061] When the two BI SS-C protocol encoders receive the synchronization clock, they start to collect the rotation angles of the roll axis and the pitch axis respectively. The first BI SS-C protocol encoder collects the rotation angle of the roll axis, and the second BI SS-C protocol encoder collects the rotation angle data of the pitch axis. The differential MA+ and MA- data signals of the first BI SS-C protocol encoder are converted into single-ended signals through the second RS485 chip, and then transmitted to the 32-bit microcontroller through the RXD pin of the first IO port simulating the UART serial port. At the same time, the differential MA+ and MA- data signals of the second BI SS-C protocol encoder are converted into single-ended signals through the fourth RS485 chip, and then transmitted to the 32-bit microcontroller through the RXD pin of the second IO port simulating the UART serial port.
[0062] The 32-bit microcontroller parses the received data and obtains the data collected by the BISS-C protocol encoder, that is, the rotation angles of the pan-tilt axis and pitch axis. The 32-bit microcontroller controls the stable movement of the camera in the horizontal and vertical directions based on these two rotation angles, and adjusts the camera to the exact position of the road to be monitored, thereby meeting the safety monitoring requirements of a certain section of road.
[0063] Among them, differential or single-ended signals are a form of angle information, that is, they contain rotation angle data. Specifically, differential signals use the voltage difference between a set of differential signals + and - to determine whether they are high or low levels, and have better anti-interference performance. Single-ended signals directly determine high and low levels.
[0064] In this embodiment, some gimbals include not only a roll axis and a pitch axis, but also a yaw axis. Therefore, the gimbal will be provided with three encoders, which requires designing the gimbal data acquisition system according to the requirements.
[0065] By simulating the functions of UART serial ports and RS485 chips through the multiple IO ports of the 32-bit microcontroller, a single microcontroller can simultaneously collect data from multiple BISS-C protocol encoders, accurately obtaining the rotation angle of the pan-tilt head, greatly reducing the cost of use and improving the collection efficiency. The low cost can fully meet the safety monitoring needs of roads as densely populated as the stars.
[0066] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that the present invention is susceptible to various modifications and variations. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.
Claims
1. A pan-tilt data acquisition system, wherein the pan-tilt comprises an encoder, a roll axis, and a pitch axis, characterized in that: include: processor and multiple signal conversion chips; The processor includes multiple serial ports; Each serial port includes two pins, each pin is connected to a signal conversion chip, namely a first signal conversion chip and a second signal conversion chip, and the two signal conversion chips are connected to the encoder; The synchronous acquisition signal generated by the processor is sent to the first signal conversion chip corresponding to the serial port through each serial port for conversion, and the converted signal is sent to the encoder connected to the first signal conversion chip; Each encoder synchronously receives the synchronous acquisition signal converted by the first signal conversion chip, and transmits the pan / tilt signal acquired by the encoder to the processor through the second signal conversion chip.
2. A PTZ data acquisition system according to claim 1, characterized in that: The processor is a mainstream 32-bit single-chip microcomputer.
3. A PTZ data acquisition system according to claim 1, characterized in that: The serial port is an IO port simulating a UART serial port.
4. The PTZ data acquisition system according to claim 1, wherein: There are two serial ports. The processor sends the clock signal to the DI end of the first signal conversion chip corresponding to the two serial ports through the TXD end of the two serial ports, converts it into a differential signal as a synchronous acquisition signal, and sends it to the two encoders at the same time.
5. The PTZ data acquisition system according to claim 1, wherein: When the two encoders receive the synchronous acquisition signal, one encoder is used to obtain the rotation angle data of the roll axis, and the other encoder is used to obtain the rotation angle data of the pan-tilt axis, and respectively send the differential data signals containing the rotation angles to the corresponding second signal conversion chip.
6. The PTZ data acquisition system according to claim 1, wherein: The second signal conversion chip converts the differential signal containing the rotation angle data into a single-ended signal containing the rotation angle data, and sends it to the processor through the RXD end of the corresponding serial port for analysis.
7. The PTZ data acquisition system according to claim 1, wherein: The signal conversion chip is a mainstream RS485 chip or RS422 chip.
8. The PTZ data acquisition system according to claim 1, wherein: The number of the serial ports is consistent with the number of the encoders.
9. The PTZ data acquisition system according to claim 1, wherein: The encoder is a BISS-C encoder.
10. The PTZ data acquisition system according to claim 1, wherein: The processor also includes a random access memory for storing the pan / tilt signal data.