CN111082807A - Analog signal processing method and device - Google Patents

Analog signal processing method and device Download PDF

Info

Publication number
CN111082807A
CN111082807A CN201811216432.0A CN201811216432A CN111082807A CN 111082807 A CN111082807 A CN 111082807A CN 201811216432 A CN201811216432 A CN 201811216432A CN 111082807 A CN111082807 A CN 111082807A
Authority
CN
China
Prior art keywords
analog
digital conversion
signal
conversion chip
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811216432.0A
Other languages
Chinese (zh)
Other versions
CN111082807B (en
Inventor
林龑灏
王军
马强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201811216432.0A priority Critical patent/CN111082807B/en
Publication of CN111082807A publication Critical patent/CN111082807A/en
Application granted granted Critical
Publication of CN111082807B publication Critical patent/CN111082807B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/1205Multiplexed conversion systems
    • H03M1/123Simultaneous, i.e. using one converter per channel but with common control or reference circuits for multiple converters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention provides an analog signal processing method and an analog signal processing device, wherein the method is applied to an analog signal processing device, a plurality of analog-to-digital conversion chips in the analog signal processing device acquire analog signals to be processed, and a target analog-to-digital conversion chip matched with the analog signals is determined from the plurality of analog-to-digital conversion chips; and closing the connection between each analog-to-digital conversion chip except the target analog-to-digital conversion chip and the signal source and the processor. The target analog-to-digital conversion chip can convert the analog signal into a digital signal and transmit the digital signal to the processor for processing. Through the steps, after the analog signals of different types or standards are obtained, the target analog-to-digital conversion chip matched with the analog signals can be selected from the analog-to-digital conversion chips, and the target analog-to-digital conversion chip is used for converting the analog signals, so that the analog signal processing device can be used for converting the analog signals of different types.

Description

Analog signal processing method and device
Technical Field
The present invention relates to the field of signal processing technologies, and in particular, to an analog signal processing method and apparatus.
Background
In various fields such as industrial production and data processing, it is often necessary to convert the acquired analog signals into digital signals, so as to facilitate corresponding processing of various computers and other devices with data processing capability, and further obtain various results required by people. For example, in the field of video surveillance, video information collected by a camera or a video camera may be information in the form of analog signals, and the information needs to be converted into digital signals and then processed by a processor or other devices, such as a processor or other devices, for example, to convert and recognize images.
In the prior art, converting an analog signal into a Digital signal can be generally realized by an analog-to-Digital (AD) chip. However, when analog signals are converted by analog-to-digital conversion chips, one analog-to-digital conversion chip can only correspondingly convert a plurality of types of analog signals. When the type or system of the analog signal is changed, the conversion of the analog signal may not be realized.
In practical applications, various types of analog signals may need to be accessed, so how to convert the various types of analog signals becomes an urgent problem to be solved. For example, in the field of video surveillance, a backend device needs to access an analog signal of a device such as a front-end camera, but due to camera upgrade or replacement, the type or format of the analog signal accessed by the backend device may change. There is a need for a back-end device that can convert a number of different types of analog signals.
Disclosure of Invention
The embodiment of the invention aims to provide an analog signal processing method and device so as to realize conversion of various different types of analog signals. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides an analog signal processing method, where the method is applied to an analog signal processing apparatus, where the analog signal processing apparatus includes a processor and a plurality of analog-to-digital conversion chips, the processor is connected to the plurality of analog-to-digital conversion chips, and the plurality of analog-to-digital conversion chips are connected to a signal source that generates an analog signal, respectively, and the analog signal processing method includes:
acquiring an analog signal to be processed;
determining a target analog-to-digital conversion chip matched with the analog signal from the plurality of analog-to-digital conversion chips;
closing the connection between each analog-to-digital conversion chip except the target analog-to-digital conversion chip, the signal source and the processor;
and the target analog-to-digital conversion chip converts the analog signal into a digital signal and transmits the digital signal to the processor for processing.
Optionally, the acquiring the analog signal to be processed includes:
respectively closing data output ports or pins of the analog-to-digital conversion chips and connecting the data output ports or the pins with the processor;
respectively connecting the data input ports or pins of the analog-to-digital conversion chips with the signal source;
and the analog-to-digital conversion chips respectively acquire analog signals to be processed from the signal source through the data input ports or the pins.
Optionally, the determining a target analog-to-digital conversion chip matched with the analog signal from the plurality of analog-to-digital conversion chips includes:
each analog-to-digital conversion chip in the plurality of analog-to-digital conversion chips detects the type or the system of the analog signal one by one;
and if the analog-to-digital conversion chip supports the type or the system of the analog signal, determining that the analog-to-digital conversion chip is a target analog-to-digital conversion chip matched with the analog signal.
Optionally, the method further includes:
if the analog-to-digital conversion chips which support the type or system of the analog signal do not exist in the analog-to-digital conversion chips, the analog signal to be processed is obtained again;
and each analog-to-digital conversion chip in the plurality of analog-to-digital conversion chips detects the type or the system of the analog signal one by one again.
Optionally, the closing the connections between the analog-to-digital conversion chips except the target analog-to-digital conversion chip, the signal source, and the processor includes:
the processor acquires preset information of the target analog-to-digital conversion chip;
and the processor closes the data input ports or pins of the analog-to-digital conversion chips except the target analog-to-digital conversion chip and is connected with the signal source according to the preset information, and closes the data output ports or pins of the analog-to-digital conversion chips except the target analog-to-digital conversion chip and is connected with the processor.
Optionally, after the processor obtains the preset information of the target analog-to-digital conversion chip, the method further includes:
and the processor is connected with a data output port or a pin of the target analog-to-digital conversion chip according to the preset information.
Optionally, the target analog-to-digital conversion chip converts the analog signal into a digital signal, and transmits the digital signal to the processor for processing, including:
the target analog-to-digital conversion chip converts the analog signal into a digital signal and transmits a clock signal generated by the target analog-to-digital conversion chip and the digital signal to the processor for processing.
In a second aspect, an embodiment of the present invention provides an analog signal processing apparatus, where the analog signal processing apparatus includes a processor and a plurality of analog-to-digital conversion chips, the processor is respectively connected to the plurality of analog-to-digital conversion chips, the plurality of analog-to-digital conversion chips are respectively connected to a signal source that generates an analog signal, and the analog signal processing apparatus is configured to apply the analog signal processing method according to the first aspect of the embodiment of the present invention.
Optionally, data output ports or pins of the multiple analog-to-digital conversion chips are respectively connected to the processor;
and the data input ports or pins of the analog-to-digital conversion chips are respectively connected with the signal source.
Optionally, the processor is further connected to the plurality of analog-to-digital conversion chips through an integrated circuit bus IIC bus;
and the processor respectively controls the on-off of the data output ports or pins and the data input ports or pins of the analog-to-digital conversion chips through the IIC bus.
In the analog signal processing method and device provided by the embodiment of the invention, a plurality of analog-to-digital conversion chips in the analog signal processing device respectively acquire analog signals to be processed, and a target analog-to-digital conversion chip matched with the analog signals is determined from the plurality of analog-to-digital conversion chips; after the target analog-to-digital conversion chip is determined, the analog-to-digital conversion chips except the target analog-to-digital conversion chip can be closed, and the connection between the signal source and the processor can be closed. The target analog-to-digital conversion chip can convert the analog signal into a digital signal and transmit the digital signal to the processor for processing. Through the steps, after the analog signals of different types or standards are obtained, the target analog-to-digital conversion chip matched with the analog signals can be selected from the analog-to-digital conversion chips, and the target analog-to-digital conversion chip is used for converting the analog signals, so that the analog signal processing device can be used for converting the analog signals of different types. And after the target analog-to-digital conversion chip is determined, all the analog-to-digital conversion chips except the target analog-to-digital conversion chip can be closed, and the connection between the target analog-to-digital conversion chip and the signal source and the connection between the signal source and the processor can be closed, so that other analog-to-digital conversion chips do not participate in subsequent steps any more, only one analog-to-digital conversion chip can send digital signals to the processor at the same time, and signal interference is avoided. Of course, it is not necessary for any product or method of practicing the invention to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an analog signal processing method according to an embodiment of the present invention;
fig. 2 is a structural diagram of an analog signal processing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The analog signal processing method provided by the embodiment of the invention can be applied to an analog signal processing device, wherein the analog signal processing device comprises a processor and a plurality of analog-to-digital conversion chips, and the processor is respectively connected with the plurality of analog-to-digital conversion chips. The processor may be an SOC (System on Chip), a CPU, an FPGA (Field-Programmable Gate Array), a DSP (Digital Signal Processing), an MCU (Micro Control Unit), or the like.
Specifically, data output ports or pins of the analog-to-digital conversion chips are respectively connected with the processor, and through the data output ports or pins, the analog-to-digital conversion chips can send digital information obtained through conversion to the processor.
The analog-to-digital conversion chips are respectively connected with a signal source for generating an analog signal, and the signal source can be different devices according to different practical situations, for example, a camera, a sensor and other devices capable of generating an analog signal.
Specifically, the data input ports or pins of the analog-to-digital conversion chips are respectively connected with the signal source, so that each analog-to-digital conversion chip can acquire an analog signal from the signal source through the respective data input port or pin.
The processor is further connected to the plurality of analog-to-digital conversion chips through a data bus, for example, an Inter-Integrated Circuit (IIC) bus, and the like, and the processor can control the data input port or pin and the data output port or pin of each analog-to-digital conversion chip through the array bus, that is, the ports or pins are connected to or disconnected from other devices.
Referring to fig. 1, fig. 1 is a flowchart of an analog signal processing method according to an embodiment of the present invention, where the method includes:
step 110, obtaining an analog signal to be processed.
The analog signal to be processed is an analog signal generated or acquired by a signal source, and the analog signal needs to be converted into a digital signal and then further processed by a processor. For example, the analog signal may be video information in the form of an analog signal captured by a camera or video camera, which needs to be converted into a digital signal so that the video information can be further processed by a processor. For example, image recognition, etc.
In practical application, the analog signal can be obtained from the signal source by each analog-to-digital conversion chip connected with the signal source. For example, after the signal source generates or acquires an analog signal to be processed, the signal source may actively transmit the analog signal to each analog-to-digital conversion chip connected to the signal source. Thereby each analog-to-digital conversion chip acquires the analog signal.
Step 120, determining a target analog-to-digital conversion chip matched with the analog signal from the plurality of analog-to-digital conversion chips.
After each analog-to-digital conversion chip obtains the analog signal to be processed, whether the analog signal can be converted per se can be determined according to the obtained analog signal, that is, each analog-to-digital conversion chip can judge whether each analog signal can support the obtained analog signal. When the analog-to-digital conversion chip can support the acquired analog signal, it indicates that the analog-to-digital conversion chip is matched with the acquired analog signal, that is, the analog-to-digital conversion chip can be used as a target analog-to-digital conversion chip.
And step 130, closing the connections between the analog-to-digital conversion chips except the target analog-to-digital conversion chip, the signal source and the processor.
In order to avoid interference between signals, only one analog-to-digital conversion chip can output the converted digital signals to the processor. Therefore, after the target analog-to-digital conversion chip is determined, the connection between each analog-to-digital conversion chip except the target analog-to-digital conversion chip and the processor can be disconnected. For example, the data output port and the pin of each analog-to-digital conversion chip except the target analog-to-digital conversion chip are closed.
In addition, because each analog-to-digital conversion chip except the target analog-to-digital conversion chip does not need to process the analog signal any more, the connection between each analog-to-digital conversion chip except the target analog-to-digital conversion chip and the signal source can be closed, and the analog signal is not obtained from the signal source any more.
In step 140, the target adc converts the analog signal into a digital signal, and transmits the digital signal to the processor for processing.
Through the steps, the other analog-to-digital conversion chips except the target analog-to-digital conversion chip are already closed to the signal source and the processor. The analog signal to be processed can no longer be acquired.
The target analog-to-digital conversion chip can be connected with the signal source and the processor, and the target analog-to-digital conversion chip can acquire an analog signal to be processed from the signal source and convert the analog signal to form a digital signal which can be recognized and processed by the processor, for example, the digital signal can be a data stream in the BT656 format. And then the digital signal is transmitted to a processor for corresponding processing through a data output port or a pin of the target analog-to-digital conversion chip.
By applying the embodiment, a plurality of analog-to-digital conversion chips in the analog signal processing device respectively acquire analog signals to be processed, and a target analog-to-digital conversion chip matched with the analog signals is determined from the plurality of analog-to-digital conversion chips; after the target analog-to-digital conversion chip is determined, the analog-to-digital conversion chips except the target analog-to-digital conversion chip can be closed, and the connection between the signal source and the processor can be closed. The target analog-to-digital conversion chip can convert the analog signal into a digital signal and transmit the digital signal to the processor for processing. Through the steps, after the analog signals of different types or standards are obtained, the target analog-to-digital conversion chip matched with the analog signals can be selected from the analog-to-digital conversion chips, and the target analog-to-digital conversion chip is used for converting the analog signals, so that the analog signal processing device can be used for converting the analog signals of different types. And after the target analog-to-digital conversion chip is determined, all the analog-to-digital conversion chips except the target analog-to-digital conversion chip can be closed, and the connection between the target analog-to-digital conversion chip and the signal source and the connection between the signal source and the processor can be closed, so that other analog-to-digital conversion chips do not participate in subsequent steps any more, only one analog-to-digital conversion chip can send digital signals to the processor at the same time, and signal interference is avoided.
Based on the embodiment shown in fig. 1, in order to ensure that each analog-to-digital conversion chip can acquire an analog signal to be processed, and ensure that no plurality of analog-to-digital conversion chips simultaneously send a converted digital signal to a processor. In the embodiment shown in fig. 1, step 110 may specifically include:
and step 111, respectively closing data output ports or pins of the analog-to-digital conversion chips and connecting the data output ports or pins with the processor.
When the analog signal processing device starts to be started or starts to work, the processor can firstly close the data output port or the pin of each analog-digital conversion chip through the IIC bus connected with each analog-digital conversion chip, and the data output port or the pin of each analog-digital conversion chip is connected with the processor. The manner of turning off the analog-to-digital conversion chip may include: closing data acquisition of a data input port, setting a data output port of the analog-to-digital conversion chip to be in a high-resistance state, and closing a data output clock of the analog-to-digital conversion chip, wherein the output data of the analog-to-digital conversion chip has a certain format, such as a BT656 format.
And step 112, respectively connecting data input ports or pins of the analog-to-digital conversion chips with a signal source.
Similarly, the processor may enable the data input ports or pins of the analog-to-digital conversion chips to be connected to the signal source through the IIC bus connected between the analog-to-digital conversion chips, for example, to set the data input ports or pins of the analog-to-digital conversion chips to a low impedance state, or to enable the data input ports of the analog-to-digital conversion chips. Therefore, each analog-to-digital conversion chip can acquire analog signals to be processed from a signal source through a data input port or a pin.
And step 113, the analog-to-digital conversion chips respectively acquire analog signals to be processed from the signal source through the data input ports or the pins.
When the data input ports or pins of the analog-to-digital conversion chips are connected with the signal source, the analog-to-digital conversion chips can respectively acquire analog signals to be processed from the signal source. Specifically, each analog-to-digital conversion chip can synchronously acquire the analog signal. Or each analog-to-digital conversion chip can acquire the analog signal one by one.
Based on the embodiment shown in fig. 1, in order to determine the target analog-to-digital conversion chip more quickly and accurately, in the embodiment shown in fig. 1, step 120 may specifically include:
and step 121, detecting the type or system of the analog signal one by each analog-to-digital conversion chip in the plurality of analog-to-digital conversion chips.
And step 122, if the analog-to-digital conversion chip supports the type or system of the analog signal, determining that the analog-to-digital conversion chip is a target analog-to-digital conversion chip matched with the analog signal.
Each analog-to-digital conversion chip of the plurality of analog-to-digital conversion chips can support different types of analog signals. Therefore, after the analog signals are acquired by the plurality of analog-to-digital conversion chips, the types or systems of the analog signals are detected one by one, and whether the analog signals can support the types or systems of the analog signals is determined, so that the target analog-to-digital conversion chip can be determined.
According to the number of types or systems of analog signals which can be detected by the analog-to-digital conversion chip, the analog-to-digital conversion chip can be set as a main detection chip and an auxiliary detection chip, the main detection chip firstly detects the analog signals, and if the types or systems of the analog signals are not supported, the auxiliary detection chip detects the analog signals.
For example, A, B, C, D, 4 analog-to-digital conversion chips are included in the analog signal processing apparatus, and each analog-to-digital conversion chip can support different types or formats of analog signals. If the number of the types or systems of the analog signals that the analog-to-digital conversion chip a can detect is the largest, the analog-to-digital conversion chip a is set as a main detection chip, and the analog-to-digital conversion chip B, C, D is set as an auxiliary detection chip, and the analog-to-digital conversion chip a detects the acquired analog signals to determine the types or systems of the analog signals.
If the analog-to-digital conversion chip A can support the type or the system, the analog-to-digital conversion chip A is used as a target analog-to-digital conversion chip. And other analog-to-digital conversion chips do not need to detect the analog signals, and can directly carry out the subsequent steps.
If the analog-to-digital conversion chip A cannot support the type or system of the analog signal, the analog-to-digital conversion chip B detects the acquired analog signal. Similarly, if the type or system can be supported, the analog-to-digital conversion chip B is used as the target analog-to-digital conversion chip. If the type or the system cannot be supported, other analog-to-digital conversion chips continue to detect the acquired analog signals. Until a target analog-to-digital conversion chip matched with the acquired analog signal is determined.
There is also a case that, for a certain analog signal type or system, the analog-to-digital conversion chip A, B, C, D has at least two analog-to-digital conversion chips capable of supporting, but if the signal conversion effect of different analog-to-digital conversion chips is good or bad, after detecting the analog signal, the processor will process by the analog-to-digital conversion chip with the best effect.
In practical applications, if the analog-to-digital conversion chip matching the acquired analog signal item is not determined through steps 121 and 122, it indicates that an abnormality may occur in the detection of the analog signal. The analog signal needs to be re-detected. Therefore, the problem that the analog signals cannot be accessed and converted due to detection abnormality is avoided. In the analog signal processing method provided in the embodiment of the present invention, the method may further include:
and step 123, if the analog-to-digital conversion chips supporting the type or system of the analog signal do not exist in the plurality of analog-to-digital conversion chips, acquiring the analog signal to be processed again.
In the above steps, each analog-to-digital conversion chip detects the type or system of the analog signal, and each analog-to-digital conversion chip can determine whether itself can support the analog signal of the type or system.
If all the analog-to-digital conversion chips can not support the analog signal of the type or the system, the analog signal of the type or the system can not be judged. It can be considered that an abnormality or error in the detection of the analog signal may have occurred. Therefore, the analog signal to be processed can be retrieved from the signal source. For example, the analog signals may be acquired by the respective analog-to-digital conversion chips simultaneously or individually through the respective data input ports or pins.
And step 124, detecting the type or system of the analog signal one by one again by each analog-to-digital conversion chip in the plurality of analog-to-digital conversion chips.
After the analog signal to be processed is obtained again, each analog-to-digital conversion chip can detect the type or system of the analog signal again, and determine a target analog-to-digital conversion chip capable of supporting the analog signal of the type or system. The specific process is the same as the above steps, and is not described herein again.
In the embodiment of the present invention, if the target analog-to-digital conversion chip is still not determined after the steps 123 and 124 are performed, the analog signal processing apparatus may send a prompt message to prompt a relevant person to take a corresponding measure for processing. For example, when each analog-to-digital conversion chip starts to acquire an analog signal, the processor may perform timing, and after a preset time is exceeded, if the processor still does not receive a converted digital signal sent by the analog-to-digital conversion chip, it indicates that a target analog-to-digital conversion chip cannot be determined in each analog-to-digital conversion chip, so the processor may send the prompt information, and may also temporarily close the connection between each analog-to-digital conversion chip and the signal source, thereby avoiding continuous detection of the analog signal by each analog-to-digital conversion chip, and avoiding waste of resources.
Based on the embodiment shown in fig. 1, in the embodiment shown in fig. 1, step 130 may specifically include:
step 131, the processor acquires preset information of the target analog-to-digital conversion chip.
When the target analog-to-digital conversion chip is determined, the processor can actively acquire preset information of the target analog-to-digital conversion chip. The preset information is used for enabling the processor to determine a target analog-to-digital conversion chip from the plurality of analog-to-digital conversion chips, namely, to determine which analog-to-digital conversion chip of the plurality of analog-to-digital conversion chips is the determined target analog-to-digital conversion chip. The preset information may be various existing signal types, and may be applied to the embodiments of the present invention as long as the functions of the embodiments of the present invention can be implemented.
For example, the preset information may include an identifier of the target analog-to-digital conversion chip, so that the processor can determine which analog-to-digital conversion chip is the determined target analog-to-digital conversion chip. The processor can actively acquire the preset information through an IIC bus connected with the target analog-to-digital conversion chip.
And step 132, the processor closes the data input ports or pins of the analog-to-digital conversion chips except the target analog-to-digital conversion chip to be connected with the signal source according to the preset information, and closes the data output ports or pins of the analog-to-digital conversion chips except the target analog-to-digital conversion chip to be connected with the processor.
After the processor obtains the preset information, which one of the plurality of analog-to-digital conversion chips is the target conversion chip can be determined according to the preset information. After determining which analog-to-digital conversion chip is the target conversion chip, the processor may close the data input port or pin and the data output port or pin of each analog-to-digital conversion chip except the target analog-to-digital conversion chip through the IIC bus, for example, the data input port or pin and the data output port or pin are both set to a high impedance state, so as to close each analog-to-digital conversion chip except the target analog-to-digital conversion chip, and respectively connect the signal source and the processor. Only the target analog-to-digital conversion chip can acquire an analog signal from the signal source and convert the analog signal to form a digital signal which can be identified and processed by the processor, and then the digital signal is transmitted to the processor.
In practical applications, in step 131, after the processor obtains the preset information of the target analog-to-digital conversion chip, the analog signal processing method provided in the embodiment of the present invention may further include:
and step 133, the processor connects a data output port or a pin of the target analog-to-digital conversion chip to the processor according to the preset information.
Since in the previous step, it is avoided that a plurality of analog-to-digital conversion chips output the converted digital signals to the processor at the same time. When a plurality of analog-to-digital conversion chips receive analog signals, the processor can close the connection between the data output port or the pin of each analog-to-digital conversion chip and the processor.
When the target analog-to-digital conversion chip is determined and the processor acquires the preset information of the target analog-to-digital conversion chip, it indicates that the target analog-to-digital conversion chip can support the type or system of the acquired analog signal, the target analog-to-digital conversion chip can be accessed and converts the analog signal, and the processor needs to acquire the converted digital signal from the target analog-to-digital conversion chip.
Therefore, after receiving the preset information, the processor can determine the target analog-to-digital conversion chip according to the preset information, and then control the data output port or pin of the target analog-to-digital conversion chip to be in a low resistance state through the IIC bus connected with the target analog-to-digital conversion chip, so that the data output port or pin of the target analog-to-digital conversion chip is connected with the processor. In the subsequent steps, the target analog-to-digital conversion chip can normally output the converted digital signal to the processor.
Based on the embodiment shown in fig. 1, in practical applications, in the embodiment shown in fig. 1, step 140 may specifically include:
the target analog-to-digital conversion chip converts the analog signal into a digital signal and transmits a clock signal and the digital signal generated by the target analog-to-digital conversion chip to the processor for processing.
The target analog-to-digital conversion chip may transmit its own clock signal to the processor together with the digital signal after converting the analog signal into the digital signal. The clock signal is the sampling frequency of the target analog-to-digital conversion chip to the analog signal, and according to the clock signal, the processor can more accurately process the digital signal.
In a specific application scenario, the analog signal processing apparatus may be a backend apparatus in a video monitoring apparatus, the signal source may be a camera, and the like, the camera may be connected to data input ports or pins of a plurality of analog-to-digital conversion chips in the analog signal processing apparatus, and a processor in the analog signal processing apparatus may be an SOC. The video information collected by the camera is video information in the form of analog signals. In order to further process the video information, it is necessary to convert the analog signal output by the camera into a digital signal through an analog-to-digital conversion chip, and then the processor processes the video information in the form of the digital signal.
A plurality of analog-to-digital conversion chips in the analog signal processing device synchronously or one by one acquire analog signals to be processed sent by the camera. The analog-to-digital conversion chips respectively detect and identify the type or the system of the analog signal and send the detection result to the processor, and the processor determines a target analog-to-digital conversion chip capable of supporting the type or the system of the analog signal according to the detection result. And the processor closes all the analog-to-digital conversion chips except the target analog-to-digital conversion chip and is respectively connected with the camera and the processor.
The target analog-to-digital conversion chip may continuously receive video information in the form of an analog signal from the camera and then convert the video information in the form of the signal to form video information in the form of a digital signal. The clock information is then output to the processor along with the video information in the form of the digital signal so that the processor can further process the video information in the form of the digital signal.
In the embodiment of the invention, a plurality of analog-to-digital conversion chips in an analog signal processing device respectively acquire analog signals to be processed, detect and identify the type or system of the analog signals, and send the detection result to a processor, and the processor determines a target analog-to-digital conversion chip matched with the analog signals according to the detection result; after the target analog-to-digital conversion chip is determined, the analog-to-digital conversion chips except the target analog-to-digital conversion chip can be closed, and the connection between the signal source and the processor can be closed. When no signal is input, the processor opens the data input ports of all the analog-to-digital conversion chips and closes the data output ports and the clock output ports of all the analog-to-digital conversion chips; and when the signal is detected, enabling the data output port and the clock output of the corresponding analog-to-digital conversion chip. The target analog-to-digital conversion chip can convert the analog signal into a digital signal and transmit the digital signal to the processor for processing.
Through the steps, after the analog signals of different types or standards are obtained, the target analog-to-digital conversion chip matched with the analog signals can be selected from the analog-to-digital conversion chips, and the target analog-to-digital conversion chip is used for converting the analog signals, so that the analog signal processing device can be used for converting the analog signals of different types. For example, in the field of video surveillance, an analog signal processing apparatus is used as an analog signal of a device such as a front-end camera that needs to be accessed by a back-end device, and when the type or system of the analog signal accessed by the back-end device changes due to upgrading or replacement of the camera. The analog signal processing device can automatically adapt to analog signals of different types or systems, so that the back-end equipment can normally work without being upgraded or changed, the cost is reduced, and the working efficiency is improved.
And after the target analog-to-digital conversion chip is determined, all the analog-to-digital conversion chips except the target analog-to-digital conversion chip can be closed, and the connection between the signal source and the processor is realized, so that other analog-to-digital conversion chips do not participate in subsequent steps any more, only one analog-to-digital conversion chip is ensured to send digital signals to the processor at the same time, and signal interference is avoided.
Referring to fig. 2, fig. 2 is a structural diagram of an analog signal processing apparatus according to an embodiment of the present invention.
The analog signal processing apparatus includes a processor 201 and a plurality of analog-to-digital conversion chips 202.
The processor 201 is connected to a plurality of analog-to-digital conversion chips 202, and the plurality of analog-to-digital conversion chips 202 are connected to a signal source 203 for generating analog signals. The analog signal processing apparatus can apply the analog signal processing method described in any one of the above embodiments.
The signal source 203 may be various hardware devices capable of generating analog signals, for example, a video camera or a video camera.
The processor 201 may be an SOC (System on Chip), a CPU, an FPGA (Field-Programmable Gate Array), a DSP (Digital Signal Processing), an MCU (Micro Control Unit), or the like. In the embodiment of the present invention, in order to enable the processor to have richer control and processing functions, preferably, the processor may employ an SOC.
A plurality of analog-to-digital conversion chips 202 may be integrated with the processor 201 on an integrated circuit board, and the connection between the processor 201 and each analog-to-digital conversion chip 202 is realized by printed circuits on the integrated circuit board.
Or a plurality of analog-to-digital conversion chips 202 and processors 201 may be respectively disposed on different integrated circuit boards. The interconnection is achieved in the form of a data line or interface.
The analog-to-digital conversion chips 202 can be connected to the signal source 203 by using data lines, cables, and the like, for example, corresponding data interfaces or cable interfaces are provided on an integrated circuit board on which the analog-to-digital conversion chips 202 are located, and the integrated circuit board can be connected to devices such as a camera through the data interfaces or cable interfaces.
In fig. 2, the connections of the analog-to-digital conversion chips 202 to the processor 201 and the signal source 203, respectively, are indicated by solid lines.
In the analog signal processing device provided by the embodiment of the invention, a plurality of analog-to-digital conversion chips respectively acquire analog signals to be processed, and a target analog-to-digital conversion chip matched with the analog signals is determined from the plurality of analog-to-digital conversion chips; after the target analog-to-digital conversion chip is determined, the analog-to-digital conversion chips except the target analog-to-digital conversion chip can be closed, and the connection between the signal source and the processor can be closed. The target analog-to-digital conversion chip can convert the analog signal into a digital signal and transmit the digital signal to the processor for processing. Through the steps, after the analog signals of different types or standards are obtained, the target analog-to-digital conversion chip matched with the analog signals can be selected from the analog-to-digital conversion chips, and the target analog-to-digital conversion chip is used for converting the analog signals, so that the analog signal processing device can be used for converting the analog signals of different types. And after the target analog-to-digital conversion chip is determined, all the analog-to-digital conversion chips except the target analog-to-digital conversion chip can be closed, and the connection between the target analog-to-digital conversion chip and the signal source and the connection between the signal source and the processor can be closed, so that other analog-to-digital conversion chips do not participate in subsequent steps any more, only one analog-to-digital conversion chip can send digital signals to the processor at the same time, and signal interference is avoided.
In practical applications of the embodiment of the present invention, the data output ports or pins of the analog-to-digital conversion chips 202 may be respectively connected to the processor. The data input ports or pins of the analog-to-digital conversion chips 202 can be respectively connected with the signal source 203.
The data output port or pin of the analog-to-digital conversion chip 202 may output the converted digital signal to the outside. The data output port or pin of the analog-to-digital conversion chip 202 may be connected to the processor by means of a printed circuit or a data line on the integrated circuit board. Thereby enabling transmission of the digital signal to the processor.
The data input ports or pins of analog-to-digital conversion chip 202 may receive analog signals. The data input port or pin may be connected to the signal source 203 by a data line, cable, or the like. For example, each analog-to-digital conversion chip 202 may be disposed on one or more integrated circuit boards. The data input ports or pins of the analog-to-digital conversion chip 202 may be connected to a data interface or cable interface provided on the integrated circuit board via printed wiring on the integrated circuit board. The data interface or cable interface is then connected to the signal source 203 via a data line, cable, etc.
In the analog signal processing apparatus according to the embodiment of the present invention, the processor 201 is further connected to the plurality of analog-to-digital conversion chips 202 through the integrated circuit bus IIC. The processor 201 controls the on/off of the data output ports or pins and the data input ports or pins of the analog-to-digital conversion chips 202 through the IIC bus.
As shown in fig. 2, dotted lines in fig. 2 indicate that the processor 201 is connected to the plurality of analog-to-digital conversion chips 202 through the IIC bus. In the analog signal processing apparatus provided in the embodiment of the present invention, a plurality of data output ports or pins of the analog-to-digital conversion chips 202 are connected to the processor 201, respectively. The processor 201 is also connected to a plurality of analog-to-digital conversion chips 202 through IIC buses, respectively. The IIC bus enables transmission of control signals and the like. Therefore, the processor can control the data output port or pin and the data input port or pin of each analog-to-digital conversion chip 202 through the IIC bus, for example, the data output port or pin of the analog-to-digital conversion chip 202 is set to a high-impedance state, so as to close the connection between the analog-to-digital conversion chip 202 and the processor 201 for digital signal transmission; or the data input port or pin of the analog-to-digital conversion chip 202 is set to a high impedance state, or the data input port is disabled, so as to close the connection between the analog-to-digital conversion chip 202 and the signal source 203, so that the analog-to-digital conversion chip 202 cannot acquire an analog signal.
In the embodiment of the invention, the processor realizes the control of the data output port or pin and the data input port or pin of each analog-to-digital conversion chip through the IIC bus. Therefore, each analog-to-digital conversion chip can be controlled more accurately, and after the target analog-to-digital conversion chip is determined, the connection between other analog-to-digital conversion chips and the signal source and the connection between other analog-to-digital conversion chips and the processor can be closed. Only one analog-to-digital conversion chip sends digital signals to the processor at the same time, and signal interference is avoided.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. An analog signal processing method is applied to an analog signal processing device, the analog signal processing device includes a processor and a plurality of analog-to-digital conversion chips, the processor is respectively connected with the plurality of analog-to-digital conversion chips, the plurality of analog-to-digital conversion chips are respectively connected with a signal source generating an analog signal, and the analog signal processing method includes:
acquiring an analog signal to be processed;
determining a target analog-to-digital conversion chip matched with the analog signal from the plurality of analog-to-digital conversion chips;
closing the connection between each analog-to-digital conversion chip except the target analog-to-digital conversion chip, the signal source and the processor;
and the target analog-to-digital conversion chip converts the analog signal into a digital signal and transmits the digital signal to the processor for processing.
2. The method of claim 1, wherein the obtaining the analog signal to be processed comprises:
respectively closing data output ports or pins of the analog-to-digital conversion chips and connecting the data output ports or the pins with the processor;
respectively connecting the data input ports or pins of the analog-to-digital conversion chips with the signal source;
and the analog-to-digital conversion chips respectively acquire analog signals to be processed from the signal source through the data input ports or the pins.
3. The method of claim 1 or 2, wherein the determining, from the plurality of analog-to-digital conversion chips, a target analog-to-digital conversion chip that matches the analog signal comprises:
each analog-to-digital conversion chip in the plurality of analog-to-digital conversion chips detects the type or the system of the analog signal one by one;
and if the analog-to-digital conversion chip supports the type or the system of the analog signal, determining that the analog-to-digital conversion chip is a target analog-to-digital conversion chip matched with the analog signal.
4. The method of claim 3, further comprising:
if the analog-to-digital conversion chips which support the type or system of the analog signal do not exist in the analog-to-digital conversion chips, the analog signal to be processed is obtained again;
and each analog-to-digital conversion chip in the plurality of analog-to-digital conversion chips detects the type or the system of the analog signal one by one again.
5. The method of claim 1, wherein said closing connections between each analog-to-digital conversion chip other than the target analog-to-digital conversion chip, the signal source, and the processor comprises:
the processor acquires preset information of the target analog-to-digital conversion chip;
and the processor closes the data input ports or pins of the analog-to-digital conversion chips except the target analog-to-digital conversion chip and is connected with the signal source according to the preset information, and closes the data output ports or pins of the analog-to-digital conversion chips except the target analog-to-digital conversion chip and is connected with the processor.
6. The method of claim 5, wherein after the processor obtains the preset information of the target analog-to-digital conversion chip, the method further comprises:
and the processor is connected with a data output port or a pin of the target analog-to-digital conversion chip according to the preset information.
7. The method of claim 1, wherein the target analog-to-digital conversion chip converts the analog signal into a digital signal and transmits the digital signal to the processor for processing, comprising:
the target analog-to-digital conversion chip converts the analog signal into a digital signal and transmits a clock signal generated by the target analog-to-digital conversion chip and the digital signal to the processor for processing.
8. An analog signal processing apparatus, comprising a processor and a plurality of analog-to-digital conversion chips, wherein the processor is connected to the plurality of analog-to-digital conversion chips, respectively, and the plurality of analog-to-digital conversion chips are connected to a signal source generating an analog signal, respectively, and the analog signal processing apparatus is configured to apply the analog signal processing method according to any one of claims 1 to 7.
9. The analog signal processing device of claim 8, wherein the data output ports or pins of the analog-to-digital conversion chips are respectively connected to the processor;
and the data input ports or pins of the analog-to-digital conversion chips are respectively connected with the signal source.
10. The analog signal processing device of claim 8, wherein the processor is further connected to the plurality of analog-to-digital conversion chips through an integrated circuit bus IIC bus, respectively;
and the processor respectively controls the on-off of the data output ports or pins and the data input ports or pins of the analog-to-digital conversion chips through the IIC bus.
CN201811216432.0A 2018-10-18 2018-10-18 Analog signal processing method and device Active CN111082807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811216432.0A CN111082807B (en) 2018-10-18 2018-10-18 Analog signal processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811216432.0A CN111082807B (en) 2018-10-18 2018-10-18 Analog signal processing method and device

Publications (2)

Publication Number Publication Date
CN111082807A true CN111082807A (en) 2020-04-28
CN111082807B CN111082807B (en) 2023-05-02

Family

ID=70309358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811216432.0A Active CN111082807B (en) 2018-10-18 2018-10-18 Analog signal processing method and device

Country Status (1)

Country Link
CN (1) CN111082807B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420611A (en) * 2008-10-22 2009-04-29 成都国腾电子技术股份有限公司 Video input decoding chip
CN201489512U (en) * 2009-08-21 2010-05-26 西安迅腾科技有限责任公司 Analog and switching value multiplex interface for data acquisition system
CN101969415A (en) * 2010-09-26 2011-02-09 京信通信系统(中国)有限公司 Multi-mode multi-channel digital radio frequency integrated module, signal processing method and application thereof
US20120161995A1 (en) * 2010-12-22 2012-06-28 Mitsumi Electric Co., Ltd. Ad conversion method and ad conversion circuit
CN102724516A (en) * 2012-05-16 2012-10-10 浙江大华技术股份有限公司 Adaptive signal processing method, device and decoder
CN102982782A (en) * 2012-11-12 2013-03-20 深圳市创凯电子有限公司 Multi-format signal conversion device and display equipment
CN106373361A (en) * 2016-08-31 2017-02-01 北京浩坤科技有限公司 Wireless collection and transmission device and method
CN107809248A (en) * 2016-09-08 2018-03-16 上海贝岭股份有限公司 Multi-mode analog to digital conversion circuit
CN207820120U (en) * 2018-01-29 2018-09-04 深圳市金锐显数码科技有限公司 A kind of automatic test signal source and television board

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420611A (en) * 2008-10-22 2009-04-29 成都国腾电子技术股份有限公司 Video input decoding chip
CN201489512U (en) * 2009-08-21 2010-05-26 西安迅腾科技有限责任公司 Analog and switching value multiplex interface for data acquisition system
CN101969415A (en) * 2010-09-26 2011-02-09 京信通信系统(中国)有限公司 Multi-mode multi-channel digital radio frequency integrated module, signal processing method and application thereof
US20120161995A1 (en) * 2010-12-22 2012-06-28 Mitsumi Electric Co., Ltd. Ad conversion method and ad conversion circuit
CN102724516A (en) * 2012-05-16 2012-10-10 浙江大华技术股份有限公司 Adaptive signal processing method, device and decoder
CN102982782A (en) * 2012-11-12 2013-03-20 深圳市创凯电子有限公司 Multi-format signal conversion device and display equipment
CN106373361A (en) * 2016-08-31 2017-02-01 北京浩坤科技有限公司 Wireless collection and transmission device and method
CN107809248A (en) * 2016-09-08 2018-03-16 上海贝岭股份有限公司 Multi-mode analog to digital conversion circuit
CN207820120U (en) * 2018-01-29 2018-09-04 深圳市金锐显数码科技有限公司 A kind of automatic test signal source and television board

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
彭江勇: "图像处理器硬件测试平台设计与实现" *
赵春红 等: "基于FPGA实现多路模拟信号自适应采集系统" *

Also Published As

Publication number Publication date
CN111082807B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
WO2016171341A1 (en) Cloud-based pathology analysis system and method
CN108322855B (en) Method and device for acquiring audio information
CN109443390B (en) Digital gyroscope phase delay test system
CN107526703A (en) Internal integrated circuit device and its control method in internal integrated circuit system
US7631129B2 (en) Computer monitoring system and monitoring method
CN111082807A (en) Analog signal processing method and device
US7209868B2 (en) Signal monitoring system and method
EP2187383A3 (en) Image display apparatus
CN106598793B (en) Test system and test method based on BIOS serial port log data
JP2008141876A (en) Apparatus and method for recording waveform
WO2015137542A1 (en) Device for processing medical image for medical diagnosis and method therefor
CN207249551U (en) Terminal integrative machine and straight recorded broadcast interaction systems
KR20100070567A (en) System and method for high speed real time sensor monitoring based on ethernet network using spi
CN114143458A (en) Image acquisition control method and device based on machine vision
CN211148835U (en) Open short circuit reverse test circuit and image sensor chip test device
CN111741194A (en) Separated camera, power supply control method and device
CN212623736U (en) Panoramic system control panel testing arrangement
CN111007372A (en) Open-short circuit reverse test circuit and test method
US11782093B2 (en) Detection system and detection method
TW201606497A (en) Sensing apparatus and a device testing system, testing method using the same
CN115297241B (en) Image acquisition system
CN217590957U (en) Conference system
CN101566656A (en) System and method for automatic detection
CN110543439B (en) Signal processing system
CN209182847U (en) Photographic device and goods selling equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant