Portable detector of parking space detection device
Through the integrated current output circuit and signal sampling circuit of the portable detector, the problem of long detection time of the parking space detection device and unclear fault positioning is solved, and efficient and portable detection coverage and accurate fault positioning are achieved.
Patent Information
- Application Number
- CN202421503488.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2034-06-27
AI Technical Summary
The detection methods of existing parking space detection devices lack professional tools, resulting in long detection time, complexity and unclear fault positioning, especially the performance detection of ultrasonic probes is inconvenient.
A portable detector is designed, integrating current output circuit, frequency signal sampling circuit, sinusoidal signal output circuit and square wave signal output circuit, which can simulate the working state of the pin sensor and ultrasonic probe, detect through a variety of signal excitation interfaces, and combine with a microprocessor and display screen for fault location.
It has achieved a large coverage of the function and performance detection of the parking space detection device, clear fault positioning, reduced the number and types of special equipment, portability, and is suitable for a variety of inspection sites.
Smart Images

Figure CN223193011U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of parking space detection, in particular to a portable detector for a parking space detection device. Background Art
[0002] The special vehicle parking space detection device is mainly used to detect the relative position of special vehicles and the locking status of equipment storage boxes. It is used to provide the driver with auxiliary information such as the distance between the two vehicles during the installation of the equipment storage box and the real-time locking status of the equipment storage box during driving, so as to reduce operation time. Therefore, the accuracy of various functional indicators of the parking space detection device is crucial.
[0003] At present, the detection of parking space detection devices adopts a more traditional detection method, which requires special detection methods and means and a large number of special test instruments. This detection method has the following shortcomings:
[0004] 1. There are no specialized tools, the equipment maintenance and testing time is long, the testing methods are complicated, time-consuming and labor-intensive;
[0005] 2. There are no professional tools to detect whether the ultrasonic probe is performing normally, which brings inconvenience to the repair and maintenance of the product;
[0006] 3. The detection coverage is small, the fault judgment is unclear when a fault occurs, and the specific fault point cannot be located. Utility Model Content
[0007] The technical problem to be solved by the utility model is how to design a portable parking space detector with high integration and clear fault location for detecting a parking space detection device.
[0008] In order to solve the above technical problems, the present utility model provides a portable detector for a parking space detection device, which detects the parking space detection device. The parking space detection device has a pin sensor and an ultrasonic sensor. Ultrasonic probes are arranged around the vehicle body. The detector includes a box body, which includes:
[0009] a display screen embedded in the surface of the box body and an electrical connector exposed on the side wall of the box body; and
[0010] A detection mainboard built into the box body is provided with a single-chip microcomputer, and is connected to the single-chip microcomputer:
[0011] a current output circuit for detecting the locking function of the parking space detection device, wherein the current output circuit outputs an adjustable current signal of 4mA to 20mA to simulate the working state of the pin sensor;
[0012] A frequency signal sampling circuit and a sinusoidal signal output circuit for detecting the distance measurement function of the parking space detection device;
[0013] A square wave signal output circuit is used to detect a single ultrasonic sensor. The square wave signal output circuit applies a resonant frequency to the ultrasonic probe so that the ultrasonic probe resonates and then outputs a sinusoidal electrical signal. The ultrasonic probe is detected by detecting the resonant frequency of the sinusoidal electrical signal of the ultrasonic probe.
[0014] Furthermore, a voltage signal sampling circuit is also provided on the detection main board, and the voltage signal sampling circuit includes a resistor R152 and a resistor R163 connected in series and a current limiting resistor R153. The voltage output end of the current limiting resistor R153 is connected to pin 13 of the patch multi-way electronic switch U12, and pin 3 of the patch multi-way electronic switch U12 is connected to the single-chip microcomputer.
[0015] Furthermore, the frequency signal sampling circuit is used to sample the 8-channel ultrasonic sinusoidal signals of the parking space detection device. The frequency signal sampling circuit includes corresponding voltage-dividing resistors and a comparator. The comparator compares the voltage value after the voltage is divided by the voltage-dividing resistor with the reference voltage and outputs it to the single-chip microcomputer.
[0016] Furthermore, the square wave signal output circuit includes a chip optocoupler E1, pin 1 of the chip optocoupler E1 is connected to a 3.3V voltage through a resistor R100, pin 3 of the chip optocoupler E1 is connected to the single-chip microcomputer, pin 6 of the chip optocoupler E1 is connected to a 15V voltage, a resistor R334 is connected between pins 5 and 6 of the chip optocoupler E1, and pin 5 of the chip optocoupler E1 outputs a waveform by connecting a resistor R103.
[0017] Furthermore, the detection mainboard is also provided with a CAN bus communication circuit, an RS485 communication circuit and a USB interface circuit.
[0018] Furthermore, the detector also includes a microprocessor, and the microprocessor is connected to the driving interface of the display screen via an SPI interface.
[0019] Furthermore, the model of the microprocessor is GD32F450ZX.
[0020] Furthermore, buttons and a buzzer are provided on the surface of the box body.
[0021] Compared with the prior art, the present invention has the following beneficial effects:
[0022] The utility model has a variety of signal excitation interfaces, which can meet the function and performance testing of the parking space detection device, and has a large detection coverage and clear fault location, which can reduce the number and types of special equipment and other detection equipment; at the same time, it has the characteristics of portability and can be carried out on the vehicle for detection, with low requirements for the detection site. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 This is a block diagram of the circuit principle disclosed in the embodiment of the utility model;
[0024] Figure 2 The power supply circuit disclosed in the embodiment of the present utility model;
[0025] Figure 3 The output power supply circuit disclosed in the embodiment of the utility model;
[0026] Figure 4 The current signal output circuit disclosed in the embodiment of the present utility model;
[0027] Figure 5 The sinusoidal signal output circuit disclosed in the embodiment of the present utility model;
[0028] Figure 6 The voltage signal sampling circuit disclosed in the embodiment of the present utility model;
[0029] Figure 7 The frequency signal sampling circuit disclosed in the embodiment of the present utility model;
[0030] Figure 8 The square wave signal output circuit disclosed in the embodiment of the present utility model;
[0031] Figure 9 The ultrasonic probe sinusoidal signal frequency sampling circuit disclosed in the embodiment of the utility model;
[0032] Figure 10 The CAN bus communication circuit disclosed in the embodiment of the utility model;
[0033] Figure 11 The RS485 communication circuit disclosed in the embodiment of the present utility model;
[0034] Figure 12 The present invention discloses a USB interface circuit according to an embodiment of the present invention.
[0035] In the figure: 01, parking space detection device; 02, ultrasonic probe; 11, detection main board; 12, display screen. DETAILED DESCRIPTION
[0036] In order to make the technical solution and technical effect of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments.
[0037] The utility model aims to provide a portable detector for a parking space detection device, which is used to detect a parking space detection device 01 (hereinafter referred to as the parking space detection device 01 as the device under test), so as to apply signal excitation to the device under test, simulate relevant signals, and perform fault detection and positioning on the signals and bus data of the device under test, so as to improve the comprehensive detection and maintenance capabilities of special vehicles and ensure the safe use of equipment in peacetime and wartime.
[0038] The parking space detection device 01 is provided with a pin sensor and an ultrasonic sensor, and ultrasonic probes 02 are arranged around the vehicle body.
[0039] The portable detector provided by the utility model includes a box body, which includes a display screen 12 embedded in the surface of the box body and an electrical connector exposed on the side wall of the box body. The surface of the box body is also provided with a button and a buzzer; a detection mainboard 11 is provided in the box body, and the detection mainboard 11 is provided with a single-chip microcomputer, a power supply circuit, an output power supply circuit, a current signal output circuit, a sine signal output circuit, a voltage signal sampling circuit, a frequency signal sampling circuit, a square wave signal output circuit, an ultrasonic probe sine signal frequency sampling circuit, a CAN bus communication circuit, an RS485 communication circuit and a USB interface circuit. Figure 1 :
[0040] The power supply circuit mainly provides stable and reliable control power and output power for the portable detector.
[0041] The output power supply circuit is used to provide power to the device under test, including power supply for the device under test, power supply for indicator lights, and power supply for sensors.
[0042] The current signal output circuit is used to simulate the current signal of the pin shaft sensor to realize the detection of the locking function of the pin shaft sensor of the device under test.
[0043] The sinusoidal signal output circuit is used to simulate the ultrasonic probe sensor to output a sinusoidal electrical signal. When the detector detects that the device under test has started to perform vehicle distance detection (the resonant frequency signal output by the device under test is used to determine that the device under test has started to perform the vehicle distance detection function), the feedback signal of the probe is simulated according to the corresponding relationship between distance and sound propagation speed to realize the distance measurement function detection of the device under test.
[0044] The voltage signal sampling circuit is used to collect the output voltage value of the device under test to realize the detection of the indicator light driving function of the device under test.
[0045] The frequency signal sampling circuit is used to collect the resonant frequency signal output by the device under test, determine whether the device under test has started to perform the vehicle distance detection function, and realize the detection of the circuit driving the ultrasonic probe of the device under test and the resonant oscillation of the ultrasonic probe.
[0046] The square wave signal output circuit is used to generate resonance in the ultrasonic probe. When the ultrasonic probe resonates, it can output a sinusoidal electrical signal. By detecting the resonant frequency of the sinusoidal electrical signal of the ultrasonic probe, the quality of the ultrasonic probe can be judged.
[0047] The ultrasonic probe sinusoidal signal frequency sampling circuit is used to detect the resonant frequency of the ultrasonic probe and realize the detection of the resonant oscillation of the ultrasonic probe.
[0048] The bus interface includes a USB bus interface, a 485 bus interface and a CAN bus interface. The USB interface circuit is used to export the test result data. The RS485 communication circuit is used to communicate with an external host computer to send the test results to the host computer. The CAN bus communication circuit is used for the detector to obtain the bus data of the device under test.
[0049] The following is a brief introduction to the main circuits:
[0050] Power supply circuit reference Figure 2 The input power supply C is connected in series with the V7 diode for reverse polarity protection. The input is filtered through the common-mode inductor and energy storage filter capacitors C12 and C13 before being input to the power module U1. V8 is an input transient voltage suppression diode used to suppress power surge voltage and protect the subsequent power module. The module power supply has a rated output voltage of DC24V and a power of 100W, which can meet the power supply and control requirements of subsequent equipment. The U2 power module has a rated power of 6W and an output voltage of ±DC5.0V, which can meet the power supply requirements of the acquisition circuit's op amps, 5.0V power supply voltage level chips, and control circuits; the LDO linear regulator block N6 outputs DC3.3V, which is used to provide control power for 3.3V power supply voltage level chips such as microcontrollers.
[0051] Output power supply circuit reference Figure 3 The output power supply circuit is used to power the locking light / pin sensor. The circuit output is controlled by an intelligent electronic switch. For example, using M1 as an example, the microcontroller is connected to pin 2 of optocoupler E12, pin 4 of E12 is connected to pin 2 of power switch M1, and finally, pins 1 and 5 of power switch M1 are connected together to output the voltage. The microcontroller controls the on / off state of optocoupler E12, which in turn controls the on / off state of power switch M1. Diode D3 and resistor R203 are used to dissipate energy from the load after the output is turned off.
[0052] Current signal output circuit reference Figure 4, with 4-way current signal output interface, which can simulate the real-time working status of a set of locking devices (4-way current type sensors). The current output circuit can output 4mA~20mA adjustable current signal with an accuracy of 0.002%, which is fully in line with the working status of the vehicle pin shaft sensor (i.e. current type sensor). The digital-to-analog converter U5 is used to expand the DAC interface of the microcontroller, with 1 digital input interface and 4 analog voltage signal output interfaces. Through the SPI bus interface, it can realize online adjustment of the output voltage; it can control the 4-way output analog voltage signal in time-sharing mode. U4 is a precision voltage-to-current converter that can output 4mA~20mA analog current signals, such as Figure 3 In the application circuit, resistor R72 (R = 15Ω) is a current-limiting resistor, used to limit the current to within 36mA, providing overcurrent protection in the event of an abnormal output current failure. Field-effect transistor Q4 is a constant-current source output power device. U4 controls Q4 field-effect transistor to operate in constant-resistance mode, achieving a constant-current power signal output. R77 and C87 limit current surges caused by external voltage changes, providing overvoltage protection for the circuit. Diode V15 is used to prevent backflow from affecting the chip due to sudden voltage fluctuations in downstream devices. Taking the connection between U4 and a digital-to-analog converter as an example, the input of U5 is connected to the microcontroller. Pin 1 of U5's voltage output is connected to the current-to-voltage converter U4 through resistor R86. Pins 2 and 3 of the current-to-voltage converter U4 are connected to devices such as transistors, resistors, MOSFETs, and diodes. Finally, the current is output through the cathode of the diode. The output current is mainly based on the formula OUTI_A = 10 × VIN_A / R78. The microcontroller controls U5 to output different voltage values VIN_A, thereby obtaining different current values OUTI_A.
[0053] Sine signal output circuit reference Figure 5N7 (AD9833BRMZ) can generate sine wave, triangle wave and square wave signals with programmable frequency and fixed peak value through bus control. Pins 6, 7 and 8 of N7 are connected to the corresponding pins of the microcontroller. The microcontroller controls the output of waveforms of different frequencies. The waveform is output by pin 10 of N7 and connected to pin 3 of operational amplifier N8 by resistor R74. U13 is a precision reference voltage chip. By adjusting the resistance of the pre-adjustment potentiometer R289, the input voltage of pin 2 of N8 is adjusted so that the waveform input to the operational amplifier starts from 0V, and the voltage is highly stable and has little effect on temperature. The operational amplifier amplification ratio is adjusted by the programmable resistor N6 to adjust the size of the amplification factor resistors RT1 and RT2 to achieve the adjustment of the operational amplifier amplification ratio. Therefore, the output waveform of N8 can be arbitrarily adjusted within the amplitude range of 0V to 5V, realizing online real-time adjustment of the output sine waveform and amplitude, meeting the waveform requirements of the parking space detection device output. The sinusoidal signal ZXB_S1 realizes the time-sharing output control requirements of 8-channel sinusoidal signals through the output control relay, and can detect various frequencies and amplitudes of the 8-channel ultrasonic detection circuits in the parking space detection device.
[0054] Voltage signal sampling circuit reference Figure 6 The voltage signal sampling circuit includes a resistor R152 and a resistor R163 connected in series, and a current limiting resistor R153. The voltage output end of the current limiting resistor R153 is connected to the 13th pin of the patch multi-way electronic switch U12, and the 3rd pin of the patch multi-way electronic switch U12 is connected to the single-chip microcomputer, so that the single-chip microcomputer processes the data to obtain the sampled voltage value.
[0055] Frequency signal sampling circuit reference Figure 7 The frequency signal sampling circuit samples the eight ultrasonic sinusoidal signals emitted by parking space detection device 01. It includes corresponding voltage-dividing resistors and a comparator. The comparator compares the voltage divided by the resistors with a reference voltage and outputs the result to the microcontroller. Using N11A as an example, the input voltage is divided by resistors R73 and R84 and compared with a 2.5V reference voltage. Pin 1 of comparator N11 then outputs a high or low level based on the comparison result to the microcontroller. The microcontroller then processes the high and low level data through interrupts to count the waveform frequency.
[0056] Square wave signal output circuit reference Figure 8 The square wave output circuit is used to apply a resonant frequency to the ultrasonic probe, causing it to resonate. Sampling is primarily achieved through a single-chip microcontroller controlling a high-speed optocoupler. The microcontroller controls the on / off switching of the TLP112A chip optocoupler to output a square wave. Specifically, pin 1 of the chip optocoupler E1 is connected to a 3.3V voltage via resistor R100, pin 3 of E1 is connected to a microcontroller pin, and pin 6 of E1 is connected to a 15V voltage. A resistor R334 is connected between pins 5 and 6 of E1, and pin 5 of E1 is connected to resistor R103 to output the waveform.
[0057] Ultrasonic probe sinusoidal signal frequency sampling circuit reference Figure 9 The ultrasonic probe's sinusoidal signal frequency sampling circuit is used to sample the resonant sinusoidal signal output by the ultrasonic wave to determine whether the current ultrasonic probe is functioning properly. The ultrasonic probe's resonant frequency is 40kHz (nominal). When the detector applies a frequency of 40kHz±5kHz to the ultrasonic probe, the ultrasonic probe can synchronously output a sinusoidal waveform with a frequency of 40kHz±5kHz. After the sinusoidal signal is input to comparator N15, it is compared with the reference voltage. When the input voltage amplitude exceeds the comparison voltage, comparator pin 1 outputs a high-level signal. When the input voltage amplitude is lower than the comparison voltage, comparator pin 1 outputs a low-level signal. By collecting and judging the input level, the ultrasonic resonant frequency can be calculated and analyzed to determine whether the ultrasonic wave is resonant.
[0058] CAN bus communication circuit reference Figure 10 The CAN bus communication circuit is mainly used to exchange information with the parking detection device 01 and obtain real-time status information of the parking detection device 01. The CTM1051M transceiver chip is selected, CAN1_L and CAN1_H are output to the outside, and CAN1_TXD_N1 and CAN1_RXD_N1 are connected to the CAN communication port of the microcontroller.
[0059] RS485 communication circuit reference Figure 11 The 11th, 12th and 13th pins of the RS-485 transceiver N1 are mainly connected to the microcontroller, the 1st pin of N1 is connected to the 3.3V voltage, the 5th and 6th pins of N1 output communication data through resistors R25 and R30 respectively, and the RS485 communication circuit is used to connect to the host computer.
[0060] USB interface circuit reference Figure 12 The USB interface circuit is realized through the USB interface of the microcontroller. A protection design is added to the peripheral circuit. The 4th and 6th pins of the USB protection diode V38 are connected to the microcontroller through resistors R220 and R229 respectively. The 1st, 2nd, 3rd and 5th pins of V38 are connected to the external USB interface, which is mainly used to export test data.
[0061] The present invention also includes a microprocessor to realize the functions of data acquisition and processing. The microprocessor is connected to the drive interface of the display screen 12 via an SPI interface. The model of the microprocessor is GD32F450ZX, and its specific functions are not described in detail.
[0062] The utility model can realize the detection of display control, pin sensor, locking, distance measurement, ultrasonic sensor and locking light.
[0063] The display and control test consists of two parts: CAN communication status test and panel switch test. CAN communication status test obtains bus data from the display and control device through the CAN bus communication circuit to determine whether the communication status is normal. Panel switch test is mainly achieved through human-computer interaction. After flipping the switch, observe whether the interface changes, and then confirm the result by pressing the key.
[0064] The locking detection is used to detect the locking function of the detection module. Different current values are output through the current output circuit to simulate the states of the pin shaft sensor being disconnected, locked, or unlocked. The bus data is obtained by the CAN bus communication circuit to check whether the corresponding state changes such as disconnected, locked, or unlocked occur. At the same time, the voltage signal sampling circuit samples the power supply voltage of the locking light.
[0065] Distance detection is used to detect the distance measurement function of the detection module. The frequency sampling circuit samples the waveform data periodically emitted by the detection module. According to the relationship between distance and time, the sine wave output circuit is controlled to output a sine waveform at regular intervals to realize distance detection. Each ranging channel simulates three distances of 0.5m, 1.5m, and 3.2m respectively.
[0066] Ultrasonic sensor detection is used to detect a single ultrasonic sensor. It outputs a 40kHz waveform to the tooling probe through a 40kHz square wave output circuit, sending out an ultrasonic signal. The ultrasonic probe under test is placed close to the tooling probe, receives the ultrasonic signal, and converts the acoustic signal into a 40kHz sinusoidal signal. The frequency sampling circuit detects the feedback frequency to determine whether the current resonant frequency is normal.
[0067] The locking light test is used to detect a single locking light. The locking light / pin sensor power supply circuit directly powers the locking light. Through human-computer interaction, check whether the red and green lights of the locking light are all lit, and then confirm the result by pressing the button.
[0068] The utility model has a variety of signal excitation interfaces, which can meet the function and performance detection of the device under test, can clearly locate the fault, and reduce the number and types of special equipment and other detection equipment.
[0069] Although the embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and variations may be made to these embodiments without departing from the principles and spirit of the present invention, and the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A portable detector for a parking space detection device, wherein the detector detects the parking space detection device (01), wherein the parking space detection device (01) is provided with a pin sensor and an ultrasonic sensor, and ultrasonic probes (02) are provided around the vehicle body. The detector includes a box body, and is characterized in that: The box body comprises: a display screen (12) embedded in the surface of the box body and an electrical connector exposed on the side wall of the box body; and A detection mainboard (11) built into the box body, the detection mainboard (11) is provided with a single chip microcomputer, and connected to the single chip microcomputer are: a current output circuit for detecting the locking function of the parking space detection device (01), wherein the current output circuit outputs an adjustable current signal of 4 mA to 20 mA to simulate the working state of the pin sensor; A frequency signal sampling circuit and a sinusoidal signal output circuit for detecting the distance measurement function of the parking space detection device (01); A square wave signal output circuit for detecting a single ultrasonic sensor, wherein the square wave signal output circuit applies a resonant frequency to the ultrasonic probe (02) so that the ultrasonic probe (02) resonates and then outputs a sinusoidal electrical signal, and detects the ultrasonic probe (02) by detecting the resonant frequency of the sinusoidal electrical signal of the ultrasonic probe (02).
2. The portable detector of the parking space detection device according to claim 1, characterized in that: The detection mainboard (11) is also provided with a voltage signal sampling circuit, which includes a resistor R152 and a resistor R163 connected in series and a current limiting resistor R153. The voltage output end of the current limiting resistor R153 is connected to the pin 13 of the patch multi-way electronic switch U12, and the pin 3 of the patch multi-way electronic switch U12 is connected to the single chip microcomputer.
3. The portable detector of the parking space detection device according to claim 1, characterized in that: The frequency signal sampling circuit is used to sample the 8-channel ultrasonic sinusoidal signals of the parking space detection device (01). The frequency signal sampling circuit includes corresponding voltage-dividing resistors and a comparator. The comparator compares the voltage value after the voltage is divided by the voltage-dividing resistors with a reference voltage and outputs the result to the single-chip microcomputer.
4. The portable detector of the parking space detection device according to claim 1, characterized in that: The square wave signal output circuit includes a chip optocoupler E1, pin 1 of the chip optocoupler E1 is connected to a 3.3V voltage through a resistor R100, pin 3 of the chip optocoupler E1 is connected to the single-chip microcomputer, pin 6 of the chip optocoupler E1 is connected to a 15V voltage, a resistor R334 is connected between pins 5 and 6 of the chip optocoupler E1, and pin 5 of the chip optocoupler E1 outputs a waveform by connecting a resistor R103.
5. The portable detector of the parking space detection device according to claim 1, characterized in that: The detection mainboard (11) is also provided with a CAN bus communication circuit, an RS485 communication circuit and a USB interface circuit.
6. The portable detector of the parking space detection device according to claim 1, characterized in that: The detector further comprises a microprocessor, which is connected to a driving interface of the display screen (12) via an SPI interface.
7. The portable detector of the parking space detection device according to claim 6, characterized in that: The model of the microprocessor is GD32F450ZX.
8. The portable detector of the parking space detection device according to claim 1, characterized in that: The surface of the box body is provided with buttons and a buzzer.