CN110031692B - Method and circuit for assisting vehicle-mounted equipment in accurately identifying ACC (active control) state - Google Patents
Method and circuit for assisting vehicle-mounted equipment in accurately identifying ACC (active control) state Download PDFInfo
- Publication number
- CN110031692B CN110031692B CN201810022888.7A CN201810022888A CN110031692B CN 110031692 B CN110031692 B CN 110031692B CN 201810022888 A CN201810022888 A CN 201810022888A CN 110031692 B CN110031692 B CN 110031692B
- Authority
- CN
- China
- Prior art keywords
- acc
- voltage
- vehicle
- state
- circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60L—PROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
- B60L3/00—Electric devices on electrically-propelled vehicles for safety purposes; Monitoring operating variables, e.g. speed, deceleration or energy consumption
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/005—Testing of electric installations on transport means
- G01R31/006—Testing of electric installations on transport means on road vehicles, e.g. automobiles or trucks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02T90/10—Technologies relating to charging of electric vehicles
- Y02T90/16—Information or communication technologies improving the operation of electric vehicles
Landscapes
- Engineering & Computer Science (AREA)
- Sustainable Development (AREA)
- Combustion & Propulsion (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Sustainable Energy (AREA)
- Power Engineering (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Power Sources (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention relates to a method and a circuit for assisting vehicle-mounted equipment to accurately identify an ACC state, which are characterized in that the detection of the ACC state is realized by utilizing the voltage stabilizing characteristic of a voltage stabilizing tube and the voltage dividing characteristic of a resistor in an AD acquisition mode, and ACC is processed in different states, so that the normal starting and closing of the equipment are realized, the circuit is simple, the cost is low, and the state detection precision is high; the defect that the ACC threshold value is difficult to accurately set due to external factors is overcome, the accuracy of setting the ACC threshold value is improved, the controllability is high, the stability is high, and the circuit has universality. The invention realizes data interaction by using serial port communication and SPI communication, controls the on-off state of the equipment in real time and alarms in real time, and improves the stability of the system and the intelligence of the equipment. And the equipment installation process can quickly find out whether the ACC state is abnormal or not, and carry out voice alarm, meanwhile, the equipment is shut down normally, so that the equipment can be shut down normally under the abnormal state of ACC OFF, and unnecessary power consumption of an on-vehicle battery is prevented.
Description
Technical Field
The present invention relates to a vehicle-mounted control technology, and more particularly, to a method of assisting a vehicle-mounted device in accurately recognizing an ACC state, and a circuit of assisting a vehicle-mounted device in accurately recognizing an ACC state.
Background
With the development of the automobile age, the application of the vehicle-mounted electronic products on the automobile is more and more extensive, so that the electronic wiring on the automobile is more and more complex. The vehicle body is a complex floating ground, and if the grounding of electronic equipment in the vehicle is not good enough, or the series connection of equipment is caused, a voltage with a certain magnitude exists between ACC and the ground in an ACC OFF state on the vehicle.
In the application of the vehicle-mounted multimedia entertainment system product, the ignition switch ACC on the vehicle is generally used for triggering the starting and closing. For the judgment of ACC state, and the setting and processing of the effective threshold value for detecting the high and low levels of ACC, the importance is important.
If an abnormal voltage exists between ACC and ground in an ACC OFF state, the equipment is set too low for detecting the low level threshold value of ACC, so that the equipment cannot be shut down; if the battery voltage is low in the ACC ON state, but the battery voltage is in the normal fluctuation range, detecting that the high level threshold value of the ACC is set too high will result in the device not being turned ON.
The detection circuit of the ACC state in the prior art is composed of a detection circuit formed by using an optical coupler, and the detection circuit is composed of a plurality of triodes. The working principle of the two detection circuits is that the detection result is converted into the high and low state change of the I/O port of the CPU, and then the ACC state is judged to be ACC ON or ACC OFF.
However, since the theoretical value and the practical value often have larger differences, the judgment modes of the two detection circuits have certain uncertainty for setting the ACC threshold value.
For example, in an optocoupler combination circuit, the influence of the optocoupler current transmission ratio (the current transmission ratio is different in different environments of the same optocoupler) and the high and low level threshold ranges of the I/O ports of the CPUs (the high and low threshold values of the I/O ports of different CPUs are different). If a plurality of CPUs need to detect ACC states in the equipment operation, the influence is more obvious, and the ACC threshold value is less well controlled.
In another example, in a transistor combination circuit, the current needs to be controlled so that the transistor is in a switching state and is also influenced by the high and low level threshold range of the I/O port.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a method and a circuit for accurately identifying the ACC state of auxiliary vehicle-mounted equipment, which have the advantages of low circuit cost, strong universality, intelligent state detection, quick judgment of the ACC state, processing of the ACC in different states and realization of normal starting and closing of the equipment.
The technical scheme of the invention is as follows:
a method for assisting vehicle-mounted equipment to accurately identify ACC state comprises the following steps:
1) The method comprises the steps that the input voltage of an ACC (alternating current) of a vehicle power supply is stabilized, a detection node is arranged, when the ACC is in an ON state, the detection node is stabilized at a normal starting voltage VT, and the VT is a range value fluctuating between preset error values; when ACC is in an OFF state, detecting that a normal shutdown voltage range of 0-VF exists at a node;
2) Controlling the on-board equipment to be started and shut down based on the voltage V1 of the detection node: when the ACC is in an ON state, v1=VT, starting the vehicle-mounted equipment, otherwise, judging that the voltage is abnormal, and keeping the vehicle-mounted equipment closed; when the ACC is in an OFF state, V1 accords with 0-VF, the voltage is judged to be normal, the vehicle-mounted equipment is shut down, otherwise, the voltage is judged to be abnormal, and the vehicle-mounted equipment is shut down.
Preferably, the on-board device is powered on and powered off by determining a high level threshold value and a low level threshold value of the ACC; when ACC is in an ON state, an ACC input voltage range VM-VN, and when ACC is in an OFF state, the ground voltage of ACC is 0 to a maximum allowable voltage VP;
when the ACC is in an ON state, and the minimum value of the high-level threshold value of the ACC by the vehicle-mounted equipment is larger than the VN, the vehicle-mounted equipment is still started; when the ACC is in the OFF state, and the maximum value of the low-level threshold value of the ACC by the vehicle-mounted equipment is smaller than VP, the vehicle-mounted equipment is still powered OFF.
Preferably, a voltage stabilizing circuit is arranged, when the ACC is in an ON state, the voltage stabilizing circuit is in a voltage stabilizing state, and the voltage V1 of a detection node ON the voltage stabilizing circuit is stabilized at a normal starting voltage VT; when ACC is in OFF state, the voltage stabilizing circuit is not in voltage stabilizing state, and the voltage V1 of the detection node is smaller than the maximum allowable abnormal voltage VF of the normal shutdown voltage range 0-VF.
Preferably, when the voltage V1 of the detection node controls the start-up of the vehicle-mounted equipment, the control power module supplies power to the vehicle-mounted equipment and sends a start-up command to the vehicle-mounted equipment; when the voltage V1 of the detection node controls the shutdown of the vehicle-mounted equipment, the control power supply module stops supplying power to the vehicle-mounted equipment and sends a shutdown command to the vehicle-mounted equipment.
Preferably, an auxiliary CPU is arranged, the voltage V1 of the detection node is collected, when the ACC is in an ON state, the V1=VT, the auxiliary CPU controls the power module to open an enabling pin, the power module supplies power to the vehicle-mounted equipment, and otherwise, the enabling pin of the power module is kept not to be opened; when ACC is in an OFF state, whether V1 accords with 0-VF or not, the auxiliary CPU controls the enabling pin of the power module not to be opened, and the power module stops supplying power to the vehicle-mounted equipment.
Preferably, VT and VF are stored in the auxiliary CPU, and after V1 is acquired, a comparison operation is performed in the auxiliary CPU.
Preferably, when the voltage abnormality is determined, an alarm is given.
A circuit for assisting vehicle-mounted equipment in accurately identifying an ACC state comprises a voltage stabilizing circuit and an auxiliary CPU, wherein an ACC input voltage is loaded on the voltage stabilizing circuit, and an input pin of the auxiliary CPU is connected with a detection node arranged on the voltage stabilizing circuit; the GPIO pin of the auxiliary CPU is connected with the enabling pin of the power module of the automobile, and the auxiliary CPU and the vehicle-mounted equipment conduct data interaction through a serial port.
Preferably, a filter circuit is connected to the ACC input line to eliminate noise generated by ACC ignition.
Preferably, the voltage stabilizing circuit comprises a voltage dividing network, and the current limiting resistor of the voltage dividing network provides voltage loaded on the voltage stabilizing circuit and voltage of the detection node through voltage division.
Preferably, the voltage dividing network comprises current limiting resistors R1, R2, R3 and R4, the voltage stabilizing circuit adopts a voltage stabilizing tube ZD, the filter circuit comprises filter capacitors C1 and C2 and a current limiting resistor R2, an ACC input end ACC IN is connected with the current limiting resistors R1 and R2 IN series with the ground GND, the voltage stabilizing tube ZD is connected with the current limiting resistor R2 IN parallel, the serial circuit of the current limiting resistors R3 and R4 is connected with the voltage stabilizing tube ZD IN parallel, an input pin of the auxiliary CPU is connected with a connection point of the current limiting resistors R3 and R4, and the filter capacitors C1 and C2 are connected with the current limiting resistor R2 IN parallel.
Preferably, the current limiting resistor R2 is connected in parallel with an electrostatic protection tube.
Preferably, an SPI pin of the auxiliary CPU is connected with the alarm module.
The beneficial effects of the invention are as follows:
the method and the circuit for accurately identifying the ACC state by the auxiliary vehicle-mounted equipment, disclosed by the invention, realize detection of the ACC state by utilizing the voltage stabilizing characteristic of the voltage stabilizing tube and the voltage dividing characteristic of the resistor and adopting an AD acquisition mode, process the ACC in different states, realize normal starting and closing of the equipment, and have the advantages of simple circuit, low cost and high state detection precision; the defect that the ACC threshold value is difficult to accurately set due to external factors is overcome, the accuracy of setting the ACC threshold value is improved, the controllability is high, the stability is high, and the circuit has universality.
The invention realizes data interaction by using serial port communication and SPI communication, controls the on-off state of the equipment in real time and alarms in real time, and improves the stability of the system and the intelligence of the equipment. And the equipment installation process can quickly find out whether the ACC state is abnormal or not, and carry out voice alarm to inform an installer whether the problem of poor grounding or serial electricity exists or not, so that on-vehicle wiring investigation is carried out, the abnormal problem is timely processed, meanwhile, the equipment is normally shut down, the equipment can be normally shut down under the abnormal state of ACC OFF, and unnecessary power consumption of on-vehicle batteries is prevented.
Drawings
FIG. 1 is a functional block diagram of a circuit that assists an in-vehicle device in accurately recognizing ACC status;
FIG. 2 is a flow chart of a method of assisting an in-vehicle device in accurately identifying ACC status;
in the figure, the circuit of the invention is arranged in a dotted line frame, and the peripheral circuit is arranged outside the dotted line frame; v0 represents the current state of the ACC, representing all voltage states when the ACC is in an ON state or an OFF state.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
The invention aims to solve the problems that the ACC is not well grounded and is normally open and shut down, the vehicle-mounted equipment is relatively high and accurately set an ACC threshold value and the like in the prior art, and provides a method and a circuit for assisting the vehicle-mounted equipment in accurately identifying the ACC state.
The method for accurately identifying the ACC state by the auxiliary vehicle-mounted equipment mainly comprises the following steps of establishing a standard and judging and processing:
1) Establishing a standard: the method comprises the steps that the input voltage of an ACC (alternating current) of a vehicle power supply is stabilized, a detection node is arranged, when the ACC is in an ON state, the detection node is stabilized at a normal starting voltage VT, and the VT is a range value fluctuating between preset error values; when ACC is in OFF state, the detection node has normal shutdown voltage range of 0-VF.
2) Judging: controlling the on-board equipment to be started and shut down based on the voltage V1 of the detection node: when the ACC is in an ON state, v1=VT, starting the vehicle-mounted equipment, otherwise, judging that the voltage is abnormal, and keeping the vehicle-mounted equipment closed; when the ACC is in an OFF state, V1 accords with 0-VF, the voltage is judged to be normal, the vehicle-mounted equipment is shut down, otherwise, the voltage is judged to be abnormal, and the vehicle-mounted equipment is shut down.
As described in the background art, in general, even if the operating condition of the power supply for a vehicle is normal, regardless of whether the ACC is in the ON state or the OFF state, there is a certain fluctuation range of the ACC input voltage, which does not represent a fault. The starting and the shutdown of the vehicle-mounted equipment are determined by the high level threshold value and the low level threshold value of the ACC; if the threshold value is simply enlarged so that the threshold value can cover the voltage fluctuation that occurs, it is possible that the vehicle-mounted device overlaps the high-level threshold value and the low-level threshold value of the ACC so as to cover the voltage fluctuation range that occurs when the ACC is in the ON state or the OFF state, respectively. The vehicle-mounted device can perform error processing on the overlapping range, if the vehicle-mounted device cannot be shut down.
Under the condition that the working condition is normal, when the ACC is in an ON state, the ACC input voltage ranges VM to VN, and when the ACC is in an OFF state, the ground voltage of the ACC is 0 to the maximum allowable voltage VP; the control of the ON-off state of the vehicle-mounted equipment combines the voltage judgment of the detection node and the state of the ACC, namely when the ACC is in the ON state, even if the minimum value of the high-level threshold value of the ACC by the vehicle-mounted equipment is larger than VN, the vehicle-mounted equipment is still started as long as V1 = VT; when the ACC is in the OFF state, even if the maximum value of the low-level threshold value of the ACC by the vehicle-mounted device is smaller than VP, the vehicle-mounted device is still turned OFF as long as V1 meets 0 to VF.
According to the embodiment, the voltage stabilizing circuit is arranged to stabilize the input voltage of the ACC of the vehicle power supply, when the ACC is in an ON state, the voltage stabilizing circuit is in a voltage stabilizing state, and the voltage V1 of the detection node ON the voltage stabilizing circuit is stabilized at a normal starting voltage VT; when ACC is in OFF state, the voltage stabilizing circuit is not in voltage stabilizing state, and the voltage V1 of the detection node is smaller than the maximum allowable abnormal voltage VF of the normal shutdown voltage range 0-VF.
According to the invention, the voltage judgment of the detection node is combined with the state of the ACC to control the on-off of the vehicle-mounted equipment, and when the voltage V1 of the detection node controls the on-off of the vehicle-mounted equipment, the control power supply module supplies power to the vehicle-mounted equipment and sends an on-off command to the vehicle-mounted equipment; when the voltage V1 of the detection node controls the shutdown of the vehicle-mounted equipment, the control power supply module stops supplying power to the vehicle-mounted equipment and sends a shutdown command to the vehicle-mounted equipment.
In the embodiment, an auxiliary CPU is arranged, the voltage V1 of the detection node is acquired in an A/D mode, when ACC is in an ON state, V1 = VT, the auxiliary CPU controls a power module to open an enabling pin, the power module supplies power to the vehicle-mounted equipment, and otherwise, the enabling pin of the power module is kept not open; when ACC is in an OFF state, whether V1 accords with 0-VF or not, the auxiliary CPU controls the enabling pin of the power module not to be opened, and the power module stops supplying power to the vehicle-mounted equipment.
Based on the method for accurately identifying the ACC state by the auxiliary vehicle-mounted equipment, the invention also provides a circuit for accurately identifying the ACC state by the auxiliary vehicle-mounted equipment, which is shown in the figure 1 and comprises a voltage stabilizing circuit and an auxiliary CPU, wherein the ACC input voltage is loaded on the voltage stabilizing circuit, and an input pin of the auxiliary CPU is connected with a detection node arranged on the voltage stabilizing circuit; the GPIO pin of the auxiliary CPU is connected with the enabling pin of the power module of the automobile, and the auxiliary CPU and the vehicle-mounted equipment conduct data interaction through a serial port.
In order to perform voltage determination more quickly, the invention stores VT and VF in the auxiliary CPU, and performs comparison operation in the auxiliary CPU after V1 is acquired.
When the voltage is abnormal, maintenance or fault investigation reminding is needed to ensure that the vehicle condition is normal, and when the voltage is judged to be abnormal, alarm reminding is carried out.
In order to more accurately identify and process the voltage range in the normal range, a filter circuit is connected to the ACC input route, so that noise generated by ACC ignition is eliminated, and the result of VT and VF is prevented from being interfered by the noise.
The invention also adds the voltage dividing characteristic of the resistor and the voltage stabilizing characteristic structure of the voltage stabilizing circuit, and in the embodiment, the invention also comprises a voltage dividing network, and the current limiting resistor of the voltage dividing network provides the voltage loaded on the voltage stabilizing circuit and the voltage of the detection node through voltage division.
In order to eliminate static electricity and protect a later-stage circuit, a static protection tube D1 is connected in parallel with a current-limiting resistor R2 and is positioned between a voltage stabilizing tube ZD and the current-limiting resistor R2. The SPI pin of the auxiliary CPU is connected with the alarm module so as to realize the function of alarming.
Specifically, the voltage dividing network comprises current limiting resistors R1, R2, R3 and R4 (precision resistors are adopted), the voltage of the connection point of the current limiting resistors R1 and R2 is V2, the connection point of the current limiting resistors R3 and R4 is a detection node, and the voltage is V1; the voltage stabilizing circuit adopts a voltage stabilizing tube ZD, and the stabilizing voltage is VZ; the filter circuit comprises filter capacitors C1 and C2 and a current limiting resistor R2; the ACC input end ACC IN is connected with the current limiting resistors R1 and R2 and the ground GND IN series, the voltage stabilizing tube ZD is connected with the current limiting resistor R2 IN parallel, the series circuit of the current limiting resistors R3 and R4 is connected with the voltage stabilizing tube ZD IN parallel, the input pin of the auxiliary CPU is connected with the connection point (namely the detection node) of the current limiting resistors R3 and R4, and the filter capacitors C1 and C2 are connected with the current limiting resistor R2 IN parallel.
The auxiliary CPU is powered by the ON-board battery when the ACC is in the ON state and by the internal battery when the ACC is in the OFF state. Serial ports (TXD, RXD) of the auxiliary CPU are connected with serial ports (RXD, TXD) of the vehicle-mounted equipment, so that data interaction is realized; GPIO0 of the auxiliary CPU controls the enabling of the power module; the SPI interface of the auxiliary CPU is connected with the SPI interface of the alarm module, so that data interaction is realized. The A/D acquisition input port of the auxiliary CPU is connected with a detection node, and the voltage value of the detection node is V2.
The power module (including DCDC circuit) supplies power to the vehicle-mounted equipment, the IN pin of the power module is connected with the BATT output by the battery on the vehicle, the GND pin is connected with the ground of the battery on the vehicle, the VOUT pin is a power output pin and is connected with the power input pin VIN of the vehicle-mounted equipment, the EN pin is an enabling pin of the power module and is connected with the GPIO0 of the auxiliary CPU, and the power module is controlled by the auxiliary CPU.
All sub-functional modules for realizing the multimedia entertainment function are contained in the vehicle-mounted equipment, and the sub-functional modules are communicated with an auxiliary CPU through serial ports (TXD and RXD) to realize data interaction.
In this embodiment, the alarm module is a circuit with a voice recording and playing IC and a voice playing function, and realizes the voice playing of the alarm module with the auxiliary CPU through an SPI communication protocol.
The ACC IN end of the current limiting resistor R1 is connected to an ACC ON a vehicle, and the vehicle voltage fluctuates to some extent due to battery aging or after the vehicle is started, and when the ACC is set to be IN an ON state, the normal voltage ranges VM to VN of the vehicle power supply (the vehicle voltage ranges of the vehicle and the vehicle 24 of 12V are different), and when the ACC is IN the ON state, the normal minimum voltage is VM. When ACC is in an OFF state, the range of the voltage to ground of the ACC is 0-VP; the maximum allowable voltage value of ACC to ground is VP when ACC is in the OFF state.
The circuit for accurately identifying the ACC state by the auxiliary vehicle-mounted equipment provided by the invention has the following working principle:
according to the voltage stabilizing characteristic of the voltage stabilizing tube ZD and the voltage dividing characteristic of the resistor, when the ACC is in an ON state, the voltage input by the ACC is input as a minimum effective value VM, and the voltage stabilizing tube ZD is just in a voltage stabilizing state through the voltage division of the current limiting resistor, so that the A/D acquisition input port of the auxiliary CPU detects a voltage value V1 = [ VZ/(R3 +R4) ]r4; the key value is expressed by VT and is pre-stored in the memory of the auxiliary CPU after a certain error range is set.
When the ACC is in an ON state, if the voltage input by the ACC is the maximum effective value VN, the voltage value detected by the a/D acquisition input port of the auxiliary CPU will be stabilized at v1= [ VZ/(r3+r4) ]×r4 due to the voltage stabilizing effect of the voltage stabilizing tube ZD; the voltage collected by the auxiliary CPU does not change along with fluctuation of the ACC voltage. That is, when the ACC is in the ON state, if the key value acquired by the A/D acquisition input port of the auxiliary CPU is within the set key value VT range, the ACC is normal, and the vehicle-mounted equipment is started normally; if the key value acquired by the A/D acquisition input port is not in the set key value VT range, the ACC is in a low-voltage state, and the equipment is not started.
When the ACC is in the OFF state, the allowable maximum allowable voltage of the ACC to ground remains as VP, at this time, the regulator ZD is not in the regulated state, the voltage value v1= (vp×r2×r4)/((r1+r2)/(r3+r4)) collected by the auxiliary CPU is denoted by VF, the maximum allowable abnormal voltage VF is set as the key value, and when the ACC is in the OFF state, the a/D collection detects that the voltage is greater than the maximum allowable abnormal voltage VF, which indicates that the abnormal voltage of the ACC in the OFF state has exceeded the range, and it is determined that the fault is required to detect the wiring condition on the vehicle.
The ACC state detection post-processing step, as shown in fig. 2, is specifically as follows:
step one, when ACC is in an ON state, the voltage V1 collected by an A/D collection input port of the auxiliary CPU is judged whether to be in a VT range or not. If so, the auxiliary CPU controls the GPIO0 to output a high level, the enabling pin of the power supply module is turned on, so that the power supply module supplies power to the vehicle-mounted equipment, a starting command is sent out through the serial port of the auxiliary CPU, the vehicle-mounted equipment is enabled to work normally, and meanwhile the auxiliary CPU communicates with the alarm module through the SPI interface to play a voice prompt to strike a fire normally; if the power supply module is not started, the ACC voltage value is too low, the auxiliary CPU controls the GPIO0 to output a low level, the enabling pin of the power supply module is not opened, the vehicle-mounted equipment cannot be electrified and is not started, and meanwhile, the auxiliary CPU communicates with the alarm module through the SPI interface, plays a voice prompt with low voltage and needs to check the battery voltage.
Step two, when the ACC is in the OFF state, the auxiliary CPU collects the voltage v1= (v0×r2×r4)/((r1+r2) ×r3+r4) ]. When V1> VF, when ACC is in OFF state, the abnormal voltage of ACC exceeds the specified value VF, the auxiliary CPU communicates with the alarm module through SPI interface, so that the alarm module plays abnormal alarm information, the installer is informed of the need of detecting the line on the vehicle, and meanwhile, the auxiliary CPU sends a shutdown command to the vehicle-mounted equipment through serial port, and the vehicle-mounted equipment enters into shutdown state after storing data. And then, the auxiliary CPU controls the GPIO0 to output low level, cuts OFF the power supply of the vehicle-mounted equipment, and ensures that the equipment is in a shutdown state when the ACC is in an OFF state.
When V2< VF, the ACC is in the OFF state, the voltage of the ACC is 0 or within the receivable range voltage, and the ACC is in the normal state, the auxiliary CPU communicates with the alarm module through the SPI interface, so that the alarm module plays normal voice information to inform an installer of normal shutdown, and meanwhile, the auxiliary CPU sends a shutdown command to the vehicle-mounted equipment through the serial port, the vehicle-mounted equipment stores data completely, and the vehicle-mounted equipment enters the shutdown state. And then, the auxiliary CPU controls the GPIO0 to output low level, cuts off the power supply of the vehicle-mounted equipment and ensures the normal shutdown of the equipment.
The above examples are only for illustrating the present invention and are not to be construed as limiting the invention. Variations, modifications, etc. of the above-described embodiments are intended to fall within the scope of the claims of the present invention, as long as they are in accordance with the technical spirit of the present invention.
Claims (12)
1. A method for assisting an in-vehicle apparatus to accurately recognize an ACC state, comprising the steps of:
the method comprises the steps that the input voltage of an ACC (alternating current) of a vehicle power supply is stabilized, a detection node is arranged, when the ACC is in an ON state, the detection node is stabilized at a normal starting voltage VT, and the VT is a range value fluctuating between preset error values; when ACC is in an OFF state, detecting that a normal shutdown voltage range of 0-VF exists in a node;
controlling the on-board equipment to be started and shut down based on the voltage V1 of the detection node: when the ACC is in an ON state, v1=VT, starting the vehicle-mounted equipment, otherwise, judging that the voltage is abnormal, and keeping the vehicle-mounted equipment closed; when ACC is in an OFF state, V1 accords with 0-VF, the voltage is judged to be normal, the vehicle-mounted equipment is shut down, otherwise, the voltage is judged to be abnormal, the vehicle-mounted equipment is shut down, and the startup and shutdown of the vehicle-mounted equipment are determined by the high-level threshold value and the low-level threshold value of the ACC; when ACC is in an ON state, an ACC input voltage range VM-VN, and when ACC is in an OFF state, the ground voltage of ACC is 0 to a maximum allowable voltage VP;
when the ACC is in the ON state, even if the minimum value of the high level threshold value of the ACC by the vehicle-mounted device is greater than VN, the vehicle-mounted device is still turned ON as long as v1=vt; when the ACC is in an OFF state, even if the maximum value of the low-level threshold value of the ACC by the vehicle-mounted equipment is smaller than VP, the vehicle-mounted equipment is still powered OFF as long as V1 accords with 0-VF.
2. The method for accurately identifying an ACC state by an auxiliary vehicle-mounted device according to claim 1, wherein a voltage stabilizing circuit is provided, and when the ACC is in an ON state, the voltage stabilizing circuit is in a voltage stabilizing state, and a voltage V1 of a detection node ON the voltage stabilizing circuit is stabilized at a normal start-up voltage VT; when ACC is in an OFF state, the voltage stabilizing circuit is not in a voltage stabilizing state, and the voltage V1 of the detection node is smaller than the maximum allowable abnormal voltage VF in the normal shutdown voltage range 0-VF.
3. The method for accurately identifying an ACC state by an auxiliary vehicle-mounted device according to claim 2, wherein when the voltage V1 of the detection node controls the power on of the vehicle-mounted device, the control power module supplies power to the vehicle-mounted device and transmits a power on command to the vehicle-mounted device; when the voltage V1 of the detection node controls the shutdown of the vehicle-mounted equipment, the control power supply module stops supplying power to the vehicle-mounted equipment and sends a shutdown command to the vehicle-mounted equipment.
4. The method for accurately identifying the ACC state by the auxiliary vehicle-mounted device according to claim 3, wherein an auxiliary CPU is provided to collect the voltage V1 of the detection node, and when the ACC is in the ON state, v1=vt, the auxiliary CPU controls the power module to turn ON the enable pin, and the power module supplies power to the vehicle-mounted device, otherwise the enable pin of the power module is kept not turned ON; when the ACC is in an OFF state, the auxiliary CPU controls the enabling pin of the power module not to be opened no matter whether V1 accords with 0-VF, and the power module stops supplying power to the vehicle-mounted equipment.
5. The method for accurately recognizing the ACC state by the auxiliary vehicle according to claim 4, wherein VT and VF are stored in the auxiliary CPU and the comparison operation is performed in the auxiliary CPU after V1 is collected.
6. The method for assisting the in-vehicle apparatus to accurately recognize the ACC state according to claim 1 or 4, wherein an alarm prompt is made when it is determined that the voltage is abnormal.
7. A circuit for accurately identifying an ACC state by an auxiliary vehicle-mounted device realized based on the method for accurately identifying an ACC state by an auxiliary vehicle-mounted device according to any one of claims 1-6, comprising a voltage stabilizing circuit, an auxiliary CPU, wherein an ACC input voltage is applied to the voltage stabilizing circuit, and an input pin of the auxiliary CPU is connected to a detection node provided on the voltage stabilizing circuit; the GPIO pin of the auxiliary CPU is connected with the enabling pin of the power module of the automobile, and the auxiliary CPU and the vehicle-mounted equipment conduct data interaction through a serial port.
8. The circuit for assisting an in-vehicle apparatus in accurately recognizing an ACC state according to claim 7, wherein a filter circuit is connected to an ACC input line to eliminate noise generated by ACC ignition.
9. The circuit for assisting the vehicle-mounted equipment in accurately identifying the ACC state according to claim 8, wherein the circuit comprises a voltage division network, and the current limiting resistor of the voltage division network provides voltage loaded on the voltage stabilizing circuit and voltage of the detection node through voltage division.
10. The circuit for accurately identifying an ACC state of an auxiliary vehicle device according to claim 9, wherein the voltage divider network includes current limiting resistors R1, R2, R3, R4, the voltage stabilizing circuit employs a voltage stabilizing tube ZD, the filter circuit includes filter capacitors C1, C2, a current limiting resistor R2, an ACC input ACC IN is connected IN series with the current limiting resistors R1, R2 and a ground GND, the voltage stabilizing tube ZD is connected IN parallel with the current limiting resistor R2, the series circuit of the current limiting resistors R3, R4 is connected IN parallel with the voltage stabilizing tube ZD, an input pin of the auxiliary CPU is connected to a connection point of the current limiting resistors R3, R4, and the filter capacitors C1, C2 are connected IN parallel with the current limiting resistor R2.
11. The circuit for assisting the vehicle-mounted device in accurately recognizing the ACC state according to claim 10, wherein the current limiting resistor R2 is connected in parallel with an electrostatic protection tube.
12. The circuit for assisting in accurately recognizing an ACC state according to claim 7, wherein an SPI pin of the assisting CPU is connected to the alarm module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810022888.7A CN110031692B (en) | 2018-01-10 | 2018-01-10 | Method and circuit for assisting vehicle-mounted equipment in accurately identifying ACC (active control) state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810022888.7A CN110031692B (en) | 2018-01-10 | 2018-01-10 | Method and circuit for assisting vehicle-mounted equipment in accurately identifying ACC (active control) state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110031692A CN110031692A (en) | 2019-07-19 |
CN110031692B true CN110031692B (en) | 2023-07-21 |
Family
ID=67234186
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810022888.7A Active CN110031692B (en) | 2018-01-10 | 2018-01-10 | Method and circuit for assisting vehicle-mounted equipment in accurately identifying ACC (active control) state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110031692B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117368787B (en) * | 2023-10-11 | 2024-07-05 | 深圳市首航电子有限公司 | ACC detection method and system without broken line, terminal and storage medium thereof |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101236686A (en) * | 2007-02-02 | 2008-08-06 | 厦门雅迅网络股份有限公司 | Vehicle anti-theft remote self-help alarming method |
CN102437554A (en) * | 2011-12-29 | 2012-05-02 | 厦门雅迅网络股份有限公司 | Battery protection method and circuit of vehicle-mounted equipment |
CN104615037A (en) * | 2014-12-22 | 2015-05-13 | 厦门雅迅网络股份有限公司 | CAN based vehicle-mounted equipment reminding device and method |
CN104977858A (en) * | 2014-04-04 | 2015-10-14 | 惠州市德赛西威汽车电子有限公司 | Control method of vehicle-mounted electronic device turn-on and turn-off |
CN105759681A (en) * | 2016-01-28 | 2016-07-13 | 深圳创维汽车智能有限公司 | Anomaly avoidance device, and control system and method of avoiding anomaly of vehicle-mounted device |
CN205581701U (en) * | 2016-04-22 | 2016-09-14 | 河北科创明达信息科技有限公司 | Automobile -mounted terminal power management circuit |
CN105984408A (en) * | 2015-05-19 | 2016-10-05 | 乐卡汽车智能科技(北京)有限公司 | On-off control method and device for vehicle-mounted equipment |
CN105984400A (en) * | 2015-01-30 | 2016-10-05 | 厦门雅迅网络股份有限公司 | Vehicular power supply switch device |
CN205620734U (en) * | 2016-04-14 | 2016-10-05 | 北京中电万联科技股份有限公司 | On -vehicle power supply and intelligent monitoring system |
CN206820830U (en) * | 2017-05-26 | 2017-12-29 | 长春精钰电子科技股份有限公司 | A kind of mounted remote wake-up circuit |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE112012005596B4 (en) * | 2012-01-06 | 2019-05-23 | Mitsubishi Electric Corp. | Power source system device |
CN103386934B (en) * | 2012-05-10 | 2016-04-06 | 航天信息股份有限公司 | The electric supply installation of vehicle electronic device and method |
JP2014015161A (en) * | 2012-07-11 | 2014-01-30 | Panasonic Corp | On-vehicle device and control method of the on-vehicle device |
CN103192685B (en) * | 2013-03-22 | 2015-08-12 | 奇瑞汽车股份有限公司 | A kind of automatic shut control method of vehicle dormer window and interface matched circuit thereof |
CN103481844B (en) * | 2013-09-06 | 2016-10-19 | 深圳市华宝电子科技有限公司 | A kind of in-vehicle electronic system, vehicle electronic device method for managing power supply and automobile |
CN203984230U (en) * | 2014-07-16 | 2014-12-03 | 东风汽车公司 | A kind of power circuit of automobile electric control system |
JP6408843B2 (en) * | 2014-09-19 | 2018-10-17 | 矢崎総業株式会社 | Vehicle power supply device |
JP6561676B2 (en) * | 2015-08-20 | 2019-08-21 | スズキ株式会社 | Vehicle power supply control device |
CN105730375A (en) * | 2016-01-28 | 2016-07-06 | 叶少甘 | Vehicle-mounted load power supply control system |
CN105717841B (en) * | 2016-03-21 | 2018-10-12 | 广州橙行智动汽车科技有限公司 | Power supply circuit of electric automobile central control system and implementation method thereof |
CN106740828A (en) * | 2016-12-16 | 2017-05-31 | 深圳安狗数据技术有限公司 | The progress control method and device of a kind of DAS (Driver Assistant System) |
CN206684514U (en) * | 2017-03-17 | 2017-11-28 | 厦门歌乐电子企业有限公司 | A kind of vehicle power control circuit |
CN214427972U (en) * | 2021-04-13 | 2021-10-19 | 深圳市万汇芯源科技有限公司 | ACC automatic switch control circuit applied to automobile data recorder |
-
2018
- 2018-01-10 CN CN201810022888.7A patent/CN110031692B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101236686A (en) * | 2007-02-02 | 2008-08-06 | 厦门雅迅网络股份有限公司 | Vehicle anti-theft remote self-help alarming method |
CN102437554A (en) * | 2011-12-29 | 2012-05-02 | 厦门雅迅网络股份有限公司 | Battery protection method and circuit of vehicle-mounted equipment |
CN104977858A (en) * | 2014-04-04 | 2015-10-14 | 惠州市德赛西威汽车电子有限公司 | Control method of vehicle-mounted electronic device turn-on and turn-off |
CN104615037A (en) * | 2014-12-22 | 2015-05-13 | 厦门雅迅网络股份有限公司 | CAN based vehicle-mounted equipment reminding device and method |
CN105984400A (en) * | 2015-01-30 | 2016-10-05 | 厦门雅迅网络股份有限公司 | Vehicular power supply switch device |
CN105984408A (en) * | 2015-05-19 | 2016-10-05 | 乐卡汽车智能科技(北京)有限公司 | On-off control method and device for vehicle-mounted equipment |
CN105759681A (en) * | 2016-01-28 | 2016-07-13 | 深圳创维汽车智能有限公司 | Anomaly avoidance device, and control system and method of avoiding anomaly of vehicle-mounted device |
CN205620734U (en) * | 2016-04-14 | 2016-10-05 | 北京中电万联科技股份有限公司 | On -vehicle power supply and intelligent monitoring system |
CN205581701U (en) * | 2016-04-22 | 2016-09-14 | 河北科创明达信息科技有限公司 | Automobile -mounted terminal power management circuit |
CN206820830U (en) * | 2017-05-26 | 2017-12-29 | 长春精钰电子科技股份有限公司 | A kind of mounted remote wake-up circuit |
Also Published As
Publication number | Publication date |
---|---|
CN110031692A (en) | 2019-07-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105711520B (en) | The electric power management circuit and its control method of a kind of entire car controller | |
US20100023198A1 (en) | System and method for emulating vehicle ignition-switched power | |
US10347056B2 (en) | Apparatus and method for monitoring vehicle ON/OFF state | |
KR20180029184A (en) | Startup status check system using a car battery voltage | |
CN107329014A (en) | High-voltage plug connector fault detection method and device | |
CN112769224A (en) | Aircraft and flight control system's control circuit thereof | |
CN110031692B (en) | Method and circuit for assisting vehicle-mounted equipment in accurately identifying ACC (active control) state | |
JPH11266547A (en) | Power supply source circuit | |
US10809291B2 (en) | Method for detecting a proper connection of at least one energy store to an on-board electrical system | |
US11733284B2 (en) | Systems and methods for vehicle event detection | |
CN111913468B (en) | Intelligent starting controller device and starting control method | |
CA2118196C (en) | An electronic control apparatus for an air-bag system | |
US10500960B2 (en) | Method for operating an electrical system of a motor vehicle, and motor vehicle | |
CN112947165A (en) | Method for waking up electronic equipment and electronic equipment | |
JP2009501920A (en) | Electronic equipment | |
US7834756B2 (en) | Failure current measurement for electronic control module | |
CN213600837U (en) | Relay detection circuit and detection device based on negative pole | |
KR101887904B1 (en) | An Apparatus And A Method For Detecting Short Circuit Of A Controller | |
CN110209234B (en) | voltage processing circuit | |
EP3932104B1 (en) | Systems and methods for vehicle event detection | |
KR101446524B1 (en) | Apparatus and method for outputting information on dark current generated by external electronic device for vehicle | |
CN114791563A (en) | Apparatus and method for diagnosing battery failure | |
JPH11338556A (en) | Power circuit | |
EP4477478A1 (en) | Crash switch circuit and crash detection system including the same | |
CN210123530U (en) | Voltage processing circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 303-e, Zone C, innovation building, software park, Xiamen Torch hi tech Zone, Xiamen, Fujian, 361000 Patentee after: Xiamen Yaxun Zhilian Technology Co.,Ltd. Country or region after: China Address before: No.46 guanri Road, phase II, software park, Xiamen City, Fujian Province, 361000 Patentee before: XIAMEN YAXON NETWORK Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |