1. Field of the Invention
The instant disclosure relates to a signal transmission method; in particular, to a signal transmission method preventing ambient noises in wired channels and a communication system using the method.
2. Description of Related Art
Generally, there are many interference sources in the vehicle communication environment, e.g., engines, window wipers, motors, etc. Thus, reliability of the communication quality should to be carefully considered in the design of the vehicle communication system. So far, test standards commonly used for testing the reliability are, for example, the IEC 62132-4 Direct RF Power Injection Method, the IEC 62215-3 Non-Synchronous Transient Injection Method or the like, in which common mode signals with large amplitude and large power are used to execute the tests. In channel tests, a reliable communication system cannot tolerate transmission errors even when interfered by noise.
Further, for instance, a vehicle communication device would be switched to the power-saving mode when there is no transmission of data, and would wait for other vehicle communication devices to transmit wake up signals. In this case, even in the condition that noise exists, the vehicle communication device under the power-saving mode should not be waked up wrongly or unable to be waked up, such that the operation safety of the device or element connected to the vehicle communication device could be assured.
The instant disclosure provides a signal transmission method. The signal transmission method includes: receiving an output signal generated by a square wave signal passing through a high pass filter; sampling the output signal at each time interval so as to generate a plurality of sampled values; comparing the sampled values with at least one threshold to generate a plurality of comparison results; and identifying a signal pattern corresponding to the output signal according to the comparison results.
The instant disclosure further provides a communication system, and the communication system comprises a first communication device and a second communication device. The first communication device comprises a signal generation module and a first transceiver module. The signal generation module is configured to generate a square wave signal. The first transceiver module is configured to transmit an output signal and comprises a common mode filter unit filtering out a high frequency portion of the square wave signal as the output signal. The second communication device comprises a second transceiver module and a determination unit. The second transceiver module is configured to receive the output signal. The determination unit is configured to sample the output signal at each time interval so as to generate a plurality of sampled values, compares the sampled values with at least one threshold and generates a plurality of comparison results, and identifies a signal pattern corresponding to the output signal according to the comparison results.
The instant disclosure further provides another communication system. The communication system comprises a first communication device and a second communication device. The first communication device comprises a signal generation module and a first transceiver module. The signal generation module generates a square wave signal. The first transceiver module transmits an output signal and comprises a common mode filter unit. The common mode filter unit filters out a high frequency portion of the square wave signal as the output signal. The second communication device comprises a second transceiver module and the second transceiver module receives the output signal and comprises a determination unit. The determination unit samples the output signal at each time interval so as to generate a plurality sampled values, compares the sampled values with at least one threshold and generates a plurality of comparison results, and identifies a signal pattern corresponding to the output signal according to the comparison results.
For further understanding of the instant disclosure, reference is made to the following detailed description illustrating the embodiments and embodiments of the instant disclosure. The description is only for illustrating the instant disclosure, not for limiting the scope of the claim.
In the wired channel transmission, a capacitor is usually placed at the signal output and configured to block the common mode direct voltage of the chip, so the common mode current could be prevented from leaking to the external network cables. In order to further protect the communication environment, a common mode choke is used to suppress the common mode noise, and an additional common mode filter is used to filter the noise. In the present disclosure, the common mode filter is configured to increase amplitude of the output signal such that the output signal is capable of bearing interference in the wired channel transmission. Thus, the signal transmission method and system provided by the present disclosure is capable of letting the output signal have large amplitude without changing the original circuit, and the output signal's tolerance for the interference in the wired channel transmission would be improved. Details are further illustrated in the following description.
Referring to
In some embodiments, the communication device 1 is a vehicle wired communication device for the moving vehicles to exchange information.
The transceiver module 11 comprises a proper logic, circuit and/or coding for transmitting an output signal to another communication device 1, or for receiving an output signal output by another communication device 1. More precisely, each communication device 1 transmits the data signals in a wired way via the transceiver module 11.
In the transceiver module 11, the common mode filter unit 12 is configured to generate an output signal at a high frequency or to receive an output signal transmitted by another communication device 1. In some embodiments, the common mode filter unit 12 is configured to be a high pass filter (HPF). The common mode filter unit 12 is a filter that lets the high frequency signal pass and reduces the signal of which the frequency is lower than a cut-off frequency. In other words, the output signal is a high frequency portion of the input signal (such as the signal generated by the signal generation module 13) which is filtered out by the high pass filter.
Referring also to
Wherein, Qc(t) is the charge quantity of the capacitor C and I(t) is the current flowing through the resistor R. After calculating with the equations (1)-(3), an equation (4) would be obtained as:
When dt is small enough (approaching to zero), the sequential voltage signals are considered discrete voltage signals represented as an equation (5):
After that, the equation (5) can be rewritten as a recursive equation (6):
According to the above equation (6), in the situation that the transceiver module 11 emits signals, when the input signal received by the common mode filter unit 12 is a periodical square wave signal and when the periodical square wave signal is changed from a negative voltage to a positive voltage, the positive output voltage of the output signal output by the high pass filter 120 is twice of the amplitude of the periodical square wave signal. On the other hand, when the periodical square wave signal received by the common mode filter unit 12 is changed from a positive voltage to a negative voltage, the negative voltage of the output signal output by the high pass filter 120 is twice of the amplitude of the periodical square wave signal. Moreover, after the common mode filter unit 12 is changed, the periodical square wave signals received later are maintained at a negative voltage or a positive voltage, and the positive output voltage or the negative output voltage of the output signal approaches to zero with time passing.
Please also refer to
In another embodiment of the instant disclosure, if the signal received by the common mode filter unit 12 is a non-periodical input signal, when the non-periodical input signal is changed from a first voltage to a second voltage, the first output voltage of the output signal is obtained by subtracting the first voltage from the second voltage, and when the non-periodical input signal received by the common mode filter unit 12 maintains at the second voltage the first output voltage of the output signal gradually approaches to zero.
Please refer to
The signal generation module 13 comprises a proper logic circuit and/or coding for generating the input signal to the transceiver module 11, wherein the signal generation module 13 controls the voltage and the lasting time duration of the input signal to generate signal patterns and to generate general data signals or coding data signals in the working mode. In the embodiments of the instant disclosure, the signal patterns are, for example, the wake-up signals for waking up the communication device 1 in the power-saving mode such that the communication device 1 enters into the working mode (such as starting up functions of other transmitting-receiving circuits of the transceiver module 11) from the power-saving mode (such as a mode having less power consumption). More precisely, the signal generation module 13 can control the input signal based on the user's setting, for example, to control the duty cycle of the above mentioned periodical square wave signal, that is, to control the lasting time duration of the positive voltage or the negative voltage for generating the needed signal patterns.
Please also refer to
In another embodiment of the instant disclosure, the signal generation module 13 can control the input signal based on the user's setting for controlling the voltage of the above mentioned non-periodical input signals and the lasting time durations of different voltages to generate needed signal patterns. Please also refer to
Moreover, there are merely 10 ms and 20 ms time durations used for describing the embodiments of the instant disclosure, while as understood by those skilled in the art different ratios among the time durations can be also applied and the lengths of the time durations T1, T2 and T3 are not limited herein. Therefore, based on the coding complexity (voltage and lasting time duration), the communication device 1 can identify whether the output signal is the wake-up signal set by the user or noise. For example, if it receives the periodical square wave signal with 10 ms time duration of the positive voltage and 20 ms time duration of the negative voltage three times, the communication device 1 identifies that the output signal is the wake-up signal.
The determination unit 14 comprises a proper logic circuit and/or coding for sampling the output signal received from another communication device 1 at each time interval so as to generate a plurality of sampled values. Further, the determination unit 14 compares the sampled values with at least one threshold to generate a comparison result. It is worth mentioning that, at least one threshold can be set for determining the sampled value based on the user's needs. After that, the determination unit 14 identifies the signal pattern corresponding to the output signal transmitted by another communication device 1 according to the comparison result. In addition, the determination unit 14 determines whether the output signal transmitted by another communication device 1 is corresponded to the signal pattern of the wake-up signal or the noise based on the comparison result including the amplitude (as the situations shown in
Moreover, please further refer to
Please again refer to
In
Please again refer to
According to the numbers of each comparison result, it is determined whether the comparison results are corresponded to the predetermined signal pattern. It is worth mentioning that those skilled in the art would understand that the values of the thresholds and the above rule of numbers are not limited herein.
After that, please refer to
After that, in the Step S102, the determination unit 14 samples the high frequency output signals at each time interval, which are received by the transceiver module. Please again refer to
In the Step S103, the determination unit 14 compares the sampled value of the output signal and the thresholds VT1 and VT2, and distinguishes the sampled values via the values “+1”, “0” or “−1”. However, those skilled in the art should be able to understand that the user can set more thresholds based on need. Also, the length of the time interval can be set by the user based on need. Thus, the number of thresholds and the length of the time intervals are not limited herein.
In the Step S104, according to the comparison between the sampled values and the thresholds in the Step S103 the determination unit 14 calculates the numbers of each value to identify the signal pattern corresponding to the output signal. As mentioned above, if the determination unit 14 samples for 20 times, the voltages of the output signals in
In the Step S104, the determination unit 14 identifies the signal pattern corresponding to the output signal based on the rule of number, additionally the determination unit 14 also checks whether the output signal is the wake up signal set by the user or is merely a misjudgment in the wired channel via the coding complexity (the voltages and the lasting time durations). In other words, the determination unit 14 detects the time duration before the output signal is changed from the positive output voltage VO1 to the negative output voltage VO2 and/or detects the time duration before the output signal is changed from the negative output voltage VO2 to the positive output voltage VO3.
To sum up, the signal transmission method and the communication device provided by the embodiments of the instant disclosure uses the properties of the high pass filter to design a circuit to output an output signal with large amplitude, so as to prevent the noise interference. In addition, the embodiments of the instant disclosure control time durations when the output signal is at different voltages via the signal generation module for coding. Moreover, if the output signal is a wake-up signal, it can prevent a situation that the transceiver module cannot be appropriately wakened up because of the noises.
The descriptions illustrated supra set forth simply the preferred embodiments of the instant disclosure; however, the characteristics of the instant disclosure are by no means restricted thereto. All changes, alterations, or modifications conveniently considered by those skilled in the art are deemed to be encompassed within the scope of the instant disclosure delineated by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
104111095 | Apr 2015 | TW | national |