A new energy vehicle startup self-check system
By introducing high-stable clock self-test and startup value simulation self-test into the new energy vehicle power-on self-test system, combined with traditional hardware self-test, the problem of low accuracy of new energy vehicle power-on self-test is solved and higher self-test is achieved. Inspection accuracy and fault diagnosis capabilities.
Patent Information
- Application Number
- CN202011493291.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-16
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-12-16
AI Technical Summary
The accuracy of the power-on self-test of existing new energy vehicles is low, and the self-test cannot be fully combined with the environmental factors of new energy vehicles.
A new energy vehicle power-on self-test system is designed, including a high-stable clock self-test module, a boot value simulation self-test module, a traditional hardware self-test module, a central processing module and an indication output module. Through high-stable clock self-test and Power-on value simulation self-test improves self-test accuracy.
It improves the accuracy of the power-on self-test of new energy vehicles, ensures that the system can operate normally after startup, and enhances fault diagnosis and indication functions.
Smart Images

Figure CN112769401B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of new energy vehicles, and in particular to a startup self-check system for new energy vehicles. Background Art
[0002] New energy vehicles refer to vehicles that use unconventional vehicle fuels as a power source (or use conventional vehicle fuels and adopt new vehicle power devices), and integrate advanced technologies in vehicle power control and drive to form vehicles with advanced technical principles, new technologies, and new structures. Among them, new energy vehicles include new energy cars, electric flatbed vehicles, scooters, etc.
[0003] In order to ensure that the new energy vehicle can operate normally after being turned on, a system self-check is generally required after being turned on. In the prior art, generally only traditional hardware self-check is performed, and self-check is not performed in combination with the environment in which the new energy vehicle is located, and the accuracy of the power-on self-check is low. Summary of the invention
[0004] A power-on self-test system for a new energy vehicle is provided in an embodiment of the present invention, which can improve the accuracy of the power-on self-test for the new energy vehicle.
[0005] On the one hand, the present invention provides a new energy vehicle power-on self-test system, the new energy vehicle power-on self-test system includes a high-stable clock self-test module, a power-on value simulation self-test module, a traditional hardware self-test module, a central processing module and an indication output module, wherein:
[0006] The high-stability clock self-checking module comprises a voltage-controlled crystal oscillator VCXO module, an isolation amplifier, a synthesizer, a server, a frequency multiplier, a microwave frequency multiplier, a physical system, an optical detection amplifier, a square wave shaper, a first monitoring point and a second monitoring point. The VCXO module, the isolation amplifier, the frequency multiplier, the microwave frequency multiplier, the physical system, the optical detection amplifier, the square wave shaper, the server and the VCXO module are connected in sequence, and the synthesizer is connected to the isolation amplifier, the frequency multiplier and the server respectively;
[0007] The first monitoring point is used to monitor whether the high-stability clock source enters normal locking operation, and the second monitoring point is used to monitor the state of the physical system;
[0008] The high-stability clock self-check module outputs a frequency signal which is locked on the power-on value simulation self-check module and the central processing module;
[0009] The central processing module is used to process the self-test results of the high-stable clock self-test module, the power-on value simulation self-test module and the traditional hardware self-test module, and generate a control instruction according to the self-test results, and send the control instruction to the indication output module;
[0010] The indication output module is used to control the self-test result indication device according to the control instruction.
[0011] In some embodiments, the power-on value simulation self-test module includes a frequency divider, a detection amplifier, an integrator, a central controller, a simulation excitation generator, a frequency multiplier, a tester, and a time constant generator;
[0012] The frequency divider, the detection amplifier, the integrator, the central controller, the simulation excitation generator, the frequency multiplier and the frequency divider are connected in sequence, the time constant generator is connected with the detection amplifier, the integrator and the central controller respectively, the central controller is also connected with the tester, the frequency divider, the frequency multiplier, the detection amplifier and the integrator respectively, the simulation excitation generator is connected with the tester, the frequency divider, the detection amplifier and the integrator are connected in sequence.
[0013] In some embodiments, the frequency divider is in communication with a highly stable reference source.
[0014] In some embodiments, the tester outputs simulation test results.
[0015] In some embodiments, the physical system includes a spectrum lamp, an integrated filter resonant bubble, a microwave cavity, a C-field coil, a magnetic shield, a photocell, a coupling loop, a constant current source, a temperature controller, and a thermostat.
[0016] In some embodiments, the second monitoring point includes a first sub-monitoring point, a second sub-monitoring point, and a third sub-monitoring point.
[0017] In some embodiments, the first sub-monitoring point is closely disposed on the spectrum lamp to reflect the actual working temperature of the spectrum lamp in real time, and the second sub-monitoring point includes a first thermistor.
[0018] In some embodiments, the second sub-monitoring point is closely disposed on the integrated filter resonance bubble to reflect the actual working temperature of the integrated filter resonance bubble in real time, and the second sub-monitoring point includes a second thermistor.
[0019] In some embodiments, the third sub-monitoring point is connected in series with the constant current source and the C-field coil to form a closed series loop.
[0020] In some embodiments, the indication output module includes a high stable clock self-test output submodule, a power-on value simulation self-test output submodule, and a traditional hardware self-test output submodule.
[0021] Compared with the prior art, the beneficial effect of the present invention is that the new energy vehicle power-on self-test system provided by the present invention, in addition to the traditional hardware self-test, also combines a high-stability clock self-test and a power-on value simulation self-test during self-test, thereby improving the accuracy of the new energy vehicle power-on self-test. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 It is a schematic diagram of the overall principle of the power-on self-check system for new energy vehicles provided by an embodiment of the present invention;
[0024] Figure 2 It is a principle schematic diagram of a high-stability clock self-check module provided by an embodiment of the present invention;
[0025] Figure 3 is a waveform diagram reflecting the locking characteristics of a high-stability clock source in an embodiment of the present invention;
[0026] Figure 4 This is a principle diagram for judging the locking condition of a high-stability clock source in an embodiment of the present invention;
[0027] Figure 5 is a waveform diagram of the locked and unlocked states of the high-stability clock source in an embodiment of the present invention;
[0028] Figure 6 is a schematic diagram of a hardware connection principle for using a microcontroller to avoid edge jitter in an embodiment of the present invention;
[0029] Figure 7 It is a flow chart of judging whether a high-stability clock source enters a locked working state in an embodiment of the present invention;
[0030] Figure 8 is a circuit diagram for realizing monitoring point 1, monitoring point 2 and monitoring point 3 in an embodiment of the present invention;
[0031] Fig. 9 It is a monitoring process diagram provided by an embodiment of the present invention;
[0032] Fig.10 It is a principle schematic diagram of a power-on value simulation self-check module provided by an embodiment of the present invention;
[0033] Fig.11 It is a schematic diagram of the principle of implementing the frequency band presetting of the self-check model in an embodiment of the present invention;
[0034] Fig.12 is a schematic diagram of a square waveform provided by an embodiment of the present invention;
[0035] Fig.13 is a curve diagram of the first strategy provided by an embodiment of the present invention;
[0036] Fig.14 is a curve diagram of the second strategy provided by an embodiment of the present invention;
[0037] Fig.15 It is a principle schematic diagram of the indication output module provided by an embodiment of the present invention. Specific embodiments
[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0039] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0040] In the present invention, the word "exemplary" is used to mean "used as an example, illustration or description". Any embodiment described as "exemplary" in the present invention is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any technician in the field to implement and use the present invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present invention can be implemented without using these specific details. In other instances, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present invention.
[0041] In the embodiment of the present invention, the central processing unit mentioned can adopt the MSP430 model processor of TI, the tester can adopt the SYN5106 model high-precision clock tester of Xi'an Synchronous Electronic Technology Co., Ltd., the voltage reference can adopt the REF3125AIDBZR model voltage reference of TI, and the A / D module can adopt the ADS1110AOIDBVR model module of TI.
[0042] See also Figure 1 , Figure 1 It is a schematic diagram of the overall principle of the power-on self-check system for a new energy vehicle provided by an embodiment of the present invention.
[0043] An embodiment of the present invention provides a new energy vehicle power-on self-test system, comprising a high-stability clock self-test module, a power-on value simulation self-test module, a traditional hardware self-test module, a central processing module and an indication output module.
[0044] The power-on value simulation self-test module in this embodiment is also called a power-on Y value self-test module.
[0045] The central processing module is used to process the self-test results of the high-stable clock self-test module, the power-on value simulation self-test module and the traditional hardware self-test module, generate control instructions according to the self-test results, and send the control instructions to the indication output module;
[0046] The indication output module is used to control the self-test result indication device according to the control instruction.
[0047] The following are detailed descriptions of each.
[0048] High stability clock self-test module:
[0049] In this embodiment, the output frequency signal of the system high stable clock self-check module is locked on the power-on value simulation self-check module and the central processing module. The coordination work of the whole system is completed by the central processing module, and it also takes the important task of system indication output.
[0050] See also Figure 2 , Figure 2 This is a schematic diagram of a high-stability clock self-test module provided in the embodiment. The high-stability clock self-test module includes a voltage-controlled crystal oscillator VCXO module, an isolation amplifier, a synthesizer, a server, a frequency multiplier, a microwave frequency multiplier, a physical system, an optical detection amplifier, a square wave shaper, a first monitoring point and a second monitoring point (a first sub-monitoring point 11, a second sub-monitoring point 12 and a third sub-monitoring point 13). The VCXO module, the isolation amplifier, the frequency multiplier, the microwave frequency multiplier, the physical system, the optical detection amplifier, the square wave shaper, the server and the VCXO module are connected in sequence, and the synthesizer is connected to the isolation amplifier, the frequency multiplier and the server respectively;
[0051] The first monitoring point is used to monitor whether the high-stability clock source enters normal locking operation, and the second monitoring point is used to monitor the state of the physical system;
[0052] Specifically, the physical system includes a spectrum lamp 1, an integrated filter resonance bubble 2, a microwave cavity 3, a C-field coil 4, a magnetic screen 5, a photocell 6, a coupling ring 7, a constant current source 8, a temperature controller 9 and a thermostat 10, and the second monitoring point includes a first sub-monitoring point 11, a second sub-monitoring point 12 and a third sub-monitoring point 13.
[0053] In this embodiment, the microwave interrogation signal output by the microwave frequency multiplier is sent to the physical system. The output signal of the physical system for realizing the frequency discrimination of the quantum system is passed through the photodetector amplifier and the square wave shaper through the servo circuit to lock the output frequency of the local oscillator to the ground state hyperfine 0-0 transition frequency of the rubidium atom.
[0054] The working state of the entire high-stability clock source is completed by 4 monitoring points. Among them, monitoring point 1 (the first sub-monitoring point) is responsible for monitoring the working temperature of the spectrum lamp 1 as the light source of the entire atomic frequency standard physical system; monitoring point 2 (the second sub-monitoring point) is responsible for monitoring the working temperature of the cavity of the integrated filter resonance bubble for built-in filtering and atomic resonance; monitoring point 3 (the third sub-monitoring point) is responsible for monitoring the C field current that causes Zeeman splitting of the atomic ground state hyperfine structure and provides the quantization axis for atomic transition; monitoring point 4 (the first monitoring point) samples the signal obtained from the quantum system after frequency discrimination processing, optical detection amplification (optical detection amplifier) and square wave shaping (square wave shaper) through the synchronous sampling timing generated by the synthesizer, and judges whether the high-stability clock source has entered the normal locked working state through the sampling results.
[0055] like Figure 3 As shown, Figure 3In order to reflect the locking characteristics of the high-stability clock source, the y-axis representing the signal amplitude I is electrically inverted. When the microwave interrogation signal f generated by the synthesizer modulation is at the left, middle, and right side of the center frequency of the atomic ground state hyperfine 0-0 transition, different quantum frequency discrimination information is obtained after the frequency discrimination processing of the quantum system: when the center frequency of the microwave interrogation signal is higher than the atomic transition frequency (f>fo), the output signal of the photocell and the microwave modulation signal are in the same frequency and in opposite phase; when the center frequency of the microwave interrogation signal is lower than the atomic transition frequency (f<fo), the output signal of the photocell and the microwave modulation signal are in the same frequency and in phase; when the center frequency of the microwave interrogation signal is equal to the atomic transition frequency (f=fo), the output signal frequency of the photocell is twice the microwave modulation frequency. The passive high-stability clock source servo system uses this characteristic and adopts a synchronous phase discrimination scheme to achieve closed-loop locking of the entire machine.
[0056] To realize the locking indication of the high-stability clock source, while retaining the original modulation signal and synchronization phase reference signal required for the synchronization phase detection, a square wave sampling timing signal with a frequency four times that of the modulation signal, adjustable phase, and a duty cycle of 1:1 is added. The square wave sampling timing signal with a frequency four times that of the modulation signal collects the locking information of the AC signal generated after quantum frequency detection, optical detection amplification, and square wave shaping to determine the locking status of the high-stability clock source at this moment. The judgment principle is as follows: Figure 4 shown.
[0057] like Figure 4 As shown in the figure, in the square wave shaping link, since the peak-to-peak amplitude of the signal waveform in the locked state is usually about several hundred millivolts, the selection of the trigger level should be determined according to the amplitude of the locked signal waveform of the actual system. Due to the existence of the whole machine noise, the locked signal observed from the oscilloscope will have burrs in both the flat area and the peak area, resulting in jitter, such as Figure 5 shown.
[0058] This causes the signal edge obtained after square wave shaping to jitter. When collecting these signals at the sampling timing, it is necessary to avoid the link of edge jitter. The solution is to use the microcontroller (central processing unit) to generate a synchronous phase reference signal and a 4-fold sampling timing signal through a timed interrupt, and use the delay method to achieve arbitrary phase movement of the 4-fold sampling timing signal. The sampling input terminal of the microcontroller is connected to the quantum frequency discrimination signal after the quantum system frequency discrimination processing. At the same time, the external clock input terminal of the microcontroller is connected to the signal sent by the high-stability clock source voltage-controlled crystal oscillator (VCXO) after the isolation amplifier. The hardware connection is as follows: Figure 6 shown.
[0059] Specific lock indication judgment basis Figure 4There are four cases as shown: 1. When the frequency of the microwave interrogation signal is greater than (less than) the center frequency of the atomic transition, that is, f>fo (f<fo), the signal frequency obtained after quantum frequency discrimination, optical detection amplification, and square wave shaping is consistent with the frequency of the original modulation signal, but there is a difference in phase. At this time, the high-stable clock source is in an unlocked state; 2. When the frequency of the microwave interrogation signal is equal to the center frequency of the atomic transition, that is, f=fo, the signal frequency obtained after square wave shaping is twice the original modulation signal, and the high-stable clock source is in a locked state; 3. The frequency of the microwave interrogation signal is much farther away from the original When the quantum transition center frequency is less than 100, that is, f does not enter the effective quantum frequency discrimination absorption bandwidth, the signal obtained after processing will be a continuous level, and the high-stable clock source is in an unlocked state; 4. Another special case is that when the high-stable clock source is just powered on (including the whole machine completely cold power-on and the whole machine hot restart power-on), the spectrum lamp has a relaxation oscillation process. At this time, a high-frequency irregular signal waveform will be detected from the quantum system frequency discrimination output end until the spectrum lamp enters a normal working state, and the duration of the entire relaxation oscillation process is determined by the specific cold and hot states of the whole machine. For these four cases, the four consecutive rising edges of the sampling timing of the 4-fold frequency modulation signal are used as trigger pulses to sample the level of the signal after quantum frequency discrimination, and are recorded as D1, D2, D3, and D4 respectively. For the first case, there are 3 low levels and 1 high level in the 4 recorded levels; for the second case, the recorded levels have the relationship: D1=D3 and D2=D4; for the third case, the recorded levels have the relationship: D1=D2=D3=D4; for the fourth case, since the spectrum lamp is in the relaxation oscillation process at this moment, the high frequency of the signal at the quantum frequency discrimination is irregular, and the data obtained by sampling the rising edges of multiple groups of 4 consecutive sampling timings may have the first case, the second case, or the third case, so it is impossible to judge by the sampling level. The solution is: in this link, What needs to be judged is whether the high-stable clock source is in a locked state. The fourth case clearly shows that the high-stable clock source is not locked. In the comprehensive modulation signal part, the modulation signal used is a low-frequency signal. The specific scheme takes 79Hz. In the sampling timing of the 4-fold modulation signal frequency triggered by 4 consecutive rising edges, more than one group (4 consecutive rising edges are triggered as a group) of sampling judgment methods can be set, and the levels obtained from the multiple groups of samples are judged for the high-stable clock source locking state respectively, and the multiple groups of judgments are ANDed to obtain the final locking state judgment result. This can solve the problem caused by the fourth case very well.
[0060] When the second situation is judged, the lock indication is enabled on the user side, indicating that the high-stability clock source is in a normal lock working state at this time; when the first, third, and fourth situations are judged, the system lock indication is enabled to a non-state, indicating that the high-stability clock source has failed to enter a normal lock working state at this time. After the judgment of the fault diagnosis program, the functional component fault indication related to the physical system of the whole machine can be obtained, which is convenient for users and debugging personnel to judge the fault. Figure 7 shown.
[0061] After obtaining the locking state judgment result of the high-stability clock source, especially after obtaining the unlocking state indication result, the cause of the fault can be further analyzed by combining the monitoring results of monitoring point 1, monitoring point 2 and monitoring point 3.
[0062] like Figure 8 As shown, Figure 8 The circuit diagrams for realizing monitoring point 1, monitoring point 2 and monitoring point 3 are as follows:
[0063] The first thermistor (R4) close to the spectrum lamp 1 is used to reflect the actual working temperature of the spectrum lamp in real time. For the high-stability clock source, the normal working temperature of the spectrum lamp 1 is about 100 degrees. At this temperature, if the temperature of the spectrum lamp 1 changes by 1°C, the resistance of the first thermistor (R4) reflecting the working temperature of the lamp will change by about 50. The first thermistor (R4) is connected to a series loop consisting of a first voltage reference (V1) and a first fixed resistor (R1) with a small temperature coefficient. The voltage across the first thermistor (R4) is collected through the A / D module, and the sampling result is transmitted to the single-chip microcomputer (microcontroller / central processing unit). The single-chip microcomputer analyzes the sampling result of the A / D module to indirectly determine the working temperature of the spectrum lamp 1. There are two situations in which the fault of this monitoring point 1 occurs: 1. The excitation coil and heating circuit of the spectrum lamp 1 fail, which is manifested as the rubidium element in the spectrum lamp 1 cannot be normally ignited, resulting in the inability to complete the optical pumping process, and ultimately making the entire passive high-stability clock source unable to achieve closed-loop locking. 2. The temperature control circuit is faulty, which is manifested by the fact that the rubidium element in the spectrum lamp 1 is emitting light normally, the optical pumping process is normal, and the whole machine achieves closed-loop lock. However, due to the fluctuation of the temperature of the spectrum lamp 1 that affects the frequency stability of the whole machine, the frequency stability of the output signal of the high-stability clock source deteriorates and cannot meet the needs of actual applications. After the microcontroller collects and analyzes the data of the A / D module, the fault indication is output to the user end.
[0064] The second thermistor (R5) close to the integrated filter resonance bubble 2 is used to reflect the actual working temperature of the cavity bubble system in real time. For a high-stability clock source, the normal working temperature of the cavity bubble system is about 70 degrees. At this temperature, if the temperature of the cavity bubble system changes by 1°C, the resistance of the second thermistor (R5) reflecting its working temperature will change by about 600. The second thermistor (R5) is connected to a series loop consisting of a second voltage reference (V2) and a second fixed resistor (R2) with a smaller temperature coefficient. The voltage across the second thermistor (R5) is collected through the A / D module, and the sampling result is transmitted to the single-chip microcomputer. The single-chip microcomputer analyzes the sampling result of the A / D module to indirectly determine the working temperature of the cavity bubble system. The failure of this monitoring point 2 is mainly caused by the failure of the temperature control circuit, which is manifested as the rubidium vapor in the integrated filter resonance bubble being unevenly distributed and inconsistent in density due to the unstable cavity bubble temperature, which affects the effect of optical pumping and causes the frequency stability of the output signal of the whole machine to deteriorate, which cannot meet practical needs. After the above faults are collected and analyzed by the single chip microcomputer, the fault indication is output to the user end.
[0065] In a high-stability clock source, the method of producing the magnetic field required by the system is often to use a spiral tube current method. According to the right-hand spiral rule, the direction of the magnetic field generated by the current can be easily given. Its magnitude can be calculated using formula (1):
[0066]
[0067] Where n is the number of turns per unit length of the coil, which is related to the number of turns of the C field and the winding radius. I is the current, A constant value of 10 -7 . cosβ1 and cosβ2 are related to calculating the magnetic field at a specific location in the energized cavity. A third fixed resistor (R3) with a small temperature coefficient is connected in series with the constant current source, and at the same time forms a closed series loop with the C field coil. The voltage across the third fixed resistor (R3) is collected through the A / D module, and the sampling result is transmitted to the single-chip microcomputer. The single-chip microcomputer analyzes the sampling result of the A / D module to indirectly judge the working condition of the C field loop of the whole machine. For a high-stability clock source, the actual C field constant current source current is approximately 1-2mA. The fault at this monitoring point 3 is mainly caused by a constant current source circuit fault, which is manifested as large fluctuations in the C field current or even no current, affecting the effects of atomic splitting and quantization axis. After the single-chip microcomputer collects and analyzes the data of the A / D module, the fault indication is output to the user end.
[0068] The monitoring process is as follows: Fig. 9 shown.
[0069] Power-on value simulation self-test module (power-on Y value self-test module):
[0070] like Fig.10 As shown, the power-on value simulation self-test module includes a frequency divider, a detection amplifier, an integrator, a central controller, a simulation excitation generator, a frequency multiplier, a tester and a time constant generator;
[0071] The frequency divider, detection amplifier, integrator, central controller, simulation excitation generator, frequency multiplier and frequency divider are connected in sequence, the time constant generator is connected with the detection amplifier, integrator and central controller respectively, the central controller is also connected with the tester, frequency divider, frequency multiplier, detection amplifier and integrator respectively, the simulation excitation generator is connected with the tester, the frequency divider, detection amplifier and integrator are connected in sequence.
[0072] The frequency divider is connected to a high-stability reference source, and the tester includes a simulation result output port, which is used to output simulation test results.
[0073] Specifically, Fig.10 Where F0 is the original frequency of the high-stability reference source, F REF 、F OUT They are the high stable reference source frequency division and simulation excitation generator output frequency respectively. REF , ε DET , ε DET , ε OSC , ε MUL are the errors of the high-stable reference source, detection amplifier, integrator, simulation excitation generator and the output of the frequency multiplier. M is the frequency multiplication factor, K DET K is the detection amplifier frequency slope, OSC is the voltage control slope of the simulation excitation generator. 1 / (1+ST h ) is the loop transfer function of the equivalent RC filter, where S is the complex Fourier frequency S = jω = j2πf, T h is the RC time constant. A and T i are the gain and time constant of the integrator respectively. Here, to achieve Fig.10 In the simulation, we added a time constant generator module, which consists of a multi-stage series-parallel circuit of resistors and capacitors to generate different RC time constants and apply them to Fig.10 T of the detector amplifier h and the integrator's T i .
[0074] exist Fig.10 In the integrator, in order to simplify the simulation, we intentionally set the amplification factor A of the integrator to infinity. When A is very large, we can approximately understand that the transfer function of the integrator is 1 / ST i .definition:
[0075] G0=K DET KOSC M (1)
[0076] but Figure 1 The self-test open-loop gain is:
[0077]
[0078] The steady-state output frequency of the simulation excitation source generator can be expressed as:
[0079]
[0080] After the system reaches steady state in loop operation, G(s)>1, so equation (3) can be written as:
[0081]
[0082] From formula (4), it can be seen that under ideal conditions, the steady-state output frequency of the simulation excitation source generator should be equal to the frequency value of the high-stability reference source after frequency division, which has a multiple relationship:
[0083]
[0084] Specific parameters constructed in the patent:
[0085] 1. Multiple relationship
[0086] To achieve Fig.10 The steady-state output frequency of the simulation excitation source generator theoretically expressed in formula (5) should be a multiple of the high-stability reference source frequency value, and the above relationship is a dynamic balance. We need to Fig.10 The central processor in the system coordinates the work of the entire system. Here, the parameter of this task is temporarily defined as X, which will be explained in detail later.
[0087] 2. Time constant
[0088] Formula (5) and the above X parameter settings are theoretical, because in practice Fig.10 In the PLL phase-locked loop, due to the frequency difference of the high-stable reference source itself and the errors of various parts in the PLL loop, Fig.10 The output frequency of the analog excitation generator always has a certain deviation from its nominal value. This deviation may be caused by deviation and aging of the simulation excitation generator, zero drift of the integrator, phase change of the frequency multiplier, etc. The long-term drift of all items may cause aging of the output frequency and become additional noise.
[0089] In order to reduce the error of the above electronic circuit part, the open loop gain G(s) should be increased as much as possible. For the convenience of simulation, we uniformly use Fig.10 ε REF , ε DET , ε DET, ε OSC , ε MUL Each error is set to a fixed value. Fig.10 Theoretically, the performance of self-checking should be improved by making the open-loop gain G(s) as large as possible, so that the numerator in formula (2) becomes larger. However, in practice, G0 should have a limit. It is generally believed that the damping coefficient of the system should not be less than 0.5, so
[0090]
[0091] For convenience, we set G0 = 1 and T h =T i . This is achieved by:
[0092] (1) Through Fig.10 The central controller in the system sets the detection amplifier, simulation excitation generator, and frequency multiplier K DET , K OSC , M, so that G0 = K DET K OSC M is equal to 1;
[0093] (2) Through Fig.10 The central controller in the detector amplifier and the integrator respectively set the time constant T b =T i .
[0094] After the above settings, the formula (2) Fig.10 The open-loop gain of the self-test is:
[0095]
[0096] 3. Self-check Y value
[0097] Reduce the time constant T h According to equation (7), the open-loop gain of the self-test is indeed increased, which is beneficial to the system performance. This also increases the loop filter bandwidth f h . Fig.10 The high-stability reference source is equivalent to a frequency discriminator. When its long-term drift can be ignored, we assume that its power-law spectrum noise formula is:
[0098] S y (f) REF =h0+h -1 f -1 (8)
[0099] In theory Fig.10 The loop works in a linear state. If it can be considered that the power spectrum density (S y (f) osc With S y(f) REF ) is completely irrelevant, then Fig.10 The system output power spectral density can be expressed as:
[0100]
[0101] By definition, we have ST h =jf / f h Therefore, substituting (8) into (9) we can see When the simulation average period is short, (f / f h )>>1, yes
[0102]
[0103] When the average period of the simulation is extremely long (f / f h )<<1, yes
[0104]
[0105] Obviously, the whole loop is a high-pass filter for the simulation excitation generator and a low-pass filter for the high-stability reference source. Its filtering characteristics are determined by the high-end cutoff frequency f of the loop filter. h The extreme case of (10) is S y (f)0=S y (f) OSC , the extreme case of (11) is S y (f) 0 = S y (f) REF It can be seen that f h Too large will make Fig.10 The short-term stability of the self-test output signal deteriorates; f h Too small will make Fig.10 The long-term stability of the self-test output signal deteriorates. Fig.10 After the system is closed, we cannot know the loop bandwidth of the system, that is, the high-end cutoff frequency f h We use the Y value to represent Fig.10 The self-test output signal is stable and passes Fig.10 The tester in the tester is used to measure the simulation test results that characterize the system Y value, thereby indirectly reflecting the loop bandwidth, that is, the high-end cutoff frequency f h The value of is chosen well or badly.
[0106] Specific implementation strategies for the three parameters in the patent:
[0107] 1. Multiple relationship strategy
[0108] according to Fig.10 The frequency bands preset by our self-test model are as follows:
[0109] (1) To achieve high-frequency simulation response, we select a high-frequency and high-stability reference source. Fig.10 The signal frequency obtained after the frequency division processing is 50.****MHz. The decimal place **** (retained to four digits) is random. For the convenience of explanation, in the implementation of this patent, we take **** = 1234, that is, Fig.10 The value in is 50.1234MHz;
[0110] (2) The initialization simulation excitation generator set by the central controller outputs a 10 MHz frequency signal;
[0111] (3) The frequency of the output signal of the initialization multiplier set by the central controller is the same as the theoretical value, that is, 50.1234 MHz;
[0112] (4) The output signal frequency of the simulation excitation generator is linked to the output signal frequency of the frequency multiplier.
[0113] The circuit structure to realize the above model is as follows Fig.11 As shown:
[0114] The processor is located in Fig.10 The central controller in the processor XTAL terminal is connected to Fig.11 The RefClk terminals of DDS1 and DDS2 are connected to the frequency signal of the same clock source to ensure time synchronization.
[0115] The processor uses the external clock input terminal (XTAL) as the clock reference when working, and generates three square wave signals with adjustable phase relationships. One keyed frequency modulation signal is sent to the FSK keyed frequency modulation input port of DDS1 to achieve frequency modulation, one synchronization reference signal is used as synchronization phase detection, and one judgment signal is used as Fig.10 Phase-locked loop lock detection.
[0116] Based on the external clock reference input terminal (RefClk) as the reference clock when working, through the serial timing communication between the processor and DDS1, DDS1 selects the frequency modulation value preset frequency input by the processor in the internal frequency control register (F1, F0) as the output according to the high and low level states of the square wave keying frequency modulation square wave signal sent by the FSK end processor, thereby generating a modulated frequency signal 50.1234MHz±Δf output. The preset frequency difference Δf is determined by the values in the two frequency control registers F1 and F0. Specifically, considering that the RF signal is 50.1234MHz (precision of the fourth decimal place), we take Δf=100Hz.
[0117] Similar to the principle of the processor controlling DDS1 to generate a frequency-multiplied modulation signal, the processor passes the same frequency division value to DDS2 through the serial communication timing to generate a 50.1234MHz frequency signal output without modulation. The 50.1234MHz frequency signal obtained by DDS2 is sent to the external clock reference input terminal (RefClk) of DDS3 and used as the reference clock when DDS3 is working. The processor passes the corresponding initialization output frequency (10MHz) value to DDS3 according to the serial timing communication, thereby obtaining the frequency signal output of the simulation excitation source generator.
[0118] Since the external reference time base of DDS3 adopts the frequency-multiplied signal generated by DDS2, in this solution, when Fig.10 After the central controller in the closed loop obtains the corresponding phase-lock signal information, it will modify the frequency of the corresponding DDS2 frequency-multiplied modulation signal, which will also cause the frequency of the DDS3 output signal to change, that is, it replaces the traditional method of changing the output frequency value of the local oscillator through the D / A voltage-controlled crystal oscillator, thereby changing the system output frequency. It is worth noting that the output frequency signal adopts the direct digital synthesis method, which makes it play the role of a synthesizer with high stability within a certain application range. Users can adjust the frequency of the output frequency signal according to the requirements of the actual application. Fig.11 The user input port in the middle can easily modify the frequency value of the DDS3's overall output signal.
[0119] 2. Time constant setting strategy
[0120] From the above scheme, we can see that we set it equal to 1 and make T h =T i According to the above multiple relationship strategy, we set the signal frequency of the simulation excitation source generator output to 10MHz and the frequency of the high-stability reference source after frequency division to 50.1234MHz. According to formula (5) We can get M = 5. From the above multiple relationship strategy, we can see that when we design Fig.10 K OSC The self-test does not use the traditional method of changing the system output frequency value through D / A voltage-controlled crystal oscillator, so Fig.10 The voltage control slope of the simulation excitation generator in the simulation is unknown, we can only know it through G0=K DET K OSC M is equal to 1 and K is obtained by M=5 DET *K OSC =1 / 5. In the specific implementation process, according to Fig.10 We can only control the detection amplifier through the central controller. DET Since the time constant in the self-test is only determined by T h Decide, so follow Fig.10 We control the time constant generator through the central controller to realize the detection time constant T of the detection amplifier and integrator. h and the integration time constant T i settings, and make T h =T i .
[0121] 3. Self-check Y value strategy
[0122] We are Fig.11 The processor generates three square wave signals: a synchronous reference signal, a keyed FM signal, and a judgment signal, so that the frequency of the synchronous reference signal is equal to the frequency of the keyed FM signal, and there is a certain phase delay difference; at the same time, the frequency of the judgment signal is N (the value of N can be between 8 and 20) times the frequency of the synchronous reference signal or the keyed FM signal, and there is a certain phase delay difference. Specifically, we take the synchronous reference signal frequency to be equal to the keyed FM signal frequency of 169Hz, and the phase difference between the two is 160 degrees; at the same time, the judgment signal frequency N value is 8 times, and the phase difference with the synchronous reference signal is 90 degrees.
[0123] The specific judgment basis is as follows Fig.12 As shown:
[0124] Fig.12 The judgment signal, synchronization reference signal, and keying frequency modulation signal are square wave digital signals with fixed frequency and phase relationship; the enable signal is either 1 or 0, so it can be regarded as a square wave digital signal without fixed frequency; the phase detection signal is Fig.10 It is generated by the integrator in the circuit, and it is a changing DC signal, so it can be regarded as an analog signal without a fixed frequency.
[0125] according to Fig.12 Combination of principles Fig.10 , we set a rising edge of the judgment signal as the trigger judgment start, complete 10 judgments before the next rising edge arrives, and then trigger the next set of 10 judgments when the next rising edge arrives. Fig.12 The frequency of the signal used for judgment is, that is, we know the time T between two adjacent rising edges, so we can evenly distribute the time intervals for a group of 10 judgments.
[0126] Fig.10 The central controller judges the phase-locked signal transmitted by the integrator according to the above trigger judgment conditions. Fig.12 When the central controller is in the non-enabled band shown, the output Fig.12 The enable signal in is 0, Fig.10 The measuring instrument in the does not work; when its analog DC signal size is Fig.12When the central controller is outside the disabled band shown, the output Fig.12 The enable signal in is 1, Fig.10 The measuring instrument in the simulation starts working; the simulated Y value is actually Fig.10 The simulated test result value output by the measuring instrument when it is working, which reflects the Fig.10 Self-check output signal performance,
[0127] During the whole simulation process, the central controller initializes all the desired settings at the beginning, and these parameters will no longer change. During the dynamic simulation, only the detection amplifier parameter K DET The value of K and the value of the detection amplifier time constant Th must be dynamically set by the central controller module, and the criterion for judging whether these two parameters are reasonable is the simulated Y value. DET The value is in the range of 1-10, and Th is also in the range of 1-10. Fig.10 When the system starts simulating, in addition to setting the initial setting values of each channel, we will DET The corresponding Y value is obtained by simulating the full range of L and Th values. The Y value is between L and H, defined as L=1 to H=100 (the larger the Y value, the better). We define the Y value data within this simulation time as the "modeling area".
[0128] In the dynamic simulation process, in most cases the system follows Fig.12 In addition, we implement the following two strategies to judge the "rebound" and "high Y" properties of the system. First, we compress the Y value obtained above and take the Y value range (L=25 to L=50) as the strategy value area Y1. The central controller sets K DET The value and Th value, as well as the sampling Y value time are synchronized, and the setting K DET The change direction of the value and Th value is opposite:
[0129] Case 1: Next time set K DET The value (referred to as K2) is higher than the K DET value (recorded as K1) is increased (ie K2>K1), then the next setting of Th value (recorded as T2) is reduced compared with the current Th value (recorded as T1) (ie T2<T1).
[0130] The second case: Next time set K DET The value (referred to as K2) is higher than the K DET The value (recorded as K1) is reduced (ie, K2<K1), then the next setting of Th value (recorded as T2) is increased compared with the current Th value (recorded as T1) (ie, T2>T1).
[0131] One thing that needs to be explained is that the central controller simulates the above two situations at any time. With the above operating mechanism, we have the following two strategies:
[0132] First strategy: According to the above simulation, first obtain the "modeling area" of the system Y value, such as Fig.13 As shown, the system then randomly enters the first or second case mentioned above. When the system's simulated Y value is greater than H, that is, Fig.13 At point O in the equation, no matter whether the system is in the first or second case, we will put the system in the first case, that is, increase K DET The value of Th is reduced at the same time, and the parameter K of the increasing trend is increased. DET The value change increases to 2 times of the original value, that is, the next time K is set DET The value is 2*(K2-K1) of the change in the first case above, and the setting change value of Th value is the original (T2-T1), which we define as the third case. The self-test has been simulated according to the fourth case, such as Fig.13 As shown, the simulation results will theoretically proceed along the virtual strategy pre-judgment trend line in the figure to a certain H1 until the Y value decreases, then we restore the original settings.
[0133] The second strategy, according to the above simulation, first obtain the "modeling area" of the system Y value, such as Fig.14 As shown, the system then randomly enters the first or second case mentioned above. When the system simulation Y value appears at L1=25, and three consecutive Y values rise and climb to more than 33 ( Fig.14 At point O in the figure), no matter whether the system is in the first or second situation, we will put the system in the second situation, that is, reduce K DET The value increases Th value at the same time, and the change of the parameter Th value of the increasing trend increases to 2 times of the original value, that is, the next setting of Th value is 2*(T2-T1) of the change in the second case above, and K DET The setting change value is the original (K2-K1), which we define as the third case. The self-test is always simulated according to the third case, such as Fig.14 As shown, the simulation results will theoretically follow the virtual strategy pre-judgment trend line in the figure to a certain H1, until the Y value decreases, then we restore the original settings, such as Fig.14 shown.
[0134] 3. Indicator output module
[0135] like Fig.15As shown, the indication output module 105 includes a high stable clock self-test output submodule 1051 , a power-on value simulation self-test output submodule 1052 and a traditional hardware self-test output submodule 1053 , and each submodule is connected to the central processing module 104 .
[0136] In some embodiments, the indication output module 105 further includes a whole machine self-check output submodule 1054 for determining whether the central processing unit needs to be replaced.
[0137] Specifically:
[0138] A timer switch is preset in the CPU internal program to output the corresponding square wave level every second. Fig.15 The whole machine working indicator light flashes on and off every second. Fig.15 The working indication is abnormal, indicating that the central processing module needs to be replaced.
[0139] According to the above high-stability clock monitoring scheme, the central processing module monitors the parameters of the four monitoring points of the high-stability clock source and enables the corresponding monitoring point "normal" or "fault" indicator lights to light up;
[0140] After the system is powered on, the central processing module carries out a 30-second hardware simulation test of the first and second strategies in the system according to the working principle of the power-on Y duty module. In this step, the central processing module mainly completes the hardware safety test including high-stable clock source and traditional hardware circuit, and enables the corresponding "normal" or "fault" indicator light of the "power-on Y value" module.
[0141] Compared with the prior art, the beneficial effect of the present invention is that the new energy vehicle power-on self-test system provided by the present invention, in addition to the traditional hardware self-test, also combines a high-stability clock self-test and a power-on value simulation self-test during self-test, thereby improving the accuracy of the new energy vehicle power-on self-test.
[0142] The above is a detailed introduction to a power-on self-check system for new energy vehicles provided by an embodiment of the present invention. Specific examples are used in this article to illustrate the principles and embodiments of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of the present invention, there will be changes in the specific embodiments and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A new energy vehicle startup self-test system, characterized in that: The power-on self-test system for new energy vehicles includes a high-stability clock self-test module, a power-on value simulation self-test module, a traditional hardware self-test module, a central processing module, and an indication output module, wherein: The high-stability clock self-checking module comprises a voltage-controlled crystal oscillator VCXO module, an isolation amplifier, a synthesizer, a server, a frequency multiplier, a microwave frequency multiplier, a physical system, an optical detection amplifier, a square wave shaper, a first monitoring point and a second monitoring point. The VCXO module, the isolation amplifier, the frequency multiplier, the microwave frequency multiplier, the physical system, the optical detection amplifier, the square wave shaper, the server and the VCXO module are connected in sequence, and the synthesizer is connected to the isolation amplifier, the frequency multiplier and the server respectively; The first monitoring point is used to monitor whether the high-stability clock source enters normal locking operation, and the second monitoring point is used to monitor the state of the physical system; The high-stability clock self-check module outputs a frequency signal which is locked on the power-on value simulation self-check module and the central processing module; The central processing module is used to process the self-test results of the high-stable clock self-test module, the power-on value simulation self-test module and the traditional hardware self-test module, and generate a control instruction according to the self-test results, and send the control instruction to the indication output module; The indication output module is used to control the self-test result indication device according to the control instruction; The power-on value simulation self-test module includes a frequency divider, a detection amplifier, an integrator, a central controller, a simulation excitation generator, a frequency multiplier, a tester and a time constant generator; The frequency divider, the detection amplifier, the integrator, the central controller, the simulation excitation generator, the frequency multiplier and the frequency divider are connected in sequence, the time constant generator is connected with the detection amplifier, the integrator and the central controller respectively, the central controller is also connected with the tester, the frequency divider, the frequency multiplier, the detection amplifier and the integrator respectively, the simulation excitation generator is connected with the tester, the frequency divider, the detection amplifier and the integrator are connected in sequence; The frequency divider is connected to a high-stability reference source; The tester comprises a simulation result output port, and the simulation result output port is used to output the simulation test result; The physical system includes a spectrum lamp, an integrated filter resonance bubble, a microwave cavity, a C-field coil, a magnetic screen, a photocell, a coupling ring, a constant current source, a temperature controller and a thermostat.
2. The new energy vehicle startup self-test system according to claim 1, characterized in that: The second monitoring point includes a first sub-monitoring point, a second sub-monitoring point and a third sub-monitoring point.
3. The new energy vehicle startup self-test system according to claim 2 is characterized in that: The first sub-monitoring point is closely arranged on the spectrum lamp, and is used to reflect the actual working temperature of the spectrum lamp in real time. The second sub-monitoring point includes a first thermistor.
4. The new energy vehicle startup self-test system according to claim 2, characterized in that: The second sub-monitoring point is closely arranged on the integrated filter resonance bubble, and is used to reflect the actual working temperature of the integrated filter resonance bubble in real time. The second sub-monitoring point includes a second thermistor.
5. The new energy vehicle startup self-check system according to claim 2, characterized in that: The third sub-monitoring point is connected in series with the constant current source and the C-field coil to form a closed series loop.
6. The new energy vehicle startup self-check system according to any one of claims 1 to 5, characterized in that: The indication output module comprises a high stable clock self-test output submodule, a power-on value simulation self-test output submodule and a traditional hardware self-test output submodule.
Citation Information
Patent Citations
Power-on self-test device
CN214959451U
