JP2022538275A - Parameter arrangement method and device, electronic device and storage medium - Google Patents

Parameter arrangement method and device, electronic device and storage medium Download PDF

Info

Publication number
JP2022538275A
JP2022538275A JP2021577135A JP2021577135A JP2022538275A JP 2022538275 A JP2022538275 A JP 2022538275A JP 2021577135 A JP2021577135 A JP 2021577135A JP 2021577135 A JP2021577135 A JP 2021577135A JP 2022538275 A JP2022538275 A JP 2022538275A
Authority
JP
Japan
Prior art keywords
controller
control data
data
smart device
parameter
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.)
Withdrawn
Application number
JP2021577135A
Other languages
Japanese (ja)
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.)
Shanghai Sensetime Lingang Intelligent Technology Co Ltd
Original Assignee
Shanghai Sensetime Lingang Intelligent Technology 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 Shanghai Sensetime Lingang Intelligent Technology Co Ltd filed Critical Shanghai Sensetime Lingang Intelligent Technology Co Ltd
Publication of JP2022538275A publication Critical patent/JP2022538275A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • 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
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • 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/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Driving Devices And Active Controlling Of Vehicle (AREA)
  • Steering Control In Accordance With Driving Conditions (AREA)
  • Traffic Control Systems (AREA)

Abstract

本発明は、パラメータ配置方法及び装置、電子機器並びに記憶媒体に関する。前記方法は、コントローラを含むスマート機器に適用され、前記コントローラは、第1コントローラと第2コントローラとを含み、前記方法は、前記コントローラから出力された制御データを取得するステップであって、前記第1コントローラから出力された制御データが第1制御データを含み、前記第2コントローラから出力された制御データが第2制御データを含むステップと、前記第1制御データ及び前記第2制御データに基づいて、前記第2コントローラのパラメータを配置するステップとを含む。【選択図】図1The present invention relates to a parameter allocation method and device, electronic equipment, and storage media. The method is applied to a smart device including a controller, the controller includes a first controller and a second controller, the method comprises obtaining control data output from the controller, a step in which control data output from one controller includes first control data and control data output from the second controller includes second control data; and based on the first control data and the second control data , locating the parameters of the second controller. [Selection drawing] Fig. 1

Description

本発明は、コンピュータ技術分野に関し、特にパラメータ配置方法及び装置、電子機器並びに記憶媒体に関する。 TECHNICAL FIELD The present invention relates to the field of computer technology, and more particularly to a parameter placement method and apparatus, electronic equipment, and storage media.

自動運転技術の発展に伴い、ますます多くの学術機関とテクノロジー会社は、自動運転技術の研究開発に関与し始めてきている。その中、コントローラは、自動運転システムに欠かせないモジュールとして、ますます多く注目されています。どのように正確的、効率的且つ低コストで、安全にコントローラに対してパラメータ配置を行うかは、早急に解決すべき問題となった。 With the development of self-driving technology, more and more academic institutions and technology companies are beginning to be involved in the research and development of self-driving technology. Among them, controllers are attracting more and more attention as indispensable modules for autonomous driving systems. How to assign parameters to controllers accurately, efficiently, at low cost, and safely has become a problem to be solved urgently.

本発明は、パラメータ配置の技術案を提供する。 The present invention provides technical solutions for parameter allocation.

本発明の一態様は、パラメータ配置方法を提供する。前記パラメータ配置方法は、複数のコントローラを含むスマート機器に適用され、前記複数のコントローラは、第1コントローラと第2コントローラとを少なくとも含み、前記パラメータ配置方法は、前記複数のコントローラのそれぞれから出力された制御データを取得するステップであって、前記第1コントローラから出力された制御データが第1制御データを含み、前記第2コントローラから出力された制御データが第2制御データを含むステップと、前記第1制御データ及び前記第2制御データに基づいて、前記第2コントローラのパラメータを配置するステップと、を含む。 One aspect of the present invention provides a parameter placement method. The parameter arrangement method is applied to a smart device including a plurality of controllers, the plurality of controllers includes at least a first controller and a second controller, and the parameter arrangement method is output from each of the plurality of controllers. a step of acquiring control data output from the first controller, wherein the control data output from the first controller includes first control data, and the control data output from the second controller includes second control data; arranging parameters of the second controller based on the first control data and the second control data.

スマート機器の複数のコントローラのそれぞれから出力された制御データを取得し(ただし、前記複数のコントローラは、第1コントローラと第2コントローラとを含み、前記第1コントローラから出力された制御データは、第1制御データを含み、前記第2コントローラから出力された制御データは、第2制御データを含む)、前記第1制御データ及び前記第2制御データに基づいて、前記第2コントローラのパラメータを配置することにより、第1コントローラを参照コントローラとし、第2コントローラを調整されるコントローラとし、第2コントローラのために、信頼できるパラメータを正確的且つ効果的で、低コストで見つけ出す。これにより、後で更に第2コントローラに対してパラメータ調整を行う際に、スマート機器(例えば、車両)の暴走のリスクを低減可能であり、第2コントローラのパラメータ配置の不当による潜在的な交通事故の安全リスクを低減することができる。 acquiring control data output from each of a plurality of controllers of a smart device (wherein the plurality of controllers includes a first controller and a second controller, and the control data output from the first controller is 1 control data, and the control data output from the second controller includes second control data), arranging the parameters of the second controller based on the first control data and the second control data By doing so, the first controller is the reference controller and the second controller is the controller to be adjusted, and reliable parameters are found for the second controller accurately, effectively and at low cost. This can reduce the risk of runaway of the smart device (e.g., vehicle) when further adjusting parameters for the second controller later, and potential traffic accidents due to improper parameter allocation of the second controller. safety risks can be reduced.

1つの可能な実現方式において、前記複数のコントローラのそれぞれから出力された制御データを取得するステップは、第1参照軌跡データと、第1モードである前記スマート機器の第1状態データとを取得することと、前記複数のコントローラを介して、前記第1参照軌跡データ及び前記第1状態データに基づいて、各自の前記制御データを生成することと、を含む。 In one possible implementation, the step of obtaining control data output from each of the plurality of controllers obtains first reference trajectory data and first state data of the smart device in a first mode. and generating the respective control data based on the first reference trajectory data and the first state data via the plurality of controllers.

当該実現方式において、前記コントローラを介して前記第1参照軌跡データ及び前記第1状態データに基づいて前記制御データを生成し、生成された第1制御データ及び第2制御データに基づいて第2コントローラのパラメータを配置することにより、配置して得られた第2コントローラのパラメータをより現実シーンに適用させることができる。 In this implementation method, the control data is generated based on the first reference trajectory data and the first state data via the controller, and a second controller is generated based on the generated first control data and second control data. By arranging the parameters of , the parameters of the second controller obtained by arranging can be more applied to the real scene.

1つの可能な実現方式において、前記パラメータ配置方法は、前記第1制御データに基づいて、第1モードである前記スマート機器の走行を制御するステップを更に含む。 In one possible implementation, the parameter configuration method further comprises controlling driving of the smart device in a first mode based on the first control data.

当該実現方式によれば、前記第1制御データに基づいて、第1モードである前記スマート機器の走行を制御することにより、実車において第2コントローラに対してパラメータ配置を行うことができるため、シミュレータと実車との間で往復して切り替えてコントローラをデバッグするコストを低減可能であるとともに、パラメータ配置後の第2コントローラをより現実シーンに適用させることができる。 According to the implementation method, by controlling the running of the smart device in the first mode based on the first control data, parameters can be arranged for the second controller in the actual vehicle. It is possible to reduce the cost of debugging the controller by switching back and forth between the controller and the actual vehicle, and the second controller after parameter allocation can be more applied to the actual scene.

1つの可能な実現方式において、前記パラメータ配置方法は、第2参照軌跡データと、第1モードである前記スマート機器の第2状態データとを取得するステップと、前記第2コントローラを介して、前記第2参照軌跡データ及び前記第2状態データに基づいて、第3制御データを生成するステップと、 In one possible implementation, the parameter placement method comprises obtaining second reference trajectory data and second state data of the smart device in a first mode; generating third control data based on the second reference trajectory data and the second state data;

前記第3制御データに基づいて、第1モードである前記スマート機器の走行を制御するステップと、を更に含む。 further comprising controlling driving of the smart device in a first mode based on the third control data.

当該実現方式によれば、前記第3制御データに基づいて、第1モードである前記スマート機器の走行を制御することにより、実車において第2コントローラに対してパラメータ調整を行うことができるため、シミュレータと実車との間で往復して切り替えてコントローラをデバッグするコストを低減可能であるとともに、パラメータ調整後の第2コントローラをより現実シーンに適用させることができる。 According to the implementation method, by controlling the running of the smart device in the first mode based on the third control data, it is possible to perform parameter adjustment for the second controller in the actual vehicle. It is possible to reduce the cost of debugging the controller by switching back and forth between the controller and the actual vehicle, and the second controller after parameter adjustment can be more applied to the actual scene.

1つの可能な実現方式において、前記パラメータ配置方法は、前記第1モードである前記スマート機器が走行において発生した実軌跡データを取得するステップと、前記第2参照軌跡データ及び前記実軌跡データに応じて、前記第2コントローラのパラメータを調整するステップと、を更に含む。 In one possible implementation, the parameter configuration method comprises the steps of obtaining actual trajectory data generated by the smart device in the first mode while driving; and adjusting parameters of the second controller.

当該実現方式において、前記実軌跡データと前記第2参照軌跡データとの差分に基づいて前記第2コントローラのパラメータを調整することにより、第2コントローラをより正確にスマート機器に適応させることができるため、より正確な制御及びより安全且つ快適な運転体験を実現する。 In this implementation method, by adjusting the parameters of the second controller based on the difference between the actual trajectory data and the second reference trajectory data, the second controller can be more accurately adapted to the smart device. , to achieve more precise control and a safer and more comfortable driving experience.

1つの可能な実現方式において、前記第1コントローラは、車両動力学モデルを含まないコントローラであり、前記第2コントローラは、車両動力学モデルを含むコントローラである。 In one possible implementation, the first controller is a controller that does not include a vehicle dynamics model and the second controller is a controller that includes a vehicle dynamics model.

上記実現方式によると、車両動力学モデルを含まないコントローラを参照コントローラとし、車両動力学モデルを含むコントローラを調整されるコントローラとし、車両動力学モデルを含むコントローラのために、信頼できるパラメータを正確的且つ効率的で低コストで見つけ出すことができるため、後で更に車両動力学モデルを含むコントローラに対してパラメータ調整を行うときに、スマート機器(例えば、車両)の暴走のリスクを低減可能であり、車両動力学モデルを含むコントローラのパラメータ配置の不当による潜在的な交通事故の安全リスクを低減することができる。これにより、現場のデバッグエンジニアが大規模な実車コントローラの性能テスト仕事を行うことは、便利になる。 According to the above implementation scheme, the controller without the vehicle dynamics model is the reference controller, the controller with the vehicle dynamics model is the controller to be tuned, and the controller with the vehicle dynamics model is the controller to which the reliable parameters are accurately calculated. and can be found efficiently and at low cost, so that the risk of runaway of smart devices (e.g., vehicles) can be reduced later when further parameter adjustments are made to the controller, including the vehicle dynamics model; Potential traffic accident safety risks due to incorrect parameterization of the controller, including the vehicle dynamics model, can be reduced. This makes it convenient for field debugging engineers to perform large-scale real-vehicle controller performance testing tasks.

1つの可能な実現方式において、前記スマート機器は、スマートモバイル機器を含み、前記制御データは、ハンドルステアリングデータ、アクセルデータ、ブレーキデータ及び指示ランプデータのうちの少なくとも1つを含む。 In one possible implementation, the smart device includes a smart mobile device, and the control data includes at least one of steering data, accelerator data, braking data and indicator lamp data.

当該実現方式によると、スマートモバイル機器に対する精確な自動制御を実現することができる。 According to this implementation method, it is possible to realize precise automatic control of the smart mobile device.

1つの可能な実現方式において、前記第3制御データに基づいて、第1モードである前記スマート機器の走行を制御するステップは、前記第1制御データと前記第2制御データとの差分が所定条件を満たすことに応じて、前記第3制御データに基づいて、第1モードである前記スマート機器の走行を制御することを含み、前記所定条件は、前記第1制御データのうちの第1目標制御データと前記第2制御データのうちの第2目標制御データとの差分が閾値範囲に属することを含み、前記第1目標制御データと前記第2目標制御データとのタイプは、同じである。 In one possible implementation, the step of controlling the driving of the smart device in the first mode based on the third control data comprises: the difference between the first control data and the second control data controlling travel of the smart device in a first mode based on the third control data, wherein the predetermined condition is a first target control of the first control data The types of the first target control data and the second target control data are the same, including that a difference between the data and the second target control data of the second control data belongs to a threshold range.

当該実現方式において、前記第1制御データと前記第2制御データとの差分が所定条件を満たす場合に、前記第2コントローラから出力された第3制御データに基づいてスマート機器の走行を制御することにより、スマート機器(例えば、車両)の暴走のリスクを低減して第2コントローラのパラメータ配置の不当による潜在的な交通事故の安全リスクを低減する前提の下で、第2コントローラ調整後のパラメータをより現実シーンに適用させることができる。 In the implementation method, when the difference between the first control data and the second control data satisfies a predetermined condition, the driving of the smart device is controlled based on the third control data output from the second controller. Therefore, under the premise of reducing the risk of a runaway smart device (e.g., vehicle) and reducing the safety risk of a potential traffic accident due to the improper arrangement of the parameters of the second controller, the parameters after the adjustment of the second controller are It can be applied to a more realistic scene.

本発明の別の態様は、パラメータ配置装置を提供する。前記パラメータ配置装置は、複数のコントローラを含むスマート機器に適用され、前記複数のコントローラは、第1コントローラと第2コントローラとを少なくとも含み、前記パラメータ配置装置は、前記複数のコントローラのそれぞれから出力された制御データを取得するための第1取得モジュールであって、前記第1コントローラから出力された制御データが第1制御データを含み、前記第2コントローラから出力された制御データが第2制御データを含む第1取得モジュールと、 Another aspect of the invention provides a parameter placement device. The parameter arrangement device is applied to a smart device including a plurality of controllers, the plurality of controllers includes at least a first controller and a second controller, and the parameter arrangement device is output from each of the plurality of controllers. wherein the control data output from the first controller includes first control data, and the control data output from the second controller includes second control data. a first acquisition module comprising;

前記第1制御データ及び前記第2制御データに基づいて、前記第2コントローラのパラメータを配置するための配置モジュールと、を備える。 a configuration module for configuring parameters of the second controller based on the first control data and the second control data.

1つの可能な実現方式において、前記第1取得モジュールは、第1参照軌跡データと、第1モードである前記スマート機器の第1状態データとを取得し、前記複数のコントローラを介して、前記第1参照軌跡データ及び前記第1状態データに基づいて、各自の前記制御データを生成する。 In one possible implementation, the first acquisition module acquires first reference trajectory data and first state data of the smart device in a first mode, and via the plurality of controllers, obtains the first state data. Based on the 1 reference trajectory data and the first state data, the respective control data are generated.

1つの可能な実現方式において、前記パラメータ配置装置は、前記第1制御データに基づいて、第1モードである前記スマート機器の走行を制御するための第1制御モジュールを更に備える。 In one possible implementation, the parameter configuration device further comprises a first control module for controlling running of the smart device in a first mode according to the first control data.

1つの可能な実現方式において、前記パラメータ配置装置は、第2参照軌跡データと、第1モードである前記スマート機器の第2状態データとを取得するための第2取得モジュールと、前記第2コントローラを介して、前記第2参照軌跡データ及び前記第2状態データに基づいて、第3制御データを生成するための生成モジュールと、前記第3制御データに基づいて、第1モードである前記スマート機器の走行を制御するための第2制御モジュールと、を更に備える。 In one possible implementation, the parameter locator comprises: a second acquisition module for acquiring second reference trajectory data and second state data of the smart device being in a first mode; a generating module for generating third control data based on the second reference trajectory data and the second state data via a smart device in a first mode based on the third control data; a second control module for controlling travel of the .

1つの可能な実現方式において、前記パラメータ配置装置は、前記第1モードである前記スマート機器が走行において発生した実軌跡データを取得するための第3取得モジュールと、前記第2参照軌跡データ及び前記実軌跡データに応じて、前記第2コントローラのパラメータを調整するための調整モジュールと、を更に備える。 In one possible implementation, the parameter allocation device comprises a third acquisition module for acquiring actual trajectory data generated when the smart device in the first mode travels, the second reference trajectory data and the an adjustment module for adjusting parameters of the second controller according to actual trajectory data.

1つの可能な実現方式において、前記第1コントローラは、車両動力学モデルを含まないコントローラであり、前記第2コントローラは、車両動力学モデルを含むコントローラである。 In one possible implementation, the first controller is a controller that does not include a vehicle dynamics model and the second controller is a controller that includes a vehicle dynamics model.

1つの可能な実現方式において、前記スマート機器は、スマートモバイル機器を含み、前記制御データは、ハンドルステアリングデータ、アクセルデータ、ブレーキデータ及び指示ランプデータのうちの少なくとも1つを含む。 In one possible implementation, the smart device includes a smart mobile device, and the control data includes at least one of steering data, accelerator data, braking data and indicator lamp data.

1つの可能な実現方式において、前記第2制御モジュールは、前記第1制御データと前記第2制御データとの差分が所定条件を満たすことに応じて、前記第3制御データに基づいて、第1モードである前記スマート機器の走行を制御し、前記所定条件は、前記第1制御データのうちの第1目標制御データと前記第2制御データのうちの第2目標制御データとの差分が閾値範囲に属することを含み、前記第1目標制御データと前記第2目標制御データとのタイプは、同じである。 In one possible implementation, the second control module, based on the third control data, generates a first and the predetermined condition is that the difference between the first target control data of the first control data and the second target control data of the second control data is within a threshold range. and the types of the first target control data and the second target control data are the same.

本発明のもう1つの態様は、電子機器を提供する。前記電子機器は、1つ又は複数のプロセッサと、実行可能指令を記憶するためのメモリとを備え、前記1つ又は複数のプロセッサは、前記メモリに記憶された実行可能指令を呼び出すことにより、上記パラメータ配置方法を実行するように構成される。 Another aspect of the invention provides an electronic device. The electronic device comprises one or more processors and a memory for storing executable instructions, wherein the one or more processors invoke the executable instructions stored in the memory to perform the above configured to perform a parameter placement method;

本発明のもう1つの態様は、コンピュータ可読記憶媒体を提供する。前記コンピュータ可読記憶媒体には、コンピュータプログラム指令が記憶され、前記コンピュータプログラム指令がプロセッサによって実行されたときに、上記パラメータ配置方法は、実施される。 Another aspect of the invention provides a computer-readable storage medium. Computer program instructions are stored on the computer readable storage medium, and the parameter placement method is implemented when the computer program instructions are executed by the processor.

本発明のもう1つの態様は、コンピュータプログラム製品を提供する。前記コンピュータプログラム製品は、コンピュータ可読指令を記憶し、前記コンピュータ可読指令が実行されたときに、上記パラメータ配置方法をコンピュータに実行させる。 Another aspect of the invention provides a computer program product. The computer program product stores computer readable instructions and causes a computer to perform the parameter placement method when the computer readable instructions are executed.

本発明の実施例では、スマート機器の複数のコントローラのそれぞれから出力された制御データを取得し(ただし、前記複数のコントローラは、第1コントローラと第2コントローラとを含み、前記第1コントローラから出力された制御データは、第1制御データを含み、前記第2コントローラから出力された制御データは、第2制御データを含む)、前記第1制御データ及び前記第2制御データに基づいて、前記第2コントローラのパラメータを配置する。これにより、第1コントローラを参照コントローラとし、第2コントローラを調整されるコントローラとし、第2コントローラのために、信頼できるパラメータを正確的且つ効果的で、低コストで見つけ出す。また、第2コントローラの配置が第1コントローラから実際に出力された第1制御データに基づいて実現される一方、第2コントローラの配置が完了される前に、通常、第1制御データを用いてスマート機器を制御可能であるため、第2コントローラのパラメータをスマート機器の現在の所在する応用場面に一層適応させることができる。そして、後で更に第2コントローラに対してパラメータ調整を行う過程においてスマート機器(例えば、車両)の暴走のリスクを低減可能であり、第2コントローラのパラメータ配置の不当による潜在的な交通事故の安全リスクを低減することができる。 In an embodiment of the present invention, control data output from each of a plurality of controllers of a smart device is acquired (wherein the plurality of controllers includes a first controller and a second controller, and output from the first controller The control data output from the second controller includes first control data, and the control data output from the second controller includes second control data), based on the first control data and the second control data, the 2 Arrange the parameters of the controller. This allows the first controller to be the reference controller and the second controller to be the controller to be tuned, and find reliable parameters for the second controller accurately, efficiently and at low cost. Further, while the placement of the second controller is realized based on the first control data actually output from the first controller, the first control data is usually used before the placement of the second controller is completed. The ability to control the smart device allows the parameters of the second controller to be better adapted to the current application of the smart device. And later, in the process of further adjusting the parameters of the second controller, it is possible to reduce the risk of runaway of the smart device (e.g., vehicle), and the safety of potential traffic accidents caused by the inappropriate setting of the parameters of the second controller. Risk can be reduced.

上述した一般的な記述と後文の詳細記述が単に例示的なものと解釈的なものであり、本発明を制限するためのものではないことは、理解されるべきである。 It is to be understood that the above general description and the following detailed description are merely exemplary and interpretive and are not intended to limit the invention.

以下のように図面を参照しながら例示的な実施例を詳細に説明することにより、本発明の他の特徴及び態様は、明瞭になるのだろう。 Other features and aspects of the invention will become apparent from the following detailed description of exemplary embodiments with reference to the drawings.

ここでの図面は、明細書に組み込まれて明細書の一部を構成する。これらの図面は、本発明に合致する実施例を示しつつ、明細書の記載とともに本発明の解決手段を解釈するために用いられる。
本発明の実施例に係るパラメータ配置方法のフローチャートを示す。 本発明の実施例におけるPIDベースのコントローラ(PIDコントローラ)の模式図を示す。 本発明の実施例におけるPIDベースのコントローラのコアユニットの模式図を示す。 本発明の実施例においてPIDベースのコントローラの3つのパラメータによって調節された後の制御効果の模式図を示す。 本発明の実施例におけるMPCベースのコントローラ(MPCコントローラ)の模式図を示す。 本発明の実施例におけるMPCベースのコントローラのコアユニットの模式図を示す。 本発明の実施例のMPCベースのコントローラにおける車両動力学モデルの模式図を示す。 本発明の実施例のMPCベースのコントローラにおけるコアユニットの目標関数最適化の模式図を示す。 本発明の実施例のMPCベースのコントローラにおけるコアユニットの目標関数最適化の模式図を示す。 本発明の実施例のMPCベースのコントローラにおけるコアユニットの目標関数最適化の模式図を示す。 本発明の実施例におけるMPCベースのコントローラの最適化過程の模式図を示す。 本発明の実施例に係る自動運転システムのアーキテクチャ全体の模式図を示す。 本発明の実施例において参照コントローラを利用して、調整されるコントローラによるパラメータ配置を指導する模式図を示す。 本発明の実施例に係るコントローラのパラメータ配置のフローの模式図を示す。 本発明の実施例におけるMPCベースのコントローラの制御結果の模式図を示す。 本発明の実施例におけるMPCベースのコントローラの制御結果の模式図を示す。 本発明の実施例におけるMPCベースのコントローラの制御結果の模式図を示す。 本発明の実施例におけるMPCベースのコントローラの制御結果の模式図を示す。 本発明の実施例においてMPCベースのコントローラの制御での横方向軌跡誤差、向き誤差及び縦方向速度誤差が時間とともに変化する模式図を示す。 本発明の実施例においてMPCベースのコントローラに対してパラメータ調整を行った後で、MPCベースのコントローラの制御での横方向軌跡誤差、向き誤差及び縦方向速度誤差が時間とともに変化する模式図を示す。 本発明の実施例に係るパラメータ配置装置のブロック図を示す。 本発明の実施例に係る電子機器800のブロック図を示す。 本発明の実施例に係る電子機器1900のブロック図を示す。
The drawings herein are incorporated into and constitute a part of the specification. These drawings show embodiments consistent with the present invention and are used to interpret the solution of the present invention together with the description of the specification.
Fig. 4 shows a flow chart of a parameter allocation method according to an embodiment of the present invention; 1 shows a schematic diagram of a PID-based controller (PID controller) in an embodiment of the invention; FIG. Fig. 2 shows a schematic diagram of a core unit of a PID-based controller in an embodiment of the invention; FIG. 4 shows a schematic diagram of the control effect after being adjusted by the three parameters of the PID-based controller in an embodiment of the present invention; 1 shows a schematic diagram of an MPC-based controller (MPC controller) in an embodiment of the invention; FIG. Fig. 2 shows a schematic diagram of a core unit of an MPC-based controller in an embodiment of the invention; FIG. 4 shows a schematic diagram of a vehicle dynamics model in an MPC-based controller according to an embodiment of the invention; FIG. 4 shows a schematic diagram of the core unit's objective function optimization in the MPC-based controller of an embodiment of the present invention; FIG. 4 shows a schematic diagram of the core unit's objective function optimization in the MPC-based controller of an embodiment of the present invention; FIG. 4 shows a schematic diagram of the core unit's objective function optimization in the MPC-based controller of an embodiment of the present invention; FIG. 4 shows a schematic diagram of the optimization process of an MPC-based controller in an embodiment of the invention; 1 shows a schematic diagram of the overall architecture of an automated driving system according to an embodiment of the present invention; FIG. FIG. 4 shows a schematic diagram of using a reference controller to guide parameter placement by a tuned controller in an embodiment of the present invention. FIG. 4 shows a schematic diagram of a flow of parameterization of a controller according to an embodiment of the present invention; FIG. 4 shows a schematic diagram of a control result of an MPC-based controller in an embodiment of the present invention; FIG. 4 shows a schematic diagram of a control result of an MPC-based controller in an embodiment of the present invention; FIG. 4 shows a schematic diagram of a control result of an MPC-based controller in an embodiment of the present invention; FIG. 4 shows a schematic diagram of a control result of an MPC-based controller in an embodiment of the present invention; FIG. 4 shows a schematic diagram of lateral trajectory error, orientation error and longitudinal velocity error over time under control of an MPC-based controller in an embodiment of the present invention; FIG. 4 shows a schematic diagram of lateral trajectory error, orientation error and longitudinal velocity error over time in the control of an MPC-based controller after parameter tuning for the MPC-based controller in an embodiment of the present invention; . 1 shows a block diagram of a parameter placement device according to an embodiment of the present invention; FIG. FIG. 8 shows a block diagram of an electronic device 800 according to an embodiment of the invention. 19 shows a block diagram of an electronic device 1900 according to an embodiment of the invention. FIG.

以下では、図面を参照して本発明の各種の例示的な実施例、特徴および態様を詳細に説明する。図面における同じ符号は、機能が同じ又は類似する素子を示す。図面に実施例の各種の態様が示されたが、専ら示さない限り、縮尺通りに図面を描く必要がない。 Various illustrative embodiments, features, and aspects of the invention are described in detail below with reference to the drawings. The same reference numerals in the drawings indicate elements with the same or similar function. Although the drawings show various aspects of the embodiments, they are not necessarily drawn to scale unless otherwise indicated.

ここでの用語「例示的な」は、「例示、実施例としてのもの、又は説明的なもの」を意味する。ここで「例示的な」で説明される如何なる実施例も、他の実施例よりも優れるや良くなるとして解釈される必要がない。 The term "exemplary" as used herein means "exemplary, exemplary, or illustrative." Any embodiment described herein as "exemplary" should not be construed as superior or better than other embodiments.

本文における用語「及び/又は」は、単に関連対象の関連関係を記述するためのものであり、3種の関係が存在することを表すことができる。例えば、A及び/又はBは、Aが単独で存在すること、AとBが同時に存在すること、Bが単独で存在することの3種の状況を表せる。また、本文における用語「少なくとも1種」は、複数種のうちの任意1種又は複数種のうちの少なくとも2種の任意の組み合わせを表す。例えば、A、B、Cのうちの少なくとも1種を含むことは、A、BとCよりなる集合から選択された何れか1つ又は複数の要素を含むことを表せる。 The term "and/or" in this text is merely for describing the relationship of related objects and can indicate that there are three kinds of relationships. For example, A and/or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" in the text represents any one of a plurality of types or any combination of at least two of a plurality of types. For example, including at least one of A, B, and C means including any one or more elements selected from the set consisting of A, B, and C.

また、本発明がより良く説明されるように、下文の具体的な実施形態において大量の具体的詳細が与えられている。当業者であれば理解できるように、幾つかの具体的詳細がなくても、本発明は同様に実施可能である。幾つかの実施例では、本発明の要旨がより目立つように、当業者でよく知られる方法、手段、素子及び回路について詳細に記述されていない。 Also, a great deal of specific detail is provided in the specific embodiments below in order that the present invention may be better described. As will be appreciated by those skilled in the art, the present invention may be practiced as well without some of the specific details. In some instances, methods, means, devices and circuits that are well known to those skilled in the art have not been described in detail so as to obscure the subject matter of the present invention.

本発明の実施例では、スマート機器のコントローラから出力された制御データを取得し(ただし、前記コントローラは、第1コントローラと第2コントローラとを含み、前記第1コントローラから出力された制御データは、第1制御データを含み、前記第2コントローラから出力された制御データは、第2制御データを含む)、前記第1制御データ及び前記第2制御データに基づいて、前記第2コントローラのパラメータを配置する。これにより、第1コントローラを参照コントローラとし、第2コントローラを調整されるコントローラとし、第2コントローラのために、信頼できるパラメータを正確的且つ効果的で、低コストで見つけ出す。また、第2コントローラの配置が第1コントローラから実際に出力された第1制御データに基づいて実現される一方、第2コントローラの配置が完了される前に、通常、第1制御データを用いてスマート機器を制御可能であるため、第2コントローラのパラメータをスマート機器の現在の所在する応用場面に一層適応させることができる。そして、後で更に第2コントローラに対してパラメータ調整を行う過程においてスマート機器(例えば、車両)の暴走のリスクを低減可能であり、第2コントローラのパラメータ配置の不当による潜在的な交通事故の安全リスクを低減することができる。 In an embodiment of the present invention, control data output from a controller of a smart device is obtained (where the controller includes a first controller and a second controller, and the control data output from the first controller is The control data output from the second controller includes first control data, and the control data output from the second controller includes second control data, and the parameters of the second controller are arranged based on the first control data and the second control data. do. This allows the first controller to be the reference controller and the second controller to be the controller to be tuned, and find reliable parameters for the second controller accurately, efficiently and at low cost. Further, while the placement of the second controller is realized based on the first control data actually output from the first controller, the first control data is usually used before the placement of the second controller is completed. The ability to control the smart device allows the parameters of the second controller to be better adapted to the current application of the smart device. And later, in the process of further adjusting the parameters of the second controller, it is possible to reduce the risk of runaway of the smart device (e.g., vehicle), and the safety of potential traffic accidents caused by the inappropriate setting of the parameters of the second controller. Risk can be reduced.

説明すべきことは、スマート機器は、第1コントローラと第2コントローラと以外のコントローラを更に含んでもよい。本発明の実施例において、スマート機器に含まれるコントローラの種類及び各タイプのコントローラの数等は、限定されない。本発明の実施例において、スマート機器が第1コントローラ及び第2コントローラを含むことを例として、本発明の実施例に係る技術案を説明する。 It should be noted that the smart device may further include controllers other than the first controller and the second controller. In embodiments of the present invention, the types of controllers included in the smart device, the number of controllers of each type, etc. are not limited. In the embodiment of the present invention, the smart device includes a first controller and a second controller as an example to describe the technical solution according to the embodiment of the present invention.

図1は、本発明の実施例に係るパラメータ配置方法のフローチャートを示す。前記パラメータ配置方法は、パラメータ配置装置に適用されてもよい。例えば、前記パラメータ配置方法は、端末機器又はサーバ又は他の処理機器によって実行されてもよい。ただし、端末機器は、車載機器、ユーザ機器(User Equipment、UE)、モバイル機器、ユーザ端末、端末、パーソナルデジタルアシスタント(Personal Digital Assistant、PDA)、ハンドヘルド機器、演算機器又はウェアラブル機器等であってもよい。幾つかの可能な実現方式において、前記パラメータ配置方法は、プロセッサがメモリに記憶されたコンピュータ可読指令を呼び出す方式で実現されてもよい。前記パラメータ配置方法は、スマート機器に適用され、前記スマート機器は、複数のコントローラを含み、前記複数のコントローラは、第1コントローラと第2コントローラとを少なくとも含む。前記スマート機器は、スマート移動機器、例えば車両又は移動ロボット等を含んでもよい。以下では、スマート機器が車両であることを例として本発明の実施例を説明する。図1に示すように、前記パラメータ配置方法は、ステップS11~ステップS12を含む。 FIG. 1 shows a flow chart of a parameter allocation method according to an embodiment of the present invention. The parameter placement method may be applied to a parameter placement device. For example, the parameter placement method may be performed by a terminal device or a server or other processing device. However, the terminal equipment may be in-vehicle equipment, user equipment (UE), mobile equipment, user terminal, terminal, personal digital assistant (PDA), handheld equipment, computing equipment, wearable equipment, etc. good. In some possible implementations, the parameter placement method may be implemented by a processor invoking computer readable instructions stored in memory. The parameter arrangement method is applied to a smart device, the smart device including a plurality of controllers, the plurality of controllers including at least a first controller and a second controller. The smart devices may include smart mobile devices such as vehicles or mobile robots. In the following, the embodiments of the present invention will be described with the smart device being a vehicle as an example. As shown in FIG. 1, the parameter placement method includes steps S11 to S12.

ステップS11では、前記複数のコントローラのそれぞれから出力された制御データを取得し、前記第1コントローラから出力された制御データは、第1制御データを含み、前記第2コントローラから出力された制御データは、第2制御データを含む。 In step S11, control data output from each of the plurality of controllers is acquired, the control data output from the first controller includes first control data, and the control data output from the second controller is , including second control data.

本発明の実施例におけるコントローラは、自動運転における軌跡追跡のためのコントローラであってもよく、他の機能を有するコントローラであってもよく、本発明の実施例ではこれについて限定しない。コントローラから出力された制御データ(第1コントローラから出力された第1制御データ及び/又は第2コントローラから出力された第2制御データ)は、スマート機器を制御するために用いられてもよい。第1コントローラ及び第2コントローラは、同じ入力データに基づいて第1制御データ及び第2制御データをそれぞれ取得してもよい。第2コントローラのパラメータ配置の過程において、第1コントローラから出力された第1制御データと第2コントローラから出力された第2制御データとを複数回取得してもよい。例えば、複数回のうちの何れか1回に関し、第1コントローラから出力された第1制御データと第2コントローラから出力された第2制御データとを同時に取得することで両者を比較してもよい。無論、一定の前後順で、第1制御データ及び第2制御データをこの順で取得してもよく、第2制御データ及び第1制御データをこの順で取得してもよい。説明すべきことは、制御データの取得過程において、第1制御データ及び第2制御データの前後順が限定されない。 The controller in the embodiments of the present invention may be a controller for trajectory tracking in automatic driving or a controller with other functions, and the embodiments of the present invention are not limited thereto. Control data output from the controller (first control data output from the first controller and/or second control data output from the second controller) may be used to control the smart device. The first controller and the second controller may obtain the first control data and the second control data, respectively, based on the same input data. The first control data output from the first controller and the second control data output from the second controller may be obtained multiple times during the parameter allocation process of the second controller. For example, the first control data output from the first controller and the second control data output from the second controller may be simultaneously obtained for any one of a plurality of times to compare the two. . Of course, the first control data and the second control data may be acquired in this order, or the second control data and the first control data may be acquired in this order, in a certain order. What should be explained is that the order of the first control data and the second control data is not limited in the acquisition process of the control data.

ステップS12では、前記第1制御データ及び前記第2制御データに基づいて、前記第2コントローラのパラメータを配置する。 In step S12, the parameters of the second controller are arranged based on the first control data and the second control data.

本発明の実施例において、前記第1制御データと前記第2制御データとの差分に基づいて、前記第2コントローラのパラメータを配置してもよい。例えば、前記第1制御データと前記第2制御データとの差分に基づいて、前記第2コントローラのパラメータを初期化及び/又は調整してもよい。 In an embodiment of the present invention, parameters of the second controller may be arranged based on a difference between the first control data and the second control data. For example, parameters of the second controller may be initialized and/or adjusted based on the difference between the first control data and the second control data.

第2コントローラのパラメータを初期化することは、第2コントローラのパラメータに対して初期の配置を行うことを指す。第2コントローラのパラメータを調整することは、初期化が完了された第2コントローラのパラメータに対して調整を行うことを指す。1つの可能な実現方式において、初期化が完了された第2コントローラのパラメータは、デフォルトの第2コントローラパラメータであってもよく、具体的に過去経験値を考慮して配置された第2コントローラのパラメータ、又は第2コントローラが出荷される前に配置された出荷パラメータ等であってもよく、ここで限定されない。 Initializing the parameters of the second controller refers to performing an initial placement on the parameters of the second controller. Adjusting the parameters of the second controller refers to adjusting the parameters of the second controller whose initialization has been completed. In one possible implementation, the parameters of the second controller that have been initialized may be the default second controller parameters, specifically the parameters of the second controller that are arranged in consideration of past experience. It may be a parameter, or a shipping parameter placed before the second controller is shipped, and is not limited here.

本発明の実施例では、第2コントローラの配置が第1コントローラから実際に出力された第1制御データに基づいて実現される一方、第2コントローラの配置が完了される前に、通常、第1制御データを用いてスマート機器を制御可能であるため、第2コントローラのパラメータをスマート機器の現在の所在する応用場面に一層適応させることができる。また、後で更に第2コントローラに対してパラメータ調整を行う過程において、スマート機器(例えば、車両)の暴走のリスクを低減可能であり、第2コントローラのパラメータ配置の不当による潜在的な交通事故の安全リスクを低減することができる。 In the embodiment of the present invention, while the placement of the second controller is realized based on the first control data actually output from the first controller, before the placement of the second controller is completed, the first Since the control data can be used to control the smart device, the parameters of the second controller can be better adapted to the current application of the smart device. In addition, in the process of further adjusting parameters for the second controller later, it is possible to reduce the risk of runaway of smart equipment (e.g., a vehicle), and prevent potential traffic accidents due to improper parameter allocation of the second controller. Safety risks can be reduced.

1つの可能な実現方式において、前記複数のコントローラのそれぞれから出力された制御データを取得することは、第1参照軌跡データと第1モードである前記スマート機器の第1状態データとを取得することと、前記複数のコントローラを介して、前記第1参照軌跡データ及び前記第1状態データに基づいて、各自の制御データを生成することと、を含む。 In one possible implementation, obtaining control data output from each of the plurality of controllers includes obtaining first reference trajectory data and first state data of the smart device in a first mode. and generating respective control data based on the first reference trajectory data and the first state data via the plurality of controllers.

当該実現方式において、第1参照軌跡データは、第1制御データ及び第2制御データに基づいて第2コントローラのパラメータを配置する過程において取得された参照軌跡データを表してもよい。第1参照軌跡データは、参照軌跡及び参照軌跡上の複数の通過点の目標速度を含んでもよく、第1参照軌跡データは、自動運転システムにおける軌跡計画モジュールから出力されたものであってもよい。 In this implementation, the first reference trajectory data may represent reference trajectory data obtained in the process of arranging the parameters of the second controller based on the first control data and the second control data. The first reference trajectory data may include a reference trajectory and target velocities of a plurality of passing points on the reference trajectory, and the first reference trajectory data may be output from a trajectory planning module in an automated driving system. .

当該実現方式において、第1状態データは、第1制御データ及び第2制御データに基づいて第2コントローラのパラメータを配置する過程において取得されたスマート機器の状態データを表してもよい。第1状態データは、リアルタイムで取得されたものであってもよい。例えば、第1状態データは、スマート機器の位置、速度及び加速度等のうちの一項又は複数項の組み合わせを含んでもよい。 In this implementation, the first state data may represent smart device state data obtained during the process of configuring the parameters of the second controller based on the first control data and the second control data. The first state data may be obtained in real time. For example, the first state data may include one or a combination of multiple items such as position, velocity and acceleration of the smart device.

当該実現方式において、前記スマート機器は、少なくとも第1モードを具備し、例えば、第1モードは、全自動運転モード又は半自動運転モードであってもよい。前記スマート機器は、第2モードも具備してもよい。例えば、第2モードは、全人工運転モードであってもよい。前記スマート機器は、第3モードを更に具備してもよい。例えば、第1モードが全自動運転モードである場合に、第3モードは、半自動運転モードであってもよい。又は、第1モードが半自動運転モードである場合に、第3モードは、全自動運転モードであってもよい。各モードは、各モードに対するより繊細な区分ができるように、サブモードを更に含んでもよい。ここで、スマート機器のモードタイプ及びサブモードの具体的なパラメータ等は、限定されない。 In this implementation, the smart device has at least a first mode, for example, the first mode may be a fully automatic operation mode or a semi-automatic operation mode. The smart device may also have a second mode. For example, the second mode may be a fully artificial operation mode. The smart device may further comprise a third mode. For example, when the first mode is the fully automatic operation mode, the third mode may be the semi-automatic operation mode. Alternatively, when the first mode is the semi-automatic operation mode, the third mode may be the fully automatic operation mode. Each mode may further include sub-modes to allow finer partitioning for each mode. Here, the mode type of the smart device and the specific parameters of the sub-modes are not limited.

当該実現方式において、第1コントローラは、前記第1参照軌跡データ及び前記第1状態データに基づいて第1制御データを生成してもよい。前記第1制御データは、第1コントローラで生成された、前記第1参照軌跡データと前記第1状態データとに対応する制御データを表す。第2コントローラは、前記第1参照軌跡データ及び前記第1状態データに基づいて第2制御データを生成してもよい。前記第2制御データは、第2コントローラで生成された、前記第1参照軌跡データと前記第1状態データとに対応する制御データを表す。第2制御データは、第1制御データ及び第2制御データに基づいて第2コントローラのパラメータを配置する過程において第2コントローラで生成された制御データを指してもよい。 In this implementation scheme, the first controller may generate first control data based on the first reference trajectory data and the first state data. The first control data represents control data generated by the first controller and corresponding to the first reference trajectory data and the first state data. The second controller may generate second control data based on the first reference trajectory data and the first state data. The second control data represents control data generated by the second controller and corresponding to the first reference trajectory data and the first state data. The second control data may refer to control data generated by the second controller in the process of arranging the parameters of the second controller based on the first control data and the second control data.

当該実現方式では、前記コントローラを介して前記第1参照軌跡データ及び前記第1状態データに基づいて前記制御データを生成し、生成された第1制御データ及び第2制御データに基づいて第2コントローラのパラメータを配置することにより、配置して得られた第2コントローラのパラメータをより現実シーンに適用させることができる。 In this implementation method, the control data is generated based on the first reference trajectory data and the first state data via the controller, and the second controller is generated based on the generated first control data and second control data. By arranging the parameters of , the parameters of the second controller obtained by arranging can be more applied to the real scene.

1つの可能な実現方式において、前記コントローラから出力された制御データを取得した後、前記方法は、前記第1制御データに基づいて、第1モードである前記スマート機器の走行を制御するステップを更に含む。 In one possible implementation, after obtaining control data output from the controller, the method further comprises controlling driving of the smart device in a first mode according to the first control data. include.

当該実現方式において、第1コントローラを前記スマート機器の現在コントローラとすることにより、前記第1制御データに基づいて第1モードである前記スマート機器の走行を制御してもよい。例えば、スマート機器のスイッチャ(Switcher)を介して前記第1コントローラを前記スマート機器の現在コントローラとしてもよい。 In this implementation method, the first controller may be the current controller of the smart device to control the running of the smart device in the first mode based on the first control data. For example, the first controller may be the current controller of the smart device via a switcher of the smart device.

当該実現方式によれば、前記第1制御データに基づいて第1モードである前記スマート機器の走行を制御することにより、実車において第2コントローラに対してパラメータ配置を行うことができるため、シミュレータ(例えば、車両の運転を模擬する機器)と実車との間で往復して切り替えてコントローラをデバッグするコストを低減可能であるとともに、パラメータ配置後の第2コントローラをより現実シーンに適用させることができる。 According to the implementation method, by controlling the running of the smart device in the first mode based on the first control data, it is possible to perform parameter allocation for the second controller in the actual vehicle. For example, it is possible to reduce the cost of debugging the controller by switching back and forth between a device that simulates driving of a vehicle and the actual vehicle, and it is possible to apply the second controller after parameter placement to a more real scene. .

1つの可能な実現方式において、前記第2コントローラのパラメータを配置した後、前記方法は、第2参照軌跡データと、第1モードである前記スマート機器の第2状態データとを取得するステップと、前記第2コントローラを介して、前記第2参照軌跡データ及び前記第2状態データに基づいて、第3制御データを生成するステップと、前記第3制御データに基づいて、第1モードである前記スマート機器の走行を制御するステップと、を更に含む。 In one possible implementation, after arranging the parameters of the second controller, the method obtains second reference trajectory data and second state data of the smart device in a first mode; generating third control data based on the second reference trajectory data and the second state data via the second controller; and controlling travel of the equipment.

当該実現方式において、第2参照軌跡データは、前記第3制御データに基づいて前記スマート機器の走行を制御する過程において取得された参照軌跡データを表してもよい。第2参照軌跡データは、参照軌跡及び参照軌跡上の複数の通過点の目標速度を含んでもよく、第2参照軌跡データは、自動運転システムにおける軌跡計画モジュールから出力されたものであってもよい。第1参照軌跡データは、第2参照軌跡データにおけるコンテンツを含んでもよい。即ち、第2参照軌跡データは、第1参照軌跡データの後段の参照軌跡データであってもよい。例えば、スマート機器は、第1参照軌跡データに沿ってある時間走行した後、第2参照軌跡データを取得する。又は、スマート機器が走行路線を変更した場合等に、第2参照軌跡データと第1参照軌跡データとは、異なってもよい。 In this implementation method, the second reference trajectory data may represent reference trajectory data obtained in the process of controlling the traveling of the smart device based on the third control data. The second reference trajectory data may include the reference trajectory and target velocities of a plurality of passing points on the reference trajectory, and the second reference trajectory data may be output from a trajectory planning module in the automated driving system. . The first reference trajectory data may include content in the second reference trajectory data. That is, the second reference trajectory data may be reference trajectory data subsequent to the first reference trajectory data. For example, the smart device acquires the second reference trajectory data after traveling along the first reference trajectory data for a certain period of time. Alternatively, the second reference trajectory data and the first reference trajectory data may be different when the smart device changes the traveling route.

当該実現方式において、第2状態データは、前記第3制御データに基づいて前記スマート機器の走行を制御する過程において取得されたスマート機器の状態データを表してもよい。第2状態データは、リアルタイムで取得されてもよい。例えば、第2状態データは、スマート機器の位置、速度及び加速度等のうちの一項又は複数項の組み合わせを含んでもよい。 In this implementation, the second state data may represent state data of the smart device obtained during the process of controlling the running of the smart device based on the third control data. The second state data may be obtained in real time. For example, the second state data may include one or a combination of multiple items such as position, velocity and acceleration of the smart device.

当該実現方式において、第3制御データは、第2コントローラで生成された、第2参照軌跡データと第2状態データとに対応する制御データを表してもよい。第3制御データは、前記第3制御データに基づいて前記スマート機器の走行を制御する過程において第2コントローラで生成された制御データを指してもよい。 In this implementation, the third control data may represent control data generated by the second controller and corresponding to the second reference trajectory data and the second state data. The third control data may refer to control data generated by a second controller in the process of controlling travel of the smart device based on the third control data.

当該実現方式によれば、前記第3制御データに基づいて、第1モードである前記スマート機器の走行を制御することにより、実車において第2コントローラに対してパラメータ調整を行うことができるため、シミュレータと実車との間で往復して切り替えてコントローラをデバッグするコストを低減可能であるとともに、パラメータ調整後の第2コントローラをより現実シーンに適用させることができる。 According to the implementation method, by controlling the running of the smart device in the first mode based on the third control data, it is possible to perform parameter adjustment for the second controller in the actual vehicle. It is possible to reduce the cost of debugging the controller by switching back and forth between the controller and the actual vehicle, and the second controller after parameter adjustment can be more applied to the actual scene.

1つの可能な実現方式において、前記第3制御データに基づいて、第1モードである前記スマート機器の走行を制御した後、前記方法は、前記第1モードである前記スマート機器が走行において発生した実軌跡データを取得するステップと、前記第2参照軌跡データ及び前記実軌跡データに応じて、前記第2コントローラのパラメータを調整するステップとを更に含む。 In one possible implementation, after controlling the driving of the smart device in the first mode according to the third control data, the method includes: Further comprising obtaining actual trajectory data and adjusting parameters of the second controller according to the second reference trajectory data and the actual trajectory data.

実軌跡データは、実軌跡及び実軌跡上の複数の点の速度を含んでもよい。第2参照軌跡データ及び実軌跡データに基づいて、両者間の向き誤差、横方向軌跡誤差及び縦方向速度誤差を特定可能であるため、両者間の向き誤差、横方向軌跡誤差及び縦方向速度誤差に基づいて、第2コントローラのパラメータを調整することができる。 The actual trajectory data may include the actual trajectory and the velocities of a plurality of points on the actual trajectory. Based on the second reference trajectory data and the actual trajectory data, it is possible to identify the orientation error, the lateral trajectory error and the longitudinal velocity error between the two. A parameter of the second controller can be adjusted based on.

当該実現方式では、前記実軌跡データと前記第2参照軌跡データとの差分に基づいて前記第2コントローラのパラメータを調整することにより、第2コントローラをより正確にスマート機器に適応させることができるため、より正確な制御及びより安全且つ快適な運転体験を実現する。 In this implementation method, by adjusting the parameters of the second controller based on the difference between the actual trajectory data and the second reference trajectory data, the second controller can be more accurately adapted to the smart device. , to achieve more precise control and a safer and more comfortable driving experience.

1つの可能な実現方式において、前記スマート機器は、スマートモバイル機器を含み、前記制御データは、ハンドルステアリングデータ、アクセルデータ、ブレーキデータ及び指示ランプデータのうちの少なくとも1つを含む。 In one possible implementation, the smart device includes a smart mobile device, and the control data includes at least one of steering data, accelerator data, braking data and indicator lamp data.

当該実現方式において、ハンドルステアリングデータは、ハンドル回転角度、回転数、回転方向等のうちの一項又は複数項の組み合わせを含んでもよい。アクセルデータは、アクセル大きさ、アクセル速度等のうちの一項又は複数項の組み合わせを含んでもよい。アクセル大きさは、最大アクセル量に対する百分率等の方式で示されてもよい。ブレーキデータは、ブレーキ強さ、ブレーキ速度等のうちの一項又は複数項の組み合わせを含んでもよい。ブレーキ強さは、最大ブレーキ強さに対する百分率等の方式で示されてもよい。指示ランプデータは、指示ランプタイプ、時間長等のうちの一項又は複数項の組み合わせを含んでもよい。当該実現方式によると、スマートモバイル機器に対する精確な自動制御は、実現することができる。 In this implementation, the steering wheel steering data may include one or more of the steering wheel rotation angle, number of rotations, direction of rotation, and so on. The accelerator data may include one or a combination of multiple items of accelerator magnitude, accelerator speed, and the like. The accelerator magnitude may be expressed in a manner such as a percentage of the maximum accelerator amount. The brake data may include one or a combination of terms of brake strength, brake speed, and the like. Brake strength may be indicated in a formula such as percentage of maximum brake strength. The indicator lamp data may include one or more combinations of indicator lamp type, length of time, and the like. According to this implementation scheme, precise automatic control for smart mobile devices can be achieved.

1つの可能な実現方式において、前記第3制御データに基づいて、第1モードである前記スマート機器の走行を制御することは、前記第1制御データと前記第2制御データとの差分が所定条件を満たすことに応じて、前記第3制御データに基づいて、第1モードである前記スマート機器の走行を制御することを含む。前記所定条件は、前記第1制御データのうちの第1目標制御データと前記第2制御データのうちの第2目標制御データとの差分が閾値範囲に属することを含み、前記第1目標制御データと前記第2目標制御データとのタイプは、同じである。 In one possible implementation, controlling the driving of the smart device in the first mode based on the third control data is such that the difference between the first control data and the second control data satisfies a predetermined condition. controlling travel of the smart device in the first mode based on the third control data in response to satisfying: The predetermined condition includes that a difference between first target control data of the first control data and second target control data of the second control data belongs to a threshold range, and the first target control data and the type of the second target control data are the same.

当該実現方式において、第1目標制御データは、第1制御データのうちの1つ又は複数のタイプのデータを含んでもよく、それ相応に、第2目標制御データは、第2制御データのうちの1つ又は複数のタイプのデータを含んでもよい。ただし、第1目標制御データと第2目標制御データとに含まれるデータタイプは、同じである。例えば、第1目標制御データは、第1制御データのうちのハンドルステアリングデータ、アクセルデータ及びブレーキデータを含み、第2目標制御データは、第2制御データのうちのハンドルステアリングデータ、アクセルデータ及びブレーキデータを含む。更に例えば、第1目標制御データは、第1制御データのうちのハンドルステアリングデータ、アクセルデータ、ブレーキデータ及び指示ランプデータを含み、第2目標制御データは、第2制御データのうちのハンドルステアリングデータ、アクセルデータ、ブレーキデータ及び指示ランプデータを含む。 In such implementations, the first target control data may include one or more types of data of the first control data, and correspondingly, the second target control data includes It may contain one or more types of data. However, the data types included in the first target control data and the second target control data are the same. For example, the first target control data includes steering wheel data, accelerator data and brake data among the first control data, and the second target control data includes steering wheel data, accelerator data and brake data among the second control data. Contains data. Further, for example, the first target control data includes steering wheel data, accelerator data, brake data, and indicator lamp data among the first control data, and the second target control data includes steering wheel steering data among the second control data. , accelerator data, brake data and indicator lamp data.

当該実現方式において、閾値範囲は、1つのパラメータを閾値としてもよい。前記第1制御データのうちの第1目標制御データと前記第2制御データのうちの第2目標制御データとの差分が当該閾値以下である場合に、所定条件を満たす。又は、閾値範囲は、2つの閾値を上下限値としてもよい。前記第1制御データのうちの第1目標制御データと前記第2制御データのうちの第2目標制御データとの差分が当該閾値範囲に属する場合に、所定条件を満たす。 In this implementation scheme, the threshold range may be one parameter as the threshold. A predetermined condition is satisfied when the difference between the first target control data of the first control data and the second target control data of the second control data is equal to or less than the threshold. Alternatively, the threshold range may have two thresholds as upper and lower limits. A predetermined condition is satisfied when the difference between the first target control data of the first control data and the second target control data of the second control data belongs to the threshold range.

当該実現方式の一例示として、第1目標制御データは、第1制御データのうちのハンドルステアリングデータ、アクセルデータ、ブレーキデータ及び指示ランプデータのうちの少なくとも1つを含み、第2目標制御データは、第2制御データのうちのハンドルステアリングデータ、アクセルデータ、ブレーキデータ及び指示ランプデータのうちの少なくとも1つを含む。所定条件は、前記第1制御データのうちのハンドルステアリングデータと前記第2制御データのうちのハンドルステアリングデータとの差分が第1閾値以下であることと、前記第1制御データのうちのアクセルデータと前記第2制御データのうちのアクセルデータとの差分が第2閾値以下であることと、前記第1制御データのうちのブレーキデータと前記第2制御データのうちのブレーキデータとの差分が第3閾値以下であることと、前記第1制御データのうちの指示ランプデータと前記第2制御データのうちの指示ランプデータとの差分が第4閾値以下であることと、の少なくとも1つを含む。 As an example of the implementation method, the first target control data includes at least one of steering data, accelerator data, brake data, and indicator lamp data among the first control data, and the second target control data includes , at least one of steering data, accelerator data, brake data and indicator lamp data of the second control data. The predetermined conditions are that a difference between the steering wheel data in the first control data and the steering wheel steering data in the second control data is equal to or less than a first threshold, and the accelerator data in the first control data. and the accelerator data of the second control data is equal to or less than a second threshold, and the difference between the brake data of the first control data and the brake data of the second control data is the first and at least one of a difference between indicator lamp data in the first control data and indicator lamp data in the second control data being equal to or smaller than a fourth threshold. .

当該実現方式において、前記第2コントローラを前記スマート機器の現在コントローラとすることにより、前記第3制御データに基づいて、第1モードである前記スマート機器の走行を制御してもよい。例えば、スイッチャを介して前記第2コントローラを前記スマート機器の現在コントローラとしてもよい。 In this implementation method, the second controller may be the current controller of the smart device, and the smart device may be controlled to run in the first mode based on the third control data. For example, the second controller may be the current controller of the smart device via a switcher.

当該実現方式において、指示ランプデータにおける指示ランプタイプ、時間長を等量化することにより、前記第1制御データのうちの指示ランプデータと前記第2制御データのうちの指示ランプデータとの差分を取得してもよい。 In this implementation method, the difference between the indicator lamp data in the first control data and the indicator lamp data in the second control data is obtained by equalizing the indicator lamp type and the time length in the indicator lamp data. You may

当該実現方式では、前記第1制御データと前記第2制御データとの差分が所定条件を満たす場合に前記第2コントローラから出力された第3制御データに基づいてスマート機器の走行を制御することにより、スマート機器(例えば、車両)の暴走のリスクを低減し、第2コントローラのパラメータ配置の不当による潜在的な交通事故の安全リスクを低減することができる前提の下で、第2コントローラの調整後のパラメータをより現実シーンに適用させることができる。 In this implementation method, when the difference between the first control data and the second control data satisfies a predetermined condition, the running of the smart device is controlled based on the third control data output from the second controller. , under the premise that it can reduce the risk of runaway of smart devices (e.g., vehicles) and reduce the safety risk of potential traffic accidents due to the unreasonable setting of the parameters of the second controller, after adjusting the second controller parameters can be applied to a more realistic scene.

当該実現方式において、第1制御データと第2制御データとの差分が所定条件を満たす場合に、第2コントローラのパラメータが比較的に信頼できると判定してもよい。 In this implementation method, it may be determined that the parameters of the second controller are relatively reliable when the difference between the first control data and the second control data satisfies a predetermined condition.

1つの可能な実現方式において、前記第1コントローラは、車両動力学モデルを含まないコントローラであり、前記第2コントローラは、車両動力学モデルを含むコントローラである。 In one possible implementation, the first controller is a controller that does not include a vehicle dynamics model and the second controller is a controller that includes a vehicle dynamics model.

例えば、第1コントローラは、PI(P:Proportional、比例、I:Integral、積分)ベースのコントローラ又はPID(P:Proportional、比例、I:Integral、積分、D:Derivative、微分)ベースのコントローラ等であってもよく、第2コントローラは、MPC(Model Predictive Control、モデル予測制御)ベースのコントローラ又はLQR(Linear Quadratic Regulator、線形二次レギュレータ)ベースのコントローラ等であってもよい。 For example, the first controller is a PI (P: Proportional, I: Integral, integral) based controller or a PID (P: Proportional, I: Integral, D: Derivative, differential) based controller, etc. The second controller may be an MPC (Model Predictive Control) based controller or an LQR (Linear Quadratic Regulator) based controller, or the like.

当該実現方式において、第2コントローラは、車両動力学モデル、即ち、動力学自転車モデル(Dynamic Bicycle Model)に基づいている。車両動力学モデルは、車両運動挙動を動的にモデル化可能であり、一連の合理な仮定(例えば、小角度仮定、誤差(error)に基づくモデリングは、直接参照角度及び参照位置に基づくモデリングよりも、モデル線形化に有利である)により、非線形モデルを線形モデルとして簡素化し、当該モデルは、車両の未来の有限な時間内の挙動又は走行軌跡を予測するために用いられる。 In this implementation, the second controller is based on a vehicle dynamics model, ie a Dynamic Bicycle Model. A vehicle dynamics model can dynamically model vehicle kinematic behavior, and modeling based on a set of reasonable assumptions (e.g., small angle assumptions, error) is better than modeling based on direct reference angles and reference positions. is also advantageous for model linearization), simplifies the nonlinear model into a linear model, which is used to predict the future finite time behavior or driving trajectory of the vehicle.

上記実現方式によると、車両動力学モデルを含まないコントローラを参照コントローラとし、車両動力学モデルを含むコントローラを調整されるコントローラとし、車両動力学モデルを含むコントローラのために、信頼できるパラメータを正確的且つ効率的で低コストで見つけ出すことができるため、後で更に車両動力学モデルを含むコントローラに対してパラメータ調整を行うときに、スマート機器(例えば、車両)の暴走のリスクを低減可能であり、車両動力学モデルを含むコントローラのパラメータ配置の不当による潜在的な交通事故の安全リスクを低減することができる。これにより、現場のデバッグエンジニアが大規模な実車コントローラの性能テスト仕事を行うことは、便利になる。 According to the above implementation scheme, the controller without the vehicle dynamics model is the reference controller, the controller with the vehicle dynamics model is the controller to be tuned, and the controller with the vehicle dynamics model is the controller to which the reliable parameters are accurately calculated. and can be found efficiently and at low cost, so that the risk of runaway of smart devices (e.g., vehicles) can be reduced later when further parameter adjustments are made to the controller, including the vehicle dynamics model; Potential traffic accident safety risks due to incorrect parameterization of the controller, including the vehicle dynamics model, can be reduced. This makes it convenient for field debugging engineers to perform large-scale real-vehicle controller performance testing tasks.

図2は、本発明の実施例におけるPIDベースのコントローラ(PIDコントローラ)の模式図を示す。PIDベースのコントローラは、縦方向速度閉ループ制御及び横方向位置閉ループ制御を実現可能である。これにより、無人車に対する自動運転は、実現される。図2に示すフィードバック制御の他に、PIDベースのコントローラは、フィードフォワード制御を更に含む。図2に示すように、PIDベースのコントローラは、軌跡計画モジュールから出力された第1参照軌跡データと車の第1状態データとの間の誤差(error)に基づいて第1制御データを出力することで車の走行を制御してもよい。 FIG. 2 shows a schematic diagram of a PID-based controller (PID controller) in an embodiment of the invention. A PID-based controller can provide longitudinal velocity closed-loop control and lateral position closed-loop control. As a result, automatic driving of an unmanned vehicle is realized. Besides the feedback control shown in FIG. 2, the PID-based controller also includes feedforward control. As shown in FIG. 2, the PID-based controller outputs first control data based on the error between the first reference trajectory data output from the trajectory planning module and the first state data of the vehicle. can control the running of the car.

図3は、本発明の実施例におけるPIDベースのコントローラのコアユニットの模式図を示す。図3に示すように、PIDベースのコントローラは、3つのパラメータを調節するだけで制御タスクを完了することができる。この3つのパラメータは、それぞれ比例項Kp、積分項Ki及び微分項Kdである。自動運転システムにおいて、PIベースのコントローラは、一般的にシステムの制御要求を満足することできる。即ち、Kpによって自動運転システムに直ちにレスポンスさせ、Kiによって自動運転システムにおける定常誤差を解消する。 FIG. 3 shows a schematic diagram of a core unit of a PID-based controller in an embodiment of the invention. As shown in FIG. 3, the PID-based controller can complete the control task by adjusting only three parameters. These three parameters are the proportional term Kp, the integral term Ki and the differential term Kd respectively. In autonomous driving systems, PI-based controllers are generally able to meet the control requirements of the system. That is, Kp causes the automatic driving system to respond immediately, and Ki cancels the steady-state error in the automatic driving system.

図4は、本発明の実施例においてPIDベースのコントローラの3つのパラメータによって調節された後の制御効果の模式図を示す。図4において、直線41は、参照軌跡であり、42は、制御なしでの実軌跡であり、43は、PIDベースのコントローラの制御での実軌跡である。PIDベースのコントローラがKp及びKiとの2つのパラメータを調節するだけで無人車に対する自動制御を完了可能であり、且つ非常に容易にデバッグされ得るため、本発明の実施例では、PIベースのコントローラを車両動力学モデルを含む第2コントローラによるパラメータ配置を指導するための参照コントローラとしてもよい。本発明の実施例において、手動パラメータ調整によってPIベースのコントローラへ適切なパラメータを選択してもよく、関連技術における自動パラメータ調整方法を用いてPIベースのコントローラへ適切なパラメータを選択してもよい。 FIG. 4 shows a schematic diagram of the control effect after being adjusted by the three parameters of the PID-based controller in an embodiment of the present invention. In FIG. 4, line 41 is the reference trajectory, 42 is the actual trajectory without control, and 43 is the actual trajectory under control of the PID-based controller. Since a PID-based controller can complete automatic control over an unmanned vehicle just by adjusting two parameters, Kp and Ki, and can be debugged very easily, in the embodiment of the present invention, a PI-based controller may be used as a reference controller for guiding parameterization by a second controller that includes a vehicle dynamics model. In embodiments of the present invention, appropriate parameters for the PI-based controller may be selected by manual parameter tuning, or automatic parameter tuning methods in related art may be used to select appropriate parameters for the PI-based controller. .

図5は、本発明の実施例におけるMPCベースのコントローラ(MPCコントローラ)の模式図を示す。MPCベースのコントローラは、縦方向速度閉ループ制御及び横方向位置閉ループ制御を実現可能である。これにより、無人車に対する自動運転は、実現される。図5に示すフィードバック制御の他に、MPCベースのコントローラは、フィードフォワード制御を更に含む。図5に示すように、MPCベースのコントローラは、軌跡計画モジュールから出力された第1参照軌跡データと車の第1状態データとの間の誤差(error)に基づいて第2制御データを出力し、又は、軌跡計画モジュールから出力された第2参照軌跡データと車の第2状態データとの間の誤差に基づいて第3制御データを出力することにより、車を制御してもよい。 FIG. 5 shows a schematic diagram of an MPC-based controller (MPC controller) in an embodiment of the invention. MPC-based controllers are capable of longitudinal velocity closed-loop control and lateral position closed-loop control. As a result, automatic driving of an unmanned vehicle is realized. Besides the feedback control shown in FIG. 5, the MPC-based controller also includes feedforward control. As shown in FIG. 5, the MPC-based controller outputs second control data based on the error between the first reference trajectory data output from the trajectory planning module and the first state data of the vehicle. Alternatively, the vehicle may be controlled by outputting third control data based on the error between the second reference trajectory data output from the trajectory planning module and the second state data of the vehicle.

図6は、本発明の実施例におけるMPCベースのコントローラのコアユニットの模式図を示す。図6に示すように、MPCベースのコントローラは、車両動力学モデルとオプティマイザとの2つのコアユニットを含む。車両動力学モデルは、車両の未来の可能な走行軌跡を予測し、オプティマイザは、1つの最適化問題を解き、複数の候補予測軌跡から目標関数Jが最小となる軌跡を見つけ出し、第2制御データ又は第3制御データを取得する。これにより、MPCベースのコントローラが最大可能で車両を駆動して第1参照軌跡データ又は第2参照軌跡データに近接させることは、確保される。 FIG. 6 shows a schematic diagram of the core unit of the MPC-based controller in an embodiment of the invention. As shown in FIG. 6, the MPC-based controller includes two core units: a vehicle dynamics model and an optimizer. The vehicle dynamics model predicts possible future driving trajectories of the vehicle, the optimizer solves one optimization problem, finds the trajectory that minimizes the objective function J from multiple candidate predicted trajectories, and uses the second control data Or acquire the third control data. This ensures that the MPC-based controller drives the vehicle as close as possible to the first reference trajectory data or the second reference trajectory data.

図7は、本発明の実施例のMPCベースのコントローラにおける車両動力学モデルの模式図を示す。図7において、71は、車を表し、上方が車頭であり、下方が車尾である。第1参照軌跡データ又は第2参照軌跡データにおける参照軌跡上の参照点の向きと車頭現在向きとの差分に基づいて、ステアリング誤差e1を取得してもよい。車の現在位置(例えば、車の幾何中心点)と参照点の接線との間の最小距離に基づいて、横方向軌跡誤差e2を取得してもよい。例えば、横方向軌跡誤差e2は、車の現在位置と参照点の接線との間の最小距離に等しくてもよい。第1参照軌跡データ又は第2参照軌跡データにおける参照速度と車の実速度との間の差分に基づいて、縦方向速度(Lon Velocity)誤差e3を取得してもよい。図7において、

Figure 2022538275000002
は、e1の微分を表し、
Figure 2022538275000003
は、e1の二次微分を表し、e2及びe3は、これと類似する。本発明の実施例におけるMPCベースのコントローラは、車両動力学モデルに基づいて、車両運動挙動を動的にモデル化し、一連の合理的な仮定により、非線形モデルを図7に示す線形モデルとして簡素化してもよい。当該モデルは、車両の未来の有限な時間内の挙動又は走行軌跡を予測する。図7において、ST(steer)は、ハンドルステアリングデータ(例えば、ハンドル回転角度)を表し、TH(throttle)は、アクセルデータ(例えば、最大アクセル量に対する百分率)を表し、BR(brake)は、ブレーキデータ(例えば、最大ブレーキ強さに対する百分率)を表す。 FIG. 7 shows a schematic diagram of a vehicle dynamics model in the MPC-based controller of an embodiment of the invention. In FIG. 7, 71 represents a car, the top is the head of the car, and the bottom is the tail. The steering error e1 may be obtained based on the difference between the orientation of the reference point on the reference trajectory in the first reference trajectory data or the second reference trajectory data and the current vehicle head orientation. A lateral trajectory error e2 may be obtained based on the minimum distance between the current position of the car (eg, the geometric center point of the car) and the tangent to the reference point. For example, the lateral trajectory error e2 may be equal to the minimum distance between the current position of the car and the tangent to the reference point. A longitudinal velocity (Lon Velocity) error e3 may be obtained based on the difference between the reference velocity in the first reference trajectory data or the second reference trajectory data and the actual velocity of the vehicle. In FIG. 7,
Figure 2022538275000002
represents the derivative of e1, and
Figure 2022538275000003
represents the second derivative of e1, and e2 and e3 are analogous to this. The MPC-based controller in an embodiment of the present invention dynamically models the vehicle dynamics behavior based on the vehicle dynamics model, and through a set of reasonable assumptions, simplifies the nonlinear model into the linear model shown in FIG. may The model predicts the future finite time behavior or trajectory of the vehicle. In FIG. 7, ST (steer) represents steering wheel steering data (e.g., steering wheel rotation angle), TH (throttle) represents accelerator data (e.g., percentage of maximum accelerator amount), and BR (brake) represents braking. Represents data (e.g. percentage of maximum brake strength).

図8Cは、本発明の実施例のMPCベースのコントローラにおけるコアユニットの目標関数最適化の模式図を示す。図8Cにおいて、ΔSTは、隣接する2つの時点の間でのST(ハンドルステアリングデータ)の変化量を表し、ΔTHは、隣接する2つの時点の間でのTH(アクセルデータ)の変化量を表し、ΔBRは、隣接する2つの時点の間でのBR(ブレーキデータ)の変化量を表す。図8Cは、目標関数

Figure 2022538275000004
を示す。ベクトル化後の目標関数は、
Figure 2022538275000005
となる。ただし、
Figure 2022538275000006
である。ベクトル化された目標関数から分かるように、MPCベースのコントローラが配置すべきパラメータは、8つある。その中、Qベクトルは、配置すべきパラメータを6つ含み、それらは、それぞれq1、q2、q3、q4、q5及びq6である。Rベクトルは、配置すべきパラメータを2つ含み、それらは、それぞれr1及びr2である。図8Aは、車の予測軌跡の車道における位置の模式図を示し、図8Aは、車道の中心線の位置及び予測範囲を更に示す。予測軌跡は、予測された制御動作シーケンス(制御動作データは、ハンドルステアリングデータ、アクセルデータ、ブレーキデータ、指示ランプデータのうちの少なくとも1項を含んでもよい)を実行して生成された軌跡である。図8Bは、t+1時点~t+7時点の横方向軌跡誤差ctet+1~ctet+7(即ち、e2)の模式図を示す。横座標は、時間であり、縦座標は、距離である。それ相応に、t+1時点~t+7時点の向き誤差e1は、それぞれhet+1~het+7と示されてもよく、t+1~t+7時点の縦方向速度誤差e3は、それぞれvet+1~vet+7と示されてもよい。 FIG. 8C shows a schematic diagram of the core unit objective function optimization in the MPC-based controller of an embodiment of the present invention. In FIG. 8C, ΔST represents the amount of change in ST (steering data) between two adjacent time points, and ΔTH represents the amount of change in TH (accelerator data) between two adjacent time points. , ΔBR represent the amount of change in BR (brake data) between two adjacent time points. FIG. 8C is the objective function
Figure 2022538275000004
indicates The objective function after vectorization is
Figure 2022538275000005
becomes. however,
Figure 2022538275000006
is. As can be seen from the vectorized objective function, there are eight parameters that the MPC-based controller should deploy. Among them, the Q-vector contains 6 parameters to be placed, which are q1, q2, q3, q4, q5 and q6 respectively. The R vector contains two parameters to be placed, r1 and r2 respectively. FIG. 8A shows a schematic diagram of the position of the predicted trajectory of the vehicle on the roadway, and FIG. 8A further shows the position and predicted range of the centerline of the roadway. A predicted trajectory is a trajectory generated by executing a predicted control action sequence (the control action data may include at least one of steering data, accelerator data, brake data, and indicator lamp data). . FIG. 8B shows a schematic diagram of the lateral trajectory errors cte t+1 to cte t+7 (ie, e2) from time t+1 to time t+7. The abscissa is time and the ordinate is distance. Correspondingly, the orientation errors e1 at times t+1 to t+7 may be denoted he t+1 to he t+7 , respectively, and the longitudinal velocity errors e3 at times t+1 to t+7 may be denoted ve t+1 to ve t+7 , respectively. good too.

図9は、本発明の実施例におけるMPCベースのコントローラの最適化過程の模式図を示す。図9に示すように、MPCベースのコントローラのパラメータ配置の目標は、Jを最小にすることである。Q及びRが配置された後、パラメータ調整により、MPCベースのコントローラは、図9に示す方式で潜在的な制御動作シーケンスに対して軌跡予測及び評価(目標関数Jの算出)を行うことにより、最良の制御動作シーケンスを第2制御データ又は第3制御データとして取得してもよい。図9は、J=50、J=30及びJ=10であるときにおける車の予測軌跡の模式図を示す。図9に示すように、J=10であるときに、車の予測軌跡が車道の中心線に最も近接するため、J=10に対応する制御動作シーケンスは、最良の制御動作シーケンスとなる。 FIG. 9 shows a schematic diagram of the optimization process of an MPC-based controller in an embodiment of the invention. The goal of the parameterization of MPC-based controllers is to minimize J, as shown in FIG. After Q and R are located, parameter tuning causes the MPC-based controller to perform trajectory prediction and evaluation (computation of objective function J) for potential control motion sequences in the manner shown in FIG. The best control operation sequence may be obtained as the second control data or the third control data. FIG. 9 shows a schematic diagram of the predicted trajectory of the car when J=50, J=30 and J=10. As shown in FIG. 9, when J=10, the predicted trajectory of the vehicle is closest to the centerline of the roadway, so the control action sequence corresponding to J=10 is the best control action sequence.

通常の場合に、車両動力学モデルを含むコントローラの調整すべきパラメータの数は、車両動力学モデルを含まないコントローラの調整すべきパラメータの数よりも大きい。例えば、PIベースのコントローラの調整すべきパラメータは、2つあり、それぞれ比例項(K)及び積分項(K)である。モデルなしのPIコントローラは、簡単であってデバッグされやすいが、制御の正確性が足りない。その一方、MPCベースのコントローラ等の車両動力学モデルを含むコントローラは、車両動力学挙動をモデル化し、車両の未来の運動軌跡をより正確に描くことができる。本発明の実施例では、車両動力学モデルを含むコントローラ(第2コントローラ)を介して無人車に対して挙動モデル化を行い、更に、より精確な自動制御効果を得ることができる。しかし、車両動力学モデルを含むコントローラは、通常、複数のパラメータを含む。例えば、MPCベースのコントローラは、8つの調整すべきパラメータを含む。その中、6つの調整すべきパラメータは、システム状態(向き誤差、横方向軌跡誤差、縦方向速度誤差)を調節し、2つの調整すべきパラメータは、システム入力(ハンドルステアリング角度(ハンドル操舵角度)、アクセル量又はブレーキ量)を調節する。8つのパラメータのデバッグ難易度が一般的に2つのパラメータのデバッグ難易度よりも大きいため、本発明に係る方法では、PIDコントローラを参照コントローラとし、第1制御データ及び第2制御データに基づいてMPCコントローラの調整すべきパラメータを調整する。MPCコントローラの調整すべきパラメータの調整が完了される前に、相変わらずPIDコントローラを現在コントローラとして無人車の走行を制御する。これにより、調整が完了されていないMPCコントローラの使用による潜在的な交通事故は、減少することができる。 Usually, the number of parameters to be adjusted for a controller that includes a vehicle dynamics model is greater than the number of parameters to be adjusted for a controller that does not include a vehicle dynamics model. For example, there are two parameters to adjust for a PI-based controller, a proportional term (K p ) and an integral term (K i ), respectively. A PI controller without a model is simple and easy to debug, but lacks control accuracy. On the other hand, a controller that includes a vehicle dynamics model, such as an MPC-based controller, can model the vehicle dynamics behavior and more accurately describe the future motion trajectory of the vehicle. In an embodiment of the present invention, behavior modeling is performed on the unmanned vehicle through a controller (second controller) that includes a vehicle dynamics model, and a more accurate automatic control effect can be obtained. However, controllers that include vehicle dynamics models typically include multiple parameters. For example, an MPC-based controller contains eight parameters to adjust. Among them, 6 parameters to be adjusted adjust the system state (orientation error, lateral trajectory error, longitudinal velocity error), and 2 parameters to be adjusted are the system input (steering angle) , acceleration amount or brake amount). Since the debug difficulty of 8 parameters is generally greater than the debug difficulty of 2 parameters, the method according to the present invention takes the PID controller as the reference controller, and based on the first control data and the second control data, MPC Adjust the parameters to be adjusted in the controller. Before the adjustment of the parameters to be adjusted by the MPC controller is completed, the PID controller is still used as the current controller to control the driving of the unmanned vehicle. This can reduce potential traffic accidents due to the use of an untuned MPC controller.

図10は、本発明の実施例に係る自動運転システムのアーキテクチャ全体の模式図を示す。図10に示すように、軌跡計画モジュールを介して参照軌跡データ(例えば、第1参照軌跡データ、第2参照軌跡データ)を出力し、バス(読取バス)を介して車の状態データ(例えば、第1状態データ、第2状態データ)を読み取る。コントローラ(第1コントローラ及び/又は第2コントローラ)は、参照軌跡データと車の状態データとの差分に基づいて制御データ(第1コントローラは、第1制御データを出力し、第2コントローラは、第2制御データ及び/又は第3制御データを出力する)を出力する。バス(書込バス)を介して制御データを車に書き込むことにより、車に対する閉ループ制御が実現され、車の走行が駆動される。 FIG. 10 shows a schematic diagram of the overall architecture of an automated driving system according to an embodiment of the present invention. As shown in FIG. 10, reference trajectory data (eg, first reference trajectory data, second reference trajectory data) is output via the trajectory planning module, and vehicle status data (eg, first state data, second state data). The controller (the first controller and/or the second controller) outputs control data (the first controller outputs the first control data, the second controller outputs the second 2 control data and/or output the third control data). By writing control data to the car via a bus (write bus), closed-loop control for the car is realized and the car is driven to run.

図11は、本発明の実施例において参照コントローラを用いて、調整されるコントローラによるパラメータ配置を指導する模式図を示す。図11に示すように、参照コントローラは、PIDベースのコントローラ等であってもよく、調整されるコントローラは、LQRベースのコントローラ又はMPCベースのコントローラ等であってもよく、参照コントローラは、調整されるコントローラがパラメータ(例えば、Qベクトル、Rベクトル等)を配置することを指導してもよい。例えば、第1制御データと第2制御データのうちのハンドルステアリングデータとの差分に基づいてr1を調節してもよく、第1制御データと第2制御データのうちのアクセルデータ又はブレーキデータとの差分に基づいてr2を調節し、向き誤差e1に基づいてq1及びq2を調節し、横方向軌跡誤差e2に基づいてq3及びq4を調節し、縦方向速度誤差e3に基づいてq5及びq6を調節してもよい。 FIG. 11 shows a schematic diagram of using a reference controller to guide parameter placement by a tuned controller in an embodiment of the present invention. As shown in FIG. 11, the reference controller may be a PID-based controller or the like, the regulated controller may be a LQR-based controller or an MPC-based controller, or the like, and the reference controller may be a regulated controller. A controller may direct the placement of the parameters (eg, Q vector, R vector, etc.). For example, r1 may be adjusted based on the difference between the steering data of the first control data and the steering data of the second control data. Adjust r2 based on the difference, adjust q1 and q2 based on orientation error e1, adjust q3 and q4 based on lateral trajectory error e2, and adjust q5 and q6 based on longitudinal velocity error e3. You may

図12は、本発明の実施例に係るコントローラのパラメータ配置のフローの模式図を示す。図12に示すように、自動運転システムが起動された後、第1コントローラ(車両動力学モデルを含まないコントローラ、例えばPIベースのコントローラ)と第2コントローラ(車両動力学モデルを含むコントローラ、例えばLQRベースのコントローラ又はMPCベースのコントローラ)は、動作を同時に開始してもよい。スイッチャをオンにして、第1コントローラを選択して無人車の現在コントローラとして使用する。即ち、第1コントローラから出力された第1制御データを車両アクチュエータに配信して無人車の走行を駆動する。第1コントローラを無人車の現在コントローラとする過程において、比例項及び積分項の値を調整することにより、第1コントローラが直線及カーブでの無人車に対する正確な制御を完了できるようにする。即ち、第1コントローラから出力された制御データは、無人車を駆動して参照軌跡を正しく追跡させ得るようにできる。一旦第1コントローラが成功して自動運転システムにマッチングした(即ち、第1コントローラの制御の下で、無人車が参照軌跡を正しく追跡できる)後、それから出力された第1制御データは、参照制御データとして思われてもよい。当該参照制御データにより、無人車は、通常の自動運転タスクを正確に完了することができる。 FIG. 12 shows a schematic diagram of a flow of parameterization of a controller according to an embodiment of the present invention. As shown in FIG. 12, after the automated driving system is activated, a first controller (a controller that does not include a vehicle dynamics model, such as a PI-based controller) and a second controller (a controller that includes a vehicle dynamics model, such as an LQR controller) base controller or MPC-based controller) may begin operation simultaneously. Turn on the switcher and select the first controller to use as the current controller for the unmanned vehicle. That is, the first control data output from the first controller is distributed to the vehicle actuator to drive the unmanned vehicle. In the process of making the first controller the current controller of the unmanned vehicle, the values of the proportional term and the integral term are adjusted so that the first controller can complete accurate control of the unmanned vehicle on straight lines and curves. That is, the control data output from the first controller can drive the unmanned vehicle to correctly track the reference trajectory. Once the first controller successfully matches the automatic driving system (that is, the unmanned vehicle can track the reference trajectory correctly under the control of the first controller), the first control data output from it is the reference control can be thought of as data. Such reference control data allows the driverless vehicle to accurately complete normal autonomous driving tasks.

第1コントローラが成功して自動運転システムにマッチングした後、比較器(Comparer)をオンにしてもよい。第1コントローラから出力された第1制御データと第2コントローラから出力された第2制御データとの差分を比較器によって比較し、且つ、配置後の第2コントローラから出力された第2制御データと第1コントローラから出力された第1制御データとの差分が最小となるように、第1制御データと第2制御データとの差分に基づいて第2コントローラのパラメータを配置する。第1制御データと第2制御データとの差分が所定条件を満たす場合に、第2コントローラが比較的に信頼できるパラメータを取得したと判定してもよい。例示として、MPCベースのコントローラのパラメータがQ=[0.0,0.0,1,0,0,1]、R=[0.4,0.8]であるときに、MPCベースのコントローラから出力された第2制御データは、PIベースのコントローラから出力された第1制御データに基本的に一致する。つまり、当該パラメータのMPCベースのコントローラを利用して、PIベースのコントローラと同様な軌跡追跡効果を奏することができる。 After the first controller successfully matches the autonomous driving system, the comparator may be turned on. A comparator compares the difference between the first control data output from the first controller and the second control data output from the second controller, and the second control data output from the arranged second controller is compared with the second control data output from the second controller. The parameters of the second controller are arranged based on the difference between the first control data and the second control data so that the difference from the first control data output from the first controller is minimized. If the difference between the first control data and the second control data satisfies a predetermined condition, it may be determined that the second controller has acquired relatively reliable parameters. As an illustration, when the parameters of the MPC-based controller are Q=[0.0,0.0,1,0,0,1] T , R=[0.4,0.8] T , the MPC-based The second control data output from the controller of the PI-based controller essentially matches the first control data output from the PI-based controller. In other words, an MPC-based controller for the parameter can be used to achieve the same trajectory tracking effect as a PI-based controller.

図13a~図13dは、本発明の実施例におけるMPCベースのコントローラの制御結果の模式図を示す。図13aは、参照軌跡とMPCベースのコントローラの制御での無人車の実軌跡との模式図を示す。図13aには、UTM(Universal Transverse Mercator grid system、ユニバーサル横メルカトル図法)座標系が採用されている。図13bは、参照縦方向速度とMPCベースのコントローラの制御での無人車の実縦方向速度との距離に対する模式図を示す。図13cは、車頭の参照向きとMPCベースのコントローラの制御での無人車の車頭の実向きとの模式図を示す。図13dは、参照のハンドルステアリング角度とMPCベースのコントローラの制御での無人車の実際のハンドルステアリング角度との模式図を示す。図13b~図13dにおける距離は、自動運転タスクの始点からの距離を表してもよい。図13a~図13dに示すように、MPCベースのコントローラは、パラメータ(Q=[0.0,0.0,1,0,0,1]、R=[0.4,0.8])に基づいて自動運転を完了した。評価データから見ると、当該パラメータにより、MPCベースのコントローラが基本的な自動運転タスクを安全で完了することを確保できるが、性能が更に向上する必要がある。 13a-13d show schematic diagrams of control results of an MPC-based controller in an embodiment of the present invention. FIG. 13a shows a schematic diagram of the reference trajectory and the actual trajectory of the unmanned vehicle under the control of an MPC-based controller. A UTM (Universal Transverse Mercator grid system) coordinate system is adopted in FIG. 13a. Figure 13b shows a schematic diagram of the distance between the reference longitudinal velocity and the actual longitudinal velocity of the unmanned vehicle under control of the MPC-based controller. FIG. 13c shows a schematic diagram of the reference heading orientation and the actual heading orientation of an unmanned vehicle under the control of an MPC-based controller. FIG. 13d shows a schematic diagram of the reference steering angle and the actual steering angle of the unmanned vehicle under the control of the MPC-based controller. The distances in Figures 13b-13d may represent the distance from the starting point of the autonomous driving task. As shown in FIGS. 13a-13d, the MPC-based controller has parameters (Q=[0.0,0.0,1,0,0,1] T , R=[0.4,0.8] T ) completed the automatic operation. In terms of evaluation data, the parameters can ensure that MPC-based controllers can safely complete basic autonomous driving tasks, but performance needs to be further improved.

図14は、本発明の実施例においてMPCベースのコントローラの制御での横方向軌跡誤差(CTE、Cross Track Error)、向き誤差及び縦方向速度誤差が時間とともに変化する模式図を示す。図14において、横座標は、時間であり、単位は、秒である。図14に示すように、横方向軌跡誤差が大きい。つまり、MPCベースのコントローラの横方向制御の正確度が足りない。これにより、無人車は、車道中線から外れて走行してしまう。MPCベースのコントローラの制御がより正確になるように、MPCベースのコントローラに対して更なるパラメータ調整を行ってもよい。本発明の実施例において、第1制御データ及び第2制御データに基づいて第2コントローラのパラメータを配置した後、スイッチャを介して第2コントローラを無人車の現在コントローラとし、第2コントローラを介して無人車を制御し、前記第2参照軌跡データ及び実軌跡データに基づいて、第2コントローラのパラメータを更に調整することにより、第2コントローラをより正確に自動運転システムに適応させることができる。横方向軌跡誤差が大きい問題について、MPCベースのコントローラのパラメータ(Q=[0.0,0.0,1,0,0,1]、R=[0.4,0.8])を調整してもよい。例示として、Q=[0.03,0.0,1,0,0,1]、R=[0.4,0.8]に調整してもよい。即ち、横方向軌跡誤差に対するペナルティ度合いを強めることにより、MPCベースのコントローラは、無人車を制御して車道中線に一層近接するように走行させることができる。 FIG. 14 shows a schematic diagram of cross track error (CTE), orientation error and longitudinal velocity error over time under control of an MPC-based controller in an embodiment of the present invention. In FIG. 14, the abscissa is time and the unit is seconds. As shown in FIG. 14, the lateral trajectory error is large. That is, the lateral control accuracy of MPC-based controllers is lacking. As a result, the unmanned vehicle runs off the center line of the roadway. Further parameter adjustments may be made to the MPC-based controller so that the control of the MPC-based controller is more precise. In an embodiment of the present invention, after configuring the parameters of the second controller according to the first control data and the second control data, through the switcher the second controller is the current controller of the unmanned vehicle, and through the second controller By controlling the unmanned vehicle and further adjusting the parameters of the second controller based on the second reference trajectory data and the actual trajectory data, the second controller can be more accurately adapted to the autonomous driving system. For problems with large lateral trajectory errors, the parameters of the MPC-based controller (Q=[0.0,0.0,1,0,0,1] T , R=[0.4,0.8] T ) may be adjusted. As an example, Q=[0.03,0.0,1,0,0,1] T and R=[0.4,0.8] T may be adjusted. That is, by increasing the degree of penalty for lateral trajectory error, an MPC-based controller can control an unmanned vehicle to drive closer to the roadway centerline.

図15は、本発明の実施例においてMPCベースのコントローラに対してパラメータ調整を行った後、MPCベースのコントローラの制御での横方向軌跡誤差、向き誤差及び縦方向速度誤差が時間とともに変化する模式図を示す。図15に示す例示において、MPCベースのコントローラに対してパラメータ調整を行った後、横方向軌跡誤差は、パラメータ調整前に対して50%程度下がった。図13dに示すように、MPCベースのコントローラから出力された実ハンドルステアリング角度は、参照のハンドルステアリング角度のばらつきよりも頻繁であり、方向ステアリングが滑らかでないため、乗り心地悪い運転体験をもたらす。MPCベースのコントローラのパラメータを更に調整することにより、それから出力された制御データにおけるハンドルステアリング角度の変化をより滑らかにしてもよい。 FIG. 15 is a schematic diagram of lateral trajectory error, orientation error and longitudinal velocity error over time under control of an MPC-based controller after parameter tuning for the MPC-based controller in an embodiment of the present invention. Figure shows. In the example shown in FIG. 15, after performing parameter tuning on the MPC-based controller, the lateral trajectory error was reduced by about 50% compared to before parameter tuning. As shown in Fig. 13d, the actual steering wheel angle output from the MPC-based controller is more frequent than the reference steering wheel angle variation, resulting in a rough driving experience due to the directional steering not being smooth. By further adjusting the parameters of the MPC-based controller, the steering angle changes in the control data output therefrom may be made smoother.

一例では、オートマ車をテストプラットフォームとして選択してもよい。平均車速は、20km/hであり、テストパスは、先にまっすぐ行って、左に曲がってまっすぐ行って、また右に曲がってまっすぐ行くことである。 In one example, an automatic vehicle may be selected as the test platform. The average vehicle speed is 20 km/h and the test path is to go straight ahead, turn left and go straight, turn right and go straight.

本発明の実施例は、自動運転システム、運転支援システム、自動駐車システム等の応用場面に適用可能であり、本発明の実施例ではこれについて限定しない。 Embodiments of the present invention can be applied to applications such as an automatic driving system, a driving assistance system, an automatic parking system, etc., and the embodiments of the present invention are not limited thereto.

本発明の実施例では、スマート機器の複数のコントローラのそれぞれから出力された制御データを取得し(ただし、前記複数のコントローラは、第1コントローラと第2コントローラとを含み、前記第1コントローラから出力された制御データは、第1制御データを含み、前記第2コントローラから出力された制御データは、第2制御データを含む)、前記第1制御データ及び前記第2制御データに基づいて前記第2コントローラのパラメータを配置することにより、第1コントローラを参照コントローラとし、第2コントローラを調整されるコントローラとし、第2コントローラのために、信頼できるパラメータを正確的且つ効果的で、低コストで見つけ出す。これにより、後で更に第2コントローラに対してパラメータ調整を行う際に、スマート機器(例えば、車両)の暴走のリスクを低減可能であり、第2コントローラのパラメータ配置の不当による潜在的な交通事故の安全リスクを低減することができる。 In an embodiment of the present invention, control data output from each of a plurality of controllers of a smart device is acquired (wherein the plurality of controllers includes a first controller and a second controller, and output from the first controller The control data output from the second controller includes first control data, and the control data output from the second controller includes second control data), the second control data based on the first control data and the second control data By locating the parameters of the controllers so that the first controller is the reference controller and the second controller is the controller to be adjusted, reliable parameters are found for the second controller accurately, effectively and at low cost. This can reduce the risk of runaway of the smart device (e.g., vehicle) when further adjusting parameters for the second controller later, and potential traffic accidents due to improper parameter allocation of the second controller. safety risks can be reduced.

理解できるように、本発明に言及された上記各方法実施例は、原理論理に反しない場合に、何れも互いに組み合わせられて組み合わせ後の実施例を形成してもよい。紙面の都合上から、本発明では繰り返し説明しない。 It will be appreciated that any of the above method embodiments referred to in the present invention may be combined with each other to form combined embodiments without contradicting the underlying logic. Due to space limitations, the description will not be repeated in the present invention.

当業者であれば理解できるように、具体的な実施形態の上記方法において、各ステップの記載順は、厳格な実行順を意味せず、実施手順について如何なる限定もなすことではない。各ステップの具体的な実行順は、その機能及び可能な内在論理で特定されるべきである。 As can be appreciated by those skilled in the art, in the above methods of specific embodiments, the order of steps does not imply a strict execution order and does not impose any limitations on the implementation procedure. The specific order of execution for each step should be specified in its function and possible underlying logic.

また、本発明は、パラメータ配置装置、電子機器、コンピュータ可読記憶媒体、プログラムを更に提供する。上記ものは、何れも本発明に係る何れかのパラメータ配置方法を実施するために用いられてもよい。対応する技術案及び記述は、方法部分の関連記載を参照すればよく、繰り返し説明しない。 Moreover, the present invention further provides a parameter allocation device, an electronic device, a computer-readable storage medium, and a program. Any of the above may be used to implement any parameter placement method according to the present invention. For the corresponding technical solutions and descriptions, please refer to the relevant descriptions in the method section and will not be repeated.

図16は、本発明の実施例に係るパラメータ配置装置のブロック図を示す。前記装置は、複数のコントローラを含むスマート機器に適用され、前記複数のコントローラは、第1コントローラと第2コントローラとを含む。図16に示すように、前記パラメータ配置装置は、第1取得モジュール21と配置モジュール22とを備える。第1取得モジュール21は、前記複数のコントローラのそれぞれから出力された制御データを取得し、前記第1コントローラから出力された制御データは、第1制御データを含み、前記第2コントローラから出力された制御データは、第2制御データを含む。配置モジュール22は、前記第1制御データ及び前記第2制御データに基づいて、前記第2コントローラのパラメータを配置する。 FIG. 16 shows a block diagram of a parameter locator according to an embodiment of the invention. The apparatus is applied to a smart device including a plurality of controllers, the plurality of controllers including a first controller and a second controller. As shown in FIG. 16, the parameter placement device comprises a first acquisition module 21 and a placement module 22 . A first acquisition module 21 acquires control data output from each of the plurality of controllers, wherein the control data output from the first controller includes first control data and is output from the second controller The control data includes second control data. A configuration module 22 configures parameters of the second controller based on the first control data and the second control data.

1つの可能な実現方式において、前記第1取得モジュール21は、第1参照軌跡データと、第1モードである前記スマート機器の第1状態データとを取得し、前記複数のコントローラを介して、前記第1参照軌跡データ及び前記第1状態データに基づいて、前記制御データを生成する。 In one possible implementation, the first acquisition module 21 acquires first reference trajectory data and first state data of the smart device that is in a first mode, and via the plurality of controllers, the The control data is generated based on the first reference trajectory data and the first state data.

1つの可能な実現方式において、前記装置は、前記第1制御データに基づいて第1モードである前記スマート機器の走行を制御するための第1制御モジュールを更に備える。 In one possible implementation, the device further comprises a first control module for controlling running of the smart device in a first mode based on the first control data.

1つの可能な実現方式において、前記装置は、第2参照軌跡データと第1モードである前記スマート機器の第2状態データとを取得するための第2取得モジュールと、前記第2コントローラを介して、前記第2参照軌跡データ及び前記第2状態データに基づいて、第3制御データを生成するための生成モジュールと、前記第3制御データに基づいて、第1モードである前記スマート機器の走行を制御するための第2制御モジュールと、を更に備える。 In one possible implementation, the device comprises a second acquisition module for acquiring second reference trajectory data and second state data of the smart device being in a first mode, and via the second controller: , a generation module for generating third control data based on the second reference trajectory data and the second state data; and a driving of the smart device in the first mode based on the third control data. and a second control module for controlling.

1つの可能な実現方式において、前記装置は、前記第1モードである前記スマート機器が走行において発生した実軌跡データを取得するための第3取得モジュールと、前記第2参照軌跡データ及び前記実軌跡データに応じて、前記第2コントローラのパラメータを調整するための調整モジュールと、を更に備える。 In one possible implementation, the device comprises a third acquisition module for acquiring actual trajectory data generated by the smart device in the first mode while driving, the second reference trajectory data and the actual trajectory and an adjustment module for adjusting parameters of the second controller in response to the data.

1つの可能な実現方式において、前記第1コントローラは、車両動力学モデルを含まないコントローラであり、前記第2コントローラは、車両動力学モデルを含むコントローラである。 In one possible implementation, the first controller is a controller that does not include a vehicle dynamics model and the second controller is a controller that includes a vehicle dynamics model.

1つの可能な実現方式において、前記スマート機器は、スマートモバイル機器を含み、前記制御データは、ハンドルステアリングデータ、アクセルデータ、ブレーキデータ及び指示ランプデータのうちの少なくとも1つを含む。 In one possible implementation, the smart device includes a smart mobile device, and the control data includes at least one of steering data, accelerator data, braking data and indicator lamp data.

1つの可能な実現方式において、前記第2制御モジュールは、前記第1制御データと前記第2制御データとの差分が所定条件を満たすことに応じて、前記第3制御データに基づいて、第1モードである前記スマート機器の走行を制御する。前記所定条件は、前記第1制御データのうちの第1目標制御データと前記第2制御データのうちの第2目標制御データとの差分が閾値範囲に属することを含み、前記第1目標制御データと前記第2目標制御データとのタイプは、同じである。 In one possible implementation, the second control module, based on the third control data, generates a first mode to control the running of the smart device. The predetermined condition includes that a difference between first target control data of the first control data and second target control data of the second control data belongs to a threshold range, and the first target control data and the type of the second target control data are the same.

本発明の実施例では、スマート機器のコントローラから出力された制御データを取得し(ただし、前記コントローラは、第1コントローラと第2コントローラとを含み、前記第1コントローラから出力された制御データは、第1制御データを含み、前記第2コントローラから出力された制御データは、第2制御データを含む)、前記第1制御データ及び前記第2制御データに基づいて、前記第2コントローラのパラメータを配置する。これにより、第1コントローラを参照コントローラとし、第2コントローラを調整されるコントローラとし、第2コントローラのために、信頼できるパラメータを正確的且つ効果的で、低コストで見つけ出す。また、第2コントローラの配置が第1コントローラから実際に出力された第1制御データに基づいて実現される一方、第2コントローラの配置が完了される前に、通常、第1制御データを用いてスマート機器を制御可能であるため、第2コントローラのパラメータをスマート機器の現在の所在する応用場面に一層適応させることができる。そして、後で更に第2コントローラに対してパラメータ調整を行う過程において、スマート機器(例えば、車両)の暴走のリスクを低減可能であり、第2コントローラのパラメータ配置の不当による潜在的な交通事故の安全リスクを低減することができる。 In an embodiment of the present invention, control data output from a controller of a smart device is obtained (where the controller includes a first controller and a second controller, and the control data output from the first controller is The control data output from the second controller includes first control data, and the control data output from the second controller includes second control data, and the parameters of the second controller are arranged based on the first control data and the second control data. do. This allows the first controller to be the reference controller and the second controller to be the controller to be tuned, and find reliable parameters for the second controller accurately, efficiently and at low cost. Further, while the placement of the second controller is realized based on the first control data actually output from the first controller, the first control data is usually used before the placement of the second controller is completed. The ability to control the smart device allows the parameters of the second controller to be better adapted to the current application of the smart device. Then, in the process of further adjusting the parameters of the second controller later, it is possible to reduce the risk of the smart device (e.g., vehicle) running out of control, and the possibility of a potential traffic accident due to the inappropriate setting of the parameters of the second controller. Safety risks can be reduced.

幾つかの実施例において、本発明の実施例に係る装置が有する機能又は含むモジュールは、上記方法実施例に記述された方法を実行するためのものであってもよく、その具体的な実施が上記方法実施例の記述を参照すればよく、簡潔のために、ここで繰り返し説明しない。 In some embodiments, the functions possessed by or the modules included in the apparatus according to the embodiments of the present invention may be for performing the methods described in the above method embodiments, the specific implementation of which is Reference can be made to the description of the method embodiment above, which is not repeated here for the sake of brevity.

本発明の実施例は、コンピュータ可読記憶媒体を更に提供する。コンピュータ可読記憶媒体には、コンピュータプログラム指令が記憶され、前記コンピュータプログラム指令がプロセッサによって実行されたときに、上記方法は、実施される。前記コンピュータ可読記憶媒体は、不揮発性コンピュータ可読記憶媒体であってもよく、揮発性コンピュータ可読記憶媒体であってもよい。 Embodiments of the invention further provide a computer-readable storage medium. A computer readable storage medium stores computer program instructions, and the method is performed when the computer program instructions are executed by a processor. The computer-readable storage medium may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium.

本発明の実施例は、コンピュータプログラム製品を更に提供する。コンピュータプログラム製品は、コンピュータ可読コードを含み、コンピュータ可読コードが機器で運転されたときに、機器におけるプロセッサは、上記何れかの実施例に係るパラメータ配置方法を実施するための指令を実行する。 Embodiments of the invention further provide a computer program product. The computer program product includes computer readable code, and when the computer readable code is run on the device, a processor in the device executes instructions for performing a parameter placement method according to any of the embodiments above.

本発明の実施例は、もう1種のコンピュータプログラム製品を更に提供する。コンピュータプログラム製品は、コンピュータ可読指令を記憶し、指令が実行されたときに、コンピュータは、上記何れかの実施例に係るパラメータ配置方法の操作を実行する。 Embodiments of the present invention further provide another computer program product. The computer program product stores computer readable instructions which, when executed, cause the computer to perform the operations of the parameter placement method according to any of the embodiments described above.

本発明の実施例は、電子機器を更に提供する。電子機器は、1つ又は複数のプロセッサと、実行可能指令を記憶するためのメモリとを備える。前記1つ又は複数のプロセッサは、前記メモリに記憶された実行可能指令を呼び出すことで上記方法を実行するように構成される。 Embodiments of the present invention further provide an electronic device. The electronic device comprises one or more processors and memory for storing executable instructions. The one or more processors are configured to perform the method by calling executable instructions stored in the memory.

電子機器は、端末、サーバ又は他の形態の機器として提供され得る。 An electronic device may be provided as a terminal, server or other form of device.

図17は、本発明の実施例に係る電子機器800のブロック図を示す。例えば、電子機器800は、車載機器、携帯電話、コンピュータ、デジタル放送端末、メッセージ送受信機器、ゲームコンソール、タブレット機器、医療機器、フィットネス機器、パーソナルデジタルアシスタント等の端末であってもよい。 FIG. 17 shows a block diagram of an electronic device 800 according to an embodiment of the invention. For example, the electronic device 800 may be a device such as an in-vehicle device, a mobile phone, a computer, a digital broadcast terminal, a message transmission/reception device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.

図17を参照すると、電子機器800は、以下の1つ又は複数のユニット、即ち、処理ユニット802、メモリ804、電源ユニット806、マルチメディアユニット808、オーディオユニット810、入力・出力(I/O)インターフェース812、センサユニット814及び通信ユニット816を備えてもよい。 Referring to FIG. 17, electronic device 800 includes one or more of the following units: processing unit 802, memory 804, power supply unit 806, multimedia unit 808, audio unit 810, input/output (I/O) An interface 812, a sensor unit 814 and a communication unit 816 may be provided.

処理ユニット802は、通常、電子機器800の全般操作、例えば、表示、電話発呼、データ通信、カメラ操作及び記録操作に関連する操作を制御する。処理ユニット802は、上記方法のステップの全部又は一部を実行するように、指令を実行する1つ又は複数のプロセッサ820を備えてもよい。また、処理ユニット802は、処理ユニット802と他のユニットとの間の相互作用が容易になるように、1つ又は複数のモジュールを備えてもよい。例えば、処理ユニット802は、マルチメディアユニット808と処理ユニット802との間の相互作用が容易になるように、マルチメディアモジュールを備えてもよい。 The processing unit 802 typically controls the general operation of the electronic device 800, such as operations related to display, telephone calls, data communications, camera operations and recording operations. The processing unit 802 may comprise one or more processors 820 that execute instructions to perform all or part of the method steps described above. Processing unit 802 may also comprise one or more modules to facilitate interaction between processing unit 802 and other units. For example, processing unit 802 may include multimedia modules to facilitate interaction between multimedia unit 808 and processing unit 802 .

メモリ804は、電子機器800での操作をサポートするために、各タイプのデータを記憶するように構成される。これらのデータの例示は、電子機器800で操作するための如何なるアプリケーションプログラム又は方法の指令、連絡人データ、電話帳データ、メッセージ、ピクチャ、映像などを含む。メモリ804は、如何なるタイプの揮発性もしくは不揮発性記憶デバイス又はそれらの組合せ、例えば、スタティックランダムアクセスメモリ(SRAM)、電気的に消去可能なプログラマブル読み出し専用メモリ(EEPROM)、消去可能なプログラマブル読み出し専用メモリ(EPROM)、プログラマブル読み出し専用メモリ(PROM)、読み出し専用メモリ(ROM)、磁気メモリ、フラッシュメモリ、磁気ディスク又は光ディスクによって実現されてもよい。 Memory 804 is configured to store each type of data to support operations on electronic device 800 . Examples of this data include any application program or method instructions for operating electronic device 800, contact data, phonebook data, messages, pictures, videos, and the like. Memory 804 may be any type of volatile or nonvolatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory. (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

電源ユニット806は、電子機器800のユニットのそれぞれに電力を供給する。電源ユニット806は、電源管理システム、1つ又は複数の電源、並びに、電子機器800用の電力の生成、管理および配分に関する他のユニットを含んでもよい。 Power supply unit 806 provides power to each of the units of electronic device 800 . Power supply unit 806 may include a power management system, one or more power supplies, and other units involved in the generation, management and distribution of power for electronic device 800 .

マルチメディアユニット808は、前記電子機器800とユーザとの間に1つの出力インターフェースを供給するスクリーンを備える。幾つかの実施例では、スクリーンは、液晶ディスプレイ(LCD)およびタッチパネル(TP)を含んでもよい。スクリーンは、タッチパネルを含む場合、ユーザからの入力信号を受信するように、タッチスクリーンとして実現されてもよい。タッチパネルは、タッチ、スライドおよびタッチパネルでのジェスチャーを感知するように、1つ又は複数のタッチセンサを含む。前記タッチセンサは、タッチ又はスライド動作の境界を感知するだけではなく、前記タッチ又はスライド操作と関連する持続時間および圧力をさらに検出することができる。幾つかの実施例では、マルチメディアユニット808は、1つのフロントカメラヘッドおよび/又はバックカメラヘッドを含む。電子機器800が操作モード、例えば、撮影モード又はビデオモードにあるとき、フロントカメラヘッドおよび/又はバックカメラヘッドは、外部のマルチメディアデータを受信することができる。フロントカメラヘッドおよびバックカメラヘッドのそれぞれは、1つの固定の光学レンズシステムであってもよいし、焦点距離および光学ズーム能力を有するものであってもよい。 A multimedia unit 808 comprises a screen that provides one output interface between the electronic device 800 and the user. In some examples, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, it may be implemented as a touch screen to receive input signals from the user. A touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action. In some embodiments, multimedia unit 808 includes one front and/or back camera head. The front camera head and/or the back camera head can receive external multimedia data when the electronic device 800 is in an operating mode, such as a photography mode or a video mode. Each of the front and back camera heads may be one fixed optical lens system or may have a focal length and optical zoom capability.

オーディオユニット810は、オーディオ信号を出力および/又は入力するように構成される。例えば、オーディオユニット810は、マイク(MIC)を備え、電子機器800が操作モード、例えば、発呼モード、記録モードおよび音声識別モードにあるとき、マイクは、外部オーディオ信号を受信するように構成される。受信されたオーディオ信号は、さらに、メモリ804に記憶される、又は、通信ユニット816を介して送信されることができる。幾つかの実施例では、オーディオユニット810は、さらに、オーディオ信号を出力するためのスピーカをさらに含む。 Audio unit 810 is configured to output and/or input audio signals. For example, the audio unit 810 comprises a microphone (MIC), which is configured to receive external audio signals when the electronic device 800 is in operating modes, such as calling mode, recording mode and voice recognition mode. be. The received audio signal can also be stored in memory 804 or transmitted via communication unit 816 . In some embodiments, audio unit 810 further includes a speaker for outputting audio signals.

I/Oインターフェース812は、処理ユニット802とペリフェラルインターフェースモジュールとの間でインターフェースを供給するものであり、上記ペリフェラルインターフェースモジュールは、キーボード、クリックホイール、ボタンなどであってもよい。これらのボタンは、ホームページボタン、ボリュームボタン、起動ボタンおよびロックボタンを含んでもよいが、それらに限定されない。 I/O interface 812 provides an interface between processing unit 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, and the like. These buttons may include, but are not limited to, home page button, volume button, boot button and lock button.

センサユニット814は、様々な側面での状態推定を電子機器800に供給するための1つ又は複数のセンサを含む。例えば、センサユニット814は、電子機器800のオン/オフ状態、ユニットの相対位置を検出することができ、例えば、前記ユニットは、電子機器800のディスプレイおよびテンキーである。センサユニット814は、さらに、電子機器800もしくは電子機器800のユニットの位置変更、ユーザと電子機器800との接触の存在もしくは不存在、電子機器800の方位又は加速/減速および電子機器800の温度変化をさらに検出することができる。センサユニット814は、如何なる物理的接触もないとき、近辺にある物体の存在を検出するための近接センサを含んでもよい。センサユニット814は、さらに、結像応用に使用される光センサ、例えばCMOS又はCCD画像センサを含んでもよい。幾つかの実施例では、当該センサユニット814は、さらに、加速度センサ、ジャイロセンサ、磁気センサ、圧力センサ又は温度センサを含んでもよい。 Sensor unit 814 includes one or more sensors for providing state estimates to electronic device 800 on various aspects. For example, the sensor unit 814 can detect the on/off state of the electronic device 800 , the relative position of the unit, for example, the unit is the display and numeric keypad of the electronic device 800 . The sensor unit 814 also detects changes in the position of the electronic device 800 or a unit of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration/deceleration of the electronic device 800, and the temperature change of the electronic device 800. can be further detected. Sensor unit 814 may include a proximity sensor for detecting the presence of nearby objects when there is no physical contact. The sensor unit 814 may also include optical sensors used for imaging applications, such as CMOS or CCD image sensors. In some embodiments, the sensor unit 814 may further include an acceleration sensor, gyro sensor, magnetic sensor, pressure sensor or temperature sensor.

通信ユニット816は、電子機器800と他のユーザ機器との間の無線又は有線方式の通信が便利になるように構成される。電子機器800は、通信規格に基づく無線ネットワーク、例えば、WiFi、2G、3G、4G/LTE、5G又はそれらの組合せにアクセスすることができる。1つの例示的な実施例では、通信ユニット816は、外部ブロードキャスト管理システムからのブロードキャスト信号又はブロードキャスト関連情報をブロードキャストチャネルを介して受信する。1つの例示的な実施例では、前記通信ユニット816は、さらに、短距離通信が容易になるように、ニアフィールド通信(NFC)モジュールを含んでもよい。例えば、NFCモジュールでは、無線周波数識別(RFID)技術、赤外データ協会(IrDA)技術、超広帯域(UWB)技術、ブルートゥース(登録商標)(BT)技術および他の技術によって実現されてもよい。 Communication unit 816 is configured to facilitate wireless or wired communications between electronic device 800 and other user devices. The electronic device 800 can access wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G/LTE, 5G, or combinations thereof. In one exemplary embodiment, communication unit 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication unit 816 may also include a near-field communication (NFC) module to facilitate short-range communication. For example, in the NFC module, it may be implemented by Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

例示的な実施例では、電子機器800は、上記方法を実行するための1つ又は複数の特定用途向け集積回路(ASIC)、デジタル信号プロセッサ(DSP)、デジタル信号処理デバイス(DSPD)、プログラマブルロジックデバイス(PLD)、フィールドプログラマブルゲートアレイ(FPGA)、コントローラ、マイクロコントローラ、マイクロプロセッサ又は他の電子部品によって実現されてもよい。 In an exemplary embodiment, the electronic device 800 includes one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic to perform the methods described above. It may be implemented by a device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.

例示的な実施例は、不揮発性コンピュータ可読記憶媒体、例えばコンピュータプログラム指令を含むメモリ804を更に提供する。上記コンピュータプログラム指令は、電子機器800のプロセッサ820によって実行されて上記方法を実施させ得る。 The illustrative embodiment further provides a non-volatile computer-readable storage medium, such as memory 804, containing computer program instructions. The computer program instructions may be executed by processor 820 of electronic device 800 to implement the method.

図18は、本発明の実施例に係る電子機器1900のブロック図を示す。例えば、電子機器1900は、サーバとして提供され得る。図18を参照すると、電子機器1900は、処理ユニット1922を含み、更に、当該処理ユニット1922は、1つ又は複数のプロセッサ、及びメモリ1932に代表されるメモリリソースとを備え、メモリ1932は、処理ユニット1922によって実行され得る指令、例えば、アプリケーションプログラムを記憶する。メモリ1932に記憶されるアプリケーションプログラムは、それぞれが1セットの指令に対応する1つ又は1つ以上のモジュールを備えてもよい。また、処理ユニット1922は、指令を実行することで上記方法を実施するように構成される。 FIG. 18 shows a block diagram of an electronic device 1900 according to an embodiment of the invention. For example, electronic device 1900 may be provided as a server. Referring to FIG. 18, the electronic device 1900 includes a processing unit 1922, and the processing unit 1922 further includes one or more processors and memory resources represented by a memory 1932, the memory 1932 for processing. Stores instructions that may be executed by unit 1922, such as application programs. An application program stored in memory 1932 may comprise one or more modules, each module corresponding to a set of instructions. The processing unit 1922 is also configured to implement the method by executing instructions.

電子機器1900は、電子機器1900の電源管理を実行するように構成される電源ユニット1926と、電子機器1900をネットワークに接続するように構成される有線又は無線ネットワークインターフェース1950と、入力・出力(I/O)インターフェース1958とを更に備えてもよい。電子機器1900は、メモリ1932に記憶されたオペレーティングシステム、例えばWindows(登録商標) Server、Mac(登録商標) OS X、Unix(登録商標)、Linux(登録商標)、FreeBSD(登録商標)又はその他を操作してもよい。 The electronic device 1900 includes a power supply unit 1926 configured to perform power management of the electronic device 1900; a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network; /O) interface 1958. The electronic device 1900 uses an operating system stored in the memory 1932, such as Windows (registered trademark) Server, Mac (registered trademark) OS X, Unix (registered trademark), Linux (registered trademark), FreeBSD (registered trademark), or others. You can operate.

例示的な実施例は、不揮発性コンピュータ可読記憶媒体、例えば、コンピュータプログラム指令を含むメモリ1932を更に提供する。上記コンピュータプログラム指令が電子機器1900の処理ユニット1922によって実行されることで、上記方法は、実施される。 Exemplary embodiments further provide a non-volatile computer-readable storage medium, eg, memory 1932 containing computer program instructions. The computer program instructions are executed by the processing unit 1922 of the electronic device 1900 to implement the method.

本発明は、システム、方法及び/又はコンピュータプログラム製品であってもよい。コンピュータプログラム製品は、コンピュータ可読記憶媒体を含んでもよい。コンピュータ可読記憶媒体には、プロセッサに本発明の各態様を実施させるためのコンピュータ可読プログラム指令が載せている。 The invention may be a system, method and/or computer program product. A computer program product may include a computer-readable storage medium. A computer readable storage medium carries computer readable program instructions for causing a processor to implement aspects of the present invention.

コンピュータ可読記憶媒体は、指令実行機器で使用される指令を保持及び記憶する有形機器であってもよい。コンピュータ可読記憶媒体は、例えば、電気記憶機器、磁気記憶機器、光記憶機器、電磁的記憶機器、半導体記憶機器又は上記任意の適切な組み合わせであってもよいが、それらに限定されない。コンピュータ可読記憶媒体のより具体的な例(非網羅のリスト)は、ポータブルコンピュータディスク、ハードディスク、ランダムアクセスメモリ(RAM)、読み出し専用メモリ(ROM)、消去可能なプログラマブル読み出し専用メモリ(EPROM又はフラッシュメモリ)、スタティックランダムアクセスメモリ(SRAM)、携帯型圧縮ディスク読み出し専用メモリ(CD-ROM)、デジタル多機能ディスク(DVD)、メモリスティック、フロッピーディスク、機械的符号化機器、例えば、指令が記憶されるパンチカード又は溝内突起構造、及び上記の任意の適切な組合を含む。ここで使用されるコンピュータ可読記憶媒体は、瞬時信号自身、例えば、無線電波若しくは他の自由に伝搬される電磁波、導波路若しくは他の伝送媒体を介して伝搬される電磁波(例えば、光ファイバー・ケーブルを介した光パルス)、又は電線を介して伝送された電気信号として解釈されない。 A computer-readable storage medium may be a tangible device that retains and stores instructions for use with a command-executing device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of computer readable storage media are portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory). ), Static Random Access Memory (SRAM), Portable Compressed Disk Read Only Memory (CD-ROM), Digital Versatile Disk (DVD), Memory Stick, Floppy Disk, Mechanical Encoding Devices, e.g. Including punch cards or protrusion-in-channel structures, and any suitable combination of the above. Computer-readable storage media, as used herein, refers to instantaneous signals themselves, e.g., radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagated through waveguides or other transmission media (e.g., fiber optic cables) light pulses over wires), or as electrical signals transmitted over wires.

ここで記述されるコンピュータ可読プログラム指令は、コンピュータ可読記憶媒体から各演算/処理機器にダウンロードし、又は、ネットワーク、例えばインターネット、ローカルエリアネットワーク、広域ネットワーク及び/又は無線ネットワークを介して外部コンピュータ或いは外部記憶機器へダウンロードしてもよい。ネットワークは、銅伝送ケーブル、光ファイバー伝送、無線伝送、ルータ、ファイアウォール、スイッチ、ゲートウェイコンピュータ及び/又はエッジサーバを含んでもよい。各演算/処理機器におけるネットワークアダプタ又はネットワークインターフェースは、ネットワークからコンピュータ可読プログラム指令を受信して当該コンピュータ可読プログラム指令を転送することにより、各演算/処理機器におけるコンピュータ可読記憶媒体に記憶させる。 The computer readable program instructions described herein may be downloaded from a computer readable storage medium to each computing/processing device, or transferred to an external computer or externally via networks such as the Internet, local area networks, wide area networks and/or wireless networks. It may be downloaded to a storage device. A network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage on a computer-readable storage medium in each computing/processing device.

本発明の操作を実行するためのコンピュータプログラム指令は、アセンブリ命令、命令セットアーキテクチャ(ISA)指令、マシン指令、マシン関連指令、マイクロコード、ファームウェア指令、状態設定データ、又は、1種若しくは複数種のプログラミング言語の任意の組み合わせで作成されたソースコード又はターゲットコードであってもよい。前記プログラミング言語は、オブジェクト指向プログラミング言語(例えば、Smalltalk、C++等)、及び、通常のプロセスプログラミング言語(例えば、「C」語言)又は類似するプログラミング言語を含む。コンピュータ可読プログラム指令は、完全にユーザコンピュータ上で実行されてもよく、部分的にユーザコンピュータ上で実行されてもよく、1つの独立するソフトウェアパッケージとして実行されてもよく、一部がユーザコンピュータ上でもう一部がリモートコンピュータ上で実行されてもよく、又は完全にリモートコンピュータ又はサーバ上で実行されてもよい。リモートコンピュータの場合に、リモートコンピュータは、任意の種類のネットワーク(ローカルエリアネットワーク(LAN)又は広域ネットワーク(WAN)を含む)を介してユーザコンピュータに接続され、又は、外部コンピュータに接続されてもよい(例えば、インターネットサービスプロバイダを利用してインターネットで接続される)。幾つかの実施例では、コンピュータ可読プログラム指令の状態情報を用いて電子回路、例えばプログラマブル論理回路、フィールドプログラマブルゲートアレイ(FPGA)又はプログラマブル論理アレイ(PLA)を個性化でカストマイズする。当該電子回路は、コンピュータ可読プログラム指令を実行することにより、本発明の各態様を実施可能である。 Computer program instructions for carrying out the operations of the present invention may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or one or more of It may be source code or target code written in any combination of programming languages. The programming languages include object-oriented programming languages (eg, Smalltalk, C++, etc.) and conventional process programming languages (eg, "C" language) or similar programming languages. The computer-readable program instructions may be executed entirely on the user computer, partially executed on the user computer, executed as a separate software package, or partially executed on the user computer. but partly may be executed on the remote computer, or may be executed entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user computer via any kind of network, including a local area network (LAN) or a wide area network (WAN), or to an external computer. (eg, connected to the Internet using an Internet Service Provider). In some embodiments, state information in computer readable program instructions is used to customize electronic circuits, such as programmable logic circuits, field programmable gate arrays (FPGAs), or programmable logic arrays (PLAs) with personalization. The electronic circuitry is capable of implementing aspects of the invention by executing computer readable program instructions.

ここで、本発明の実施例に係る方法、装置(システム)及びコンピュータプログラム製品のフローチャート及び/又はブロック図を参照して、本発明の各態様を記述した。理解できるように、フローチャート及び/又はブロック図の各ブロック並びにフローチャート及び/又はブロック図における各ブロックの組み合わせは、何れもコンピュータ可読プログラム指令にて実現され得る。 Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented in computer readable program instructions.

これらのコンピュータ可読プログラム指令は、汎用コンピュータ、専用コンピュータ又は他のプログラマブルデータ処理装置のプロセッサへ供給されて、1種のマシンを生み出すことができる。このように、これらの指令がコンピュータ又は他のプログラマブルデータ処理装置のプロセッサによって実行されたときに、フローチャート及び/又はブロック図における1つ又は複数のブロックで規定された機能/動作を実現する装置は、生成される。これらのコンピュータ可読プログラム指令をコンピュータ可読記憶媒体に記憶してもよい。これらの指令により、コンピュータ、プログラマブルデータ処理装置及び/又は他の機器は、特定の方式で稼働する。このように、指令が記憶されたコンピュータ可読媒体は、1つの製造品を含み、それは、フローチャート及び/又はブロック図における1つ又は複数のブロックで規定された機能/動作を実現する各態様の指令を含む。 These computer readable program instructions can be supplied to a processor of a general purpose computer, special purpose computer or other programmable data processing apparatus to produce a machine. As such, an apparatus that, when executed by a processor of a computer or other programmable data processing apparatus, implements the functions/acts specified in one or more of the blocks in the flowchart illustrations and/or block diagrams. , is generated. These computer readable program instructions may be stored on a computer readable storage medium. These instructions cause computers, programmable data processing devices, and/or other equipment to operate in specific manners. As such, a computer-readable medium having instructions stored thereon may comprise an article of manufacture, which includes instructions for each aspect of implementing the functions/acts specified in one or more blocks in the flowcharts and/or block diagrams. including.

コンピュータ可読プログラム指令をコンピュータ、他のプログラマブルデータ処理装置、又は他の機器にロードしてもよい。このように、コンピュータ、他のプログラマブルデータ処理装置又は他の機器上で一連の操作ステップが実行され、コンピュータによる実現の過程は、生み出される。これにより、コンピュータ、他のプログラマブルデータ処理装置、又は他の機器上で実行された指令は、フローチャート及び/又はブロック図における1つ又は複数のブロックで規定された機能/動作を実現する。 The computer readable program instructions may be loaded into a computer, other programmable data processing device, or other equipment. Thus, a series of operational steps are performed on a computer, other programmable data processing device, or other machine to produce a computer-implemented process. The instructions executed on the computer, other programmable data processing device, or other device, thereby implement the functions/acts specified in one or more of the blocks in the flowchart illustrations and/or block diagrams.

図面におけるフローチャート及びブロック図は、本発明の複数の実施例に係るシステム、方法及びコンピュータプログラム製品の実施可能な体系アーキテクチャ、機能及び操作を示す。この点では、フローチャート又はブロック図における各ブロックは、1つのモジュール、プログラムセグメント又は指令の一部を代表してもよい。前記モジュール、プログラムセグメント又は指令の一部は、規定された論理機能を実施するための1つ又は複数の実行可能指令を含む。幾つかの代替としての実施形態において、ブロック中にマークされた機能は、図面に示された順番と異なる順番で発生してもよい。例えば、2つの連続するブロックは、実に、基本的に並行に実行されてもよく、そして、逆の順番で実行されるときもあり、これは、かかる機能に応じて定められる。注意すべきことは、ブロック図及び/又はフローチャートにおける各ブロック、並びに、ブロック図及び/又はフローチャートにおけるブロックの組み合わせは、規定の機能又は動作を実行する専用のハードウェアに基づくシステムにて実現されてもよく、専用ハードウェアとコンピュータ指令との組み合わせで実現されてもよい。 The flowcharts and block diagrams in the drawings illustrate the possible architectural architecture, functionality, and operation of systems, methods and computer program products according to several embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent part of a module, program segment or instruction. A portion of said module, program segment or instruction contains one or more executable instructions for performing a defined logical function. In some alternative implementations, the functions marked in the block may occur out of the order noted in the figures. For example, two consecutive blocks may indeed be executed essentially in parallel, and sometimes in reverse order, depending on their functionality. It should be noted that each block in the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, are implemented in dedicated hardware-based systems that perform the specified functions or acts. Alternatively, it may be implemented in a combination of dedicated hardware and computer instructions.

当該上記コンピュータプログラム製品は、具体的にハードウェア、ソフトウェア又はそれらの組み合わせで実現されてもよい。1つの選択可能な実施例において、前記コンピュータプログラム製品は、コンピュータ記憶媒体として具現化されてもよく、別の選択可能な実施例において、コンピュータプログラム製品は、ソフトウェア製品、例えばソフトウェア開発キット(Software Development Kit、SDK)等として具現化される。 Said computer program product may be specifically implemented in hardware, software or a combination thereof. In one alternative embodiment, the computer program product may be embodied as a computer storage medium, and in another alternative embodiment, the computer program product is a software product, such as a Software Development Kit. Kit, SDK) or the like.

以上では、本発明の各実施例を記述した。上記説明は、例示であり、網羅的ではなく、開示された各実施例にも限定されない。説明された各実施例の範囲及び精神から逸脱しない場合に、多くの修正及び変更は、当業者にとって明らかである。本文での用語は、各実施例の原理、実際の応用又は、マーケットにおける技術に対する技術的改善を最良に解釈し、又は当業者に本文に開示された各実施例を理解させえるために選択される。 Above, each embodiment of the present invention was described. The above description is illustrative, not exhaustive, and not limited to each disclosed embodiment. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of each described embodiment. The terms in this text are chosen to best interpret the principle, practical application, or technical improvement over the technology in the market of each embodiment, or to enable those skilled in the art to understand each embodiment disclosed herein. be.

本願は、2020年4月14日に提出された、発明名称が「パラメータ配置方法及び装置、電子機器並びに記憶媒体」であって出願番号が202010290979.6である中国特許出願の優先権を要求し、当該中国特許出願の全ての内容が引用によって本願に組み込まれる。 This application claims priority to a Chinese patent application entitled "Parameter Allocation Method and Device, Electronic Device and Storage Medium" with application number 202010290979.6, filed on April 14, 2020. , the entire content of the Chinese patent application is incorporated herein by reference.

Claims (12)

パラメータ配置方法であって、
前記パラメータ配置方法は、複数のコントローラを含むスマート機器に適用され、前記複数のコントローラは、第1コントローラと第2コントローラとを少なくとも含み、
前記パラメータ配置方法は、
前記複数のコントローラのそれぞれから出力された制御データを取得するステップであって、前記第1コントローラから出力された制御データが第1制御データを含み、前記第2コントローラから出力された制御データが第2制御データを含むステップと、
前記第1制御データ及び前記第2制御データに基づいて、前記第2コントローラのパラメータを配置するステップと、を含むことを特徴とするパラメータ配置方法。
A parameter placement method comprising:
The parameter arrangement method is applied to a smart device including a plurality of controllers, the plurality of controllers including at least a first controller and a second controller;
The parameter arrangement method is
obtaining control data output from each of the plurality of controllers, wherein the control data output from the first controller includes first control data, and the control data output from the second controller includes first control data; 2 including control data;
and a step of arranging parameters of the second controller based on the first control data and the second control data.
前記複数のコントローラのそれぞれから出力された制御データを取得するステップは、
第1参照軌跡データと、第1モードである前記スマート機器の第1状態データとを取得することと、
前記複数のコントローラを介して、前記第1参照軌跡データ及び前記第1状態データに基づいて、各自の前記制御データを生成することと、を含むことを特徴とする請求項1に記載のパラメータ配置方法。
The step of obtaining control data output from each of the plurality of controllers includes:
obtaining first reference trajectory data and first state data of the smart device in a first mode;
2. The parameter arrangement according to claim 1, comprising generating the respective control data based on the first reference trajectory data and the first state data via the plurality of controllers. Method.
前記第1制御データに基づいて、第1モードである前記スマート機器の走行を制御するステップを更に含むことを特徴とする請求項1又は2に記載のパラメータ配置方法。 3. The method of claim 1 or 2, further comprising controlling driving of the smart device in the first mode based on the first control data. 第2参照軌跡データと、第1モードである前記スマート機器の第2状態データとを取得するステップと、
前記第2コントローラを介して、前記第2参照軌跡データ及び前記第2状態データに基づいて、第3制御データを生成するステップと、
前記第3制御データに基づいて、第1モードである前記スマート機器の走行を制御するステップと、を更に含むことを特徴とする請求項1から3の何れか一項に記載のパラメータ配置方法。
obtaining second reference trajectory data and second state data of the smart device in a first mode;
generating third control data based on the second reference trajectory data and the second state data via the second controller;
4. The method of any one of claims 1 to 3, further comprising: controlling driving of the smart device in the first mode based on the third control data.
前記第1モードである前記スマート機器が走行において発生した実軌跡データを取得するステップと、
前記第2参照軌跡データ及び前記実軌跡データに応じて、前記第2コントローラのパラメータを調整するステップと、を更に含むことを特徴とする請求項4に記載のパラメータ配置方法。
a step of acquiring actual trajectory data generated by the smart device in the first mode while traveling;
5. The method of claim 4, further comprising adjusting parameters of the second controller according to the second reference trajectory data and the actual trajectory data.
前記第1コントローラは、車両動力学モデルを含まないコントローラであり、前記第2コントローラは、車両動力学モデルを含むコントローラであることを特徴とする請求項1から5の何れか一項に記載のパラメータ配置方法。 6. A controller according to any one of claims 1 to 5, wherein the first controller is a controller that does not include a vehicle dynamics model and the second controller is a controller that includes a vehicle dynamics model. Parameter placement method. 前記スマート機器は、スマートモバイル機器を含み、前記制御データは、ハンドルステアリングデータ、アクセルデータ、ブレーキデータ及び指示ランプデータのうちの少なくとも1つを含むことを特徴とする請求項1から6の何れか一項に記載のパラメータ配置方法。 7. The smart device comprises a smart mobile device, and the control data comprises at least one of steering wheel data, accelerator data, brake data and indicator lamp data. The parameter allocation method according to item 1. 前記第3制御データに基づいて、第1モードである前記スマート機器の走行を制御するステップは、
前記第1制御データと前記第2制御データとの差分が所定条件を満たすことに応じて、前記第3制御データに基づいて、第1モードである前記スマート機器の走行を制御することを含み、
前記所定条件は、前記第1制御データのうちの第1目標制御データと前記第2制御データのうちの第2目標制御データとの差分が閾値範囲に属することを含み、前記第1目標制御データと前記第2目標制御データとのタイプは、同じであることを特徴とする請求項4に記載のパラメータ配置方法。
The step of controlling travel of the smart device in the first mode based on the third control data includes:
controlling travel of the smart device in the first mode based on the third control data in response to a difference between the first control data and the second control data satisfying a predetermined condition;
The predetermined condition includes that a difference between first target control data of the first control data and second target control data of the second control data belongs to a threshold range, and the first target control data and the second target control data are of the same type.
パラメータ配置装置であって、
前記パラメータ配置装置は、複数のコントローラを含むスマート機器に適用され、前記複数のコントローラは、第1コントローラと第2コントローラとを少なくとも含み、
前記パラメータ配置装置は、
前記複数のコントローラのそれぞれから出力された制御データを取得するための第1取得モジュールであって、前記第1コントローラから出力された制御データが第1制御データを含み、前記第2コントローラから出力された制御データが第2制御データを含む第1取得モジュールと、
前記第1制御データ及び前記第2制御データに基づいて、前記第2コントローラのパラメータを配置するための配置モジュールと、を備えることを特徴とするパラメータ配置装置。
A parameter placement device,
The parameter placement device is applied to a smart device including a plurality of controllers, the plurality of controllers including at least a first controller and a second controller,
The parameter placement device comprises:
A first acquisition module for acquiring control data output from each of the plurality of controllers, wherein the control data output from the first controller includes first control data, and the control data output from the second controller a first acquisition module wherein the control data includes second control data;
an arrangement module for arranging parameters of the second controller based on the first control data and the second control data.
電子機器であって、
1つ又は複数のプロセッサと、実行可能指令を記憶するためのメモリとを備え、
前記1つ又は複数のプロセッサは、前記メモリに記憶された実行可能指令を呼び出すことにより、請求項1から8の何れか一項に記載のパラメータ配置方法を実行するように構成されることを特徴とする電子機器。
an electronic device,
comprising one or more processors and a memory for storing executable instructions;
The one or more processors are characterized in that they are arranged to execute the parameter placement method according to any one of claims 1 to 8 by invoking executable instructions stored in the memory. and electronic devices.
コンピュータプログラム指令が記憶されるコンピュータ可読記憶媒体であって、
前記コンピュータプログラム指令がプロセッサによって実行されたときに、請求項1から8の何れか一項に記載のパラメータ配置方法は、実施されることを特徴とするコンピュータ可読記憶媒体。
A computer readable storage medium on which computer program instructions are stored, comprising:
A computer readable storage medium, characterized in that, when said computer program instructions are executed by a processor, a parameter placement method according to any one of claims 1 to 8 is implemented.
コンピュータ可読指令を記憶するためのコンピュータプログラム製品であって、前記コンピュータ可読指令が実行されたときに、請求項1から8の何れか一項に記載のパラメータ配置方法をコンピュータに実行させることを特徴とするコンピュータプログラム製品。 A computer program product for storing computer readable instructions, characterized in that, when said computer readable instructions are executed, cause a computer to perform a parameter placement method according to any one of claims 1 to 8. computer program product.
JP2021577135A 2020-04-14 2021-04-09 Parameter arrangement method and device, electronic device and storage medium Withdrawn JP2022538275A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN202010290979.6 2020-04-14
CN202010290979.6A CN111487904B (en) 2020-04-14 2020-04-14 Parameter configuration method and device, electronic equipment and storage medium
PCT/CN2021/086141 WO2021208812A1 (en) 2020-04-14 2021-04-09 Parameter configuration method and apparatus, and electronic device and storage medium

Publications (1)

Publication Number Publication Date
JP2022538275A true JP2022538275A (en) 2022-09-01

Family

ID=71794866

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021577135A Withdrawn JP2022538275A (en) 2020-04-14 2021-04-09 Parameter arrangement method and device, electronic device and storage medium

Country Status (3)

Country Link
JP (1) JP2022538275A (en)
CN (1) CN111487904B (en)
WO (1) WO2021208812A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111487904B (en) * 2020-04-14 2021-08-13 上海商汤临港智能科技有限公司 Parameter configuration method and device, electronic equipment and storage medium
CN112947073B (en) * 2021-01-29 2023-08-29 大连理工大学 Model predictive control-based carrier-based aircraft sliding track tracking method
CN114326418B (en) * 2021-11-30 2023-06-20 重庆电子工程职业学院 Intelligent household equipment control system
CN115086167B (en) * 2022-05-31 2024-05-17 上海商汤临港智能科技有限公司 Parameter configuration method, device, computer equipment and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7643893B2 (en) * 2006-07-24 2010-01-05 The Boeing Company Closed-loop feedback control using motion capture systems
US7885732B2 (en) * 2006-10-25 2011-02-08 The Boeing Company Systems and methods for haptics-enabled teleoperation of vehicles and other devices
WO2014164408A1 (en) * 2013-03-13 2014-10-09 Eaton Corporation System and method for clutch pressure control
CN103587723B (en) * 2013-11-07 2015-12-02 北京临近空间飞行器系统工程研究所 One reenters initial segment analytic expression longitudinally online Trajectory Design and tracking
CN104267732B (en) * 2014-09-29 2017-07-28 哈尔滨工业大学 Flexible satellite high stability attitude control method based on frequency-domain analysis
CN104979845B (en) * 2015-06-26 2017-06-23 四川大学 Multiband D.C. high voltage transmission additional longitudinal forces method based on multistage linear optimal theoretical
US20190201140A1 (en) * 2017-12-28 2019-07-04 Ethicon Llc Surgical hub situational awareness
US10671070B2 (en) * 2018-05-23 2020-06-02 Baidu Usa Llc PID embedded LQR for autonomous driving vehicles (ADVS)
CN110244721B (en) * 2019-06-05 2022-04-12 杭州飞步科技有限公司 Automatic driving control method, device, equipment and storage medium
CN110941272B (en) * 2019-11-27 2022-09-06 深圳先进技术研究院 Automatic driving control method and device
CN111487904B (en) * 2020-04-14 2021-08-13 上海商汤临港智能科技有限公司 Parameter configuration method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111487904A (en) 2020-08-04
CN111487904B (en) 2021-08-13
WO2021208812A1 (en) 2021-10-21

Similar Documents

Publication Publication Date Title
JP2022538275A (en) Parameter arrangement method and device, electronic device and storage medium
CN112677995B (en) Vehicle track planning method and device, storage medium and equipment
CN111079721B (en) Method and device for predicting track of obstacle
US11613249B2 (en) Automatic navigation using deep reinforcement learning
US10053091B2 (en) Spring system-based change lane approach for autonomous vehicles
EP3543896B1 (en) Method for estimating lane information, and electronic device
CN114647248B (en) Robot obstacle avoidance method, electronic device and readable storage medium
CN112348293A (en) Method and device for predicting track of obstacle
CN111126362A (en) Method and device for predicting obstacle track
CN113515038A (en) Vehicle lane changing method, device, equipment and readable storage medium
Gómez-Huelamo et al. Simulating use cases for the UAH Autonomous Electric Car
US10464211B2 (en) Generating control signal for tele-presence robot
CN115574834A (en) Intelligent driving scene simulation method, device and equipment based on script
KR20210078829A (en) Artificial intelligence apparatus and method for recognizing speech with multiple languages
KR20210067432A (en) Performing an emergency stop of robot
CN112622924B (en) Driving planning method and device and vehicle
CN111123957B (en) Method and device for planning track
Sung et al. Graph-based motor primitive generation framework: UAV motor primitives by demonstration-based learning
KR102229562B1 (en) Artificial intelligence device for providing voice recognition service and operating mewthod thereof
CN110083158B (en) Method and equipment for determining local planning path
KR20210050201A (en) Robot, method of operating the robot, and robot system including the robot
KR20210073252A (en) Artificial intelligence device and operating method thereof
CN115014372B (en) Path planning method, path planning device, storage medium and vehicle
CN112965917B (en) Test method, device, equipment and storage medium for automatic driving
CN114741790A (en) Vehicle path tracking control method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211224

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20221206