Method, system and readable storage medium for controlling operation of vehicle-mounted peripheral unit
By using the ACC detection unit in new energy vehicles to combine the CAN signal input interruption and external voltage, the operating status of the vehicle-mounted peripheral unit is controlled, and the problems of over-discharge and low service life are solved, and the battery life is extended and the vehicle power guarantee is achieved.
Patent Information
- Application Number
- CN202210685294.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-16
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2042-06-16
AI Technical Summary
The existing technology cannot effectively control the operation of on-board peripheral units in new energy vehicles, resulting in problems such as over-discharge of batteries and low service life.
The ACC detection unit combines the CAN signal input interruption and external power voltage input from the OBD power-supply device. Only when the preset on and off conditions are met, a power supply enable or power off enable signal is sent to the power management unit to control the operating status of the vehicle peripheral unit.
Accurate control of the vehicle peripheral unit is achieved, extending the service life of the battery, and ensuring that the vehicle has sufficient power for subsequent vehicle ignition and start-up.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile technology, and in particular to a method for controlling the operation of an on-board peripheral unit, a system for controlling the operation of an on-board peripheral unit, and a computer-readable storage medium. Background Art
[0002] As the country vigorously promotes the development of new energy technology, more and more new energy vehicles such as hybrid vehicles and pure electric vehicles have appeared on the market. Because the starting power supply of new energy vehicles almost does not have pull-down fluctuations, the method of judging the start and stop of the vehicle ACC (Adaptive Cruise Control) through the power fluctuations generated when the vehicle is ignited, and thus controlling the operating status of the on-board peripheral unit is no longer applicable to new energy vehicles.
[0003] Based on this problem, the market currently proposes to parse CAN (Controller Area Network) data through the OBD (On-Board Diagnostics) interface to determine the vehicle ACC start / stop status. However, in actual applications, it is found that the solution of parsing CAN data through the OBD interface has the problems of high cost, poor adaptability and high power consumption of the single-chip computer, which causes the on-board terminal to continue running after the vehicle ACC stops, resulting in battery loss, and then causing the vehicle's battery to be over-discharged and have a short service life. Summary of the invention
[0004] The main purpose of the present invention is to provide a method for controlling the operation of a vehicle-mounted peripheral unit, a system for controlling the operation of a vehicle-mounted peripheral unit and a computer-readable storage medium, aiming to solve the technical problem that the current solutions on the market for judging the start and stop status of ACC and then controlling the operation of the vehicle-mounted peripheral unit cannot well control the operation of the vehicle terminal, resulting in over-discharge and low service life of the vehicle's battery.
[0005] To achieve the above object, the present invention provides a method for controlling the operation of a vehicle-mounted peripheral unit, the method for controlling the operation of the vehicle-mounted peripheral unit comprising the following steps:
[0006] When the ACC detection unit receives a CAN signal input interrupt, the external power ADC detection is turned on to read the external power voltage;
[0007] Determining, by the ACC detection unit, whether the CAN signal input interruption and the external power voltage meet a preset start condition;
[0008] If the CAN signal input is interrupted and the external power voltage meets the preset start-up conditions, the vehicle ACC is determined to be started, and a power supply enable signal is sent to the power management unit based on the ACC detection unit, so that the power management unit can supply power to the on-board peripheral unit of the OBD power supply device, so that the on-board peripheral unit enters the operating state.
[0009] Optionally, after the step of making the vehicle-mounted peripheral unit enter the running state, the method further includes:
[0010] Determine whether the CAN signal input interruption and the external power voltage meet the preset shutdown conditions;
[0011] If the CAN signal input is interrupted and the external power voltage meets the preset shutdown condition, it is determined that the vehicle ACC is stopped, and based on the ACC detection unit, a power-off enable signal is sent to the power management unit so that the power management unit stops supplying power to the on-board peripheral unit, so that the on-board peripheral unit enters a shutdown state.
[0012] Optionally, after the step of determining whether the CAN signal input is interrupted and the external power voltage meets a preset shutdown condition, the method further includes:
[0013] If the CAN signal input interruption and the external power voltage do not meet the preset shutdown condition, executing the step of sending a power supply enable signal to the power management unit based on the ACC detection unit;
[0014] If the CAN signal input interruption does not meet the preset shutdown condition, but the external power voltage meets the preset shutdown condition, a power-off enable signal is sent to the power management unit based on the ACC detection unit so that the power management unit stops supplying power to the on-board peripheral unit, and performs the step of starting external power ADC detection to read the external power voltage after the ACC detection unit receives the CAN signal input interruption.
[0015] Optionally, after the step of determining by the ACC detection unit whether the CAN signal input is interrupted and the external power voltage meets a preset start condition, the method further includes:
[0016] If the CAN signal input interruption and the external power voltage do not meet the preset start-up condition, the ACC detection unit is controlled to enter a standby mode and the CAN signal input interruption is detected;
[0017] If the CAN signal input interruption satisfies the preset start-up condition, but the external power voltage does not meet the preset start-up condition, the step of starting the external power ADC detection to read the external power voltage after the ACC detection unit receives the CAN signal input interruption is performed.
[0018] The present invention also provides a system for controlling the operation of an on-board peripheral unit, the system for controlling the operation of an on-board peripheral unit comprising an ACC detection unit, a power management unit and an OBD power taking device, the ACC detection unit being electrically connected to the OBD power taking device and the power management unit respectively, and the power management unit being electrically connected to the OBD power taking device;
[0019] The ACC detection unit is used to start the external power ADC detection to read the external power voltage after receiving the CAN signal input interruption, and determine whether the CAN signal input interruption and the external power voltage meet the preset start-up conditions. If the CAN signal input interruption and the external power voltage meet the preset start-up conditions, it is determined that the vehicle ACC is started, and a power supply enable signal is sent to the power management unit;
[0020] The power management unit includes a first power supply and a second power supply, the first power supply is connected to the ACC detection unit, and the second power supply is connected to the vehicle-mounted peripheral unit of the OBD power supply device, for supplying power to the vehicle-mounted peripheral unit;
[0021] The OBD power supply device is used to enable the vehicle-mounted peripheral unit to enter an operating state.
[0022] Optionally, the ACC detection unit includes a first resistor, a second resistor, a third resistor, a fourth resistor and a first single chip microcomputer;
[0023] One end of the first resistor is connected to the CAN signal output end of the OBD power port of the OBD power taking device, the other end of the first resistor is connected to the first pin of the first single chip microcomputer, and the second resistor is connected to the connection point between the first resistor and the first single chip microcomputer;
[0024] One end of the third resistor is connected to the power supply end of the OBD power port, the other end of the third resistor is connected to the second pin of the first single-chip microcomputer, and the fourth resistor is connected to the connection point between the third resistor and the first single-chip microcomputer;
[0025] The third pin of the first single chip microcomputer is connected to the enable terminal of the power management unit.
[0026] Optionally, the ACC detection unit includes a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a first NPN transistor, a first capacitor and a second single chip microcomputer;
[0027] One end of the fifth resistor is connected to the CAN signal output end of the OBD power port of the OBD power taking device, the other end of the fifth resistor is connected to the base of the first NPN transistor, the emitter of the first NPN transistor is grounded, and the sixth resistor is connected to the connection point between the fifth resistor and the first NPN transistor;
[0028] One end of the seventh resistor is connected to the first power supply, and the other end of the seventh resistor is connected to the first pin of the second single-chip microcomputer via the collector of the first NPN transistor;
[0029] One end of the eighth resistor is connected to the power supply end of the OBD power port, the other end of the eighth resistor is connected to the second pin of the second single-chip microcomputer, and the first capacitor and the ninth resistor are connected in parallel to the connection point between the eighth resistor and the second single-chip microcomputer;
[0030] The third pin of the second single chip microcomputer is connected to the enable terminal of the power management unit.
[0031] Optionally, the ACC detection unit includes a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a second NPN transistor, a first transient diode, a second transient diode, a second capacitor and a third single-chip microcomputer;
[0032] One end of the tenth resistor is connected to the CAN signal output end of the OBD power port of the OBD power taking device, the first transient diode is connected to the connection point between the tenth resistor and the OBD power taking port, the other end of the tenth resistor is connected to the base of the second NPN transistor, and the eleventh resistor is connected to the connection point between the tenth resistor and the second NPN transistor;
[0033] One end of the twelfth resistor is connected to the first power supply, and the other end of the twelfth resistor is connected to the first pin of the third single-chip microcomputer via the collector of the second NPN transistor;
[0034] One end of the thirteenth resistor is connected to the power supply end of the OBD power port, the other end of the thirteenth resistor is connected to the second pin of the third single-chip microcomputer, and the second capacitor, the fourteenth resistor and the second transient diode are connected in parallel to the connection point between the fourteenth resistor and the third single-chip microcomputer;
[0035] The third pin of the third single chip microcomputer is connected to the enable terminal of the power management unit.
[0036] Optionally, the ACC detection unit includes a fifteenth resistor, a sixteenth resistor, a seventeenth resistor, an eighteenth resistor, a nineteenth resistor, a third NPN transistor, a third transient diode, a fourth transient diode, a first diode, a third capacitor, a fourth capacitor and a fourth single-chip computer;
[0037] One end of the fifteenth resistor is connected to the CAN signal output end of the OBD power port of the OBD power taking device via the first diode, the third capacitor and the third transient diode are connected in parallel to the connection point between the first diode and the fifteenth resistor, the other end of the fifteenth resistor is connected to the base of the third NPN transistor, the emitter of the third NPN transistor is grounded, and the sixteenth resistor is connected to the connection point between the fifteenth resistor and the third NPN transistor;
[0038] One end of the seventeenth resistor is connected to the first power supply, and the other end of the seventeenth resistor is connected to the first pin of the fourth single-chip microcomputer via the collector of the third NPN transistor;
[0039] One end of the eighteenth resistor is connected to the power supply end of the OBD power port, the other end of the eighteenth resistor is connected to the second pin of the fourth single-chip microcomputer, and the fourth capacitor, the nineteenth resistor and the fourth transient diode are connected in parallel to the connection point between the eighteenth resistor and the fourth single-chip microcomputer;
[0040] The third pin of the fourth single chip microcomputer is connected to the enable terminal of the power management unit.
[0041] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a single-chip microcomputer, the steps of the method for controlling the operation of the on-board peripheral unit are implemented.
[0042] The present invention uses an ACC detection unit to make a combined judgment on whether the states of the CAN signal input interruption and the external power voltage transmitted by the OBD power collection device meet the preset start-up conditions. Only when the CAN signal input interruption and the external power voltage both meet the preset start-up conditions, the ACC detection unit determines that the vehicle ACC is in the start-up state at this time, and based on the judgment, sends a power supply enable signal, that is, a high level, to the enable end of the power management unit, so that the power management unit supplies power to the vehicle-mounted peripheral unit of the OBD device based on the power supply enable signal, thereby making the vehicle-mounted peripheral unit enter the running state. Because the ACC detection unit can judge the CAN signal input interruption and the external power voltage based on the standby mode, the present invention can judge the vehicle ACC start-stop state when the single-chip microcomputer only uses low power consumption, thereby extending the service life of the battery and ensuring that the vehicle has enough power for subsequent vehicle ignition and start. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention;
[0044] Figure 2 A flow chart of an embodiment of a method for controlling the operation of a vehicle-mounted peripheral unit according to the present invention;
[0045] Figure 3 It is a structural schematic diagram of a system for controlling the operation of an on-board peripheral unit of the present invention;
[0046] Figure 4 It is a structural schematic diagram of the ACC detection unit of the present invention;
[0047] Figure 5 It is a structural schematic diagram of the ACC detection unit of the present invention;
[0048] Figure 6 It is a structural schematic diagram of the ACC detection unit of the present invention;
[0049] Figure 7 It is a structural schematic diagram of the ACC detection unit of the present invention.
[0050] Description of Figure Numbers:
[0051] Label name Label name 10 ACC detection unit U1-U4 Microcontroller 20 Power Management Unit Q1-Q3 NPN transistor 30 OBD power supply equipment TVS1-TVS4 Transient diode R1-R19 resistance C1-C4 capacitance D1 diode
[0052] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION
[0053] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0054] The main solution of the embodiment of the present invention is: the ACC detection unit performs a combined judgment on whether the state of the CAN signal input interruption and the external power voltage transmitted by the OBD power collection device meets the preset start-up conditions. Only when the CAN signal input interruption and the external power voltage both meet the preset start-up conditions, the ACC detection unit determines that the vehicle ACC is in the start-up state at this time, and based on the judgment, sends a power supply enable signal, that is, a high level, to the enable end of the power management unit, so that the power management unit supplies power to the on-board peripheral unit of the OBD device based on the power supply enable signal, thereby allowing the on-board peripheral unit to enter the operating state.
[0055] At present, controlling the operating status of the on-board peripheral unit by parsing CAN data based on the OBD interface has the problems of high cost and low adaptability. At the same time, the parsing of CAN data requires the microcontroller to maintain a high power consumption, and the high power consumption of the microcontroller inevitably requires the on-board peripheral unit to be in operation. If the on-board peripheral unit is still in operation after the vehicle ACC stops, it will continue to consume the power in the battery, thereby causing irreversible damage to the battery and shortening its service life.
[0056] The present invention provides a solution, which replaces the analysis of CAN data based on the OBD interface with the combined judgment of the CAN signal and the external power voltage based on the OBD interface. Because the judgment of the CAN signal input interruption and the external power voltage by the ACC detection unit can be performed based on the standby mode, the present invention can judge the ACC start-stop state of the vehicle when the single-chip microcomputer only uses low power consumption, thereby avoiding the over-discharge of the vehicle battery caused by the continuous operation of the on-board peripheral unit, thereby extending the service life of the battery and ensuring that the vehicle has sufficient power for subsequent vehicle ignition and starting.
[0057] like Figure 1 As shown, Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention.
[0058] The method for controlling the operation of the vehicle-mounted peripheral unit according to the embodiment of the present invention is applied to a smart car, such as Figure 1 As shown, the smart car may include: a single-chip microcomputer 1001, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned single-chip microcomputer 1001.
[0059] Optionally, the smart car may also include a camera, RF (Radio Frequency) circuit, sensor, audio circuit, WiFi module, etc. Among them, sensors such as light sensors, motion sensors and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and / or backlight when the mobile terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal can also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be repeated here.
[0060] Those skilled in the art will understand that Figure 1 The smart car structure shown in the figure does not constitute a limitation on the smart car, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0061] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module and a computer program.
[0062] exist Figure 1 In the terminal shown, the network interface 1004 is mainly used to connect to the backend server and communicate data with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the single chip microcomputer 1001 can be used to call the computer program stored in the memory 1005 and perform the following operations:
[0063] When the ACC detection unit receives a CAN signal input interrupt, the external power ADC detection is turned on to read the external power voltage;
[0064] Determining, by the ACC detection unit, whether the CAN signal input interruption and the external power voltage meet a preset start condition;
[0065] If the CAN signal input is interrupted and the external power voltage meets the preset start-up conditions, the vehicle ACC is determined to be started, and a power supply enable signal is sent to the power management unit based on the ACC detection unit, so that the power management unit can supply power to the on-board peripheral unit of the OBD power supply device, so that the on-board peripheral unit enters the operating state.
[0066] Furthermore, the single chip microcomputer 1001 may call a computer program stored in the memory 1005 and perform the following operations:
[0067] After the step of making the vehicle-mounted peripheral unit enter the running state, determining whether the CAN signal input interruption and the external power voltage meet the preset shutdown conditions;
[0068] If the CAN signal input is interrupted and the external power voltage meets the preset shutdown condition, it is determined that the vehicle ACC is stopped, and based on the ACC detection unit, a power-off enable signal is sent to the power management unit so that the power management unit stops supplying power to the on-board peripheral unit, so that the on-board peripheral unit enters a shutdown state.
[0069] Furthermore, the single chip microcomputer 1001 may call a computer program stored in the memory 1005 and perform the following operations:
[0070] After the step of determining whether the CAN signal input interruption and the external power voltage meet the preset shutdown condition, if the CAN signal input interruption and the external power voltage do not meet the preset shutdown condition, executing the step of sending a power supply enable signal to the power management unit based on the ACC detection unit;
[0071] If the CAN signal input interruption does not meet the preset shutdown condition, but the external power voltage meets the preset shutdown condition, a power-off enable signal is sent to the power management unit based on the ACC detection unit so that the power management unit stops supplying power to the on-board peripheral unit, and performs the step of starting external power ADC detection to read the external power voltage after the ACC detection unit receives the CAN signal input interruption.
[0072] Furthermore, the single chip microcomputer 1001 may call a computer program stored in the memory 1005 and perform the following operations:
[0073] After the step of determining whether the CAN signal input interruption and the external power voltage meet the preset start-up condition by the ACC detection unit, if the CAN signal input interruption and the external power voltage do not meet the preset start-up condition, controlling the ACC detection unit to enter a standby mode and detecting the CAN signal input interruption;
[0074] If the CAN signal input interruption satisfies the preset start-up condition, but the external power voltage does not meet the preset start-up condition, the step of starting the external power ADC detection to read the external power voltage after the ACC detection unit receives the CAN signal input interruption is performed.
[0075] Reference Figure 2An embodiment of the present invention further provides a method for controlling the operation of an onboard peripheral unit, the method for controlling the operation of an onboard peripheral unit comprising:
[0076] Step S10, when the ACC detection unit receives a CAN signal input interrupt, the external power ADC detection is turned on to read the external power voltage;
[0077] When the vehicle ACC ignition is started, the vehicle's CAN bus will enter the working state, and there will be CAN signal output at this time. The CAN signal will rise from 0V to 2.5V to 3.5V (this is based on the change threshold during general CAN signal communication. In actual applications, the change threshold of the CAN signal voltage value is not limited). When the vehicle is turned off and stopped, the CAN bus will also stop. At this time, the CAN signal will rise from 2.5V to 3.5V and return to 0V. Therefore, the CAN signal input interruption refers to the change of the CAN signal threshold.
[0078] In addition, the ACC detection unit includes a single-chip microcomputer for combined judgment of CAN signal input interruption and external power voltage. Because the single-chip microcomputer can detect the CAN signal input interruption when it is in standby state, the single-chip microcomputer at this time can achieve low power consumption, thereby avoiding the situation where the on-board peripheral unit needs to run continuously for detection, ensuring that the battery will not be over-discharged. In addition, in order to avoid isolation from the steps during the description, the process of single-chip microcomputer operation in the following description is replaced by the ACC detection unit, but the actual effect remains unchanged.
[0079] When the ACC detection unit detects the interruption of CAN signal input, in addition to continuing to detect the interruption of CAN signal input, it is also necessary to turn on the external power ADC detection of the microcontroller to read the external power voltage. Under normal circumstances, after the ignition is started, the power supply voltage of a 12V vehicle is generally around 13.5V-14.5V, and the power supply voltage of a 24V vehicle is generally around 27V-29V. The external power voltage refers to the current power supply voltage of the vehicle. The reason why the combination of CAN signal input interruption + external power voltage is needed is to avoid the misjudgment of the single detection of CAN signal input interruption. For example, when remotely unlocking the vehicle with a key, switching windows, etc., the CAN bus will be awakened briefly, but the actual vehicle is not ignited and the power supply voltage does not change. Therefore, in addition to detecting the CAN signal input interruption, adding the detection of the external power voltage can avoid the false awakening of the on-board peripheral unit caused by the CAN signal input interruption alone, which in turn causes battery consumption.
[0080] Step S20, determining, by the ACC detection unit, whether the CAN signal input interruption and the external power voltage meet a preset start condition;
[0081] After the ACC detection unit detects the CAN signal input interruption and reads the external power voltage, it is necessary to determine whether the CAN signal input interruption and the external power voltage both meet the preset start-up conditions. The preset start-up conditions refer to ① the CAN signal input interruption continues to exist, and ② the external power voltage continues to be greater than the start threshold within the preset time. The preset time can be set according to the actual ignition time of the vehicle. The start threshold is generally the power supply voltage for the vehicle ignition start. For example, the 12V vehicle system can be set to 13.5V, etc.
[0082] Optionally, after the step of determining by the ACC detection unit whether the CAN signal input is interrupted and the external power voltage meets a preset start condition in step S20, the method further includes:
[0083] Step S21, if the CAN signal input interruption and the external power voltage do not meet the preset start condition, control the ACC detection unit to enter the standby mode and detect the CAN signal input interruption;
[0084] For example, although the ACC detection unit detects the interruption of the CAN signal input and reads the external power voltage, the ACC detection unit detects that the CAN signal input interruption disappears and the external power voltage fails to be continuously greater than the start threshold (e.g., 13.5V) within a preset time (e.g., 3 seconds) during the process of combined judgment of the CAN signal input interruption and the external power voltage. Then, it is determined that there is no need to start the on-board peripheral unit at this time, and the ACC detection unit is controlled to enter the standby mode, while continuing to detect the CAN signal input interruption.
[0085] Step S22, if the CAN signal input interruption satisfies the preset start-up condition, but the external power voltage does not meet the preset start-up condition, then executing the step of starting the external power ADC detection to read the external power voltage after the ACC detection unit receives the CAN signal input interruption.
[0086] For example, although the ACC detection unit detects the CAN signal input interruption and reads the external power voltage, and the CAN signal input interruption at this time continues to exist and does not disappear, but the external power voltage fails to be continuously greater than the starting threshold within the preset time, then the ACC check power supply returns to step S10 to perform a continuous combined judgment on the CAN signal input interruption and the external power voltage. If the external power voltage does not meet the preset start-up conditions for a long time, but the CAN signal input interruption continues to exist, in order to further reduce the power consumption of the ACC detection unit, the detection frequency parameters of the external power ADC detection can be reduced according to actual needs.
[0087] Step S30, if the CAN signal input is interrupted and the external power voltage meets the preset start-up conditions, it is determined that the vehicle ACC is started, and based on the ACC detection unit, a power supply enable signal is sent to the power management unit so that the power management unit can supply power to the on-board peripheral unit of the OBD power supply device, so that the on-board peripheral unit enters the operating state, wherein the on-board peripheral unit is the on-board device.
[0088] For example, when the ACC detection unit detects the interruption of CAN signal input and reads the external power voltage, it determines that the interruption of CAN signal input and the external power voltage both meet the preset start-up conditions, and then determines that the vehicle ACC is started at this time. Based on this determination, the ACC detection unit will send a power supply enable signal to the enable pin of the power management unit. Based on this signal, the power management unit turns on the power supply to the on-board peripheral unit of the OBD power collection device, so that the on-board peripheral unit enters the working state. After the vehicle ACC is started, the operation of the on-board peripheral unit will not cause battery loss, because the vehicle engine at this time will charge the battery, and the operation of the on-board peripheral unit will not cause the battery to be exhausted and cause battery loss.
[0089] Optionally, after the step of making the vehicle-mounted peripheral unit enter the operating state in step S30, the method further includes:
[0090] Step S40, determining whether the CAN signal input interruption and the external power voltage meet a preset shutdown condition;
[0091] When the vehicle peripheral unit enters the working state, the ACC detection unit at this time needs to determine whether the vehicle ACC has stopped, so the preset shutdown conditions at this time are: ① the CAN signal input interruption disappears, and the disappearance duration meets the preset time threshold, ② the external power voltage is less than the shutdown threshold, among which the time threshold and the shutdown threshold need to be adjusted based on the actual situation of the vehicle.
[0092] It should be noted that the start threshold and the stop threshold are generally not equal. For example, when the 12V vehicle system is ignited and started, the OBD power port of the OBD power device will discharge the generator for a short period of time, and the battery charging will rise to about 13.5V-14.5V in a short time. However, when the vehicle is driving for a long time, after the battery is fully charged, the power supply voltage will drop, and then the power supply voltage will be less than 13.5V during driving. Only when the battery reaches a certain threshold will the battery start charging again and the power supply voltage will start to rise again. Therefore, the value of the stop threshold is generally lower than the start threshold to avoid misjudgment during driving that may cause the on-board peripheral unit to be incorrectly shut down.
[0093] Optionally, after the step of determining whether the CAN signal input interruption and the external power voltage meet the preset shutdown condition in step S40, the method further includes:
[0094] Step S41, if the CAN signal input interruption and the external power voltage do not meet the preset shutdown condition, executing the step of sending a power supply enable signal to the power management unit based on the ACC detection unit;
[0095] For example, although the ACC detection unit detects that the CAN signal input interruption disappears, the duration of the CAN signal input interruption does not meet the preset time threshold, and the external power voltage is not lower than the stop threshold. Therefore, the ACC detection unit at this time still determines that the vehicle ACC is in the start-up state, and maintains the power supply status of the on-board peripheral unit of the OBD power supply device through the power management unit.
[0096] Step S42: if the CAN signal input interruption does not satisfy the preset shutdown condition, but the external power voltage satisfies the preset shutdown condition, a power-off enable signal is sent to the power management unit based on the ACC detection unit so that the power management unit stops supplying power to the vehicle-mounted peripheral unit, and the step of starting the external power ADC detection to read the external power voltage is executed after the ACC detection unit receives the CAN signal input interruption.
[0097] For example, although the ACC detection unit detects that the external power voltage is lower than the stop threshold, the disappearance duration of the CAN signal input interruption at this time does not meet the preset time threshold. At this time, the ACC detection unit sends a power-off enable signal to the power management unit to stop the power supply to the on-board peripheral unit of the OBD power supply device, thereby turning off the on-board peripheral unit. At the same time, the ACC detection unit maintains the detection of the CAN signal input interruption and re-enables the external power ADC detection of the microcontroller, and re-reads the external power voltage. Because there is a situation in the market where the CAN signal input interruption still exists for a long time after the vehicle stops, in order to shut down the on-board peripheral unit in time, the ACC detection unit at this time directly judges the vehicle ACC start-stop status based on the external power voltage. When it is detected that the external power voltage is lower than the stop threshold, the power supply to the on-board peripheral unit of the OBD power supply device is directly turned off, thereby achieving the effect of shutting down the on-board peripheral unit in time.
[0098] Step S50: If the CAN signal input is interrupted and the external power voltage meets the preset shutdown condition, it is determined that the vehicle ACC is stopped, and a power-off enable signal is sent to the power management unit based on the ACC detection unit, so that the power management unit stops supplying power to the on-board peripheral unit, so that the on-board peripheral unit enters the shutdown state.
[0099] When the ACC detection unit detects that the duration of the disappearance of the CAN signal input interruption meets the preset time threshold and the external power voltage is lower than the stop threshold, it determines that the vehicle ACC has stopped at this time. Based on this determination, the ACC detection unit will send a power-off enable signal to the enable pin of the power management unit. Based on this signal, the power management unit will turn off the power supply to the on-board peripheral unit of the OBD power supply device, so that the on-board peripheral unit exits the working state, avoiding the problem of battery loss caused by the continuous operation of the on-board peripheral unit.
[0100] In this embodiment, the ACC detection unit performs a combined judgment on whether the status of the CAN signal input interruption and the external power voltage transmitted by the OBD power collection device meet the preset start-up conditions, thereby improving the accuracy of the vehicle ACC detection. The operating state of the on-board peripheral unit is changed only when the CAN signal input interruption and the external power voltage simultaneously meet the preset start-up conditions or the preset shutdown conditions, thereby extending the service life of the battery and ensuring that the vehicle has sufficient power for subsequent vehicle ignition and start-up.
[0101] Reference Figure 3 The present invention also proposes a system for controlling the operation of an on-board peripheral unit, the system for controlling the operation of an on-board peripheral unit comprises an ACC detection unit 10, a power management unit 20 and an OBD power taking device 30, the ACC detection unit 10 is electrically connected to the OBD power taking device 30 and the power management unit 20 respectively, and the power management unit 20 is electrically connected to the OBD power taking device 30;
[0102] The ACC detection unit 10 is used to start the external power ADC detection to read the external power voltage after receiving the CAN signal input interruption, and determine whether the CAN signal input interruption and the external power voltage meet the preset start-up conditions. If the CAN signal input interruption and the external power voltage meet the preset start-up conditions, it is determined that the vehicle ACC is started, and a power supply enable signal is sent to the power management unit 20;
[0103] The power management unit 20 includes a first power supply and a second power supply, wherein the first power supply is connected to the ACC detection unit, and the second power supply is connected to the vehicle-mounted peripheral unit of the OBD power taking device, and is used to power the vehicle-mounted peripheral unit;
[0104] The OBD power supply device 30 is used to enable the vehicle-mounted peripheral unit to operate.
[0105] according to Figure 3It can be seen that the OBD power supply device 30 includes an OBD power supply port and a vehicle-mounted peripheral unit, wherein the OBD power supply port has two VCC terminals, one VCC terminal is used to supply power to the power management unit 20, and the other VCC terminal is used to transmit external power voltage to the ACC detection unit 10. In addition, the OBD power supply port also has a signal terminal for transmitting a CAN signal to the ACC detection unit 10. When the power management unit 20 receives the VCC power supply transmitted from the OBD power supply port, it converts it into a VCC_MCU voltage and transmits it to the ACC detection unit 10, thereby supplying power to the ACC detection unit 10 and putting it into working state.
[0106] ① When the ACC detection unit 10 detects through the OBD power port that there is a CAN signal input interruption in the received CAN signal, and the external power voltage continues to be greater than the startup threshold within a preset time, the ACC detection unit 10 at this time inputs the Power_EN startup state change (i.e., the power supply enable signal) to the enable pin of the power management unit 20 and returns it to the power management unit 20, so that the power management unit 20 can start the power supply to the vehicle-mounted peripheral unit of the OBD power supply device 30, so that the vehicle-mounted peripheral unit enters the working state.
[0107] ② When the ACC detection unit 10 detects through the OBD power port that the duration of the CAN signal input interruption disappearance in the received CAN signal is greater than the preset time threshold, and the external power voltage is lower than the stop threshold, the ACC detection unit 10 at this time inputs the Power_EN shutdown state change (i.e., the power-off enable signal) to the enable pin of the power management unit 20 and returns it to the power management unit 20, so that the power management unit 20 can turn off the power supply to the on-board peripheral unit of the OBD power supply device 30, so that the on-board peripheral unit stops working, and then the ACC detection unit 10 re-detects the standby state of the CAN signal input interruption, or continues to detect the CAN signal input interruption and the external power voltage.
[0108] Specifically, refer to Figure 4 As shown, the ACC detection unit 10 includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4 and a first single-chip computer U1, wherein the first resistor R1 and the second resistor R2 form a CAN signal input interrupt detection circuit, and the third resistor R3 and the fourth resistor R4 form an external power ADC detection circuit;
[0109] One end of the first resistor R1 is connected to the CAN signal output end of the OBD power port of the OBD power supply device 30, the other end of the first resistor R1 is connected to the first pin of the first single-chip microcomputer U1, and the second resistor R2 is connected to the connection point between the first resistor R1 and the first single-chip microcomputer U1, wherein the first resistor R1 and the second resistor R2 have the function of current limiting protection, one end of the first resistor R1 is connected to the CAN signal, and the other end is connected to the second resistor R2 to divide the voltage and give it to the first single-chip microcomputer U1 for interrupt judgment, when the CAN signal is successfully connected, the first single-chip microcomputer U1 will get a high level;
[0110] One end of the third resistor R3 is connected to the power supply end of the OBD power port, the other end of the third resistor R3 is connected to the second pin of the first single-chip computer U1, the fourth resistor R4 is connected to the connection point between the third resistor R3 and the first single-chip computer U1, one end of the third resistor R3 is connected to the external power voltage, the interest point is connected to the fourth resistor R4 to divide the voltage and give it to the first single-chip computer U1 to read the external power voltage;
[0111] The third pin of the first single-chip microcomputer U1 is connected to the enable end of the power management unit 20. The first single-chip microcomputer U1 needs to make a combined judgment based on the connected CAN signal and the external voltage. When it is determined that the vehicle ACC is started / stopped, the third pin of the first single-chip microcomputer U1 will output the corresponding level status to the power management unit 20 (high level corresponds to the power supply enable signal, and low level corresponds to the power-off enable signal).
[0112] Specifically, refer to Figure 5 As shown, the ACC detection unit 10 includes a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a first NPN transistor Q1, a first capacitor C1 and a second single-chip computer U2, wherein the fifth resistor R5, the sixth resistor R6, the seventh resistor R7 and the first NPN transistor Q1 constitute a CAN signal input interrupt detection circuit, and the eighth resistor R8, the ninth resistor R9 and the first capacitor C1 constitute an external power ADC detection circuit;
[0113] One end of the fifth resistor R5 is connected to the CAN signal output end of the OBD power port of the OBD power supply device 30, the other end of the fifth resistor R5 is connected to the base of the first NPN transistor Q1, the emitter of the first NPN transistor Q1 is grounded, and the sixth resistor R6 is connected to the connection point between the fifth resistor R5 and the first NPN transistor Q1; one end of the seventh resistor R7 is connected to the first power supply of the power management unit 20, and the other end of the seventh resistor R7 is connected to the first pin of the second single-chip microcomputer U2 via the collector of the first NPN transistor Q1; one end of the eighth resistor R8 is connected to the power supply end of the OBD power supply port, and the other end of the eighth resistor R8 is connected to the second pin of the second single-chip microcomputer U2, the first capacitor C1 and the ninth resistor R9 are connected in parallel to the connection point between the eighth resistor R8 and the second single-chip microcomputer U2; the third pin of the second single-chip microcomputer U2 is connected to the enable end of the power management unit 20.
[0114] according to Figure 5 It can be seen that compared with Figure 4 The CAN signal input interrupt detection circuit adds a first NPN transistor Q1 and a seventh resistor R7. One end of the seventh resistor R7 is connected to the first power supply (i.e., VCC_MCU) input by the power management unit 20, and the other end is connected to the collector of the first NPN transistor Q1 and then connected to the first pin of the second microcontroller U2.
[0115] When one end of the fifth resistor R5 is successfully connected to the CAN signal, the CAN signal is divided into a high level by the fifth resistor R5 and the sixth resistor R6 and then given to the base of the first NPN transistor Q1, so that the first NPN transistor Q1 meets the conduction condition, the first NPN transistor Q1 is turned on, so that the collector of the first NPN three-stage hook is pulled low, and the first pin of the second single-chip computer U2 receives a low level, and it is determined that there is a CAN signal input interruption at this time. The first NPN transistor Q1 acts as a protective backing and is not affected by the input front stage. After the level conversion of the first NPN transistor Q1, the level of the CAN signal input interruption obtained by the second single-chip computer U2 is consistent with the power supply voltage, and there is no level misjudgment. Among them, the seventh resistor R7 can improve the stability of the level conversion.
[0116] The first capacitor C1 in the external power ADC detection circuit can filter out power supply glitches at the power supply end, thereby improving the accuracy of the external power voltage read by the external power ADC detection.
[0117] Specifically, refer to Figure 6As shown, the ACC detection unit 10 includes a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, a fourteenth resistor R14, a second NPN transistor Q2, a first transient diode TVS1, a second transient diode TVS2, a second capacitor C2 and a third single-chip computer U3, wherein the tenth resistor R10, the eleventh resistor R11, the twelfth resistor R12, the second NPN transistor Q2 and the first transient diode TVS1 constitute a CAN signal input interrupt detection unit, and the thirteenth resistor R13, the fourteenth resistor R14, the second capacitor C2 and the second transient diode TVS2 constitute an external power ADC detection circuit;
[0118] One end of the tenth resistor R10 is connected to the CAN signal output end of the OBD power port of the OBD power supply device 30, the first transient diode TVS1 is connected to the connection point between the tenth resistor R10 and the OBD power supply port, the other end of the tenth resistor R10 is connected to the base of the second NPN transistor Q2, the eleventh resistor R11 is connected to the connection point between the tenth resistor R10 and the second NPN transistor Q2; one end of the twelfth resistor R12 is connected to the first power supply of the power management unit 20, the twelfth resistor The other end of R12 is connected to the first pin of the third single-chip microcomputer U3 via the collector of the second NPN transistor Q2; one end of the thirteenth resistor R13 is connected to the power supply end of the OBD power port, and the other end of the thirteenth resistor R13 is connected to the second pin of the third single-chip microcomputer U3; the second capacitor C2, the fourteenth resistor R14 and the second transient diode TVS2 are connected in parallel at the connection point between the fourteenth resistor R14 and the third single-chip microcomputer U3; the third pin of the third single-chip microcomputer U3 is connected to the enable end of the power management unit 20.
[0119] according to Figure 6 It can be seen that compared with Figure 5 A first transient diode TVS1 and a second transient diode TVS2 are added, the positive electrode of the first transient diode TVS1 is connected to the CAN signal, the negative electrode is grounded, and the second transient diode TVS2 is connected in parallel with the fourteenth resistor R14 to improve the anti-static interference capability of the external power ADC detection circuit.
[0120] Specifically, refer to Figure 7As shown, the ACC detection unit 10 includes a fifteenth resistor R15, a sixteenth resistor R16, a seventeenth resistor R17, an eighteenth resistor R18, a nineteenth resistor R19, a third NPN transistor Q3, a third transient diode TVS3, a fourth transient diode TVS4, a first diode D1, a third capacitor C3, a fourth capacitor C4 and a fourth single-chip computer U4, wherein the fifteenth resistor R15, the sixteenth resistor R16, the seventeenth resistor R17, the first diode D1, the third capacitor C3, the third transient diode TVS3 and the third NPN transistor Q3 constitute a CAN signal input interrupt detection circuit, and the eighteenth resistor R18, the nineteenth resistor R19, the fourth capacitor C4 and the fourth transient diode TVS4 constitute an external power ADC detection circuit;
[0121] One end of the fifteenth resistor R15 is connected to the CAN signal output end of the OBD power port of the OBD power supply device 30 via the first diode D1, the third capacitor C3 and the third transient diode TVS3 are connected in parallel to the connection point between the first diode D1 and the fifteenth resistor R15, the other end of the fifteenth resistor R15 is connected to the base of the third NPN transistor Q3, the emitter of the third NPN transistor Q3 is grounded, the sixteenth resistor R16 is connected to the connection point between the fifteenth resistor R15 and the third NPN transistor Q3; one end of the seventeenth resistor R17 is connected to the power management The first power supply of the unit 20 is connected, the other end of the seventeenth resistor R17 is connected to the first pin of the fourth single-chip microcomputer U4 via the collector of the third NPN transistor Q3; one end of the eighteenth resistor R18 is connected to the power supply end of the OBD power port, the other end of the eighteenth resistor R18 is connected to the second pin of the fourth single-chip microcomputer U4, the fourth capacitor C4, the nineteenth resistor R19 and the fourth transient diode TVS4 are connected in parallel at the connection point between the eighteenth resistor R18 and the fourth single-chip microcomputer U4; the third pin of the fourth single-chip microcomputer U4 is connected to the enable end of the power management unit 20.
[0122] according to Figure 7 It can be seen that compared with Figure 6 , a filtering circuit composed of a first diode D1 and a third capacitor C3 is added. The CAN signal is a 2.5V--3.5V communication data sent by the CAN bus, and the level is always changing. The filtering circuit is first filtered. Due to the unidirectional conductivity of the first diode D1, the filtering of the third capacitor C3 will not affect the CAN bus data of the previous stage. After filtering by the third capacitor C3 and then connected to the back end, the smooth CAN signal input can further improve the level stability of the CAN signal input interruption detection circuit. Furthermore, the unidirectional conductivity of the first diode D1 can isolate the negative voltage outside the circuit, and also has the function of protecting the back-end circuit.
[0123] It should be noted that Figures 4 to 7 The circuit structures of the ACC detection unit 10 can be adjusted based on the requirements in practical applications. Figures 4 to 7 Select the circuit structure in .
[0124] In addition, the present invention also proposes a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a single-chip microcomputer, the steps of the method for controlling the operation of the on-board peripheral unit are implemented.
[0125] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0126] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0127] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0128] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for controlling the operation of a vehicle-mounted peripheral unit, characterized in that: The method for controlling the operation of the vehicle-mounted peripheral unit comprises the following steps: When the ACC detection unit receives a CAN signal input interrupt, the external power ADC detection is turned on to read the external power voltage; Determining, by the ACC detection unit, whether the CAN signal input interruption and the external power voltage meet a preset start condition; If the CAN signal input is interrupted and the external power voltage meets the preset start-up conditions, the vehicle ACC is determined to be started, and a power supply enable signal is sent to the power management unit based on the ACC detection unit, so that the power management unit can supply power to the on-board peripheral unit of the OBD power supply device, so that the on-board peripheral unit enters the operating state.
2. The method for controlling the operation of the vehicle-mounted peripheral unit according to claim 1, characterized in that: After the step of making the vehicle-mounted peripheral unit enter the running state, the method further includes: Determine whether the CAN signal input interruption and the external power voltage meet the preset shutdown conditions; If the CAN signal input is interrupted and the external power voltage meets the preset shutdown condition, it is determined that the vehicle ACC is stopped, and based on the ACC detection unit, a power-off enable signal is sent to the power management unit so that the power management unit stops supplying power to the on-board peripheral unit, so that the on-board peripheral unit enters a shutdown state.
3. The method for controlling the operation of the vehicle-mounted peripheral unit according to claim 2, characterized in that: After the step of determining whether the CAN signal input is interrupted and the external power voltage meets the preset shutdown condition, the method further includes: If the CAN signal input interruption and the external power voltage do not meet the preset shutdown condition, executing the step of sending a power supply enable signal to the power management unit based on the ACC detection unit; If the CAN signal input interruption does not meet the preset shutdown condition, but the external power voltage meets the preset shutdown condition, a power-off enable signal is sent to the power management unit based on the ACC detection unit so that the power management unit stops supplying power to the on-board peripheral unit, and performs the step of starting external power ADC detection to read the external power voltage after the ACC detection unit receives the CAN signal input interruption.
4. The method for controlling the operation of a vehicle-mounted peripheral unit according to claim 1, characterized in that: After the step of determining by the ACC detection unit whether the CAN signal input interruption and the external power voltage meet the preset start-up conditions, the method further includes: If the CAN signal input interruption and the external power voltage do not meet the preset start-up condition, the ACC detection unit is controlled to enter a standby mode and the CAN signal input interruption is detected; If the CAN signal input interruption satisfies the preset start-up condition, but the external power voltage does not meet the preset start-up condition, the step of starting the external power ADC detection to read the external power voltage after the ACC detection unit receives the CAN signal input interruption is performed.
5. A system for controlling the operation of a vehicle-mounted peripheral unit, characterized in that: The system for controlling the operation of the vehicle-mounted peripheral unit applies the method for controlling the operation of the vehicle-mounted peripheral unit as described in any one of claims 1 to 4, and the system for controlling the operation of the vehicle-mounted peripheral unit includes an ACC detection unit, a power management unit and an OBD power supply device, the ACC detection unit is electrically connected to the OBD power supply device and the power management unit respectively, and the power management unit is electrically connected to the OBD power supply device; The ACC detection unit is used to start the external power ADC detection to read the external power voltage after receiving the CAN signal input interruption, and determine whether the CAN signal input interruption and the external power voltage meet the preset start-up conditions. If the CAN signal input interruption and the external power voltage meet the preset start-up conditions, it is determined that the vehicle ACC is started, and a power supply enable signal is sent to the power management unit; The power management unit includes a first power supply and a second power supply, the first power supply is connected to the ACC detection unit, and the second power supply is connected to the vehicle-mounted peripheral unit of the OBD power supply device, for supplying power to the vehicle-mounted peripheral unit; The OBD power supply device is used to enable the vehicle-mounted peripheral unit to enter an operating state.
6. The system for controlling the operation of the vehicle-mounted peripheral unit according to claim 5, characterized in that: The ACC detection unit includes a first resistor, a second resistor, a third resistor, a fourth resistor and a first single chip microcomputer; One end of the first resistor is connected to the CAN signal output end of the OBD power port of the OBD power taking device, the other end of the first resistor is connected to the first pin of the first single chip microcomputer, and the second resistor is connected to the connection point between the first resistor and the first single chip microcomputer; One end of the third resistor is connected to the power supply end of the OBD power port, the other end of the third resistor is connected to the second pin of the first single-chip microcomputer, and the fourth resistor is connected to the connection point between the third resistor and the first single-chip microcomputer; The third pin of the first single chip microcomputer is connected to the enable terminal of the power management unit.
7. The system for controlling the operation of the vehicle-mounted peripheral unit according to claim 5, characterized in that: The ACC detection unit includes a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a first NPN transistor, a first capacitor and a second single chip microcomputer; One end of the fifth resistor is connected to the CAN signal output end of the OBD power port of the OBD power taking device, the other end of the fifth resistor is connected to the base of the first NPN transistor, the emitter of the first NPN transistor is grounded, and the sixth resistor is connected to the connection point between the fifth resistor and the first NPN transistor; One end of the seventh resistor is connected to the first power supply, and the other end of the seventh resistor is connected to the first pin of the second single-chip microcomputer via the collector of the first NPN transistor; One end of the eighth resistor is connected to the power supply end of the OBD power port, the other end of the eighth resistor is connected to the second pin of the second single-chip microcomputer, and the first capacitor and the ninth resistor are connected in parallel to the connection point between the eighth resistor and the second single-chip microcomputer; The third pin of the second single chip microcomputer is connected to the enable terminal of the power management unit.
8. The system for controlling the operation of the vehicle-mounted peripheral unit according to claim 5, characterized in that: The ACC detection unit includes a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a second NPN transistor, a first transient diode, a second transient diode, a second capacitor and a third single chip microcomputer; One end of the tenth resistor is connected to the CAN signal output end of the OBD power port of the OBD power taking device, the first transient diode is connected to the connection point between the tenth resistor and the OBD power taking port, the other end of the tenth resistor is connected to the base of the second NPN transistor, and the eleventh resistor is connected to the connection point between the tenth resistor and the second NPN transistor; One end of the twelfth resistor is connected to the first power supply, and the other end of the twelfth resistor is connected to the first pin of the third single-chip microcomputer via the collector of the second NPN transistor; One end of the thirteenth resistor is connected to the power supply end of the OBD power port, the other end of the thirteenth resistor is connected to the second pin of the third single-chip microcomputer, and the second capacitor, the fourteenth resistor and the second transient diode are connected in parallel to the connection point between the fourteenth resistor and the third single-chip microcomputer; The third pin of the third single chip microcomputer is connected to the enable terminal of the power management unit.
9. The system for controlling the operation of the vehicle-mounted peripheral unit according to claim 5, characterized in that: The ACC detection unit includes a fifteenth resistor, a sixteenth resistor, a seventeenth resistor, an eighteenth resistor, a nineteenth resistor, a third NPN transistor, a third transient diode, a fourth transient diode, a first diode, a third capacitor, a fourth capacitor and a fourth single-chip computer; One end of the fifteenth resistor is connected to the CAN signal output end of the OBD power port of the OBD power taking device via the first diode, the third capacitor and the third transient diode are connected in parallel to the connection point between the first diode and the fifteenth resistor, the other end of the fifteenth resistor is connected to the base of the third NPN transistor, the emitter of the third NPN transistor is grounded, and the sixteenth resistor is connected to the connection point between the fifteenth resistor and the third NPN transistor; One end of the seventeenth resistor is connected to the first power supply, and the other end of the seventeenth resistor is connected to the first pin of the fourth single-chip microcomputer via the collector of the third NPN transistor; One end of the eighteenth resistor is connected to the power supply end of the OBD power port, the other end of the eighteenth resistor is connected to the second pin of the fourth single-chip microcomputer, and the fourth capacitor, the nineteenth resistor and the fourth transient diode are connected in parallel to the connection point between the eighteenth resistor and the fourth single-chip microcomputer; The third pin of the fourth single chip microcomputer is connected to the enable terminal of the power management unit.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by the single-chip microcomputer, implements the steps of the method for controlling the operation of the on-board peripheral unit according to any one of claims 1 to 4.
Citation Information
Patent Citations
Method and device for supplying power and vehicle information to vehicle-mounted equipment through OBD
CN105242575A
Vehicular power management system and method
CN108146368A