CN116074155B - Transmission control method, device and system based on composite bus communication equipment - Google Patents

Transmission control method, device and system based on composite bus communication equipment Download PDF

Info

Publication number
CN116074155B
CN116074155B CN202310135421.4A CN202310135421A CN116074155B CN 116074155 B CN116074155 B CN 116074155B CN 202310135421 A CN202310135421 A CN 202310135421A CN 116074155 B CN116074155 B CN 116074155B
Authority
CN
China
Prior art keywords
signal
module
input
conversion
bus
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
Application number
CN202310135421.4A
Other languages
Chinese (zh)
Other versions
CN116074155A (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.)
Guangdong Baolun Electronics Co ltd
Original Assignee
Guangdong Baolun Electronics 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 Guangdong Baolun Electronics Co ltd filed Critical Guangdong Baolun Electronics Co ltd
Priority to CN202310135421.4A priority Critical patent/CN116074155B/en
Publication of CN116074155A publication Critical patent/CN116074155A/en
Application granted granted Critical
Publication of CN116074155B publication Critical patent/CN116074155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a transmission control method, a device and a system based on composite bus communication equipment, wherein the method comprises the following steps: acquiring a first input signal through an input module, and judging the signal type of the first input signal; selecting a corresponding input end to transmit the first input signal according to the signal type, and converting the first input signal through a sign signal to obtain a first conversion signal; transmitting the first conversion signal to a communication bus module through a first change-over switch; acquiring a first conversion signal on the communication bus module through an output module, and detecting a mark signal of the acquired first conversion signal; selecting a corresponding output end to perform conversion processing on the first conversion signal according to the detection result to obtain a second conversion signal; and outputting the second conversion signal to realize the function of transmitting input signals of different signal types by the composite bus in a long-distance, high-quality and low-interference way.

Description

Transmission control method, device and system based on composite bus communication equipment
Technical Field
The present invention relates to the field of broadcast transmission technologies, and in particular, to a transmission control method, apparatus, system, and storage medium based on a composite bus communication device.
Background
At present, in the field of broadcast transmission, a high-reliability, high-quality and low-delay wired transmission mode is mainstream, and particularly, in some occasions with complex environments, serious interference and wide broadcast coverage. The main stream optical fiber transmission, coaxial cable transmission and the like in the wired transmission can carry out the remote transmission of signals only by adding photoelectric, analog-to-digital conversion equipment, relay equipment and the like in the transmission link, and the schemes have high cost and high requirements on the laying environment, and are particularly serious in the broadcast signal transmission in a large-scale and complex environment; the traditional analog signal transmission has the problems of short transmission distance, easy interference and the like; the two-bus transmission schemes which are currently emerging can realize the remote transmission of signals, but have the problem of serious transmission interference, so that the application range is limited. In the field of broadcast signal transmission, the problems of short transmission distance, serious interference, high requirement on transmission wires and the like are to be solved urgently in the field.
Disclosure of Invention
The invention provides a transmission control method, a transmission control device and a transmission control system based on composite bus communication equipment, which are used for realizing the function of transmitting different types of input signals of a composite bus in a long-distance, high-quality and low-interference manner.
In order to realize remote, high-quality and low-interference transmission of different types of input signals, an embodiment of the present invention provides a transmission control method based on a composite bus communication device, where the composite bus communication device includes: the device comprises an input module, a communication bus module and an output module;
the transmission control method includes:
acquiring a first input signal through an input module, and judging the signal type of the first input signal;
selecting a corresponding input end to transmit the first input signal according to the signal type, and converting the first input signal through a sign signal to obtain a first conversion signal; transmitting the first conversion signal to a communication bus module through a first change-over switch;
acquiring a first conversion signal on the communication bus module through an output module, and detecting a mark signal of the acquired first conversion signal; according to the detection result, converting the first conversion signal to obtain a second conversion signal; and selecting a corresponding output end to output the second conversion signal.
As a preferred scheme, the transmission control method based on the composite bus communication equipment is applied to a composite bus, the composite bus is used for transmitting input signals with different signal types, the control input module judges the signal types of the input signals and uses different input ends for transmission, after conversion processing is carried out, first conversion signals on the different input ends are sent to the communication bus module through the first change-over switch, and the communication bus module transmits the first conversion signals with the different signal types after the conversion processing; the control input module detects the sign signal of the first conversion signal, can judge the signal type of the first conversion signal through the sign signal, restores and converts the first conversion signal according to the detection result, namely the signal type of the first conversion signal, and selects a corresponding output end for output;
the invention utilizes different input ends to send different types of input signals, if the composite bus uses two buses to transmit the input signals, the two types of input signals can be distinguished and transmitted, the two different input ends are used for input, the two signal types are distinguished through conversion processing of the sign signals, after the two signal types are transmitted through the communication bus module, the signal type of a first conversion signal is judged through detecting the sign signals of the signals on the communication bus module, and after the two signal types are restored and converted, the two different output ends are used for output, so that the two different types of input signals can be transmitted alternatively;
The transmission control method of the invention uses the composite bus to transmit different types of input signals, and the transmission distance can easily reach several kilometers without relay, thereby improving the anti-interference capability of transmission. The composite bus can not generate excessive high-frequency signals when transmitting signals, so that the external interference and the inter-transmission line interference during working are reduced, and the function of transmitting different types of input signals of the composite bus in a long-distance, high-quality and low-interference manner is realized.
Preferably, according to the signal type, a corresponding input terminal is selected to transmit the first input signal, and the first input signal is converted through a flag signal to obtain a first conversion signal, which specifically includes:
if the signal type is a digital control signal, the first control signal module is used as an input end, and the first input signal is converted into a first bus communication signal to be used as a first conversion signal;
if the signal type is analog audio signal, the first audio signal module is used as an input end, the first input signal and the sign signal are mixed to obtain a first mixed signal, and the first mixed signal is used as a first conversion signal.
As a preferred scheme, the invention transmits one of the digital control signal and the analog audio signal, inputs the input signals with different signal types by using different input ends, directly converts the first input signal into a first bus communication signal when the control type digital information is required to be transmitted on the composite bus, and sends the first bus communication signal to the communication bus module for transmission; when the analog audio signal is required to be transmitted on the composite bus, the first input signal is mixed through the sign signal; the input signals are distinguished by the sign signals, the analog audio signal type is given to the sign signals, and the digital control signal type is given to the sign signals, so that the input signals with different signal types can be transmitted on the same communication bus and can be distinguished by the sign signals.
As a preferred solution, the first control signal module is used as an input end, and the first input signal is converted into a first bus communication signal as a first conversion signal, specifically:
the method comprises the steps that a first MCU module obtains a first input signal input through a first control signal module and sends the first input signal to a first bus communication module, so that the first bus communication module converts the first input signal into a first bus communication signal to serve as a first conversion signal.
As a preferred scheme, when the control type digital information is required to be transmitted on the composite bus, the invention directly converts the first input signal into the first bus communication signal and sends the first bus communication signal to the communication bus module for transmission, thereby realizing the transmission of the digital control signal by the composite bus and realizing the function of the remote, high-quality and low-interference transmission of the digital control signal by the composite bus.
As a preferred solution, the first audio signal module is used as an input end, the first input signal is mixed with the sign signal to obtain a first mixed signal, and the first mixed signal is used as a first conversion signal, specifically:
the method comprises the steps of controlling a composite signal module to obtain a first input signal input by a first audio signal module, and controlling a mark signal module to send the mark signal to the composite signal module through a first MCU module so that the composite signal module mixes the first input signal with the mark signal to obtain a first mixed signal as a first conversion signal.
Preferably, when the analog audio signal is required to be transmitted on the composite bus, the first input signal is mixed through the sign signal; the input signals are distinguished through the mark signals, the type of the analog audio signals is the type of the mark signals, the type of the digital control signals is the type of the mark signals, the input signals with different signal types can be transmitted on the same communication bus, the distinction can be realized through the mark signals, the transmission of the analog audio signals and the digital control signals by the composite bus is realized, and the functions of the composite bus for transmitting the analog audio signals and the digital control signals in a long-distance, high-quality and low-interference manner are realized.
As a preferred solution, the first conversion signal is sent to the communication bus module through the first switch, specifically:
the first MCU module is used for controlling the first switch module to send the first conversion signal on the first bus communication module or the composite signal module to the communication bus module.
As a preferred scheme, the first MCU module controls the first switch module to send the input signals of different input ends to the communication bus module, and when the digital control signals are required to be transmitted, the first switch module is controlled to send the signals on the first bus communication module to the communication bus module; when the analog audio signal is required to be transmitted, the first switching module is controlled to send the signal on the composite signal module to the communication bus module; the function of transmitting the digital control signal or the analog audio signal in a long-distance, high-quality and low-interference way by the composite bus is realized.
As a preferred scheme, a first conversion signal on the communication bus module is obtained through an output module, the mark signal of the obtained first conversion signal is detected in real time, and conversion processing is carried out on the first conversion signal according to the detection result, so as to obtain a second conversion signal; selecting a corresponding output end to output the second conversion signal, specifically:
If the first conversion signal is detected to be not provided with a mark signal, the first conversion signal is sent to a second MCU module, so that the second MCU module sends the first conversion signal to a second bus communication module through a second change-over switch, the second bus communication module is controlled to convert the first conversion signal into a control signal, and the control signal is sent to a second control signal module to be output;
if the first conversion signal is detected to be provided with the mark signal, a second switching signal is sent to the second MCU module, so that the second MCU module sends the first conversion signal to the audio frequency separation module through the second switching switch, the audio frequency separation module removes the mark signal of the first conversion signal, amplifies the first conversion signal after the mark signal is removed, obtains an original audio frequency signal, and sends the original audio frequency signal to the second audio frequency signal module for output.
As a preferred scheme, after the signal is transmitted through the communication bus module, the signal type of the first conversion signal is judged by detecting the sign signal of the signal on the communication bus module, and after the conversion is restored, the signal is output by using two different output ends, so that the digital control signal or the analog audio signal can be transmitted alternatively, and the function of transmitting the digital control signal or the analog audio signal in a composite bus in a long distance, high quality and low interference manner is realized.
Correspondingly, the invention also provides a transmission control device based on the composite bus communication equipment, which comprises: the device comprises an input module, a communication bus module, an output module and a control module;
the control module is used for acquiring a first input signal through the input module and judging the signal type of the first input signal;
selecting a corresponding input end to transmit the first input signal according to the signal type, and converting the first input signal through a sign signal to obtain a first conversion signal; transmitting the first conversion signal to a communication bus module through a first change-over switch;
acquiring a first conversion signal on the communication bus module through an output module, and detecting a mark signal of the acquired first conversion signal; according to the detection result, converting the first conversion signal to obtain a second conversion signal; and selecting a corresponding output end to output the second conversion signal.
As a preferred scheme, the transmission control device based on the composite bus communication equipment is applied to a composite bus, the composite bus is used for transmitting input signals with different signal types, the control input module judges the signal types of the input signals and uses different input ends for transmission, after conversion processing is carried out, first conversion signals on the different input ends are sent to the communication bus module through the first change-over switch, and the communication bus module transmits the first conversion signals with the different signal types after the conversion processing; the control output module detects the sign signal of the first conversion signal, can judge the signal type of the first conversion signal through the sign signal, restores and converts the first conversion signal according to the detection result, namely the signal type of the first conversion signal, and selects a corresponding output end for output;
The invention utilizes different input ends to send different types of input signals, if the composite bus uses two buses to transmit the input signals, the two types of input signals can be distinguished and transmitted, the two different input ends are used for input, the two signal types are distinguished through conversion processing of the sign signals, after the two signal types are transmitted through the communication bus module, the signal type of a first conversion signal is judged through detecting the sign signals of the signals on the communication bus module, and after the two signal types are restored and converted, the two different output ends are used for output, so that the two different types of input signals can be transmitted alternatively;
the transmission control method of the invention uses the composite bus to transmit different types of input signals, and the transmission distance can easily reach several kilometers without relay, thereby improving the anti-interference capability of transmission. The composite bus can not generate excessive high-frequency signals when transmitting signals, so that the external interference and the inter-transmission line interference during working are reduced, and the function of transmitting different types of input signals of the composite bus in a long-distance, high-quality and low-interference manner is realized.
Preferably, the input module includes: the system comprises a composite signal module, a sign signal module and a first MCU module;
If the signal type is a digital control signal, the control module acquires a first input signal input through the first control signal module through the first MCU module and sends the first input signal to the first bus communication module so that the first bus communication module converts the first input signal into a first bus communication signal as a first conversion signal;
if the signal type is an analog audio signal, the control module controls the composite signal module to acquire a first input signal input by the first audio signal module, and controls the mark signal module to send the mark signal to the composite signal module through the first MCU module so that the composite signal module mixes the first input signal with the mark signal to acquire a first mixed signal as a first conversion signal;
the first bus communication module is controlled by the first MCU module to send the first conversion signal to the communication bus module through the first switch module.
As a preferred scheme, the input module controls the first switching switch module to send input signals of different input ends to the communication bus module through the first MCU module, and controls the first switching switch module to send signals on the first bus communication module to the communication bus module when digital control signals need to be transmitted; when the analog audio signal is required to be transmitted, the first switching module is controlled to send the signal on the composite signal module to the communication bus module; the function of transmitting the digital control signal or the analog audio signal in a long-distance, high-quality and low-interference way by the composite bus is realized.
Preferably, the output module includes: the device comprises a detection module, an audio separation module and a second MCU module;
the detection module is used for acquiring a first conversion signal on the communication bus module and detecting the first conversion signal;
if the detection module detects that the first conversion signal does not have the mark signal, the control module sends the first conversion signal to the second MCU module so that the second MCU module sends the first conversion signal to the second bus communication module through the second change-over switch, controls the second bus communication module to convert the first conversion signal into the control signal, and sends the control signal to the second control signal module for output;
if the detection module detects that the first conversion signal has the sign signal, the control module sends a second switching signal to the second MCU module, so that the second MCU module sends the first conversion signal to the audio frequency separation module through the second switching switch, and then the audio frequency separation module removes the sign signal of the first conversion signal, amplifies the first conversion signal after the sign signal is removed, obtains an original audio frequency signal, and sends the original audio frequency signal to the second audio frequency signal module for output.
As a preferred scheme, after the signal is transmitted through the communication bus module, the detection module judges the signal type of the first conversion signal by detecting the sign signal of the signal on the communication bus module, and after the conversion, the signal type is output by two different output ends, so that the digital control signal or the analog audio signal can be transmitted alternatively, and the function of transmitting the digital control signal or the analog audio signal in a long-distance, high-quality and low-interference way through the composite bus can be realized.
Correspondingly, the invention also provides a transmission control system based on the composite bus communication equipment, which comprises the following components: the device comprises a communication sending module, an input module, a communication bus module, an output module, a control module and a communication receiving module;
the communication sending module is used for sending input signals with different signal types;
the communication receiving module is used for receiving output signals with different signal types;
the input module is used for judging the signal type of the first input signal, selecting a corresponding input end to transmit the first input signal according to the signal type, and converting the first input signal through a sign signal to obtain a first converted signal; transmitting the first conversion signal to a communication bus module through a first change-over switch;
The communication bus module is used for transmitting a first conversion signal;
the output module is used for acquiring a first conversion signal on the communication bus module and detecting a mark signal of the acquired first conversion signal; according to the detection result, converting the first conversion signal to obtain a second conversion signal; selecting a corresponding output end to output the second conversion signal;
the control module is used for controlling the input module, the communication bus module and the output module.
As a preferred scheme, the communication transmitting end and the receiving end of the composite bus are controlled to adopt a half duplex mechanism, the communication transmitting end transmits input signals with different signal types, the receiving end receives output signals with different signal types, the different input ends are utilized to transmit the input signals with different types, if the composite bus uses two buses to transmit the input signals, the two types of input signals can be distinguished and transmitted, the two types of input signals are input through the two different input ends, the two types of signal types are distinguished through the conversion processing of the marking signals, after the two types of input signals are transmitted through the communication bus module, the signal type of a first conversion signal is judged through the marking signals of the signals on the communication bus module, and after the two types of input signals are restored and converted, the two different output ends are utilized to output, so that the two types of input signals with different types are transmitted alternatively;
The transmission control method of the invention uses the composite bus to transmit different types of input signals, and the transmission distance can easily reach several kilometers without relay, thereby improving the anti-interference capability of transmission. The composite bus can not generate excessive high-frequency signals when transmitting signals, so that the external interference and the inter-transmission line interference during working are reduced, and the function of transmitting different types of input signals of the composite bus in a long-distance, high-quality and low-interference manner is realized.
Accordingly, the present invention also provides a computer-readable storage medium including a stored computer program; the computer program controls the device where the computer readable storage medium is located to execute a transmission control method based on the composite bus communication device according to the present disclosure when running.
Drawings
Fig. 1 is a schematic flow chart of an embodiment of a transmission control method based on a composite bus communication device according to the present invention;
fig. 2 is a schematic structural diagram of an embodiment of a transmission control device based on a composite bus communication device according to the present invention;
fig. 3 is a schematic structural diagram of another embodiment of a transmission control device based on a composite bus communication device according to the present invention;
Fig. 4 is a circuit diagram of an audio signal module 1 according to an embodiment of a transmission control apparatus based on a composite bus communication device provided by the present invention;
fig. 5 is a circuit diagram of a composite signal module according to an embodiment of a transmission control device based on a composite bus communication apparatus provided by the present invention;
fig. 6 is a circuit diagram of a switch 1 according to an embodiment of a transmission control device based on a composite bus communication apparatus provided by the present invention;
fig. 7 is a circuit diagram of a bus communication module 1 according to an embodiment of a transmission control device based on a composite bus communication apparatus provided by the present invention;
fig. 8 is a circuit diagram of an MCU module 1 according to an embodiment of a transmission control device based on a composite bus communication apparatus provided by the present invention;
fig. 9 is a circuit diagram of a flag signal module of an embodiment of a transmission control apparatus based on a composite bus communication device provided by the present invention;
fig. 10 is a circuit diagram of a detection module of an embodiment of a transmission control device based on a composite bus communication device provided by the present invention;
FIG. 11 is a circuit diagram of an audio separation module of an embodiment of a transmission control device based on a composite bus communication device according to the present invention;
Fig. 12 is a circuit diagram of an audio signal module 2 according to an embodiment of a transmission control apparatus based on a composite bus communication device provided by the present invention;
fig. 13 is a circuit diagram of a bus transmitting end of an embodiment of a transmission control device based on a composite bus communication device according to the present invention;
fig. 14 is a circuit diagram of a bus receiving end of an embodiment of a transmission control device based on a composite bus communication device according to the present invention;
fig. 15 is a schematic structural diagram of an embodiment of a transmission control system based on a composite bus communication device according to 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.
Example 1
Referring to fig. 1, a transmission control method based on a composite bus communication device according to an embodiment of the present invention includes: the device comprises an input module, a communication bus module and an output module;
The transmission control method includes steps S101-S103:
step S101: acquiring a first input signal through an input module, and judging the signal type of the first input signal;
step S102: selecting a corresponding input end to transmit the first input signal according to the signal type, and converting the first input signal through a sign signal to obtain a first conversion signal; transmitting the first conversion signal to a communication bus module through a first change-over switch;
in this embodiment, according to the signal type, a corresponding input terminal is selected to transmit the first input signal, and the first input signal is converted by the flag signal to obtain a first conversion signal, which specifically includes:
if the signal type is a digital control signal, the first control signal module is used as an input end, and the first input signal is converted into a first bus communication signal to be used as a first conversion signal;
if the signal type is analog audio signal, the first audio signal module is used as an input end, the first input signal and the sign signal are mixed to obtain a first mixed signal, and the first mixed signal is used as a first conversion signal.
In this embodiment, the first control signal module is used as an input end, and the first input signal is converted into the first bus communication signal as the first conversion signal, which specifically is:
the method comprises the steps that a first MCU module obtains a first input signal input through a first control signal module and sends the first input signal to a first bus communication module, so that the first bus communication module converts the first input signal into a first bus communication signal to serve as a first conversion signal.
In this embodiment, the first bus communication module is connected to the first switch and the first MCU module, respectively, and is configured to convert signals such as control and communication commands from the first MCU module into bus communication signals, such as RS485, CAN, etc.
In this embodiment, the flag signal module is connected to the first MCU module and the composite signal module, respectively, where the flag signal module is configured to shape an original 30KHz square wave flag signal generated by the first MCU module into a sine wave signal, and amplify the sine wave signal for output.
In this embodiment, the first control signal module is connected to the first MCU module, and is used for accessing a common control signal.
In this embodiment, the first audio signal module is used as an input end, the first input signal is mixed with the flag signal to obtain a first mixed signal, and the first mixed signal is used as a first conversion signal, specifically:
The method comprises the steps of controlling a composite signal module to obtain a first input signal input by a first audio signal module, and controlling a mark signal module to send the mark signal to the composite signal module through a first MCU module so that the composite signal module mixes the first input signal with the mark signal to obtain a first mixed signal as a first conversion signal.
In this embodiment, the composite signal module is connected to the first audio signal module, the flag signal module, and the first switch respectively, and the composite signal module is configured to obtain an audio signal transmitted by the first audio signal module or a flag signal sent by the flag signal module, and output the audio signal or the flag signal to the first switch after being combined.
In this embodiment, the digital control signal and the analog audio signal are transmitted alternatively, and different input ends are used for inputting the input signals with different signal types, and when the control type digital information needs to be transmitted on the composite bus, the first input signal is directly converted into a first bus communication signal and sent to the communication bus module for transmission; when the analog audio signal is required to be transmitted on the composite bus, the first input signal is mixed through the sign signal; the input signals are distinguished through the mark signals, the analog audio signal type is adopted as the mark signals, and the digital control signal type is adopted as the mark signals without the mark signals, so that the input signals with different signal types can be transmitted on the same communication bus and can be distinguished through the mark signals; when the control type digital information is required to be transmitted on the composite bus, the first input signal is directly converted into a first bus communication signal and is sent to the communication bus module for transmission, so that the composite bus can transmit the digital control signal, and the function of transmitting the digital control signal in a long-distance, high-quality and low-interference manner by the composite bus is realized.
In this embodiment, the first conversion signal is sent to the communication bus module through the first switch, specifically:
the first MCU module is used for controlling the first switch module to send the first conversion signal on the first bus communication module or the composite signal module to the communication bus module.
In this embodiment, the first switch is connected to the communication bus, the composite signal module, the first MCU module and the first bus communication module respectively, and connects the first mixed signal output by the composite signal module or the first bus communication signal of the first bus communication module to the communication bus under the control of the first MCU module; the control circuit is responsible for controlling the input of different types of signals, the output of a sign signal, the control of a first change-over switch and the like;
in this embodiment, the communication bus module includes a communication bus, where the communication bus is a common 2-core parallel cable or twisted pair cable, and the communication distance can reach more than 2 km when the cable core is not less than 1.5 square.
In this embodiment, the first MCU module controls the first switch module to send the input signals of different input ends to the communication bus module, and when the digital control signals need to be transmitted, controls the first switch module to send the signals on the first bus communication module to the communication bus module; when the analog audio signal is required to be transmitted, the first switching module is controlled to send the signal on the composite signal module to the communication bus module; the function of transmitting the digital control signal or the analog audio signal in a long-distance, high-quality and low-interference way by the composite bus is realized.
Step S103: acquiring a first conversion signal on the communication bus module through an output module, and detecting a mark signal of the acquired first conversion signal; according to the detection result, converting the first conversion signal to obtain a second conversion signal; and selecting a corresponding output end to output the second conversion signal.
In this embodiment, according to the detection result, the first conversion signal is subjected to conversion processing, so as to obtain a second conversion signal; selecting a corresponding output end to output the second conversion signal, specifically:
if the first conversion signal is detected to be free of the mark signal, the first conversion signal is sent to the second MCU module, so that the second MCU module sends the first conversion signal to the second bus communication module through the second change-over switch, the second bus communication module is controlled to convert the first conversion signal into a control signal to serve as a second conversion signal, and the second conversion signal (control signal) is sent to the second control signal module to be output;
if the first conversion signal is detected to be provided with the sign signal, a second switching signal is sent to the second MCU module, so that the second MCU module sends the first conversion signal to the audio frequency separation module through the second switching switch, the audio frequency separation module removes the sign signal of the first conversion signal, amplifies the first conversion signal after the sign signal is removed, obtains an original audio frequency signal as a second conversion signal, and sends the second conversion signal (original audio frequency signal) to the second audio frequency signal module for output.
In this embodiment, the detection module is connected to the communication bus and the second MCU module, respectively, and is configured to detect a 30KHz flag signal on the communication bus, and output a changed level to the second MCU module after detecting the flag signal;
in this embodiment, the second MCU module is connected to the second control signal module, the second switch, and the second bus communication module, where the second MCU module is configured to receive detection result data sent by the detection module, input and output control data of the second control signal, control switching of the second switch, communication data interaction of the second communication module, and so on;
in this embodiment, the second bus communication module is connected to the second MCU module and the second switch, where the second bus communication module is configured to convert signals such as control and communication instructions from the second MCU module into bus communication signals, such as RS485 and CAN signals;
in this embodiment, the second control signal module is connected to the second MCU module, and the second control signal module is used for accessing a common control signal;
in this embodiment, the second switch is connected to the communication bus, the second bus communication module, the second MCU module and the audio separation module, where the second switch connects the communication bus to the input of the second bus communication module or the audio separation module under the control of the second MCU module;
In this embodiment, the audio separation module is connected to the second switch, and is configured to remove the 30KHz flag signal of the composite signal on the bus, and retain the original audio signal;
in this embodiment, the second audio signal module is connected to the audio separation module, and amplifies the audio signal output by the audio separation module, from which the flag signal is removed, and outputs the amplified audio signal.
In this embodiment, after the signal is transmitted through the communication bus module, the signal type of the first conversion signal is determined by detecting the flag signal of the signal on the communication bus module, and after the conversion is restored, the signal is output by using two different output ends, so that the digital control signal or the analog audio signal can be transmitted alternatively, and the function of transmitting the digital control signal or the analog audio signal in a composite bus in a long distance, high quality and low interference manner is realized.
The implementation of the embodiment of the invention has the following effects:
the transmission control method based on the composite bus communication equipment is applied to a composite bus, the composite bus is used for transmitting input signals of different signal types, the control input module judges the signal types of the input signals and transmits the input signals by using different input ends, after conversion processing is carried out, first conversion signals on the different input ends are sent to a communication bus module through a first change-over switch, and the communication bus module transmits the first conversion signals of the different signal types subjected to the conversion processing; the control input module detects the sign signal of the first conversion signal, can judge the signal type of the first conversion signal through the sign signal, restores and converts the first conversion signal according to the detection result, namely the signal type of the first conversion signal, and selects a corresponding output end for output;
The invention utilizes different input ends to send different types of input signals, if the composite bus uses two buses to transmit the input signals, the two types of input signals can be distinguished and transmitted, the two different input ends are used for input, the two signal types are distinguished through conversion processing of the sign signals, after the two signal types are transmitted through the communication bus module, the signal type of a first conversion signal is judged through detecting the sign signals of the signals on the communication bus module, and after the two signal types are restored and converted, the two different output ends are used for output, so that the two different types of input signals can be transmitted alternatively;
the transmission control method of the invention uses the composite bus to transmit different types of input signals, and the transmission distance can easily reach several kilometers without relay, thereby improving the anti-interference capability of transmission. The composite bus can not generate excessive high-frequency signals when transmitting signals, so that the external interference and the inter-transmission line interference during working are reduced, and the function of transmitting different types of input signals of the composite bus in a long-distance, high-quality and low-interference manner is realized.
Example two
Referring to fig. 2, a transmission control device based on a composite bus communication device according to an embodiment of the present invention includes: an input module 201, a communication bus module 202, an output module 203 and a control module 204;
The control module 204 is configured to obtain a first input signal through the input module 201, and determine a signal type of the first input signal;
selecting a corresponding input end to transmit the first input signal according to the signal type, and converting the first input signal through a sign signal to obtain a first conversion signal; transmitting the first conversion signal to the communication bus module 202 through a first switch;
acquiring a first conversion signal on the communication bus module through an output module 203, and detecting a mark signal of the acquired first conversion signal; according to the detection result, converting the first conversion signal to obtain a second conversion signal; and selecting a corresponding output end to output the second conversion signal.
The input module 201 includes: the system comprises a composite signal module, a sign signal module and a first MCU module;
if the signal type is a digital control signal, the control module 204 obtains a first input signal input through the first control signal module through the first MCU module, and sends the first input signal to the first bus communication module, so that the first bus communication module converts the first input signal into a first bus communication signal as a first conversion signal;
If the signal type is an analog audio signal, the control module 204 controls the composite signal module to acquire a first input signal input by the first audio signal module, and controls the flag signal module to send the flag signal to the composite signal module through the first MCU module, so that the composite signal module mixes the first input signal and the flag signal to acquire a first mixed signal as a first conversion signal;
the first bus communication module is controlled by the first MCU module to send the first conversion signal to the communication bus module 202 through the first switch module.
The output module 203 includes: the device comprises a detection module, an audio separation module and a second MCU module;
the detection module is configured to obtain a first conversion signal on the communication bus module 202, and detect the first conversion signal;
if the detection module detects that the first conversion signal does not have the sign signal, the control module 204 sends the first conversion signal to the second MCU module, so that the second MCU module sends the first conversion signal to the second bus communication module through the second switch, controls the second bus communication module to convert the first conversion signal into a control signal, and sends the control signal to the second control signal module for output;
If the detection module detects that the first conversion signal has the sign signal, the control module 204 sends a second switching signal to the second MCU module, so that the second MCU module sends the first conversion signal to the audio separation module through the second switching switch, and further the audio separation module removes the sign signal of the first conversion signal, amplifies the first conversion signal after the sign signal is removed, obtains an original audio signal, and sends the original audio signal to the second audio signal module for output.
The transmission control device based on the composite bus communication equipment can implement the transmission control method based on the composite bus communication equipment in the method embodiment. The options in the method embodiments described above are also applicable to this embodiment and will not be described in detail here. The rest of the embodiments of the present application may refer to the content of the method embodiments described above, and in this embodiment, no further description is given.
The implementation of the embodiment of the invention has the following effects:
the transmission control method based on the composite bus communication equipment is applied to a composite bus, the composite bus is used for transmitting input signals of different signal types, the control input module judges the signal types of the input signals and transmits the input signals by using different input ends, after conversion processing is carried out, first conversion signals on the different input ends are sent to a communication bus module through a first change-over switch, and the communication bus module transmits the first conversion signals of the different signal types subjected to the conversion processing; the control input module detects the sign signal of the first conversion signal, can judge the signal type of the first conversion signal through the sign signal, restores and converts the first conversion signal according to the detection result, namely the signal type of the first conversion signal, and selects a corresponding output end for output;
The invention utilizes different input ends to send different types of input signals, if the composite bus uses two buses to transmit the input signals, the two types of input signals can be distinguished and transmitted, the two different input ends are used for input, the two signal types are distinguished through conversion processing of the sign signals, after the two signal types are transmitted through the communication bus module, the signal type of a first conversion signal is judged through detecting the sign signals of the signals on the communication bus module, and after the two signal types are restored and converted, the two different output ends are used for output, so that the two different types of input signals can be transmitted alternatively;
the transmission control method of the invention uses the composite bus to transmit different types of input signals, and the transmission distance can easily reach several kilometers without relay, thereby improving the anti-interference capability of transmission. The composite bus can not generate excessive high-frequency signals when transmitting signals, so that the external interference and the inter-transmission line interference during working are reduced, and the function of transmitting different types of input signals of the composite bus in a long-distance, high-quality and low-interference manner is realized.
Example III
In order to better explain the present invention, this embodiment provides an embodiment of a transmission control device based on a composite bus communication device, including: two control signal modules, two audio signal modules, a composite signal module, two switches, two bus communication modules, two MCU modules, a flag signal module, a detection module, an audio separation module, a communication bus module and a control module (control module is not shown in the figure);
Referring to fig. 3, the transmission control device based on the composite bus communication device specifically includes: control signal 1, audio signal module 1, composite signal module, change-over switch 1, bus communication module 1, MCU module 1, sign signal module, detection module, change-over switch 2, bus communication module 2, MCU module 2, control signal 2, audio separation module, audio signal module 2 and communication bus; one end of the communication bus is a bus transmitting end, and the other end of the communication bus is a bus receiving end.
Wherein, the control signal 1 is connected with the MCU module 1; the bus communication module 1 is respectively connected with the change-over switch 1 and the MCU module 1; the marking signal module is respectively connected with the MCU module 1 and the composite signal module; the composite signal module is respectively connected with the audio signal module 1, the sign signal module and the change-over switch 1; the change-over switch 1 is respectively connected with the communication bus, the composite signal module, the MCU module 1 and the bus communication module 1,
the detection module is respectively connected with the communication bus and the MCU module 2; the bus communication module 2 is respectively connected with the MCU module 2 and the change-over switch 2; the control signal module 2 is connected with the MCU module 2; the change-over switch 2 is respectively connected with the communication bus, the bus communication module 2, the MCU module 2 and the audio separation module; the audio separation module is connected with the change-over switch 2, and the audio signal module 2 is connected with the audio separation module.
Referring to fig. 4-13, circuit diagrams of an audio signal module 1, a composite signal module, a switch 1, a bus communication module 1, an MCU module 1, a flag signal module, a bus transmitting end, a detecting module, an audio separating module, an audio signal module 2 and a bus receiving end are shown respectively;
as shown in fig. 4, a circuit diagram of an audio signal module 1 is shown, wherein a transport amplifier U2A, a resistor R1, a resistor R2 and a capacitor C3 form an inverting amplifier circuit, an audio signal is connected to an input end of the inverting amplifier circuit through a socket J1, a capacitor C6 and a resistor R5 form an RC output filter circuit, an amplified audio signal AUD I O is output to a next-stage circuit through the capacitor C6, and a bead FB1, a bead FB2, the capacitor C1, the capacitor C2, the capacitor C14 and the capacitor C17 form a power supply filter circuit of an operational amplifier for decoupling and purifying a power supply of the operational amplifier; the composite signal module is connected with the output of the audio signal module 1 and the output of the marking signal module, and is a place where the audio signal and the 30KHz marking signal are compounded, and the compounded audio signal is converted into a balanced signal and sent to the next stage.
Fig. 5 shows a circuit diagram of a composite signal module, in which, an operational amplifier U4A, a resistor R11 and a resistor R10 form an inverse operational amplifier circuit, an operational amplifier U2B forms a voltage follower circuit, an audio signal sent from the previous stage is mixed with a 30KHz mark signal sent from the previous stage through an RC filter formed by a capacitor C23 and a resistor R9 and then through an RC filter formed by a capacitor C32 and a resistor R17 to form a composite signal, the composite signal simultaneously passes through the inverse operational amplifier and the voltage follower with the same amplification factor, then outputs a positive composite signal through a capacitor C21, outputs a negative composite signal through a capacitor C31, the positive and negative composite signals are balanced signal composite signals suitable for bus transmission, and the output balanced composite signal is directly sent to a next stage circuit, and the magnetic bead FB3, the magnetic bead FB4, the capacitor C19, the capacitor C20, the capacitor C25 and the capacitor C29 form a power filter circuit of the operational amplifier for decoupling and purifying the power supply of the operational amplifier.
As shown in fig. 6, a circuit diagram of a change-over switch 1 is shown, wherein a two-way relay JK1 is a core switching element, two paths of movable contacts of the relay are connected with a communication bus, two paths of normally closed contacts of the relay are connected with an output end of a bus communication module 1, two paths of normally open contacts of the relay are connected with an output end of a composite signal module, a triode Q1, a triode Q2, a resistor R34, a resistor R35, a resistor R36 and a formed relay driving circuit are connected, a signal K1 is outputted by an upper-level MCU to directly control the on-off of the relay, a magnetic bead RZ2 is used for filtering a relay power supply, and a diode D1 is used for protecting the relay.
The change-over switch 1 is used for a switching circuit of a bus transmitting end of the device, and is used for switching a composite signal of the bus transmitting end and a bus communication signal, and specifically comprises the following components: when the communication bus is required to be connected with the composite signal module, the MCU1 controls the K1 to be connected with the relay in a sucking way, and when the communication bus is required to be connected with the bus communication module 1, the MCU1 controls the K1 to be connected with the relay in a releasing way; the bus communication module is connected before the change-over switch 1 and after the MCU module 1, and is a bridge for the MCU module 1 to send communication data to the communication bus, and the data from the bus and the data of the MCU module 1 are converted.
Fig. 7 shows a circuit diagram of the bus communication module 1, wherein pins 1 and 4 of the RS485 converter U8 output and input TTL level data that can be directly identified by the MCU module 1, pins 6 and 7 of the RS485 converter U8 output RS485 signals suitable for bus transmission, and a resistor R41 is a bus termination resistor for impedance matching of a transmission bus. Ceramic filter capacitor C58, ceramic filter capacitor C59, magnetic bead RZ4 are the input filter of bus, resistance R37, resistance R43 are the pull-up and pull-down resistance of bus respectively, electric capacity C57 is the decoupling capacitance of RS485 converter U8 power supply end, resistance R38, resistance R39 are the transmission of MCU module 1 data, receive and enable pull-up resistance, magnetic bead RZ3 is used for total power supply filtering, electric capacity C60 is enable level decoupling capacitance, resistance R40, resistance R42 is the data line protection resistance of MCU module 1 data end. When the MCU module 1 is in communication with the bus, TTL data sent to the bus by the MCU module 1 is accessed to the RS485 converter through the resistor R42, converted RS485 data signals are output to the communication bus through pins 6 and 7 of the RS485 converter, meanwhile, RS485 data required to be sent to the MCU module 1 on the bus is accessed through pins 6 and 7 of the RS485 converter, TTL level signals which can be identified by the MCU module 1 are output from pin 1 of the RS485 converter, and the TTL level signals are sent to a data input end of the MCU module 1 through the resistor R40. The RS485 signal adopted in the bus data communication CAN also be replaced by a CAN signal. RS485 and CAN signals are the most common remote data transmission mode in the field of industrial control, and have good stability and high reliability. The standard communication signal is also suitable for transmitting data signals on two buses in a long distance, and does not generate larger electromagnetic interference to the surrounding, which is also an important reason for extremely small interference to the outside when the device is in communication.
Fig. 8 shows a circuit diagram of an MCU module 1, wherein the MCU module 1 is a master control of an M487S I DAE (LQFP-64) chip of NUOVOTN, and is connected to TTL data level terminals of a bus communication module through UART1 functions of pins 10 and 11, for performing data interaction with a bus, pin 60K 1 is connected to a control terminal of a switch, for controlling a switching state of the switch, pin 56 is connected to an input terminal of a flag signal module, for outputting a 30KHz square wave signal to the flag signal module, and other ports I O are used for accessing and outputting other control signal level signals. The crystal oscillator Y1, resistor, capacitor, magnetic bead and other elements outside the main chip are used as clock, power decoupling, filtering and other functional devices of the main chip, and will not be described here.
The MCU module 1 is connected with the bus communication module 1, the change-over switch 1, the control signal 1 and the sign signal module at the same time, and communicates or controls the modules. The MCU module 1 plays the roles of generating a sign signal, controlling the change-over switch 1, accessing other control signals and delivering communication with a bus at the transmitting end of the device, and is a control core of the whole device. The marking signal module is connected behind the MCU module 1 and before the composite signal module, the 30KHz square wave signal output by the MCU module passes through the composite signal module and then outputs a standard 30KHz sine wave signal which is used as the marking signal to be output to the composite signal module.
Fig. 9 shows a circuit diagram of a sign signal module, in which, an operational amplifier U4B, a resistor R21, a resistor R22, a resistor R23, a resistor R24, a resistor R31, a resistor R18, a resistor R19, a capacitor C38, a capacitor C31, a capacitor C50, a capacitor C48, a capacitor C49, and a capacitor C36 form an RC filter circuit and an integrating circuit, after a 30KHz square wave signal is input through the capacitor C38, a 30KHz sine wave signal is output from the 7 th pin of the operational amplifier, the resistor R25 and the resistor R29 form a voltage divider circuit to adjust the output signal, the operational amplifier U7A forms a voltage follower, the same sine wave signal as the input of the 3 rd pin is output from the 1 st pin of the operational amplifier U7A, the driving capability of the signal is stronger, the capacitor C41 couples the output signal, and the capacitor C37 and the capacitor C51 are power decoupling capacitors of the operational amplifier for purifying and filtering the power supply. The 30KHz square wave signal from the MCU module 1 outputs a 30KHz sine wave signal with strong driving capability after filtering, integral operation and size adjustment of the sign signal module, and is used as a sign signal of the composite signal module. The 30KHz square wave signal used for the marking signal is converted into a sine wave signal, and the high-frequency signal component in the signal is filtered, so that a plurality of interference sources are removed, and the external interference of the composite signal when the composite signal is transmitted on a bus can be greatly reduced. This is also an important factor in the minimum interference to the outside when the device is transmitting signals.
The control signal 1 is a functional port for connecting and disconnecting an external control signal which can be expanded by the device, and is directly connected with a I O port of the MCU module 1. This part is not a critical technical part of the device and is not described in detail.
The communication bus is an important component of the transmitting end and the receiving end of the device, the bus used by the device is a common 2-core parallel cable or a twisted pair cable, and the communication distance can reach more than 2 km when the cable core is not less than 1.5 square. The device has low cable requirements on the communication bus and is also a great advantage over other bus communication modes.
The MCU module 2 is connected with the detection module, the control signal 2, the change-over switch 2 and the bus communication module 2 at the same time, and is used for receiving the state data of the marking signal sent by the detection module, receiving the expandable external control signal of the control signal 2 and controlling the switching of the change-over switch 2 and the communication interaction of the communication bus receiving end. The basic functions and circuits are the same as those of the MCU module 1, and have been described in detail above, so that detailed description thereof will not be provided here.
The bus communication module 2 is connected between the switch 2 and the MCU module 2, and is used for communication interaction between the MCU module 2 and the communication bus, the circuit and function are exactly the same as those of the bus communication module 1, and the circuit and principle description refer to the description of the bus communication module 1, so that the detailed description thereof will not be repeated here.
The control signal 2 is a functional port for connecting and disconnecting an external control signal which can be expanded by the device, and is directly connected with a I O port of the MCU module 2. This part is not a critical technical part of the device and is not described in detail.
The change-over switch 2 is connected with the receiving end of the communication bus and is simultaneously connected with the MCU module 2, the bus communication module 2 and the audio frequency separation module, the MCU module 2 controls the bus to be connected with the input port of the bus communication module 2 or the audio frequency separation module, and the circuit and the function are basically the same as those of the change-over switch 1, but the normally open contact of the change-over switch 2 is connected with the input port of the audio frequency separation module. The circuit and principle description will be referred to the description of the switch 1, so that the detailed description thereof will not be repeated here. The audio separation module is connected after the change-over switch 2, and is a link for separating the audio signal from the composite signal.
Fig. 10 shows a circuit diagram of a detection module, in which a capacitor C5, a capacitor C9, a capacitor C10, and an inductor L1 form an LC series-parallel resonant filter circuit, signals about 30KHz are allowed to pass through without loss, other frequency signals are attenuated and filtered, a high-frequency isolation transformer T1 transforms signals 1:1 about 30KHz to the other end, other frequency signals are further blocked, a resistor R3 and a capacitor C8 form an RC filter circuit, and clutter of the transformed signals about 30KHz is further filtered. The main chip U1 of the detection module is a T I phase-locked loop chip, the model is LM567CM (SO I C-8), a capacitor C4, a capacitor C7, a capacitor C11, a capacitor C16, a capacitor C12, a resistor R4 and a resistor RP1 form a peripheral fixed circuit of the main chip U1, a 3 rd pin of the main chip U1 inputs a detection signal, an 8 th pin outputs a state level signal, and when a 30KHz signal is input to the 3 rd pin of the main chip U1, the 8 th pin of the chip U1 changes an original high level signal into a low level signal. The 8 th pin of the chip U1 is connected with the input end of the MCU module 2, and the MCU module 2 can judge whether a marking signal exists on the communication bus only by reading the 8 th pin level state of the chip U1.
As shown in fig. 11, the audio frequency separation module is shown in a circuit diagram, wherein pins 2 and 4 of the audio frequency transformer T2 are connected with balanced composite signals from the communication bus, pins 1 and 3 of the audio frequency transformer T2 output composite signals of primarily filtered sign signals, the audio frequency transformer is a low-frequency isolation transformer for isolating 30KHz sign signals in the composite signals, the primarily filtered balanced composite signals are output from pins 1 and 3 of the audio frequency transformer T2 to pins 2 and 3 of a differential operational amplifier consisting of an operational amplifier U5A, a resistor R6, a resistor R7, a resistor R12, a resistor R15, a resistor R16 and a capacitor C26, unbalanced composite audio signals are output from pins 1 of the operational amplifier U5A, and at this time, the sign signals in the output signals are further filtered by the filtering performance of the operational amplifier U5A, but are still mixed with a little sign signals. The capacitor EC1, the capacitor EC2, the capacitor C22 and the capacitor C28 are power supply filter capacitors of the operational amplifier U5A, and are used for purifying power supply. The resistor R8 and the resistor R14 are power protection resistors of the operational amplifier U5A and function as simple fuses.
The operational amplifier U6A, the operational amplifier U5B, the resistor R30, the resistor R32, the resistor R20, the resistor R26, the resistor R28, the capacitor C42, the capacitor C43, the capacitor C44, the capacitor C40 and the capacitor C39 form an active fourth-order band-pass filter, and the band-pass range of the band-pass filter is 80 Hz-20 KHz, so that the band-pass filter has a great attenuation effect on 30KHz mark signals outside the band pass filter. The unbalanced composite audio signal output by the previous stage is connected to the band-pass filter through the capacitor C42, and the further filtered composite audio signal is output through the capacitor C39, and the sign signal contained in the composite audio signal is very weak and negligible, so that the output is close to the original audio signal of the transmitting end. The audio signal module 2 is connected to the audio separation module, and is configured to amplify the audio signal output by the audio separation module and output the amplified audio signal.
As shown in fig. 12, a circuit diagram of the audio signal module 2 is shown, in which the operational amplifier U9A, the resistor R45, the resistor R46, and the capacitor C64 form an inverting operational amplifier circuit, the audio signal separated from the previous stage is connected to the 2 nd pin of the operational amplifier by the resistor R46, the 1 st pin of the operational amplifier U9A outputs the amplified audio signal, and the audio signal is output by the terminal J2 after being filtered by the RC formed by the capacitor C65 and the resistor R47. The magnetic beads FB10, the magnetic beads FB11, the capacitor C24, the capacitor C63, the capacitor C66 and the capacitor C67 are decoupling capacitors of the operational amplifier and are used for purifying and filtering a power supply.
As shown in fig. 13, which is a circuit diagram of a bus transmitting end (not shown in the MCU module 1), the audio signal module 1, the composite signal module, the switch 1, the bus communication module 1, the MCU module 1 and the flag signal module are sequentially connected according to respective input/output ends;
as shown in fig. 14, which is a circuit diagram of the bus receiving end (not shown in the MCU module 2), the audio signal module 2, the switch 2, the bus communication module 2, the MCU module 2, the detection module, the audio separation module, and the audio signal module 2 are sequentially connected according to the respective input/output ends.
Example IV
Referring to fig. 15, a transmission control system based on a composite bus communication device according to an embodiment of the present invention includes: a communication sending module 401, an input module 402, a communication bus module 403, an output module 404, a communication receiving module 405 and a control module 406;
the communication sending module 401 is configured to send input signals with different signal types;
the communication receiving module 405 is configured to receive output signals of different signal types;
the input module 402 is configured to determine a signal type of the first input signal, select a corresponding input terminal according to the signal type to transmit the first input signal, and perform conversion processing on the first input signal through a flag signal to obtain a first conversion signal; transmitting the first conversion signal to the communication bus module 403 through a first change-over switch;
the communication bus module 403 is configured to transmit a first conversion signal;
the output module 404 is configured to obtain a first conversion signal on the communication bus module 403, and detect a flag signal of the obtained first conversion signal; according to the detection result, converting the first conversion signal to obtain a second conversion signal; selecting a corresponding output end to output the second conversion signal;
The control module 406 is configured to control the input module 402, the communication bus module 403, and the output module 404.
The input module 402, the communication bus module 403, the output module 404, and the control module 406 constitute a transmission control device based on the composite bus communication device.
The transmission control system based on the composite bus communication device can implement the transmission control method based on the composite bus communication device in the method embodiment. The options in the method embodiments described above are also applicable to this embodiment and will not be described in detail here. The rest of the embodiments of the present application may refer to the content of the method embodiments described above, and in this embodiment, no further description is given.
The implementation of the embodiment has the following beneficial effects:
the invention controls the communication transmitting end and the receiving end of the composite bus to adopt a half duplex mechanism, the communication transmitting end transmits input signals with different signal types, the receiving end receives output signals with different signal types, the different input ends are utilized to transmit the input signals with different types, if the composite bus uses two buses to transmit the input signals, the two types of input signals can be distinguished and transmitted, the two types of input signals are input through the two different input ends, the two types of signal types are distinguished through the conversion processing of the sign signals, after the signals are transmitted through a communication bus module, the signal type of a first conversion signal is judged through the sign signals of the signals on the communication bus module, and after the conversion is restored, the two different output ends are utilized to output, so that the two types of input signals with different types can be transmitted alternatively;
The transmission control method of the invention uses the composite bus to transmit different types of input signals, and the transmission distance can easily reach several kilometers without relay, thereby improving the anti-interference capability of transmission. The composite bus can not generate excessive high-frequency signals when transmitting signals, so that the external interference and the inter-transmission line interference during working are reduced, and the function of transmitting different types of input signals of the composite bus in a long-distance, high-quality and low-interference manner is realized.
Example five
Correspondingly, the invention further provides a computer readable storage medium, which comprises a stored computer program, wherein the computer program controls the equipment where the computer readable storage medium is located to execute the transmission control method based on the composite bus communication equipment according to any one of the embodiments.
The computer program may be divided into one or more modules/units, which are stored in the memory and executed by the processor to accomplish the present invention, for example. The one or more modules/units may be a series of computer program instruction segments capable of performing the specified functions, which instruction segments are used for describing the execution of the computer program in the terminal device.
The terminal equipment can be computing equipment such as a desktop computer, a notebook computer, a palm computer, a cloud server and the like. The terminal device may include, but is not limited to, a processor, a memory.
The processor may be a central processing unit (Centra l Process I ng Un it, CPU), or may be other general purpose processor, digital signal processor (Di gita l Si gna l Processor, DSP), application specific integrated circuit (App l I cat I on Spec I f I C I ntegrated Ci rcu it, AS ic), field programmable gate array (Fi el d-Programmab l e Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is a control center of the terminal device, and which connects various parts of the entire terminal device using various interfaces and lines.
The memory may be used to store the computer program and/or the module, and the processor may implement various functions of the terminal device by running or executing the computer program and/or the module stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile terminal, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart memory Card (Smart Med ia Card, SMC), secure Digital (SD) Card, flash Card (F l ash Card), at least one disk storage device, flash memory device, or other volatile solid state storage device.
Wherein the terminal device integrated modules/units may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as stand alone products. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier wave signal, a telecommunication signal, a software distribution medium, and so forth.
The foregoing embodiments have been provided for the purpose of illustrating the general principles of the present invention, and are not to be construed as limiting the scope of the invention. It should be noted that any modifications, equivalent substitutions, improvements, etc. made by those skilled in the art without departing from the spirit and principles of the present invention are intended to be included in the scope of the present invention.

Claims (8)

1. A transmission control method based on a composite bus communication device is characterized in that the composite bus communication device comprises: the device comprises an input module, a communication bus module and an output module;
the transmission control method includes:
acquiring a first input signal through an input module, and judging the signal type of the first input signal;
selecting a corresponding input end to transmit the first input signal according to the signal type, and converting the first input signal through a sign signal to obtain a first conversion signal; transmitting the first conversion signal to a communication bus module through a first change-over switch;
acquiring a first conversion signal on the communication bus module through an output module, and detecting a mark signal of the acquired first conversion signal;
According to the detection result, converting the first conversion signal to obtain a second conversion signal; selecting a corresponding output end to output the second conversion signal, specifically:
if the first conversion signal is detected to be not provided with a mark signal, the first conversion signal is sent to a second MCU module, so that the second MCU module sends the first conversion signal to a second bus communication module through a second change-over switch, the second bus communication module is controlled to convert the first conversion signal into a control signal, and the control signal is sent to a second control signal module to be output;
if the first conversion signal is detected to be provided with the mark signal, a second switching signal is sent to the second MCU module, so that the second MCU module sends the first conversion signal to the audio frequency separation module through the second switching switch, the audio frequency separation module removes the mark signal of the first conversion signal, amplifies the first conversion signal after the mark signal is removed, obtains an original audio frequency signal, and sends the original audio frequency signal to the second audio frequency signal module for output.
2. The transmission control method based on the composite bus communication device according to claim 1, wherein the selecting a corresponding input terminal according to the signal type to transmit the first input signal, and converting the first input signal through a flag signal to obtain a first converted signal, specifically:
If the signal type is a digital control signal, the first control signal module is used as an input end, and the first input signal is converted into a first bus communication signal to be used as a first conversion signal;
if the signal type is analog audio signal, the first audio signal module is used as an input end, the first input signal and the sign signal are mixed to obtain a first mixed signal, and the first mixed signal is used as a first conversion signal.
3. The transmission control method based on the composite bus communication device according to claim 2, wherein the step of converting the first input signal into the first bus communication signal as the first conversion signal using the first control signal module as an input terminal comprises:
the method comprises the steps that a first MCU module obtains a first input signal input through a first control signal module and sends the first input signal to a first bus communication module, so that the first bus communication module converts the first input signal into a first bus communication signal to serve as a first conversion signal.
4. The transmission control method based on the composite bus communication device according to claim 2, wherein the first audio signal module is used as an input terminal, the first input signal is mixed with the flag signal to obtain a first mixed signal, and the first mixed signal is used as a first conversion signal, specifically:
The method comprises the steps of controlling a composite signal module to obtain a first input signal input by a first audio signal module, and controlling a mark signal module to send the mark signal to the composite signal module through a first MCU module so that the composite signal module mixes the first input signal with the mark signal to obtain a first mixed signal as a first conversion signal.
5. A transmission control method based on a composite bus communication device according to claim 3 or 4, wherein the transmitting the first conversion signal to the communication bus module through the first switch is specifically:
the first MCU module is used for controlling the first switch module to send the first conversion signal on the first bus communication module or the composite signal module to the communication bus module.
6. A transmission control device based on a composite bus communication device, comprising: the device comprises an input module, a communication bus module, an output module and a control module;
the control module is used for acquiring a first input signal through the input module and judging the signal type of the first input signal;
selecting a corresponding input end to transmit the first input signal according to the signal type, and converting the first input signal through a sign signal to obtain a first conversion signal; transmitting the first conversion signal to a communication bus module through a first change-over switch;
Acquiring a first conversion signal on the communication bus module through an output module, and detecting a mark signal of the acquired first conversion signal; according to the detection result, converting the first conversion signal to obtain a second conversion signal; selecting a corresponding output end to output the second conversion signal;
the output module includes: the device comprises a detection module, an audio separation module and a second MCU module;
the detection module is used for acquiring a first conversion signal on the communication bus module and detecting the first conversion signal;
if the detection module detects that the first conversion signal does not have the mark signal, the control module sends the first conversion signal to the second MCU module so that the second MCU module sends the first conversion signal to the second bus communication module through the second change-over switch, controls the second bus communication module to convert the first conversion signal into the control signal, and sends the control signal to the second control signal module for output;
if the detection module detects that the first conversion signal has the sign signal, the control module sends a second switching signal to the second MCU module, so that the second MCU module sends the first conversion signal to the audio frequency separation module through the second switching switch, and then the audio frequency separation module removes the sign signal of the first conversion signal, amplifies the first conversion signal after the sign signal is removed, obtains an original audio frequency signal, and sends the original audio frequency signal to the second audio frequency signal module for output.
7. The transmission control apparatus based on a composite bus communication device according to claim 6, wherein the input module comprises: the system comprises a composite signal module, a sign signal module and a first MCU module;
if the signal type is a digital control signal, the control module acquires a first input signal input through the first control signal module through the first MCU module and sends the first input signal to the first bus communication module so that the first bus communication module converts the first input signal into a first bus communication signal as a first conversion signal;
if the signal type is an analog audio signal, the control module controls the composite signal module to acquire a first input signal input by the first audio signal module, and controls the mark signal module to send the mark signal to the composite signal module through the first MCU module so that the composite signal module mixes the first input signal with the mark signal to acquire a first mixed signal as a first conversion signal;
the first bus communication module is controlled by the first MCU module to send the first conversion signal to the communication bus module through the first switch module.
8. A transmission control system based on a composite bus communication device, comprising: the device comprises a communication sending module, an input module, a communication bus module, an output module, a control module and a communication receiving module;
the communication sending module is used for sending input signals with different signal types;
the communication receiving module is used for receiving output signals with different signal types;
the input module is used for judging the signal type of a first input signal, selecting a corresponding input end to transmit the first input signal according to the signal type, and converting the first input signal through a sign signal to obtain a first converted signal; transmitting the first conversion signal to a communication bus module through a first change-over switch;
the communication bus module is used for transmitting a first conversion signal;
the output module is used for acquiring a first conversion signal on the communication bus module and detecting a mark signal of the acquired first conversion signal; according to the detection result, converting the first conversion signal to obtain a second conversion signal; selecting a corresponding output end to output the second conversion signal;
The output module includes: the device comprises a detection module, an audio separation module and a second MCU module;
the detection module is used for acquiring a first conversion signal on the communication bus module and detecting the first conversion signal;
if the detection module detects that the first conversion signal does not have the mark signal, the control module sends the first conversion signal to the second MCU module so that the second MCU module sends the first conversion signal to the second bus communication module through the second change-over switch, controls the second bus communication module to convert the first conversion signal into the control signal, and sends the control signal to the second control signal module for output;
if the detection module detects that the first conversion signal has a sign signal, the control module sends a second switching signal to the second MCU module, so that the second MCU module sends the first conversion signal to the audio frequency separation module through the second switching switch, and the audio frequency separation module removes the sign signal of the first conversion signal and amplifies the first conversion signal after the sign signal is removed to obtain an original audio frequency signal, and sends the original audio frequency signal to the second audio frequency signal module for output;
The control module is used for controlling the input module, the communication bus module and the output module.
CN202310135421.4A 2023-02-17 2023-02-17 Transmission control method, device and system based on composite bus communication equipment Active CN116074155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310135421.4A CN116074155B (en) 2023-02-17 2023-02-17 Transmission control method, device and system based on composite bus communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310135421.4A CN116074155B (en) 2023-02-17 2023-02-17 Transmission control method, device and system based on composite bus communication equipment

Publications (2)

Publication Number Publication Date
CN116074155A CN116074155A (en) 2023-05-05
CN116074155B true CN116074155B (en) 2024-02-13

Family

ID=86181866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310135421.4A Active CN116074155B (en) 2023-02-17 2023-02-17 Transmission control method, device and system based on composite bus communication equipment

Country Status (1)

Country Link
CN (1) CN116074155B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116633719B (en) * 2023-07-20 2024-03-01 北谷电子(无锡)有限公司 Data transmission architecture, method, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820372A (en) * 2010-03-17 2010-09-01 浙江大学 TDM (Time Division Multiplexing) single-bus communication system of power supply, data signals and audio analog signals
CN105872900A (en) * 2016-04-20 2016-08-17 乐视控股(北京)有限公司 Switching device
CN107273320A (en) * 2016-04-08 2017-10-20 中兴通讯股份有限公司 A kind of adaptive multiplexer of communication interface hardware and method
CN108023796A (en) * 2018-01-12 2018-05-11 普联技术有限公司 Customer terminal equipment, switch method of remote signal method, control device and storage medium
CN112799375A (en) * 2020-12-25 2021-05-14 安徽工业大学 Vehicle-mounted bus detection system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100825727B1 (en) * 2005-12-07 2008-04-29 한국전자통신연구원 Apparatus for collecting digitally converted analog signals using serial bus and method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820372A (en) * 2010-03-17 2010-09-01 浙江大学 TDM (Time Division Multiplexing) single-bus communication system of power supply, data signals and audio analog signals
CN107273320A (en) * 2016-04-08 2017-10-20 中兴通讯股份有限公司 A kind of adaptive multiplexer of communication interface hardware and method
CN105872900A (en) * 2016-04-20 2016-08-17 乐视控股(北京)有限公司 Switching device
CN108023796A (en) * 2018-01-12 2018-05-11 普联技术有限公司 Customer terminal equipment, switch method of remote signal method, control device and storage medium
CN112799375A (en) * 2020-12-25 2021-05-14 安徽工业大学 Vehicle-mounted bus detection system and method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
ElectroMagnetic Compatibility (EMC) standard for radio equipment and services *
Part 4: Specific conditions for fixed radio links and ancillary equipment.ETSI EN 301 489-4.2015,(V2.2.1),全文. *
REN/ERM-EMC-325.HARMONIZED EUROPEAN STANDARD Electromagnetic compatibility and Radio spectrum Matters (ERM) *
现场总线的特点及其应用研究;冯艳双;科技传播;全文 *

Also Published As

Publication number Publication date
CN116074155A (en) 2023-05-05

Similar Documents

Publication Publication Date Title
CN116074155B (en) Transmission control method, device and system based on composite bus communication equipment
CN102164006B (en) Dual-channel compact small from-factor pluggable circuit
NO20025391L (en) communication apparatus
CN109240551A (en) Use the method and Related product of gesture control electronic device
CN102957483A (en) Terminal device, system and method for realizing communication by sound wave
JP2011228933A (en) Communication device and communication system
JPS60180249A (en) Method of operating station having two input-output ports in communication network
CN212727039U (en) Transmission system integrating Internet of things and emergency broadcast
CN212846570U (en) Type-C interface circuit and touch-control all-in-one
US8005999B1 (en) Data storage system with PCI-E extended reach capability
CN103763481B (en) A kind of high-definition multimedia signal receiver, source device and multimedia system
CN207198837U (en) USB sound cards
US3582895A (en) Alphanumeric parallel tone, sequential character system, method, and apparatus
CN108494889B (en) Communication circuit based on I2C bus and debugging method
CN201336727Y (en) Intelligent household system supporting dual-audio device
CN105812216B (en) PBUS transformerless EtherCAT communication circuit and application method
CN104243723A (en) Nonlinear distortion detection method for audio signals of visitor talkback system
JP2023553613A (en) Systems and techniques for line diagnostics
US8447892B1 (en) PCI-E extended reach with receive detect circuitry
CN203193856U (en) Effector plug-in connected with intelligent terminal
CN217159764U (en) Protocol conversion module and protocol conversion system
CN216850741U (en) Laser optical module control circuit and laser
CN219437140U (en) Wireless Dongle with multipath input
CN113645167B (en) Method, system, device and storage medium for transmitting digital audio and power signals
CN214045650U (en) Digital sound console with RTA real-time frequency spectrum display function

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: No. 56 Nanli East Road, Shiqi Town, Panyu District, Guangzhou City, Guangdong Province, 510000

Applicant after: Guangdong Baolun Electronics Co.,Ltd.

Address before: No. 19, Chuangyuan Road, Zhongcun Street, Panyu District, Guangzhou City, Guangdong Province, 511495

Applicant before: GUANGZHOU ITC ELECTRONIC TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant