CN108469274A - A kind of method and device of operating mode's switch and pattern switching - Google Patents

A kind of method and device of operating mode's switch and pattern switching Download PDF

Info

Publication number
CN108469274A
CN108469274A CN201810264279.2A CN201810264279A CN108469274A CN 108469274 A CN108469274 A CN 108469274A CN 201810264279 A CN201810264279 A CN 201810264279A CN 108469274 A CN108469274 A CN 108469274A
Authority
CN
China
Prior art keywords
operating mode
data
switched
threshold range
time period
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.)
Pending
Application number
CN201810264279.2A
Other languages
Chinese (zh)
Inventor
杜志祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingwei Hirain Tech Co Ltd
Original Assignee
Beijing Jingwei Hirain Tech Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Jingwei Hirain Tech Co Ltd filed Critical Beijing Jingwei Hirain Tech Co Ltd
Priority to CN201810264279.2A priority Critical patent/CN108469274A/en
Publication of CN108469274A publication Critical patent/CN108469274A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M17/00Testing of vehicles
    • G01M17/007Wheeled or endless-tracked vehicles
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2637Vehicle, car, auto, wheelchair

Abstract

The invention discloses a kind of operating mode's switch and the method and device of pattern switching, method to include:Whether the variable quantity for detecting real time data relative to mean data is in the threshold range of to be switched operating mode, if, it determines in the preset time period from the time of real time data enters relative to the variable quantity of mean data in the threshold range of the to be switched operating mode, real time data is in the first time period summation in the threshold range relative to the variable quantity of mean data, if the first time period summation is greater than or equal to the preset standard time, then determine that current working is to be switched operating mode and from currently and the corresponding operating mode of acquiescence operating mode switches to operating mode corresponding with the to be switched operating mode.The method and device of the operating mode's switch and pattern switching can be applied to working environment complicated and changeable, and complete the switching of appropriate working modes in different operating environments, ensure the working performance of equipment.

Description

A kind of method and device of operating mode's switch and pattern switching
Technical field
The present invention relates to electronic technology fields, more specifically, be related to a kind of operating mode's switch and pattern switching method and Device.
Background technology
With the development of technology, more and more equipment are in such a way that sensor, control device, responding device are combined To improve the performance of equipment.In practical application, the working environment of equipment is changeable, and different working environments may cause equipment to work Performance it is unstable.
In order to adapt to working environment complicated and changeable, general processing method is to carry out performance to equipment in a variety of contexts Test chooses an algorithm parameter that design requirement is all substantially met under general environment to comprehensive.This method can fit Normal operating mode or single mode of operation are answered, but under working environment complicated and changeable, it is easy to cause the mistake of equipment It responds or is not responding to.
Invention content
In view of this, the present invention provides a kind of operating mode's switch and the method and devices of pattern switching, with complicated and changeable Working environment in, ensure the working performance of equipment.
A kind of method of operating mode's switch and pattern switching, including:
Whether the variable quantity for detecting real time data relative to mean data is in the threshold range of to be switched operating mode;
If so, determining the threshold range for entering the to be switched operating mode relative to the variable quantity of mean data from real time data In preset time period from the time of interior, real time data is in the threshold range relative to the variable quantity of mean data One period summation;
If the first time period summation is greater than or equal to the preset standard time, it is determined that current working is to be switched operating mode And from currently and the corresponding operating mode of acquiescence operating mode switches to operating mode corresponding with the to be switched operating mode.
Optionally, the determining current working be to be switched operating mode and from currently with the corresponding operating mode of acquiescence operating mode After switching to operating mode corresponding with the to be switched operating mode, further include:
Determine that real time data is in relative to the variable quantity of mean data in the threshold range in the preset time period Second time period summation;
Judge whether the second time period summation is less than the preset standard time;
If so, switching to the corresponding operating mode of acquiescence operating mode from the corresponding operating mode of to be switched operating mode;
If it is not, into next preset time period, and real time data is returned in determining preset time period relative to mean value number According to variable quantity be in the second time period summation in the threshold range the step of.
Optionally, the threshold of to be switched operating mode whether is in relative to the variable quantity of mean data in the detection real time data Before being worth in range, further include:
Declared working condition and the correspondence for configuring different operating modes and operating mode.
Optionally, the declared working condition and the correspondence of different operating modes and operating mode is configured, including:
The influence factor declared working condition of the frequency and institute's gathered data that are occurred according to equipment different operating environment;
Configure the correspondence of different operating modes and operating mode.
Optionally, the to be switched operating mode includes at least one of rainy day operating mode, snowy day operating mode and barrier operating mode, The declared working condition and after configuring the correspondence of different operating modes and operating mode further includes::Determine the threshold value model of different operating modes It encloses;
The threshold range of the different operating modes of the determination includes:The range for causing detection data to change according to be switched operating mode is true The threshold range of the fixed to be switched operating mode.
A kind of device of operating mode's switch and pattern switching, including:
Detection module, for detect real time data relative to mean data variable quantity whether be in be switched operating mode threshold It is worth in range;
Time statistical module, for the testing result in the detection module be when, determine from real time data relative to In preset time period from the time of the variable quantity of mean data enters in the threshold range of the to be switched operating mode, real time data Variable quantity relative to mean data is in the first time period summation in the threshold range;
Mode switch module is used in the case where the first time period summation is greater than or equal to the preset standard time, Determine that current working is to be switched operating mode and is switched to and the to be switched work from currently operating mode corresponding with acquiescence operating mode The corresponding operating mode of condition.
Optionally, further include:
Stablize confirmation module, for the mode switch module determine current working be to be switched operating mode and from currently with After the corresponding operating mode of acquiescence operating mode switches to operating mode corresponding with the to be switched operating mode, the preset time is determined Real time data is in the second time period summation in the threshold range relative to the variable quantity of mean data in section;Described in judgement Whether second time period summation is less than the preset standard time;If so, controlling the mode switch module to be switched operating mode Corresponding operating mode switches to the corresponding operating mode of acquiescence operating mode;It is counted in real time in next preset time period if it is not, determining It is in the second time period summation in the threshold range according to the variable quantity relative to mean data, and continues to judge described second Whether period summation is less than the preset standard time, until the second time period summation is less than the preset standard time.
Optionally, further include:
Configuration module for declared working condition and configures the correspondence of different operating modes and operating mode.
Optionally, the configuration module is used for:
The influence factor declared working condition of the frequency and institute's gathered data that are occurred according to equipment different operating environment;
Configure the correspondence of different operating modes and operating mode.
Optionally, the to be switched operating mode includes at least one of rainy day operating mode, snowy day operating mode and barrier operating mode, is gone back Including:
Threshold determination module:Threshold range for determining different operating modes;
The threshold determination module is used for:The range for causing detection data to change according to be switched operating mode determines described to be cut Change the threshold range of operating mode.
The embodiment of the invention discloses a kind of operating mode's switch and the method and device of pattern switching, method to include:Detection is real When variable quantity whether threshold range in be switched operating mode in of the data relative to mean data, if so, determining from real-time number In preset time period from the time of entering in the threshold range of the to be switched operating mode according to the variable quantity relative to mean data, Real time data is in the first time period summation in the threshold range relative to the variable quantity of mean data, if when described first Between section summation be greater than or equal to the preset standard time, it is determined that current working be to be switched operating mode and from currently with acquiescence operating mode pair The operating mode answered switches to operating mode corresponding with the to be switched operating mode.The method of the operating mode's switch and pattern switching And device can be applied to working environment complicated and changeable, and cutting for appropriate working modes is completed in different operating environments It changes, ensures the working performance of equipment.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the first operating mode's switch disclosed by the embodiments of the present invention and the method flow diagram of pattern switching;
Fig. 2 is second of operating mode's switch disclosed by the embodiments of the present invention and the method flow diagram of pattern switching;
Fig. 3 is the decomposition diagram of operating mode's switch disclosed by the embodiments of the present invention;
Fig. 4 is the third operating mode's switch disclosed by the embodiments of the present invention and the method flow diagram of pattern switching;
Fig. 5 is the structural schematic diagram of the first operating mode's switch disclosed by the embodiments of the present invention and the device of pattern switching;
Fig. 6 is the structural schematic diagram of second of operating mode's switch disclosed by the embodiments of the present invention and the device of pattern switching;
Fig. 7 is the structural schematic diagram of the third operating mode's switch disclosed by the embodiments of the present invention and the device of pattern switching.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Fig. 1 is the first operating mode's switch disclosed by the embodiments of the present invention and the method flow diagram of pattern switching, referring to Fig. 1 institutes Show, method may include:
Step 101:Detect the threshold value model whether real time data is in be switched operating mode relative to the variable quantity of mean data In enclosing, if so, entering step 102.
Wherein, the to be switched operating mode is a general term, is not appointed as certain fixed operating mode, can be all works of equipment Any one operating mode in addition to giving tacit consent to operating mode in condition.All operating modes of equipment can be related technical personnel according to equipment Working environment E, the influence factor F of sensing data and the data C of sensor detection are counted, and are gone out according to varying environment E The influence degree of the influence factor F of existing frequency and sensing data is ranked up, with this declared working condition that sorts.For example, described Equipment is automobile, then the frequency that its working environment E occurs can be determined according to the environment that vehicle actually uses, before generally taking Three, such as parking environment, rain environment and carwash environment.
Wherein, the influence factor of sensing data can be divided into internal factor and external factor, and internal factor is power supply electricity Flow size, supply voltage, current ripples etc.;External factor is illumination, dust, metal, water, temperature etc..
After all operating modes of equipment are determined, the stable operating mode of a data variation can be chosen as acquiescence operating mode. Such as under conditions of fine, vehicle is placed in ward, sensing data at this time is all stable, because of inside/outside Portion's influence factor is all metastable, and the data of vehicle sensors acquisition are also relatively steady, are without too great fluctuation process, this operating mode The most common operating mode that vehicle uses, therefore this operating mode can be set to acquiescence operating mode.
When equipment brings into operation, first automatically into acquiescence operating mode, and start to detect external environment data.
It is acquiescence operating mode that the steady situation of data variation, which is arranged, it is ensured that equipment, such as vehicle are not required under even in everyday situations Excessive operating mode switching is carried out, is directly run in the case where giving tacit consent to operating mode.
Equipment is in acquiescence operating mode under normal circumstances;Then the range for causing detection data C to change according to other operating modes obtains To corresponding threshold condition, such as the variable quantity of data, data variation trend, data variation duration, and as work The trigger condition of condition identification.Such as:By taking the visibility of vehicle traveling as an example, corresponding optical data is examined by visibility monitor It surveys, demarcates four kinds of operating modes:Operating mode 1 (normal visibility), operating mode 2 (rainy), operating mode 3 (snowing), operating mode 4 (hazing), with operating mode 1 (normal visibility) is set as acquiescence operating mode, and the automatic switchover of operating mode is can be carried out according to the range of the visibility of detection.
In the embodiment of the present invention, by detecting whether real time data is in be switched work relative to the variable quantity of mean data Carry out trigger condition identification in the threshold range of condition.
Step 102:Determine the threshold value for entering the to be switched operating mode relative to the variable quantity of mean data from real time data In preset time period from the time of in range, real time data is in relative to the variable quantity of mean data in the threshold range First time period summation.
When external environment changes, the real time data C of acquisition can be causedtimeGenerate large change, it is assumed that when the reality of acquisition When data with respect to mean data CavrVariation delta C be more than at a time the to be switched operating mode delimited in advance threshold value C1, it is small When limiting C1' thereon, it is believed that be in the corresponding threshold range (C1-C1') of the to be switched operating mode, be considered as into described to be cut Change the pre- judgement processing of operating mode.
Step 103:Judge whether the first time period summation is greater than or equal to the preset standard time, if so, entering step Rapid 104.
Step 103 is pre- judgement processing.In the case where judging result is no, step 101 is can return to, it is real to continue detection When data relative to mean data variable quantity whether in be switched operating mode threshold range in step.
Step 104:Determine that current working is to be switched operating mode and switches from currently operating mode corresponding with acquiescence operating mode To operating mode corresponding with the to be switched operating mode.
After being handled into pre- judgement, judge that data variation amount Δ C is in described in preset time period T1 from entering the moment Whether the summation Δ t of the period in the threshold range (C1-C1') of to be switched operating mode is more than preset standard time t1.If no It is more than, then still in acquiescence operating mode;If it does, then meeting the trigger condition of to be switched operating mode, to switch from acquiescence operating mode To be switched operating mode.
The preset time period T1 can be the unit interval, in this way due to statistics be in unit interval T1 be more than threshold value The summation of period, both can more accurately operating mode residing for identification equipment, the nonrecognition for this kind of situation that avoids raining, and can be with Ensure the judgement on the duration, avoids accidentally switching caused by noise jamming.
It should be noted that in the present embodiment, the trigger condition of different operating modes is also different, i.e. different working modes Under threshold range setting be different, be adapted to the variation of external environment in this way.These threshold ranges can be corresponding It carries out largely testing the obtained parameter for meeting design requirement under environment.
The method of operating mode's switch disclosed by the embodiments of the present invention and pattern switching, in real time data relative to mean data When variable quantity is in the threshold range of to be switched operating mode, determines and enter institute from real time data relative to the variable quantity of mean data In preset time period from the time of stating in the threshold range of to be switched operating mode, variable quantity of the real time data relative to mean data First time period summation in the threshold range, if the first time period summation is greater than or equal to preset standard Between, it is determined that current working be to be switched operating mode and from currently switched to the corresponding operating mode of acquiescence operating mode with it is described to be cut Change the corresponding operating mode of operating mode.This method can be applied to working environment complicated and changeable, and in different operating environments The switching for completing appropriate working modes, ensures the working performance of equipment.
Fig. 2 is second of operating mode's switch disclosed by the embodiments of the present invention and the method flow diagram of pattern switching, such as Fig. 2 institutes Show, may include:
Step 201:Detect the threshold value model whether real time data is in be switched operating mode relative to the variable quantity of mean data In enclosing.
Step 202:Determine the threshold value for entering the to be switched operating mode relative to the variable quantity of mean data from real time data In preset time period from the time of in range, real time data is in relative to the variable quantity of mean data in the threshold range First time period summation.
Step 203:Judge whether the first time period summation is greater than or equal to the preset standard time, if so, entering step Rapid 204.
If judging result is no, return to step 201.
Step 204:Determine that current working is to be switched operating mode and switches from currently operating mode corresponding with acquiescence operating mode To operating mode corresponding with the to be switched operating mode.
Step 205:Determine that real time data is in the threshold relative to the variable quantity of mean data in the preset time period The second time period summation being worth in range.
Step 206:Judge whether the second time period summation is less than the preset standard time;If so, entering step 207, if it is not, entering step 208.
Step 207:The corresponding operating mode of acquiescence operating mode is switched to from the corresponding operating mode of to be switched operating mode.
In the case of stable conditions, operating mode is switched to the corresponding operating mode of acquiescence operating mode.
Step 208:Into next preset time period, and return to step 205.
External environment variation may result in real time data CtimeCompared with mean data CavrFluctuation up and down is generated always, such as Relatively common rains, it may appear that data variation amount Δ C enters certain operating mode threshold range sometimes, jumps out the operating mode threshold value again sometimes The case where range.And snow, real time data CtimeIt can be mutated in certain time, cover sensor then as snow deposit, data are slow Slowly stablize.
Fig. 3 is the decomposition diagram of operating mode's switch disclosed by the embodiments of the present invention, shown in Figure 3, is waited for described in entrance After switching operating mode, pre- judgement processing still can ceaselessly open a time statistic window, and time window persistently counts the T1 times, sentences every time It is disconnected to meet condition and then continue on, otherwise close.Count the threshold value model that variation delta C in the T1 times enters the to be switched operating mode The summation of the period of (C1-C1') is enclosed, and compared with preset standard time t1, until being unsatisfactory for condition.Until being unsatisfactory for condition The case where, it can be understood as gathered data is gradually stablized, i.e., gathered data is restored to the data cases of acquiescence operating mode, and equipment adapts to Current environment then exits pre- judgement processing, and enters steady working condition under this condition.
In the present embodiment, the operating mode's switch and mode switching method can be applied to working environment complicated and changeable, Under different working environments complete appropriate working modes switching, and after switching working mode data gradually stablize under the premise of No longer statistical comparison corresponding data ensures the stable operation of operating mode after switching, ensures the working performance of equipment.
Fig. 4 is the third operating mode's switch disclosed by the embodiments of the present invention and the method flow diagram of pattern switching, referring to Fig. 4 institutes Show, may include:
Step 401:Declared working condition and the correspondence for configuring different operating modes and operating mode.
In the present embodiment, corresponding contents are introduced so that the non-contact switch device on vehicle is specific equipment as an example.
Step 401 can be understood as analysis and declared working condition, can specifically include:Occurred according to equipment different operating environment Frequency and institute's gathered data influence factor declared working condition.It analyzes the working environment of vehicle and influences sensing data Factor is counted with impact effect, can be divided into people's (triggered as normal, approach action etc.), water (rain, ice, snow etc.), metal barrier Hindering object (metal column, metal covering etc.), armored concrete (step, metope etc.), plant (trees, bushes), soil, (wet mud is done Mud) etc..For these influence factors, choosing the factor that is affected, (such as fine day parking environment, carwash environment, snow ring Border, parking environment), vehicle local environment is demarcated as four kinds of operating modes:Give tacit consent to operating mode (data variation is steady), rainy day operating mode (number According to variation recurrent fluctuations), barrier operating mode (data are mutated quickly, then gradually steady), snowy day operating mode (data are slowly mutated, Then steady).It is acquiescence operating mode to choose nominal situation.In practical application, to be switched operating mode can be configured to rainy day work according to demand At least one of condition, snowy day operating mode and barrier operating mode.
It determines the suitable operating mode of various operating modes, and the correspondence of different operating modes and operating mode is pre-configured in In system, in case subsequently identification operating mode and pattern switching use.
Step 402:Determine the threshold range of different operating modes.
For parameter, that is, threshold range of different operating condition design pattern switchings, four kinds of pattern switching tests are carried out.Change and passes Sensor local environment is normally turned the rainy day, normally turns ice and snow, the normal pattern switching test for turning barrier metallization, most respectively The suitable threshold range for meeting design requirement is determined eventually.
Specifically, the range that detection data changes can be caused to determine the threshold of the to be switched operating mode according to be switched operating mode It is worth range.
Step 403:Detect the threshold value model whether real time data is in be switched operating mode relative to the variable quantity of mean data In enclosing, if so, entering step 404.
Step 404:Determine the threshold value for entering the to be switched operating mode relative to the variable quantity of mean data from real time data In preset time period from the time of in range, real time data is in relative to the variable quantity of mean data in the threshold range First time period summation.
Step 405:Judge whether the first time period summation is greater than or equal to the preset standard time, if so, entering step Rapid 406.
Step 406:Determine that current working is to be switched operating mode, and corresponding with operating mode according to preconfigured operating mode Relationship, will currently and the corresponding operating mode of acquiescence operating mode switches to operating mode corresponding with the to be switched operating mode.
In the present embodiment, it is pre-configured with the correspondence of different operating modes and operating mode, and determine the threshold of different operating modes It is worth range, determines reliable data foundation convenient for subsequently having when identifying operating mode and pattern switching, ensure that operating mode's switch and mould Formula switching is smoothed out.This method can be applied to working environment complicated and changeable, and complete in different operating environments The switching of appropriate working modes ensures the working performance of equipment.
Fig. 5 is the structural schematic diagram of the first operating mode's switch disclosed by the embodiments of the present invention and the device of pattern switching, such as Shown in Fig. 5, the device 50 of the operating mode's switch and pattern switching may include:
Detection module 501, for detecting whether real time data is in be switched operating mode relative to the variable quantity of mean data Threshold range in.
Wherein, the to be switched operating mode is a general term, is not appointed as certain fixed operating mode, can be all works of equipment Any one operating mode in addition to giving tacit consent to operating mode in condition.All operating modes of equipment can be related technical personnel according to equipment Working environment E, the influence factor F of sensing data and the data C of sensor detection are counted, and are gone out according to varying environment E The influence degree of the influence factor F of existing frequency and sensing data is ranked up, with this declared working condition that sorts.For example, described Equipment is automobile, then the frequency that its working environment E occurs can be determined according to the environment that vehicle actually uses, before generally taking Three, such as parking environment, rain environment and carwash environment.
Wherein, the influence factor of sensing data can be divided into internal factor and external factor, and internal factor is power supply electricity Flow size, supply voltage, current ripples etc.;External factor is illumination, dust, metal, water, temperature etc..
After all operating modes of equipment are determined, the stable operating mode of a data variation can be chosen as acquiescence operating mode. Such as under conditions of fine, vehicle is placed in ward, sensing data at this time is all stable, because of inside/outside Portion's influence factor is all metastable, and the data of vehicle sensors acquisition are also relatively steady, are without too great fluctuation process, this operating mode The most common operating mode that vehicle uses, therefore this operating mode can be set to acquiescence operating mode.
When equipment brings into operation, first automatically into acquiescence operating mode, and start to detect external environment data.
It is acquiescence operating mode that the steady situation of data variation, which is arranged, it is ensured that equipment, such as vehicle are not required under even in everyday situations Excessive operating mode switching is carried out, is directly run in the case where giving tacit consent to operating mode.
Equipment is in acquiescence operating mode under normal circumstances;Then the range for causing detection data C to change according to other operating modes obtains To corresponding threshold condition, such as the variable quantity of data, data variation trend, data variation duration, and as work The trigger condition of condition identification.Such as:By taking the visibility of vehicle traveling as an example, corresponding optical data is examined by visibility monitor It surveys, demarcates four kinds of operating modes:Operating mode 1 (normal visibility), operating mode 2 (rainy), operating mode 3 (snowing), operating mode 4 (hazing), with operating mode 1 (normal visibility) is set as acquiescence operating mode, and the automatic switchover of operating mode is can be carried out according to the range of the visibility of detection.
In the embodiment of the present invention, by detecting whether real time data is in be switched work relative to the variable quantity of mean data Carry out trigger condition identification in the threshold range of condition.
Time statistical module 502 is when being, to determine from real time data for the testing result in the detection module 501 It is real in preset time period from the time of variable quantity relative to mean data enters in the threshold range of the to be switched operating mode When data the first time period summation in the threshold range is in relative to the variable quantity of mean data.
When external environment changes, the real time data C of acquisition can be causedtimeGenerate large change, it is assumed that when the reality of acquisition When data with respect to mean data CavrVariation delta C be more than at a time the to be switched operating mode delimited in advance threshold value C1, it is small When limiting C1' thereon, it is believed that be in the corresponding threshold range (C1-C1') of the to be switched operating mode, be considered as into described to be cut Change the pre- judgement processing of operating mode.
Mode switch module 503, for the case where the first time period summation is greater than or equal to the preset standard time Under, determine current working be to be switched operating mode and from currently switched to the corresponding operating mode of acquiescence operating mode with it is described to be switched The corresponding operating mode of operating mode.
After being handled into pre- judgement, judge that data variation amount Δ C is in described in preset time period T1 from entering the moment Whether the summation Δ t of the period in the threshold range (C1-C1') of to be switched operating mode is more than preset standard time t1.If no It is more than, then still in acquiescence operating mode;If it does, then meeting the trigger condition of to be switched operating mode, to switch from acquiescence operating mode To be switched operating mode.
The preset time period T1 can be the unit interval, in this way due to statistics be in unit interval T1 be more than threshold value The summation of period, both can more accurately operating mode residing for identification equipment, the nonrecognition for this kind of situation that avoids raining, and can be with Ensure the judgement on the duration, avoids accidentally switching caused by noise jamming.
It should be noted that in the present embodiment, the trigger condition of different operating modes is also different, i.e. different working modes Under threshold range setting be different, be adapted to the variation of external environment in this way.These threshold ranges can be corresponding It carries out largely testing the obtained parameter for meeting design requirement under environment.
The device of operating mode's switch disclosed by the embodiments of the present invention and pattern switching, in real time data relative to mean data When variable quantity is in the threshold range of to be switched operating mode, determines and enter institute from real time data relative to the variable quantity of mean data In preset time period from the time of stating in the threshold range of to be switched operating mode, variable quantity of the real time data relative to mean data First time period summation in the threshold range, if the first time period summation is greater than or equal to preset standard Between, it is determined that current working be to be switched operating mode and from currently switched to the corresponding operating mode of acquiescence operating mode with it is described to be cut Change the corresponding operating mode of operating mode.This method can be applied to working environment complicated and changeable, and in different operating environments The switching for completing appropriate working modes, ensures the working performance of equipment.
Fig. 6 is the structural schematic diagram of second of operating mode's switch disclosed by the embodiments of the present invention and the device of pattern switching, such as Shown in Fig. 6, the device 60 of the operating mode's switch and pattern switching may include:
Detection module 501, for detecting whether real time data is in be switched operating mode relative to the variable quantity of mean data Threshold range in.
Time statistical module 502 is when being, to determine from real time data for the testing result in the detection module 501 It is real in preset time period from the time of variable quantity relative to mean data enters in the threshold range of the to be switched operating mode When data the first time period summation in the threshold range is in relative to the variable quantity of mean data.
Mode switch module 503, for the case where the first time period summation is greater than or equal to the preset standard time Under, determine current working be to be switched operating mode and from currently switched to the corresponding operating mode of acquiescence operating mode with it is described to be switched The corresponding operating mode of operating mode.
Stablize confirmation module 601, for the mode switch module 503 determine current working be to be switched operating mode and from Currently and after the corresponding operating mode of acquiescence operating mode switches to operating mode corresponding with the to be switched operating mode, it determines described pre- If real time data is in the second time period summation in the threshold range relative to the variable quantity of mean data in the period;Sentence Whether the second time period summation of breaking is less than the preset standard time;If so, controlling the mode switch module to be cut It changes the corresponding operating mode of operating mode and switches to the corresponding operating mode of acquiescence operating mode;If it is not, determining in next preset time period Real time data is in the second time period summation in the threshold range relative to the variable quantity of mean data, and continues to judge institute State whether second time period summation is less than the preset standard time, until when the second time period summation is less than preset standard Between.
External environment variation may result in real time data CtimeCompared with mean data CavrFluctuation up and down is generated always, such as Relatively common rains, it may appear that data variation amount Δ C enters certain operating mode threshold range sometimes, jumps out the operating mode threshold value again sometimes The case where range.And snow, real time data CtimeIt can be mutated in certain time, cover sensor then as snow deposit, data are slow Slowly stablize.
After entering the to be switched operating mode, pre- judgement processing still can ceaselessly open a time statistic window, time window The T1 times are persistently counted every time, and judgement meets condition and then continues on, otherwise closes.Variation delta C in the T1 times is counted to enter The summation of the period of the threshold range (C1-C1') of the to be switched operating mode, and compared with preset standard time t1, until not Meet condition.Until be unsatisfactory for condition the case where, it can be understood as gathered data is gradually stablized, i.e., gathered data is restored to acquiescence The data cases of operating mode, equipment adapt to current environment, then exit pre- judgement processing, and enter stabilization work under this condition Condition.
Then in the present embodiment, the mode switch module 503 is additionally operable to:It is cut from the corresponding operating mode of to be switched operating mode Shift to the corresponding operating mode of acquiescence operating mode.
In the present embodiment, the operating mode's switch and mode-changeover device can be applied to working environment complicated and changeable, Under different working environments complete appropriate working modes switching, and after switching working mode data gradually stablize under the premise of No longer statistical comparison corresponding data ensures the stable operation of operating mode after switching, ensures the working performance of equipment.
Fig. 7 is the structural schematic diagram of the third operating mode's switch disclosed by the embodiments of the present invention and the device of pattern switching, ginseng As shown in Figure 7, the operating mode's switch and the device of pattern switching 70 may include:
Configuration module 701 for declared working condition and configures the correspondence of different operating modes and operating mode.
In the present embodiment, corresponding contents are introduced so that the non-contact switch device on vehicle is specific equipment as an example.
The configuration module 701 specifically can be used for being gone out according to equipment different operating environment for analysis and declared working condition The influence factor declared working condition of existing frequency and institute's gathered data.It analyzes the working environment of vehicle and influences sensing data Factor, counted with impact effect, people's (triggered as normal, approach action etc.), water (rain, ice, snow etc.), metal can be divided into Barrier (metal column, metal covering etc.), armored concrete (step, metope etc.), plant (trees, bushes), soil (wet mud, Dry mud) etc..For these influence factors, choosing the factor that is affected, (such as fine day parking environment, snows at carwash environment Environment, parking environment), vehicle local environment is demarcated as four kinds of operating modes:Operating mode (data variation is steady), rainy day operating mode (data Change recurrent fluctuations), barrier operating mode (data are mutated quickly, then gradually steady), (data are slowly mutated snowy day operating mode, so It is steady afterwards).It is acquiescence operating mode to choose nominal situation.In practical application, to be switched operating mode can be configured to according to demand rainy day operating mode, At least one of snowy day operating mode and barrier operating mode.
It determines the suitable operating mode of various operating modes, and the correspondence of different operating modes and operating mode is pre-configured in In system, in case subsequently identification operating mode and pattern switching use.
Threshold determination module 702, the threshold range for determining different operating modes.
For parameter, that is, threshold range of different operating condition design pattern switchings, four kinds of pattern switching tests are carried out.Change and passes Sensor local environment is normally turned the rainy day, normally turns ice and snow, the normal pattern switching test for turning barrier metallization, most respectively The suitable threshold range for meeting design requirement is determined eventually.
Specifically, the range that detection data changes can be caused to determine the threshold of the to be switched operating mode according to be switched operating mode It is worth range.
Detection module 501, for detecting whether real time data is in be switched operating mode relative to the variable quantity of mean data Threshold range in.
Time statistical module 502 is when being, to determine from real time data for the testing result in the detection module 501 It is real in preset time period from the time of variable quantity relative to mean data enters in the threshold range of the to be switched operating mode When data the first time period summation in the threshold range is in relative to the variable quantity of mean data.
Mode switch module 503, for the case where the first time period summation is greater than or equal to the preset standard time Under, determine that current working is to be switched operating mode, and according to the correspondence of preconfigured operating mode and operating mode, will currently with The corresponding operating mode of acquiescence operating mode switches to operating mode corresponding with the to be switched operating mode.
In the present embodiment, it is pre-configured with the correspondence of different operating modes and operating mode, and determine the threshold of different operating modes It is worth range, determines reliable data foundation convenient for subsequently having when identifying operating mode and pattern switching, ensure that operating mode's switch and mould Formula switching is smoothed out.This method can be applied to working environment complicated and changeable, and complete in different operating environments The switching of appropriate working modes ensures the working performance of equipment.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment weight Point explanation is all difference from other examples, and the same or similar parts between the embodiments can be referred to each other.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest range caused.

Claims (10)

1. a kind of method of operating mode's switch and pattern switching, which is characterized in that including:
Whether the variable quantity for detecting real time data relative to mean data is in the threshold range of to be switched operating mode;
If so, determining that the variable quantity from real time data relative to mean data enters in the threshold range of the to be switched operating mode In preset time period from moment, when real time data is in first in the threshold range relative to the variable quantity of mean data Between section summation;
If the first time period summation be greater than or equal to the preset standard time, it is determined that current working be to be switched operating mode and from Currently and the corresponding operating mode of acquiescence operating mode switches to operating mode corresponding with the to be switched operating mode.
2. the method for operating mode's switch according to claim 1 and pattern switching, which is characterized in that in the current work of the determination Condition is to be switched operating mode and from currently and the corresponding operating mode of acquiescence operating mode switches to work corresponding with the to be switched operating mode After operation mode, further include:
Determine that real time data in the preset time period is in the threshold range relative to the variable quantity of mean data Two period summations;
Judge whether the second time period summation is less than the preset standard time;
If so, switching to the corresponding operating mode of acquiescence operating mode from the corresponding operating mode of to be switched operating mode;
If it is not, into next preset time period, and real time data is returned in determining preset time period relative to mean data Variable quantity is in the step of second time period summation in the threshold range.
3. the method for operating mode's switch according to claim 1 and pattern switching, which is characterized in that counted in real time in the detection Before whether being in the threshold range of to be switched operating mode according to the variable quantity relative to mean data, further include:
Declared working condition and the correspondence for configuring different operating modes and operating mode.
4. the method for operating mode's switch according to claim 3 and pattern switching, which is characterized in that the declared working condition is simultaneously matched The correspondence of different operating modes and operating mode is set, including:
The influence factor declared working condition of the frequency and institute's gathered data that are occurred according to equipment different operating environment;
Configure the correspondence of different operating modes and operating mode.
5. the method for operating mode's switch according to claim 3 and pattern switching, which is characterized in that the to be switched operating mode packet At least one of rainy day operating mode, snowy day operating mode and barrier operating mode are included, in the declared working condition and configures different operating modes and work After the correspondence of operation mode, further include::Determine the threshold range of different operating modes;
The threshold range of the different operating modes of the determination includes:The range for causing detection data to change according to be switched operating mode determines institute State the threshold range of to be switched operating mode.
6. the device of a kind of operating mode's switch and pattern switching, which is characterized in that including:
Detection module, for detect real time data relative to mean data variable quantity whether be in be switched operating mode threshold value model In enclosing;
Time statistical module is when being, to determine from real time data relative to mean value for the testing result in the detection module In preset time period from the time of the variable quantity of data enters in the threshold range of the to be switched operating mode, real time data is opposite It is in the first time period summation in the threshold range in the variable quantity of mean data;
Mode switch module, in the case where the first time period summation is greater than or equal to the preset standard time, determining Current working is to be switched operating mode and is switched to and the to be switched operating mode pair from currently operating mode corresponding with acquiescence operating mode The operating mode answered.
7. the device of operating mode's switch according to claim 6 and pattern switching, which is characterized in that further include:
Stablize confirmation module, for the mode switch module determine current working be to be switched operating mode and from currently with acquiescence After the corresponding operating mode of operating mode switches to operating mode corresponding with the to be switched operating mode, determine in the preset time period Real time data is in the second time period summation in the threshold range relative to the variable quantity of mean data;Judge described second Whether period summation is less than the preset standard time;It is corresponded to be switched operating mode if so, controlling the mode switch module Operating mode switch to the corresponding operating mode of acquiescence operating mode;If it is not, determining real time data phase in next preset time period Second time period summation in the threshold range is in for the variable quantity of mean data, and continues to judge second time Whether section summation is less than the preset standard time, until the second time period summation is less than the preset standard time.
8. the device of operating mode's switch according to claim 6 and pattern switching, which is characterized in that further include:
Configuration module for declared working condition and configures the correspondence of different operating modes and operating mode.
9. the device of operating mode's switch according to claim 8 and pattern switching, which is characterized in that the configuration module is used In:
The influence factor declared working condition of the frequency and institute's gathered data that are occurred according to equipment different operating environment;
Configure the correspondence of different operating modes and operating mode.
10. the device of operating mode's switch according to claim 8 and pattern switching, which is characterized in that the to be switched operating mode Including at least one of rainy day operating mode, snowy day operating mode and barrier operating mode, further include:
Threshold determination module:Threshold range for determining different operating modes;
The threshold determination module is used for:The range for causing detection data to change according to be switched operating mode determines the to be switched work The threshold range of condition.
CN201810264279.2A 2018-03-28 2018-03-28 A kind of method and device of operating mode's switch and pattern switching Pending CN108469274A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810264279.2A CN108469274A (en) 2018-03-28 2018-03-28 A kind of method and device of operating mode's switch and pattern switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810264279.2A CN108469274A (en) 2018-03-28 2018-03-28 A kind of method and device of operating mode's switch and pattern switching

Publications (1)

Publication Number Publication Date
CN108469274A true CN108469274A (en) 2018-08-31

Family

ID=63264881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810264279.2A Pending CN108469274A (en) 2018-03-28 2018-03-28 A kind of method and device of operating mode's switch and pattern switching

Country Status (1)

Country Link
CN (1) CN108469274A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111411944A (en) * 2020-04-27 2020-07-14 无锡量子感知研究所 Nuclear magnetic resonance logging while drilling instrument and working mode control method and system thereof
WO2021115116A1 (en) * 2019-12-13 2021-06-17 中兴通讯股份有限公司 Early-warning method and apparatus for performance indicator, and device and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1239795A (en) * 1998-06-20 1999-12-29 蚌埠依爱消防电子有限责任公司 Dynamic monitoring method for analog quantity detector in alarm controller
KR20050029930A (en) * 2003-09-24 2005-03-29 기아자동차주식회사 Weather dependent type sound equalizer mode change device of a car and its method
CN101719299A (en) * 2009-11-10 2010-06-02 天津市浦海新技术有限公司 Alarm system and method for fire and combustible gas
CN106240526A (en) * 2016-09-21 2016-12-21 乐视控股(北京)有限公司 A kind of vehicle windscreen clean method, device, system and vehicle
CN106335451A (en) * 2016-09-07 2017-01-18 深圳市元征科技股份有限公司 Vehicle control method and terminal based on environment data
CN106408149A (en) * 2016-05-11 2017-02-15 苏州易信安工业技术有限公司 Timing method, device and system
CN106444453A (en) * 2016-10-31 2017-02-22 广州视源电子科技股份有限公司 Bidirectional automatic sensing switching method and system for radio
CN106534443A (en) * 2016-12-09 2017-03-22 厦门安胜网络科技有限公司 Mobile communication terminal detection method and device
CN106882186A (en) * 2017-03-22 2017-06-23 广州汽车集团股份有限公司 self-adapting cruise control method and system
CN107380168A (en) * 2017-08-01 2017-11-24 深圳市德塔防爆电动汽车有限公司 Electric automobile with safety protection function of paddling

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1239795A (en) * 1998-06-20 1999-12-29 蚌埠依爱消防电子有限责任公司 Dynamic monitoring method for analog quantity detector in alarm controller
KR20050029930A (en) * 2003-09-24 2005-03-29 기아자동차주식회사 Weather dependent type sound equalizer mode change device of a car and its method
CN101719299A (en) * 2009-11-10 2010-06-02 天津市浦海新技术有限公司 Alarm system and method for fire and combustible gas
CN106408149A (en) * 2016-05-11 2017-02-15 苏州易信安工业技术有限公司 Timing method, device and system
CN106335451A (en) * 2016-09-07 2017-01-18 深圳市元征科技股份有限公司 Vehicle control method and terminal based on environment data
CN106240526A (en) * 2016-09-21 2016-12-21 乐视控股(北京)有限公司 A kind of vehicle windscreen clean method, device, system and vehicle
CN106444453A (en) * 2016-10-31 2017-02-22 广州视源电子科技股份有限公司 Bidirectional automatic sensing switching method and system for radio
CN106534443A (en) * 2016-12-09 2017-03-22 厦门安胜网络科技有限公司 Mobile communication terminal detection method and device
CN106882186A (en) * 2017-03-22 2017-06-23 广州汽车集团股份有限公司 self-adapting cruise control method and system
CN107380168A (en) * 2017-08-01 2017-11-24 深圳市德塔防爆电动汽车有限公司 Electric automobile with safety protection function of paddling

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021115116A1 (en) * 2019-12-13 2021-06-17 中兴通讯股份有限公司 Early-warning method and apparatus for performance indicator, and device and storage medium
CN111411944A (en) * 2020-04-27 2020-07-14 无锡量子感知研究所 Nuclear magnetic resonance logging while drilling instrument and working mode control method and system thereof
CN111411944B (en) * 2020-04-27 2024-04-09 国仪石油技术(无锡)有限公司 Nuclear magnetic resonance logging while drilling instrument and working mode control method and system thereof

Similar Documents

Publication Publication Date Title
CN103378841B (en) Proximity switch assembly and open method with the pattern of exploration
RU2705866C2 (en) Vehicle (embodiments)
CN103378838B (en) Proximity switch assembly and open method
US7205780B2 (en) Multi-frequency capacitive measurement device and a method of operating the same
CN108469274A (en) A kind of method and device of operating mode's switch and pattern switching
CN105738673B (en) A kind of range switching method and range switch circuit
EP0567364B1 (en) Process for operating a capacitive tactile keyboard
US9329237B2 (en) Switch detection device and method of use
CN108205313A (en) Automatic working system, from mobile equipment and its control method
WO2018014716A1 (en) Recognition method and recognition apparatus for working bucket count in shovelling and loading process of loading machine
CN103023476A (en) Response method and control system of capacitive sensing type touch key
US10499573B1 (en) Wireless soil profile monitoring apparatus and methods
CN105804574B (en) Control device
CN113759886A (en) Control circuit for autonomous working apparatus, and control method therefor
CN106130414A (en) Vehicle dormer window is from motor hall signal fault detection method, relevant apparatus and system
US4893506A (en) Method for estimating rainfall and a sensing device therefor
CN103786687B (en) The automobile smooth control method of rainfall light sensor
CN101512211B (en) Machine tool monitoring device
US20160161563A1 (en) Devices for Measuring Voltage of a Power Supply, Detection Devices, and Temperature Controllers
CN103761882A (en) Automatic crossroad traffic light control apparatus and application
KR100773835B1 (en) Apparatus for vehicle acquisition module
CN2289350Y (en) Theft-proof alarm positioning and range finding dual-purpose device for communication cable
JPS5823713Y2 (en) Drowsy driving detection device
CN108490817B (en) Signal sampling processing circuit
CN111476960B (en) Limit for height early warning device based on singlechip

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
CB02 Change of applicant information

Address after: 4 / F, building 1, No.14 Jiuxianqiao Road, Chaoyang District, Beijing 100020

Applicant after: Beijing Jingwei Hengrun Technology Co., Ltd

Address before: 8 / F, block B, No. 11, Anxiang Beili, Chaoyang District, Beijing 100101

Applicant before: Beijing Jingwei HiRain Technologies Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20180831

RJ01 Rejection of invention patent application after publication