CN111082807B - Analog signal processing method and device - Google Patents
Analog signal processing method and device Download PDFInfo
- Publication number
- CN111082807B CN111082807B CN201811216432.0A CN201811216432A CN111082807B CN 111082807 B CN111082807 B CN 111082807B CN 201811216432 A CN201811216432 A CN 201811216432A CN 111082807 B CN111082807 B CN 111082807B
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/1205—Multiplexed conversion systems
- H03M1/123—Simultaneous, i.e. using one converter per channel but with common control or reference circuits for multiple converters
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy 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 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 an analog signal to be processed, and a target analog-to-digital conversion chip matched with the analog signal is determined from the plurality of analog-to-digital conversion chips; and closing the connection between each analog-digital conversion chip except the target analog-digital conversion chip, 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 modes are obtained, a target analog-to-digital conversion chip matched with the analog signals can be selected from a plurality of 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 various analog signals of different types.
Description
Technical Field
The present invention relates to the field of signal processing technologies, and in particular, to a method and an apparatus for processing an analog signal.
Background
In various fields such as industrial production and data processing, it is often required to convert an acquired analog signal into a digital signal, so that various devices with data processing capability, such as computers, can perform corresponding processing, and various results required by people can be obtained. For example, in the field of video monitoring, video information collected by a device such as a camera or a video camera may be in the form of analog signals, and after the information needs to be converted into digital signals, the digital signals are processed by a device such as a processor, for example, the image is converted, identified, and so on.
In the prior art, the conversion of an analog signal into a Digital signal may generally be implemented by an analog-to-Digital (AD) chip. However, when analog signals are converted by the analog-to-digital conversion chip, one analog-to-digital conversion chip can only convert individual analog signals of several types. When the type or system of the analog signal is changed, conversion of the analog signal may not be possible.
In practical applications, various analog signals may need to be accessed, so how to convert the analog signals of various types becomes a problem to be solved. For example, in the field of video monitoring, a back-end device needs to access an analog signal of a device such as a camera at a front end, however, due to the reason of upgrading or replacing the camera, the type or the system of the analog signal accessed by the back-end device may be changed. The back-end equipment is required to be able to perform conversion of many different types of analog signals.
Disclosure of Invention
The embodiment of the invention aims to provide an analog signal processing method and device for converting 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, which 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 respectively connected to the plurality of analog-to-digital conversion chips, and the plurality of analog-to-digital conversion chips are respectively connected to signal sources that generate analog signals, 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 analog-to-digital conversion chips;
closing all analog-to-digital conversion chips except the target analog-to-digital conversion chip, and connecting the analog-to-digital conversion chip with the signal source and the processor;
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 multiple analog-to-digital conversion chips and connecting the data output ports or pins with the processor;
respectively connecting the data input ports or pins of the multiple analog-to-digital conversion chips with the signal source;
the analog-to-digital conversion chips respectively acquire analog signals to be processed from the signal sources through the data input ports or pins.
Optionally, the determining, from the plurality of analog-to-digital conversion chips, a target analog-to-digital conversion chip that matches the analog signal 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;
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 comprises:
if the analog-to-digital conversion chips do not support the analog signal type or system, the analog signal to be processed is acquired again;
and detecting the type or the 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.
Optionally, the closing the connection between each analog-to-digital conversion chip 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 all the analog-to-digital conversion chips except the target analog-to-digital conversion chip according to the preset information, is connected with the signal source, and closes the data output ports or pins of all 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 and is connected with the processor.
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, where 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 signal sources that generate analog signals, respectively, 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, the data output ports or pins of the multiple analog-to-digital conversion chips are respectively connected with the processor;
and the data input ports or pins of the multiple analog-digital conversion chips are respectively connected with the signal sources.
Optionally, the processor is further connected to the multiple analog-to-digital conversion chips through an integrated circuit bus IIC bus;
and the processor respectively controls the data output ports or pins of the analog-digital conversion chips and the on-off of the data input ports or pins through the IIC bus.
The embodiment of the invention provides an analog signal processing method and device, wherein a plurality of analog-to-digital conversion chips in the analog signal processing device respectively acquire an analog signal to be processed, and a target analog-to-digital conversion chip matched with the analog signal is determined from the plurality of analog-to-digital conversion chips; after the target analog-to-digital conversion chip is determined, all analog-to-digital conversion chips except the target analog-to-digital conversion chip can be closed, and the connection between the analog-to-digital conversion chip and a signal source and the connection between the analog-to-digital conversion chip and a processor are realized. 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 modes are obtained, a target analog-to-digital conversion chip matched with the analog signals can be selected from a plurality of 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 various analog signals of different types. And after the target analog-to-digital conversion chip is determined, all 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, 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. Of course, it is not necessary for any one product or method of practicing the invention to achieve all of the advantages set forth above at the same time.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of an analog signal processing method according to an embodiment of the present invention;
fig. 2 is a block diagram of an analog signal processing apparatus according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the 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) Chip, CPU, FPGA (Field-Programmable Gate Array, field programmable gate array), DSP (Digital Signal Processing, digital signal processor), MCU (Micro Control Unit ), or the like.
Specifically, the data output ports or pins of the multiple analog-to-digital conversion chips are respectively connected with the processor, and each analog-to-digital conversion chip can send the digital information obtained through conversion to the processor through the data output ports or pins.
The multiple analog-digital conversion chips are respectively connected with signal sources for generating analog signals, and the signal sources can be different devices according to different actual conditions, for example, can be cameras, sensors and other devices capable of generating analog signals.
Specifically, the data input ports or pins of the multiple analog-to-digital conversion chips are respectively connected with the signal source, so that each analog-to-digital conversion chip can acquire analog signals from the signal source through the respective data input port or pin.
The processor is also connected to the plurality of analog-to-digital conversion chips through a data bus, for example, an IIC (Inter-Integrated Circuit, integrated circuit bus) bus, etc., through which the processor can control the data input port or pin and the data output port or pin of each analog-to-digital conversion chip, that is, switch on or off the connection between the ports or pins and 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:
The analog signal to be processed is an analog signal generated or acquired by the signal source, and the analog signal needs to be converted into a digital signal and then is further processed by the processor. For example, the analog signal may be video information in the form of an analog signal acquired by a camera or video camera that needs to be converted to a digital signal in order for the video information to be further processed by a processor. For example, image recognition, etc.
In practical applications, the analog signal may be obtained from the signal source by each analog-to-digital conversion chip connected to the signal source. For example, after the signal source generates or collects the analog signal to be processed, the analog signal can be actively sent to each connected analog-digital conversion chip. Thereby enabling each analog-to-digital conversion chip to acquire the analog signal.
After each analog-to-digital conversion chip obtains the analog signal to be processed, whether the analog signal can be converted or not can be determined according to the obtained analog signal, namely, each analog-to-digital conversion chip can judge whether the obtained analog signal can be supported or not. When the analog-to-digital conversion chip can support the acquired analog signal, 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 130, closing the connection between each analog-to-digital conversion chip 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. 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 ports and pins of the respective analog-to-digital conversion chips other than the target analog-to-digital conversion chip are turned off.
And, since the analog signals are not required to be processed by the respective analog-to-digital conversion chips other than the target analog-to-digital conversion chip, the connection between the respective analog-to-digital conversion chips other than the target analog-to-digital conversion chip and the signal source can be closed, and the analog signals are not acquired from the signal source.
In step 140, 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.
Through the above steps, the connections to the signal source and the processor have been closed by the other analog-to-digital conversion chips than the target analog-to-digital conversion chip. 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 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 identified and processed by the processor, for example, the digital signal can be a data stream in the form of BT 656. 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 an 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, all analog-to-digital conversion chips except the target analog-to-digital conversion chip can be closed, and the connection between the analog-to-digital conversion chip and a signal source and the connection between the analog-to-digital conversion chip and a processor are realized. 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 modes are obtained, a target analog-to-digital conversion chip matched with the analog signals can be selected from a plurality of 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 various analog signals of different types. And after the target analog-to-digital conversion chip is determined, all 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, 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.
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 a plurality of analog-to-digital conversion chips do not send converted digital signals to a processor at the same time. In the embodiment shown in fig. 1, step 110 may specifically include:
and 111, respectively closing the data output ports or pins of the multiple analog-to-digital conversion chips and connecting with the processor.
When the analog signal processing device starts to start or starts to work, the processor can close the data output port or pin of each analog-to-digital conversion chip through the IIC bus connected with each analog-to-digital conversion chip, and the processor is connected with the processor. The mode 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, closing a data output clock of the analog-to-digital conversion chip, and outputting data of the analog-to-digital conversion chip with a certain format, such as a BT656 format.
Step 112, respectively connecting the data input ports or pins of the multiple analog-digital conversion chips with the signal source.
Similarly, the processor may connect the data input port or pin of each analog-to-digital conversion chip with the signal source through the IIC bus connected between the analog-to-digital conversion chips, for example, setting the data input port or pin of each analog-to-digital conversion chip to a low-resistance state, or performing an enable operation on the data input port of the analog-to-digital conversion chip. Thus, each analog-to-digital conversion chip can acquire an analog signal to be processed from a signal source through a data input port or a pin.
In step 113, the multiple analog-to-digital conversion chips respectively obtain the analog signals to be processed from the signal sources through the data input ports or pins.
When the data input port or the pin of each analog-to-digital conversion chip is connected with the signal source, each analog-to-digital conversion chip can acquire the 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 signals one by one.
Based on the embodiment shown in fig. 1, in order to more quickly and accurately determine the target analog-to-digital conversion chip, in the embodiment shown in fig. 1, step 120 may specifically include:
in step 121, each of the multiple analog-to-digital conversion chips detects the type or system of the analog signal one by one.
In step 122, if the analog-to-digital conversion chip supports the type or the system of the analog signal, the analog-to-digital conversion chip is determined to be a target analog-to-digital conversion chip matched with the analog signal.
Each of the plurality of analog-to-digital conversion chips may support a different type of analog signal. Therefore, after the analog signals are acquired by the multiple analog-to-digital conversion chips, the types or the modes of the analog signals are detected one by one, and whether the analog signals of the types or the modes can be supported or not is determined, so that the target analog-to-digital conversion chip can be determined.
According to the number of types or modes of the 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, and the main detection chip firstly detects the analog signals, and if the types or modes of the analog signals are not supported, the auxiliary detection chip detects the analog signals.
For example, the analog signal processing apparatus includes A, B, C, D and 4 analog-to-digital conversion chips, and each analog-to-digital conversion chip can support different types or modes of analog signals. If the analog-to-digital conversion chip a can detect the most types or systems of analog signals, 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 first 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 any more, and can directly carry out subsequent steps.
If the analog-to-digital conversion chip A cannot support the type or the system of the analog signal, the analog-to-digital conversion chip B detects the acquired analog signal. Similarly, if the type or the format can be supported, the analog-to-digital conversion chip B is taken as a target analog-to-digital conversion chip. If the type or the standard 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 type or system of analog signals, the analog-to-digital conversion chip A, B, C, D has at least two analog-to-digital conversion chips capable of supporting, but the signal conversion effect of different analog-to-digital conversion chips is good or bad, and after detecting the analog signals, the processor sends the analog-to-digital conversion chip with the best effect to process.
In practical applications, if step 121 and step 122 are performed, it is not determined that the analog-to-digital conversion chip matches the acquired analog signal item, it indicates that an abnormality may occur in the process of detecting the analog signal. The analog signal needs to be re-detected. Therefore, in order to avoid the problem that the analog signal cannot be accessed and converted due to the detection abnormality. The analog signal processing method provided by the embodiment of the invention can further comprise the following steps:
step 123, if the analog-to-digital conversion chips do not support the analog signal type or system, the analog signal to be processed is obtained again.
In the above steps, each analog-to-digital conversion chip performs type or system detection on the analog signal, and each analog-to-digital conversion chip may determine whether itself can support the type or system analog signal.
If all the analog-to-digital conversion chips are judged to be incapable of supporting the analog signals of the type or the system. It may be considered that detection anomalies or errors of the analog signal may occur. Therefore, the analog signal to be processed can be retrieved from the signal source. For example, the analog signals may be acquired synchronously or individually by the respective analog-to-digital conversion chips through the respective data input ports or pins.
And 124, detecting the types or the systems of the analog signals 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 re-acquired, each analog-to-digital conversion chip can detect the type or the system of the analog signal again, and a target analog-to-digital conversion chip capable of supporting the analog signal of the type or the system is determined. The specific process is the same as the above steps, and will not be described here 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 executed, the analog signal processing device may send a prompt message to prompt the relevant personnel to take corresponding measures for processing. For example, when each analog-to-digital conversion chip starts to acquire an analog signal, the processor may count time, and after a preset time is exceeded, if the processor still does not receive the converted digital signal sent by the analog-to-digital conversion chip, it indicates that the 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, so as to avoid continuous detection of the analog signal by each analog-to-digital conversion chip and avoid resource waste.
Based on the embodiment shown in fig. 1, in the embodiment shown in fig. 1, step 130 may specifically include:
in step 131, the processor obtains preset information of the target analog-to-digital conversion chip.
After determining the target analog-to-digital conversion chip, 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, determining which analog-to-digital conversion chip in the plurality of analog-to-digital conversion chips is the determined target analog-to-digital conversion chip. The preset information may be various signal types, and may be applied to the embodiment of the present invention as long as the functions in the embodiment 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 132, the processor closes the data input ports or pins of all the analog-to-digital conversion chips except the target analog-to-digital conversion chip according to the preset information, is connected with the signal source, and closes the data output ports or pins of all the analog-to-digital conversion chips except the target analog-to-digital conversion chip, and is connected with the processor.
After the processor obtains the preset information, it can determine which analog-to-digital conversion chip is the target conversion chip from the multiple analog-to-digital conversion chips according to the preset information. After determining which analog-to-digital conversion chip is the target conversion chip, the processor can 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 set to be in a high-resistance state, so that each analog-to-digital conversion chip except the target analog-to-digital conversion chip is closed, and the analog-to-digital conversion chips except the target analog-to-digital conversion chip are respectively connected with the signal source and the processor. Only the target analog-to-digital conversion chip can acquire an analog signal from a signal source, convert the analog signal to form a digital signal which can be identified and processed by the processor, and then transmit the digital signal to the processor.
In practical application, after the processor obtains the preset information of the target analog-to-digital conversion chip, the analog signal processing method provided by the embodiment of the invention may further include:
and step 133, 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, and is connected with the processor.
Since in the previous step, in order to avoid that a plurality of analog-to-digital conversion chips output the converted digital signals to the processor at the same time. When the multiple analog-to-digital conversion chips receive analog signals, the processor can close the data output port or pin of each analog-to-digital conversion chip and connect with the processor.
When the target analog-to-digital conversion chip is determined and the processor acquires preset information of the target analog-to-digital conversion chip, the type or the system of the acquired analog signal can be supported by the target analog-to-digital conversion chip, 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 the processor receives the preset information, the target analog-to-digital conversion chip can be determined according to the preset information, and then the data output port or pin of the target analog-to-digital conversion chip is controlled 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 communicated with the processor. In the subsequent step, 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 the 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 analog signal of the target analog-to-digital conversion chip, and according to the clock signal, the processor can more accurately process the digital signal.
In a specific application scenario, the analog signal processing device may be a back-end device in the video monitoring device, the signal source may be a device such as a camera, the camera may be connected to data input ports or pins of multiple analog-to-digital conversion chips in the analog signal processing device, and the processor in the analog signal processing device may be an SOC. The video information collected by the camera is in the form of analog signals. In order to further process the video information, the analog signal output by the camera needs to be converted into a digital signal by 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, which are sent by a 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. The processor closes each analog-digital conversion chip except the target analog-digital conversion chip, and is respectively connected with the camera and the processor.
The target analog-to-digital conversion chip can continuously receive video information in the form of analog signals from the video camera, and then convert the video information in the form of signals to form the video information in the form of digital signals. 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 an analog signal to be processed, detect and identify the type or the system of the analog signal, send the detection result to a processor, and the processor determines a target analog-to-digital conversion chip matched with the analog signal according to the detection result; after the target analog-to-digital conversion chip is determined, all analog-to-digital conversion chips except the target analog-to-digital conversion chip can be closed, and the connection between the analog-to-digital conversion chip and a signal source and the connection between the analog-to-digital conversion chip and a processor are realized. 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 clock output of all the analog-to-digital conversion chips; and after the signal is detected, enabling the data output port and the clock output of the corresponding analog-to-digital conversion chip to perform the enabling operation. 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 modes are obtained, a target analog-to-digital conversion chip matched with the analog signals can be selected from a plurality of 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 various analog signals of different types. For example, in the field of video monitoring, an analog signal processing apparatus is used as a back-end device, which needs to access an analog signal of a device such as a camera at a front end, and when the type or system of the analog signal accessed by the back-end device changes due to the reasons such as upgrading or replacement of the camera. The analog signal processing device can automatically adapt to analog signals of different types or modes, so that the back-end equipment can work normally without upgrading or changing, the cost is reduced, and the working efficiency is improved.
And after the target analog-to-digital conversion chip is determined, all analog-to-digital conversion chips except the target analog-to-digital conversion chip can be closed and connected with the signal source and the processor, so that other analog-to-digital conversion chips do not participate in subsequent steps, 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 block diagram of an analog signal processing apparatus according to an embodiment of the present invention.
The analog signal processing means comprises a processor 201 and a plurality of analog to digital conversion chips 202.
The processor 201 is respectively connected to a plurality of analog-to-digital conversion chips 202, and the plurality of analog-to-digital conversion chips 202 are respectively connected to a signal source 203 for generating analog signals. The analog signal processing apparatus can apply the analog signal processing method of any one of the above embodiments.
The signal source 203 may be various hardware devices capable of generating an analog signal, for example, a video camera or a video camera.
The processor 201 may be an SOC (System on Chip) Chip, CPU, FPGA (Field-Programmable Gate Array, field programmable gate array), DSP (Digital Signal Processing, digital signal processor), MCU (Micro Control Unit ), or the like. In the embodiment of the invention, in order to enable the processor to have more abundant control and processing functions, the processor may preferably adopt an SOC.
The plurality of analog-to-digital conversion chips 202 may be provided integrally with the processor 201 on one integrated circuit board, and the connection between the processor 201 and each analog-to-digital conversion chip 202 is achieved through printed wiring on the integrated circuit board.
Or multiple analog-to-digital conversion chips 202 and processors 201 may be disposed on different integrated circuit boards, respectively. The interconnection is realized in the form of data lines or interfaces.
The multiple analog-digital conversion chips 202 may be connected by a signal source 203 in a data line, a cable, or the like, for example, a corresponding data interface or a cable interface is disposed on an integrated circuit board where the multiple analog-digital conversion chips 202 are located, and may be connected with a device such as a camera through the data interface or the cable interface.
In fig. 2, the connection of the plurality of analog-to-digital conversion chips 202 to the processor 201 and the signal source 203, respectively, is shown by solid lines.
In the analog signal processing device provided by the embodiment of the invention, a plurality of analog-to-digital conversion chips are used for respectively acquiring 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, all analog-to-digital conversion chips except the target analog-to-digital conversion chip can be closed, and the connection between the analog-to-digital conversion chip and a signal source and the connection between the analog-to-digital conversion chip and a processor are realized. 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 modes are obtained, a target analog-to-digital conversion chip matched with the analog signals can be selected from a plurality of 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 various analog signals of different types. And after the target analog-to-digital conversion chip is determined, all 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, 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.
In practical application, the data output ports or pins of the multiple analog-to-digital conversion chips 202 may be respectively connected to the processor. The data input ports or pins of the multiple analog-to-digital conversion chips 202 may be respectively connected to the signal source 203.
The data output port or pin of the analog-to-digital conversion chip 202 may output the converted digital signal. The data output ports or pins of the analog to digital conversion chip 202 may be connected to the processor by means of printed wiring or data lines on an integrated circuit board. Thereby enabling the transmission of digital signals to the processor.
The data input port or pin of the analog-to-digital conversion chip 202 may receive an analog signal. 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, or the like.
In addition, in the analog signal processing apparatus provided in 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 bus. The processor 201 controls the data output ports or pins of the multiple analog-digital conversion chips 202 and the on-off of the data input ports or pins through the IIC bus respectively.
As shown in fig. 2, a broken line is shown in fig. 2 to indicate that the processor 201 is respectively 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, except that the data output ports or pins of the multiple analog-to-digital conversion chips 202 are respectively connected to the processor 201. The processor 201 is also connected to a plurality of analog-to-digital conversion chips 202 via IIC buses. The IIC bus enables transmission of control signals and the like. Therefore, the processor can control the data output port or pin of each analog-to-digital conversion chip 202 and the data input port or pin through the IIC bus, for example, the data output port or pin of the analog-to-digital conversion chip 202 is set to be in 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; either the data input port or pin of the analog-to-digital conversion chip 202 is set to a high impedance state, or disable operation is performed on the data input port, so that the connection between the analog-to-digital conversion chip 202 and the signal source 203 is closed, and the analog signal cannot be acquired by the analog-to-digital conversion chip 202.
In the embodiment of the invention, the processor controls 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 processor can be closed. Only one analog-to-digital conversion chip sends digital signals to the processor at the same time, so that signal interference is avoided.
It is noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims (10)
1. An analog signal processing method, wherein the method is applied to an analog signal processing device, the analog signal processing device comprises 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 signal sources for generating analog signals, and the analog signal processing method comprises:
acquiring an analog signal to be processed;
determining a target analog-to-digital conversion chip matched with the analog signal from the analog-to-digital conversion chips;
closing all analog-to-digital conversion chips except the target analog-to-digital conversion chip, and connecting the analog-to-digital conversion chip with the signal source and the processor;
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 acquiring the analog signal to be processed comprises:
respectively closing data output ports or pins of the multiple analog-to-digital conversion chips and connecting the data output ports or pins with the processor;
respectively connecting the data input ports or pins of the multiple analog-to-digital conversion chips with the signal source;
the analog-to-digital conversion chips respectively acquire analog signals to be processed from the signal sources through the data input ports or pins.
3. The method according to claim 1 or 2, wherein said determining a target analog-to-digital conversion chip that matches said analog signal from said plurality of analog-to-digital conversion chips 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;
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. A method according to claim 3, characterized in that the method further comprises:
if the analog-to-digital conversion chips do not support the analog signal type or system, the analog signal to be processed is acquired again;
and detecting the type or the 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.
5. The method of claim 1, wherein said turning off connections between each analog-to-digital conversion chip other than said target analog-to-digital conversion chip, said signal source and said 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 all the analog-to-digital conversion chips except the target analog-to-digital conversion chip according to the preset information, is connected with the signal source, and closes the data output ports or pins of all 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 and is connected with the processor.
7. The method of claim 1, wherein the target analog-to-digital conversion chip converts the analog signal to 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 device, characterized in that the analog signal processing device comprises 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 device is used for applying the analog signal processing method according to any one of claims 1 to 7.
9. The analog signal processing device according to claim 8, wherein data output ports or pins of the plurality of analog-to-digital conversion chips are respectively connected with the processor;
and the data input ports or pins of the multiple analog-digital conversion chips are respectively connected with the signal sources.
10. The analog signal processing device of claim 8, wherein the processor is further coupled to the plurality of analog-to-digital conversion chips via an integrated circuit bus IIC bus;
and the processor respectively controls the data output ports or pins of the analog-digital conversion chips and the on-off of the data input ports or pins through the IIC bus.
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 CN111082807A (en) | 2020-04-28 |
CN111082807B true 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 (8)
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 |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5578066B2 (en) * | 2010-12-22 | 2014-08-27 | ミツミ電機株式会社 | AD conversion method and AD conversion circuit |
-
2018
- 2018-10-18 CN CN201811216432.0A patent/CN111082807B/en active Active
Patent Citations (8)
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 |
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)
Title |
---|
彭江勇.图像处理器硬件测试平台设计与实现.《中国优秀硕士学位论文全文数据库 工程科技辑II》.2014,全文. * |
赵春红 等.基于FPGA实现多路模拟信号自适应采集系统.科技信息.2011,(05),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN111082807A (en) | 2020-04-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9846422B2 (en) | Signal processing apparatus | |
US9170569B2 (en) | Method for electing an active master device from two redundant master devices | |
US20120136614A1 (en) | Wafer inspection system | |
US11354261B2 (en) | Process control system | |
CN104951421A (en) | Automatic numbering and type recognition method and device for serial bus communication devices | |
US7209868B2 (en) | Signal monitoring system and method | |
CN111082807B (en) | Analog signal processing method and device | |
US7694053B2 (en) | Slave assembly for determining source of data received over a two-wire master-slave communications bus | |
US20090150652A1 (en) | Computer monitoring system and monitoring method | |
KR20170122483A (en) | System for detecting communication network | |
CN109471818A (en) | Bus structures implementation method and device | |
JP4661750B2 (en) | ECU function inspection device | |
CN110362522A (en) | A kind of acquisition methods of module id, apparatus and system | |
JP4953005B2 (en) | Semiconductor test equipment | |
US20210159025A1 (en) | Method for calculating the contact state of an electrical switch, and electrical switch with such a method | |
JP2008072328A (en) | Evaluating device for gateway ecu | |
US20130151813A1 (en) | Switch system for dual central processing units | |
WO2017107159A1 (en) | Industrial control method, device, and system for digital equipment | |
US11782093B2 (en) | Detection system and detection method | |
JP6235365B2 (en) | Information processing apparatus and error information acquisition method | |
CN107707255B (en) | Conversion module arranged between detector and analog-to-digital converter | |
TW201522998A (en) | Testing device using standalone control module for testing and method thereof | |
KR20090075202A (en) | Error detecting device for television | |
JPH05204692A (en) | Failure detecting/separating system for information processor | |
TW202238292A (en) | Master unit |
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 |