Transceiver integrated ranging circuit and electronic equipment
By designing an integrated transmission and reception distance measurement circuit, using the same driving signal to drive the superposition and merge of detection signals of multiple detection modules, the connection of ultrasonic probe circuits is simplified, the problem of complex circuit connections in the existing technology is solved, and the hardware level is realized Simplify and cost reduction.
Patent Information
- Application Number
- CN202210041095.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-13
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2042-01-13
AI Technical Summary
In the prior art, the circuit schemes of multiple ultrasonic probes are relatively complex, resulting in complex circuits and difficult to simplify.
Design a transmission and reception integrated distance measuring circuit. By driving the detection branch of the same detection circuit with the same driving signal, the detection signals of the test circuit of multiple detection modules are superimposed and combined into a feedback signal, and finally the control circuit is based on the feedback signal. Determine the detection results of each detection branch, drive the detection branch to perform detection, and simplify the feedback loop.
有效简化了多个超声波探头的电路连线,降低了硬件接口的数量和数据处理需求,减少了重复电路设计单元,降低了硬件成本。
Smart Images

Figure CN114545420B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of distance measurement, and in particular to a transceiver integrated distance measurement circuit and electronic equipment. Background Art
[0002] In smart cars or robot applications, many ultrasonic probes are used to detect spatial distances in all directions. The number of probes will be flexibly measured and selected according to the measurement range and accuracy.
[0003] When there are a large number of probes, in the prior art, a set of signal triggering and acquisition circuits is designed for each ultrasonic probe, and then the data collected by each ultrasonic probe is processed separately by software, so as to determine the spatial distance of the test range of each ultrasonic probe in actual conditions. In the above implementation process, each probe is connected with a circuit separately, so each probe has a connection line independently connected to the control circuit, and the circuit is relatively complicated. Summary of the invention
[0004] The purpose of the present invention is to solve the technical problem that the circuit schemes and wiring of multiple ultrasonic probes in the prior art are relatively complicated, and to provide a transceiver integrated ranging circuit and electronic equipment.
[0005] In order to achieve the above object, the present invention proposes a transceiver integrated ranging circuit, the transceiver integrated ranging circuit comprising:
[0006] A control circuit having a timing signal output terminal, N control signal output terminals and M feedback signal receiving terminals, and used for outputting the timing signal and the N control signals;
[0007] A logic gate circuit, having a timing signal input terminal, N control signal input terminals and N drive signal output terminals, wherein the timing signal input terminal of the logic gate circuit is connected to the timing signal output terminal of the control circuit, and the control signal input terminals of the N logic gate circuits are connected one-to-one to the control signal output terminals of the N control circuits; and is used to output a drive signal according to the timing signal and the N control signals;
[0008] A detection module having N drive signal input terminals and M detection signal output terminals, wherein the drive signal input terminals of the N detection modules are connected one-to-one to the drive signal output terminals of the N logic gate circuits, and the detection signal output terminals of the M detection modules are connected one-to-one to the feedback signal receiving terminals of the M control circuits;
[0009] The detection module includes N groups of detection circuits; each of the detection circuits includes M detection branches;
[0010] For each of the detection circuits, the driving signal output ends of the M detection branches are connected to each other to form a driving signal input end of the detection module; the detection signal output ends of the Zth detection branches of the N groups of detection circuits are connected to each other to form a detection signal output end of the detection module; and are used to perform detection upon receiving the driving signal and obtain detection signals corresponding to the number of detection branches;
[0011] The detection signals of the plurality of detection branches connected to the same feedback signal receiving end are superimposed and combined into a feedback signal;
[0012] The control circuit is further used to receive the M feedback signals and determine the detection result of each of the N*M detection branches according to the M feedback signals.
[0013] Optionally, the N control signals are synchronous PWM signals.
[0014] Optionally, the control circuit is an ARM processor.
[0015] Optionally, the detection frequency of each detection branch is different.
[0016] Optionally, the integrated transceiver ranging circuit also includes M amplification circuits, and M feedback loops are formed between the feedback signal receiving ends of the M control circuits and the detection signal output ends of the M detection modules. Each of the amplification circuits is separately arranged in one of the feedback loops to amplify the feedback signal output by the detection signal output end of the corresponding detection module.
[0017] Optionally, the logic gate circuit includes M AND gates, a first input terminal of each AND gate is connected to a timing signal output terminal of the control circuit, and feedback signal receiving terminals of the M control circuits are connected one-to-one to second input terminals of the M AND gates.
[0018] Optionally, N=2, M=3.
[0019] In order to achieve the above object, the present invention further proposes a transceiver integrated ranging circuit, the transceiver integrated ranging circuit comprising:
[0020] A control circuit having a timing signal output terminal, a first control signal output terminal, a second control signal output terminal, a third control signal output terminal, a first feedback signal receiving terminal and a second feedback signal receiving terminal, and being used to output a timing signal and a first control signal, a second control signal and a third control signal;
[0021] A logic gate circuit, comprising a timing signal input terminal, a first control signal input terminal, a second control signal input terminal, a third control signal input terminal, a first drive signal output terminal, a second drive signal output terminal and a third drive signal output terminal, wherein the timing signal input terminal of the logic gate circuit is connected to the timing signal output terminal of the control circuit, the first control signal input terminal of the logic gate circuit is connected to the first control signal output terminal of the control circuit, the second control signal input terminal of the logic gate circuit is connected to the second control signal output terminal of the control circuit, and the third control signal input terminal of the logic gate circuit is connected to the third control signal output terminal of the control circuit; and used for performing logic operations on the timing signal and the first control signal, the second control signal and the third control signal respectively to obtain a first drive signal, a second drive signal and a third drive signal;
[0022] A detection module, comprising a first drive signal input terminal, a second drive signal input terminal, a third drive signal input terminal, a first detection signal output terminal and a second detection signal output terminal, wherein the first drive signal input terminal of the detection module is connected to the first drive signal output terminal of the logic gate circuit, the second drive signal input terminal of the detection module is connected to the second drive signal output terminal of the logic gate circuit, and the third drive signal input terminal of the detection module is connected to the third drive signal output terminal of the logic gate circuit; the first detection signal output terminal of the detection module is connected to the first feedback signal receiving terminal of the control circuit, and the second detection signal output terminal of the detection module is connected to the second feedback signal receiving terminal of the control circuit;
[0023] The detection module includes a first detection circuit, a second detection circuit and a third detection circuit; each of the detection circuits includes a first detection branch and a second detection branch;
[0024] The driving signal output end of the first detection branch of the first detection circuit is connected to the driving signal output end of the second detection branch of the first detection circuit to form a first driving signal input end of the detection module, the driving signal output end of the first detection branch of the second detection circuit is connected to the driving signal output end of the second detection branch of the second detection circuit to form a second driving signal input end of the detection module, and the driving signal output end of the first detection branch of the third detection circuit is connected to the driving signal output end of the second detection branch of the third detection circuit to form a third driving signal input end of the detection module; the detection signal output end of the first detection branch of the first detection circuit and the driving signal output end of the first detection branch of the second detection circuit are connected to each other. The detection signal output end and the detection signal output end of the first detection branch of the third detection circuit are connected to each other to form the first detection signal output end of the detection module, the detection signal output end of the second detection branch of the first detection circuit, the detection signal output end of the second detection branch of the second detection circuit and the detection signal output end of the second detection branch of the third detection circuit are connected to each other to form the second detection signal output end of the detection module; and are used to perform detection upon receiving the first drive signal, the second drive signal and the third drive signal and obtain the first detection signal, the second detection signal, the third detection signal, the fourth detection signal, the fifth detection signal and the sixth detection signal corresponding to the number of the detection branches;
[0025] The detection signals of the plurality of detection branches connected to the same feedback signal receiving end are superimposed and combined into a feedback signal;
[0026] The first detection signal, the second detection signal and the third detection signal are superimposed and combined into a first feedback signal, and the fourth detection signal, the fifth detection signal and the sixth detection signal are superimposed and combined into a second feedback signal.
[0027] The control circuit is also used to receive the first feedback signal and the second feedback signal, and determine the detection results of the first detection branch of the first detection circuit, the second detection branch of the first detection circuit, the first detection branch of the second detection circuit, the second detection branch of the second detection circuit, the first detection branch of the third detection circuit, and the second detection branch of the third detection circuit based on the first feedback signal and the second feedback signal.
[0028] In order to achieve the above object, the present invention further provides an electronic device, which includes the above-mentioned integrated transceiver ranging circuit.
[0029] Optionally, the electronic device further comprises a shell, the shell having a first mounting surface and a second mounting surface which are arranged opposite to each other, and each pair of the test branches is respectively arranged on the first mounting surface and the second mounting surface.
[0030] Optionally, the electronic device also includes a shell having a third mounting surface and a fourth mounting surface that are relatively arranged, the third mounting surface is arranged to intersect with the first mounting surface, and each pair of the test branches is arranged on the first mounting surface, the second mounting surface, the third mounting surface and the fourth mounting surface.
[0031] The above invention drives the detection branches of the same detection circuit with the same driving signal, superimposes and merges the detection signals of the Zth detection branches of the test circuits of multiple detection modules into a feedback signal, and finally the control circuit determines the detection result of each of the N*M detection branches according to the feedback signal. Through the above scheme, the detection branches are driven in time-sharing manner for detection, and finally the detection signals are superimposed into a feedback signal. At this time, the feedback loop can be simplified as much as possible, thereby solving the technical problem that the circuit scheme connection of multiple ultrasonic probes is relatively complicated. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The present invention is further described below in conjunction with the accompanying drawings and embodiments;
[0033] FIG. 1 is a schematic diagram of a module of a transceiver-integrated ranging circuit in one embodiment.
[0034] FIG. 2 is a schematic diagram of a signal timing sequence of a control signal of a transceiver-integrated ranging circuit in one embodiment.
[0035] FIG. 3 is a circuit diagram of a transceiver integrated ranging circuit in one embodiment.
[0036] FIG. 4 is a schematic diagram of the timing of timing signals, control signals, and feedback signals of a transceiver-integrated ranging circuit in one embodiment. DETAILED DESCRIPTION
[0037] This section will describe in detail the specific embodiments of the present invention. The preferred embodiments of the present invention are shown in the accompanying drawings. The purpose of the accompanying drawings is to supplement the description of the text part of the specification with graphics, so that people can intuitively and vividly understand each technical feature and the overall technical solution of the present invention, but it cannot be understood as a limitation on the scope of protection of the present invention.
[0038] In order to solve the technical problem of complex circuit connection of multiple ultrasonic probes in the prior art, the present invention proposes a transceiver integrated ranging circuit and electronic equipment.
[0039] In one embodiment, as shown in FIG1 , the transceiver integrated ranging circuit includes a control circuit 10, a logic gate circuit 20 and a detection module 30, wherein the control circuit 10 has a timing signal output terminal, N control signal output terminals and M feedback signal receiving terminals. The logic gate circuit 20 has a timing signal input terminal, N control signal input terminals and N drive signal output terminals, the timing signal input terminal of the logic gate circuit 20 is connected to the timing signal output terminal of the control circuit 10, and the control signal input terminals of the N logic gate circuits 20 are connected one-to-one to the control signal output terminals of the N control circuits 10. The detection module 30 has N drive signal input terminals and M detection signal output terminals, the drive signal input terminals of the N detection modules 30 are connected one-to-one to the drive signal output terminals of the N logic gate circuits 20, and the detection signal output terminals of the M detection modules 30 are connected one-to-one to the feedback signal receiving terminals of the M control circuits 10.
[0040] Based on the above embodiment, the detection module 30 includes N groups of detection circuits 301; each detection circuit includes M detection branches 3011; for each detection circuit, the drive signal output ends of the M detection branches are interconnected to form a drive signal input end of the detection module 30; the detection signal output ends of the Zth detection branches of the N groups of detection circuits are interconnected to form a detection signal output end of the detection module 30.
[0041] Among them, the control circuit 10 outputs a timing signal and N control signals. The logic gate circuit 20 outputs a driving signal according to the timing signal and the N control signals. The detection module 30 detects and obtains a detection signal corresponding to the number of detection branches after receiving the driving signal, and the detection signals of multiple detection branches connected to the same feedback signal receiving end are superimposed and merged into a feedback signal. The control circuit 10 is also used to receive M feedback signals and determine the detection result of each detection branch in the N*M detection branches according to the M feedback signals.
[0042] In the above embodiment, by driving the detection branch of the same detection circuit with the same driving signal, the detection signals of the Zth detection branch of the test circuit of the multiple detection modules 30 are superimposed and merged into a feedback signal, and finally the control circuit 10 determines the detection result of each detection branch in the N*M detection branches according to the feedback signal. Through the above scheme, the detection branch is driven in time-sharing mode for detection, and finally the detection signal is superimposed into a feedback signal. At this time, since the drive signal output ends of the test branches in each test circuit are connected to each other, and the detection signal output ends of the Zth detection branch of each test circuit can be uniformly connected to a transmission line, the drive signal output ends of the test branches and the detection signal output ends of the Zth detection branch of each test circuit do not need to be separately connected to the control circuit 10 to achieve effective detection, which greatly reduces the repeated circuit design units, so that the circuit can be simplified as much as possible to solve the technical problem that the circuit scheme of multiple ultrasonic probes is relatively complicated. Due to the signal superposition at this time, the requirements for the amount of data that the control circuit 10 can process and the number of hardware interfaces are also reduced, so that the budget at the hardware level can be reduced to achieve the purpose of reducing costs.
[0043] Optionally, N, M, and Z are all natural numbers greater than 0.
[0044] Optionally, as shown in FIG. 2 , the N control signals are common time-base PWM signals.
[0045] Among them, the co-timed PWM signal refers to a certain time interval T between each signal, such as t milliseconds between each signal, each outputting a pulse with a pulse width of t1 (generally 1ms-2ms). At this time, the cycle for completing a detection is NT. Thus, the interference of detection between the detection branches controlled by each control signal can be avoided. And due to the existence of the co-timed PWM signal at this time, a control signal only controls one test circuit, and the feedback signal is a test branch superimposed with different test circuits. Therefore, the detection signal superimposed on each feedback signal finally has a time interval T. Thus, the control signal can be conveniently processed and split according to the time interval, without considering the waveform superposition of the detection signal, which greatly reduces the amount of data for subsequent processing. In addition, it should be noted that since the time interval at this time is controlled at the ms level, within this range, the distance that the device equipped with this integrated transceiver ranging circuit can travel is very limited, and the delay effect caused by the time division at this time on the detection result can be ignored.
[0046] Optionally, the control circuit 10 is an ARM (Advanced RISC Machine) processor.
[0047] Optionally, the detection frequency of each detection branch is different.
[0048] The detection frequency of each detection branch is different, which can reduce the interference between adjacent probes. At this time, different detection frequencies can be achieved by selecting the frequency of each control signal or the operating frequency of the detection device in the detection branch.
[0049] Optionally, when the detection branch is an ultrasonic probe, different detection frequencies may be realized by selecting the detection frequency of the ultrasonic probe.
[0050] In one embodiment, as shown in Figure 3, the integrated transceiver ranging circuit also includes M amplifying circuits (401, 402), and M feedback loops are formed between the feedback signal receiving ends of the M control circuits 10 and the detection signal output ends of the M detection modules 30. Each amplifying circuit is separately arranged in a feedback loop to amplify the feedback signal output by the detection signal output end of the corresponding detection module 30.
[0051] The amplifier circuit amplifies the feedback signal, thereby avoiding processing deviation caused by a weak feedback signal.
[0052] Optionally, the amplifier circuit is an operational amplifier circuit, which can be implemented by selecting an operational amplifier circuit in the prior art. Through multi-stage amplification processing, the control circuit 10 can conveniently process the feedback signal. On this basis, an appropriate threshold can be set at the feedback signal receiving end of the control circuit 10 for comparison, and the edge trigger of the control circuit can be introduced to avoid invalid signal processing performed by the control circuit 10 when the signal strength is insufficient.
[0053] In one embodiment, as shown in FIG. 3 , the logic gate circuit 20 includes M AND gates, a first input terminal of each AND gate is connected to a timing signal output terminal of the control circuit 10 , and feedback signal receiving terminals of the M control circuits 10 are connected one-to-one to second input terminals of the M AND gates.
[0054] Based on the above scheme, as shown in FIG4 , when N=2 and M=3, the working principle of the logic gate circuit 20 is explained by taking the timing signal as the CLK signal and the control signal as the common time base PWM signal as an example:
[0055] The ARM (Advanced RISC Machine) processor provides one timer TIM1, which generates a 40Khz ultrasonic vibration frequency CLK signal, and another TIM2 is three (more can be provided according to the characteristics of the timer) common time base PWM signals CH1, CH2, CH3. After passing through the logic AND gate with the TIM1 signal source, three drive signals are generated, that is, the source pulse signals PWM1, PWM2, PWM3 are loaded. The drive signal drives the front and rear ultrasonic transmitting probes, which can drive a total of 2*3=6 ultrasonic probes. The front and rear probes can transmit with the same signal source without interfering with each other. When receiving, the front three probes and the back three probes are superimposed and connected to a feedback signal (because the signal is collected in time, it is possible to clearly distinguish which probe's return signal it is). After multi-stage amplification processing and setting appropriate thresholds for comparison, the edge-triggered I / O pins RX1 and RX2 of the ARM (Advanced RISC Machine) processor are introduced. In this way, the ARM (Advanced RISC Machine) processor can complete the 6-way probe circuit with a total of 6 I / O port resources, and 7 I / Os can complete the 8-way probe circuit. The receiving circuit only needs two sets of return signal processing. The circuit diagram is shown in Figure 3: Among them, D1, D2, D3, D4, D5, and D6 are all passive transceiver integrated probes.
[0056] The ARM (Advanced RISC Machine) processor sets the common time base TIM2 so that the three output signals are separated by t milliseconds, and each outputs a pulse with a pulse width of t1 (generally 1ms-2ms). In this way, the TIM2 cycle is T=3t. The cycle of the three probes is scanned in real time. While generating each pulse, the TIM1 ultrasonic frequency is switched. For example, the frequencies of the three channels are 38KHz, 40KHz, and 42KHz respectively. Different frequencies cause less interference between adjacent probes. The front and rear receiving signals obtain return signals during the time periods of the three channels respectively. For example: the interval is t=100 milliseconds, then the working cycle of the three probes is 100ms. This is based on the sound propagation speed V=340m / s, and it can be known that the maximum distance that can be measured is 17m. The scanning cycle of the six probes is 300ms, and the scanning frame rate is about 3 frames. This can fully meet the ranging requirements of low-speed vehicles. If the measured distance is further reduced, such as 11 meters, the scanning period is also reduced (within 200ms), and the scanning frame rate is increased by 5 frames per second. This can adapt to higher speeds. The running sequence diagram is shown in Figure 4.
[0057] Based on all the above embodiments, the measured distance can be determined according to the following method:
[0058] During movement, the ranging error compensation is performed. Assuming that the time from the probe emission to the return is t2, the air temperature is C, the instantaneous speed of the moving carrier is v (since the working cycle of the ultrasonic wave is very short, within 0.1s, the speed of the moving object does not change much during this period, which can be regarded as the real-time speed), and the test distance is d, there is
[0059] When moving forward, 1. Front probe d = ((331 + 0.6*C) / 2-v / 2)*t2
[0060] 2. Rear probe d = ((331 + 0.6*C) / 2 + v / 2)*t2
[0061] The opposite is true when moving backwards.
[0062] Based on the above solution, it can be further expanded. For example, if three probes are installed in the four directions of front, back, left, and right, only two I / O ports need to be added to receive the return signals from the left and right. In this way, only eight I / O ports are needed to provide processing for 12 probes. Both the transmitting channel and the receiving channel can be expanded. The principle of all these expansions is the same.
[0063] Optionally, N=2, M=3.
[0064] The above embodiment is a preferred embodiment.
[0065] In order to solve the above problems, the present invention further proposes a transceiver integrated ranging circuit. Referring to FIG3 , the transceiver integrated ranging circuit includes:
[0066] The control circuit 10 has a timing signal output terminal, a first control signal output terminal, a second control signal output terminal, a third control signal output terminal, a first feedback signal receiving terminal and a second feedback signal receiving terminal, and is used to output the timing signal and the first control signal, the second control signal and the third control signal;
[0067] The logic gate circuit 20 has a timing signal input terminal, a first control signal input terminal, a second control signal input terminal, a third control signal input terminal, a first drive signal output terminal, a second drive signal output terminal and a third drive signal output terminal. The timing signal input terminal of the logic gate circuit 20 is connected to the timing signal output terminal of the control circuit 10, the first control signal input terminal of the logic gate circuit 20 is connected to the first control signal output terminal of the control circuit 10, the second control signal input terminal of the logic gate circuit 20 is connected to the second control signal output terminal of the control circuit 10, and the third control signal input terminal of the logic gate circuit 20 is connected to the third control signal output terminal of the control circuit 10; and is used to perform logic operations on the timing signal with the first control signal, the second control signal and the third control signal to obtain the first drive signal, the second drive signal and the third drive signal;
[0068] The detection module 30 has a first drive signal input terminal, a second drive signal input terminal, a third drive signal input terminal, a first detection signal output terminal and a second detection signal output terminal. The first drive signal input terminal of the detection module 30 is connected to the first drive signal output terminal of the logic gate circuit 20, the second drive signal input terminal of the detection module 30 is connected to the second drive signal output terminal of the logic gate circuit 20, and the third drive signal input terminal of the detection module 30 is connected to the third drive signal output terminal of the logic gate circuit 20; the first detection signal output terminal of the detection module 30 is connected to the first feedback signal receiving terminal of the control circuit 10, and the second detection signal output terminal of the detection module 30 is connected to the second feedback signal receiving terminal of the control circuit 10;
[0069] The detection module 30 includes a first detection circuit 302, a second detection circuit 303 and a third detection circuit 304; each detection circuit includes a first detection branch and a second detection branch;
[0070] The drive signal output end of the first detection branch of the first detection circuit 302 is connected to the drive signal output end of the second detection branch of the first detection circuit 302 to form a first drive signal input end of the detection module 30, the drive signal output end of the first detection branch of the second detection circuit 303 is connected to the drive signal output end of the second detection branch of the second detection circuit 303 to form a second drive signal input end of the detection module 30, and the drive signal output end of the first detection branch of the third detection circuit 304 is connected to the drive signal output end of the second detection branch of the third detection circuit 304 to form a third drive signal input end of the detection module 30; the detection signal output end of the first detection branch of the first detection circuit 302, the drive signal output end of the second detection branch of the second detection circuit 303 The detection signal output end of the first detection branch and the detection signal output end of the first detection branch of the third detection circuit 304 are connected to each other to form the first detection signal output end of the detection module 30, the detection signal output end of the second detection branch of the first detection circuit 302, the detection signal output end of the second detection branch of the second detection circuit 303 and the detection signal output end of the second detection branch of the third detection circuit 304 are connected to each other to form the second detection signal output end of the detection module 30; and are used to perform detection upon receiving the first drive signal, the second drive signal and the third drive signal and obtain the first detection signal, the second detection signal, the third detection signal, the fourth detection signal, the fifth detection signal and the sixth detection signal corresponding to the number of detection branches;
[0071] The detection signals of multiple detection branches connected to the same feedback signal receiving end are superimposed and combined into a feedback signal;
[0072] The first detection signal, the second detection signal and the third detection signal are superimposed and combined into a first feedback signal, and the fourth detection signal, the fifth detection signal and the sixth detection signal are superimposed and combined into a second feedback signal.
[0073] The control circuit 10 is also used to receive the first feedback signal and the second feedback signal, and determine the detection results of the first detection branch of the first detection circuit 302, the second detection branch of the first detection circuit 302, the first detection branch of the second detection circuit 303, the second detection branch of the second detection circuit 303, the first detection branch of the third detection circuit 304, and the second detection branch of the third detection circuit 304 according to the first feedback signal and the second feedback signal.
[0074] In the above embodiment, by driving the detection branch of the same detection circuit with the same driving signal, the detection signals of the Zth detection branch of the test circuit of the multiple detection modules 30 are superimposed and merged into a feedback signal, and finally the control circuit 10 determines the detection result of each detection branch in the N*M detection branches according to the feedback signal. Through the above scheme, the detection branch is driven in time-sharing mode for detection, and finally the detection signal is superimposed into a feedback signal. At this time, since the drive signal output ends of the test branches in each test circuit are connected to each other, and the detection signal output ends of the Zth detection branch of each test circuit can be uniformly connected to a transmission line, the drive signal output ends of the test branches and the detection signal output ends of the Zth detection branch of each test circuit do not need to be separately connected to the control circuit 10 to achieve effective detection, which greatly reduces the repeated circuit design units, so that the circuit can be simplified as much as possible to solve the technical problem that the circuit scheme of multiple ultrasonic probes is relatively complicated. Due to the signal superposition at this time, the requirements for the amount of data that the control circuit 10 can process and the number of hardware interfaces are also reduced, so that the budget at the hardware level can be reduced to achieve the purpose of reducing costs.
[0075] In order to achieve the above object, the present invention further provides an electronic device, which includes the above integrated transceiver ranging circuit.
[0076] It should be noted that, since the electronic device of the present application includes all the solutions of the above-mentioned integrated transceiver ranging circuit, the electronic device can also implement all the solutions of the integrated transceiver ranging circuit and have the same beneficial effects, which will not be repeated here.
[0077] Optionally, the electronic device further comprises a shell, the shell having a first mounting surface and a second mounting surface which are arranged opposite to each other, and each pair of the test branches is respectively arranged on the first mounting surface and the second mounting surface.
[0078] In practical applications, the electronic device may be a car, an intelligent robot or other equipment. In this case, the first mounting surface and the second mounting surface may be in any set of directions such as front and back, left and right, up and down, etc., thereby enabling effective and multi-directional measurement.
[0079] Optionally, the electronic device also includes a shell having a third mounting surface and a fourth mounting surface that are relatively arranged, the third mounting surface is arranged to intersect with the first mounting surface, and each pair of the test branches is arranged on the first mounting surface, the second mounting surface, the third mounting surface and the fourth mounting surface.
[0080] In practical applications, the electronic device can be a car, an intelligent robot or other equipment. In this case, the first mounting surface and the second mounting surface can be any two sets of orientations such as front and back, left and right, up and down, etc., so as to achieve effective and multi-directional measurement.
[0081] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
Claims
1. A transceiver integrated ranging circuit, characterized in that: The transceiver integrated ranging circuit comprises: A control circuit having a timing signal output terminal, N control signal output terminals and M feedback signal receiving terminals, and used for outputting the timing signal and the N control signals; A logic gate circuit, having a timing signal input terminal, N control signal input terminals and N drive signal output terminals, wherein the timing signal input terminal of the logic gate circuit is connected to the timing signal output terminal of the control circuit, and the control signal input terminals of the N logic gate circuits are connected one-to-one to the control signal output terminals of the N control circuits; and is used to output a drive signal according to the timing signal and the N control signals; A detection module having N drive signal input terminals and M detection signal output terminals, wherein the drive signal input terminals of the N detection modules are connected one-to-one to the drive signal output terminals of the N logic gate circuits, and the detection signal output terminals of the M detection modules are connected one-to-one to the feedback signal receiving terminals of the M control circuits; The detection module includes N groups of detection circuits; each of the detection circuits includes M detection branches; For each of the detection circuits, the driving signal input ends of the M detection branches are connected to each other to form a driving signal input end of the detection module; the detection signal output ends of the Zth detection branches of the N groups of detection circuits are connected to each other to form a detection signal output end of the detection module; and are used to perform detection upon receiving the driving signal and obtain detection signals corresponding to the number of detection branches; The detection signals of the plurality of detection branches connected to the same feedback signal receiving end are superimposed and combined into a feedback signal; The control circuit is further used to receive the M feedback signals and determine the detection result of each of the N*M detection branches according to the M feedback signals.
2. The transceiver integrated ranging circuit according to claim 1, characterized in that: The N control signals are synchronous PWM signals.
3. The transmitting and receiving integrated ranging circuit according to claim 1, characterized in that: The control circuit is an ARM processor.
4. The transmitting and receiving integrated ranging circuit according to claim 1, characterized in that: The detection frequency of each detection branch is different.
5. The transmitting and receiving integrated ranging circuit according to claim 1, characterized in that: The integrated transceiver ranging circuit also includes M amplifying circuits, and M feedback loops are formed between the feedback signal receiving ends of the M control circuits and the detection signal output ends of the M detection modules. Each of the amplifying circuits is separately arranged in one of the feedback loops to amplify the feedback signal output by the detection signal output end of the corresponding detection module.
6. The transmitting and receiving integrated ranging circuit according to claim 1, characterized in that: The logic gate circuit includes M AND gates, a first input end of each AND gate is connected to a timing signal output end of the control circuit, and feedback signal receiving ends of the M control circuits are connected one-to-one to second input ends of the M AND gates.
7. A transmitting and receiving integrated ranging circuit, characterized in that: The transceiver integrated ranging circuit comprises: A control circuit having a timing signal output terminal, a first control signal output terminal, a second control signal output terminal, a third control signal output terminal, a first feedback signal receiving terminal and a second feedback signal receiving terminal, and being used to output a timing signal and a first control signal, a second control signal and a third control signal; A logic gate circuit, comprising a timing signal input terminal, a first control signal input terminal, a second control signal input terminal, a third control signal input terminal, a first drive signal output terminal, a second drive signal output terminal and a third drive signal output terminal, wherein the timing signal input terminal of the logic gate circuit is connected to the timing signal output terminal of the control circuit, the first control signal input terminal of the logic gate circuit is connected to the first control signal output terminal of the control circuit, the second control signal input terminal of the logic gate circuit is connected to the second control signal output terminal of the control circuit, and the third control signal input terminal of the logic gate circuit is connected to the third control signal output terminal of the control circuit; and used for performing logic operations on the timing signal and the first control signal, the second control signal and the third control signal respectively to obtain a first drive signal, a second drive signal and a third drive signal; A detection module, comprising a first drive signal input terminal, a second drive signal input terminal, a third drive signal input terminal, a first detection signal output terminal and a second detection signal output terminal, wherein the first drive signal input terminal of the detection module is connected to the first drive signal output terminal of the logic gate circuit, the second drive signal input terminal of the detection module is connected to the second drive signal output terminal of the logic gate circuit, and the third drive signal input terminal of the detection module is connected to the third drive signal output terminal of the logic gate circuit; the first detection signal output terminal of the detection module is connected to the first feedback signal receiving terminal of the control circuit, and the second detection signal output terminal of the detection module is connected to the second feedback signal receiving terminal of the control circuit; The detection module includes a first detection circuit, a second detection circuit and a third detection circuit; each of the detection circuits includes a first detection branch and a second detection branch; The driving signal input end of the first detection branch of the first detection circuit is connected to the driving signal input end of the second detection branch of the first detection circuit to form the first driving signal input end of the detection module, the driving signal input end of the first detection branch of the second detection circuit is connected to the driving signal input end of the second detection branch of the second detection circuit to form the second driving signal input end of the detection module, and the driving signal input end of the first detection branch of the third detection circuit is connected to the driving signal input end of the second detection branch of the third detection circuit to form the third driving signal input end of the detection module; the detection signal output end of the first detection branch of the first detection circuit and the detection signal output end of the first detection branch of the second detection circuit The detection signal output end and the detection signal output end of the first detection branch of the third detection circuit are connected to each other to form the first detection signal output end of the detection module, the detection signal output end of the second detection branch of the first detection circuit, the detection signal output end of the second detection branch of the second detection circuit and the detection signal output end of the second detection branch of the third detection circuit are connected to each other to form the second detection signal output end of the detection module; and are used to perform detection upon receiving the first drive signal, the second drive signal and the third drive signal and obtain the first detection signal, the second detection signal, the third detection signal, the fourth detection signal, the fifth detection signal and the sixth detection signal corresponding to the number of the detection branches; The detection signals of the plurality of detection branches connected to the same feedback signal receiving end are superimposed and combined into a feedback signal; The first detection signal, the second detection signal and the third detection signal are superimposed and combined into a first feedback signal, and the fourth detection signal, the fifth detection signal and the sixth detection signal are superimposed and combined into a second feedback signal; The control circuit is also used to receive the first feedback signal and the second feedback signal, and determine the detection results of the first detection branch of the first detection circuit, the second detection branch of the first detection circuit, the first detection branch of the second detection circuit, the second detection branch of the second detection circuit, the first detection branch of the third detection circuit, and the second detection branch of the third detection circuit based on the first feedback signal and the second feedback signal.
8. An electronic device, characterized in that: The electronic device comprises the transceiver-integrated ranging circuit as described in any one of claims 1-5.
9. The electronic device according to claim 8, characterized in that: The electronic device further comprises a housing, wherein the housing comprises a first mounting surface and a second mounting surface which are arranged opposite to each other, and each pair of the detection branches is respectively arranged on the first mounting surface and the second mounting surface.
10. The electronic device according to claim 9, characterized in that: The shell has a third mounting surface and a fourth mounting surface arranged opposite to each other, the third mounting surface is arranged to intersect with the first mounting surface, and each pair of detection branches is arranged on the first mounting surface, the second mounting surface, the third mounting surface and the fourth mounting surface.
